Skip to main content

Module admin

Module admin 

Source
Expand description

config, export-snapshot (FR10), backup-key — administrative commands. Config surfaces the TP8 (c)/(b) treatment + the pre-2025 lot method; export/backup arrive in Task 15.

Functions§

backup_key
§8: export the passphrase-protected key (escape hatch; HIGH-security write).
export_snapshot
FR10 / NFR2 exception: decrypted SQLite image (via the store) + the projected ledger as CSV. When tax_year is Some(y), the per-tax-year Form 8949 + Schedule D CSVs are also written, year-scoped to y (P2-B); when None, only the all-years CSVs are written.
set_config
Persist a new TP8 fee treatment (None = leave unchanged), then return the resulting config.
set_pre2025_method
Persist the pre-2025 lot identification method and attestation flag, then return the resulting config.
show_config