Structured AI Development with Full Traceability
Every code change β planned, tracked, reasoned about, and auditable.
AI coding assistants generate code fast β but without structure. There is no audit trail, no decision history, no way to answer "why was this done?" six months later. Teams lose visibility, reviewers lose context, and technical debt compounds silently.
Forge is a structured change orchestrator for Claude Code. It wraps AI-driven development in a rigorous, traceable process:
Idea β Discover β Plan β Guide β Execute β Validate β Learn
Every step produces auditable artifacts β decisions with provenance, changes with reasoning traces, project guidelines that keep AI aligned with your standards, and validation gates that enforce quality before completion.
| Repository | Description | Status | |
|---|---|---|---|
| forge | Core orchestrator β pipeline, decisions, changes, gates, learning | Active |
|
|
ββββββββββββββββββββββββββββββββββββββββ
β USER INTENT β
β "Add JWT auth to API" β
βββββββββββββββββ¬βββββββββββββββββββββββ
β
βββββββββββββββββΌβββββββββββββββββββββββ
β /idea β /discover β /plan β
β Stage ideas, explore options, β
β assess risks, build task graph β
βββββββββββββββββ¬βββββββββββββββββββββββ
β
βββββββββββββββββΌβββββββββββββββββββββββ
β /guideline β Set standards β
β "Use Repository Pattern" [backend] β
β "All endpoints need auth" [api] β
β Scoped, weighted (must/should/may) β
βββββββββββββββββ¬βββββββββββββββββββββββ
β
βββββββββββββββββββββββΌββββββββββββββββββββββ
β β β
βββββββββΌβββββββ βββββββββΌβββββββ ββββββββββΌββββββ
β Task T-001 β β Task T-002 β β Task T-003 β
β Setup models β β JWT middlewareβ β Auth routes β
β depends: [] β β depends:[001]β β depends:[002]β
βββββββββ¬βββββββ βββββββββ¬βββββββ ββββββββββ¬ββββββ
β β β
βΌ βΌ βΌ
Code + Decide Code + Decide Code + Decide
+ Guidelines β + Guidelines β + Guidelines β
Record changes Record changes Record changes
Run gates Run gates Run gates
β β β
βββββββββββββββββββββββΌββββββββββββββββββββββ
β
βββββββββββββββββΌβββββββββββββββββββββββ
β /compound β Lessons extracted β
β Patterns, insights, validated β
β decisions β feed the next project β
ββββββββββββββββββββββββββββββββββββββββ
| Capability | Traditional AI Coding | With Forge |
|---|---|---|
| Tracks why code changed | β | Reasoning traces on every change |
| Records architectural decisions | β | Provenance, alternatives, confidence |
| Validates before completion | β | Configurable gates (test, lint, secrets) |
| Learns across projects | β | Compound learning system |
| Supports parallel AI agents | β | Conflict detection + dependency DAG |
| Project-wide coding standards | β | Scoped guidelines injected into task context |
| Enforces structured workflow | β | Contract-first pipeline |
| Hierarchical idea staging | β | Ideas mature before becoming tasks |
| Risk assessment built-in | β | 5D risk + feasibility analysis |
# Clone Forge into your project
git clone https://github.com/ForgePrime/forge.git
# Inside Claude Code β start building
/idea Add user authentication # Stage an idea
/discover I-001 # Explore options, assess risks
/plan I-001 # Create task graph (draft β approve)
/guideline Use Repository Pattern --scope backend # Set coding standards
/next # Execute first task (guidelines auto-loaded)
/status # Project dashboardFor existing codebases, run /onboard first to import project knowledge.
forge/
βββ core/ Python engine β pipeline, decisions, changes, gates, lessons
βββ skills/ Built-in analysis skills (plan, discover, review, deep-*)
βββ .claude/ Claude Code integration (15+ slash commands, hooks)
βββ forge_output/ Runtime state (per-project JSON, gitignored)
Design principle: Python handles I/O and validation. The LLM handles judgment and code generation. The boundary is strict β Python never decides what to change, the LLM never writes state directly.
Forge ships with deep analysis capabilities adapted from Deep-Process:
| Skill | Purpose |
|---|---|
| deep-explore | Structured option exploration with consequence tracing |
| deep-risk | 5-dimensional risk assessment with cascade analysis |
| deep-feasibility | 10-dimension feasibility study with GO/NO-GO verdict |
| deep-architect | Architecture design with 8 adversarial challenges |
| deep-verify | Artifact verification with impossibility pattern matching |
| deep-requirements | Requirements extraction and contradiction checking |
Invoked automatically via /discover or manually as needed. All findings flow into the decision log with full provenance.
- Report issues β GitHub Issues
- Discuss ideas β GitHub Discussions
- Contribute β see the contributing guide
