You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(devx): the two corpus walkers skip .cache/, so a console pin bump no longer reds on objectui's files (#15557) (#15596)
`scripts/build-console.sh` materialises objectui at the pinned SHA into
`.cache/objectui-<sha>/` -- a whole foreign checkout, gitignored, that every
console pin bump must create. Both repo-wide corpus walkers descended into it:
`check-comment-mask-corpus` judged objectui's sources against this repo's
masker and told the operator to pin a shape in `js-comment-mask.mjs`, and
`check-agent-test-spelling` red on objectui's own AGENTS.md while its
`deriveVitestScripts` walk let a foreign manifest widen the script names it
judges here. CI never saw either, because the lint job does not build the
console.
Both walkers now carry `.cache` in the directory skip set they already keep,
next to `node_modules` -- the same "not our source" class. Each self-test gains
a control that plants the SAME BYTES inside and outside `.cache/` on a real
temp tree: the copy inside never enters the corpus, the copy outside still
reds, so the exclusion cannot become a mute button.
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: scripts/check-comment-mask-corpus.mjs
+62-7Lines changed: 62 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -125,8 +125,9 @@
125
125
126
126
// dispatch-gates: whole-tree-population -- `collectSources` walks every authored JS/TS file from the repo root, so the corpus is the whole tree; the one literal below names the masker this gate exercises, not the files it reads.
0 commit comments