docs(spec): one picks list; picks for every CHOICE record

The two S-C7 halves declared their picks two ways; there is now one
shared PICKS list in the bookspec adapter's engine.rs, declared via
Claims::with_choice, and rules_md.rs keeps S-C7b's check (the
backticked option in the claims file must be one of the record's
options and the adapter must declare the same), skipping retired
rules. S-C7a's Pick lines are rewritten with backticks.

Picks are added, in the claims files and the adapter, for the 16
records of s-c7b-noexample (BS-partner-16..18, BS-asset-9,
BS-1099-5, BS-arap-7..14, BS-format-8..10), taken from each parent's
old status_note and the claims' existing Pick lines. BS-partner-9's
pick is gone with its record (folded into BS-partner-2), and
BS-ledger-17's pick now appears once, under B-20.

Co-Authored-By: Muse Wonder 1.0
This commit is contained in:
swaitsandMuse Wonder 1.0 committed 2026-11-08 14:40:14 -07:00
1 parent 75758b250c
commit 3877a49a81
10 files changed
+43 -22

No files matched your search

+12
View File
@@ -13,6 +13,11 @@ Rules: B-18, B-38, B-39, B-40, B-41, B-42.
**Claims:** yes
**Pick:** a document due today is Current, not 1 day past due: CHOICE (the owner, 2026-10-13); an aging as of a day shows only the documents issued by then, less only the payments made by then: CHOICE (the owner, 2026-10-13); a payment never predates its invoice or bill, a real prepayment being a deposit: CHOICE (the owner, 2026-10-13). The bucket edges are the record's.
**Pick (BS-arap-7):** `due-today-is-current`, the owner, 2026-10-13.
**Pick (BS-arap-8):** `as-of-the-day`, the owner, 2026-10-13.
**Pick (BS-arap-9):** `refuse-a-payment-before-its-document`, the owner, 2026-10-13.
**Enforced:** `arap::aging_bucket`, `Ledger::ar_aging`/`ap_aging`
(through `Ledger::doc_state`), `receive_payment`/`pay_bill`
@@ -159,6 +164,7 @@ behind the feature `documents_v2`. **Checked:**
**Claims:** yes
**Pick:** a vendor's invoice reference is compared after the normalization that drops case and spaces (`Ledger::check_vendor_ref`); the old text names no separate decision for it.
**Pick (BS-arap-10):** `ignore-case-and-spaces`; a vendor's invoice reference is compared after the normalization that drops case and spaces.
**Enforced:** `Ledger::next_invoice_number`, `Ledger::check_vendor_ref`,
`PartySnapshot::from_party` (the snapshots at issue, D-55);
@@ -218,6 +224,7 @@ the viewer `a_numbered_invoice_shows_its_number_terms_bill_to_and_po`.
**Claims:** yes
**Pick:** `direct-write-off`: CHOICE (the owner, 2026-10-23, plan 8.3.1 A-5: bad debts by the direct write-off method; and 8.3.2: for a small company's receivables a CPA accepts the direct method and notes it, where GAAP prefers an allowance under ASC 326-20). A recovery is not a new movement (plan D-49): the same year, the write-off is reversed; a later year, a plain entry to a bad-debt-recoveries revenue account.
**Pick (BS-arap-11):** `reverse-then-plain-entry`, plan D-49.
**Enforced:** `ledger_core::Ledger::write_off` (and its replay
`replay_invoice_write_off`), `LedgerError::{WriteOffOnCashBasis,
@@ -280,6 +287,11 @@ leaves the books and the journal unchanged and never panics.
**Claims:** yes
**Pick:** the gross method for an early-payment discount (the owner, A-8); the processor's fee posted gross (the owner, A-4); D-49's refusal to apportion a discount across a bill's asset lines. ASC 606-10-32-5 to 32-9 are the strict treatment of an expected discount; this company's size makes the gross method immaterial (A-8). The sources are cited and not yet vendored (the Open list in `README.md`).
**Pick (BS-arap-12):** `gross-when-taken`, the owner, A-8.
**Pick (BS-arap-13):** `gross`, the owner, A-4.
**Pick (BS-arap-14):** `refuse-with-the-remedy`, plan D-49.
**Enforced:** `kernel::settle`, `Ledger::{settle, settlement_lines,
check_discount}`, `arap::{Application, Fee, SettleParams, SettlementRow}`,