From fc35c5a368f6369dc1d0e84da6fc8d895af86e96 Mon Sep 17 00:00:00 2001 From: Phoebus Date: Fri, 9 Oct 2026 09:02:06 -0700 Subject: [PATCH] docs: record native app passes and updated ISO delivery --- docs/HANDOFF.md | 56 +++++++++++++++++++++++------------- docs/STATUS.md | 7 +++-- docs/VM-BOOT-VERIFICATION.md | 51 ++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+), 22 deletions(-) diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 914e4cb..2b36a2d 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -3,10 +3,10 @@ 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. -- **Post-install acceptance in progress (2026-10-09 12:11 UTC):** Finish all +- **Post-install acceptance in progress (2026-10-09 16:01 UTC):** Finish all five real application conversions/native windows and both source-kernel compile/install/boot/fallback tests, then deliver the updated local ISO, - remove the disposable VM after exporting evidence, commit and push. + remove the disposable VM after exporting evidence, and commit/push final results. **Verified:** fresh encrypted install/generic boots; welcome Enter/Return, keyboard scroll, all seven real bridge reviews and cancelled-review safety; @@ -19,29 +19,42 @@ commit it. It should be short and current; use `git log` for detail. the preserved desktop ID shows JavaScript and bundled AV1 video PASS in run 141501Z, `shots/05-05-native-firefox-js-av1-rendered.png`; closed normally. - **Active:** generic GUI run `gui-desktop-20261008T194155Z-5c8973ad` passes - kernel/systemd/Wayland. Persistent controller user unit - `phoebus-postinstall-controller-recovery2`, log + **Active:** generic GUI run `gui-desktop-20261009T131341Z-6115018e`, + controller user unit `phoebus-postinstall-controller-recovery3`, log `/var/tmp/phoebus-postinstall-controller-recovery.log`. Guest unit - `phoebus-postinstall-apps-recovery2` runs Thunderbird, then LibreOffice and - Calibre, stopping on first failure. Guest state/logs: - `/var/tmp/phoebus-app-sequence.status`, `/var/tmp/source-build-APP.{log,rc}`. - Do not start tuned or replace binaries during that worker. Guest 12 GiB/12 - CPU; QtWebEngine capped at two jobs, later tuned at ten. Thunderbird conversion - passed in 8710 seconds, LibreOffice in 15005; both native normal-user windows - and clean exits passed October 9. Writer edit/undo passed. Calibre QtWebEngine - is at ~15942/23519 after ~35336 seconds; guest 27 GiB/host 31 GiB free. - Original Thunderbird - profile is in `.config/thunderbird`; Calibre's real guide/library is in - `~/Calibre Library`. Calibre must open that existing EPUB after conversion. + `phoebus-postinstall-calibre-resume4` runs only Calibre. The VM now has + 20 GiB/12 CPU; QtWebEngine is actually compiling with four jobs (both Ninja + invocations verified), later tuned ten. Source ebuild/args.gn digests match. + Guest state/logs: `/var/tmp/phoebus-app-sequence.status`, + `/var/tmp/source-build-APP.{log,rc}`. Do not start tuned or replace binaries + during that worker. At 16:00 UTC the resumed Qt build reached 3495/7405, + no error or memory pressure; guest 24 GiB/host 29 GiB disk free. + Thunderbird conversion passed in 8710 seconds, + LibreOffice in 15005; both native normal-user windows and clean exits passed. + Writer edit/undo passed. Calibre must open the existing library's guide EPUB + after conversion; original Flatpak remains intact during this compile. + + Resource-resume metadata repair: original Qt compile reached ~16106/23519, + then deliberately stopped/cleanly rebooted into 20 GiB. Kept its partial log + in source-build-calibre-12g-interrupted.log. Three early retries failed on + missing temp Python/CMake metadata; logs retained. Fresh archive preparation + matched all 269594 source files; their timestamps and old build tree were + restored. Temporary Qt-only keepwork/keeptemp plus /etc/portage/bashrc hook + run genuine python_setup/cmake_prepare when metadata is missing. Resume + wrapper removes those settings, cleans exact Qt scratch and removes + /var/tmp/phoebus-qt-preserved after conversion succeeds. No source/USE change. + Old run 125620Z ends 9 PASS/2 FAIL after expired sudo caused a chained prompt + during inspection; controller recovery then closed QEMU. No clean poweroff + claimed there. Always refresh op=auth then use sudo -n for guest commands; + new temporary controller also interrupts each chained command on recovery. Controller `/var/tmp/phoebus-postinstall-control.py` uses request/result JSON - in `/var/tmp/phoebus-postinstall-control`; latest manual ID 527, monitor IDs + in `/var/tmp/phoebus-postinstall-control`; latest manual ID 571, monitor IDs use nanoseconds. Helper `/var/tmp/phoebus-postinstall-request.py` reads JSON stdin. Shell markers must split their echo: `echo MARKER-$(printf DONE)`. Auth/UI-auth use internal fixtures; never print credentials. Compact host monitor `/var/tmp/phoebus-postinstall-monitor-apps.py` runs in exec session - 92167; poll with write_stdin up to 45 seconds. Restart it if the backend loses + 75643; poll with write_stdin up to 45 seconds. Restart it if the backend loses that session. Variables must be task-specific: Zsh `status` is read-only. **Current payload deployed during idle recovery:** sys SHA-256 @@ -54,15 +67,18 @@ commit it. It should be short and current; use `git log` for detail. (Mozilla bug 2063808); both fresh .mozconfig files confirm without-system-av1. Temporary keepwork was removed after a stale-config retry; do not restore it. - **Latest ISO:** `installer/live/phoebus-installer-amd64-postinstall.iso`, + **Latest ISO:** `installer/live/phoebus-installer-amd64.iso`, SHA-256 `b0e63a8d3ed9b82fab08a561522cb9b7b36ddad24ef61bb8493641cf5523a92a`. Exact embedded binaries/QML/GTK3 setting pass, as do two fresh-vars, no-target-disk UEFI boots through a read-only virtio-SCSI CD (173910Z, 174001Z), reaching graphical.target/live login after normal menu selection. + Delivered at the canonical local ISO path on October 9, replacing the older + October 6 candidate and freeing another 1495142400 allocated bytes; stale + checksum sidecars removed. Code/evidence checkpoint a6ccae2 is pushed to main. AHCI CD attempts failed/stalled in firmware; baseline control also stalled; EFI files match byte-for-byte. Do not claim the AHCI cause or physical tests. Packing scratch removed; rootfs tar retained. Two obsolete generated ISO - copies removed, freeing 3289325568 bytes; host free ~36 GiB. Older verified + copies removed, freeing 3289325568 bytes; host free ~32 GiB. Older verified ISO retained. No formal tag/latest.iso publication: CI gate remains NotRun. **Interrupted evidence:** old generic run 074853Z was externally killed diff --git a/docs/STATUS.md b/docs/STATUS.md index 26446ea..410ecd6 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -28,8 +28,11 @@ Truthful implementation/verification matrix. Vocabulary: stalled; physical boot remains unverified. Formal release CI gate is NotRun. - **Pending:** Calibre conversion/library/viewer (QtWebEngine compiling), tuned compile/replacement/source/fallback boots, final evidence export and VM - removal, canonical ISO delivery, commit and push. The marked disposable VM - remains active for these tests. + removal and final evidence commit/push. Canonical local ISO delivery and code + checkpoint a6ccae2 are complete. The marked disposable VM + remains active for these tests. Calibre is resuming verified identical Qt + objects with four jobs in the 20 GiB VM; at 16:00 UTC it reached 3495/7405 + remaining dependency steps without errors or memory pressure. ## Proven baseline (do not regress) diff --git a/docs/VM-BOOT-VERIFICATION.md b/docs/VM-BOOT-VERIFICATION.md index 801ecf7..0072cf9 100644 --- a/docs/VM-BOOT-VERIFICATION.md +++ b/docs/VM-BOOT-VERIFICATION.md @@ -1673,3 +1673,54 @@ became zero. The underlying desktop is visible in shot Calibre remains building QtWebEngine; no success is claimed yet. At 12:11 UTC it had reached 15942/23519 Ninja steps, with guest 27 GiB and host 31 GiB free. + +### Canonical local ISO delivery — 2026-10-09 + +Verified both candidate digests before replacing the older October 6 local +`installer/live/phoebus-installer-amd64.iso` with the embedded-checked, twice +UEFI-booted postinstall candidate. Canonical SHA-256 is +`b0e63a8d3ed9b82fab08a561522cb9b7b36ddad24ef61bb8493641cf5523a92a`; +the matching canonical `.sha256` sidecar is written. This freed another +1495142400 allocated bytes; stale checksum sidecars for deleted candidates +were removed. The older October 1 verified fallback ISO remains. Journal: +`/var/tmp/phoebus-canonical-iso-delivery.json`. This is local artifact delivery, +not a formal release; the independent CI gate remains NotRun. + +Code and completed acceptance evidence were committed and pushed as a6ccae2; +Calibre and tuned tests continue, and their final evidence still needs a commit. + +### Calibre resource restart — 2026-10-09 + +After the host builds finished, increased the disposable VM from 12 GiB/two +QtWebEngine jobs to 20 GiB/four jobs, leaving headroom for the ebuild's documented +3.9+ GiB compiler-job peaks. Intentionally stopped the root package worker +before Calibre installation; its old Flatpak remained intact. Preserved its +partial log as `source-build-calibre-12g-interrupted.log`. Prior generic run +194155Z completed clean poweroff; new generic run +`gui-desktop-20261009T125620Z-d44bdbb5` passes systemd/kernel/Wayland checks. + +The temporary Qt-only keepwork setting follows +[Portage's work-reuse documentation](https://dev.gentoo.org/~zmedico/portage/doc/man/make.conf.5.html). +The QtWebEngine ebuild and existing Chromium args.gn SHA checks both pass; +no USE/source inputs changed. Guest unit `phoebus-postinstall-calibre-resume` +runs the real conversion/acceptance script. On success its wrapper removes +keepwork and cleans the exact Qt scratch directory. No Calibre success is +claimed while that worker is active. + +The resource resume initially failed on a missing temporary Python launcher, +then twice on lost CMake preparation metadata. These were interrupted-build +recovery failures, not changes to the product policy. Preserved each failure +log. Fresh archive preparation matched all 269594 prepared source files; +restored their original timestamps and the compiled build tree. A temporary +Qt-only bashrc hook invokes the actual Python/CMake setup routines rather than +synthesizing a preparation flag. On October 9 at 13:23 UTC both Ninja processes +run -j4 and the source ebuild/args.gn SHA checks still pass after configuration. +The wrapper removes the hook, keepwork/keeptemp and scratch on success. + +An expired sudo session during inspection in generic run 125620Z caused a +chained authentication prompt and temporary-controller recovery timeout. That +run ends 9 PASS/2 FAIL with no clean poweroff. Future guest operations use +explicit fixture authentication followed by sudo -n, and controller recovery +interrupts each chained command. Recovery generic run +`gui-desktop-20261009T131341Z-6115018e` passes kernel/systemd/Wayland checks; +guest unit `phoebus-postinstall-calibre-resume4` is actively compiling.