Repository navigation
Closed
Labels
bugUnintended behavior or logic failure in the enginescope:infraCI, tooling, churn/factory, docs infrastructuretestingUnit, integration, and E2E pipeline verification
Description
Problem
tree-sitter-accuracy-audit fails on origin/main against the pinned language-crucible v1.7.0. Each of lua, powershell, python, rust and shell scans one more file than its baseline (for example lua files_scanned baseline=110, current=111).
Evidence
- The workflow is path-filtered to
pull_request, so it only runs when its paths change. Last green run: 2026-10-06 09:13 UTC (fix/4544-rust-imports, 068ff8b). The next run, PR tooling: one crucible pin manifest -- get / check / sync / bump, workflows off sed #4597 (2026-10-07, a CI-plumbing change that only edits the workflow's pin lookup), failed with the samev1.7.0corpus ref. - The tooling: one crucible pin manifest -- get / check / sync / bump, workflows off sed #4597 agent reproduced the failure locally on origin/main with the v1.7.0 corpus, so tooling: one crucible pin manifest -- get / check / sync / bump, workflows off sed #4597 did not cause it.
- Suspect: fix(aperture): Gate 4.3 matches generator banners, not prose (#4559) #4569 "fix(aperture): Gate 4.3 matches generator banners, not prose", merged 2026-10-06 14:14 UTC, after the last green run. It narrows which files count as generated, so files whose prose mentioned generation are now scanned: +1 file per language fits. Also merged in that window: aperture: exclude vendored code under every common spelling (#4545) #4573 (aperture: exclude vendored code), though that would remove files rather than add them.
Impact
- The audit is red on main but nothing shows it, because no main run is triggered. Any PR that touches its paths inherits a red check it didn't cause (tooling: one crucible pin manifest -- get / check / sync / bump, workflows off sed #4597 now).
What to decide
- If the newly scanned files are correctly non-generated (fix(aperture): Gate 4.3 matches generator banners, not prose (#4559) #4569 working as intended): regenerate the tree-sitter accuracy baseline with the repo's tool, then review the per-language diffs.
- If they are generated files that fix(aperture): Gate 4.3 matches generator banners, not prose (#4559) #4569 now misses: fix the gate.
- Consider also running this audit on push to main or on a schedule, so a baseline drift shows on main and not first on an unrelated PR.
Acceptance criteria
- Root cause confirmed (which file per language, and whether fix(aperture): Gate 4.3 matches generator banners, not prose (#4559) #4569 is the cause)
- Baseline regenerated or gate fixed; the audit is green on main's v1.7.0 corpus
- Decision recorded on whether the audit runs on main
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
bugUnintended behavior or logic failure in the enginescope:infraCI, tooling, churn/factory, docs infrastructuretestingUnit, integration, and E2E pipeline verification
Activity
fix: tree-sitter accuracy baseline after #4569 (Fixes #4599)
fix: tree-sitter accuracy baseline after #4569 (Fixes #4599) (#4604)