Expand description
GnuCash as a second bookspec engine (plan/served.md P13 step 5).
The adapter keeps an example’s chart and entries as the oracle’s JSON
books (oracle/gnucash/books.py: accounts, entries, as-of days) and
asks GnuCash 5.10, in its pinned container, for each balance. GnuCash
is a cross-check, never the authority (docs/oracle.md, “Who is
right”): where it differs from an example, the difference is
adjudicated from the sources and recorded, not conformed to.
Only what GnuCash itself answers is claimed: the balance queries
(trial_balance, balances), by the rules whose examples ask nothing
else. GnuCash never refuses an entry (it books the difference to an
Imbalance account), so a refused event is accepted here, as it
would be by a GnuCash user, and the runner reports the difference.
Structs§
- GnuCash
- GnuCash, as bookspec’s
Engine.
Constants§
- IMAGE
- The oracle container (
just oraclebuilds it fromoracle/gnucash).
Functions§
- claimed
- The rules this adapter claims: those whose examples ask only for balances, which GnuCash answers itself.