highFETTL-E014src/ledger/reconcile.rs:84
Missing balance silently becomes zero
let opening = balance.unwrap_or(0);
pending_balance() returns None when the upstream ledger has not settled. unwrap_or(0) converts that missing data into a valid-looking opening balance, and the reconciliation entry is written without any record of the fallback.
output1 finding · score 82 (−7 from base)
scopeChanged and staged files, curated high-signal checks, text findings.
fixesLimited deterministic safe fixes, applied locally.
accessNo account or source upload required.
boundaryPersonal, education, open source, and time-limited evaluation.
Repository scopecomplete scan · ledger/** policy applied
Finding historyfirst seen in PR #184 · not in baseline
Structured outputJSON + SARIF available
PreventionCI gate + supported local hooks
Repository settingsmanaged through the Fettl API path
Entitlementongoing commercial use