Fleet secrets key spec: correct the request costs in §7 (branch review R1)
Direct-mode secrets set lists accounts/ and reads each fleet owner record; fleets ls and the key door's answer read each keyed fleet's placed apps' config bundles for the stale count. Both are user-invoked; nothing polls.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+9
−2
docs/superpowers/specs/2026-10-29-fleet-secrets-key-design.md+9 −2
diff --git a/docs/superpowers/specs/2026-10-29-fleet-secrets-key-design.md b/docs/superpowers/specs/2026-10-29-fleet-secrets-key-design.md| index 83531bae6..f4e3a231f 100644 |
| --- a/docs/superpowers/specs/2026-10-29-fleet-secrets-key-design.md |
| +++ b/docs/superpowers/specs/2026-10-29-fleet-secrets-key-design.md |
| @@ -3,6 +3,8 @@ |
| Status: APPROVED rev 5, 2026-10-29 (Paul, no round 4). Rev 2: the builder check (B1-B9). Rev 3: Astra round 1 (A1-A6, `CODEX-FINDINGS-fleet-secrets-key-R1.md`, all accepted). Rev 4: Astra round 2 (`-R2.md`) tripped stopping rule 2 in A1's and A4's families; Paul's cut (2026-10-29): split the invariant (§2.1). Rev 5: Astra round 3 (`-R3.md`): direct mode's key check (P1), the guard test and the §5.7 join (P2). Discussion: amadan carlos/platform #366 |
| (found by rootfs Plan 4 Task 11). Branch `design-fleet-secrets-key`. |
| +Rev 5 note, build: request costs corrected (branch review R1). |
| + |
| ## 1. Why |
| An app placed on a customer's fleet (`carlos apps create --place fleet/<f>`) |
| @@ -443,8 +445,13 @@ exclusion is needed; a guard test pins it. |
| secrets` reference. |
| - Census: the registry schema change and the console seal sites are in |
| scope; `make census-card` decides. Boxes unchanged. |
| -- Cost and requests: none new. `sealKeyFor` reads the console's own store |
| - and registry; no new bucket reads or polling. |
| +- Cost and requests: `sealKeyFor` reads the console's own store and |
| + registry, no bucket. Two user-invoked commands add bucket reads, and |
| + nothing polls: |
| + - direct-mode `carlos secrets set` lists `accounts/` and reads each |
| + fleet owner record, to refuse a fleet's key (§5.3); |
| + - `carlos fleets ls`, and the key door's answer, read the config bundles |
| + of each keyed fleet's placed apps to count stale values (§5.1). |
| - Provider boundary: no cloud API. The fleet key is ECDH-P256 like the |
| deployment key; nothing here is AWS-specific. |