docs(claims): refused dates, amounts, periods, roles, exports, 1099 years and returns
Each rule's Checked line names the bookspec example that now shows it, the enforcement site it goes through, and the test that runs it: - B-28 (BS-entry-4, BS-entry-7): the date past 9999 and the line past the cap, through `try_create_entry` and `add_line`; - B-12 (BS-period-4): the partly overlapping quarter, through `create_period`'s PeriodsOverlap; - B-23 (BS-ledger-19): the role on a header, through `Store::assign_role` and `check_assign_role`; - BS-format-10: the export refused through `IifError`; - B-19 (BS-1099-2): the 2027 worksheet refused through `RuleNotKnown`; - B-26 (BS-partner-8): the return taking 123-45-6789 from the vault. Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
This commit is contained in:
1 parent
7ac1e644b2
commit
ad55ede8e4
6 files changed
+47
-6
No files matched your search
@@ -62,7 +62,14 @@ Kani `payment_bucket_is_the_table`, `payment_split_is_exact`,
|
||||
`the_untagged_note_counts_only_money_out`,
|
||||
`the_other_receipts_note_says_what_each_entry_did` (ledger-package); the
|
||||
MCP tests through a real books server (ledger-cli); bookspec
|
||||
`examples/1099-*.toml`.
|
||||
`examples/1099-*.toml`, including
|
||||
`1099-a-worksheet-for-an-unpublished-year-is-refused` (BS-1099-2, the
|
||||
option picked: a 2027 worksheet is refused through
|
||||
`LedgerError::RuleNotKnown` as unknown_1099_year, never guessed), run by
|
||||
`every_bookspec_example_holds` and
|
||||
`the_runner_reports_every_claimed_rule_green`; the example for the option
|
||||
not picked, `1099-a-worksheet-for-an-unpublished-year-carries-the-last-amount`,
|
||||
is skipped.
|
||||
|
||||
### Product rules
|
||||
|
||||
|
||||
Reference in new issue
Block a user