carlos / platform Public

Fleet secrets key copy deck: all 70 rows approved by delegation (Luna pass 1, 14 rewrites applied; relay clause of C47/C60 not applied)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 08b2ca5e35e54d783087539c6ef5cbcd476e83a3 parent 3ad7b2b
1 file changed, +71 −72
  • docs/superpowers/plans/2026-10-29-fleet-secrets-key-copy.md +71 −72

Intent

Human

<task-notification> <task-id>aa5045cff34b3fe25</task-id> <tool-use-id>toolu_01HSju8tbnoN8k7X13egn1rj</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/2d812478-ae68-44f2-8075-b2330abd5939/tasks/aa5045cff34b3fe25.output</output-file> <status>completed</status> <summary>Agent "Implement Task 1: Sealer and SealedTo" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>Status: DONE Commit: 3ad7b2b9 "Add appconfig.Sealer and Var.SealedTo". The packed-refs.lock hook error appeared, but `git log` confirms the commit exists. Tests: - The new `TestSealer*` tests and `TestScanSecretHashIgnoresSealedTo` fail to build before the change (undefined `NewSealer`, `ErrSealerBinding`, `SealedTo`). They pass after it. - `go test . ./internal/appconfig/ -run 'Secret|Config'` passes, and so does a targeted `internal/host` run. - Removing the `SealedTo` clearing in `scanSecretHash` makes the hash test fail. - `go build` and `go vet` pass, as do the darwin, windows and linux-arm64 builds. - `scanSecretHash` matches the old struct-only hash when `SealedTo` is empty, so existing deliveries are not re-sent. `SetSecret` callers: `saveSecrets` in `appconfig_cli.go` (keeps its `map[string]string` signature and sets no `SealedTo`) and 7 test call sites (6 in `internal/appconfig`, 1 in `internal/host`). There are no other non-test callers. Concerns: - `docs/superpowers/plans/2026-10-29-fleet-secrets-key-copy.md` shows as modified in the worktree. I did not touch it and did not commit it. - The sandbox Go cache is read-only, so the go commands ran unsandboxed, as common.md allows. Report: /home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-fleet-secrets-key/.superpowers/sdd/2026-10-29-fleet-secrets-key/task-1-report.md</result> <usage><subagent_tokens>62104</subagent_tokens><tool_uses>13</tool_uses><duration_ms>273455</duration_ms></usage> </task-notification>

