Commit graph

78 commits

Author SHA1 Message Date
78b896988c fix(security): harden agent execution and approval boundaries
Some checks are pending
ci / test (push) Waiting to run
2026-10-12 04:27:15 -07:00
a6ccae21ef fix(postinstall): repair reviewed source builds and kernel choices
Some checks are pending
ci / test (push) Waiting to run
2026-10-09 05:24:39 -07:00
00df467a41 fix(live): trim Debian installer files from fresh ISO
Some checks failed
ci / test (push) Has been cancelled
2026-10-06 01:52:56 -07:00
12f365e38f feat(sys): compare install sources and review alternatives
Some checks failed
ci / test (push) Has been cancelled
2026-10-03 17:13:35 -07:00
41640d0f6b fix(assistant): show reviewed overlays for natural install requests
Some checks are pending
ci / test (push) Waiting to run
2026-10-03 15:56:53 -07:00
fcdb70bb5e fix(assistant): keep disabled Send label readable
Some checks are pending
ci / test (push) Waiting to run
2026-10-03 15:16:52 -07:00
67fddf1299 feat(sys): review and enable scoped external overlays
Some checks are pending
ci / test (push) Waiting to run
2026-10-03 15:06:34 -07:00
f0bf537be1 fix(assistant): show plan evidence in details
Some checks are pending
ci / test (push) Waiting to run
2026-10-03 13:11:59 -07:00
d479e4f45d fix(assistant): keep activity steady and report unavailable installs
Some checks are pending
ci / test (push) Waiting to run
2026-10-03 09:32:16 -07:00
259eccd11c feat(assistant): show sys activity and recover malformed plans
Some checks are pending
ci / test (push) Waiting to run
2026-10-03 08:53:02 -07:00
a05eae850d fix(assistant): show progress and route natural install requests
Some checks are pending
ci / test (push) Waiting to run
2026-10-03 06:09:53 -07:00
be6910c62d feat(desktop): open Phoebus Updates through sys
Some checks are pending
ci / test (push) Waiting to run
2026-10-02 04:20:34 -07:00
842dfe787f feat(desktop): make shell controls, help, and welcome flows reliable
Some checks are pending
ci / test (push) Waiting to run
2026-10-01 18:56:40 -07:00
c5b1c34cbc fix(desktop): enlarge Settings and align QEMU pointer
Some checks are pending
ci / test (push) Waiting to run
2026-10-01 17:39:22 -07:00
37d4f84601 feat(desktop): ship a curated wallpaper collection
Some checks are pending
ci / test (push) Waiting to run
2026-10-01 16:27:55 -07:00
e98d4ed38e feat(vm): configure guest integration and VirGL defaults
Some checks are pending
ci / test (push) Waiting to run
2026-10-01 16:08:04 -07:00
0182bdd3e2 fix(nix): expose installed profile commands on PATH
Some checks are pending
ci / test (push) Waiting to run
2026-10-01 14:30:47 -07:00
084c315117 fix(sys): stream package output and harden package lanes
Some checks are pending
ci / test (push) Waiting to run
2026-10-01 10:23:41 -07:00
fd23aa4890 fix(desktop): launch assistant and ready Snap on desktops
Some checks are pending
ci / test (push) Waiting to run
2026-10-01 09:08:49 -07:00
b8152054b6 fix(installer): harden boot recovery and desktop reliability
Some checks are pending
ci / test (push) Waiting to run
2026-10-01 07:03:42 -07:00
531b9f0ea5 feat(kernel): add a balanced source-kernel choice alongside bin and tuned
Some checks are pending
ci / test (push) Waiting to run
2026-09-29 05:56:34 -07:00
dfdb53f937 fix(sys): harden operand validation and add an adversarial input battery
Some checks are pending
ci / test (push) Waiting to run
2026-09-28 23:42:34 -07:00
bea96f543d fix(vm): disable zsh equals-expansion for check markers 2026-09-27 23:40:08 -07:00
497cba6b81 fix(vm): match zsh prompt in serial driver login 2026-09-27 23:19:04 -07:00
24b11ebb98 fix(vm): allow full Mango install within driver timeout 2026-09-27 08:27:38 -07:00
e747baf3a1 feat(install): fast prebuilt defaults with user-controlled source builds
Some checks are pending
ci / test (push) Waiting to run
2026-09-26 14:36:38 -07:00
ccc868b762 feat(workstation): Mango apps, Zsh, cursor, ccache, AI handoff, startup check, assistant themes
Some checks are pending
ci / test (push) Waiting to run
2026-09-26 10:08:47 -07:00
4f36b056b4 docs(vm): record 20260926 ISO rebuild, unpinned install, tamper, recovery, seat and nix evidence
Some checks are pending
ci / test (push) Waiting to run
2026-09-26 02:05:41 -07:00
0b41781745 feat(vm): rebuild live ISO from HEAD, harden run-vm.sh, open interactive VM 2026-09-25 21:14:59 -07:00
11c0ee0014 fix(security): fixed trust anchor, executable release gates, strengthened rollback
Some checks are pending
ci / test (push) Waiting to run
2026-09-25 20:48:07 -07:00
5f6999631a fix(vm): rollback gate proves a real mutation and restore
The gate could pass vacuously: the guest ran unprivileged (every
mutation refused), used a pre-installed break package, restored the
newest snapshot instead of its own, and the driver never asserted the
root marker was gone. Now the driver authenticates sudo with unique
end markers and a verified timestamp, both phases run as root with
explicit --legacy, the break uses app-misc/hello (verified absent,
verified changed), undo targets the recorded snapshot id, and the
driver asserts the break changed the package DB and the root marker
is absent after the detached reboot.
2026-09-25 20:02:43 -07:00
744059b6a2 fix(vm): provision Gentoo release key; truthful rollback gate
Live image ships gnupg plus the Gentoo release key, fingerprint-checked
at build time against the published release-key fingerprints, so the
fail-closed DIGESTS verification cannot be silently skipped.

