Repository navigation
Crystal: enroll in named class extraction (Part of #9200) - #9323
squid-protocol wants to merge 2 commits into
Conversation
…s path (Part of #9200) Crystal fell back to the generic class regex: `class HTTP::Client` was read as `HTTP` and `module` / `enum` declarations were missed (found 23 of 54 classes vs tree-sitter). Its own class_start captures the whole namespaced name; enrolling it in the #1264 allowlist gives 54 of 54 found, extra_classes 10 -> 3. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #9323 @ 9fce96d: 1 failed check(s) == shard 4 (1674245 LOC) (failure) -- real |
…n (Crystal module/class names) (Part of #9200) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (d80ea3c) is not the one a maintainer labelled |
…ersedes #9313 #9318 #9323) (#9325) * fold #9313, #9318, #9323: hand-written changes (Go, TypeScript, Crystal); goldens follow in the bless commit Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * rebless: one bless for the folded Go, TypeScript and Crystal changes Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
|
Closing as superseded: its change is already on main. Commit b66d14f ("Rebless once for 3 stacked engine fixes: Go, TypeScript, Crystal (supersedes #9313 #9318 #9323)", #9325) folded it in, and 🤖 Generated with Claude Code |
Part of #9200 (item 4, slice 1: Crystal).
What
Enrolls
crystalin_CLASS_START_NAMED_EXTRACTION_LANGS(#1264). Crystal used the generic fallback regex, soclass HTTP::Clientwas namedHTTPandmodule/enumwere missed. Its ownclass_startalready captures the full namespaced path.Tree-sitter audit (crystal): found_classes 23 -> 54 of 54, extra_classes 10 -> 3. Baseline regenerated.
Why the goldens moved
Only crystal class rows and the digests that roll them up (verified: drift lists crystal files plus network/digest sections). Blessed via golden-lock.sh on both legs.
Tests
test_named_classes_keep_the_namespaced_path_and_every_declaration_kind_9200(namespaced, generic, abstract, private enum, module, comment/string decoys).Facts checked
Items 1-3 of #9200 are already on main (#9212, #9243, #9254, #9284, #9289); only item 4 remained.
Remaining slices
Class enrollment for erlang, nim, julia, r, fsharp (each needs its own class_start hardening + audit node map).
Sibling gaps
Same mechanism in erlang/nim/julia/r/fsharp; no burned-estate program needs them.
Lessons for agents
None new.
🤖 Generated with Claude Code