review: Astra round 3 for #452 (READY; census approved)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Summary
Round-3 findings file: READY, census approved for systemdUnits.Show and the internal/host envelope.
1 file changed,
+18
−0
docs/superpowers/reviews/CODEX-FINDINGS-stage-foreign-restart-452-r3.md+18 −0
CI failed — run details
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-stage-foreign-restart-452-r3.md b/docs/superpowers/reviews/CODEX-FINDINGS-stage-foreign-restart-452-r3.md| new file mode 100644 |
| index 000000000..7ee1b2cb2 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-FINDINGS-stage-foreign-restart-452-r3.md |
| @@ -0,0 +1,18 @@ |
| +# Astra findings: stage-foreign-restart-452 (#452), round 3 of 3 |
| + |
| +Reviewer: Astra (codex exec -m gpt-6-astra, read-only). Brief: `CODEX-REVIEW-BRIEF-stage-foreign-restart-452-R3.md` at tip 250c74660ffc00645c2d5b419bec8f0e12be5a84. |
| + |
| +Round-two P1 — missing census update: **resolved**. The overlay and chain entry are present; `systemdUnits.Show`’s recorded digest matches its source. Independent approval follows below. Round two had no P2. |
| + |
| +No new P1, P2 or P3 findings. The previously deferred P3 concerning diagnostics for invocations that never become active remains on the follow-up list. |
| + |
| +Census verdicts for tip `250c74660ffc00645c2d5b419bec8f0e12be5a84`: |
| + |
| +- **Approve — `systemdUnits.Show`.** Read `internal/host/unitsettle.go:61–68` and `:115–150`. The added `-p Job` queries another property of the same unit through the existing command. It introduces no new caller-controlled command, path or unit argument. The existing `authority` disposition remains appropriate. |
| +- **Approve — `internal/host` envelope.** Read the changed production code in `unitsettle.go:34–46`, `:61–68`, `:115–150`, and `:193–314`; changed tests in `unitsettle_test.go:84–99`, `:550–702`, and `agent_test.go:896–973`; and the executable, journal, readiness and restart call paths they reach. Replacement invocations reset the Hold timer and executable-check bypass. Positive restart counters and failed states still reject; executable and readiness checks still precede acceptance. The original deadline remains fixed. No new authority or weakening of the reviewed input boundary was found. |
| + |
| +A genuine operator stop retains its verdict: `inactive/dead` with no pending job returns `errUnitStopped` at `unitsettle.go:240–241`. A pending restart instead continues through settling. I also checked the agent, legacy, strict root and root-request callers. |
| + |
| +Validation limitation: targeted host and census tests could not start because Go’s work-directory creation failed with “read-only file system.” The census envelope was reviewed but not independently verified by executing the census. No files were edited, no subagents spawned, and no full suites run. |
| + |
| +**READY** |