From 7c3ae51464d9c3b9afe5827432ea4b13740a0dc8 Mon Sep 17 00:00:00 2001 From: Julian Noble Date: Mon, 3 Aug 2026 16:00:02 +1000 Subject: [PATCH] assetorigin_check: skip _mint/_bake workdirs alongside _build in the sidecar walk The G-135 checker's directory walk skipped only {.git _build} - authored 2026-07-28, before the G-155 _build -> _mint/_bake workdir renames. A default 'check' sweep would descend any _mint staging or _bake kit trees under its territory (src/ minus buildsuites, scriptlib/, goals/) and could classify staged asset copies. Skip set is now {.git _build _mint _bake}; usage comment updated to match. Verified: selftest 16/16 passed; default check sweep 9/9 verified. Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.com --- scriptlib/developer/assetorigin_check.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scriptlib/developer/assetorigin_check.tcl b/scriptlib/developer/assetorigin_check.tcl index 7c1ff85a..ba235f61 100644 --- a/scriptlib/developer/assetorigin_check.tcl +++ b/scriptlib/developer/assetorigin_check.tcl @@ -28,8 +28,8 @@ # Find *.assetorigin.toml sidecars under the given files/directories and # classify each paired asset. Default paths: src/ (minus buildsuites/), # scriptlib/ and goals/ under the repo root containing this script - the -# versioned territory where records live; .git and _build subtrees are -# always skipped. Build outputs (bin/, root modules/ and lib/) and +# versioned territory where records live; .git, _build, _mint and _bake +# subtrees are always skipped. Build outputs (bin/, root modules/ and lib/) and # reference material are walked only when named explicitly. Findings # (artifact-absent, replaced, source-absent, stale) print one line each; # verified and ignored records are counted, and listed too with -all. @@ -241,7 +241,7 @@ proc find_sidecars {paths {skipdirs {}}} { set p [lindex $queue 0] set queue [lrange $queue 1 end] if {[file isdirectory $p]} { - if {[file tail $p] in {.git _build} || $p in $skips} continue + if {[file tail $p] in {.git _build _mint _bake} || $p in $skips} continue foreach sub [lsort [glob -nocomplain -directory $p *]] { lappend queue $sub }