docs: the cash-flow and party citations name statements by position
bookspec unit S-C8 dropped BS-statement-3's and BS-partner-3's "Rule n" labels: they had drifted from the statements' positions, and every reference is now a position, "BS-statement-3 statement k". This rewrites wanderbooks' citations from the old labels to the positions. Method: the map was confirmed against the pinned records at b61fa50 by reading each statement before use. BS-statement-3: Rule 1 -> statement 2, 2 -> 3, 3 -> 4, 4 -> 5; Rule 5 by the sentence's meaning (gross lines 6, operating classes 7, governments 8, payroll 9, kinds 10, the family 6-10); 6 -> 11, 7 -> 12, 8 -> 13, 9 -> 14, 10 -> 15, 11 -> 16, 12 -> 17. BS-partner-3: 1 -> 1, 2 -> 2, 3 -> 3-4, 4 -> 5-6, 5 -> 7, 6 -> 8, 7 -> 9, 8 -> 10, 9 -> 11. Each sentence was read against the statement it now cites; a "rule n" meaning an IRS rule, an engine rule, or another record's rule was left alone (odd_cent.rs's close true-up, the asset register's note numbering, and testing.md's "run rule 0.02"). Rewritten: 44 references in src/cashflow.rs, 22 in tests/spec_cash_flow.rs, 3 in tests/spec_reports.rs, 5 in docs/spec/claims/statement.md (whose stale "rules 1-12" count is now "18 statements"), 21 in the vendored ASC notes, 10 in docs/testing.md, 2 in docs/verification.md, 2 in kernel/entries.rs, and 1 in the CLI's journey test. Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
This commit is contained in:
1 parent
01acb159f0
commit
409845e665
9 files changed
+114
-114
No files matched your search
@@ -39,13 +39,13 @@ assets and liabilities-plus-equity at every date.
|
||||
|
||||
**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)
|
||||
**Claims:** partly (bookspec's record has 18 statements; the picks and the product surface are below)
|
||||
|
||||
**Pick:** the direct method; an entry's cash allocated to its sections in the order operating, investing, financing (CONVENTION, the ASC silent, disclosed); within a section, the cash split among its kinds in the order the rest of the section's kinds, interest received, interest paid (CONVENTION, as the engine splits it); what a member or a lender pays or receives for the company presented as constructive cash, borrowed (or contributed) and spent (the owner, D-42, 2026-10-20, revising D-35's first point); a payment shared between a government and others split by their resolved shares, the government's part rounded half to even to the base currency's places and the rest exact (CONVENTION); payroll entries keep their (d) class whoever they name (CONVENTION).
|
||||
|
||||
**Enforced:** `profit_and_loss_for_period`; `cashflow::cash_flow` (with
|
||||
`kernel::entry_flows`, `apply_cash`, `constructive`, `exchanged`),
|
||||
`role_problems`, `foot`; `Ledger::reversal_chain` (rule 6's chains);
|
||||
`role_problems`, `foot`; `Ledger::reversal_chain` (BS-statement-3 statement 11's chains);
|
||||
`ledger_package::cash_flow_for` (the server, the
|
||||
package and the viewer). **Checked:** Lean `statements_add_up`,
|
||||
`cashflow_sections_sum_to_cash_change`, `entry_flows_sum`,
|
||||
@@ -57,13 +57,13 @@ package and the viewer). **Checked:** Lean `statements_add_up`,
|
||||
`apply_cash_mirrors`, `apply_cash_spends_exactly`,
|
||||
`exchanged_is_bounded`, `constructive_nets_to_zero`,
|
||||
`constructive_mirrors`; `prop_period_pnl_partitions`,
|
||||
`prop_cash_flow_laws` (5,000 cases, reversals of reversals, rule 11's
|
||||
`prop_cash_flow_laws` (5,000 cases, reversals of reversals, BS-statement-3 statement 16's
|
||||
shapes), `prop_pure_entries_sections_are_movements`; regressions
|
||||
`defect1_reversed_contributions_foot_regression`,
|
||||
`defect1_two_member_llc_first_year_regression`,
|
||||
`defect1_two_member_llc_as_of_march_18_regression` (and bookspec
|
||||
`cash-flow.*`, `cash-flow.paid-on-the-companys-behalf` for rule 11,
|
||||
`cash-flow.government-fees` for rule 5's governments);
|
||||
`cash-flow.*`, `cash-flow.paid-on-the-companys-behalf` for BS-statement-3 statement 16,
|
||||
`cash-flow.government-fees` for BS-statement-3 statement 8's governments);
|
||||
`disposal_proceeds_all_investing`,
|
||||
`an_expense_a_member_paid_is_borrowed_and_spent`,
|
||||
`reimbursing_a_member_is_a_repayment_of_borrowing`,
|
||||
@@ -137,7 +137,7 @@ as payroll.
|
||||
`a_bill_payment_carries_its_bills_split`,
|
||||
`a_government_selling_services_is_a_supplier`.
|
||||
|
||||
**WB-statement-3** Rule 11's wanderbooks limits, from what the books
|
||||
**WB-statement-3** BS-statement-3 statement 16's wanderbooks limits, from what the books
|
||||
cannot tell: a lender's or member's own charge credited to what the
|
||||
company owes them, other than interest and guaranteed payments (a card's
|
||||
annual fee, rent a member charges), reads as paid for the company, so
|
||||
|
||||
@@ -77,21 +77,21 @@ Quotes are short; the rest is paraphrase.
|
||||
- **230-10-45-4** (EY p. 5): the statement explains the change in the
|
||||
total of cash, cash equivalents and restricted cash. ASU 2016-18 struck
|
||||
its old sentence on the totals at the beginning and end of the period
|
||||
(gone from the current text). → rule 1: the cash accounts are all of
|
||||
(gone from the current text). → BS-statement-3 statement 2: the cash accounts are all of
|
||||
them. (50-7 and 50-8, EY pp. 5-6, 30: the nature of restrictions, and
|
||||
the balance-sheet lines that hold the total when there are several.)
|
||||
- **230-10-45-5** (EY p. 5): purchases and sales of cash equivalents are
|
||||
cash management, and transfers among cash, cash equivalents and
|
||||
restricted cash "are not reported as cash flow activities". → rule 1: a
|
||||
restricted cash "are not reported as cash flow activities". → BS-statement-3 statement 2: a
|
||||
transfer between two cash accounts is no flow.
|
||||
- **230-10-45-12(c)** (EY p. 41; ASU 2016-15 p. 25): investing inflows
|
||||
include "Receipts from sales of property, plant, and equipment and other
|
||||
productive assets". → rule 4.
|
||||
productive assets". → BS-statement-3 statement 5.
|
||||
- **230-10-45-13(c)** (EY p. 41; ASU 2016-15 p. 12): investing outflows
|
||||
include payments "at the time of purchase or soon before or after
|
||||
purchase" for PP&E; generally only those are investing, and incurring
|
||||
debt directly to the seller is a financing transaction whose later
|
||||
principal payments are financing. → rule 12 (the bill split), and the
|
||||
principal payments are financing. → BS-statement-3 statement 17 (the bill split), and the
|
||||
limit BS-statement-3 records.
|
||||
- **230-10-45-14(a)** (EY p. 42): financing inflows include "Proceeds from
|
||||
issuing equity instruments". **45-15(a)**: financing outflows include
|
||||
@@ -101,8 +101,8 @@ Quotes are short; the rest is paraphrase.
|
||||
- **230-10-45-16(a), (b)** (EY p. 43): operating inflows include "Cash
|
||||
receipts from sales of goods or services", including collections of
|
||||
receivables from customers arising from those sales; and interest and
|
||||
dividends received. 45-16(c): all other operating receipts. → rule 5,
|
||||
rule 4's exception.
|
||||
dividends received. 45-16(c): all other operating receipts. → BS-statement-3 statement 7,
|
||||
statement 5's exception.
|
||||
- **230-10-45-17** (EY pp. 43-44): operating outflows: payments for goods
|
||||
for resale (a), "Cash payments to other suppliers and employees for
|
||||
other goods or services" (b), "Cash payments to governments for taxes,
|
||||
@@ -111,7 +111,7 @@ Quotes are short; the rest is paraphrase.
|
||||
under (c); 45-25 names them a class.) Quotes (b) and (c) checked
|
||||
2026-10-22 against EY's guide as retrieved that day (SHA-256
|
||||
`de9224a9e3ec7ef771e7ee076f99471ee727308c3dedb2df20ea1ee4e285fbdb`,
|
||||
page 43). → rule 5: a payment to a government, decided by its payee or
|
||||
page 43). → BS-statement-3 statement 8: a payment to a government, decided by its payee or
|
||||
a taxes-and-licenses account, is (g), not (d).
|
||||
- **230-10-45-22, 45-22A** (EY pp. 44-45, the same copy): a receipt or
|
||||
payment with "aspects of more than one class of cash flows" is
|
||||
@@ -121,7 +121,7 @@ Quotes are short; the rest is paraphrase.
|
||||
basis of the nature of the underlying cash flows" and classify each
|
||||
"in financing, investing, or operating activities"; only what "cannot
|
||||
be separated by source or use" goes by the predominant source or use
|
||||
(45-22A). → rule 5: a payment shared between a government and a
|
||||
(45-22A). → BS-statement-3 statement 8: a payment shared between a government and a
|
||||
supplier is split by the parties' resolved shares, each part classed
|
||||
by its payee (the paragraph names the three activities; reading it for
|
||||
45-25's classes too is a CONVENTION).
|
||||
@@ -130,46 +130,46 @@ Quotes are short; the rest is paraphrase.
|
||||
"three months or less"; amounts due on demand count) may be reported
|
||||
net, and even then need not be. **230-10-45-26** (EY p. 13): otherwise
|
||||
investing and financing inflows and outflows are reported separately,
|
||||
"proceeds of borrowings ... separately from repayments of debt". → rule
|
||||
5: gross lines, members' advances and their repayments apart.
|
||||
"proceeds of borrowings ... separately from repayments of debt". → BS-statement-3
|
||||
statements 6-10: gross lines, members' advances and their repayments apart.
|
||||
- **230-10-45-24** (EY p. 15; ASU 2016-18 pp. 4-5): the statement reports
|
||||
net cash from operating, investing and financing activities and "the
|
||||
net effect of those flows" on cash, "in a manner that reconciles
|
||||
beginning and ending totals". → rule 9, the footing.
|
||||
beginning and ending totals". → BS-statement-3 statement 14, the footing.
|
||||
- **230-10-45-25** (EY p. 8; ASU 2016-15 p. 10): entities "are encouraged
|
||||
to report major classes of gross cash receipts and gross cash payments";
|
||||
those that do "shall, at a minimum, separately report" (a) cash
|
||||
collected from customers, (b) interest and dividends received, (c) other
|
||||
operating cash receipts, (d) cash paid to employees and other suppliers,
|
||||
(e) interest paid, (f) income taxes paid, (g) other operating cash
|
||||
payments. → rule 5, the operating classes; the direct method is a
|
||||
payments. → BS-statement-3 statement 7, the operating classes; the direct method is a
|
||||
choice the standard encourages, not one it requires.
|
||||
- **230-10-45-28** (EY p. 10; DART 3.1): the indirect method adjusts net
|
||||
income to remove (a) deferrals and accruals of operating receipts and
|
||||
payments, such as changes in receivables and payables, and (b) items
|
||||
with no operating cash effect, including those "whose cash effects are
|
||||
related to investing or financing cash flows, such as gains or losses on
|
||||
sales of property, plant, and equipment". → rule 8's G and W.
|
||||
sales of property, plant, and equipment". → BS-statement-3 statement 13's G and W.
|
||||
- **230-10-45-29** (EY p. 7; DART 3.1): the reconciliation of net income
|
||||
to operating cash is required with either method; it "shall separately
|
||||
report all major classes of reconciling items", at a minimum the
|
||||
changes in operating receivables, inventory and payables.
|
||||
- **230-10-45-30** (EY p. 8; DART 3.1): with the direct method, that
|
||||
reconciliation "shall be provided in a separate schedule." → rule 8.
|
||||
reconciliation "shall be provided in a separate schedule." → BS-statement-3 statement 13.
|
||||
- **230-10-50-3** (EY p. 47): investing and financing activities that
|
||||
"affect recognized assets or liabilities but that do not result in cash
|
||||
receipts or cash payments in the period shall be disclosed", narrative
|
||||
or in a schedule. → rule 7.
|
||||
or in a schedule. → BS-statement-3 statement 12.
|
||||
- **230-10-50-4** (EY p. 47): its examples, among them: "converting debt to equity";
|
||||
acquiring assets by assuming directly related liabilities; obtaining a
|
||||
right-of-use asset for a lease liability (the old "capital lease"
|
||||
wording, replaced); receiving a gift of an asset; exchanging noncash
|
||||
assets or liabilities for others (also a beneficial interest obtained
|
||||
in a securitization, not listed here). → rule 7's exchange inside one
|
||||
in a securitization, not listed here). → BS-statement-3 statement 12's exchange inside one
|
||||
section.
|
||||
- **230-10-50-5** (EY p. 47): "Some transactions are part cash and part
|
||||
noncash; only the cash portion shall be reported in the statement of
|
||||
cash flows." → rule 3.
|
||||
cash flows." → BS-statement-3 statement 4.
|
||||
- **230-10-50-6** (EY p. 47): with only a few noncash transactions, they
|
||||
may be on the same page as the statement; otherwise elsewhere, clearly
|
||||
referenced to it. → the printed statement's noncash schedule.
|
||||
@@ -184,9 +184,9 @@ Quotes are short; the rest is paraphrase.
|
||||
not specify, an entity first considers principles for similar
|
||||
transactions "and then consider[s] nonauthoritative guidance from other
|
||||
sources"; practices not in the Codification are nonauthoritative
|
||||
(sources include accounting textbooks, handbooks and articles). → rule
|
||||
11: the Codification does not address payments made on the entity's
|
||||
behalf (below), so this is where firm guidance comes in; rule 11
|
||||
(sources include accounting textbooks, handbooks and articles). → BS-statement-3 statement
|
||||
16: the Codification does not address payments made on the entity's
|
||||
behalf (below), so this is where firm guidance comes in; BS-statement-3 statement 16
|
||||
follows it (D-42), a choice the standard leaves open, not a requirement
|
||||
of any paragraph.
|
||||
|
||||
@@ -196,9 +196,9 @@ Also read there, for the design (not authoritative, 105-10-05-3):
|
||||
after purchase are investing, "soon" read by the SEC staff as three
|
||||
months or less; the change in payables in the reconciliation leaves
|
||||
out payables for investing; the noncash disclosure is the liability
|
||||
that remains unpaid at the period's end). → rule 12.
|
||||
that remains unpaid at the period's end). → BS-statement-3 statement 17.
|
||||
- Payments a third party makes, or cash it receives, on the entity's
|
||||
behalf (rule 11, D-42). No ASC paragraph addresses them: PwC Viewpoint,
|
||||
behalf (BS-statement-3 statement 16, D-42). No ASC paragraph addresses them: PwC Viewpoint,
|
||||
Financial statement presentation 6.9.3 ("ASC 230 does not address these
|
||||
situations"); KPMG Handbook, Statement of cash flows (March 2026)
|
||||
Q8.3.10 ("Topic 230 does not directly address"); BDO Blueprint,
|
||||
@@ -249,7 +249,7 @@ Also read there, for the design (not authoritative, 105-10-05-3):
|
||||
- **KPMG Q8.3.10** accepts a noncash presentation (citing 50-3) for
|
||||
property and equipment a lender pays for.
|
||||
|
||||
→ rule 11 (D-42): constructive receipt and disbursement for what a
|
||||
→ BS-statement-3 statement 16 (D-42): constructive receipt and disbursement for what a
|
||||
member (through the members' financing account, or capital for an
|
||||
expense) or a lender pays or receives for the company; noncash for
|
||||
property a member already owned (50-4) and for the seller's own credit
|
||||
|
||||
+12
-12
@@ -943,7 +943,7 @@ doesn't count them.
|
||||
## P3: cash flow (defect 1, 2026-10-20)
|
||||
|
||||
The statement of cash flows was rebuilt by the direct method (BS-statement-3, D-35), and what a member or a lender pays for the company shown as
|
||||
cash borrowed and spent (D-42, rule 11). Built, reviewed twice, `just
|
||||
cash borrowed and spent (D-42, BS-statement-3 statement 16). Built, reviewed twice, `just
|
||||
check` and `just prove`; no mutation run (D-33): what P12 must cover is at
|
||||
the end.
|
||||
|
||||
@@ -964,13 +964,13 @@ the end.
|
||||
its paragraph in the test's doc comment): disposals at a gain, a loss
|
||||
and before any depreciation (`disposal_proceeds_all_investing`); a sale
|
||||
on an IOU (disclosed, flagged, with the fix); property contributed;
|
||||
what a member or lender pays or receives for the company (D-42, rule
|
||||
11): an expense through Due to Members, equipment a bank paid for, an
|
||||
what a member or lender pays or receives for the company (D-42,
|
||||
BS-statement-3 statement 16): an expense through Due to Members, equipment a bank paid for, an
|
||||
expense paid into capital, a financing card, part cash and part a
|
||||
member's, a refund to a member, a customer paying a member, a payment
|
||||
made for the company and its reversal (in the period and alone, a
|
||||
prepaid and equipment too), the reimbursement, the uses' order (rule
|
||||
11's convention); and what stays noncash: property a member owned (with
|
||||
prepaid and equipment too), the reimbursement, the uses' order (BS-statement-3 statement
|
||||
16's convention); and what stays noncash: property a member owned (with
|
||||
members configured and without), the seller's credit (flagged), interest
|
||||
and guaranteed payments charged to a creditor, a fee withheld on a
|
||||
contra-liability. From the second review: odd shapes (two cash accounts
|
||||
@@ -992,11 +992,11 @@ the end.
|
||||
(`operating_cash_is_classed_kind_by_kind`) and kept operating in a
|
||||
disposal; a loss on disposal on a revenue-typed or an expense-typed
|
||||
account; an investment sold at a gain; a reversal three levels down;
|
||||
and both of rule 3's conventions pinned (the sections' order, the kinds'
|
||||
and both of BS-statement-3 statement 4's conventions pinned (the sections' order, the kinds'
|
||||
order).
|
||||
- **Properties, 5,000 cases each** (`CF_CASES`, default 5,000, about 16 s):
|
||||
`prop_cash_flow_laws` over random books of 33 templates (every shape
|
||||
the rule names, rule 11's included) and reversals of any earlier entry,
|
||||
the statement names, BS-statement-3 statement 16's included) and reversals of any earlier entry,
|
||||
reversals included: the sections are the change in cash and the
|
||||
model's; each section is its lines and kinds; the reconciliation is
|
||||
operating; an entry's lines are its cash, what was handled for it
|
||||
@@ -1007,11 +1007,11 @@ the end.
|
||||
`prop_pure_entries_sections_are_movements`: for pure entries, each
|
||||
section is minus its accounts' movement over the entries that touch
|
||||
cash or that a member or lender settled whole for the company (the
|
||||
plan's wording, with rule 11 modelled apart from the engine; review
|
||||
plan's wording, with BS-statement-3 statement 16 modelled apart from the engine; review
|
||||
item 7's definition of pure). The older properties in `spec_reports.rs`
|
||||
are kept with new oracles (financing is the cash part of equity and
|
||||
designated debt plus what the loan or capital paid or received for the
|
||||
company, by an independent model of rules 3 and 11).
|
||||
company, by an independent model of BS-statement-3 statements 4 and 16).
|
||||
- **Bridge:** `entry_flows_agree`, `apply_cash_and_exchanged_agree`,
|
||||
`constructive_agrees`.
|
||||
- **Proofs:** Kani `entry_flows_sum_to_cash`,
|
||||
@@ -1030,17 +1030,17 @@ the end.
|
||||
(docs/verification.md, law 10).
|
||||
- **Sensitivity (P3 review, by hand, no mutation run):** 18 deliberate
|
||||
breaks to `cashflow.rs` and `kernel/` (a dropped reversal
|
||||
flip, no netting, financing read as operating, no rule 4, no exchange
|
||||
flip, no netting, financing read as operating, no BS-statement-3 statement 5's disposal rule, no exchange
|
||||
disclosure, no interest class, no warnings, the bill's payments
|
||||
ignored, the label's depth parity, repeated codes allowed, depreciation
|
||||
disclosed, the sections' or kinds' order reversed, the customer party
|
||||
ignored, accumulated depreciation in the exchange, the interest
|
||||
exception dropped, rule 4 for investing accounts): 17 fail a test (4
|
||||
exception dropped, BS-statement-3 statement 5 for investing accounts): 17 fail a test (4
|
||||
of them only since the review's tests); one is equivalent today
|
||||
(`mirrors` ignoring amounts: every reversal mirrors its original until
|
||||
P4's drafts).
|
||||
- **Sensitivity, second round (after D-42, by hand, no mutation run):**
|
||||
17 breaks to rule 11 and the kernel's `constructive` (no lender pass, no
|
||||
17 breaks to BS-statement-3 statement 16 and the kernel's `constructive` (no lender pass, no
|
||||
member pass, no receipts for the company, a reversal not mirrored, a
|
||||
lender paying for no investing, capital paying for property, receipts
|
||||
for property, receivables not received, guaranteed payments or
|
||||
|
||||
@@ -122,7 +122,7 @@ Each law, and what proves it. Kani harnesses are in
|
||||
1): each entry's cash is applied to the sections moving against it,
|
||||
operating, investing, financing, each up to its own movement; what a
|
||||
member or a lender paid or received for the entry, with no cash
|
||||
account moving (rule 11, D-42), is added as a constructive receipt
|
||||
account moving (BS-statement-3 statement 16, D-42), is added as a constructive receipt
|
||||
and disbursement that nets to zero within the entry; so each entry's
|
||||
flows sum to its cash and what neither settled sums to zero, and
|
||||
operating + investing + financing is exactly the change in the cash
|
||||
@@ -1173,7 +1173,7 @@ Be precise about the claims:
|
||||
- **The cash flow model tags lines per entry with any function** meeting
|
||||
the engine's guarantees (the cash tag follows the account; revenue and
|
||||
expense lines are operating or investing; a reversal takes its
|
||||
original's tags); which tag the engine picks for a line (rule 4's
|
||||
original's tags); which tag the engine picks for a line (BS-statement-3 statement 5's
|
||||
disposals, the bill split, the chain root) is checked by the property
|
||||
and example tests, not proved. A line the engine splits between two
|
||||
sections is two lines in the model, the entry's net unchanged.
|
||||
|
||||
Reference in new issue
Block a user