Day 1: the core (ledger, statements, subscriptions, forecast) #1
Reference in New Issue
Block a user
Delete Branch "feature/core"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Day 1 core of Fiscus Domi: three pure crates (no I/O, no clock, no floats). Design:
docs/01_core.md.fiscus-ledger:Haler(checked; largest-remaindersplit), civilDate, the append-only event log with a total, deterministicState::apply, merchant keys and rules, one-to-one capture ↔ statement matching,plan_importwith stable line keys.fiscus-statement: strict CSV, Czech amount/date fields, strict UTF-8 / Windows-1250 decoding, 16 MiB cap, fixture harness. No bank parser: no real samples yet, so every file isUnsupportedFormat.fiscus-insight: subscriptions (monthly/yearly, several per merchant, price change, review, cancel status), trials, the 7-day strip, cancel kits, seeded integer bootstrap forecast.Tests: fiscus-ledger 26, fiscus-statement 12, fiscus-insight 12 — all green.
Self-review: what could still be wrong
Not verified
Any real statement, any real capture.