carlos / platform Public

Fleet secrets key: Astra branch review R2 READY (findings file)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev bfca513d98e17a1b1fb0f614a1ba0e5d2c81e9fe parent 9d8c8c7
1 file changed, +27 −0
  • docs/superpowers/reviews/CODEX-FINDINGS-fleet-secrets-key-branch-R2.md +27 −0

CI failed — run details

Intent

Human

<task-notification> <task-id>bfoqx1pf0</task-id> <tool-use-id>toolu_014h5gDCCrzayDQPg91aBQmV</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/2d812478-ae68-44f2-8075-b2330abd5939/tasks/bfoqx1pf0.output</output-file> <status>completed</status> <summary>Background command "Run Astra branch review round 2" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 21.6 g CO₂e (2,809,003 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-fleet-secrets-key, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-fleet-secrets-key-branch-R2.md b/docs/superpowers/reviews/CODEX-FINDINGS-fleet-secrets-key-branch-R2.md
new file mode 100644
index 000000000..c56668612
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-FINDINGS-fleet-secrets-key-branch-R2.md
@@ -0,0 +1,27 @@
+Reviewed `6271d4ca..9d8c8c76e0c00b500130710ce335a7bfd0423b17`, Round 2 of 3.
+
+Round 1 dispositions:
+
+- **RESOLVED — P1, I1 key reservation:** registration now reserves fingerprints permanently, atomically with the fleet update. Replacement and clearing retain reservations. [fleets.go:320–371](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/registry/fleets.go:320).
+- **RESOLVED — P1, I1 direct mode:** the terminal fingerprint must match the published deployment fingerprint; without one, any fleet record causes refusal. Fleet-box writes cannot reach the publication record. [appconfig_cli.go:1052–1113](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/appconfig_cli.go:1052), [storedoor.go:644–678](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/edge/storedoor.go:644).
+- **RESOLVED — P2, I1 guard completeness:** field reads require explicitly named methods; writes require `NewSealer`. Receiver-constructor and method-write fixtures cover the previous bypass. [sealkey_guard_test.go:221–281,597–657](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/console/sealkey_guard_test.go:221).
+- **RESOLVED — P2, lock lifetime:** provisioning runs inside a closure with deferred account unlock, including panic unwinding. [apiinstanceseed.go:449–463](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/console/apiinstanceseed.go:449).
+- **RESOLVED — required minor, excluded-package coverage:** the source-tree walk includes packages wholly absent from Linux’s package listing; the Darwin-only fixture exercises it. [sealkey_guard_test.go:344–419,508–515](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/console/sealkey_guard_test.go:344).
+- **RESOLVED — required minor, storage enforcement:** healthy stores on keyless fleets proceed through policy enforcement without sealing; regrants requiring minting remain skipped. [planstorage.go:94–150](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/console/planstorage.go:94).
+- **RESOLVED — required minor, request accounting:** the specification now names publication-record reads, fleet-record enumeration, and stale-config fan-out. [design.md:455–462](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/docs/superpowers/specs/2026-10-29-fleet-secrets-key-design.md:455).
+
+New findings: **no P1, P2 or P3 findings** in or caused by the fix diff. Remaining deferred minors retain Round 1’s follow-up disposition.
+
+Census verdicts for the fix diff follow. Unchanged Round 1 approvals carry forward.
+
+- **APPROVE — `Registry.migrateFleets`:** fixed reservation-table creation and idempotent backfill; no new caller-selected input or privileged path. [fleets.go:146–180](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/registry/fleets.go:146).
+- **APPROVE — `Registry.SetFleetSecretsKey`:** parameterized transactional reservation and update through the existing registry transport; `legacy / accepted-legacy` remains appropriate. [fleets.go:320–371](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/registry/fleets.go:320).
+- **APPROVE — envelope `.`:** direct mode adds a console-controlled record read and strengthens pre-seal refusal; no unattended root execution is added. [appconfig_cli.go:1009–1113](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/appconfig_cli.go:1009).
+- **APPROVE — envelope `internal/moves`:** comment-only change; record key and wire shape remain unchanged. [floor.go:22–34](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/moves/floor.go:22).
+- **APPROVE — envelope `internal/registry`:** migration and transactional reservation add no privileged path following or weakened registry gate. [fleets.go:146–180,320–371](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/registry/fleets.go:146).
+- **APPROVE — 9B8 `Server.runFrom`:** deferred unlock changes lock lifetime; existing `SetRecordSeed` authority and record-writer classification remain. [apiinstanceseed.go:421–463](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/console/apiinstanceseed.go:421).
+- **APPROVE — 9B8 `Server.PublishMovesConsole`:** publication also runs for keyed consoles with moves disabled; the same fixed-key `ConsoleRecord` write remains correctly classified nonrecord. [server.go:2025–2044](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/console/server.go:2025), [claim_workers.go:50–54](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/internal/console/claim_workers.go:50).
+
+Formatting and diff-whitespace checks passed. Targeted Go tests could not start because Go’s work-directory creation failed on the read-only filesystem. GOCACHE was left unset. No files were edited.
+
+READY
\ No newline at end of file