From fd1c4ae01805bb03527ad46b5a69acd224f51a75 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 8 Nov 2026 11:45:32 -0700 Subject: [PATCH] docs(spec): prepaid claims reduced to wanderbooks' picks and product rules B-16's accounting text moved to bookspec (BS-prepaid-1). What stays: the daily pick (D-11/D-37), the equal-months-from-the-first pick (D-37), the minor-unit rounding pick for new monthly-even schedules (D-72), Enforced/Checked evidence, and WB-prepaid-1..2: the books.schedule_convention setting and D-72's versioning (schedules written before the change replay the cent rule; the engine change is unit K-U5's). Co-Authored-By: Muse Wonder 1.0 --- docs/spec/claims/prepaid.md | 64 ++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 37 deletions(-) diff --git a/docs/spec/claims/prepaid.md b/docs/spec/claims/prepaid.md index 23897a73..36c8f83c 100644 --- a/docs/spec/claims/prepaid.md +++ b/docs/spec/claims/prepaid.md @@ -1,6 +1,6 @@ # Claims: prepaid -Wanderbooks' claims for bookspec area **prepaid**: what each rule requires, where the engine enforces it, and which tests check it. Being reduced to the engine's pick and its evidence as P14 unit S-D lands; the accounting text moves to bookspec's `spec/prepaid.md`. +Wanderbooks' claims for bookspec area **prepaid**: the engine's pick for each rule, where it enforces it, and which tests check it. The accounting text lives in bookspec's records (`rules/prepaid/`). Rules: B-16. @@ -10,43 +10,9 @@ Rules: B-16. **bookspec:** `BS-prepaid-1` -**Status:** AUTHORITY (revenue); CONVENTION (prepaids) +**Claims:** yes -ASC 606-10-45-2 (cited): payment before transfer → "the entity shall -present the contract as a contract liability"; 606-10-25-23: "An entity -shall recognize revenue when (or as) the entity satisfies a performance -obligation by transferring a promised good or service." Prepaids: OpenStax -§4.2 (cited); ASC 340-10-05-4 and 210-10-45-1(g), -2 (read 2026-10-14, -`sources/fasb-asc.md`): a prepaid is an asset paid in advance of its use, -current within the operating cycle; the ASC prescribes no expensing -method, so monthly expensing stays a convention. Tax: the 12-month rule, Treas. Reg. §1.263(a)-4(f) -(`sources/irs-capitalization.md`). - -Conventions (P3, defect 9): `daily` or `monthly_even`. A new schedule -spreads by the day from its start (the first day covered), as -depreciation does (B-15 rules 1-4: full months equal, the first and last -partial months by their days, the last taking what the others leave, -rounded to the minor unit): a 12-month policy from March 15 posts -thirteen month ends, a small March and a small final March (CHOICE, -the owner, D-11 confirmed in D-37, 2026-10-20). Schedules registered before -P3 keep equal months, the last absorbing rounding, forever: a posted -month's replay re-derives its plan. `books.schedule_convention` sets the -convention new schedules take (unset: daily). An equal-months schedule -starts on the 1st of a month, for prepaid expenses and deferred revenue -alike (CHOICE, the owner, D-37, 2026-10-20): revenue is never recognized -before it is earned (ASC 606-10-25-23), and one rule for both is simpler -and never early; schedules an earlier version took mid-month replay as -they were. A reversed month is un-posted, so it is due again; a month in -a closed period, or one whose posting was reversed after the month ended -(posting it again on its own date would recognize it twice until the -reversal; a schedule posts its plan's months, so it can't catch one up -later), is left by a run for a human, listed with why, never a failed run. -A month's posting can't be reversed on a day before its own (a -correction comes after what it corrects, B-9; commands only). Not yet -vendored: ASC 606-10-25-31 (progress toward satisfying an obligation over -time), 606-10-25-32 (one method, applied consistently), 606-10-55-20 (time -elapsed as an input method): to read from the owner's ASC login before -B-16 cites them (P3 depreciation review R7). +**Pick:** new schedules spread by the day (`daily`), the owner, D-11 confirmed in D-37, 2026-10-20; an equal-months schedule starts on the 1st of a month for prepaid expenses and deferred revenue alike (the owner, D-37, 2026-10-20); new monthly-even schedules round to the currency's minor unit (the owner, D-72, 2026-11-08). **Enforced:** `schedules` (`daily_plan`, `amortization_plan`, `validate_schedule`), `kernel::prorate_by_days`, `Ledger::reverse_entry`, @@ -68,3 +34,27 @@ B-16 cites them (P3 depreciation review R7). `prop_monthly_even_plan_is_unchanged`; `ledger-cli` `mcp_daily_schedule`. +### Product rules + +**WB-prepaid-1** `books.schedule_convention` sets the convention new +schedules take (unset: `daily`, the pick above). It is a book setting, +not part of the accounting rule. + +**Enforced:** `schedules`, `books.schedule_convention`. **Checked:** +`mcp_daily_schedule`, `defect9_a_new_schedule_spreads_by_the_day`. + +**WB-prepaid-2** Versioning (the owner, D-72, 2026-11-08): schedules +written before the rounding change keep the rule they were written +under, so nothing journaled moves. Schedules registered before P3 keep +equal months, the last absorbing rounding, forever: a posted month's +replay re-derives its plan. Monthly-even schedules journaled before +D-72 replay the cent rule (two places for every currency); only new +schedules round to the currency's minor unit. Schedules an earlier +version took mid-month under equal months replay as they were. (The +engine change is unit K-U5's; this note records the claim.) + +**Enforced:** `schedules` replay (`amortization_plan`), +`Ledger::schedule_month_hold`. **Checked:** +`defect9_legacy_schedules_stay_monthly_even`, +`prop_monthly_even_plan_is_unchanged`, +`a_schedule_month_posted_again_waits_for_month_reposting_and_replays`.