review: Astra branch R2 READY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+21
−0
docs/superpowers/reviews/CODEX-FINDINGS-named-units-param-114-branch-R2.md+21 −0
CI failed — run details
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-named-units-param-114-branch-R2.md b/docs/superpowers/reviews/CODEX-FINDINGS-named-units-param-114-branch-R2.md| new file mode 100644 |
| index 000000000..3478fa0de |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-FINDINGS-named-units-param-114-branch-R2.md |
| @@ -0,0 +1,21 @@ |
| +Reviewed `0272e82a..3ed66cec220a90c2cd5498192900544a72d1c90a`, branch round 2 of 3. **No new P1, P2 or P3 findings.** |
| + |
| +- **R1 P1 — resolved:** the five new exit sites are gone; `main` retains one `os.Exit`; validation calls the same `controlname` functions directly; independently counted `agent.go` at 3,211 code lines, below its 3,214 allowance. |
| +- **R1 P2 — resolved:** reload failure now silently refuses drifted unmarked units through [refuseDrifted](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/internal/appconfig/unitsync.go:608). The added regression test covers both outcomes, no drift output, no restart and retention of the pending marker. |
| + |
| +The shared error path preserves existing command behavior by source inspection. Auth, config and billing retain their nearer handlers because [dispatch selects the nearest `OnError`](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/internal/clireg/dispatch.go:100). Other existing leaves retain their own exit handling. Named-units help/success returns 0, usage errors return 2 without duplicate output, and ordinary failures return 1 with the previous prefix. Transparent `router` is excluded from that prefix. [main.go](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/main.go:48) suppresses update hints on failure; `system` suppresses them on help and success too. |
| + |
| +No census classification changed. Two unit records and four envelopes were regenerated; verdicts for each follow: |
| + |
| +| Unit or envelope | Verdict and evidence | |
| +|---|---| |
| +| `applyStamped` | **Approve** — retains `legacy/accepted-legacy`; drift reporting uses the existing planning probe, with restart checks unchanged. [unitsync.go:512](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/internal/appconfig/unitsync.go:512) | |
| +| `runAdoptUnderRootRelease` | **Approve** — retains `authority/B3,E1,E2,E3`; helper remains after restart-only return, before key parsing and config sync. [agent.go:6151](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/internal/host/agent.go:6151) | |
| +| `.` | **Approve** — error routing changes termination plumbing without changing existing exit codes, printed text or authority gates. [main.go:20](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/main.go:20), [system_namedunits.go:65](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/system_namedunits.go:65) | |
| +| `internal/appconfig` | **Approve** — extracted drift check adds no read or mutation authority. [unitsync.go:608](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/internal/appconfig/unitsync.go:608) | |
| +| `internal/host` | **Approve** — extraction preserves fetch, log and status-write order, context and error handling. [namedunitsfetch.go:296](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/internal/host/namedunitsfetch.go:296) | |
| +| `internal/namedunits` | **Approve** — direct validation calls are identical to the removed release wrappers; checks remain intact. [namedunits.go:55](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/named-units-param-114/internal/namedunits/namedunits.go:55) | |
| + |
| +`git diff --check` passed. The targeted regression test could not start: the read-only sandbox prevented Go’s work-directory creation. The report’s test, cross-build and gate results therefore remain independently unverified. No files changed; no subagents or full suites run. Existing P3 follow-ups remain deferred; this review stops under the no-P1 rule. |
| + |
| +**READY** |
| \ No newline at end of file |