- 🤖 LLM usage: $6.9000 (46 commits)
- 👤 Human dev: ~$969 (9.7h @ $100/h, 30min dedup)
Generated on 2026-05-02 using openrouter/qwen/qwen3-coder-next
Historical deployment analysis & Code Intelligence — walk git history day by day, deploy per commit, test all endpoints, capture screenshots, and analyze code evolution to find duplicates, rank quality, and generate refactor plans.
- Full Usage Guide: Step-by-step instructions.
- Architecture: Detailed layered design.
- Changelog: Latest v0.1.10 features.
Applying rebuild to the massive c2004 project (88 subdirectories, thousands of files).
Scenario: Identifying structural clones between the main backend and auxiliary modules like connect-test or frontend.
rebuild analyze duplicates /path/to/c2004
Result: Found 1,597 duplicate groups across Python and JS/TS files.
Scenario: Mapping dependencies between connect-manager, workshop, and scenario to find architectural bottlenecks.
rebuild analyze services /path/to/c2004/backend --export
Result: Generated interactive D3.js map highlighting circular dependencies in the service layer.
Scenario: Generating an automated refactor plan with an AI Executive Summary for the team.
rebuild refactor plan /path/to/c2004/backend --ai
rebuild refactor pr /path/to/c2004/backendResult: 122 high-impact suggestions with automated Markdown PR descriptions.
Scenario: Tracking how code complexity affects system stability over time.
rebuild dashboard --repo /path/to/c2004
Result: Visualized correlation between technical debt and API pass rates.
- Intelligence Layer — Detects structural & semantic duplicates (Python/JS/TS), builds service graphs, vector search embeddings, and ranks code quality across history.
- Decision Engine — Generates and executes refactoring plans with AI support.
- Walk — Iterates through git history day by day (Incremental, Replay, Accelerator modes).
- Deploy — Starts the service per commit (Isolated Docker, Replay with code sync, Accelerator with hot reload).
- Scan & Test — Automated endpoint discovery (OpenAPI, FastAPI routes, Traefik), TestQL execution, auth login, param substitution.
- Visualization — D3.js interactive graphs, health dashboards, SSE live event streaming, code evolution playback.
- Automation — Auto PR creation, DSL scripting, NLP natural language commands.
Explore ready-to-run scenarios in examples/:
- 01-dry-run-walk: Standard walk + intelligence.
- 02-docker-compose-project: Full pipeline with Docker isolation.
- 03-restore-endpoint: Discovering "truth" and extracting endpoints.
Licensed under Apache-2.0.