carlos / platform Public

Record F6 mode audit and deferred installer hardening

Carry the live witness findings, remaining run budget and release-only mode-hardening follow-up into the controller handoff.
Co-Authored-By: GPT-6 Astra <noreply@openai.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev aa8c3a204a27d8df12569054aa5f5bc31d2669a6 parent f132516
1 file changed, +45 −0
  • docs/superpowers/notes/region-ha-p3b1-f4-followups.md +45 −0

CI passed — run details

diff --git a/docs/superpowers/notes/region-ha-p3b1-f4-followups.md b/docs/superpowers/notes/region-ha-p3b1-f4-followups.md
index 750e246d5..27b6a0477 100644
--- a/docs/superpowers/notes/region-ha-p3b1-f4-followups.md
+++ b/docs/superpowers/notes/region-ha-p3b1-f4-followups.md
@@ -85,3 +85,48 @@ The implementation report, per-call AWS encoding audit and validation logs
are under `/home/paulca/.cache/p3b1-f4-work/`, starting with
`astra-5-report.md`. Real-AMI assertions remain NOT RUN; all 24 simulated
resources were confirmed gone. No live budget slot was consumed.
+
+## Implementer round 6: F6 and witness assertions
+
+Live run `f4w1` completed cloud-init but edge failed with 203/EXEC: the
+script's umask 077 reached the released v0.34.2 installer, which created
+`/opt/carlos` as root:root 0700. The installed binary itself was 0755.
+Only the host-env install exec now runs in a subshell with umask 022;
+the parent and both hairpin bootstrap calls retain 077. The template also
+chmods its new instance-control drop-in directory to 0755. Go explicitly
+chmods host.env to 0600; no released Go code changes in this branch.
+
+W20 was a false failure: the live journal records successful resets through
+edge's ExecStartPre and ExecStopPost. The later inactive unit had lost its
+execution timestamp. W20 now requires completed current-boot reset journal
+entries and successful result/status, including when that timestamp is zero.
+P10 correctly failed only its missing live edge process check; its installed
+unit and mount checks passed. W8 now refuses an exec attempt without an
+active edge PID. The selected f4w1 evidence and first budget reservation are
+committed test fixtures; the original evidence remains unchanged.
+
+**Deferred release work, not part of this branch:** make install modes
+independent of the caller's umask, using the existing descriptor-based
+path checks. Explicitly set `/opt/carlos`, `/opt/carlos/system` and
+`/opt/carlos/system/router` to 0755; do not fix only the final directory.
+Audit the other no-chmod creations listed in `astra-6-report.md`: host-env's
+missing `/etc/carlos`, any newly created intermediate bootstrap directory,
+`registry.db` (0640), embedded units and sysusers/tmpfiles/journald files
+(0644), and a newly created edge drop-in directory (0755). Preserve private
+0700/0600 runtime, journal, lock and consumption files, ownership handoffs,
+and host.env's explicit 0600. Cover the unit-refresh helper's mkdir paths
+too. Add a process-isolated install test under umask 077 that checks every
+mode and proves the carlos user and a separate DynamicUser-like principal
+can traverse the executable paths, while neither gains private-state
+access. Deliver that work in a new release; the third window must use this
+template fix with the existing v0.34.2 binary.
+
+The read-only recheck confirmed f4w1's terminated instance, absent IAM
+role/profile, empty parameter subtree and absent scratch bootstrap versions
+and delete markers. The original evidence object is deliberately retained.
+The live ledger still contains only f4w1; a new run ID can use the single
+remaining slot. No live execution, AWS write, push, amadan write or review
+was performed in round 6. The controller owns review of the changed template
+and census fingerprint, then the remaining live run. This implementation
+round does not reopen or reset the review histories above. Full audit and
+validation evidence: `/home/paulca/.cache/p3b1-f4-work/astra-6-report.md`.