Skip to content

fix(cobol): exclude LOCAL-STORAGE from func_start capture (#1890) - #2117

Merged
squid-protocol merged 8 commits into
mainfrom
fix-1890-cobol-local-storage
Aug 22, 2026
Merged

fix(cobol): exclude LOCAL-STORAGE from func_start capture (#1890)#2117
squid-protocol merged 8 commits into
mainfrom
fix-1890-cobol-local-storage

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #1890. Prevents LOCAL-STORAGE SECTION from being misidentified as a function.

squid-protocol and others added 4 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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
@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 8250612 into main Aug 22, 2026
29 checks passed
@squid-protocol
squid-protocol deleted the fix-1890-cobol-local-storage branch August 22, 2026 15:31
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.

cobol func_start regex doesn't exclude LOCAL-STORAGE from paragraph/section capture

1 participant