Rollback harness: authenticate sudo (unique end markers, verified
timestamp, abort instead of hanging), run both guest phases as root,
use explicit --legacy for snapshot/break/undo, fix the verify SYS path,
emit the real systemd state, and preserve the phase-1 transcript.
2026-09-25 19:49:50 -07:00
95e0d05344 fix(core): reject unimplemented secureboot/uki at validation
The installed boot path is plain unsigned BLS. kernel.uki=true and
kernel.secureboot=true are now rejected by validate_config (which the
CLI, TUI and GUI bridge all share) with errors naming the limitation.
The plan preview reports the real BLS path unconditionally and never
renders the requested flags as active. Golden plan updated; parsing,
validation and rendering regressions added.
2026-09-25 19:49:41 -07:00
7c5d4c5ca6 fix(sys): make Snap first-use setup reviewable and VM-tested
Some checks are pending
ci / test (push) Waiting to run
2026-09-25 18:07:13 -07:00
3bdeb08f76 fix(sys): exact Flatpak commit binding, non-destructive cleanup previews, reverse deps; record VM evidence
Some checks are pending
ci / test (push) Waiting to run
2026-09-25 16:18:26 -07:00
58e0f70879 fix(sys): close host/target, revalidation, update-effect and inspection defects in the package catalogue 2026-09-25 03:51:02 -07:00
05d7075341 feat(sys): complete the package-management interface (search/list/info/updates/maintenance)
Some checks are pending
ci / test (push) Waiting to run
2026-09-25 03:11:18 -07:00
3005630064 test(vm): make the install driver report guest EOF and post-poweroff teardown truthfully
Some checks are pending
ci / test (push) Waiting to run
2026-09-24 22:25:45 -07:00
fa39f773f0 fix(admin): bind per-step reviewed effects into the canonical approval digest
Some checks are pending
ci / test (push) Waiting to run
2026-09-24 20:43:33 -07:00
0be301009b fix(admin): anchor approval in a broker ledger, user-own settings, and carry reviewed effects
Some checks are pending
ci / test (push) Waiting to run
2026-09-24 19:14:16 -07:00
3b84b8c99d fix(admin): harden privileged plan boundary, GUI review, AI-first removal, and conversation privacy
Some checks are pending
ci / test (push) Waiting to run
2026-09-24 18:01:13 -07:00
7ebb616c99 feat(ai,desktop): unify administration layer, provision QML, and add conversation continuity
Some checks are pending
ci / test (push) Waiting to run
Unifies AI-first administration across the CLI (sys) and desktop GUI
(phoebus-assistant) through a shared service layer, fixes installed
desktop QML asset provisioning, adds Polkit elevation, and introduces
contextual conversation continuity.

- Extract phoebus_installer::service shared by CLI and desktop assistant bridge:
  - Reviewable plan staging (PreparedPlan) with SHA-256 cryptographic digests,
    15-minute TTL expiration, and replay prevention (PlanStore).
  - Pre-mutation system state revalidation binding execution strictly to the reviewed plan.
  - Honest recommendations displaying genuine provenance and unmeasured compile times.
  - Two-phase transaction logging (begin before mutation, finish with verification).
