docs(spec): rules.md splits into one claims file per bookspec area
P14 unit S-D0 (plan/bookspec-audit.md D0) is a mechanical split, no content change. bookspec is becoming the definitive spec, and later units move each rule's accounting text there and reduce wanderbooks' copy to the engine's claim (the pick, where it is enforced, which tests check it) plus product rules. Several workers reduce different areas in parallel; one 3,696-line file blocks them, so the file is split first by bookspec area (the B -> area map is bookspec's spec/rules-index.md). Every `## B-n` section moves verbatim, in B order, into docs/spec/claims/<area>.md: entry 5, ledger 13, statement 5, period 3, partner 4, asset 4, prepaid 1, arap 6, revenue 1, 1099 1, format 2. docs/spec/rules.md keeps its preamble and becomes the index (B, bookspec id, area, link to the claims heading), so the existing "rules.md B-n" references still resolve until S-E rewrites them. The bookspec test now reads every claims file and the index, so every stated rule's id is still verified where it is carried. The split is proved lossless: the preamble plus the 45 claims sections concatenated in B order is byte-identical to the old rules.md. No WB-n product rules exist in rules.md, so no docs/spec/product.md is created (D0's other half) until product rules are written. Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
This commit is contained in:
1 parent
539ef8a345
commit
ca8d676d53
13 files changed
+3851
-3691
No files matched your search
+51
-3677
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user