Browse Source

G-093 detail: align Scope mirror with the index (goals_lint finding)

Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.com
master
Julian Noble 6 days ago
parent
commit
5b27dfaea4
  1. 2
      goals/G-093-runtests-includepaths-discovery.md

2
goals/G-093-runtests-includepaths-discovery.md

@ -1,7 +1,7 @@
# G-093 runtests -include-paths multi-pattern/repeated-flag discovery: investigate and fix
Status: proposed
Scope: src/tests/runtests.tcl (-include-paths flattening and passthrough), src/modules/punk/path-999999.0a1.0.tm (treefilenames walk/prune + globmatchpath as implicated), src/modules/punk/args-999999.0a1.0.tm (-multiple accumulation, only if implicated), src/tests/ (runner-targeting regression suite), src/tests/AGENTS.md (documented semantics)
Scope: src/tests/runtests.tcl, src/modules/punk/path-999999.0a1.0.tm (treefilenames/globmatchpath as implicated), src/modules/punk/args-999999.0a1.0.tm (only if -multiple implicated), src/tests/ (runner-targeting regression suite), src/tests/AGENTS.md
Goal: runtests.tcl -include-paths discovery honours its documented contract - a single value carrying multiple space-separated glob patterns includes every pattern's matches, repeated -include-paths flags accumulate, and deep ** patterns match regardless of whether explicit file-tail globs are supplied - with the verified semantics pinned by a regression suite and the root cause recorded.
Acceptance: the two 2026-07-19 failures reproduce as characterization tests before the fix and pass after it - (a) a single -include-paths value listing four deep patterns (the G-092 measurement set) discovers files from all four subtrees under the default *.test tail glob, and (b) two repeated -include-paths flags naming distinct subtrees discover both (observed matching zero files); the root cause is identified and recorded in this file; a regression suite under src/tests covers single-value multi-pattern, repeated-flag, deep-pattern and tail-glob-present/absent combinations; a full-suite default-discovery run before and after the fix compares PARITY ok via scriptlib/developer/runtests_parity.tcl (default '**' discovery must be unaffected); src/tests/AGENTS.md -include-paths wording is reconciled with the verified semantics.

Loading…
Cancel
Save