refactor: rule references cite bookspec ids
Every B-n citation in crates/, docs/, deploy/, scripts/ and .github/ now names its bookspec id BS-<area>-<n> (D-68), via scripts/rewrite-rule-refs.py: the map is parsed from docs/spec/rules.md's index, rules.md-prefixed and bare forms are rewritten, sub-references (rule 11, item 7, INVARIANT 2) survive, and plan/, docs/spec/rules.md and docs/spec/claims/ are untouched. Program-output string literals that cited a rule were reverted by hand so user-visible output and its goldens are unchanged; DatedRule.catalog, metadata no output prints, now holds BS-1099-1. One SOURCE line that cited only 'R-?' now also cites BS-statement-5. Co-Authored-By: Muse Wonder 1.0
This commit is contained in:
1 parent
7a177a3cfc
commit
489360f598
221 files changed
+1706
-1580
No files matched your search
@@ -1,4 +1,4 @@
|
||||
//! The audit's statements checks (plan P8; rules.md B-45): the books,
|
||||
//! The audit's statements checks (plan P8; BS-ledger-13): the books,
|
||||
//! read as an auditor would, through a date, as a list of findings.
|
||||
//!
|
||||
//! ```text
|
||||
@@ -7,8 +7,8 @@
|
||||
//! reproducible and its workpaper hashes the same twice.
|
||||
//! SOURCE: IRS Pub. 583 (records that support entries); Rev. Proc. 98-25
|
||||
//! §5.01 (the relationship between the records and the books must
|
||||
//! be demonstrable); docs/spec/rules.md B-6 to B-14 (the
|
||||
//! statements), B-38 (control accounts), B-43 (evidence);
|
||||
//! be demonstrable); BS-statement-1 to BS-statement-3 (the
|
||||
//! statements), BS-arap-2 (control accounts), BS-entry-5 (evidence);
|
||||
//! DECISION D-9 (the audit and its bar), D-53 (a run, not a job).
|
||||
//! INVARIANTS:
|
||||
//! 1. Pure: reads the ledger and the facts [`AuditInput`] hands in,
|
||||
@@ -668,7 +668,7 @@ fn settings_problems(problems: &[String]) -> Vec<Finding> {
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Scope, method and the attestation bar (rules.md B-45; D-9)
|
||||
// Scope, method and the attestation bar (BS-ledger-13; D-9)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/// What an audit covers.
|
||||
@@ -761,7 +761,7 @@ impl Effort {
|
||||
}
|
||||
|
||||
/// How an attestation was made, as the client says (self-reported: the
|
||||
/// books record the claim, never prove it; rules.md B-45).
|
||||
/// books record the claim, never prove it; BS-ledger-13).
|
||||
#[derive(Clone, Debug, Default, PartialEq, Eq, Serialize)]
|
||||
pub struct Method {
|
||||
/// The model that checked, as it names itself.
|
||||
|
||||
Reference in new issue
Block a user