Summary
Evaluate bundling Graphify (safishamsi/graphify, MIT) as an optional code-comprehension aid for the modernization and aidlc plugins — distinct from the Knowledge Wiki grounding layer (#54).
Why this is separate from #54
#54 (Knowledge Wiki) is about pre-generation grounding over a narrow curated corpus (schemas/ontology/ + ADR/Spec) to prevent ontology drift. That is a correctness-axis layer and should keep a minimal first-party implementation (see the prior-art evaluation on #54).
This issue is the other value proposition Graphify surfaced: understanding an unfamiliar whole codebase. That is exactly the brownfield problem modernization (6R: assess → strategize → containerize → cutover) and aidlc construction already face — and where Graphify's whole-repo graph (god nodes, community detection, cross-file/cross-modal "surprise" edges, rationale_for edges) is a natural fit rather than an over-scoped one.
What Graphify offers here
- Multi-modal extraction: code (19 langs via Tree-sitter), Markdown, PDFs, diagrams — useful for legacy repos with mixed docs.
- Whole-repo map: "god nodes" (highest-degree concepts) and surprising cross-module edges to prioritize assessment.
- Reported ~71.5× token reduction vs naive context loading on a mixed corpus — relevant for large legacy estates.
- Ships as a slash command + optional MCP server; AST pass is local (no code leaves the machine), only semantic descriptions hit the configured model.
Open questions to resolve before adoption
- Opt-in only. Must be a non-default, clearly-flagged optional skill — not wired into the core install path. OMA's "install a plugin → dual-axis" promise should not depend on a third-party graph builder.
- Maturity / sustainability. Released 2026-04-03, single maintainer. Acceptable for an optional aid; would need a vendoring/pinning story before any deeper reliance.
- Config-ownership overlap. Graphify installs its own PreToolUse hook + CLAUDE.md directives; OMA's harness owns a PreToolUse hook. PreToolUse arrays are additive, but the composition must be tested (both hooks fire, neither suppresses the other).
- Dependency weight. NetworkX + Tree-sitter + optional vision models — confirm this is acceptable to bundle or whether it stays a documented external install.
Acceptance criteria (draft)
References
Filed from the plugin-UX re-verification thread. OMA currently has zero in-repo references to Graphify.
Summary
Evaluate bundling Graphify (safishamsi/graphify, MIT) as an optional code-comprehension aid for the
modernizationandaidlcplugins — distinct from the Knowledge Wiki grounding layer (#54).Why this is separate from #54
#54 (Knowledge Wiki) is about pre-generation grounding over a narrow curated corpus (
schemas/ontology/+ ADR/Spec) to prevent ontology drift. That is a correctness-axis layer and should keep a minimal first-party implementation (see the prior-art evaluation on #54).This issue is the other value proposition Graphify surfaced: understanding an unfamiliar whole codebase. That is exactly the brownfield problem
modernization(6R: assess → strategize → containerize → cutover) andaidlcconstruction already face — and where Graphify's whole-repo graph (god nodes, community detection, cross-file/cross-modal "surprise" edges,rationale_foredges) is a natural fit rather than an over-scoped one.What Graphify offers here
Open questions to resolve before adoption
Acceptance criteria (draft)
modernization(and/oraidlc), not the default pathReferences
Filed from the plugin-UX re-verification thread. OMA currently has zero in-repo references to Graphify.