Skip to content

Latest commit

 

History

History
443 lines (350 loc) · 26.4 KB

AGENTS.md

File metadata and controls

443 lines (350 loc) · 26.4 KB

AGENTS.md

Guidance for coding agents working in this repository. 供 coding agent 在本 repo 工作時參考。

Blind documentation testing -- how a round is run, and why each rule exists -- is blind-test-flow.md. Each rule there carries the number of the round it came from.

盲測文件——一個回合怎麼跑、每一條規則為什麼存在——寫在 blind-test-flow.md。那裡的每一條規則都帶著它來自的回合編號。

Status / 狀態

Everything the plan describes is implemented except shipping (phase 7), which is a deliberate deferral rather than a gap. Both READMEs describe the state in prose. Do not put a list of phase numbers here: it goes stale every time a phase lands, and nothing reports it. The checkboxes in plan/plan.md are the answer.

計畫描述的一切都已實作,唯獨出貨(第 7 階段)除外,那是刻意暫緩而非缺口。兩份 README 以散文 描述現況。這裡不要放階段編號清單:每有一個階段落地它就過期一次,而且沒有任何東西會回報。 答案以 plan/plan.md 的核取方塊為準。

./compile_csv2.zsh      # auto-detects macOS/Linux/Windows / 自動偵測 macOS/Linux/Windows
                        # Linux: glibc, as the VM builds; add -musl for the release
                        # archives (fully static, needs the Static Linux SDK of the same Swift)
                        # Linux:glibc,與 VM 相同;發行封存加 -musl(完全靜態,需要同版 Swift 的
                        # Static Linux SDK)
./test/test_csv2.zsh    # 0 FAIL; on macOS the one SKIP is T47 / 0 失敗;macOS 上唯一的 SKIP 是 T47

# the Linux half, driven from the parent project (boots a guest VM)
# Linux 那一半,由母專案驅動(會啟動 guest VM)
../test_submodules/run_csv2_test.zsh   # 0 FAIL

On Windows, build with ./compile_csv2.zsh like everywhere else. Do not invoke compile_csv2_win.bat yourself. The dispatcher's Windows branch already carries both things that invocation needs, and each of them fails silently when it is missing:

MSYS2_ARG_CONV_EXCL='*' cmd.exe /d /c '.\compile_csv2_win.bat' "$@"

MSYS2_ARG_CONV_EXCL='*' stops MSYS rewriting /c into a path -- without it the switch is consumed, the batch file never runs, and the result is exit status 0, a log carrying only the banner, and a binary byte-identical to the one already there. The .\ is there because cmd does not search the working directory for an executable; a bare name is looked up on PATH only and gives build: FAILED.

Telling a node to run the batch file directly is what caused KY: the dispatcher that already knew all of this was stepped around. If you must invoke it by hand, copy the dispatcher's line exactly. Do not use cmd //c or a bare cmd /c: each works under only one of the two MSYS shells this node has had and fails with exit status 0 under the other (QK). The form above works under both, because a shell that does not convert ignores the variable. A remote command that needs a working directory changes nothing: cd ~/proj/csv2 && ./compile_csv2.zsh.

在 Windows 上,用 ./compile_csv2.zsh 建置,與其他平台一樣。不要自己去叫 compile_csv2_win.bat。 dispatcher 的 Windows 分支已經帶著那個呼叫所需要的兩件事, 而它們各自在缺席時都會安靜地失敗(見上方程式碼)。

MSYS2_ARG_CONV_EXCL='*' 阻止 MSYS 把 /c 改寫成路徑——少了它,那個開關會被吃掉、 批次檔根本不會執行,結果是退出碼 0、log 只有橫幅、二進位檔與原本那個一個位元組都不差。 .\ 的存在是因為 cmd 不會為了找執行檔而搜尋工作目錄;裸名字只會在 PATH 上查找,結果是 build: FAILED。

KY 的成因正是「叫節點直接跑那個批次檔」:早就知道這一切的 dispatcher 被繞了過去。若非得 手動呼叫不可,就原樣照抄 dispatcher 那一行。不要改用 cmd //c 或裸的 cmd /c:這台節點 有過兩種 MSYS shell,這兩種寫法各只在其中一種下成立,在另一種下以退出碼 0 失敗(QK)。上面那個 形式在兩種下都成立,因為不做轉換的 shell 會忽略那個變數。遠端命令需要工作目錄也不改變這一點: cd ~/proj/csv2 && ./compile_csv2.zsh。