Attributed to this commit: 9.57 g CO₂e (1,216,863 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/plans/2026-10-29-fleet-secrets-key-copy.md b/docs/superpowers/plans/2026-10-29-fleet-secrets-key-copy.md
index deb494916..0cff5c03c 100644
--- a/docs/superpowers/plans/2026-10-29-fleet-secrets-key-copy.md
+++ b/docs/superpowers/plans/2026-10-29-fleet-secrets-key-copy.md
@@ -7,8 +7,7 @@ Every user-facing string of the fleet secrets key feature (amadan carlos/platfor
in the format of `2026-10-28-console-budget-copy.md`: columns id, file, text,
status. Ids are `FSK-C01` upward, never renumbered.
-Every row is `pending`. Task 0 Step 4 (the controller) sends the deck through
-copy review; rows come back `approved` with their final text. No later task
+Every row is `approved`: by delegation, a Luna copy pass (2026-10-29, `luna-1.md` in the plan workspace; Paul's standing delegation for plan decks), its rewrites applied except FSK-C47 and FSK-C60's relay clause (`carlos relay rotate` is an operator verb). Rows came back `approved` with their final text. No later task
writes a row that is not `approved`, and each adds its ids to
`fleetSecretsCopyBuilt` in the commit that writes them.
@@ -52,91 +51,91 @@ console-minted names on their own line.
| id | file | text | status |
|---|---|---|---|
-| FSK-C01 | internal/console/fleetsecretskey.go (a fragment: the purpose handed to apiOwnerAccountFor, which reads "only an account owner can ", Task 3) | set a fleet's secrets key | pending |
-| FSK-C02 | internal/console/fleetsecretskey.go (Task 3) | that is not a public secrets key. use the CARLOS_SECRETS_PUBKEY value that carlos secrets genkey prints | pending |
-| FSK-C03 | internal/console/fleetsecretskey.go (Task 3) | that is the platform's own secrets key, and a fleet needs its own. mint a new pair with carlos secrets genkey and register its public half | pending |
-| FSK-C04 | internal/console/fleetsecretskey.go (Task 3) | another fleet already uses this secrets key, and every fleet needs its own. mint a new pair with carlos secrets genkey and register its public half | pending |
-| FSK-C05 | internal/console/fleetsecretskey.go (Task 3) | <fleet> already has a different secrets key, and these apps hold sealed values: <apps>. replacing the key would leave them unreadable. unset each app's secrets with carlos secrets unset --app <app> <var>, then run this again | pending |
-| FSK-C06 | internal/console/fleetsecretskey.go (Task 3) | the key was not recorded for <fleet> and nothing was changed. run carlos fleets secrets-key <fleet> <pubkey> again | pending |
-| FSK-C07 | internal/console/templates/fleet_byo.html (Configure the box, the host.env block; Task 3) | CARLOS_SECRETS_KEY=<private key from carlos secrets genkey, on your boxes only> | pending |
-| FSK-C08 | internal/console/templates/fleet_byo.html (Configure the box, after the host.env block; Task 3) | CARLOS_SECRETS_KEY is the private half of your fleet's secrets key. Make the pair with carlos secrets genkey, put the private half on every box and nowhere else, then restart the agent. Register the public half with carlos fleets secrets-key <name> <pubkey>. Until you do, apps on this fleet cannot hold secrets. | pending |
-| FSK-C09 | internal/console/templates/fleetdetail.html (heading; Task 3) | Secrets key | pending |
-| FSK-C10 | internal/console/templates/fleetdetail.html (no key registered; Task 3) | No secrets key yet. Apps on this fleet cannot hold secrets until you run carlos fleets secrets-key <name> <pubkey> from a terminal signed in to this console. | pending |
-| FSK-C11 | internal/console/templates/fleetdetail.html (key registered; Task 3) | Secrets for apps on this fleet are sealed to <fp>. Every box needs the matching private key as CARLOS_SECRETS_KEY in its host.env. | pending |
+| FSK-C01 | internal/console/fleetsecretskey.go (a fragment: the purpose handed to apiOwnerAccountFor, which reads "only an account owner can ", Task 3) | set a fleet's secrets key | approved |
+| FSK-C02 | internal/console/fleetsecretskey.go (Task 3) | that is not a public secrets key. use the CARLOS_SECRETS_PUBKEY value that carlos secrets genkey prints | approved |
+| FSK-C03 | internal/console/fleetsecretskey.go (Task 3) | that is the platform's own secrets key, and a fleet needs its own. mint a new pair with carlos secrets genkey and register its public half | approved |
+| FSK-C04 | internal/console/fleetsecretskey.go (Task 3) | another fleet already uses this secrets key, and every fleet needs its own. mint a new pair with carlos secrets genkey and register its public half | approved |
+| FSK-C05 | internal/console/fleetsecretskey.go (Task 3) | <fleet> already has a different secrets key, and these apps hold sealed values: <apps>. replacing the key would leave them unreadable. unset each app's secrets with carlos secrets unset --app <app> <var>, then run this again | approved |
+| FSK-C06 | internal/console/fleetsecretskey.go (Task 3) | the key was not recorded for <fleet> and nothing was changed. run carlos fleets secrets-key <fleet> <pubkey> again | approved |
+| FSK-C07 | internal/console/templates/fleet_byo.html (Configure the box, the host.env block; Task 3) | CARLOS_SECRETS_KEY=<private key from carlos secrets genkey, on your boxes only> | approved |
+| FSK-C08 | internal/console/templates/fleet_byo.html (Configure the box, after the host.env block; Task 3) | CARLOS_SECRETS_KEY is the private half of your fleet's secrets key. Make the pair with carlos secrets genkey, put the private half on every box and nowhere else, then run systemctl restart carlos-edge. Register the public half with carlos fleets secrets-key <name> <pubkey>. Until you do, apps on this fleet cannot hold secrets. | approved |
+| FSK-C09 | internal/console/templates/fleetdetail.html (heading; Task 3) | Secrets key | approved |
+| FSK-C10 | internal/console/templates/fleetdetail.html (no key registered; Task 3) | No secrets key yet. Apps on this fleet cannot hold secrets until you run carlos fleets secrets-key <name> <pubkey> from a terminal signed in to this console. | approved |
+| FSK-C11 | internal/console/templates/fleetdetail.html (key registered; Task 3) | Secrets for apps on this fleet are sealed to <fp>. Every box needs the matching private key as CARLOS_SECRETS_KEY in its host.env. | approved |
## Task 4: the CLI commands
| id | file | text | status |
|---|---|---|---|
-| FSK-C12 | fleets.go (a fragment of fleetsUsage, the first line; Task 4) | usage: carlos fleets <create\|add-box\|rotate-token\|tag-box\|detach-box\|secrets-key\|ls> [flags] | pending |
-| FSK-C13 | fleets.go (a fragment of fleetsUsage, the secrets-key entry; Task 4) | secrets-key [--account <sqid\|name>] [--file <path>] <fleet> [<pubkey>]\n register the public half of the fleet's secrets key. every secret\n and credential for an app placed on the fleet is sealed to it.\n keep the private half in each box's host.env as CARLOS_SECRETS_KEY\n and nowhere else. make a pair with "carlos secrets genkey". only an\n account owner can run this. --file reads a CARLOS_SECRETS_PUBKEY=\n line or a bare key. | pending |
-| FSK-C14 | fleets.go (a fragment of fleetsUsage, the ls entry; Task 4) | list every fleet the account owns, with its secrets key and each box's label,\n status and tags. STALE counts the sealed values its boxes cannot\n open yet. | pending |
-| FSK-C15 | fleets.go (Task 4) | registered the secrets key for <fleet>. fingerprint <fp> | pending |
-| FSK-C16 | fleets.go (Task 4) | <fleet> already has this secrets key. fingerprint <fp>. nothing changed | pending |
-| FSK-C17 | fleets.go (Task 4) | these apps on <fleet> hold values its boxes cannot open yet: | pending |
-| FSK-C18 | fleets.go (Task 4) | <app>: <vars> | pending |
-| FSK-C19 | fleets.go (Task 4) | <app>: <vars> (minted by the console) | pending |
-| FSK-C20 | fleets.go (Task 4) | set each secret again with carlos secrets set --app <app> <var>=<value>. for a credential the console minted, run carlos store rotate --app <app> or carlos email rotate --app <app> | pending |
-| FSK-C21 | fleets.go (Task 4) | that is not a public secrets key. use the CARLOS_SECRETS_PUBKEY value that carlos secrets genkey prints | pending |
-| FSK-C22 | fleets.go (Task 4) | cannot read <path>. check the path, or pass the key as <pubkey> | pending |
-| FSK-C23 | fleets.go (Task 4) | pass the public key as <pubkey> or with --file <path>, one of the two | pending |
-| FSK-C24 | fleets.go (Task 4) | no fleet called <fleet> in this account. run carlos fleets ls to see yours | pending |
-| FSK-C25 | fleets.go (Task 4) | usage: carlos fleets secrets-key [--account <sqid\|name>] [--file <path>] <fleet> [<pubkey>] | pending |
-| FSK-C26 | fleets.go (a fragment of the fleets ls header; Task 4) | SECRETS KEY | pending |
-| FSK-C27 | fleets.go (a fragment of the fleets ls header; Task 4) | STALE | pending |
-| FSK-C28 | fleets.go (a fragment of the fleets ls row: no key registered, or no stale value; Task 4) | - | pending |
-| FSK-C29 | appconfig_cli.go (a fragment of secretsUsage, the commands list; Task 4) | fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key | pending |
-| FSK-C30 | appconfig_cli.go (a fragment of secretsUsage, the closing paragraph; Task 4) | genkey and fingerprint are always local, in both modes. | pending |
-| FSK-C31 | appconfig_cli.go (a fragment of secretsUsage, the closing paragraph; Task 4) | for an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with "carlos fleets secrets-key". | pending |
-| FSK-C32 | appconfig_cli.go (Task 4) | the secrets key in <path> has fingerprint <fp> | pending |
-| FSK-C33 | appconfig_cli.go (Task 4) | carlos fleets ls shows the first 12 characters after sha256: | pending |
-| FSK-C34 | appconfig_cli.go (Task 4) | <path> has no CARLOS_SECRETS_KEY. add the fleet's private key there as CARLOS_SECRETS_KEY=<key> and run carlos secrets fingerprint again | pending |
-| FSK-C35 | appconfig_cli.go (Task 4) | cannot read <path>. run this as a user who can read it, or name another file with --file <path> | pending |
-| FSK-C36 | appconfig_cli.go (Task 4) | the CARLOS_SECRETS_KEY in <path> is not a valid secrets key. make a new pair with carlos secrets genkey | pending |
+| FSK-C12 | fleets.go (a fragment of fleetsUsage, the first line; Task 4) | usage: carlos fleets <create\|add-box\|rotate-token\|tag-box\|detach-box\|secrets-key\|ls> [flags] | approved |
+| FSK-C13 | fleets.go (a fragment of fleetsUsage, the secrets-key entry; Task 4) | secrets-key [--account <sqid\|name>] [--file <path>] <fleet> [<pubkey>]\n register the public half of the fleet's secrets key. every secret\n and credential for an app placed on the fleet is sealed to it.\n keep the private half in each box's host.env as CARLOS_SECRETS_KEY\n and nowhere else. make a pair with "carlos secrets genkey". only an\n account owner can run this. --file reads a CARLOS_SECRETS_PUBKEY=\n line or a bare key. | approved |
+| FSK-C14 | fleets.go (a fragment of fleetsUsage, the ls entry; Task 4) | list every fleet the account owns, with its secrets key fingerprint and each box's label,\n status and tags. STALE counts the sealed values its boxes cannot\n open yet. | approved |
+| FSK-C15 | fleets.go (Task 4) | registered the secrets key for <fleet>. fingerprint <fp> | approved |
+| FSK-C16 | fleets.go (Task 4) | <fleet> already has this secrets key. fingerprint <fp>. nothing changed | approved |
+| FSK-C17 | fleets.go (Task 4) | these apps on <fleet> hold values its boxes cannot open yet: | approved |
+| FSK-C18 | fleets.go (Task 4) | <app>: <vars> | approved |
+| FSK-C19 | fleets.go (Task 4) | <app>: <vars> (minted by the console) | approved |
+| FSK-C20 | fleets.go (Task 4) | set each secret again with carlos secrets set --app <app> <var>=<value>. for a credential the console minted, run carlos store rotate --app <app> or carlos email rotate --app <app> | approved |
+| FSK-C21 | fleets.go (Task 4) | that is not a public secrets key. use the CARLOS_SECRETS_PUBKEY value that carlos secrets genkey prints | approved |
+| FSK-C22 | fleets.go (Task 4) | cannot read <path>. check the path, or pass the key as <pubkey> | approved |
+| FSK-C23 | fleets.go (Task 4) | pass the public key as <pubkey> or with --file <path> | approved |
+| FSK-C24 | fleets.go (Task 4) | no fleet called <fleet> in this account. run carlos fleets ls to see yours | approved |
+| FSK-C25 | fleets.go (Task 4) | usage: carlos fleets secrets-key [--account <sqid\|name>] [--file <path>] <fleet> [<pubkey>] | approved |
+| FSK-C26 | fleets.go (a fragment of the fleets ls header; Task 4) | SECRETS KEY | approved |
+| FSK-C27 | fleets.go (a fragment of the fleets ls header; Task 4) | STALE | approved |
+| FSK-C28 | fleets.go (a fragment of the fleets ls row: no key registered, or no stale value; Task 4) | - | approved |
+| FSK-C29 | appconfig_cli.go (a fragment of secretsUsage, the commands list; Task 4) | fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key | approved |
+| FSK-C30 | appconfig_cli.go (a fragment of secretsUsage, the closing paragraph; Task 4) | genkey and fingerprint are always local, in both modes. | approved |
+| FSK-C31 | appconfig_cli.go (a fragment of secretsUsage, the closing paragraph; Task 4) | for an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with "carlos fleets secrets-key". | approved |
+| FSK-C32 | appconfig_cli.go (Task 4) | the secrets key in <path> has fingerprint <fp> | approved |
+| FSK-C33 | appconfig_cli.go (Task 4) | carlos fleets ls shows the first 12 characters after sha256: | approved |
+| FSK-C34 | appconfig_cli.go (Task 4) | <path> has no CARLOS_SECRETS_KEY. add the fleet's private key there as CARLOS_SECRETS_KEY=<key> and run carlos secrets fingerprint again | approved |
+| FSK-C35 | appconfig_cli.go (Task 4) | cannot read <path>. run this as a user who can read it, or name another file with --file <path> | approved |
+| FSK-C36 | appconfig_cli.go (Task 4) | the CARLOS_SECRETS_KEY in <path> is not a valid secrets key. make a new pair with carlos secrets genkey | approved |
## Task 5: sealKeyFor, the config GET and PUT, the CLI's sealed_to
| id | file | text | status |
|---|---|---|---|
-| FSK-C37 | internal/console/sealkey.go (the message of errFleetNoSecretsKey; Task 5) | <fleet> has no secrets key, so apps placed on it cannot hold secrets. run carlos fleets secrets-key <fleet> <pubkey> with a key from carlos secrets genkey | pending |
-| FSK-C38 | internal/console/sealkey.go (Task 5) | no app called <app> in this account. check the name with carlos apps list | pending |
-| FSK-C39 | internal/console/apiconfig.go (Task 5) | <var> cannot be checked, because the carlos CLI that sealed it did not say which key it used, and <app> is placed on <fleet>. upgrade the carlos CLI and set <var> again | pending |
-| FSK-C40 | internal/console/apiconfig.go (Task 5) | <var> was sealed to a key that <fleet>'s boxes do not hold. unset CARLOS_SECRETS_PUBKEY in your terminal and set <var> again | pending |
-| FSK-C41 | internal/console/apiconfig.go (Task 5) | <var> was sealed to a key that this app's boxes do not hold. unset CARLOS_SECRETS_PUBKEY in your terminal and set <var> again | pending |
-| FSK-C42 | internal/console/apiconfig.go (Task 5) | <var> was sealed in an older format that <fleet>'s boxes do not accept. upgrade the carlos CLI and set <var> again | pending |
-| FSK-C43 | appconfig_cli.go (replaces the no-key refusal in secretsPubKeyAPI; Task 5) | the console serves no secrets key for <app>. if <app> is placed on a fleet, run carlos fleets secrets-key <fleet> <pubkey>. otherwise set CARLOS_SECRETS_PUBKEY in your terminal | pending |
+| FSK-C37 | internal/console/sealkey.go (the message of errFleetNoSecretsKey; Task 5) | <fleet> has no secrets key, so apps placed on it cannot hold secrets. run carlos fleets secrets-key <fleet> <pubkey> with a key from carlos secrets genkey | approved |
+| FSK-C38 | internal/console/sealkey.go (Task 5) | no app called <app> in this account. check the name with carlos apps list | approved |
+| FSK-C39 | internal/console/apiconfig.go (Task 5) | <var> cannot be checked, because the carlos CLI that sealed it did not say which key it used, and <app> is placed on <fleet>. upgrade the carlos CLI and set <var> again | approved |
+| FSK-C40 | internal/console/apiconfig.go (Task 5) | <var> was sealed to a key that <fleet>'s boxes do not hold. unset CARLOS_SECRETS_PUBKEY in your terminal and set <var> again | approved |
+| FSK-C41 | internal/console/apiconfig.go (Task 5) | <var> was sealed to a key that this app's boxes do not hold. unset CARLOS_SECRETS_PUBKEY in your terminal and set <var> again | approved |
+| FSK-C42 | internal/console/apiconfig.go (Task 5) | <var> was sealed in an older format that <fleet>'s boxes do not accept. upgrade the carlos CLI and set <var> again | approved |
+| FSK-C43 | appconfig_cli.go (replaces the no-key refusal in secretsPubKeyAPI; Task 5) | the console serves no secrets key for <app>. if <app> is placed on a fleet, run carlos fleets secrets-key <fleet> <pubkey>. otherwise set CARLOS_SECRETS_PUBKEY in your terminal | approved |
## Task 6: console-minted credentials
| id | file | text | status |
|---|---|---|---|
-| FSK-C44 | internal/console/apistore.go (the keyless-fleet arm of storeSealKey; Task 6) | <fleet> has no secrets key, so the console cannot deliver a store credential to <app> and will not mint one. run carlos fleets secrets-key <fleet> <pubkey> | pending |
-| FSK-C45 | internal/console/apimail.go (the keyless-fleet arm of mailSealKey; Task 6) | <fleet> has no secrets key, so the console cannot deliver an email credential to <app> and will not enable sending. run carlos fleets secrets-key <fleet> <pubkey> | pending |
-| FSK-C46 | internal/console/relayops.go (the keyless-fleet arm of the relay's key choice; Task 6) | <fleet> has no secrets key, so the console cannot deliver a relay key to <app> and will not issue one. run carlos fleets secrets-key <fleet> <pubkey> | pending |
+| FSK-C44 | internal/console/apistore.go (the keyless-fleet arm of storeSealKey; Task 6) | <fleet> has no secrets key, so the console cannot deliver a store credential to <app> and will not mint one. run carlos fleets secrets-key <fleet> <pubkey> | approved |
+| FSK-C45 | internal/console/apimail.go (the keyless-fleet arm of mailSealKey; Task 6) | <fleet> has no secrets key, so the console cannot deliver an email credential to <app> and will not enable sending. run carlos fleets secrets-key <fleet> <pubkey> | approved |
+| FSK-C46 | internal/console/relayops.go (the keyless-fleet arm of the relay's key choice; Task 6) | <fleet> has no secrets key, so the console cannot deliver a relay key to <app> and will not issue one. run carlos fleets secrets-key <fleet> <pubkey> | approved |
## Task 7: moves
| id | file | text | status |
|---|---|---|---|
-| FSK-C47 | internal/console/fleets.go (the shared check of placeAppTarget and claimAppWith; Task 7) | <app> has sealed values that its new boxes cannot open: <vars>. unset each with carlos secrets unset --app <app> <var>, run this command again, then set each again. afterwards run carlos store rotate --app <app> or carlos email rotate --app <app> for any credential the console minted | pending |
+| FSK-C47 | internal/console/fleets.go (the shared check of placeAppTarget and claimAppWith; Task 7) | <app> has sealed values that its new boxes cannot open: <vars>. unset each with carlos secrets unset --app <app> <var>, run this command again, then set each again. afterwards run carlos store rotate --app <app> or carlos email rotate --app <app> for any credential the console minted | approved |
## Task 8: direct-bucket mode
| id | file | text | status |
|---|---|---|---|
-| FSK-C48 | appconfig_cli.go (Task 8) | this account owns a fleet, and a direct write cannot tell which key <app> needs. unset CARLOS_DEPLOYMENT_BUCKET and CARLOS_DEPLOYMENT_DIR in your terminal and run carlos secrets set through a signed-in console | pending |
-| FSK-C49 | appconfig_cli.go (Task 8) | the CARLOS_SECRETS_PUBKEY in your terminal is a fleet's key, and a direct write must not seal to one. set it to the deployment's public key and run the command again | pending |
-| FSK-C50 | appconfig_cli.go (Task 8) | cannot check this bucket for fleet keys, so nothing was set. check your access to the bucket and run the command again | pending |
+| FSK-C48 | appconfig_cli.go (Task 8) | this account owns a fleet, and a direct write cannot tell which key <app> needs. unset CARLOS_DEPLOYMENT_BUCKET and CARLOS_DEPLOYMENT_DIR in your terminal and run carlos secrets set through a signed-in console | approved |
+| FSK-C49 | appconfig_cli.go (Task 8) | the CARLOS_SECRETS_PUBKEY in your terminal is a fleet's key, and a direct write must not seal to one. set it to the deployment's public key and run the command again | approved |
+| FSK-C50 | appconfig_cli.go (Task 8) | cannot check this bucket for fleet keys, so nothing was set. check your access to the bucket and run the command again | approved |
## Task 9: refusals on instances list
| id | file | text | status |
|---|---|---|---|
-| FSK-C51 | instances_cli.go (the REASON cell for no_key; Task 9) | config refused: the box has no secrets key. add the fleet's private key to the box's host.env as CARLOS_SECRETS_KEY, then restart the carlos-edge service | pending |
-| FSK-C52 | instances_cli.go (the REASON cell for cannot_open; Task 9) | config refused: the box cannot open this app's secrets. run carlos secrets fingerprint on the box and compare it with carlos fleets ls. if they differ, fix CARLOS_SECRETS_KEY in host.env and restart the carlos-edge service. if they match, set the app's secrets again and rotate any credential the console minted | pending |
-| FSK-C53 | instances_cli.go (the REASON cell for key_unparseable; Task 9) | config refused: the box's CARLOS_SECRETS_KEY is not a valid key. put the fleet's private key in host.env and restart the carlos-edge service | pending |
-| FSK-C54 | instances_cli.go (the REASON cell for any other reason; Task 9) | config refused: <reason>. check the box's journal for config guard lines | pending |
-| FSK-C55 | instances_cli.go (the REASON cell when the box's list is capped; Task 9) | this box refused more instances than it reports. check its journal for config guard lines | pending |
+| FSK-C51 | instances_cli.go (the REASON cell for no_key; Task 9) | config refused: the box has no secrets key. add the fleet's private key to the box's host.env as CARLOS_SECRETS_KEY, then run systemctl restart carlos-edge | approved |
+| FSK-C52 | instances_cli.go (the REASON cell for cannot_open; Task 9) | config refused: the box cannot open this app's secrets. run carlos secrets fingerprint on the box and compare it with carlos fleets ls. if they differ, fix CARLOS_SECRETS_KEY in host.env and run systemctl restart carlos-edge. if they match, run carlos secrets set for the listed values and rotate any credential the console minted | approved |
+| FSK-C53 | instances_cli.go (the REASON cell for key_unparseable; Task 9) | config refused: the box's CARLOS_SECRETS_KEY is not a valid secrets key. put the fleet's private key in host.env and run systemctl restart carlos-edge | approved |
+| FSK-C54 | instances_cli.go (the REASON cell for any other reason; Task 9) | config refused: <reason>. run journalctl -u carlos-edge and check for config guard lines | approved |
+| FSK-C55 | instances_cli.go (the REASON cell when the box's list is capped; Task 9) | this box refused more instances than it reports. run journalctl -u carlos-edge and check for config guard lines | approved |
## Task 10: docs
@@ -144,18 +143,18 @@ The fleets page of the plan is the `carlos fleets` section of `docs/site/cli.md`
| id | file | text | status |
|---|---|---|---|
-| FSK-C56 | docs/site/cli.md (carlos fleets; Task 10) | An app on a fleet cannot hold a secret until the fleet has its own secrets key. The key is a pair. The private half stays on your fleet's boxes and the platform never sees it. The public half goes to the console, which seals every secret and credential for the fleet's apps to it. | pending |
-| FSK-C57 | docs/site/cli.md (carlos fleets; Task 10) | Make the pair with `carlos secrets genkey`. Put the private half in `/etc/carlos/host.env` on every box as `CARLOS_SECRETS_KEY`, then restart the agent with `systemctl restart carlos-edge`. Then register the public half. Only an account owner can do that. | pending |
-| FSK-C58 | docs/site/cli.md (carlos fleets; Task 10) | Register it with `carlos fleets secrets-key home <pubkey>`, or pass `--file` with a file that holds a `CARLOS_SECRETS_PUBKEY=` line or the bare key. The command prints the key's fingerprint. | pending |
-| FSK-C59 | docs/site/cli.md (carlos fleets; Task 10) | A key belongs to one fleet only, and it cannot be the platform's own. Registering the same key on the same fleet again changes nothing. | pending |
-| FSK-C60 | docs/site/cli.md (carlos fleets; Task 10) | If apps on the fleet already hold sealed values, the command lists them. They were sealed to another key, so the fleet's boxes cannot open them. Set each secret again with `carlos secrets set`, and run `carlos store rotate` or `carlos email rotate` for a credential the console minted. The STALE column of `carlos fleets ls` counts what is left. | pending |
-| FSK-C61 | docs/site/cli.md (carlos fleets; Task 10) | To check that a box holds the registered key, run `carlos secrets fingerprint` on the box. Its answer should start with the characters in the SECRETS KEY column of `carlos fleets ls`, which shows the first 12 after `sha256:`. | pending |
-| FSK-C62 | docs/site/cli.md (carlos fleets; Task 10) | You can replace a fleet's key only while none of its apps holds a sealed value. Unset those apps' secrets, register the new key, set the secrets again and rotate the credentials the console minted. If a key may have leaked, run `carlos fleets detach-box` on the box first. A detached box stops reading the platform's store. | pending |
-| FSK-C63 | docs/site/cli.md (carlos apps; Task 10) | `carlos apps place` refuses an app whose sealed values were sealed to a different key from the target's, and `carlos apps create --place` does the same for an app that already has config. The message lists the values. Unset them, place the app, then set them again and rotate any credential the console minted. | pending |
-| FSK-C64 | docs/site/cli.md (carlos secrets; Task 10) | An app placed on a fleet is sealed to the fleet's key, which `carlos secrets set` takes from the console. Leave `CARLOS_SECRETS_PUBKEY` unset in your terminal for it, and use a `carlos` CLI that knows about fleet keys, because the console refuses a secret from an older one. | pending |
-| FSK-C65 | docs/site/cli.md (carlos secrets; Task 10) | In direct-bucket mode, `carlos secrets set` refuses for any account that owns a fleet, because it cannot tell which key an app needs. Use a signed-in console instead. | pending |
-| FSK-C66 | docs/site/cli.md (carlos secrets; Task 10) | `carlos secrets fingerprint` prints the fingerprint of the `CARLOS_SECRETS_KEY` in `/etc/carlos/host.env`, or in the file you name with `--file`. It runs on your machine, calls no console and never prints the key. | pending |
-| FSK-C67 | docs/site/cli.md (carlos instances; Task 10) | When a box refuses an instance's config, REASON in `carlos instances list` says why and what to do. A box without a secrets key needs `CARLOS_SECRETS_KEY` in its `host.env` and a restart of the agent. A box that cannot open a secret needs its key compared with the fleet's, and the secrets set again if the keys match. | pending |
-| FSK-C68 | docs/site/rails.md (Ship it; Task 10) | A fleet needs its own secrets key before an app on it can hold a secret. carlos store create needs it too, because the console seals the store's credential to that key. If the fleet has none, register one first. [carlos fleets](/docs/cli#carlos-fleets) shows how. | pending |
-| FSK-C69 | docs/site/rails.md (Ship it; Task 10) | If carlos secrets set or carlos store create says the fleet has no secrets key, register the key and run the command again. If carlos instances list shows a config refusal, its REASON column says what to do. | pending |
-| FSK-C70 | docs/site/rootfs.md (Task 10) | A fleet app's secrets and its store credential are sealed to the fleet's own secrets key, so register one before the app needs a secret. [carlos fleets](/docs/cli#carlos-fleets) explains how. | pending |
+| FSK-C56 | docs/site/cli.md (carlos fleets; Task 10) | An app on a fleet cannot hold a secret until the fleet has its own secrets key. The key is a pair. The private half stays on your fleet's boxes and the platform never sees it. The public half goes to the console, which seals every secret and credential for the fleet's apps to it. | approved |
+| FSK-C57 | docs/site/cli.md (carlos fleets; Task 10) | Make the pair with \`carlos secrets genkey\`. Put the private half in \`/etc/carlos/host.env\` on every box as \`CARLOS_SECRETS_KEY\`, then restart the agent with \`systemctl restart carlos-edge\`. Register the public half with \`carlos fleets secrets-key <name> <pubkey>\`. Only an account owner can do that. | approved |
+| FSK-C58 | docs/site/cli.md (carlos fleets; Task 10) | Register it with `carlos fleets secrets-key home <pubkey>`, or pass `--file` with a file that holds a `CARLOS_SECRETS_PUBKEY=` line or the bare key. The command prints the key's fingerprint. | approved |
+| FSK-C59 | docs/site/cli.md (carlos fleets; Task 10) | A key belongs to one fleet only, and it cannot be the platform's own. Registering the same key on the same fleet again changes nothing. | approved |
+| FSK-C60 | docs/site/cli.md (carlos fleets; Task 10) | If apps on the fleet already hold sealed values, the command lists them. They were sealed to another key, so the fleet's boxes cannot open them. Set each secret again with `carlos secrets set`, and run `carlos store rotate` or `carlos email rotate` for a credential the console minted. The STALE column of `carlos fleets ls` counts what is left. | approved |
+| FSK-C61 | docs/site/cli.md (carlos fleets; Task 10) | To check that a box holds the registered key, run `carlos secrets fingerprint` on the box. Its answer should start with the characters in the SECRETS KEY column of `carlos fleets ls`, which shows the first 12 after `sha256:`. | approved |
+| FSK-C62 | docs/site/cli.md (carlos fleets; Task 10) | You can replace a fleet's key only while none of its apps holds a sealed value. Unset those apps' secrets, register the new key, set the secrets again and rotate the credentials the console minted. If a key may have leaked, first run \`carlos fleets detach-box <fleet> <label>\`. A detached box stops reading the platform's store. | approved |
+| FSK-C63 | docs/site/cli.md (carlos apps; Task 10) | `carlos apps place` refuses an app whose sealed values were sealed to a different key from the target's, and `carlos apps create --place` does the same for an app that already has config. The message lists the values. Unset them, place the app, then set them again and rotate any credential the console minted. | approved |
+| FSK-C64 | docs/site/cli.md (carlos secrets; Task 10) | An app placed on a fleet is sealed to the fleet's key, which `carlos secrets set` takes from the console. Leave `CARLOS_SECRETS_PUBKEY` unset in your terminal for it, and use a `carlos` CLI that knows about fleet keys, because the console refuses a secret from an older one. | approved |
+| FSK-C65 | docs/site/cli.md (carlos secrets; Task 10) | In direct-bucket mode, \`carlos secrets set\` refuses for any account that owns a fleet, because it cannot tell which key an app needs. Unset \`CARLOS_DEPLOYMENT_BUCKET\` and \`CARLOS_DEPLOYMENT_DIR\`, sign in with \`carlos auth login\`, and run \`carlos secrets set\` through the console. | approved |
+| FSK-C66 | docs/site/cli.md (carlos secrets; Task 10) | `carlos secrets fingerprint` prints the fingerprint of the `CARLOS_SECRETS_KEY` in `/etc/carlos/host.env`, or in the file you name with `--file`. It runs on your machine, calls no console and never prints the key. | approved |
+| FSK-C67 | docs/site/cli.md (carlos instances; Task 10) | When a box refuses an instance's config, REASON in \`carlos instances list\` says why and what to do. A box without a secrets key needs \`CARLOS_SECRETS_KEY\` in its \`host.env\` and a restart with \`systemctl restart carlos-edge\`. A box that cannot open a secret needs its key compared with the fleet's using \`carlos secrets fingerprint\` and \`carlos fleets ls\`. If the keys match, run \`carlos secrets set\` for the listed values and rotate any credential the console minted. | approved |
+| FSK-C68 | docs/site/rails.md (Ship it; Task 10) | A fleet needs its own secrets key before an app on it can hold a secret. \`carlos store create\` needs it too, because the console seals the store's credential to that key. If the fleet has none, register it with \`carlos fleets secrets-key <fleet> <pubkey>\`. [carlos fleets](/docs/cli#carlos-fleets) shows how. | approved |
+| FSK-C69 | docs/site/rails.md (Ship it; Task 10) | If \`carlos secrets set\` or \`carlos store create\` says the fleet has no secrets key, register it with \`carlos fleets secrets-key <fleet> <pubkey>\` and run the command again. If \`carlos instances list\` shows a config refusal, its REASON column says what to do. | approved |
+| FSK-C70 | docs/site/rootfs.md (Task 10) | A fleet app's secrets and its store credential are sealed to the fleet's own secrets key, so register one before the app needs a secret. [carlos fleets](/docs/cli#carlos-fleets) explains how. | approved |