feat: v0.6.0 — inline context injection, 13→5 tools#23
Merged
rushikeshmore merged 2 commits intomainfrom Mar 13, 2026
Merged
Conversation
…prompts
Replace indirect 3-line CLAUDE.md pointer with rich inline context injection
(architecture, risk map, directives) between <!-- codecortex:start/end --> markers.
Reduces MCP tools from 13 to 5 proven, irreplaceable ones. Adds 3 MCP resources
and 2 MCP prompts. Includes coupling noise filter, static fallback paths, and
new `inject` CLI command.
Changes:
- NEW: src/core/context-injection.ts — generates ~60-80 line inline Markdown
- NEW: src/cli/commands/inject.ts — standalone CLI command
- NEW: src/mcp/resources.ts — 3 MCP resources (overview, hotspots, module/{name})
- NEW: src/mcp/prompts.ts — 2 MCP prompts (start_session, before_editing)
- NEW: generateHotspotsMarkdown() in temporal.ts — static hotspots.md generation
- NEW: coupling noise filter (go.mod↔go.sum, Cargo pairs, golden clusters)
- REMOVED: 8 MCP tools (5 read + 3 write) — agents use static files instead
- REMOVED: src/mcp/tools/write.ts (0 organic usage)
- 279 tests passing, tsc clean
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update tool count (13→5), add MCP resources/prompts sections, inline context injection docs, inject CLI command, coupling noise filter. Rewrote "What makes it unique" and "How It Works" sections. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<!-- codecortex:start/end -->markerscodecortex injectregenerates inline contextTest plan
🤖 Generated with Claude Code