merge: the adapter runs refused dates, amounts, periods, roles, exports, 1099 years and returns (X-H1d's wanderbooks half; reviewed, re-checked)

Wanderbooks passes every bookspec example for its picks on refused
input: 95 run, 95 passed, 16 for options it did not pick. The IIF export
now keeps its typed refusal (an entry on two receivable or payable
accounts is BS-format-10's), where it had stringified it; the package and
the MCP tool still show the same text. A test walks every role the
schema lists through the engine's control_account, so the two lists
cannot drift apart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Opus 5.5 committed 2026-11-09 09:09:03 -07:00
commit f5826d45a4
20 files changed
+250 -24

No files matched your search

+7 -1
View File
@@ -107,7 +107,13 @@ replay pair; `a_foreign_amount_and_a_rate_take_at_most_ten_places`),
`out_of_range_amount_is_rejected`; `ledger-store` `tests/bounds.rs`,
`tests/store.rs` `a_journaled_foreign_line_finer_than_ten_places_still_opens`;
`ledger-cli` `server.rs` `periods_are_a_year_and_a_month`,
`dates_are_four_digit_years_and_real_days`.
`dates_are_four_digit_years_and_real_days`; bookspec examples
`entry-a-date-past-9999-is-refused` and
`entry-an-amount-past-the-line-cap-is-refused` (BS-entry-7, the option picked:
the books refuse `try_create_entry`'s date past 9999 and `add_line`'s amount
past the cap, read off `LedgerError::DateOutOfRange` and
`LedgerError::AmountOutOfRange`), run by `every_bookspec_example_holds` and
`the_runner_reports_every_claimed_rule_green`.
### Product rules