phoebus_os/docs/adr
Phoebus 1d37fbc1b8 ci(release): fail closed and bind gates to the candidate artifact
Make a passing CI/release result mean the checks actually ran.

- .forgejo/workflows/ci.yml is fail-closed: it provisions the pinned
  toolchain or fails, then runs one 'make ci' (fmt-check, clippy, workspace
  tests, VM-harness safety tests, release build, static installer build).
- Pin stable Rust 1.93.1 in installer-rs/rust-toolchain.toml; run cargo gates
  with --locked for reproducible dependencies.
- phoebus-release gates now records passed/failed/blocked/skipped/not_run
  (only passed is a pass), executes real host gate commands, and imports the
  existing VM-harness results.json instead of a competing harness. Gates with
  no automation are always blocked.
- Bind gate reports and harness evidence to a candidate name+SHA-256
  (--candidate; PHOEBUS_VM_ARTIFACT[_SHA256]); stale or unbound evidence is
  failed, never passed.
- publish refuses unless the report is candidate-bound and all-passed, the
  manifest verifies the artifact and a detached signature verifies; atomic
  publish preserves and restores the previous release on failure.
- vmsafety.Results records the verified artifact digest; 3 new Python tests.
- 20 new Rust regression tests; ADR 0012 and docs updated.

Verified locally: make ci (364 Rust tests, 19 harness tests, release and
static builds) exit 0; static binary is static-pie linked. CI runner, VM and
model gates remain unexecuted here.
2026-09-22 07:34:27 -07:00
..
0001-rust-installer.md feat(git): add session context, host doctor, ADRs and git hygiene 2026-09-20 02:36:32 -07:00
0002-bls-over-uki.md feat(git): add session context, host doctor, ADRs and git hygiene 2026-09-20 02:36:32 -07:00
0003-desktop-systemd-profile.md feat(git): add session context, host doctor, ADRs and git hygiene 2026-09-20 02:36:32 -07:00
0004-portage-verify-keyring.md feat(git): add session context, host doctor, ADRs and git hygiene 2026-09-20 02:36:32 -07:00
0005-debian-live-appliance.md feat(desktop): make Mango + DankMaterialShell the default and build a live desktop ISO 2026-09-21 06:47:22 -07:00
0006-package-lanes.md feat(desktop): add Mango + DankMaterialShell profile with rollback, assistant and release foundations 2026-09-21 03:46:52 -07:00
0007-coherent-rollback.md feat(desktop): add Mango + DankMaterialShell profile with rollback, assistant and release foundations 2026-09-21 03:46:52 -07:00
0008-nix-isolation-lifecycle.md feat(desktop): add Mango + DankMaterialShell profile with rollback, assistant and release foundations 2026-09-21 03:46:52 -07:00
0009-mango-dankmaterialshell-desktop.md feat(desktop): make Mango + DankMaterialShell the default and build a live desktop ISO 2026-09-21 06:47:22 -07:00
0010-graphical-installer-frontend.md feat(installer): graphical welcome and install wizard over a typed bridge 2026-09-21 13:13:40 -07:00
0011-opencode-connection-boundary.md feat(gui): select and validate OpenCode from the installer 2026-09-22 02:36:36 -07:00
0012-release-verification-and-publication.md ci(release): fail closed and bind gates to the candidate artifact 2026-09-22 07:34:27 -07:00
README.md ci(release): fail closed and bind gates to the candidate artifact 2026-09-22 07:34:27 -07:00

Architecture Decision Records

Short records of significant decisions, so a new session understands why rather than only what. Add a new numbered file for each meaningful decision and link it here.

ADR Title Status
0001 Rust installer as production; Bash retained as reference Accepted
0002 BLS entries instead of UKI for the boot path Accepted
0003 Desktop installs inherit the Gentoo desktop/systemd profile Accepted
0004 Relax the getuto keyring for the dropped-privilege verifier Accepted
0005 Debian-Live appliance ISO with a Gentoo target Accepted
0006 Package lanes — Portage, Flatpak, and Nix (built in) Accepted
0007 Coherent rollback and recovery Accepted
0008 Nix lifecycle, build isolation, and packaging Accepted
0009 Mango + DankMaterialShell desktop option Accepted
0010 Graphical installer frontend and typed bridge Accepted
0011 OpenCode connection boundary Accepted
0012 Release verification evidence and publication authorization Accepted

Format: Context / Decision / Consequences / Status.