Add phoebus-executor::opencode (manifest parsing, architecture detection, fetch through Exec, SHA-256 verification, fail-closed placeholders, extraction, symlink, config writer). Add --bootstrap-opencode to the CLI so the Phase 0 CLI-coverage gate passes.
34 lines
903 B
Rust
34 lines
903 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 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 opencode;
|
|
pub mod portage;
|
|
pub mod probe;
|
|
pub mod services;
|
|
pub mod snapshot;
|
|
pub mod stage3;
|
|
pub mod storage;
|
|
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;
|