feat!: granular node types, GitNexus comparison, PreToolUse hooks by carlos-alm · Pull Request #14 · optave/ops-codegraph-tool · GitHub
Skip to content

feat!: granular node types, GitNexus comparison, PreToolUse hooks#14

Merged
carlos-alm merged 1 commit into
mainfrom
feat/granular-node-types
Feb 22, 2026
Merged

feat!: granular node types, GitNexus comparison, PreToolUse hooks#14
carlos-alm merged 1 commit into
mainfrom
feat/granular-node-types

Conversation

@carlos-alm

Copy link
Copy Markdown
Contributor

Summary

  • Granular node types: Go structs to struct, Rust structs/enums/traits to struct/enum/trait, Java enums to enum, C# structs/records/enums to struct/record/enum, PHP traits/enums to trait/enum, Ruby modules to module — in both WASM and native Rust extractors
  • Query layer: Added SYMBOL_KINDS constant, extended kindIcon(), updated all kind IN SQL filters across queries, builder, export, embedder, cycles, watcher, and MCP
  • README: Added GitNexus column to comparison table, updated --kind flag docs
  • ROADMAP: Added Phase 2.5 Multi-Repo MCP
  • PreToolUse hooks: Read/Grep context enrichment via codegraph deps
  • CLAUDE.md: Documented node kinds design decision

Test plan

  • npm run lint — clean (46 files)
  • npm test — 296 passed, 0 failures
  • Manual: build a project with Go/Rust/Java code, verify codegraph query <struct> returns kind: struct

BREAKING CHANGE: Node kinds changed for structs, enums, traits, records, and modules. Users must rebuild with codegraph build --no-incremental.

…, multi-repo MCP roadmap

- Node types: Go struct→struct, Rust struct/enum/trait, Java enum,
  C# struct/record/enum, PHP trait/enum, Ruby module — in both WASM
  and native Rust extractors
- Add SYMBOL_KINDS constant and update all kind IN filters across
  queries, builder, export, embedder, cycles, watcher, and MCP
- Add GitNexus column to README comparison table
- Add Phase 2.5 Multi-Repo MCP to ROADMAP
- Add PreToolUse hooks for Read/Grep context enrichment via codegraph deps
- Update CLAUDE.md and README with new node kind documentation

BREAKING CHANGE: Node kinds changed for structs, enums, traits, records,
and modules. Rebuild with `codegraph build --no-incremental`.
@greptile-apps

greptile-apps Bot commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

22 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@greptile-apps

greptile-apps Bot commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

@carlos-alm carlos-alm merged commit 72535fb into main Feb 22, 2026
18 checks passed
@carlos-alm carlos-alm deleted the feat/granular-node-types branch February 22, 2026 07:31
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