Files
FiscusPublic/CLAUDE.md
T
mnovak 95c6bf54ed [repo] Licence: CPAL-1.0 from 0.9.1 (earlier versions stay MPL-2.0)
Mark's decision of 2026-11-23 for every public Domi repository. LICENSE is
F:\Akce\domi-licence\LICENSE.template with only {ORIGINAL_CODE} filled in
("FiscusPublic"). The workspace's licence is CPAL-1.0. The README says that
versions up to v0.9.0 stay MPL-2.0, and gives Exhibit B's credit that
redistributions and larger works show (CPAL §14). Version 0.9.1, for the tag
the app pins.
2026-11-23 00:05:15 +01:00

23 lines
1.4 KiB
Markdown

# FiscusPublic
The public, pure core of Fiscus Domi, the household money app (CPAL-1.0; versions up to v0.9.0 are 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`, an `i64`). A float anywhere near an amount is a bug; a test
scans the sources for `f32`/`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 → verify `git rev-parse HEAD origin/main` → tag.