Files
wanderbooks/crates/ledger-core/tests
swaitsandDeepSeek V4.1 Flash 75533aeb45 test(core): every role the schema lists is a role the engine assigns
The schema's `ACCOUNT_ROLES` is now the list BS-ledger-8 names, not a list
read off any engine. The adapter passes `assign_role`'s key straight to
`Store::assign_role`, so a listed key this engine spelled differently
would turn an example into a refused assignment it did not ask for. The
new test walks the schema's list and requires `control_account` to resolve
every key, which is also the check that `other_deductions_payable` is now
listed and the internal-only roles are not.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
2026-11-09 08:58:25 -07:00
..