Repository navigation
docs: manual ABAP verification + no-comparison-tool sweep fallback - #1897
Merged
Merged
Conversation
…allback ABAP has neither a tree-sitter grammar nor a ctags parser, so the normal tri-comparison-ledger-sweep methodology has nothing to dispatch -- the ledger needs two tools disagreeing to produce a shape. Did a manual by-hand pass instead: func_start hits 100% precision/recall against an independent grep cross-check on abapGit's 7-file crucible corpus (124/124), and class_start's apparent DEFINITION+IMPLEMENTATION double-count turned out to match objective-c's own established @interface/@implementation convention, not an ABAP-specific bug. Zero engine defects found. Added docs/language_status/abap.md (sections 1-8 via language-status skill, section 9 the manual verification writeup) and a dedicated fallback section to tri-comparison-ledger-sweep's SKILL.md for the 5 languages with no comparison tool at all (abap, dockerfile, jcl, livecode, yaml), so future sweeps don't waste a dispatch looking for ledger shapes that can't exist. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
2 tasks done
squid-protocol
added a commit
that referenced
this pull request
Aug 20, 2026
The manual ABAP verification merged in #1897 tested func_start/class_start regexes directly against raw file text and concluded "100% precision, zero defects." That's true of the regexes in isolation, but skips prism.py's comment/code splitter and detector.py's segment-routing, both of which run before the regex sees real production input. Checking the actual galaxyscope pipeline output found two real bugs: - prism.py's _strip_positional_comments() reuses Fortran/COBOL's column-1 POSITIONAL_ANCHORS set ({"*","C","c","/","!"}) for ABAP, so every flush-left `CLASS <name> DEFINITION`/`IMPLEMENTATION` line (column 1 = literal "C") is erased into the comment stream before class_start ever runs. struct_class_start is 0 for every ABAP file in the corpus despite 6 real classes existing. Filed as #1898. - detector.py's ScopeParsingRegistry has no ABAP entry, so it falls through to brace-based function-body slicing even though ABAP has no braces (METHOD ... ENDMETHOD., not {}). Only 16 of 124 real methods survive into function_data/ function_count -- the ones that happen to sit near a stray brace-like character by coincidence. Filed as #1899. Rewrote abap.md's §9 to document both bugs with evidence and isolated repros, and updated tri-comparison-ledger-sweep's SKILL.md fallback procedure to require checking real galaxyscope/DB output (not just the raw regex) before concluding a zero-comparison-tool language's signature is correct -- the actual lesson this whole investigation surfaced. Also fixes .claude/settings.json's PreToolUse hook command to use $CLAUDE_PROJECT_DIR instead of a path relative to cwd -- it broke every Bash call this session after an incidental `cd` left the shell outside repo root. Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tri-comparison-ledger-sweep's normal ledger-dispatch pipeline has nothing to work with for it.func_startregex hits 100% precision/recall against an independent grep cross-check on abapGit's 7-file crucible corpus (124/124 realMETHODimplementations, zero false positives).class_start's apparent DEFINITION+IMPLEMENTATION double-count per class turned out to matchobjective-c's own established@interface/@implementationconvention already in this engine — not an ABAP-specific bug. Zero confirmed engine defects found.docs/language_status/abap.md(sections 1-8 via thelanguage-statusskill, section 9 is the manual-verification writeup) and updated its row indocs/language_status/README.md..claude/skills/tri-comparison-ledger-sweep/SKILL.mddocumenting what to do for a language with zero comparison tools, so a future sweep doesn't spend a dispatch looking for ledger shapes that structurally can't exist for these 5 languages.Test plan
func_startmatch counts against an independent grep on all 7 corpus files.class_start's apparent double-count againstobjective-c's regex before concluding it's not a bug.🤖 Generated with Claude Code