phoebus_os/installer-rs/crates/phoebus-installer/src/service
Phoebus 1bf31c5a72 refactor(installer): split service.rs into mod/plan/validation/execution/tests
Move the 4218-line shared service layer into focused modules with no
behavior change: mod.rs keeps the plan types, render, and shared helpers
with explicit re-exports so every phoebus_installer::service::* path,
the serialized plan format, approval digests, replay protection, and
privileged validation behavior are unchanged; plan.rs holds PlanStore
and the planning APIs; validation.rs holds seals, digests, and the
privileged validation boundary; execution.rs holds validated elevated
execution; tests.rs holds the regression suite verbatim. Sibling-private
helpers (constrain_action, plan_integrity, reviewed_steps,
validate_effect_bindings, ServiceConfirm) are pub(super) with explicit
imports; no glob re-exports.

cargo fmt clean; cargo clippy --workspace --all-targets -- -D warnings
clean; cargo test --workspace passes (692 passed, 0 failed, identical
to the pre-split baseline; plan_golden and adversarial digest tests
unchanged).
2026-09-25 18:34:36 -07:00
..
execution.rs refactor(installer): split service.rs into mod/plan/validation/execution/tests 2026-09-25 18:34:36 -07:00
mod.rs refactor(installer): split service.rs into mod/plan/validation/execution/tests 2026-09-25 18:34:36 -07:00
plan.rs refactor(installer): split service.rs into mod/plan/validation/execution/tests 2026-09-25 18:34:36 -07:00
tests.rs refactor(installer): split service.rs into mod/plan/validation/execution/tests 2026-09-25 18:34:36 -07:00
validation.rs refactor(installer): split service.rs into mod/plan/validation/execution/tests 2026-09-25 18:34:36 -07:00