carlos / platform Public

spec: console secrets round 3 findings (NOT READY)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 59b6ee710e1fda72a86a153b916adf765562e726 parent 8ef4189
1 file changed, +30 −0
  • docs/superpowers/specs/CODEX-FINDINGS-console-secrets-R3.md +30 −0

Intent

Human

<paseo-system version="1" kind="agent-message" source-agent-id="0c43522f-abd7-4e8b-a287-4ece2f0919cf" message-id="9d444c96-19fd-498b-ae2b-2bdcb1f58cb9" source-agent-title="Console secrets spec rev 3 + Astra round 3 (design)"> Update: v2 mockup refreshed with the final class names in After you save (Updates itself / Restart requested / Restart it yourself / Asleep / Can&apos;t see, plus &apos;copies on other boxes may not all be listed&apos;). Spec rev 3 committed 8ef4189a; Astra round 3 running now. </paseo-system>

Human

<task-notification> <task-id>bi90kgmdg</task-id> <tool-use-id>toolu_01XsNccbgi5cqARuKShKLWGe</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/a1de5273-c148-49b8-8267-3dee9d49c9c1/tasks/bi90kgmdg.output</output-file> <status>completed</status> <summary>Background command "Send Paul's mockup feedback to the design session" completed (exit code 0)</summary> </task-notification>

Human

<task-notification> <task-id>bhst455zq</task-id> <tool-use-id>toolu_01KyDLovbwH5BPz3n4HP1cBE</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/f1dd2eb4-656c-48e6-870a-5731a3efb320/tasks/bhst455zq.output</output-file> <status>completed</status> <summary>Background command "codex exec -m gpt-6-astra -c model_reasoning_effort="high" -s read-only -c 'sandbox_permissions=["disk-full-read-access"]' -o $HOME/.cache/console-secrets-rev3/R3.md "Review per docs/superpowers/specs/CODEX-REVIEW-BRIEF-console-secrets-R3.md in this repo (commit 8ef4189a). Follow the brief exactly, including its Round 3 section. Output findings in markdown, ending with exactly one verdict line." &lt;/dev/null &gt; $HOME/.cache/console-secrets-rev3/R3.log 2&gt;&amp;1" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 23.5 g CO₂e (3,078,378 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-console-secrets, 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/specs/CODEX-FINDINGS-console-secrets-R3.md b/docs/superpowers/specs/CODEX-FINDINGS-console-secrets-R3.md
new file mode 100644
index 000000000..20f8bc682
--- /dev/null
+++ b/docs/superpowers/specs/CODEX-FINDINGS-console-secrets-R3.md
@@ -0,0 +1,30 @@
+- **R2-1 — Partly resolved.** Unsupported TCP processes now receive an honest manual-restart outcome. The replacement sidecar path still has classification and request-shape defects.
+- **R2-2 — Resolved.** The spec adds explicit sources and visibility limits, distinguishes remote records from local routes, and removes the fleet-wide “unused” claim.
+
+The recurring family **“restart scope must cover the saved bundle’s consumers” remains open**. The family **“incomplete visibility must not become a claim of absence” is closed** by the revised visibility rules.
+
+1. **P1 — Managed sidecars already restart on config delivery.**
+
+ The [authority table and bucket 2](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-console-secrets/docs/superpowers/specs/2026-11-08-console-secrets-design.md:121) classify sidecars as requiring an explicit restart because nobody restarts them on delivery. That is true only for the legacy path.
+
+ With the rollout manager armed, [`SyncExec` deliberately preserves the delivery callback for managed sidecars](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-console-secrets/internal/appconfig/syncexec.go:635). [`ConfigDelivered`](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-console-secrets/internal/rollout/manager.go:1221) schedules their config update. The existing [guard test](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-console-secrets/internal/host/rollout_test.go:925) explicitly covers this behavior.
+
+ Once the proposed narrowed restart reaches those sidecars, Save can schedule both operations. If the config update finishes before the explicit request arrives, the latter schedules another cycle: restart identities are independent of config revisions. Installing the sidecar arm on every box does not resolve this distinction. The classifier and its guards must account for the box’s delivery mode, including unknown mode.
+
+ **Fault family:** one save must not independently schedule duplicate process cycles — **recurs from R1-3**.
+
+2. **P2 — One existing host scope cannot request all bucket-2 hosts.**
+
+ [Save step 3](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-console-secrets/docs/superpowers/specs/2026-11-08-console-secrets-design.md:191) requires one narrowed request naming bucket 2’s hosts. But [`writeRestartScope`](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-console-secrets/internal/console/apirestartscope.go:291) accepts one selector, and [`RestartScope`](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-console-secrets/internal/release/restartscope.go:109) contains one host or environment—not a host set.
+
+ Two affected sidecars already require multiple appends. If the first succeeds and the second fails, step 5’s “restart not requested” result is false for the first host. Retrying the same scopes creates fresh request IDs and can restart that host again. An environment selector would also include routes excluded from bucket 2.
+
+ Specify a bounded batch operation with defined partial-failure and retry behavior, or cut bucket 2. The current helper cannot provide the stated contract.
+
+ **Fault families:** restart scope must cover the saved bundle’s consumers; one save must not independently schedule duplicate process cycles — **both recurring**.
+
+There is **one P1**, caused by treating sidecar shape as sufficient evidence of restart ownership. Keeping bucket 2 empty removes Save’s duplicate-restart path and the multi-host request defect. Sidecar guidance must still acknowledge automatic delivery when managed; unknown cases can direct the person to Running to check and restart if needed. Alternatively, refuse explicit restart before dispatch whenever its necessity cannot be established.
+
+Reviewed `8ef4189a55364f7caada5894046e485649e8efea`; cited implementation matches local `origin/main`. No files changed, subagents used, or tests run.
+
+NOT READY
\ No newline at end of file