Repository navigation
Description
Summary
Follow-up to #1898 (fixed via #1902). #1898 fixed prism.py erasing ABAP's CLASS ... DEFINITION/IMPLEMENTATION lines, which correctly restored class_start's raw signal count (struct_class_start / equations["class_start"]) to 2 per real class. But the chart's "Classes Found"/"Class Precision" panels for abap are still completely blank after that fix, and class_data (the DB table backing named-class consumers) still has zero ABAP rows.
Root cause is a separate, third bug: detector.py's named-class extraction in splice() only uses a language's own class_start rule when that language is in _CLASS_START_NAMED_EXTRACTION_LANGS (detector.py:369, epic #1295) --
class_start_pattern = (
self.languages.get(self.primary_lang_id, {}).get("rules", {}).get("class_start")
if self.primary_lang_id in _CLASS_START_NAMED_EXTRACTION_LANGS
else None
)ABAP isn't in that set, so it falls through to the generic legacy fallback regex:
r"^\s*(?:export\s+|public\s+|abstract\s+)?(?:class|struct|interface|trait|enum)\s+([a-zA-Z0-9_]+)..."compiled with re.MULTILINE only, no re.I. Real ABAP class declarations are always uppercase (CLASS <name> DEFINITION), so this fallback can never match ABAP source at all -- the named classes list stays permanently empty regardless of prism.py's fix, which is why class_data has zero rows even though struct_class_start/file_data.class_count are now correct.
Why this wasn't just "add abap to the epic's set"
Epic #1295's own documented verification method is python tests/tools/tree_sitter_accuracy_audit.py --lang <x> against tree-sitter ground truth (see the allowlist's own comment, detector.py:352-368) -- which structurally cannot run for ABAP, since it has no tree-sitter grammar at all (confirmed, one of only 5 gg_only languages with neither tree-sitter nor ctags). That's the likely reason ABAP was never added when the epic closed (2026-08-12) -- not an oversight, a verification-method gap specific to tree-sitter-blind languages.
Evidence this is safe to add anyway
This session already independently verified ABAP's class_start regex via a different methodology (direct source cross-check, since no tree-sitter ground truth exists): 100% precision on all 12 real DEFINITION/IMPLEMENTATION matches across the 6 real classes in language-crucible/data/abap/abapGit/, zero false positives (see docs/language_status/abap.md §9, the class_start subsection). Reproduced directly:
import tri_comparison_gatherer as g
results = g.gather_language("abap")
for r in results:
print(r.file_path, "gg_classes:", len(r.gg_classes), [c.name for c in r.gg_classes])
# every .clas.abap file: gg_classes: 0 -- despite struct_class_start correctly showing 2Suggested fix
Add "abap" to _CLASS_START_NAMED_EXTRACTION_LANGS. Verify via the crucible differential scan (crucible_check.py) same as #1898/#1899, plus confirm class_data/class-method linkage (parent_class_name, method_count, state_entanglement) now populate correctly for abap's 6 real classes.
Activity
feat(tri-comparison): manual-verification precision marker for gg-onl…
feat(tri-comparison): badge for verified Args Found, document gg-only…