carlos / platform Public

census: CLI registry step 1 card and overlay

census-propose overlay, chain line and card for cli-registry-words, with
the CLAIMS file beside the card (class: argument routing, no root read
added). Record-write census (9B8): main.go:main and cli.go:runInstances
drop out; their instances/sidecars literals now live in
cli.go:instancesCommand, cli.go:runInstancesBoxList and
sidecars_cli.go:sidecarsCommand. J4: runSystem and systemVerb are kept
for their tests only, so they get exemptions for the reviewer to rule on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 6ea678aa15b904067b9d4c3ce7047257b45a4890 parent 8596404
7 files changed, +159 −1
  • docs/superpowers/notes/census-claims-cli-registry-words.tsv +28 −0
  • docs/superpowers/notes/census-proposal-cli-registry-words.md +39 −0
  • internal/provision/cli_registry_words_census_test.go +61 −0
  • internal/provision/plan14_input_inventory_test.go +7 −0
  • internal/provision/plan9_b8_census_test.go +1 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-cli-registry-words.tsv +22 −0

Intent

diff --git a/docs/superpowers/notes/census-claims-cli-registry-words.tsv b/docs/superpowers/notes/census-claims-cli-registry-words.tsv
new file mode 100644
index 000000000..ec3d93707
--- /dev/null
+++ b/docs/superpowers/notes/census-claims-cli-registry-words.tsv
@@ -0,0 +1,28 @@
+# CLAIMS for census-ruling-cli-registry-words (CLI command registry, step 1).
+# Class of every change: argument routing. No root read is added anywhere;
+# the word dispatch moves from switches into internal/clireg trees and every
+# handler body is unchanged unless a line below says otherwise.
+#
+# Census units (the card's rows):
+system.go:runSystem argument routing: its switch arms moved into systemCommand (system.go), one child list, router a Transparent child, the old default and help arms in systemFallback; runSystem is now clireg.Dispatch(systemCommand(), args) and is kept with its signature for its tests only (production reaches systemCommand through buildCommandRoot, J4 exemption added); every handler it dispatched to is unchanged; no root read added
+system.go:systemVerb argument routing: its hard-coded verb case list is replaced by a walk of systemCommand's children (same words, router dropped once, help words returned as before); parsing only, used by tests only now; no root read added
+system_managedfleets.go:runSystemManagedFleets argument routing: the show/set word check, bare usage (stderr, exit 2), help (stdout, exit 0) and unknown word (log.Fatal) moved into systemManagedFleetsCommand's children and Fallback; runSystemManagedFleets now takes the verb as a parameter (verb, args) instead of args[0]; the same flags, the same set/show --file rule, the same one os.ReadFile of --file; no root read added
+update.go:maybeUpdateHint argument routing: the noHintVerbs word map is replaced by the NoUpdateHint mark on the dispatched path's nodes (ran []*clireg.Node); the same words are marked noHint in commands.go (edge, agent, adopt, bootstrap, add, remove, route, ops, status, vet, release-keygen, version, help/-h/--help, update, system) plus the plumbing words that returned before the hint; the terminal, release-build and box-environment checks and the cache read are unchanged; no root read added
+cli.go:runInstancesBoxList argument routing: runInstances's bare listing form moved whole under a new name (body byte-identical after its subcommand switch: the same flag set, registry.Open of --registry, List and table); reached as instancesCommand's DefaultLeaf on no word, a flag or an unknown word, exactly where runInstances fell through before; the reads are runInstances's own, none added; disposition stays legacy as runInstances was
+proof_cli.go:runProofPut argument routing: runProof's "put" case moved whole into its own function, reached as proofCommand's "put" child; the same flags, the same os.ReadFile of the one positional file and proofPut; the read is runProof's put-case read, none added; note runProof was authority task E1 and this unit is written new legacy accepted-legacy by census-propose: reviewer to confirm the disposition
+cli.go:runInstances removed: split into instancesCommand (the subcommand word switch as clireg children) and runInstancesBoxList (the bare listing, body unchanged); nothing deleted that a root read relied on
+proof_cli.go:runProof removed: split into proofCommand (word switch: history, keygen, get, put; bare or any other word log.Fatal(proofUsage) as before) and runProofKeygen, runProofGet, runProofPut with the case bodies unchanged; runHistory unchanged
+#
+# Not census units (they read nothing root-owned); covered by the envelope
+# re-pins of ., internal/cgroup, internal/clireg and internal/ops. Listed so
+# the reviewer can check each against the diff:
+# main.go:main the cmd switch and the five __ plumbing ifs are replaced by clireg.Dispatch(commandRoot(), os.Args[1:]) and maybeUpdateHint(path); the prologue (KeepAlive, cgroup.RunShimIfRequested, rootaws.ScrubEnvironment, log.SetOutput, bare-carlos usage exit 2) is unchanged and still runs before any dispatch
+# commands.go:buildCommandRoot (new) the top-level children, in main's old order, each a raw leaf or a subtree around the same handler; the __ plumbing words first as Internal leaves (noHint on the two that returned before the hint); the root Fallback is main's default arm (usage on stderr, exit 2)
+# commands.go:commandRoot, raw, noHint, skipBare, skipGolden, plumbing, shimNodes, versionCommand, runDemoSnapshot, runDrainCallTop, runRegistryChildTop, channelsCommand, releasesCommand (new) helpers and moved arms: the three run* wrappers are main's __demo-snapshot, __drain-call and __registry-child bodies verbatim; versionCommand, channelsCommand and releasesCommand are main's version, channels and releases arms; shimNodes only declares cgroup.Shims' words for the tree and panics if reached (RunShimIfRequested exits first)
+# internal/cgroup/shim.go:RunShimIfRequested, Shims (new var) the two-arm switch on os.Args[1] (ShimVerb, ProbeVerb) becomes a lookup in the exported Shims map holding the same two functions; same exit codes; still called first in main
+# internal/clireg (new package) clireg.go (Node, Audience, Invocation, RawArgs), dispatch.go (Dispatch: walks words to a node, runs its leaf or Fallback, returns the path), validate.go (tree checks used by tests); stdlib only; no file, env or network access
+# internal/ops/ops.go:Run, Commands (new), Fallback (new) Run's verb switch becomes Commands (litestream, restore-verify, hibernate-verify as raw leaves) and Fallback (the usage/help arms unchanged); handlers unchanged; opsCommand (hostclaim_cli.go) mounts Commands and Fallback beside its host resolve node
+# system.go:systemCommand, systemFallback, systemOneVerbCommand (new) the system child list (every former runSystem arm, box plumbing applets kept one raw leaf each with all their args), the old default/help arms, and the one-sub-verb families (seeds-floor publish, legacy-routes assign, lifetimes cutover, hosts-used status)
+# system_*.go: systemDemosCommand, systemAntivirusCommand, systemPDFCommand, systemLayoutCommand, systemGeoipCommand, systemBoxCommand, systemGroupCommand, systemRolesFallback, systemManagedFleetsCommand (new) each family's word switch becomes children plus a Fallback copied from today's default arm; handlers keep their bodies and take the arguments after the word the walk chose: runSystemHostsUsedVerb, runSystemLegacyRoutes/Lifetimes/Seeds verbs renamed to their one leaf (e.g. runSystemHostsUsedStatus) with the sub-verb check moved to systemOneVerbCommand; runSystemBoxVerb/runSystemGroupVerb renamed runSystemBoxRole/runSystemGroupRole and roleArgs no longer checks the role word itself (the node does), same usage and exit 2 otherwise; box publish-record is a BoxLocal leaf straight to host.RunSystemBoxPublishRecord as before
+# cli.go:instancesCommand, sidecars_cli.go:sidecarsCommand (new; runSidecars deleted) the instances and sidecars subcommand switches as children; instances keeps its bare listing as DefaultLeaf on no word, a flag or an unknown word; sidecars keeps bare log.Fatal(sidecarsEnableUsage) and the unknown-subcommand message
+# every other *Command in package main (accounts, appconfig, apps, apps_source, assets, auth, billing, canary, config, db, devbox, domains, doorkeys, economics, features, fleets, gate, hostclaim, instances_import, mail, move, pipeline, ratelimit, relay, scan, schedule, services, store) the same shape: the run* dispatcher's word switch becomes a node; the old run* function kept with its signature where a test calls it directly
diff --git a/docs/superpowers/notes/census-proposal-cli-registry-words.md b/docs/superpowers/notes/census-proposal-cli-registry-words.md
new file mode 100644
index 000000000..f36b17392
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-cli-registry-words.md
@@ -0,0 +1,39 @@
+# Census approval: cli-registry-words
+
+Ruling `census-ruling-cli-registry-words`. The independent reviewer approves or rejects every change below, 2 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `system.go` `runSystem` | body | unchanged (0) | argument routing: its switch arms moved into systemCommand (system.go), one child list, router a Transparent child, the old default and help arms in systemFallback; runSystem is now clireg.Dispatch(systemCommand(), args) and is kept with its signature for its tests only (production reaches systemCommand through buildCommandRoot, J4 exemption added); every handler it dispatched to is unchanged; no root read added |
+| `system.go` `systemVerb` | body | unchanged (0) | argument routing: its hard-coded verb case list is replaced by a walk of systemCommand's children (same words, router dropped once, help words returned as before); parsing only, used by tests only now; no root read added |
+| `system_managedfleets.go` `runSystemManagedFleets` | body | unchanged (1) | argument routing: the show/set word check, bare usage (stderr, exit 2), help (stdout, exit 0) and unknown word (log.Fatal) moved into systemManagedFleetsCommand's children and Fallback; runSystemManagedFleets now takes the verb as a parameter (verb, args) instead of args[0]; the same flags, the same set/show --file rule, the same one os.ReadFile of --file; no root read added |
+| `update.go` `maybeUpdateHint` | body | unchanged (1) | argument routing: the noHintVerbs word map is replaced by the NoUpdateHint mark on the dispatched path's nodes (ran []*clireg.Node); the same words are marked noHint in commands.go (edge, agent, adopt, bootstrap, add, remove, route, ops, status, vet, release-keygen, version, help/-h/--help, update, system) plus the plumbing words that returned before the hint; the terminal, release-build and box-environment checks and the cache read are unchanged; no root read added |
+
+Envelopes re-pinned: `.`, `internal/cgroup`, `internal/clireg`, `internal/ops`.
+
+Removed units: the scan finds neither the declaration nor any of its sites.
+
+| unit | recorded disposition | basis | what changed |
+|---|---|---|---|
+| `cli.go` `runInstances` | legacy, task accepted-legacy | accepted-legacy;rev3=census-ruling-seeded-instances;basis=the carlos CLI: its API verbs on a person's machine as that person, its local listing by hand on a box as whoever runs it (no box unit): main's body with one more dispatch arm, import, which goes to the API-mode import verbs; read sites unchanged;rev3=census-ruling-edge-asset-cache-1;basis=one more dispatch arm, set-assets, which goes to runInstancesSetAssets (the API-mode verb that turns an instance's asset cache on or off through the console); read sites unchanged (13), none added;rev3=census-ruling-edge-page-cache-1;basis=Task 12: one more arm in the instances verb switch, "set-pages" dispatching to runInstancesSetPages (instances_pages.go, a signed-in CLI client that PATCHes the console instance door with only {"pages":"on"|"off"}); a CLI subcommand a signed-in user runs, not called by the agent or by any root pass; read sites unchanged (13); no read added | removed: split into instancesCommand (the subcommand word switch as clireg children) and runInstancesBoxList (the bare listing, body unchanged); nothing deleted that a root read relied on |
+| `proof_cli.go` `runProof` | authority, task E1 | E17: operator saves exact signed authorization and challenge before delivery, resumes without renewal, and verifies enrolled-root exact completion. Existing proof branches are unchanged. Tests: TestPlan14HistoryOperatorWorkflow, TestPlan14HistoryOperatorConflicts, TestPlan14HistoryOperatorExactCompletion, TestPlan14HistoryWorkflowProcessCrash, TestPlan14HistoryCommandResume, TestPlan14HistorySavedFiles, TestPlan14HistoryCLIDispatch. | removed: split into proofCommand (word switch: history, keygen, get, put; bare or any other word log.Fatal(proofUsage) as before) and runProofKeygen, runProofGet, runProofPut with the case bodies unchanged; runHistory unchanged |
+
+Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Reject if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. A rejected unit goes back to the author to correct; nothing escalates to the census owner.
+
+A removed unit's recorded disposition and basis are in its table above. For a removed unit or a retired envelope, confirm from the diff that the code is deleted and not moved: a read that moved shows on this card as a change to the unit that took it, and a unit moved whole shows as a new unit, a decision. Reject if a check, refusal or validation that root relies on goes with the deleted code and its callers' changes on this card do not account for that.
+
+Recorded dispositions, which each change must still satisfy:
+
+- `system.go` `runSystem`: authority, task B,C,D,F,G,J4. Basis: rev3=census-ruling-self-serve-moves-1;identity=explicit operator CLI uid 0;basis=adds the lifetimes family to the system dispatch (carlos system lifetimes cutover, a console door call as the operator); every existing command branch unchanged;rev3=census-ruling-claims-cleanup-r2;basis=claims cleanup R2: drops the claims case (host.RunSystemClaims, deleted); every other branch unchanged; no read added;rev3=census-ruling-nearest-region-a;basis=adds the hosts-used family to the system dispatch (carlos system hosts-used status, one GET of a console door as the operator); every existing command branch unchanged; no read added;rev3=census-ruling-region-ha-p1a;basis=explicit operator CLI and root units, uid 0: drops the "join" case (host.RunSystemJoin, deleted with internal/host/joinroot.go, its only caller) and its line in the usage text; every other branch unchanged; no read added;rev3=census-ruling-named-unit-delivery-114;basis=the system verb dispatch gains named-units, routed to host.RunSystemNamedUnits; no read of its own;rev3=census-ruling-design-pdf-service;basis=add dispatch for carlos system pdf; no new reads;rev3=census-ruling-managed-fleets-2a;basis=Adds managed-fleets operator CLI dispatch; no direct read added; existing root command branches unchanged.;rev3=census-ruling-agent-start-demo-2;basis=system.go:62-66 adds the demos family dispatch to the console-only operator client (system_demos.go:19, system_demos_api.go:23); no direct read added and other root commands are unchanged.;rev3=census-ruling-region-ha-p3b2;basis=Dispatches carlos system group-maintenance {status|permit|revoke|prepare|apply|rollback} to internal/host; no read of its own.;rev3=census-ruling-gvisor-demos;basis=Dispatch fixed runsc-ensure and exec-sandbox-allows-prev system applets; no direct reads.
+- `system.go` `systemVerb`: authority, task B,C,D,F,G,J4. Basis: rev3=census-ruling-self-serve-moves-1;identity=explicit operator CLI uid 0;basis=adds the lifetimes family to the system dispatch (carlos system lifetimes cutover, a console door call as the operator); every existing command branch unchanged;rev3=census-ruling-claims-cleanup-r2;basis=claims cleanup R2: drops "claims" from the verb list, so it now falls to the unknown-verb message; no read added;rev3=census-ruling-nearest-region-a;basis=adds "hosts-used" to the verb list, routed to runSystemHostsUsedVerb; no read added;rev3=census-ruling-region-ha-p1a;basis=explicit operator CLI and root units, uid 0: drops "join" from the verb list, so `carlos system join` now falls to the unknown-verb message; no read added;rev3=census-ruling-named-unit-delivery-114;basis=the known-verb list gains named-units; no read of its own;rev3=census-ruling-design-pdf-service;basis=add recognition for carlos system pdf; no new reads;rev3=census-ruling-managed-fleets-2a;basis=Recognizes managed-fleets as a CLI family; no read added.;rev3=census-ruling-agent-start-demo-2;basis=system.go:43-57 recognizes demos; parsing only, no direct read added.;rev3=census-ruling-region-ha-p3b2;basis=Recognizes group-maintenance as a system verb; parsing only.;rev3=census-ruling-gvisor-demos;basis=Recognize two root sandbox applets; no direct reads.
+- `system_managedfleets.go` `runSystemManagedFleets`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-managed-fleets-2a;basis=Explicit operator CLI reads only the --file JSON settings input with os.ReadFile, then sends it to an authenticated configured-system-operator API; not called by a root unit or tenant request. Copy (approved review 2026-11-02): usage text and the invalid-JSON message now say managed fleet settings; no read changed.
+- `update.go` `maybeUpdateHint`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input
+
+New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff:
+
+- new `cli.go:runInstancesBoxList`: reads +file:Open, +registry:App, +registry:Backing, +registry:Channel, +registry:Environment, +registry:Hibernate, +registry:Host, +registry:Kind, +registry:Replication, +registry:Status, +registry:Unit, +registry:Version, +whole:Route; written legacy, accepted-legacy, frozen
+- new `proof_cli.go:runProofPut`: reads +file:ReadFile; written legacy, accepted-legacy, frozen
+
+Seal: `a6f3f9eec4aac5ea88f20d0e52eaa0651fce80c0d49b60883ff61ceade33d288` → `7a3e507ea1908738a7b710b6467dea688693c66673d93bd9c9e2bee503b0dc26`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-cli-registry-words.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/cli_registry_words_census_test.go b/internal/provision/cli_registry_words_census_test.go
new file mode 100644
index 000000000..72e541e79
--- /dev/null
+++ b/internal/provision/cli_registry_words_census_test.go
@@ -0,0 +1,61 @@
+package provision
+
+// Record-write census entries for the CLI command registry, step 1 (branch
+// cli-registry-words), layered on regionHAHeldWriteCensusInventory (main's
+// newest at 197cc40c). No record write is added or removed and no class or
+// kind changes: the CLI's word dispatch moves, unchanged, from main's switch
+// and runInstances's subcommand switch into clireg nodes, and the nodes
+// carry the literals the switches carried. None of these units writes a
+// record; each handler's own writes stay listed under the handler.
+// - main (main.go): its `case "instances"` and `case "sidecars"` arms
+// became the Name of the instances and sidecars nodes; it walks the
+// tree built by buildCommandRoot (commands.go), which names no record
+// literal itself. main has no write site left to list.
+// - runInstances (cli.go): split. Its subcommand word switch became
+// instancesCommand, and its bare listing form, with the
+// flag.NewFlagSet("instances") literal that made it a key-site, became
+// runInstancesBoxList, body unchanged. runInstances is deleted.
+// - instancesCommand (cli.go, new): the instances node, Name "instances"
+// (main's case literal); key-site, lit:instances. Writes nothing.
+// - runInstancesBoxList (cli.go, new name): runInstances's bare listing,
+// moved whole; key-site, lit:instances, as runInstances was.
+// - sidecarsCommand (sidecars_cli.go, new): the sidecars node, Name
+// "sidecars" (main's case literal), its children runSidecars's
+// subcommand switch (runSidecars, which held no write site, is
+// deleted); key-site, lit:sidecars. Writes nothing.
+func cliRegistryWordsWriteCensusInventory() []censusEntry {
+ removed := []struct{ file, unit string }{
+ {"main.go", "main"},
+ {"cli.go", "runInstances"},
+ }
+ entries := append([]censusEntry(nil), regionHAHeldWriteCensusInventory()...)
+ for _, r := range removed {
+ found := false
+ for i, entry := range entries {
+ if entry.File == r.file && entry.Unit == r.unit {
+ entries = append(entries[:i], entries[i+1:]...)
+ found = true
+ break
+ }
+ }
+ if !found {
+ panic("cli registry words removal of an unlisted unit " + r.file + ":" + r.unit)
+ }
+ }
+ added := []censusEntry{
+ // The instances node: Name "instances", main's case literal moved; writes nothing.
+ {"cli.go", "instancesCommand", "key-site", "lit:instances", "5b9b80df34fa0e1d16d443e4525d4d2727166348d856d453174d49a3b136c601"},
+ // runInstances's bare listing moved whole: flag.NewFlagSet("instances"); writes nothing.
+ {"cli.go", "runInstancesBoxList", "key-site", "lit:instances", "2f90a37c7de33e113dbc35493dc2266e75cce63fb348d693e1088f23de0b14a1"},
+ // The sidecars node: Name "sidecars", main's case literal moved; writes nothing.
+ {"sidecars_cli.go", "sidecarsCommand", "key-site", "lit:sidecars", "2c0a42691bc3172ca86e71df4faa5afc85df14adff006b9f9224419a5382851e"},
+ }
+ for _, a := range added {
+ for _, e := range entries {
+ if e.File == a.File && e.Unit == a.Unit {
+ panic("cli registry words addition of a listed unit " + a.File + ":" + a.Unit)
+ }
+ }
+ }
+ return append(entries, added...)
+}
diff --git a/internal/provision/plan14_input_inventory_test.go b/internal/provision/plan14_input_inventory_test.go
index bfd86859f..5244391c8 100644
--- a/internal/provision/plan14_input_inventory_test.go
+++ b/internal/provision/plan14_input_inventory_test.go
@@ -371,6 +371,13 @@ var inputExemptions = map[string]inputExemption{
"internal/hostclaim/relocation.go:StartRelocation": {Ruling: "R-E2a"},
"internal/hostrelocate/participant.go:Participant.Sweep": {Ruling: "R-E2a"},
"internal/hostrelocate/worker.go:Worker.Start": {Ruling: "R-E2a"},
+ // cli-registry-words: `carlos system` dispatch moved into the command
+ // tree (systemCommand, reached from main through buildCommandRoot).
+ // These two keep their exact signatures for their tests only (plan
+ // constraint 5) and have no production caller. The census reviewer
+ // rules on them with the census-ruling-cli-registry-words card.
+ "system.go:runSystem": {Ruling: "census-ruling-cli-registry-words: test-only shim; production dispatch is systemCommand via buildCommandRoot"},
+ "system.go:systemVerb": {Ruling: "census-ruling-cli-registry-words: test-only reader of systemCommand's children; production dispatch is clireg.Dispatch"},
// internal/host/claimservinghandover.go:servingPriorRevision was
// exempt here (census-ruling-roster-binding: deleted, renamed
// servingPriorBinding) because this inventory stops at activation-tools.
diff --git a/internal/provision/plan9_b8_census_test.go b/internal/provision/plan9_b8_census_test.go
index 60015e928..b6d8f9c9a 100644
--- a/internal/provision/plan9_b8_census_test.go
+++ b/internal/provision/plan9_b8_census_test.go
@@ -366,7 +366,7 @@ func TestPlan9B8RecordWriteCensus(t *testing.T) {
if len(got) < 100 {
t.Fatalf("census found only %d units under %s; the walk is broken", len(got), root)
}
- inventory := regionHAHeldWriteCensusInventory()
+ inventory := cliRegistryWordsWriteCensusInventory()
problems := append(censusDiff(inventory, got), censusPolicy(inventory)...)
if len(problems) > 0 {
t.Fatalf("record-write census rejected %d site(s); update the explicit inventory only after reviewing the source:\n %s", len(problems), strings.Join(problems, "\n "))
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 01fd1a9f3..e6a5976b3 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -143,3 +143,4 @@ plan14-root-reads-fixed-host-ignore-user-data.tsv 250e3ba91e1bc5fcd6be5cc2bafce4
plan14-root-reads-deploy-edge-718.tsv 250e3ba91e1bc5fcd6be5cc2bafce4c7d6645d2d2f0c080913b99f01b1d19129
plan14-root-reads-demo-slice-adopt.tsv 707018faaa1fee3b47abb78389ae7854264e76621cc316889061adb69bf13e10
plan14-root-reads-security-review-mitigations.tsv a6f3f9eec4aac5ea88f20d0e52eaa0651fce80c0d49b60883ff61ceade33d288
+plan14-root-reads-cli-registry-words.tsv 7a3e507ea1908738a7b710b6467dea688693c66673d93bd9c9e2bee503b0dc26
diff --git a/internal/provision/testdata/plan14-root-reads-cli-registry-words.tsv b/internal/provision/testdata/plan14-root-reads-cli-registry-words.tsv
new file mode 100644
index 000000000..c7c8b6d20
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-cli-registry-words.tsv
@@ -0,0 +1,22 @@
+# Census overlay cli-registry-words, written by census-propose (#369). census-ruling-cli-registry-words, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-cli-registry-words.md.
+# 4 body, 0 sites, 4 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 2 removed: each unit's declaration, or each envelope's directory, is absent from the scanned tree, so its row goes, a frozen declaration is retired as absent, and an envelope is retired.
+# 2 new dispositions: 0 reads re-frozen at their disposition with the claim, 2 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
+@legacy 89d22b2fbd96458050aba2a25a756811e9bb9200d96871f84c4c0ff09dae1b52 system_managedfleets.go runSystemManagedFleets legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2a;basis=Explicit operator CLI reads only the --file JSON settings input with os.ReadFile, then sends it to an authenticated configured-system-operator API; not called by a root unit or tenant request. Copy (approved review 2026-11-02): usage text and the invalid-JSON message now say managed fleet settings; no read changed.;rev3=census-ruling-cli-registry-words;basis=argument routing: the show/set word check, bare usage (stderr, exit 2), help (stdout, exit 0) and unknown word (log.Fatal) moved into systemManagedFleetsCommand's children and Fallback; runSystemManagedFleets now takes the verb as a parameter (verb, args) instead of args[0]; the same flags, the same set/show --file rule, the same one os.ReadFile of --file; no root read added file:ReadFile@531 4760e8539b378f103388a06c31b836329d11a6cdc8887655379ee21b41e32552
+@legacy ceb7db8f04e07dd851b74167bd598556f0941b9842f417c55c7e5e12a81bcc95 update.go maybeUpdateHint legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-cli-registry-words;basis=argument routing: the noHintVerbs word map is replaced by the NoUpdateHint mark on the dispatched path's nodes (ran []*clireg.Node); the same words are marked noHint in commands.go (edge, agent, adopt, bootstrap, add, remove, route, ops, status, vet, release-keygen, version, help/-h/--help, update, system) plus the plumbing words that returned before the hint; the terminal, release-build and box-environment checks and the cache read are unchanged; no root read added file:ReadFile@539 326206519a2f5097849b09e582f4eb0813d66c9dd27026c3cad288ffaeb1cbd0
+@legacy 9cfe65203fe0d1de5a5e678976502a7ae8a5c36164ccd7d4b515569a94b4bf55 cli.go runInstancesBoxList legacy accepted-legacy accepted-legacy;rev3=census-ruling-cli-registry-words;basis=argument routing: runInstances's bare listing form moved whole under a new name (body byte-identical after its subcommand switch: the same flag set, registry.Open of --registry, List and table); reached as instancesCommand's DefaultLeaf on no word, a flag or an unknown word, exactly where runInstances fell through before; the reads are runInstances's own, none added; disposition stays legacy as runInstances was file:Open@223,registry:App@2096,registry:Backing@2178,registry:Channel@2111,registry:Environment@2122,registry:Hibernate@1987,registry:Host@2088,registry:Kind@2103,registry:Replication@2163,registry:Status@2137,registry:Unit@2189,registry:Version@2147,whole:Route@1961 2f90a37c7de33e113dbc35493dc2266e75cce63fb348d693e1088f23de0b14a1
+@legacy 7010d0d608b80636e9b4ee245f55eb0ea01842587c0817f24d4774e875585fb9 proof_cli.go runProofPut legacy accepted-legacy accepted-legacy;rev3=census-ruling-cli-registry-words;basis=argument routing: runProof's "put" case moved whole into its own function, reached as proofCommand's "put" child; the same flags, the same os.ReadFile of the one positional file and proofPut; the read is runProof's put-case read, none added; note runProof was authority task E1 and this unit is written new legacy accepted-legacy by census-propose: reviewer to confirm the disposition file:ReadFile@296 0e6a2cb25341669630ea8c1c880836af3c58d88c23556913cddb94917a7afd17
+system.go runSystem authority B,C,D,F,G,J4 rev3=census-ruling-self-serve-moves-1;identity=explicit operator CLI uid 0;basis=adds the lifetimes family to the system dispatch (carlos system lifetimes cutover, a console door call as the operator); every existing command branch unchanged;rev3=census-ruling-claims-cleanup-r2;basis=claims cleanup R2: drops the claims case (host.RunSystemClaims, deleted); every other branch unchanged; no read added;rev3=census-ruling-nearest-region-a;basis=adds the hosts-used family to the system dispatch (carlos system hosts-used status, one GET of a console door as the operator); every existing command branch unchanged; no read added;rev3=census-ruling-region-ha-p1a;basis=explicit operator CLI and root units, uid 0: drops the "join" case (host.RunSystemJoin, deleted with internal/host/joinroot.go, its only caller) and its line in the usage text; every other branch unchanged; no read added;rev3=census-ruling-named-unit-delivery-114;basis=the system verb dispatch gains named-units, routed to host.RunSystemNamedUnits; no read of its own;rev3=census-ruling-design-pdf-service;basis=add dispatch for carlos system pdf; no new reads;rev3=census-ruling-managed-fleets-2a;basis=Adds managed-fleets operator CLI dispatch; no direct read added; existing root command branches unchanged.;rev3=census-ruling-agent-start-demo-2;basis=system.go:62-66 adds the demos family dispatch to the console-only operator client (system_demos.go:19, system_demos_api.go:23); no direct read added and other root commands are unchanged.;rev3=census-ruling-region-ha-p3b2;basis=Dispatches carlos system group-maintenance {status|permit|revoke|prepare|apply|rollback} to internal/host; no read of its own.;rev3=census-ruling-gvisor-demos;basis=Dispatch fixed runsc-ensure and exec-sandbox-allows-prev system applets; no direct reads.;rev3=census-ruling-cli-registry-words;basis=argument routing: its switch arms moved into systemCommand (system.go), one child list, router a Transparent child, the old default and help arms in systemFallback; runSystem is now clireg.Dispatch(systemCommand(), args) and is kept with its signature for its tests only (production reaches systemCommand through buildCommandRoot, J4 exemption added); every handler it dispatched to is unchanged; no root read added b363271258c73eca5568b40d0a6b253f8c71615a57e319709d20e92bbd5f0b0a
+system.go systemVerb authority B,C,D,F,G,J4 rev3=census-ruling-self-serve-moves-1;identity=explicit operator CLI uid 0;basis=adds the lifetimes family to the system dispatch (carlos system lifetimes cutover, a console door call as the operator); every existing command branch unchanged;rev3=census-ruling-claims-cleanup-r2;basis=claims cleanup R2: drops "claims" from the verb list, so it now falls to the unknown-verb message; no read added;rev3=census-ruling-nearest-region-a;basis=adds "hosts-used" to the verb list, routed to runSystemHostsUsedVerb; no read added;rev3=census-ruling-region-ha-p1a;basis=explicit operator CLI and root units, uid 0: drops "join" from the verb list, so `carlos system join` now falls to the unknown-verb message; no read added;rev3=census-ruling-named-unit-delivery-114;basis=the known-verb list gains named-units; no read of its own;rev3=census-ruling-design-pdf-service;basis=add recognition for carlos system pdf; no new reads;rev3=census-ruling-managed-fleets-2a;basis=Recognizes managed-fleets as a CLI family; no read added.;rev3=census-ruling-agent-start-demo-2;basis=system.go:43-57 recognizes demos; parsing only, no direct read added.;rev3=census-ruling-region-ha-p3b2;basis=Recognizes group-maintenance as a system verb; parsing only.;rev3=census-ruling-gvisor-demos;basis=Recognize two root sandbox applets; no direct reads.;rev3=census-ruling-cli-registry-words;basis=argument routing: its hard-coded verb case list is replaced by a walk of systemCommand's children (same words, router dropped once, help words returned as before); parsing only, used by tests only now; no root read added c44750eba8d12a17e431c707fd750479b243ca5cb39813e47a5d03a897dfad52
+system_managedfleets.go runSystemManagedFleets legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2a;basis=Explicit operator CLI reads only the --file JSON settings input with os.ReadFile, then sends it to an authenticated configured-system-operator API; not called by a root unit or tenant request. Copy (approved review 2026-11-02): usage text and the invalid-JSON message now say managed fleet settings; no read changed.;rev3=census-ruling-cli-registry-words;basis=argument routing: the show/set word check, bare usage (stderr, exit 2), help (stdout, exit 0) and unknown word (log.Fatal) moved into systemManagedFleetsCommand's children and Fallback; runSystemManagedFleets now takes the verb as a parameter (verb, args) instead of args[0]; the same flags, the same set/show --file rule, the same one os.ReadFile of --file; no root read added file:ReadFile@531 4760e8539b378f103388a06c31b836329d11a6cdc8887655379ee21b41e32552
+update.go maybeUpdateHint legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-cli-registry-words;basis=argument routing: the noHintVerbs word map is replaced by the NoUpdateHint mark on the dispatched path's nodes (ran []*clireg.Node); the same words are marked noHint in commands.go (edge, agent, adopt, bootstrap, add, remove, route, ops, status, vet, release-keygen, version, help/-h/--help, update, system) plus the plumbing words that returned before the hint; the terminal, release-build and box-environment checks and the cache read are unchanged; no root read added file:ReadFile@539 326206519a2f5097849b09e582f4eb0813d66c9dd27026c3cad288ffaeb1cbd0
+cli.go runInstancesBoxList legacy accepted-legacy accepted-legacy;rev3=census-ruling-cli-registry-words;basis=argument routing: runInstances's bare listing form moved whole under a new name (body byte-identical after its subcommand switch: the same flag set, registry.Open of --registry, List and table); reached as instancesCommand's DefaultLeaf on no word, a flag or an unknown word, exactly where runInstances fell through before; the reads are runInstances's own, none added; disposition stays legacy as runInstances was file:Open@223,registry:App@2096,registry:Backing@2178,registry:Channel@2111,registry:Environment@2122,registry:Hibernate@1987,registry:Host@2088,registry:Kind@2103,registry:Replication@2163,registry:Status@2137,registry:Unit@2189,registry:Version@2147,whole:Route@1961 2f90a37c7de33e113dbc35493dc2266e75cce63fb348d693e1088f23de0b14a1
+proof_cli.go runProofPut legacy accepted-legacy accepted-legacy;rev3=census-ruling-cli-registry-words;basis=argument routing: runProof's "put" case moved whole into its own function, reached as proofCommand's "put" child; the same flags, the same os.ReadFile of the one positional file and proofPut; the read is runProof's put-case read, none added; note runProof was authority task E1 and this unit is written new legacy accepted-legacy by census-propose: reviewer to confirm the disposition file:ReadFile@296 0e6a2cb25341669630ea8c1c880836af3c58d88c23556913cddb94917a7afd17
+@remove cli.go runInstances
+@removed cli.go runInstances H3 census-ruling-cli-registry-words;absent;basis=removed: split into instancesCommand (the subcommand word switch as clireg children) and runInstancesBoxList (the bare listing, body unchanged); nothing deleted that a root read relied on
+@remove proof_cli.go runProof
+@removed proof_cli.go runProof E1 census-ruling-cli-registry-words;absent;basis=removed: split into proofCommand (word switch: history, keygen, get, put; bare or any other word log.Fatal(proofUsage) as before) and runProofKeygen, runProofGet, runProofPut with the case bodies unchanged; runHistory unchanged
+@coverage . a84e667bb4e775a183229b86804067c268e886e55d7ed666c02324eddf222e1b
+@coverage internal/cgroup a70c0c3f066034536052cc5129f8776962631fda5875ef91260b96ce31648763
+@coverage internal/clireg 10115f7463f0277a375889654ffc0cd5102f63a8b4a9c1b3cc9df55de2bc2d37
+@coverage internal/ops cd56a6ff179798afb3002d87e22a9d89474c0ed4fd9afde7f90175bfa759be90