| index b9e86a5d4..c3b4be5a9 100644 |
| --- a/docs/superpowers/notes/region-ha-p3b1-f4-followups.md |
| +++ b/docs/superpowers/notes/region-ha-p3b1-f4-followups.md |
| @@ -1,43 +1,51 @@ |
| -# P3b-1 F4 follow-ups for the controller |
| +# P3b-1 F4 controller handoff |
| |
| -F4 review round 1: Opus reviewed a81a885c against amadan origin/main f6f91e2a. |
| -READY, 0 P1, 0 P2, 4 P3. Review stops here. The external census unit |
| -`infra/modules/region-host/group-init.sh.tftpl` and its module envelope were |
| -approved. Controller records that approval on #280; no amadan write was made |
| -by the implementer. The final test-only follow-up expands tmpfs-default paths |
| -in the static guard; root source and census fingerprints are unchanged. |
| +F4 review round 1 remains closed: Opus reviewed a81a885c against amadan |
| +origin/main f6f91e2a, READY, 0 P1 / 0 P2 / 4 P3. It approved the external |
| +`group-init.sh.tftpl` census unit and the `infra/modules/region-host` envelope. |
| +The controller records that approval on #280. No implementer amadan write |
| +or new review was made in rounds 2–4. |
| |
| -The live witness is incomplete and explicitly refused by its CLI. Review |
| -approval covers that refusal and the local dry run, not live AWS execution. |
| -The requested role lacks GetParametersByPath and the signed channel/floor/ |
| -identity/artifact reads needed to reach edge startup; a random scratch public |
| -key also cannot verify the real dev signatures. Resolve this contract before |
| -implementing or reviewing live execution. Do not remove LIVE_BLOCKERS alone. |
| +Implementer round 4 completes the witness lifecycle under Paul's final |
| +rulings: `floor=absent-expected (Paul 2026-11-04 21:09Z)`, the artifact SHA-256 |
| +pin for both renders, the supplied dev public key verified through Go's |
| +release package, exact S3 object reads and the approved bucket-list statement. |
| +`LIVE_BLOCKERS` is empty. Execution requires both `--execute --i-have-budget` |
| +and an unused slot in the durable two-run ledger. The implementer ran no |
| +live witness and spent no live-run budget. |
| |
| -P3 follow-ups from Opus, with invariant/fault family: |
| +The new AWS lifecycle code needs the controller's review before execution. |
| +The prior staging review did not cover live resource creation or cleanup. |
| +Carry the closed round history forward; implementation round 4 is not review |
| +round 4. Root source and census fingerprints are unchanged in this round. |
| |
| -1. Exec-site audit: the guard skips a line containing bootstrap.sha256 without |
| - subprocess. A bootstrap exec with that string in a trailing comment can |
| - escape the execution counter. Check execution prefixes before that skip and |
| - add a mutation case. Forbidden tmpfs path scanning still runs first. |
| -2. Staging lifetime: failed boot leaves the root-only directory on disk. |
| - Rerunning user data refuses its existing helper or exclusive output files. |
| - Record this safe refusal in operational expectations; do not weaken it to |
| - reuse potentially stale bootstrap inputs. |
| -3. Witness evidence: after cleanup, the collector can inspect only the parent |
| - mount, and immediate collection may precede the edge's denied-write log. |
| - Obtain before/after mount evidence and wait for the specific journal event |
| - before enabling live assertions. |
| -4. Render hygiene: copytree(dirs_exist_ok=True) retains files removed from the |
| - source since a previous run. Build each render from a fresh source snapshot |
| - while keeping provider downloads outside it. |
| +The four P3 items from the closed review now stand as follows: |
| |
| -Additional live-harness work (not claimed complete): durable two-run budget; |
| -validated live account/AMI/subnet/SG inputs; resource collision/ownership |
| -journal; response-loss recovery; retries and verified termination; complete |
| -version deletion; setup/cleanup signal coverage; post-run non-interference |
| -checks on failure; console decoding/persistence; all-failure evidence output. |
| +1. Exec-site audit: fixed the trailing `bootstrap.sha256` comment bypass and |
| + added direct-exec, shell-wrapper and unverified-exec mutations. |
| +2. Staging lifetime: unchanged safe refusal. A failed boot may retain its |
| + root-only staging directory. Rerunning user data refuses existing helper |
| + or exclusive output files; never reuse those inputs. The witness always |
| + terminates its instance, including on boot failure. |
| +3. Witness evidence: a separate cloud-boothook observer records the actual |
| + staging leaf before ingress, its removal and the parent mount afterward. |
| + Part 1 remains byte-identical to the module render. The collector waits |
| + for the denied-publication journal event. The observer reports final |
| + `cloud-init status --long` to the console after scripts finish. |
| +4. Render hygiene: each render uses a fresh module copy. Provider downloads |
| + are cached outside that copy. The copy is removed in `finally`. |
| |
| -Review history follows the change: any later review must carry this round, |
| -its closed staging/census verdict, and the newly agreed live scope. The known |
| -incomplete harness is not a successful real-AMI witness. |
| +P8 is explicitly inferred from successful W4. P10 checks effective installed |
| +edge/control unit settings, the live edge process's privileges and bind-mount |
| +flags. It does not repeat the separate active tenant/sidecar kernel drill or |
| +claim reboot coverage. No W/P real-AMI assertion has passed in this round; |
| +the dry-run table marks them NOT RUN. |
| + |
| +The controller's round-4 report, read-only preflight, dry-run call plan, |
| +assertion table and test logs are under |
| +`/home/paulca/.cache/p3b1-f4-work/`. The report is `astra-4-report.md`. |
| +Pending creates with no recoverable owned id remain LEAKED/unknown; a missing |
| +response never licenses declaring an instance terminated or deleting a |
| +same-name foreign resource. `--cleanup-only RUN` uses the original journal |
| +and baseline without spending a run; it preserves the original boot verdict |
| +and assertion table. Adding `--dry-run` only prints its plan. |