docs: fleet secrets copy deck names configwrite.go (#721)
Rows FSK-C39..C42 moved to configwrite.go in console secrets slice 2; the deck now says so and the test's file mapping is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Squashed from fsk-deck-721 into main.
2 files changed,
+4
−27
approved_fleet_secrets_copy_test.go+0 −23docs/superpowers/plans/2026-10-29-fleet-secrets-key-copy.md+4 −4
CI passed — run details
diff --git a/approved_fleet_secrets_copy_test.go b/approved_fleet_secrets_copy_test.go| index 5ccf929eb..e99cf25df 100644 |
| --- a/approved_fleet_secrets_copy_test.go |
| +++ b/approved_fleet_secrets_copy_test.go |
| @@ -136,33 +136,10 @@ func TestFleetSecretsCopyAppliedTextUnescapes(t *testing.T) { |
| } |
| } |
| -// fleetSecretsCopyMoved is a built row whose text has moved out of the file |
| -// the deck names, keyed by id: the deck's file, then where the text lives |
| -// now. The deck is a plan record and is not edited after the fact. Console |
| -// secrets Task 4 moved the config PUT door's sealed_to refusals into the |
| -// shared config write check. |
| -var fleetSecretsCopyMoved = map[string][2]string{ |
| - "FSK-C39": {"internal/console/apiconfig.go", "internal/console/configwrite.go"}, |
| - "FSK-C40": {"internal/console/apiconfig.go", "internal/console/configwrite.go"}, |
| - "FSK-C41": {"internal/console/apiconfig.go", "internal/console/configwrite.go"}, |
| - "FSK-C42": {"internal/console/apiconfig.go", "internal/console/configwrite.go"}, |
| -} |
| - |
| func TestFleetSecretsCopyBuiltIsApplied(t *testing.T) { |
| rows := builtRows(mustParseFleetSecretsRecord(t), fleetSecretsCopyBuilt) |
| - moved := 0 |
| for i := range rows { |
| rows[i].Text = fleetSecretsAppliedText(rows[i].Text) |
| - if m, ok := fleetSecretsCopyMoved[rows[i].ID]; ok { |
| - if rows[i].Path() != m[0] { |
| - t.Errorf("%s: the deck names %s, not %s; the move entry is stale", rows[i].ID, rows[i].Path(), m[0]) |
| - } |
| - rows[i].File = m[1] |
| - moved++ |
| - } |
| - } |
| - if moved != len(fleetSecretsCopyMoved) { |
| - t.Errorf("%d of %d moved rows are built rows", moved, len(fleetSecretsCopyMoved)) |
| } |
| reportAll(t, checkRunApplied(rows, ".")) |
| } |
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 0e65f1619..61cedcfa8 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 |
| @@ -107,10 +107,10 @@ console-minted names on their own line. |
| |---|---|---|---| |
| | 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-C39 | internal/console/configwrite.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/configwrite.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/configwrite.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/configwrite.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 |