Skip to content

Validate css function/existence tri-comparison ledger shape - #2069

Merged
squid-protocol merged 1 commit into
mainfrom
tri-comparison-validate-css
Aug 21, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
tri-comparison-validate-css

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

  • CSS's single ledger shape (agree[gitgalaxy,tree_sitter]_vs[ctags], function/existence) is a confirmed ctags-side structural limitation, not a GitGalaxy defect
  • GitGalaxy's func_start regex and tree-sitter's CSS grammar agree exactly (3/3, zero diffs) that @media/@supports/etc. at-rules are the closest CSS analogue to a function, matching the existing tree_sitter_accuracy_audit.py reports real_functions=0 for css/kotlin/powershell/zig despite confirmed function-shaped nodes in real corpus files #1313 convention
  • ctags has no function-equivalent concept for CSS at all (already documented as an empty FUNCTION_KIND_MAP entry in ctags_reader.py)
  • No code fix needed, no credit/debit adjustment — ctags simply has no comparable claim here
  • Regenerated the full tri-comparison chart so css shows a resolved badge instead of an asterisk

Test plan

  • tri_comparison_chart.py --all --write regenerated cleanly, diff scoped to css only

🤖 Generated with Claude Code

The single css shape (agree[gitgalaxy,tree_sitter]_vs[ctags], function/
existence) is a confirmed ctags-side structural limitation, not a
GitGalaxy defect. GitGalaxy's func_start regex and tree-sitter's CSS
grammar agree exactly (3/3, zero diffs) that @media/@supports/etc.
at-rules are the closest CSS analogue to a function, matching the
existing #1313 convention; ctags has no function-equivalent concept
for CSS at all (already documented as an empty FUNCTION_KIND_MAP entry
in ctags_reader.py). No code fix needed, no credit/debit adjustment --
ctags simply has no comparable claim here. Regenerated the full chart
so css shows a resolved badge instead of an asterisk.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@squid-protocol
squid-protocol merged commit 17cd790 into main Aug 21, 2026
5 checks passed
@squid-protocol
squid-protocol deleted the tri-comparison-validate-css branch August 21, 2026 22:11
@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