1.3 KiB
1.3 KiB
FiscusPublic
The public, pure core of Fiscus Domi, the household money app (MPL-2.0). The private app
(https://gitea.marek-novak.cz/mnovak/Fiscus.git) depends on it by git tag, never by path.
Pure
No I/O, no network, no clock, no randomness from the OS. Time and seeds are parameters. Anything that reads a file, a socket or the time belongs in the app, not here.
Rules
- Money is integer haléře end to end (
Haler, ani64). A float anywhere near an amount is a bug; a test scans the sources forf32/f64. - Statements, notifications, Shortcut posts and share-link requests are hostile input: strict parsing, typed errors, never a partial payment.
- Never invent a bank format. Parsers are built only from real samples Mark puts in
fixtures/(redacted). A bank without samples is unsupported, and the app says so. - Secrets (device tokens, Fundamentum keys) live in Custos; nothing here stores one.
- Interface strings are plain English; Latin only for the name.
- Commits:
[<crate>] <Feature>: <description>. No AI attribution in commits or PRs, ever. - No binaries and no real statements in git; fixtures are redacted samples.
- Branch → Gitea PR via the API (
$GITEA_TOKEN, never echoed or written anywhere) → self-review in the PR body → merge--no-ff→ push → verifygit rev-parse HEAD origin/main→ tag.