On WSL2, run the suite from the native filesystem, not from /mnt/c. On native ext4 the suite is clean with T47 the only skip, exactly like macOS; on /mnt/c it fails, because 9p/DrvFs has no POSIX permissions, no atomic rename, no FIFOs and different streaming timing. None of those failures is about csv2. There is deliberately no start-up refusal for this: see LD. (The counts are in LD, not here -- T69a fails any document that quotes a PASS count, because those go stale silently.)

在 WSL2 上,從原生檔案系統執行這套測試,不要從 /mnt/c。 在原生 ext4 上這套測試是乾淨的, 唯一的略過是 T47——與 macOS 完全相同;在 /mnt/c 上則會失敗,因為 9p/DrvFs 沒有 POSIX 權限、 沒有 rename 原子性、沒有 FIFO,串流時序也不同,沒有一個和 csv2 有關。這件事刻意沒有做成啟動期 拒絕,理由見 LD。(數字寫在 LD,不寫在這裡——T69a 會讓任何引用 PASS 數量的文件失敗,因為那種數字 會安靜地過期。)

Do not run the suite with zsh -f. It reads no start-up files, so a packaged zsh never builds its module_path and zsh/stat cannot load. The suite refuses at start-up with rc=2 and says so; without that refusal it produces three failures pointing in three different directions and moves the skip count. KZ; T238 proves the refusal bites.

不要用 zsh -f 跑這套測試。 它不讀啟動檔,封裝版 zsh 因此沒有建立 module_path, zsh/stat 載不進來。這套測試會在啟動時以 rc=2 拒絕並說明原因;少了那道拒絕,它會產生三個指向 三個不同方向的失敗,並讓略過數跟著變。KZ;T238 證明那道拒絕會咬。

The source list lives in src/sources.list, read by BOTH build scripts. Add a .swift file there, never to a script. Two copies drift, and the Linux build then fails with cannot find 'runParallelSearch' in scope -- a message naming a symbol, not the missing file. 原始檔清單在 src/sources.list,兩支建置腳本都讀它。 新增 .swift 請加在那裡, 不要加進腳本。兩份清單會分岔,Linux 建置會以 cannot find 'runParallelSearch' in scope 失敗——那個訊息指出的是符號,不是缺少的檔案。

Working: the RFC 4180 parser, -r, the selection flags, two-row headers, --json, -md including --pretty with a UAX #11 width table, reading a Markdown table back in (--md-table N when a file holds more than one), a suffix-less file as one column, all five edit verbs -- -insert, -append, -delete, -update and -add-column -- -hash/-encrypt/-decrypt, -debug, -log, the -append O(1) fast path, the .index sidecar with --verify-index, parallel search, and a library surface of seven public types importable as a module. Phase 11 added the editing flags an editor is expected to have: -update-where OLD NEW (whole-cell match; zero matches and more than one are both refused, the latter naming every address it found), --value-file/--value-stdin (the file's bytes ARE the value -- nothing is stripped, and NUL survives, which the command line cannot carry at all), --dry-run (per-cell before-and-after to stdout, writing nothing), --backup (INPUT.bak, refusing to overwrite an existing one), --md-style preserve|compact|pretty (preserve is the default and puts an unedited row back as the line it arrived on), and a JSON error object on stderr under --json with a stable kebab-case code, the exit status unchanged at 1.

Phase 6 is done: csv2 builds inside the aarch64 Linux guest and its output is byte-identical to macOS across 12 compared invocations. Not implemented: shipping (phase 7), which is a deliberate deferral rather than a gap. The Swift 6 module verification has also been run on macOS, aarch64 Linux, WSL, and Windows through the standalone module/client check.

可用:RFC 4180 解析器、-r、選取旗標、兩列標頭、--json、-md(含 --pretty 與 UAX #11 寬度表)、把 Markdown 表讀回來(檔案不只一張表時用 --md-table N)、 把沒有副檔名的檔案讀成一欄、五個編輯動詞——-insert、-append、-delete、 -update 與 -add-column——-hash/-encrypt/-decrypt、-debug、-log、 -append 的 O(1) 快路徑、.index sidecar 與 --verify-index、平行搜尋,以及一個 「可當 module 匯入」的七個 public 型別的 library 表面。第 11 階段補上了「一個編輯器該有」的那些 編輯旗標:-update-where OLD NEW(整格相等才算命中;零命中與多重命中都拒絕,後者會列出它找到 的每一個位址)、--value-file/--value-stdin(檔案的位元組就是值,不做任何裁切,而且 NUL 活得下來——那是命令列根本傳不了的東西)、--dry-run(逐格前後對照走 stdout,不寫入任何東西)、 --backup(INPUT.bak,已存在時拒絕覆寫)、--md-style preserve|compact|pretty(preserve 是 預設,會把沒被編輯的列寫回成它送達時的那一行),以及 --json 之下走 stderr 的 JSON 錯誤物件, 帶一個穩定的 kebab-case code,而結束狀態維持 1。 第 6 階段已完成:csv2 能在 aarch64 Linux guest 內建置,且 12 組比對的輸出與 macOS 逐位元相同。未實作:出貨(第 7 階段),那是刻意暫緩而非缺口。Swift 6 module 驗證也已透過 獨立 module/client 檢查,在 macOS、aarch64 Linux、WSL 與 Windows 執行完成。

Environment knobs / 環境變數

All exist so the logic can be TESTED without a 16 MiB fixture, not merely for tuning. 全部的存在理由是「讓邏輯不需要 16 MiB 的 fixture 就能測試」,而不只是調校。

Variable Default Effect
CSV2_INDEX_MIN_BYTES 16 MiB below this no index is read or written
CSV2_PARALLEL_MIN_BYTES 16 MiB set above the file size to force single-threaded
CSV2_PARALLEL_CHUNK_BYTES 4 MiB smaller values make a small file yield many chunks
CSV2_PRETTY_MAX_BYTES 16 MiB -md --pretty refuses above this rather than being OOM-killed
CSV2_MAX_BUFFER_RECORDS 1,000,000 upper bound on -tail N / -B N

Do not document a flag as working until its case in test/test_csv2.zsh passes. A README that promises a flag which does not work is worse than no README, because it is believed. The plan's phase checklists carry the same rule: a box is ticked only when its test passes.

在 test/test_csv2.zsh 中對應的案例通過之前,不要把任何旗標寫成「可用」。 一份承諾了不存在旗標的 README 比沒有 README 更糟,因為它會被相信。計畫的階段 清單適用同一條規則:測試通過才打勾。

Read the plan first / 先讀計畫

Every decision in plan/plan.md records why, and most of them came from a specific failure in the parent project. Re-deciding them from scratch throws that away. If a decision looks wrong, say so and cite the reason it gives; do not quietly implement something else.

plan/plan.md 中的每項決定都記錄了「為什麼」,且多數源自母專案的一次具體失誤。 從頭重新決定等於丟掉那些代價。若覺得某項決定有誤,請指出並引用它給的理由; 不要安靜地改做別的。

Development culture / 開發文化

  • Bilingual: explanations, code comments and responses in both English and Traditional Chinese (繁體中文). Never Simplified Chinese. 說明、註解與回覆一律中英雙語,繁體中文,不使用簡體。
  • Scripts are zsh, named .zsh, with #!/usr/bin/env zsh. Matching multissh and the parent project. env zsh rather than /bin/zsh: on the aarch64 Linux guest zsh is not at /bin/zsh, and phase 6 requires these scripts to run there unchanged. A subshell spawned from a script uses zsh -c, never sh -c — /bin/sh is dash on many Linux systems, so sh -c silently tests a different shell from the one the script is written in. 腳本一律使用 zsh,副檔名 .zsh,shebang 為 #!/usr/bin/env zsh,與 multissh 及母專案一致。用 env zsh 而非 /bin/zsh:aarch64 Linux guest 上的 zsh 不在 /bin/zsh,而第 6 階段要求這些腳本能原封不動地在那裡執行。腳本內開子 shell 用 zsh -c,絕不用 sh -c——許多 Linux 上的 /bin/sh 是 dash,sh -c 會靜默地 測到一個與腳本語法不同的 shell。
  • Swift style follows swift_tar: plain .swift sources, Foundation + Dispatch, built with swiftc build scripts in explicit Swift 6 language mode, with warnings treated as errors. No SwiftPM, no SwiftNIO. Swift 風格比照 swift_tar:純 .swift 原始檔,Foundation + Dispatch, 以 swiftc 建置腳本明確採用 Swift 6 語言模式編譯,並把警告當成錯誤; 不用 SwiftPM、不用 SwiftNIO。
  • Both platforms, always. Built natively on the macOS host and cross-compiled to aarch64 Linux, with the same tests run on each and byte-identical output required. Linux Foundation is swift-corelibs-foundation, a separate implementation — passing on macOS is not evidence about Linux. Not shipping in the rootfs (current decision) does not relax this. 兩個平台都要。 於 macOS host 原生建置,並交叉編譯至 aarch64 Linux,兩邊跑同一批 測試且要求輸出逐位元相同。Linux 的 Foundation 是 swift-corelibs-foundation,另一份 實作——「macOS 會過」對 Linux 不構成證據。暫不隨 rootfs 出貨並不放寬這一點。

No Perl, and therefore no shasum / 不用 Perl,因此不用 shasum

Nothing in this tree may depend on Perl or Python. The aarch64 guest is one of the four nodes every change is verified on, and it has neither: its userspace is busybox. A script that reaches for a scripting language works on three nodes and fails on the fourth, for a reason unrelated to what it tests.

shasum is Perl. On macOS its shebang is a perl interpreter, so every call starts one. It is banned by name because the name does not look like Perl, so a use of it does not look like a violation.

For an independent SHA-256, use sha256sum (busybox, coreutils, MSYS2) and fall back to openssl dgst -sha256, which stock macOS ships at /usr/bin/openssl. To assert a file did not change, do not hash it at all: cp it first and use cmp -s. Hashing the same path twice passes when the hash tool is missing, because the empty string equals the empty string (T246a).

The rule is written here, not only beside T68, because a rule written next to its first application reads as a note about that application, and this file is read before the work.

The ban covers documents too. A reproduction that cannot be RUN in this tree is worse than none: todo/known-defects.md says the reproductions are the only way to tell later whether a fix has regressed, and one needing Perl in a tree without Perl quietly stops being that. T249d reads the documents and looks for an INVOCATION rather than a mention -- a line starting with a shell prompt, or with the tool followed by a flag -- because prose about this ban is everywhere on purpose and must not be flagged.

不用 Perl,因此不用 shasum

這棵樹上任何東西都不得依賴 Perl 或 Python。 aarch64 guest 是每一次變更都要驗證的四個節點 之一,而它兩者皆無:它的 userspace 是 busybox。一支伸手去拿腳本語言的腳本,會在三個節點上正常、 在第四個上失敗,而失敗的理由與它要測的事情毫無關係。

shasum 就是 Perl。 在 macOS 上它的 shebang 是一個 perl 直譯器,因此每一次呼叫都會啟動一個。 這裡指名禁止它,因為那個名字看起來不像 Perl,用了它也就看起來不像違規。

需要一份獨立的 SHA-256 時,用 sha256sum(busybox、coreutils、MSYS2 都有),退路是 openssl dgst -sha256——原廠 macOS 的 /usr/bin/openssl 就有。而要斷言「一個檔案沒有被改動」時, 根本不要對它取雜湊:先 cp 一份,再用 cmp -s。對同一個路徑取兩次雜湊,會在雜湊工具缺席時 通過,因為空字串等於空字串(T246a)。

這條規則寫在這裡、而不只寫在 T68 旁邊,因為一條寫在它第一個應用旁邊的規則,讀起來只是那個應用 的附註,而這份檔案是在動手之前被讀到的。

這條禁令也涵蓋文件。 一段在這棵樹裡跑不起來的重現,比沒有重現更糟:todo/known-defects.md 說那些重現是「日後判斷修正有沒有退化的唯一依據」,而一段需要 Perl 的重現,在一棵沒有 Perl 的樹裡 會安靜地不再是那個依據。T249d 會讀那些文件,而且找的是呼叫而不是提及——一行以 shell 提示符 開頭,或以那個工具名開頭且後面跟著旗標——因為談論這條禁令的散文到處都是,那是刻意的,絕不能被標記。

Splitting CSV on commas, here of all places / 在這裡,切 CSV 的逗號

Every comma-split in a .zsh in this tree must carry a # CSV-SPLIT-OK: marker with a reason. T301 enforces it. There are four such lines: two are T64a and T65c, which exist to PROVE cut -d, returns the wrong value, and two build T301's own probe.

This is not a ban, because two of the cases must keep doing it. It is a requirement to say why, so that deliberate and casual look different in the file.

A rule with no check does not hold: comma-splits came back into the suite after defect M removed them, and one of them counted fields with awk -F',' on TARGET_PACKAGES.csv and PASSED, because both sides counted the same wrong way. QF.

Use cell(), header_cell() or column() in the suite; all three address through csv2 and none of them splits anything.

T301 covers all four shapes the rule names, including ${line%,*} -- the expansion that rewrote status_notes in TARGET_PACKAGES.csv and is the direct reason this tree exists. QH.

What is NOT enforced: documents. todo/known-defects.md quotes comma-splits inside reproductions of defects that were ABOUT comma-splitting, and no check distinguishes those from a fresh one. Said here so nobody believes that half is covered -- a rule people think is guarded and is not is worse than one they know is not.

在這裡,切 CSV 的逗號

這棵樹裡任何 .zsh 中的逗號切割,都必須帶著一個 # CSV-SPLIT-OK: 標記與理由。 由 T301 執行。目前有四行:兩行是 T64a 與 T65c——它們存在的理由就是證明 cut -d, 會給出 錯的值——另外兩行是在建構 T301 自己的探針。

這不是禁止,因為其中兩個案例非這樣做不可。它要求的是說出理由,讓「刻意」與「順手」在檔案 裡看得出差別。

沒有檢查的規則守不住:缺陷 M 移除了測試裡的逗號切割之後,它們又回來了,其中一處用 awk -F',' 去數 TARGET_PACKAGES.csv 的欄數,而且通過了——兩邊用同一種錯的方式數。QF。

測試裡請用 cell()、header_cell() 或 column();三者都經由 csv2 定址,都不切任何東西。

T301 涵蓋那條規則所列的四種形狀,包括 ${line%,*}——改寫 TARGET_PACKAGES.csv 中 status_notes 的那個展開,也就是這棵樹存在的直接原因。QH。

沒有被執行的那一半:文件。 todo/known-defects.md 在一些重現裡引用了逗號切割,而那些缺陷 本身就是關於逗號切割的;沒有任何檢查能把它們與一次新寫的區分開。這裡講出來,是為了不讓任何 人以為那一半被涵蓋了——一條被以為有守衛、實際沒有的規則,比一條大家知道沒有守衛的規則更糟。

Shell scripts here: zstat, never stat(1) / 這裡的 shell 腳本:用 zstat,不用 stat(1)

The shape this rule forbids:

m=$(stat -c '%a' "$1")                        # GNU / busybox
[[ $m == <-> ]] || m=$(stat -f '%Lp' "$1")    # BSD / macOS

stat(1) has no portable interface. BSD and GNU both take -f and mean opposite things by it, so a script writes both and then guesses which answer is real -- and the guess is made by looking at the output, which is the exact shape of check this project exists to distrust. zstat is a zsh builtin, identical on every platform, and it returns into an array rather than a string somebody then has to parse.

zmodload -F zsh/stat b:zstat
zstat -H h -- "$path"
print $(( h[mode] & 8#777 ))     # 8#777, NOT 0777

The mask is 8#777. zsh does not read a leading zero as octal, so & 0777 is an AND with decimal 777: it returns 256 for a 0644 file -- a plausible number that is wrong.

All four platforms load zsh/stat: macOS, WSL, the Windows MSYS zsh, and the aarch64 guest (measured, not assumed; an older comment claiming the guest could not was wrong).

The full reasoning, with the reproduction, is at the top of test/test_csv2.zsh beside zstat_mode().

這條規則禁止的形狀,見上方程式碼。

stat(1) 沒有可攜的介面。 BSD 與 GNU 都收 -f,意思卻相反,於是腳本得兩種都寫、再猜哪個 答案是真的——而那個猜法是看輸出,那正是這個專案存在所要不信任的那種檢查。zstat 是 zsh 的 內建指令,每個平台都一樣,而且回傳到陣列,不是一個還要有人去剖析的字串。

遮罩是 8#777。 zsh 不會把開頭的 0 當成八進位,因此 & 0777 是與十進位 777 做 AND—— 對一個 0644 的檔案會得到 256,一個看起來合理而錯誤的數字。

四個平台都載得進 zsh/stat:macOS、WSL、Windows 的 MSYS zsh,以及 aarch64 guest(是實測的, 不是推測;一句說 guest 載不進來的舊註解是錯的)。

完整的推理與重現步驟,在 test/test_csv2.zsh 頂端 zstat_mode() 旁邊。

Who may call csv2 / 誰可以呼叫 csv2

Inside the LinuxCS project, only TEST scripts call csv2. The build and maintenance scripts do not, and proposing to wire it into them is not a suggestion this project wants.

在 LinuxCS 專案內,只有「測試」腳本會呼叫 csv2。 建置與維護腳本不會,也不要提議 把它接進去。

The reason is dependency direction: a script like update_licenses.zsh has to run in environments where csv2 has not been built, and csv2 is deliberately not shipped in the guest rootfs. A test script has no such problem -- it runs where csv2 has just been built.

理由是相依性方向:update_licenses.zsh 這類腳本必須能在「csv2 尚未建置」的環境下執行, 而 csv2 又刻意不進 guest rootfs。測試腳本沒有這個問題——它就在剛建好 csv2 的地方執行。

So do not list "no real script uses it" as a gap. It is still true that csv2's verification comes entirely from its own tests, which is a real limitation -- but the way past it here is changing the PLATFORM (phase 6) and changing the READER (read_easy), not changing the caller.

因此不要把「沒有真實腳本在用它」列為缺口。「csv2 的驗證全部來自自己的測試」這件事仍然 為真,也仍然是一項限制——但在這裡繞過它的方法是換平台(第 6 階段)與換讀者 (read_easy),不是換呼叫者。

The one rule that matters most / 最重要的一條規則

Fail loudly. Never produce half-correct output.

This tool exists because scripts that split CSV on commas succeed, report what they did, and leave the file wrong. Any code path that could emit a plausible but incorrect record must instead exit non-zero with a message naming the record and field. A wrong CSV is not detected by the next tool; it is detected months later, if ever.

要大聲失敗,絕不產生半對的輸出。 本工具的存在,正是因為以逗號切割 CSV 的腳本會 「成功」執行、回報它做了什麼,然後留下一個錯的檔案。任何可能產生「看似合理但不正確」 紀錄的路徑,都必須改以非零結束並指出是哪一筆、哪一欄。錯的 CSV 不會被下一個工具發現, 而是在數個月後才被發現——如果還有機會被發現的話。

Submodule rule / Submodule 規則

This repository is ours, with no upstream. origin is raliclo/csv2 and is both the pull source and the push target. The parent project's fork rule (origin = upstream read-only, ralic = our fork) does not apply here, because there is nothing to fork.

本 repo 是我們自己的,沒有上游。origin 即 raliclo/csv2,同時是拉取來源與推送 目標。母專案的 fork 規則(origin 為上游唯讀、ralic 為我們的 fork)在此不適用, 因為沒有東西可 fork。

Linear history / 線性歷史

develop has no merge commits, and it is to stay that way (the user's decision). Four checkouts on four machines push to this one branch, so a single git pull without --rebase on any of them records a merge and the next push publishes it. In every checkout, once:

git config pull.rebase true     # git pull rebases instead of merging
git config merge.ff only        # a plain git merge refuses to create a merge commit

Before pushing, git pull --rebase; if the push is rejected, rebase again, never merge. Do not force-push develop to "fix" a merge that already went out -- ask the user. T324 fails when HEAD contains a merge commit; local config only reaches the machine it was set on, and the suite reaches every node.

develop 沒有 merge commit,而且要維持如此(使用者的決定)。四台機器上的四份 checkout 推向同一條分支,其中任何一台少了 --rebase 的一次 git pull 就會記下一個 merge, 下一次 push 就把它發布出去。每一份 checkout 設定一次:

git config pull.rebase true     # git pull 改用 rebase,不做 merge
git config merge.ff only        # 單純的 git merge 拒絕產生 merge commit

推送前先 git pull --rebase;push 被拒就再 rebase 一次,不要 merge。已經推出去的 merge 不要 用 force-push develop 去「修」——先問使用者。HEAD 含 merge commit 時 T324 會失敗;本機設定 只到得了設定它的那台機器,而套件到得了每一個節點。