gabriel / muse public
feat BREAKING code task/typing-audit #2 / 3
gabriel · 168 days ago · Apr 13, 2026 · Diff

feat(code): maximize AST resolution — Go struct/interface, Swift traits, Kotlin objects, LangSpec cleanup

- LangSpec gains child_kind_overrides: _KindMap — child node type overrides parent-level kind, enabling Go type_spec disambiguation without query duplication - LangSpec gains resolve_selector: bool — replaces the module_name string smell in TreeSitterAdapter; _CSS_SPEC sets True, all others False - Go: type_spec now yields struct (struct_type child), interface (interface_type child), or type_alias (anything else) — Dog/Animal/MyInt all correctly typed - Swift: struct_declaration→struct, enum_declaration→enum, protocol_declaration→trait (protocol ≈ Rust trait), typealias_declaration→type_alias - Kotlin: object_declaration→object (singleton, distinct from class) - SymbolKind gains 'object' for Kotlin/Swift singleton declarations - Tests: test_go_struct_interface_type_alias_kinds, test_kotlin_object_kind added

sha256:db642d7cce328f9b2c021b6e923e53415b88346e1a800bfdeba98386a79fa771 sha
+2 ~19 symbols
sha256:fa069d39a6cbb865304c5555123d9540f27815b369109dd55cb75805f4320d3e snapshot
+2
symbols added
~19
symbols modified
0
dead code introduced
Semantic Changes 21 symbols
~ tests/test_code_plugin.py .py 2 symbols added, 1 symbol modified
+ test_go_struct_interface_type_alias_kinds method method test_go_struct_interface_type_alias_kinds L379–392
+ test_kotlin_object_kind method method test_kotlin_object_kind L493–498

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:db642d7cce328f9b2c021b6e923e53415b88346e1a800bfdeba98386a79fa771 --body "your comment"