This file is the backlog, not the architecture reference.
Documentation policy:
README.mdis user-facing.ARCHITECTURE.mdholds durable implementation and contract details.TODO.mdtracks pending work only.
Goal:
- Make the server better at answering "how is this used?" and "what is this code doing?" instead of only returning isolated structural facts.
Candidate work:
- Add
get_usage_contextto include surrounding conditions, parameter flow, and local call-site context. - Add
analyze_call_chainsfor bounded multi-hop traversal. - Add
find_patternsfor common code patterns such as singleton and observer. - Add
get_semantic_summaryfor higher-level behavior summaries derived from method bodies. - Add
analyze_stateto track field and property mutations plus dependent state.
Notes:
- High effort.
- Likely spans multiple services rather than fitting cleanly into one new endpoint.
Goal:
- Make a fresh AI session more successful when it has only approximate symbols from foreign code, old mod code, or remembered APIs.
Candidate work:
- Add optional surrounding source snippets to
find_usagesandfind_callers. - Add a compact
why_this_resultscore/debug field for search tools when diagnostics are enabled.
Goal:
- Make failures easier to act on without forcing the caller to guess what went wrong.
Candidate work:
- Extend stable error codes beyond the current symbol-resolution and assembly-loaded cases.
- Include suggestions for more fuzzy misses where there is a clear likely match, using the symbol-exploration diagnostics as the model.
- Add a
validate_assemblyor equivalent health-check tool. - Expand
get_server_statswith diagnostic warnings where useful.
- Add items here only if they are still pending.
- Move durable design rules to
ARCHITECTURE.md. - Update
README.mdonly for user-facing workflow or setup changes. - Prefer a short backlog with clear outcomes over long explanatory review notes.