Commit 299e1ba
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
File tree
48 files changed
+11657
-202
lines changed- .claude
- commands
- skills/gsd-map-codebase
- templates
- api
- mcp_server
- server
- routers
- services
- ui
- src
- components
- research
- ui
- hooks
- lib
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| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments