diff --git a/docs/spec/claims/1099.md b/docs/spec/claims/1099.md index c9bd6db5..9ca2e6da 100644 --- a/docs/spec/claims/1099.md +++ b/docs/spec/claims/1099.md @@ -73,7 +73,7 @@ and no one owes), leaving out payroll runs, entries marked as having no counterparty, entries naming only parties with no 1099 role, and entries reversed in the year: one count, the entries when ten or fewer, and the tool to tag them. -*Enforced:* `form1099::Vendor1099Report::untagged_payments`, `books.vendor_1099`, +*Enforced:* `form1099::untagged_payments`, `books.vendor_1099`, `books.set_entry_vendor`; the digest and Needs attention. *Checked:* `the_untagged_note_counts_only_money_out`, `the_other_receipts_note_says_what_each_entry_did` (ledger-package). diff --git a/docs/spec/claims/arap.md b/docs/spec/claims/arap.md index 974e279c..611785e8 100644 --- a/docs/spec/claims/arap.md +++ b/docs/spec/claims/arap.md @@ -65,7 +65,7 @@ Lean `Documents.control_agrees`, `Documents.Step.document_unattached`, (through role assignments and releases), `Documents.Reachable.control_is_documents`. The model's limits: it starts from empty books (legacy lines are covered by the identity -`control_agrees` alone), it names documents by one id space (an injective +`Documents.control_agrees` alone), it names documents by one id space (an injective coding of `DocRef`), and an account becoming a control account by its first document, holding lines from before, is outside it (those lines are listed as unattached). diff --git a/docs/spec/claims/entry.md b/docs/spec/claims/entry.md index 080f976e..b311d1e2 100644 --- a/docs/spec/claims/entry.md +++ b/docs/spec/claims/entry.md @@ -203,7 +203,7 @@ pinned; every tool over every old book). `Ledger::{set_draft_state, discard_draft, posted_seq}`, `Store::{set_draft_state, discard_draft, post_entry_checked}` (the gate the server posts a hand draft by; `Store::post_entry` stays the primitive commands and fixtures post through); events `entry.draft_state_set`, `entry.draft_discarded` (feature `drafts_v2`). -**Checked:** Lean `Step.discard`, `Step.discard_keeps_books`, +**Checked:** Lean `Step.discard_keeps_books`, `Step.discard_unblocks_close`; `ledger-core` `tests/invariants.rs` (`discard_unblocks_close`); `ledger-store` `tests/store.rs` (`draft_states_replay_and_project`, `drafts_v2_waits_for_the_upgrade`, diff --git a/docs/spec/claims/format.md b/docs/spec/claims/format.md index 5d4f293e..fd2b2db6 100644 --- a/docs/spec/claims/format.md +++ b/docs/spec/claims/format.md @@ -161,7 +161,7 @@ the W-9 when the vendor's W-9 flag follows it. A value in a line of a known type that only a newer version writes (a 1099 decision or reason kind, a payment method's kind) is newer, never corrupt. -*Enforced:* `ledger_store::format` (`JournalFormat::declared`, `require_format`, `require_feature`), `Store::ensure_feature`, `Store::declare_journal_format`, `StoreError::FormatUpgradePending`, `format::setting_feature`, `format::tax_category_feature`. +*Enforced:* `ledger_store::format` (`format::declared`, `require_format`, `require_feature`), `Store::ensure_feature`, `Store::declare_journal_format`, `StoreError::FormatUpgradePending`, `format::setting_feature`, `format::tax_category_feature`. *Checked:* `ledger-store` `tests/settings.rs` (`a_change_needs_journal_format_2`), `tests/format_upgrade.rs` (`a_write_waiting_for_the_upgrade_journals_nothing`, a newer feature still refused); `tests/p2_compat.rs` (every P3 setting key and tax category needs a feature); the unit tests in `format.rs`. **WB-format-3 The other way round: the format upgrade, with the owner's diff --git a/docs/spec/claims/ledger.md b/docs/spec/claims/ledger.md index 9b4c3ea9..3d642908 100644 --- a/docs/spec/claims/ledger.md +++ b/docs/spec/claims/ledger.md @@ -310,8 +310,8 @@ rounding). **Checked:** `ledger-core` `a_category_rounds_once_across_different_percents`); Kani `deductible_amount_rounds_once`, `deductible_amount_refuses_overflow`; bridge `deductible_amount_agrees`; Lean `bookspec/lean/Bookspec/Deductible.lean` -(`Deductible.near`, `tie_away_pos`, `tie_away_neg`, `sign`, `neg`, `of_sum`, -`per_account_differs`, `scale_books`, `scale_percents`: the one rounding, at any +(`Deductible.near`, `Deductible.tie_away_pos`, `Deductible.tie_away_neg`, `Deductible.sign`, `Deductible.neg`, `Deductible.of_sum`, +`Deductible.per_account_differs`, `Deductible.scale_books`, `Deductible.scale_percents`: the one rounding, at any number of accounts and any sizes); bookspec `examples/tax-category-required.toml`. ### Product rules diff --git a/docs/spec/claims/partner.md b/docs/spec/claims/partner.md index 3318e8b4..66fc3d27 100644 --- a/docs/spec/claims/partner.md +++ b/docs/spec/claims/partner.md @@ -36,8 +36,8 @@ Rules: B-13, B-26, B-35, B-36. `closePart_total`, `trueUp_total`, `trueUp_running`, `closePart_eq_trueUp`, `cumulative_drift`, `statement_after_close`, `statement_unmoved_by_close`, `Apportion.rem_pos_of_rank_lt`, -`apportion_drift`, `allocW_sum`, `allocW_drift`, -`allocW_cumulative_drift`, `allocW_cumulative_total`; properties +`Apportion.apportion_drift`, `Apportion.allocW_sum`, `Apportion.allocW_drift`, +`Apportion.allocW_cumulative_drift`, `Apportion.allocW_cumulative_total`; properties `prop_split_*`, `each_members_capital_chains_across_statements`, `each_member_stays_within_a_cent_of_their_share`, `members_capital_never_drifts_a_cent_from_their_share`,