Skip to main content

Module baseline

Module baseline 

Source
Expand description

Baseline save/show/ratchet enforcement for timebomb bunker subcommand.

“today” is always injected — never fetched internally. “generated_at” is always injected from main.rs — never fetched internally.

Structs§

Baseline
The baseline snapshot stored in .timebomb-baseline.json.

Functions§

check_ratchet
Pure ratchet check — no I/O.
load_baseline
Load the baseline from a JSON file.
run_baseline_save
Scan, count, write baseline, print confirmation. Returns exit code 0 on success.
run_baseline_show
Scan, load baseline (if any), print comparison table. Returns exit code 0 on success.
save_baseline
Write a baseline to a JSON file.