- Provision installed desktop assets and Polkit policy in phoebus-executor::desktop:
  - Added gui-apps/quickshell to canonical Mango desktop packages.
  - Embed 13 QML and policy files into target root under /usr/share/phoebus/assistant/.
  - Installed Polkit policy (club.phoebus.sys.policy) allowing unprivileged users to
    authenticate mutating plans via pkexec without blanket passwordless sudo.
- Eliminate startup freeze and polling in phoebus-assistant:
  - Multi-source update queries moved to on-demand tab switching.
  - Handshake timer reduced to one-shot 100ms with fast deterministic check.
- Add phoebus_installer::conversation:
  - Bounded 10-turn history with credential redaction.
  - Contextual follow-up resolution for comparisons, backend switching, and confirmation.
- Implement unified cross-source removal (plan_removal) preserving user data by default.
- Verified: all 486 workspace tests pass, release and crt-static builds succeed,
  and 23/23 VM acceptance cases pass (PASS=23 FAIL=0).
2026-09-24 17:21:16 -07:00
f30b99d272 feat(admin): implement AI-first administration across CLI and desktop GUI
Some checks are pending
ci / test (push) Waiting to run
- Default natural-language and conversational routing for sys install, sys please install, and sys ask through shared AI workflow
- Constrain AI candidate evaluation when source flags are supplied without bypassing the model
- Enforce explicit --legacy flag for deterministic administration; legacy install without a source flag refuses execution and offers choices
- Audit --action and --action-file entry points to require --legacy or --broker
- Provide truthful guidance on absent or failing AI models without silent mutation or unverified fallback
- Implement package correctness safeguards: Nix attribute evaluation probe, Portage binary check with source compile abort guard, cross-source installed application tracking, and data preservation on removal
- Provide Quickshell desktop assistant (phoebus-assistant) backed by stdio JSON-RPC bridge (sys --assistant-bridge) and desktop integration
- Implement unified multi-source update checking across all package lanes
- Implement quiet proactive assistance monitor with alert deduplication and snoozing
- Expand acceptance suite in installer/tests/vm/sys-acceptance.sh to 22 cases (22/22 PASS)
2026-09-24 16:38:38 -07:00
fe8de3904b refactor(desktop): unify desktop stack on Mango + DarkMaterial and excise standalone dwl
Some checks are pending
ci / test (push) Waiting to run
- Excised standalone dwl packages: gui-wm/dwl, waybar, wofi, mako, swaybg, swayidle, swaylock
- Removed standalone dwl session and helper assets: PHOEBUS_SESSION_SCRIPT, PHOEBUS_MENU_SCRIPT, PHOEBUS_LOCK_SCRIPT, PHOEBUS_IDLE_SCRIPT, WAYBAR_CONFIG, WAYBAR_STYLE, phoebus-dwl.desktop
- Consolidated DesktopProfile enum to Mango (default) and None (headless), rejecting legacy dwl configurations
- PHOEBUS_MANGO_SESSION_SCRIPT (/usr/local/bin/phoebus-session-mango) fails visibly/diagnostically on error without silent fallback
- Provided /usr/local/bin/phoebus-session as a direct wrapper to phoebus-session-mango
- Live ISO emitted assets reduced from 24 to 17 and verified clean
2026-09-24 15:49:15 -07:00
b5dd264681 feat(gui): verify full graphical install, fix greetd TOML, and automate ISO freshness
Some checks are pending
ci / test (push) Waiting to run
2026-09-24 11:42:16 -07:00
dedaa4bc48 fix: defects found by the VM install journey
- chooser: keep the plain Portage install atom and record the version
  separately. emerge rejects a bare versioned atom (app-misc/hello-2.12.3), so
  resolve/split now produce app-misc/hello + version 2.12.3.
- effects: parse emerge --unmerge --pretend output (it does not use the
  [ebuild] form), so sys remove has a concrete plan instead of being refused as
  unestablished.
- action: reject unknown fields on internally tagged unit variants
  (deny_unknown_fields does not cover them), closing a fail-closed gap.
- transaction: fsync the log so a completed outcome survives power loss and is
  not later read as an interrupted operation.
- serial-driver: import re at module level (do_boot used it unqualified).
2026-09-23 21:40:42 -07:00
4934b4c221 test(vm): run the deterministic install with the --no-ai break-glass
The install harness drives the deterministic backend, which must pass the
documented --no-ai break-glass to satisfy the mandatory-AI install gate. The
previous invocation omitted it and the installer correctly refused.
2026-09-23 20:31:07 -07:00
f9e39925b4 feat(install): AI-first sys install workflow
Implement the shared installation workflow (ADR 0013). sys install, sys ask
install and the explicit backend flags all use one path: identify -> evidence
-> AI investigation -> deterministic validation/effects -> review -> approval
-> execute -> verify -> history.

