* seaweed-block: release gate .ps1 runs swblock from PATH without a runner checkout
RunnerRoot became mandatory when its lab default was dropped, so the
script could no longer fall back to the swblock binary on PATH the way
the .sh does when SWBLOCK_RUNNER_ROOT is unset. Default it to empty and
check for an empty value before Test-Path, which rejects an empty path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-block: release gate refuses an artifact root with whitespace
The kept scenarios substitute artifact_root into shell commands without
quotes, including rm -rf of the run directory, so a path with a space
would split into separate arguments. Refuse such a value up front in both
release-gate scripts and say so in the settings table.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-block: drop the removed testops/suites/ from the authoring page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-block: NVMe/TCP chains import images with the node-side key
The image import runs build-alpha-images.sh on node-a, which ssh's from
there to the import nodes, but these two chains passed ssh_key, the
controller-side key. Pass node_ssh_key like the node-loss chain does; left
empty, ssh falls back to node-a's default identity.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-block: scenario headers list every setting a run needs
The expected-invocation comments still showed only product_root and
ssh_key, but each chain now also reads node_host, node_user and
artifact_root and leaves them empty by default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-block: testops README names the lab-only scenario and the import chains
helm-multi-volume-rf3-app-spread-failover-chain.yaml still names lab
hosts, so the 'no scenario names a host' line now excepts it. The run
example used <...> placeholders, which bash reads as redirections. The
import_nodes and node_ssh_key rows now name the chains that read them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-block: test the release gate's artifact-root whitespace check
Runs the .sh with a space and a tab in SW_BLOCK_NODE_ARTIFACT_ROOT and
expects it to stop before creating the artifact directory, and checks
that the .ps1 refuses such a value before its first New-Item.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The 15 scenarios that tests or scripts here read keep their place, with
host, user, key and artifact share moved to empty env entries set by
-env at run time. The lab scenarios, the suites and a lab-only readiness
script leave the public tree. testops/README describes the kept
scenarios and their settings; the release-gate scripts require the
node settings instead of defaulting to a lab key.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replaces internal identifiers in seaweed-block/ docs, specs and comments with neutral wording. Wording only: no code behaviour, test assertion or spec meaning changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings seaweed-block main (v1.1.1 plus the docs and a test fix after it)
into seaweed-block/ as one commit. Only files under seaweed-block/ change,
and the subtree equals seaweed-block main exactly. The module's full
history stays in the seaweed-block repository.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
swblock_v11_format now turns on the draft v1.1 store format;
swblock_lab_bigvol lifts only the create cap and the headroom refusal.
A build with the format tag names itself in its revision
("LAB BUILD(swblock_v11_format)"), so the image refusal keys on it as it
does on the cap tag, and the CI tag check refuses either tag outside its
allowlist. CI tests each tag alone and both together.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The provider refuses the removed names and, under every selector and
before any selector comparison, a volume carrying their magic (SWAW;
SWPW in either header slot), reading the file read-only and never
modifying it. blockvolume --durable-impl and the launcher refuse the
names with the same advice; the chart schema allows walstore only.
- core/storage/smartwal, core/storage/parallelwal and
cmd/sw-block-testutil (whose one command corrupted smartwal records)
are deleted, with the helm smartwal-corruption scenario and the
parallel-walstore gate script.
- The replication harness runs on walstore; tests that ran on a removed
engine only because a stub needed some store move to walstore, and the
state_convergence label test moves to the in-memory BlockStore.
- sw-block cluster.check drops the removed engines' cases.
- Ledger: INV-OPEN-REMOVED-ENGINE-REFUSED-001 and
INV-OPEN-REMOVED-ENGINE-NAME-REFUSED-001, an OpenRefused edge in M1, and
the rows citing the removed tests updated. Docs: block-design 1.3 now
describes the removal, the smartwal deep-dive and figure are gone, the
scripts default to walstore, and the v1.1 notes carry the removal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A lab build's revision carries LAB BUILD(swblock_lab_bigvol), so -version and
the volume's /status show it. Every image Dockerfile runs
scripts/refuse-lab-binary.sh right after its go build: a binary that is a
lab build, or cannot answer -version, stops the image build, so neither
the publish workflow nor the image scripts can push one. lab-tag-check.sh
now fails closed: an allowlist of the files that may name the tag (git grep;
a scan that cannot run fails), plus the wiring (each Dockerfile refuses
after its last build; the publish workflow builds only from those, with no
go build of its own). Controls cover each contamination and the refusal
script's stand-in binaries. The lab headroom test asserts the warning, and
both invariant rows name the lab exception.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sw-block ops failover is the operator's failover of a standalone
deployment: one call to blockmaster's admin-only FailbackService over
mutual TLS with the expected current line, after the operator confirms the
old node is off or cut from its clients. blockmaster decides the move.
The alpha stack now deploys what its notes describe: blockmaster serves
the failback RPC, and the failback executor (admin client Secret,
execution on) runs in kube-system; install applies the CRD and executor,
uninstall removes both.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The chart sees Secret names, not roles: rendering fails when
tls.clientSecrets.csiNode or .operatorStatus names the CSI controller's,
the failback executor's or blockmaster's own Secret. A test renders the
chart with each such override and expects the refusal. The operator
guide says the CSI node's certificate must have the viewer role in the
role file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The launcher and the alpha certificate helper both refuse a server id
whose Secret name has an empty or malformed DNS label (a..b, a.-b, a
label over 63 characters). The helper reissues a leaf that no longer
verifies against its CA (the CA was regenerated), and keeps the server
ids issued by earlier runs in the role file and the applied Secrets.
Node certificates are client-only, so they carry no subjectAltName. The
operator guide says how to upgrade a blockmaster started with
--insecure-external-bind.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CSI node and the status operator mount viewer certificates; the CSI
controller (it deletes volumes) and the failback executor mount admin
ones. The alpha certificate helper issues one certificate, role-file line
and Secret per client, and the chart takes one Secret per client
(tls.clientSecrets). A chart-render test fails when a client mounts a
Secret other than its own, when an admin Secret appears outside the CSI
controller and the failback executor, or when the role file gives a
client more than its role. A node's refused reattach event is one log
line and is not retried.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
blockmaster refuses --insecure-external-bind (a non-loopback --listen needs
mutual TLS; the runtime HTTP listener stays on loopback), and
--launcher-master-tls-secret-prefix makes each generated volume mount its
server's node certificate Secret and dial with it. The chart, the launcher
renderer, the alpha/g15b/g15d manifests and gate scripts mount the Secrets
and pass the TLS flags; network.externalStatus and the frontend runtime
HTTP option fail the render. scripts/k8s-alpha-certs.sh issues development
certificates and the role file. The systemd startup gate runs its
off-loopback master with mutual TLS.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Delete the stale roadmap and eight wiki planning pages (git history keeps
them); move the only unique content (Phase 166-170 write-path experiment
results) into docs/releases/nvme-tcp-supported-lab.md.
- Simplify the remaining user docs; duplicated non-claim lists link to
docs/kubernetes-status.md; lab host names and local paths are removed.
- Split docs/design/block-design.md into core, agent-workspace-design.md and
kubernetes-block-design.md; add four SVG diagrams of the on-disk and remote
structures and new mermaid diagrams.
- mkdocs.yml nav and README links follow the new layout; the two gate
scripts drop the one check each that read a deleted file.
Docs only; no product code changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>