gemini-cli-extensions / gemini-cli-extensions/conductor
feat: Integrate Semantic Graphing & Rich Skeletons for Context Efficiency
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 295
- Avg merge
- 9m
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem?
Yes. Currently, Conductor struggles to scale with "brownfield" projects. It reads full source files to gather context, which quickly consumes token windows and increases costs. This makes managing large, existing codebases costly.
Proposed Solution
Integrate a Semantic Dependency Graph and Rich Skeletonization into the Conductor workflow (based on aic).
Instead of ingesting raw code, the agent should operate on "Rich Skeletons"—lightweight representations of the code that preserve the API contract but discard implementation logic.
Technical Implementation
This introduces a local AST-based indexing layer:
Rich Skeletons: Compressed file representations containing only signatures, docstrings, and side-effects (e.g., RAISES, CALLS). This reduces context size by ~90%.
Dependency Graph: A local SQLite index that maps file relationships. This allows the agent to fetch a file's context and its immediate dependencies automatically, reducing hallucination.
Zero-Latency Analysis: Uses strict static analysis (AST) rather than LLM calls to build the index.
Associated PR
I have implemented this in PR #61. The changes cover:
Core: Porting the aic Skeletonizer and SQLite DB layer.
/conductor:setup: Builds the semantic graph at project initialization.
/conductor:newTrack & /conductor:implement: Updated to consume skeletons instead of raw files for significantly deeper context at lower token cost.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing PR #61 and the linked aic project, then trace the /conductor:setup, /conductor:newTrack, and /conductor:implement entry points described in the issue. Done means the semantic graph and rich skeleton workflow are integrated so these commands consume the indexed context instead of raw files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sqlite
- Domain
- databases, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 15/100