phoebus_os/installer-rs/crates/phoebus-executor/src/lib.rs
Phoebus 25f7381b4a
Some checks are pending
ci / test (push) Waiting to run
feat(desktop): add Mango + DankMaterialShell profile with rollback, assistant and release foundations
- Mango + DankMaterialShell desktop option (desktop.profile = "mango") through
  the GURU overlay with scoped ~amd64 keywords, a sealed session entry point and
  a dwl fallback session (ADR 0009).
- Coherent rollback/recovery: coordinated @ + @var snapshots, fstab and BLS
  root-subvolume rewriting, matching-kernel selection, snapshot recovery entry,
  retention/space gates and sys undo (ADR 0007).
- Installed assistant (sys ask) with an OS-level systemd sandbox boundary and
  fail-closed typed plans; resolved package effects bound to approval.
- Nix build isolation enforced (sandbox, no fallback) plus lifecycle/cleanup.
- Desktop helpers (menu/lock/idle), transaction log, release gates with atomic
  publish and signing helpers, and a Debian-Live appliance VM harness.
2026-09-21 03:46:52 -07:00

39 lines
984 B
Rust

//! Phoebus executor: privileged, deterministic system operations.
//!
//! Every external command goes through the `Exec` context, which centralises
//! logging, redaction and dry-run. Destructive operations require a
//! `DestructiveAuthorization` token produced only after explicit confirmation.
pub mod actions;
pub mod admin;
pub mod ai;
pub mod auth;
pub mod boot;
pub mod command;
pub mod desktop;
pub mod encryption;
pub mod error;
pub mod exec;
pub mod kernel;
pub mod log;
pub mod nix;
pub mod opencode;
pub mod portage;
pub mod probe;
pub mod rollback;
pub mod sandbox;
pub mod services;
pub mod snapshot;
pub mod stage3;
pub mod storage;
pub mod transaction;
pub mod update;
pub mod users;
pub use auth::{authorize, AutoConfirm, Confirmation, DenyConfirm, DestructiveAuthorization};
pub use command::{
CommandOutput, CommandSpec, NeverRunner, ProcessRunner, RealRunner, RecordingRunner,
};
pub use error::{ExecError, Result};
pub use exec::Exec;
pub use log::Logger;