iter docs-honesty-lint.1: canonical docs present-tense-honest + wrap-robust pin + Sweep 5
Strips Wunschdenken (forward intent stated as fact) and non-citation post-mortem / doc-archaeology from docs/DESIGN.md (14 corrections incl. 1 Step-14 procedural-catch-all site the spec's illustrative regex would have missed) + docs/PROSE_ROUNDTRIP.md; genuine forward intent (LLM tool-use / MCP / LSP) relocated to roadmap P3. Codifies the tense+modality discriminator as a present-tense DESIGN.md meta- subsection. Guards two ways: wrap-robust enumerated absent/present pin (crates/ailang-core/tests/docs_honesty_pin.rs, norm() whitespace- collapse helper — structurally discharges the recurring grep/contains line-wrap failure family) + wrap-robust advisory Sweep 5 in architect_sweeps.sh (contiguous-fragment regex) with full sweep-count lockstep + new ailang-architect.md "DESIGN.md honesty drift" bullet. KEEPs preserved (Diverge-reserved, regions-rejected, self-labelled tiebreaker). No language/checker/codegen/runtime change — sole crates/ change is the additive pin; ail check/run/build byte-unchanged. Workspace 609/0 (delta +4 pin), sentinel trio green, build clean.
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# bench/architect_sweeps.sh
|
||||
#
|
||||
# Run the four design-md-consolidation sweep-invariant greps against
|
||||
# Run the five DESIGN.md honesty/anchor sweep-invariant greps against
|
||||
# docs/DESIGN.md. Output: matched lines, prefixed by sweep name. Exit 0
|
||||
# if all four sweeps are clean, 1 if any anchor was found.
|
||||
# if all five sweeps are clean, 1 if any anchor was found. Sweeps 1-4
|
||||
# are the design-md-consolidation history-anchor invariants; Sweep 5
|
||||
# is the docs-honesty-lint Wunschdenken / post-mortem invariant.
|
||||
#
|
||||
# Companion to skills/audit/agents/ailang-architect.md "What you check
|
||||
# / DESIGN.md history-anchor regrowth". See JOURNAL 2026-05-10
|
||||
@@ -50,7 +52,10 @@ run_sweep "3 (schema SoT)" \
|
||||
run_sweep "4 (workflow + stale cross-references)" \
|
||||
'agents/README\.md|ailang-docwriter|Recently lifted|see the JOURNAL queue|later the same day|Sharpened later|closure conversion in JOURNAL'
|
||||
|
||||
run_sweep "5 (honesty: wunschdenken + non-citation post-mortem)" \
|
||||
'on the path to|may land in a future|ships in a future iter|[Ww]ill back `Show|[Ww]ill eventually (be|support|back)|[Ii]f/?when [a-z]+ (arrives|lands)|[Aa]n earlier draft of this|previously all diagnostics were|[Ww]hat did change in 20|were retired 20[0-9]{2}-|retired in iter [a-z]|originally listed|\bwas deferred\b|foundation for [a-z]'
|
||||
|
||||
if [[ $HITS -eq 0 ]]; then
|
||||
echo "All four sweeps clean."
|
||||
echo "All five sweeps clean."
|
||||
fi
|
||||
exit $HITS
|
||||
|
||||
Reference in New Issue
Block a user