Skip to main content

status

Function status 

Source
pub fn status(
    vault_path: &Path,
    pp: &Passphrase,
    now: OffsetDateTime,
) -> Result<DefensiveStatusReport, CliError>
Expand description

Load the ledger, refuse if pseudo-active, and compute journey_view over the projected state.

DFW-D6: journey_view opens with debug_assert!(!state.pseudo_active()) — a defensive-filing journey over synthetic (pseudo-reconciled) estimates is incoherent, since a Phase-B SelfTransferMine{$0} default can silently clear a REAL shortfall this command exists to surface. This refuses gracefully BEFORE that assertion could ever fire, mirroring plan_export’s own pseudo-active refusal (the composed export step never prompts an attest-phrase override either).

now resolves the wizard’s clock-free “current tax year” input (mirrors plan_export’s own current_year parameter) — never read from the wall clock anywhere else in this module.