Skip to content

docs(self-scan): validate agc_assembly tri-comparison ledger - #1945

Merged
squid-protocol merged 1 commit into
mainfrom
sweep/agc-assembly-ledger-sweep
Aug 20, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
sweep/agc-assembly-ledger-sweep

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

  • Validated both agc_assembly tri-comparison ledger shapes (function existence, 265 + 35 occurrences), fully root-caused with real file:line evidence -- see the ledger entries' verdict fields for the full writeup.
  • agree[gitgalaxy]_vs[ctags] (35): confirmed GitGalaxy correctly finds real AGC labels (hyphenated offset-names, digit/minus-leading names) that ctags' generic Asm parser structurally can't tag. Credited to GitGalaxy; logged as Claim 12 in docs/why_gitgalaxy_beats_ast_here.md.
  • agree[ctags]_vs[gitgalaxy] (265): mixed-cause. 215/265 is a legitimate code-label-vs-data-label precision distinction (not a bug). 50/265 is a real GitGalaxy detector.py defect (RELINT misclassified as a function-terminator + an over-eager single-line-body discard filter) -- a follow-up issue is being filed for this separately once a sibling-language blast-radius check completes.
  • Regenerated tri_comparison_chart.py --all --write; diff confirmed scoped to agc_assembly only (Func Precision now a clean 760/760, new GitGalaxy badge earned on that panel).
  • Sanity-checked the "no classes" question: class_start is None in agc_assembly's language definition and ctags' own kind-map is empty for it too -- AGC assembly genuinely has no OOP construct, correct by design, not a gap.

Test plan

  • python tests/ruff_audit.py --ci -- clean (baseline 78, no new findings)
  • python tests/mypy_audit.py --ci -- clean (baseline 2, no new errors)
  • Chart regeneration diff manually reviewed -- scoped to agc_assembly's row + summary totals only

🤖 Generated with Claude Code

…nce shapes

Both agc_assembly ledger shapes fully characterized and validated:

- agree[gitgalaxy]_vs[ctags] (35 occurrences): confirmed GitGalaxy correctly
  extracts real AGC labels (embedded-hyphen offset names like TIG-35, and
  digit/minus-leading names like 1CHK) that Universal Ctags' generic Asm
  parser structurally cannot tag (confirmed via direct `ctags
  --language-force=Asm` runs -- zero tags emitted for any of them). Credited
  to gitgalaxy; logged as Claim 12 in why_gitgalaxy_beats_ast_here.md.

- agree[ctags]_vs[gitgalaxy] (265 occurrences): mixed-cause, fully accounted
  for (215 + 50 = 265). 215 is a genuine, intentional precision distinction
  -- ctags tags every line-start label including pure data/constant labels,
  GitGalaxy's func_start only matches labels followed by a real instruction.
  50 is a real GitGalaxy defect in detector.py's _slice_by_labels, two
  independent root causes: RELINT misclassified as a function-terminator
  keyword, and single-instruction subroutine bodies discarded by an
  over-eager line-count filter. No credit/debit -- neither bucket is a
  corroborated shared mistake.

Regenerated via tri_comparison_chart.py --all --write; diff confirmed
scoped to agc_assembly only (Func Precision now a clean 760/760, GitGalaxy
badge earned on that panel).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@squid-protocol
squid-protocol merged commit 57a5802 into main Aug 20, 2026
2 checks passed
@squid-protocol
squid-protocol deleted the sweep/agc-assembly-ledger-sweep branch August 20, 2026 18:48
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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