Commit graph

7 commits

Author SHA1 Message Date
c1aee13d3e feat(sys): review third-party package sources before AI installs
Some checks are pending
ci / test (push) Waiting to run
2026-10-03 12:08:47 -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
71dd1f6c5d feat(sys): search AppImage community catalog
Some checks are pending
ci / test (push) Waiting to run
2026-10-03 07:10:49 -07:00
52dbdf4422 fix(sys): keep read-only Flatpak probes non-interactive; document AI kind values
Some checks are pending
ci / test (push) Waiting to run
2026-09-29 04:28:12 -07:00
5b3f3c44e5 fix(sys): close AI credential, privacy and privilege-gate gaps
Some checks are pending
ci / test (push) Waiting to run
2026-09-29 00:18:31 -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