diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 2fadca6..7849bd1 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -3,26 +3,27 @@ Rolling note between work sessions. **Update this file before you finish**, then commit it. It should be short and current; use `git log` for detail. -- **Headless stabilization run (IN FLIGHT since 2026-09-26 ~23:04 UTC):** - Nix modern per-user profiles fix committed (`406f9b4`: XDG - `~/.local/state/nix/profiles/profile` + `~/.nix-profile` under - `home/*`/`root` with canonical-path dedup; 760/760 tests green, clippy -D - clean). Fresh static binaries (`phoebus-installer` `4c024175…`, - `sys` `d7b360e2…`, static-pie) + rebuilt - `installer/live/phoebus-installer-amd64.iso` (`88d81b4a…`, embedded hashes - match). Headless 80 GiB install RUNNING on - `/var/tmp/phoebus-vm/disks/phoebus-headless-80g.qcow2` (8 vCPU/8 GiB, - `-display none`, unpinned signed-DIGESTS stage3; serial dir - `serial-install-20260926T230427Z-7be3950c`, driver pid 1995853, serve on - :8000). Early evidence: LUKS2 format ok, stage3 downloaded + `Good - signature` from Gentoo releng key, extraction underway. Chained detached - boot armed (`chain-boot.sh`, pid 2057165): on `INSTALL-RC=0` it boots - detached and runs systemd/seatd/metrics/VDB/Flatpak + 38-case - `sys-acceptance` + `nix profile install nixpkgs#hello` as phoebus with - `sys list --nix` check, then clean poweroff. Live-AI check stays NotRun - (no credential provided). Next session: read `chain-boot.log` + boot - `serial.log`, record evidence in STATUS/VM-BOOT-VERIFICATION/CHANGELOG, - `scripts/publish.sh`. +- **Headless stabilization run (SELF-HEALING LOOP ACTIVE):** + Run 1 FAILED at `portage_configure` (`INSTALL-RC=1`, no leak): Brave + overlay pin missing — fail-closed worked as designed. Reviewed upstream + `another-brave-overlay` HEAD `d3a97f22…` (stable + `brave-browser-1.96.59` + `verify-sig`, beta/nightly masked) and recorded + it as `BRAVE_OVERLAY_DEFAULT_PIN` (`0aa31a3`; 760/760 tests, clippy -D). + Fresh static binaries (`phoebus-installer` `dcbd39f2…`, `sys` + `be0ae9bc…`) refreshed in the `:8000` serve dir. Run 2 IN FLIGHT on a + fresh 80 GiB qcow2 (driver pid 2490515, serial dir + `serial-install-20260926T235046Z-18abb102`, currently `storage_prepare`). + Chained detached boot fixed (exact-log scoping; stale-glob false-fail + killed) and relaunched (pid 2501307) with the live-AI step added. + Model server: host `opencode serve` on `127.0.0.1:4096` (pid 2448080, + loopback-bound, tools disabled per request); exact-transport smoke test + PROVED `opencode-go/muse-spark-1.3-contributor` replies (`MODEL-OK`). + Boot checks will run `sys ask "show system status"` via + `--ai-backend opencode --opencode-server http://10.0.2.2:4096 + --opencode-provider opencode-go --opencode-model + muse-spark-1.3-contributor` (300 s timeout). VM resources confirmed good + (8 vCPU/8 GiB/80 GiB). Next: read `chain-boot.log` + new boot `serial.log`, + record evidence, `scripts/publish.sh`. - **Seat/thunderbird/AI-timeout session (IMPLEMENTED + UNIT-TESTED, VM NOT RUN):** P0 seat fix (seatd pkg + enabled before greetd, libseat systemd/builtin/ server USE, `seat` in default groups, greeter `-G video,input,render,seat`,