docs: add v0.4 local coding agent architecture design#31
Merged
Conversation
Comprehensive architecture for Cursor-style local coding agent: - Structured agent loop (analyze→plan→execute→validate→present) - Tool registry with schema validation and safety gate - Structured code editing with diff-based output - Session-level agent memory - Streaming UX for CLI - Model routing per agent phase - Integration plan with existing orchestrator/router Scoped to agent runtime only — defers codebase intelligence (indexing, symbols, embeddings) to v0.5. https://claude.ai/code/session_016QqP1Tymv4s3YAe1qPaNEK
Replaces the monolithic v0.2 architecture doc and the earlier v0.4 coding agent doc with four focused per-version plans: - v0.2: Tool Foundation — registry, executor, safety gate - v0.3: Coding Agent — plan→edit→validate loop, diffs, memory, streaming - v0.4: Codebase Intelligence — file/symbol/embedding indexes, context retrieval - v0.5: Workflow Automation — state machine engine, milestones, context curation Each version builds on the previous with clear dependency chain. Includes roadmap overview linking all four plans. https://claude.ai/code/session_016QqP1Tymv4s3YAe1qPaNEK
Remove 2026-03-07-locode-v02-architecture-design.md — all relevant content is captured in the new per-version plans (v02-v05) or moved to misc-todos.md. misc-todos.md captures cross-cutting items: - Config drift / versioned config / update-config command - Config template duplication - Speculative local execution - Task classifier fast-paths - JSON DSL mode for local agent - Model-per-task routing - Benchmark baseline gap https://claude.ai/code/session_016QqP1Tymv4s3YAe1qPaNEK
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.
Comprehensive architecture for Cursor-style local coding agent:
Scoped to agent runtime only — defers codebase intelligence
(indexing, symbols, embeddings) to v0.5.
https://claude.ai/code/session_016QqP1Tymv4s3YAe1qPaNEK