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
@@ -3,7 +3,7 @@
|
||||
//! backfill command.
|
||||
//!
|
||||
//! Expected behavior comes from `docs/mcp-interface.md` ("Tools —
|
||||
//! evidence", "Tools — receipts & documents") and rules.md B-44. Every
|
||||
//! evidence", "Tools — receipts & documents") and BS-ledger-12. Every
|
||||
//! call goes through a real books server as an agent reaches it
|
||||
//! (`common.rs`).
|
||||
|
||||
@@ -318,7 +318,7 @@ fn annotations_and_searches() {
|
||||
assert_eq!(answer_of(&r).unwrap()["status"], "ok");
|
||||
}
|
||||
|
||||
/// Plan P6 step 4 and rules.md B-44 item 5: consolidation never leaves an
|
||||
/// Plan P6 step 4 and BS-ledger-12 item 5: consolidation never leaves an
|
||||
/// entry the receipt policy covers with no evidence.
|
||||
#[test]
|
||||
fn consolidation_never_removes_an_entrys_only_evidence() {
|
||||
|
||||
Reference in new issue
Block a user