| new file mode 100644 |
| index 000000000..5a50b35dc |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-staticcheck-sa4006.tsv |
| @@ -0,0 +1,18 @@ |
| +# Census overlay staticcheck-sa4006, written by census-propose (#369). census-ruling-staticcheck-sa4006, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-staticcheck-sa4006.md. |
| +# 5 body, 0 sites, 7 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +@legacy 04f0c29ce69ce0e38b96e504658db5a5ed003f6d71938fd081d224842b7802e3 deploy.go runDeploy legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets and --no-assets, refuses both together and bad folders before anything runs (deployAssets), reads the folders saved in .carlos/config for the session's console through configAssets (the config walk the CLI already makes), and saves a new list there as it saves the other deploy settings; read site unchanged (1), none added;rev3=census-ruling-gated-deploy-watch-164;basis=the static-deploy branch passes its watch targets through passGatedTargets (a console POST for a gate pass per gated host) and passes the gated-host set to watchDeployed; no new local read, read site unchanged (1), none added;rev3=census-ruling-region-labels;basis=builds a host-to-label map (hostPlaces) from the instance list it already read and passes it to the static watch targets and watchDeployed, so the watch lines say where; no read added;rev3=census-ruling-first-deploy-493;basis=Sequences existing console APIs for confirmed-missing app and first instance creation, with repeatable environment values; local artifact preflight before these new writes. Existing config artifact stat read retained.;rev3=census-ruling-account-subdomains;basis=builds its watch targets with watchTargetsFor (host, watchOrigin(host), the instance list's public_host as Display, place, probe) from the instance list it already read, and passes them to watchDeployed; deployingLine prints the public host from that same list; the watch still dials and matches host; no read added, read site unchanged (1); fix round 1: a first static deploy keeps the create answer mintPlatformHost now returns (the whole record, not its host) and carries its public_host into the record it appends, for printing only; mintPlatformHost makes the same two console requests as before;rev3=census-ruling-mail-submission-followups;basis=takes --mail and refuses a value but submit before the console is asked anything (the git reads for the version and the dirty-tree check run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1);rev3=census-ruling-staticcheck-sa4006;basis=SA4006 dead store: the static-deploy re-list after attaching --host discards the instance total (third result), which nothing after it read; recs, truncated and err are kept and checked as before. No read added, read site unchanged (1). file:Stat@8743 2754d6758a1af4a072e51e4544a2f05e3419d905bf97dd10d30f4da5f6162b92 |
| +@legacy 42acb0c7eb3fb9d9b1658906de233ae6456cd86489e9099c8d4636b2bcd98953 internal/domains/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its domains loop: the seeded-instances body (a trashed app's route kept while an import on its host is journaled, deleted only if the row is still the one listed); self-serve moves 1 Task 4 removes the claims-off 1d auto-purge, so a claims-off box destroys no app objects and a host-claim box only requests the claim's purge as before; the registry reads are unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 7: the whole-app trash loop keeps every forward row (keptLive = append(keptLive, rt), +whole:Route x3) ahead of DeleteIfUnchanged, so a trashed fleet app's forward row is retired by the forward phase alone. Deletes less, never more.;rev3=census-ruling-staticcheck-sa4006;basis=SA4006 dead store: the canary loop no longer keeps the app from appKeyOwner, which canaryPointer (itself built on appKeyOwner for the same key) overwrote straight away; acctOfKey and ok are unchanged. No read added, read sites unchanged (95). registry:Account@5579,registry:Account@5775,registry:App@10407,registry:App@11741,registry:App@13980,registry:App@5380,registry:App@5528,registry:App@7482,registry:App@7539,registry:App@7740,registry:App@7953,registry:App@8191,registry:App@8381,registry:Canary@10351,registry:Canary@13027,registry:Canary@13871,registry:Channel@11796,registry:Channel@13004,registry:Channel@13902,registry:Channel@13989,registry:Channel@14292,registry:Host@10314,registry:Host@10993,registry:Host@14027,registry:Host@14112,registry:Host@14283,registry:Host@5650,registry:Host@5736,registry:Host@7589,registry:Host@7731,registry:Host@7944,registry:Host@8182,registry:Host@8372,registry:Kind@12670,registry:Platform@10335,registry:Platform@13856,whole:Route@10296,whole:Route@10402,whole:Route@10463,whole:Route@10669,whole:Route@10685,whole:Route@10811,whole:Route@10839,whole:Route@11005,whole:Route@11021,whole:Route@11029,whole:Route@11726,whole:Route@11779,whole:Route@11936,whole:Route@11952,whole:Route@12997,whole:Route@13067,whole:Route@13236,whole:Route@13252,whole:Route@13260,whole:Route@13811,whole:Route@13842,whole:Route@13975,whole:Route@14130,whole:Route@14144,whole:Route@14150,whole:Route@14322,whole:Route@14336,whole:Route@14342,whole:Route@14350,whole:Route@14359,whole:Route@5366,whole:Route@5380,whole:Route@5510,whole:Route@5528,whole:Route@5579,whole:Route@5650,whole:Route@5736,whole:Route@5775,whole:Route@7144,whole:Route@7176,whole:Route@7426,whole:Route@7444,whole:Route@7454,whole:Route@7534,whole:Route@7760,whole:Route@7778,whole:Route@7788,whole:Route@7854,whole:Route@7971,whole:Route@7989,whole:Route@7999,whole:Route@8204,whole:Route@8222,whole:Route@8232,whole:Route@8410,whole:Route@8428,whole:Route@8438,whole:Route@8448,whole:Route@8457 14c44db6e1531c93a565f38f0f8a3d1ff3e1ab0f0d8164283aceb46c148f6d7d |
| +@legacy 2776cf119e9348e87f14f5afa149e174dacd3282eccf539c5c7f6fdb1342b263 internal/host/replicaplacement.go replicaPlacementWorker.run legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Final fix I3: retain completed lifetime/revision observations and skip their work; only confirmed current binding publication after coordinator acquisition, or existing successful/fenced retirement ACK, completes work. Existing local registry read, authority and retirement checks, and 30-second request deadline remain. No new reads or polling.;rev3=census-ruling-staticcheck-sa4006;basis=SA4006 dead store: publishCurrent's error is discarded explicitly (done, _ =) with a comment; it was assigned to err and never read, and publishCurrent returns false with every error, so done and the retry backoff are exactly as before. No read added, read sites unchanged (6). registry:ReplicaIncarnation@1246,registry:ReplicaRevision@1278,whole:Route@1011,whole:Route@1233,whole:Route@1741,whole:Route@859 08cf1cf77c344739d1e5ac72f4d96b76ab2c5ae51be51b25e35accc9c14ad24d |
| +@legacy 9b803de4eb1f2d3f7476e28198fee9688929c69e7f738ac140a52ff90488e003 staticcheck.conf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-audit-gate-vet-staticcheck;basis=new: staticcheck configuration at the module root (which SA checks run). Read only by the staticcheck tool in CI and make staticcheck; nothing in the root binary reads it. No read added.;rev3=census-ruling-staticcheck-sa4006;basis=Turns SA4006 on (drops -SA4006 from checks) and rewrites its comment. Read only by staticcheck; nothing in the root binary reads it. No read added. file:external@0 cfabaf82e72edcbe6b8c72e883cfd0eb306981726e9c7ecdc3bb66740006e327 |
| +deploy.go runDeploy legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets and --no-assets, refuses both together and bad folders before anything runs (deployAssets), reads the folders saved in .carlos/config for the session's console through configAssets (the config walk the CLI already makes), and saves a new list there as it saves the other deploy settings; read site unchanged (1), none added;rev3=census-ruling-gated-deploy-watch-164;basis=the static-deploy branch passes its watch targets through passGatedTargets (a console POST for a gate pass per gated host) and passes the gated-host set to watchDeployed; no new local read, read site unchanged (1), none added;rev3=census-ruling-region-labels;basis=builds a host-to-label map (hostPlaces) from the instance list it already read and passes it to the static watch targets and watchDeployed, so the watch lines say where; no read added;rev3=census-ruling-first-deploy-493;basis=Sequences existing console APIs for confirmed-missing app and first instance creation, with repeatable environment values; local artifact preflight before these new writes. Existing config artifact stat read retained.;rev3=census-ruling-account-subdomains;basis=builds its watch targets with watchTargetsFor (host, watchOrigin(host), the instance list's public_host as Display, place, probe) from the instance list it already read, and passes them to watchDeployed; deployingLine prints the public host from that same list; the watch still dials and matches host; no read added, read site unchanged (1); fix round 1: a first static deploy keeps the create answer mintPlatformHost now returns (the whole record, not its host) and carries its public_host into the record it appends, for printing only; mintPlatformHost makes the same two console requests as before;rev3=census-ruling-mail-submission-followups;basis=takes --mail and refuses a value but submit before the console is asked anything (the git reads for the version and the dirty-tree check run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1);rev3=census-ruling-staticcheck-sa4006;basis=SA4006 dead store: the static-deploy re-list after attaching --host discards the instance total (third result), which nothing after it read; recs, truncated and err are kept and checked as before. No read added, read site unchanged (1). file:Stat@8743 2754d6758a1af4a072e51e4544a2f05e3419d905bf97dd10d30f4da5f6162b92 |
| +internal/domains/reconcile.go Reconcile legacy accepted-legacy accepted-legacy;rev3=census-ruling-self-serve-moves-1;basis=the agent (/opt/carlos/carlos agent, carlos-edge.service, user carlos), from its domains loop: the seeded-instances body (a trashed app's route kept while an import on its host is journaled, deleted only if the row is still the one listed); self-serve moves 1 Task 4 removes the claims-off 1d auto-purge, so a claims-off box destroys no app objects and a host-claim box only requests the claim's purge as before; the registry reads are unchanged;rev3=census-ruling-fleet-public-routes;basis=fleet public routes (spec 2026-10-29 rev 4, §4.2 writer rule): Task 7: the whole-app trash loop keeps every forward row (keptLive = append(keptLive, rt), +whole:Route x3) ahead of DeleteIfUnchanged, so a trashed fleet app's forward row is retired by the forward phase alone. Deletes less, never more.;rev3=census-ruling-staticcheck-sa4006;basis=SA4006 dead store: the canary loop no longer keeps the app from appKeyOwner, which canaryPointer (itself built on appKeyOwner for the same key) overwrote straight away; acctOfKey and ok are unchanged. No read added, read sites unchanged (95). registry:Account@5579,registry:Account@5775,registry:App@10407,registry:App@11741,registry:App@13980,registry:App@5380,registry:App@5528,registry:App@7482,registry:App@7539,registry:App@7740,registry:App@7953,registry:App@8191,registry:App@8381,registry:Canary@10351,registry:Canary@13027,registry:Canary@13871,registry:Channel@11796,registry:Channel@13004,registry:Channel@13902,registry:Channel@13989,registry:Channel@14292,registry:Host@10314,registry:Host@10993,registry:Host@14027,registry:Host@14112,registry:Host@14283,registry:Host@5650,registry:Host@5736,registry:Host@7589,registry:Host@7731,registry:Host@7944,registry:Host@8182,registry:Host@8372,registry:Kind@12670,registry:Platform@10335,registry:Platform@13856,whole:Route@10296,whole:Route@10402,whole:Route@10463,whole:Route@10669,whole:Route@10685,whole:Route@10811,whole:Route@10839,whole:Route@11005,whole:Route@11021,whole:Route@11029,whole:Route@11726,whole:Route@11779,whole:Route@11936,whole:Route@11952,whole:Route@12997,whole:Route@13067,whole:Route@13236,whole:Route@13252,whole:Route@13260,whole:Route@13811,whole:Route@13842,whole:Route@13975,whole:Route@14130,whole:Route@14144,whole:Route@14150,whole:Route@14322,whole:Route@14336,whole:Route@14342,whole:Route@14350,whole:Route@14359,whole:Route@5366,whole:Route@5380,whole:Route@5510,whole:Route@5528,whole:Route@5579,whole:Route@5650,whole:Route@5736,whole:Route@5775,whole:Route@7144,whole:Route@7176,whole:Route@7426,whole:Route@7444,whole:Route@7454,whole:Route@7534,whole:Route@7760,whole:Route@7778,whole:Route@7788,whole:Route@7854,whole:Route@7971,whole:Route@7989,whole:Route@7999,whole:Route@8204,whole:Route@8222,whole:Route@8232,whole:Route@8410,whole:Route@8428,whole:Route@8438,whole:Route@8448,whole:Route@8457 14c44db6e1531c93a565f38f0f8a3d1ff3e1ab0f0d8164283aceb46c148f6d7d |
| +internal/host/replicaplacement.go replicaPlacementWorker.run legacy accepted-legacy accepted-legacy;rev3=census-ruling-stateless-replicas-2;basis=Final fix I3: retain completed lifetime/revision observations and skip their work; only confirmed current binding publication after coordinator acquisition, or existing successful/fenced retirement ACK, completes work. Existing local registry read, authority and retirement checks, and 30-second request deadline remain. No new reads or polling.;rev3=census-ruling-staticcheck-sa4006;basis=SA4006 dead store: publishCurrent's error is discarded explicitly (done, _ =) with a comment; it was assigned to err and never read, and publishCurrent returns false with every error, so done and the retry backoff are exactly as before. No read added, read sites unchanged (6). registry:ReplicaIncarnation@1246,registry:ReplicaRevision@1278,whole:Route@1011,whole:Route@1233,whole:Route@1741,whole:Route@859 08cf1cf77c344739d1e5ac72f4d96b76ab2c5ae51be51b25e35accc9c14ad24d |
| +internal/hostrelocate/participant.go Participant.Step authority C,D Participant re-reads claim and installation identity around effects; root stop receipts and fresh participation bound probes, with generic orchestration retained.;rev3=census-ruling-staticcheck-sa4006;basis=SA4006 dead store: after counting the probe attempt only obs is updated (obs = counted); c (counted.Claim) was assigned and never read again in that case. The probe still runs on the counted observation. No read added, read sites unchanged (4). file:Exec@1181,file:Read@1612,file:Read@247,file:Read@6513 7dc910bc4ad42cb86d53a4cee8c9549ba02b1ceb645e108705044074a2843c32 |
| +staticcheck.conf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-audit-gate-vet-staticcheck;basis=new: staticcheck configuration at the module root (which SA checks run). Read only by the staticcheck tool in CI and make staticcheck; nothing in the root binary reads it. No read added.;rev3=census-ruling-staticcheck-sa4006;basis=Turns SA4006 on (drops -SA4006 from checks) and rewrites its comment. Read only by staticcheck; nothing in the root binary reads it. No read added. file:external@0 cfabaf82e72edcbe6b8c72e883cfd0eb306981726e9c7ecdc3bb66740006e327 |
| +@coverage . f8fb04e67ad550ceeee3e3737a0d096626a339bb57d6042ef02f757e12dc18f6 |
| +@coverage internal/activator 9892fca3feaf4d382d209033f6e2347a7403911f00a606c79f33be7cc2f62aeb |
| +@coverage internal/domains 466cdafa49404a745afca6536fcbe807b8810fa8b1922b439d72cececcc6b43a |
| +@coverage internal/host 9ec4216e2570923187c1525238ad4db55e2c9471364d7eee42bcc76b65e22091 |
| +@coverage internal/hostops 578802e0476ee3fc1fcb72a41d87efcc44047e5ba8070b3d34a1c56fbaf84729 |
| +@coverage internal/hostrelocate 99527352a6d4adf92d4c6f2da860c88892b0e1a5695bdcc056c35abd7dd94060 |
| +@coverage internal/instancectl dc00b58e1c3a57b4d0aeee207647148978f3857024fbb2afeee754a3767c3536 |