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:
1 parent
75758b250c
commit
3877a49a81
10 files changed
+43
-22
No files matched your search
@@ -19,6 +19,7 @@ Rules: B-19.
|
||||
**Pick (BS-1099-3):** `presumed-a-check-ach-or-transfer`, the owner, D-40, 2026-10-20.
|
||||
|
||||
**Pick (BS-1099-4):** `dated-by-the-payments-date`, the owner, D-40, 2026-10-20.
|
||||
**Pick (BS-1099-5):** `payees-share-only`, the owner, 2026-10-15.
|
||||
|
||||
**Enforced:** the bucket table is `kernel::payment_bucket` and
|
||||
`kernel::net_buckets`; `kernel::apportion` splits a payee's part across
|
||||
|
||||
@@ -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}`,
|
||||
|
||||
@@ -154,6 +154,7 @@ printer makes an Avery 5160 label sheet from the register's tags.
|
||||
**Pick (BS-asset-7):** `books-recorded-amounts`, the owner, D-41, 2026-10-20.
|
||||
|
||||
**Pick (BS-asset-8):** `register-carries-tax-figures`, the owner, 2026-10-15; D-41, 2026-10-20.
|
||||
**Pick (BS-asset-9):** `traditional`, the owner, D-41, 2026-10-20; recorded as a choice the CPA confirms.
|
||||
|
||||
**Enforced:** `kernel::basis_figures` (Kani `basis_figures_laws`),
|
||||
`AssetBasis::check` (a purchase takes no contribution facts; a
|
||||
|
||||
@@ -10,7 +10,7 @@ Rules: B-1, B-2, B-21, B-28, B-43.
|
||||
|
||||
**bookspec:** `BS-entry-1`
|
||||
|
||||
**Pick (BS-entry-6):** check-when-line-added, the owner, 2026-10-13
|
||||
**Pick (BS-entry-6):** `check-when-line-added`, the owner, 2026-10-13
|
||||
|
||||
**Claims:** yes
|
||||
|
||||
@@ -62,9 +62,9 @@ None.
|
||||
|
||||
**bookspec:** `BS-entry-4`
|
||||
|
||||
**Pick (BS-entry-7):** refuse-rather-than-crash, the owner, 2026-10-16
|
||||
**Pick (BS-entry-7):** `refuse-rather-than-crash`, the owner, 2026-10-16
|
||||
|
||||
**Pick (BS-entry-8):** bounds-bind-commands-never-replay, the owner, 2026-10-17
|
||||
**Pick (BS-entry-8):** `bounds-bind-commands-never-replay`, the owner, 2026-10-17
|
||||
|
||||
**Claims:** yes
|
||||
|
||||
@@ -184,7 +184,6 @@ pinned; every tool over every old book).
|
||||
|
||||
**bookspec:** `BS-entry-5`
|
||||
|
||||
**Pick (BS-ledger-17):** reversal-evidence-is-originals, D-47, the owner, 2026-10-26
|
||||
|
||||
**Claims:** partly (bookspec's record states the evidence gate's principle, the draft state as a note and the discard; the gate's function, the policy settings, the states' names and the surfaces are wanderbooks product, below)
|
||||
|
||||
|
||||
@@ -248,6 +248,11 @@ were renamed).
|
||||
**Pick (BS-format-6):** `everything-through-as-of`, the owner, 2026-10-20, D-36.
|
||||
|
||||
**Pick (BS-format-7):** `journal-sample-columns`, the owner, 2026-10-20, D-36 (CHOICE).
|
||||
**Pick (BS-format-8):** `closes-left-out`, the owner, 2026-10-20, D-36.
|
||||
|
||||
**Pick (BS-format-9):** `no-customer-or-vendor-name`, the owner, 2026-10-20, D-36.
|
||||
|
||||
**Pick (BS-format-10):** `refuse-the-entry`, the owner, 2026-10-20, D-36.
|
||||
|
||||
**Pick:** `no-customer-or-vendor-name`: CHOICE (open risk). The IIF writes no
|
||||
NAME on a line to accounts receivable or payable, though Intuit's staff say
|
||||
|
||||
@@ -10,7 +10,7 @@ Rules: B-3, B-4, B-5, B-8, B-9, B-10, B-20, B-23, B-29, B-31, B-32, B-44, B-45.
|
||||
|
||||
**bookspec:** `BS-ledger-1`
|
||||
|
||||
**Pick (BS-ledger-14):** book-in-the-smallest-unit, the owner, 2026-10-13
|
||||
**Pick (BS-ledger-14):** `book-in-the-smallest-unit`, the owner, 2026-10-13
|
||||
|
||||
**Claims:** yes
|
||||
|
||||
@@ -40,7 +40,7 @@ None.
|
||||
|
||||
**bookspec:** `BS-ledger-2`
|
||||
|
||||
**Pick (BS-ledger-15):** child-has-its-parents-type, the owner, 2026-10-13
|
||||
**Pick (BS-ledger-15):** `child-has-its-parents-type`, the owner, 2026-10-13
|
||||
|
||||
**Claims:** yes
|
||||
|
||||
@@ -96,7 +96,7 @@ and never called corrupt (statement 4). **Checked:** Lean `Step.extends`,
|
||||
|
||||
**bookspec:** `BS-ledger-5`
|
||||
|
||||
**Pick (BS-ledger-16):** on-or-after-the-original, the owner, 2026-11-08, wanderbooks D-73
|
||||
**Pick (BS-ledger-16):** `on-or-after-the-original`, the owner, 2026-11-08, wanderbooks D-73
|
||||
|
||||
**Claims:** yes
|
||||
|
||||
@@ -129,7 +129,7 @@ None.
|
||||
|
||||
**bookspec:** `BS-ledger-7`
|
||||
|
||||
**Pick (BS-ledger-17):** reversal-evidence-is-originals, D-47, the owner, 2026-10-26
|
||||
**Pick (BS-ledger-17):** `reversal-evidence-is-originals`, D-47, the owner, 2026-10-26
|
||||
|
||||
**Claims:** partly (the engine does not enforce it; the receipt policy of the tool layer does)
|
||||
|
||||
@@ -145,9 +145,9 @@ None.
|
||||
|
||||
**bookspec:** `BS-ledger-8`
|
||||
|
||||
**Pick (BS-ledger-18):** assignment-is-a-fact-in-the-books, the owner, 2026-10-15
|
||||
**Pick (BS-ledger-18):** `assignment-is-a-fact-in-the-books`, the owner, 2026-10-15
|
||||
|
||||
**Pick (BS-ledger-19):** refuse-rather-than-renumber, the owner, 2026-10-13
|
||||
**Pick (BS-ledger-19):** `refuse-rather-than-renumber`, the owner, 2026-10-13
|
||||
|
||||
**Claims:** yes
|
||||
|
||||
@@ -257,9 +257,9 @@ bookspec `examples/rename-changes-no-amount.toml`.
|
||||
|
||||
**bookspec:** `BS-ledger-11`
|
||||
|
||||
**Pick (BS-ledger-20):** warn-by-default, the owner, 2026-10-20
|
||||
**Pick (BS-ledger-20):** `warn-by-default`, the owner, 2026-10-20
|
||||
|
||||
**Pick (BS-ledger-21):** round-once-on-the-total, the owner, 2026-11-07, D-67
|
||||
**Pick (BS-ledger-21):** `round-once-on-the-total`, the owner, 2026-11-07, D-67
|
||||
|
||||
**Claims:** yes
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@ Rules: B-13, B-26, B-35, B-36.
|
||||
**Pick (BS-partner-6):** `cumulative-from-first-close`, the owner, D-10, 2026-10-16.
|
||||
|
||||
**Pick (BS-partner-7):** `running-split`, the owner, D-38, 2026-10-20.
|
||||
**Pick (BS-partner-16):** `contract-is-property-vendor-paid-is-cash`, the owner, 2026-10-15.
|
||||
|
||||
**Pick (BS-partner-17):** `close-at-the-change`, the owner, 2026-10-16.
|
||||
|
||||
**Enforced:** `CloseTo::Members`, `CloseTo::MembersCumulative`,
|
||||
`Ledger::members_regime`, `Regime::allocate`,
|
||||
@@ -107,7 +110,6 @@ is its TIN facts', else its W-9 facts'.
|
||||
|
||||
**Pick (BS-partner-8):** `outside-the-books`, the owner, 2026-10-15.
|
||||
|
||||
**Pick (BS-partner-9):** `tin-facts-then-w9`, the owner, 2026-10-15.
|
||||
|
||||
**Enforced:** `crate::parties` (has_full_tin, check_text, W9Facts::check,
|
||||
W4Facts::check), `Ledger::add_party`, `update_party`, `set_party_role`,
|
||||
@@ -397,6 +399,7 @@ confirm).
|
||||
**Pick (BS-partner-14):** `tax-basis-beside-book`, the owner, D-41, 2026-10-20.
|
||||
|
||||
**Pick (BS-partner-15):** `running-cumulative`, the owner, D-38's rule applied 2026-10-22.
|
||||
**Pick (BS-partner-18):** `book-amount-with-note`, the owner, P3 review, 2026-10-21.
|
||||
|
||||
**Enforced:** `ledger_core::tax_capital::tax_basis_capital`;
|
||||
`ledger-package` `k1_tax` (`k1-tax-basis-capital.csv` in the CPA
|
||||
|
||||
@@ -25,7 +25,7 @@ decision, D-73, 2026-11-08). **Checked:** Kani
|
||||
|
||||
**bookspec:** `BS-period-2`
|
||||
|
||||
**Pick (BS-period-4):** nest-never-partially-overlap, the owner, 2026-10-13
|
||||
**Pick (BS-period-4):** `nest-never-partially-overlap`, the owner, 2026-10-13
|
||||
|
||||
**Claims:** yes
|
||||
|
||||
@@ -53,7 +53,7 @@ untouched.
|
||||
|
||||
**bookspec:** `BS-period-3`
|
||||
|
||||
**Pick (BS-period-5):** fiscal-year-to-date-by-default, the owner, 2026-10-20
|
||||
**Pick (BS-period-5):** `fiscal-year-to-date-by-default`, the owner, 2026-10-20
|
||||
|
||||
**Claims:** partly (the bookspec record states the one default rule; the surfaces it binds are wanderbooks product, below)
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ Rules: B-16.
|
||||
|
||||
**bookspec:** `BS-prepaid-1`
|
||||
|
||||
**Pick (BS-prepaid-2):** daily, the owner, 2026-10-20, D-11 and D-37
|
||||
**Pick (BS-prepaid-2):** `daily`, the owner, 2026-10-20, D-11 and D-37
|
||||
|
||||
**Pick (BS-prepaid-3):** start-on-the-first, the owner, 2026-10-20, D-37
|
||||
**Pick (BS-prepaid-3):** `start-on-the-first`, the owner, 2026-10-20, D-37
|
||||
|
||||
**Pick (BS-prepaid-4):** minor-unit-for-new-schedules, the owner, 2026-11-08, D-72
|
||||
**Pick (BS-prepaid-4):** `minor-unit-for-new-schedules`, the owner, 2026-11-08, D-72
|
||||
|
||||
**Claims:** yes
|
||||
|
||||
|
||||
@@ -30,9 +30,9 @@ Lean `trial_balance_iff`, `Reachable.trial_balance`,
|
||||
|
||||
**bookspec:** `BS-statement-3`
|
||||
|
||||
**Pick (BS-statement-6):** direct, the owner, 2026-10-20
|
||||
**Pick (BS-statement-6):** `direct`, the owner, 2026-10-20
|
||||
|
||||
**Pick (BS-statement-7):** constructive, the owner, 2026-10-20, D-42
|
||||
**Pick (BS-statement-7):** `constructive`, the owner, 2026-10-20, D-42
|
||||
|
||||
**Claims:** partly (bookspec's record states rules 1-12; the picks and the product surface are below)
|
||||
|
||||
@@ -156,7 +156,7 @@ with `books.close_period`, whose entries are never in the statement.
|
||||
|
||||
**bookspec:** `BS-statement-4`
|
||||
|
||||
**Pick (BS-statement-8):** year-through-as-of, the owner, 2026-10-20, D-36
|
||||
**Pick (BS-statement-8):** `year-through-as-of`, the owner, 2026-10-20, D-36
|
||||
|
||||
**Claims:** partly (bookspec's record states the as-of principle and the calendar-year counting; the CPA package itself is wanderbooks product, below)
|
||||
|
||||
@@ -213,7 +213,7 @@ given no accounts, uses the settings', as a package given none does.
|
||||
|
||||
**bookspec:** `BS-statement-5`
|
||||
|
||||
**Pick (BS-statement-9):** one-project-per-line, the owner, 2026-10-22, D-43
|
||||
**Pick (BS-statement-9):** `one-project-per-line`, the owner, 2026-10-22, D-43
|
||||
|
||||
**Claims:** partly (bookspec's record states the class, the figures, on-spec and document-line rules; the project facts and the snapshot presentation are wanderbooks product, below)
|
||||
|
||||
|
||||
Reference in new issue
Block a user