Skip to content

Fix tri-comparison chart/ledger regen that ran without real ctags - #2115

Merged
squid-protocol merged 2 commits into
mainfrom
fix-tri-comparison-ctags-regen
Aug 22, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
fix-tri-comparison-ctags-regen

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

  • PR Fix #1892: COBOL func_start regex reserved word shield #2111's chart/ledger regen ran with no real universal-ctags on PATH (Ubuntu's arduino-ctags package shadows the ctags binary name), so every language silently degraded to a 2-tool comparison instead of erroring — cobol lost its "G" full-precision badge (showed a nonsensical 0/168 precision), fortran lost its ctags bar, and ctags data vanished from every ctags-covered language in the chart.
  • Regenerated for real with ctags --version confirmed as "Universal Ctags" on PATH, via tests/tools/tri_comparison_chart.py --all --write and tests/tools/tri_comparison_report.py --write. cobol now correctly shows 168 (up from 148, reflecting the real cobol func_start regex's reserved-word shield uses a bare \b, wrongly excluding real paragraphs like DELETE-POLICY-DB2-INFO #1892 recall improvement) against ctags' 241, badge restored; fortran back to 138/138 ctags-matched. No validated status/verdict was touched — only last_seen_count/still_reproduces were recomputed from a live gather, which also self-corrected a second slip: the cobol func_start regex's reserved-word shield uses a bare \b, wrongly excluding real paragraphs like DELETE-POLICY-DB2-INFO #1892 fix commit had hand-set still_reproduces: false on a cobol shape whose majority cause (ctags mistagging END-IF. as a paragraph) is permanent and still reproduces.
  • Adds a full "Tri-Comparison Chart & Ledger" section to ANTIGRAVITY.md (Gemini/Antigravity had zero guidance on this system, which is how the regen shipped unnoticed) and a pointer from CLAUDE.md's existing tri-comparison section — both now cite docs/self_scan/tri_comparison_README.md as the single canonical regen doc instead of duplicating the procedure.

Test plan

🤖 Generated with Claude Code

squid-protocol and others added 2 commits August 22, 2026 10:13
PR #2111's regen (part of the #1892 cobol fix) ran with no universal-ctags
binary on PATH, so every language silently degraded to a 2-tool
(GitGalaxy + tree-sitter) comparison instead of erroring loudly -- exactly
the failure mode docs/self_scan/tri_comparison_README.md already warns
about (Ubuntu's arduino-ctags shadows the `ctags` binary name).

Concretely this dropped cobol's and fortran's ctags bars/badges entirely
(cobol lost its "G" full-precision badge and showed a nonsensical 0/168
precision; fortran's ctags bar vanished and gitgalaxy precision read as
degraded), and lost ctags data across every other ctags-covered language
in the chart.

Regenerated with a real universal-ctags on PATH via
tests/tools/tri_comparison_chart.py --all --write and
tests/tools/tri_comparison_report.py --write. cobol now correctly shows
168 (up from 148, reflecting the real #1892 recall improvement) against
ctags' 241, with the "G" badge restored; fortran is back to its prior
138/138 ctags-matched state. No validated ledger status/verdict was
touched by the regen (per tri_comparison_ledger.py's own lifecycle
rules) -- only last_seen_count/still_reproduces were recomputed from a
live gather, which also self-corrected a separate slip: the #1892 fix
commit had hand-set still_reproduces=false on
cobol/function/existence/agree[ctags]_vs[gitgalaxy] even though that
shape's majority cause (ctags mistagging END-IF as a paragraph) is a
permanent, structural ctags limitation that still reproduces.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Gemini/Antigravity had zero guidance on the tri-comparison chart/ledger
system, which is exactly how PR #2111's regen shipped without a real
ctags binary on PATH and went unnoticed. Adds a full section to
ANTIGRAVITY.md (the ctags-binary check, the --all-only write rule, the
never-hand-edit-ledger-status rule) mirroring what the
tri-comparison-ledger-sweep skill already taught Claude, and adds a
pointer from CLAUDE.md's existing tri-comparison section. Both now cite
docs/self_scan/tri_comparison_README.md as the single canonical regen
doc instead of each carrying its own copy of the procedure.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit e35b91e into main Aug 22, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the fix-tri-comparison-ctags-regen branch August 22, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant