iter design-md-rolesplit.tidy (DONE 7/7): resolve milestone-close audit drift
Gate-first TDD: widened design_index_pin.rs clause-3 to a hand-rolled
FAITHFUL Sweep-1 superset (case-sensitive digit-anchored line anchors
+ Sweep-1's ^[^/]* path-excluded date + the audit-named
decision-record phrases, case-insensitive); no regex dep; the blanket
iter-detector rejected as unworkable. Sentence-level strip of
faithfully-migrated history/decision-record prose out of 5 contract
files (the audit's 3 spot-checked + roundtrip-invariant.md +
data-model.md the exhaustive scan found) into the decision-record
journal, each replaced by its present-tense contract equivalent;
float-semantics.md stale 'see Str ABI below' -> str-abi.md;
architect_sweeps honesty sweeps re-scoped to design/contracts only
(models/ is the narrative tier) + ailang-architect.md lockstep.
Invariant: clause-3 GREEN => Sweep-1 clean in contracts/.
The prior dispatch correctly BLOCKED on a real plan defect (iso_date
lacked Sweep-1's path-exclusion, over-firing on legit
docs/specs/2026-.. citations); per the two+-defects-in-one-iteration
discipline the audit Resolution mechanism+scope were corrected
upstream in lockstep (f2cdd67) before re-dispatch, not patched a
third time.
Boss-verified independently: cargo test --workspace 646/0,
design_index_pin 4/4 (clause-3 RED->GREEN), architect_sweeps.sh exit
0 'All five sweeps clean' (acceptance criterion 9 met), acceptance
grep CLEAN, 3 docs_honesty_pin pinned runs each exactly 1 contiguous
match. Zero spec/quality re-loops. FINAL design-md-rolesplit
iteration — milestone functionally complete, audited, drift-resolved,
hard gate enforces the honesty spirit.
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
# bench/architect_sweeps.sh
|
||||
#
|
||||
# Run the five honesty/anchor sweep-invariant greps against the
|
||||
# design/ prose set (design/contracts + design/models); the spine is
|
||||
# design/contracts (the honesty-bound contract surface; design/models
|
||||
# is the narrative tier, out of honesty-sweep scope); the spine is
|
||||
# design/INDEX.md. Output: matched lines, prefixed by sweep name.
|
||||
# Exit 0 if all five sweeps are clean, 1 if any anchor was found,
|
||||
# 2 if the spine (design/INDEX.md) is not found. Sweeps 1-4 are the
|
||||
@@ -22,7 +23,7 @@
|
||||
|
||||
set -u
|
||||
INDEX="design/INDEX.md"
|
||||
DESIGN_GLOB="design/contracts design/models"
|
||||
DESIGN_GLOB="design/contracts" # contracts only — design/models is the narrative tier; "as of milestone N" context is legitimate there
|
||||
HITS=0
|
||||
|
||||
if [[ ! -f "$INDEX" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user