- phoebus-ai::install: bounded, multi-turn investigation. The model may request
  typed read-only evidence (discover_candidates, inspect_candidate,
  check_backend, inspect_installation), ask one bounded question about intent,
  and must return a structured InstallProposal. Turn/request/size limits and
  repeated-request detection bound it; a rejected proposal is revised.
- phoebus-core: add the four read-only investigation actions and strict
  validators; add a transaction id; backend/kind wire names now match as_str.
- phoebus-executor::install: resolve_explicit (no model, no fallback),
  resolve_deterministic and resolve_with_ai; validate_proposal re-resolves the
  candidate against real metadata, rejects fabrication/ambiguity/staleness/
  duplicates, maps it to the existing broker action, and binds approval to a
  digest; revalidate + verify_installed. chooser gains per-lane friendly-name
  resolution and structured evidence.
- transaction::begin/finish record an in-progress transaction before mutation.
- sys: --portage/--flatpak/--nix/--snap/--appimage/--ebuild (mutually
  exclusive) bypass the model; an unqualified install consults the model and,
  with none, prints the deterministic selection and installs nothing.
- The installer persists /etc/phoebus/install.toml; sys loads it and adds free
  space, Wayland, usable lanes, saved preferences and recovery capability to
  the bounded facts.
- Docs: ADR 0013, docs/SYS.md install sections and cases 23-31, CHANGELOG,
  STATUS, HANDOFF, ROADMAP. New live-VM workflow check script.

Host gates pass: fmt, clippy (no new warnings), workspace tests, make test.
VM: verified the workflow CLI and read-only investigation on the reference
LiveGUI ISO; a full target install journey is running (see HANDOFF).
2026-09-23 20:30:13 -07:00
297f3201ff feat(sys): hardware-aware lane selection and new lanes
Some checks are pending
ci / test (push) Waiting to run
Replace the fixed category routing (ADR 0006) with a shared, inspectable,
hardware- and preference-aware selection policy over resolved candidates from
Portage (source/binary/vendor), Nix, Flatpak, Snap, AppImage and the Phoebus
overlay. The policy keeps base components under Portage, separates hard
constraints from preferences, honours and persists explicit choices, errors
instead of silently switching lanes, and reuses an already-installed lane.

- phoebus-core::selection: the pure policy (16 tests: base-system, low-memory
  vs high-core, sandbox requirement, GPU/arch/storage rejection, explicit
  preference, unavailable backend, reproducibility, render).
- phoebus-executor::chooser: resolves real metadata and hardware facts.
- phoebus-executor::{snap,appimage,ebuild}: new lanes. Snap detects daemon and
  confinement and installs app-containers/snapd through Portage; AppImage
  adopts images with a pinned SHA-256, checks the ELF architecture without
  executing, integrates a desktop entry and preserves user data on removal; the
  custom ebuild overlay binds approval to the ebuild content digest and builds
  through Portage's sandbox.
- Typed actions choose_package / set_package_preference / snap_* / appimage_* /
  custom_ebuild_* with strict validators; the assistant prompt and schema are
  reconciled (no category routing; custom ebuilds are untrusted).
- Installed sys: the installer locates the trusted static binary, copies it to
  /usr/local/bin/sys and proves it runs in the target chroot before the
  recovery snapshot, failing closed if absent; the VM harness fetches sys.
- docs/SYS.md: command/action reference and acceptance matrix; ADR 0006 revised.

Host gates pass: fmt, clippy (no new warnings), workspace tests, make test,
release and static sys builds. VM lane journeys remain pending (see HANDOFF).
2026-09-23 18:35:26 -07:00
3b1b54ffb9 docs: reconcile NVIDIA, verification and harness status
Some checks are pending
ci / test (push) Waiting to run
Record the reliability pass across STATUS, HANDOFF, CHANGELOG, ADR 0012,
the live README and the boot-verification log: the deterministic live GPU
decision with a real nouveau fallback, the 580 legacy cap and mixed
open/proprietary incompatibility, the compatibility verifier, the
installed lifecycle fix, the repaired GUI harness, the automated but
unrun rollback gate, and the scoped live sudoers. Withdraw the stale
handoff claim that the gui_bridge tests hang (the workspace suite
passes) and record the installed-target missing-sys gap.
2026-09-23 06:28:30 -07:00