Skip to content

docs: Core Phase 5 plan — Go callees + Rust scanner#31

Merged
prosdev merged 11 commits intomainfrom
docs/phase-5-plan
Apr 1, 2026
Merged

docs: Core Phase 5 plan — Go callees + Rust scanner#31
prosdev merged 11 commits intomainfrom
docs/phase-5-plan

Conversation

@prosdev
Copy link
Copy Markdown
Contributor

@prosdev prosdev commented Apr 1, 2026

Summary

  • Add Core Phase 5 plan: Go callee extraction + Rust language support
  • 3 parts: Go callees + patterns, Rust scanner end-to-end, pipeline wiring + local verification
  • Plan reviewed 3 times (engineer, Rust expert, final pass) — all findings addressed
  • Update plans README — mark all completed phases as merged

Files

All docs, no code changes:

  • .claude/da-plans/core/phase-5-go-rust-support/ (overview + 3 parts)
  • .claude/da-plans/README.md

🤖 Generated with Claude Code

prosdev and others added 11 commits April 1, 2026 14:13
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…pport

3 parts: Go callees + pattern rules, Rust scanner end-to-end,
pipeline wiring + local verification against cli/cli and ripgrep.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Clarify Rust uses call_expression for all calls (no separate method_call)
- Add Step 0 grammar validation before building scanner
- Fix PatternQuery → PatternMatchRule type name throughout
- Note .go extension missing from EXTENSION_TO_LANGUAGE as bug fix
- Specify Go callee name format (full selector: "fmt.Println")
- Add explicit negative test: macros NOT in callees
- Add malformed Rust file resilience test
- Add block doc comment (/** */) as known limitation
- Update decisions table, risk register, and test strategy

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix PatternMatchRule type to { id, category, query } with @match capture
- Clarify impl_item.type field-based access (remove misleading prose)
- Add generic impl fixture + type param stripping (Container<T> → Container)
- Add pub(crate) visibility to fixture and test
- Add closure callee test (transform inside .map)
- Add field access vs method call test (s.host vs s.host.clone())
- Switch async detection from regex to AST keyword child
- Add Known Limitations (v1) section to overview
- Update risk register and test strategy with new entries

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Workflow-ready MCP tools that compose low-level tools internally.
One call replaces 5-10 tool calls, saving 3,000-5,000 context tokens.

4 parts: review adapter, research adapter, CLI commands, docs/agents.
No LLM dependency — deterministic structured output. AI assistant
adds judgment on top.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Address all review findings:
- Reframe: MCP is primary, AI assistant IS the LLM, CLI is secondary
- Replace adapter DI with shared analysis services in core
- Drop "swarm" terminology — it's parallel query composition
- Scope controls emphasis not exclusion (fixes usage/callgraph issue)
- Add partial failure behavior (partial report + warnings)
- Sharpen tool descriptions for AI disambiguation
- Reframe value: thoroughness (we always trace cross-package), not tokens

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…l repo indexing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
code-reviewer: now plans before delegating. Uses MCP tools to understand
the change (impact, hot paths, conventions), then writes specific focused
tasks for each specialist instead of blind fan-out. Synthesizes with
contradiction resolution.

research-planner: now delegates external research to parallel sub-agents.
Maps internal territory first (MCP tools), decomposes unknowns into
specific research tasks, spawns sub-agents for GitHub/docs/web search,
synthesizes with citations from both internal and external sources.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Normalize service file names to *-analysis.ts across all parts
- Align overview commit strategy (6 commits) with part-level commits

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tmatter

S1: code-reviewer passes Phase 1 findings to specialists in task brief
    so they skip re-querying dev_refs/dev_map
S2: research-planner clarifies general-purpose is a Claude Code built-in
    subagent type (default when no subagent_type specified)
S3: Part 2.4 specifies exact tools: frontmatter changes for each agent

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add prerequisites (Claude Code, dev-agent, Antfly), development workflow
using MCP tools, agent system overview, CLI tools reference, and
plan-before-build process. Remove generic boilerplate.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@prosdev prosdev merged commit b7cb958 into main Apr 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant