Skip to content

Commit 299e1ba

Browse files
maswaclaude
andcommitted
feat: add research agent for analyzing existing codebases
Complete workflow for onboarding existing projects to AutoForge: Backend: - Research MCP server with 6 tools for codebase analysis - Technology stack detection (70+ frameworks) - Architecture pattern analysis and code convention extraction - Research state persistence via SQLAlchemy - Git branch safety (protected branch warnings, branch creation) - Auto-delete CLAUDE.md after spec creation to prevent agent confusion - REST endpoints for research agent lifecycle (start/stop/status) Frontend: - Analyze Codebase modal with folder browser integration - Research progress view with real-time WebSocket updates - Research results viewer with tabbed markdown display - Branch selection modal for safe git operations - Re-analyze Codebase button for updating documentation - Reinitialize Features modal for research-to-spec flow Workflow: 1. Click "Analyze Existing Codebase" and select project folder 2. Research agent generates documentation in .planning/codebase/ 3. Review results and convert to app spec 4. Choose git branch for safe development 5. Continue with normal AutoForge agent workflow Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7f875c3 commit 299e1ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+11657
-202
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
allowed-tools: Read, Glob, Grep, Bash, mcp__research__*
3+
description: Analyze existing codebase and document structure
4+
---
5+
6+
# Map Existing Codebase
7+
8+
Analyze an existing codebase and generate documentation for use with AutoForge.
9+
10+
@.claude/templates/research_prompt.template.md

0 commit comments

Comments
 (0)