diff --git a/seaweed-block/cmd/blockcsi/main.go b/seaweed-block/cmd/blockcsi/main.go index e04b66ac54..fe36e2605b 100644 --- a/seaweed-block/cmd/blockcsi/main.go +++ b/seaweed-block/cmd/blockcsi/main.go @@ -1,7 +1,7 @@ -// Command blockcsi is the V3 CSI daemon. G15a scope is static: -// it consumes already-published frontend target facts from -// blockmaster and mounts them through the node path; it does not -// create volumes or mint authority. +// Command blockcsi is the CSI daemon. Current scope is static: it +// consumes already-published frontend target facts from blockmaster +// and mounts them through the node path; it does not create volumes +// or mint authority. package main import ( diff --git a/seaweed-block/cmd/blockmaster/main.go b/seaweed-block/cmd/blockmaster/main.go index 61794ad658..dc05b7d18f 100644 --- a/seaweed-block/cmd/blockmaster/main.go +++ b/seaweed-block/cmd/blockmaster/main.go @@ -1,7 +1,5 @@ -// Command blockmaster is the block master daemon — the P15 beta -// product host for P14 authority components + master-volume -// control RPC. See sw-block/design/v3-phase-15-t0-sketch.md -// §4.1 for the product-daemon contract. +// Command blockmaster is the block master daemon — the product +// host for authority components + master-volume control RPC. package main import ( diff --git a/seaweed-block/cmd/m01verify/main.go b/seaweed-block/cmd/m01verify/main.go index 74c586b859..f17bacee57 100644 --- a/seaweed-block/cmd/m01verify/main.go +++ b/seaweed-block/cmd/m01verify/main.go @@ -1,6 +1,6 @@ //go:build m01verify -// G5-5 hardware-test byte-equal verifier — built only under +// Hardware-test byte-equal verifier — built only under the // `m01verify` build tag; never compiled into the production // blockvolume binary. // @@ -8,17 +8,17 @@ // // go build -tags m01verify -o m01verify ./cmd/blockvolume/ // -// Usage (inside iterate-m01-replicated-write.sh): +// Usage: // // m01verify --walstore /tmp/g5sm/replica-store/v1.walstore \ // --lba-start 0 --lba-count 256 --block-size 4096 \ // --expected-pattern | --expected-file payload.bin // -// Per architect REVISE binding round 51: opens the replica's -// walstore through `core/storage.OpenReadOnly` (NOT raw extent -// peek), invokes Read(lba) over the target LBA range, SHA-256- -// compares against the known primary write payload. Prints OK on -// equality, MISMATCH lba=N exp=... got=... + exit 1 on diff. +// Opens the replica's walstore through `core/storage.OpenReadOnly` +// (NOT raw extent peek), invokes Read(lba) over the target LBA +// range, SHA-256-compares against the known primary write payload. +// Prints OK on equality, MISMATCH lba=N exp=... got=... + exit 1 +// on diff. // // Caller (script) MUST ensure the daemon owning the walstore is // stopped or quiesced before invocation; OpenReadOnly opens the diff --git a/seaweed-block/cmd/sparrow/main.go b/seaweed-block/cmd/sparrow/main.go index cb707057c8..cb1dc80d1d 100644 --- a/seaweed-block/cmd/sparrow/main.go +++ b/seaweed-block/cmd/sparrow/main.go @@ -67,16 +67,16 @@ func parseFlags(args []string) (options, error) { fs.BoolVar(&opts.json, "json", false, "emit machine-readable JSON output") fs.IntVar(&opts.runs, "runs", 1, "repeat the validation path N times") fs.StringVar(&opts.httpAddr, "http", "", "start read-only HTTP ops server on ADDR") - fs.BoolVar(&opts.calibrate, "calibrate", false, "run the Phase 06 calibration package") + fs.BoolVar(&opts.calibrate, "calibrate", false, "run the calibration package") fs.BoolVar(&opts.persistDemo, "persist-demo", false, "run the single-node persistence demonstration") fs.StringVar(&opts.persistDir, "persist-dir", "", "directory for --persist-demo backing file") - fs.StringVar(&opts.authorityStore, "authority-store", "", "directory for P14 S5 durable authority records") - fs.BoolVar(&opts.s5Bootstrap, "s5-bootstrap", false, "run the P14 S5 durable authority bootstrap (requires --authority-store)") - // --s7-restart-smoke is a test-only entry for the P14 S7 real- - // subprocess restart smoke. It is intentionally undocumented in - // operator tooling; the flag help string is terse so running - // sparrow with --help doesn't advertise it as a workflow. - fs.BoolVar(&opts.s7RestartSmoke, "s7-restart-smoke", false, "internal test-only: P14 S7 restart smoke (requires --authority-store)") + fs.StringVar(&opts.authorityStore, "authority-store", "", "directory for durable authority records") + fs.BoolVar(&opts.s5Bootstrap, "s5-bootstrap", false, "run the durable authority bootstrap (requires --authority-store)") + // --s7-restart-smoke is a test-only entry for the real-subprocess + // restart smoke. It is intentionally undocumented in operator + // tooling; the flag help string is terse so running sparrow with + // --help doesn't advertise it as a workflow. + fs.BoolVar(&opts.s7RestartSmoke, "s7-restart-smoke", false, "internal test-only: restart smoke (requires --authority-store)") fs.SetOutput(ioDiscard{}) if err := fs.Parse(args); err != nil { return options{}, err diff --git a/seaweed-block/cmd/sparrow/s5_bootstrap.go b/seaweed-block/cmd/sparrow/s5_bootstrap.go index c991f90b54..05062a4917 100644 --- a/seaweed-block/cmd/sparrow/s5_bootstrap.go +++ b/seaweed-block/cmd/sparrow/s5_bootstrap.go @@ -12,8 +12,7 @@ import ( ) // runS5Bootstrap is the live, non-test entrypoint exercising the -// P14 S5 durable authority bootstrap path. This is the minimum -// real call site that satisfies architect round-5: +// durable authority bootstrap path: // // 1. AcquireStoreLock — single-owner OS lock on the store dir // 2. NewFileAuthorityStore — open file-per-volume backend diff --git a/seaweed-block/cmd/sparrow/s7_restart_smoke.go b/seaweed-block/cmd/sparrow/s7_restart_smoke.go index 7e12ff9ab9..d317d85f1e 100644 --- a/seaweed-block/cmd/sparrow/s7_restart_smoke.go +++ b/seaweed-block/cmd/sparrow/s7_restart_smoke.go @@ -10,14 +10,13 @@ import ( "github.com/seaweedfs/seaweed-block/core/authority" ) -// runS7RestartSmoke is the narrow test-only entry that drives -// the P14 S7 real-subprocess restart smoke (§8.1 shape 2 of the -// S7 sketch). It is NOT advertised in --help and has no -// operator workflow; it exists only so the L2 process test can -// spawn a real `sparrow` binary twice against the same store +// runS7RestartSmoke is the narrow test-only entry that drives the +// real-subprocess restart smoke. It is NOT advertised in --help and +// has no operator workflow; it exists only so the L2 process test +// can spawn a real `sparrow` binary twice against the same store // directory and assert on structured stdout. // -// Contract (pinned by sketch §8.4): +// Contract: // // 1. Bootstrap against --authority-store (acquire lock, open // file store, reload Publisher).