Skip to content

srnichols/plan-forge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1,224 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Plan Forge

Plan Forge

The AI-Native SDLC Forge Shop

A blacksmith doesn't hand raw iron to a customer. They smelt it, hammer it, temper it β€” and then they watch, because a blade that isn't maintained will dull.

Plan Forge is a full-lifecycle AI development shop. Raw ideas are smelted through the Crucible into structured plans. Plans are forged into working code through a 7-step hardened pipeline. Shipped code is guarded by LiveGuard β€” drift, secrets, dependencies, incidents, all watched in real time. And every finding is learned back into the shop's memory, so the next run starts smarter than the last.

Smelt the idea. Forge the code. Guard the build. Learn from every run.

License: MIT

Website Β· Shop Tour Β· Manual Β· Documentation Β· FAQ Β· Extensions Β· Spec Kit Interop

69 MCP Tools Β· 45+ CLI Commands Β· 14 Agents Β· 15 Skills Β· 9 Presets Β· 7 Adapters Β· 3285 Tests Β· v2.80.0

The Four Stations

Plan Forge is one shop with four stations. Each one handles a distinct part of the software lifecycle β€” and they all share one memory.

Station Verb What happens here Start with
πŸͺ¨ Smelt Smelt the idea Rough idea β†’ Crucible interview β†’ tempered plan with scope contract and validation gates. Crucible Β· Tempering design notes
πŸ”¨ Forge Forge the code Hardened plan β†’ DAG-scheduled execution β†’ quorum consensus β†’ shipped code. The classic 7-step pipeline. Your First Plan Β· AI Plan Hardening Runbook
πŸ›‘οΈ Guard Guard the build Shipped code β†’ drift scoring, secret scan, dep watch, regression guard, incident capture, remote alerts. What is LiveGuard? Β· LiveGuard Tools
🧠 Learn Learn from every run Findings β†’ OpenBrain memory β†’ Health DNA β†’ self-tuned escalation, cost, and quorum thresholds. Memory Architecture Β· Bug Registry + Testbed

And the control room that ties them together: the live dashboard at localhost:3100/dashboard with 25 tabs, session replay, WebSocket event hub, cost reports, OTLP traces, and a remote bridge for Telegram / Slack / Discord / OpenClaw.


Start Here

You are... Start with
Evaluating Plan Forge Read the Shop Tour β†’ Skim capabilities
A developer using VS Code + Copilot Run Quick Start β†’ Read COPILOT-VSCODE-GUIDE.md
An AI agent setting up a project Read AGENT-SETUP.md (your entry point)
Already shipping and want the watch layer Jump to LiveGuard β€” runs standalone on any codebase
Just browsing Keep reading β€” or visit planforge.software

Verified Results

Verified: 38+ phases self-built, 3285 self-tests, 69 MCP tools, zero manual rollbacks. See docs/capabilities.md.

A/B Test Results (April 2026)

Same app, same model (Claude Opus 4.6), same time (~7 min). Only difference: Run A had Plan Forge.

Metric Plan Forge Vibe Coding
Tests 60 13
Interfaces 6 0
DTOs 9 0
Quality Score 99/100 44/100

Read the full results β†’


How the Stations Work Together

The four stations form a closed loop: Smelt intake β†’ Forge builds β†’ Guard watches β†’ Learn captures findings into memory β†’ next Smelt starts smarter. Inside the Forge, a deterministic slice executor runs the plan; a reflective inner loop β€” retries with reflexion context, trajectory capture, auto-skill promotion, and postmortems β€” turns every slice into a research step that teaches the next one. Together, the ten opt-in inner-loop subsystems compose into a self-deterministic agent loop that keeps execution reproducible while the loop's context improves each pass.

For architecture diagrams, the 7-step pipeline mermaid, the LiveGuard cycle, and the self-improving feedback loops, see the Shop Tour and the interactive manual.


Quick Start

Prerequisites

  • VS Code with GitHub Copilot (free, Pro, or Enterprise)
  • Git installed

1. Clone and Run Setup

git clone https://github.com/srnichols/plan-forge.git my-project-plans
cd my-project-plans
# Windows (PowerShell)
.\setup.ps1 -Preset dotnet          # or: typescript, python, java, go, swift, rust, php, azure-iac

# Mac / Linux
./setup.sh --preset dotnet

Setup copies all framework files, installs MCP dependencies, and generates config. Zero manual steps.

2. Start Planning

  1. Open VS Code β†’ Copilot Chat β†’ Agent Mode
  2. Describe your feature β†’ the pipeline guides you through 7 steps
  3. LiveGuard watches automatically after you ship

See docs/CLI-GUIDE.md for all presets, flags, and multi-agent options.


What's Included

9 Tech-Stack Presets

Preset Stack Preset Stack
dotnet .NET / C# / ASP.NET Core swift Swift / SwiftUI / Vapor
typescript TypeScript / React / Node rust Rust / Axum / Tokio
python Python / FastAPI / Django php PHP / Laravel / Symfony
java Java / Spring Boot azure-iac Bicep / Terraform / azd
go Go / Chi / Gin

7 AI Agent Adapters

One setup command, every tool: setup.ps1 -Agent all

GitHub Copilot (primary) Β· Claude Code Β· Cursor Β· Codex CLI Β· Gemini CLI Β· Windsurf Β· Generic

MCP Server (69 Tools)

pforge-mcp/server.mjs exposes core, LiveGuard, Watcher, Crucible, Tempering, Bug Registry, Testbed, and Forge-Master operations. Live dashboard at localhost:3100/dashboard. REST API for external integrations.

Key tools: forge_run_plan Β· forge_liveguard_run Β· forge_analyze Β· forge_master_ask Β· forge_capabilities Β· forge_smith Β· forge_cost_report

Optional Capabilities

Feature How to Enable What It Does
Quorum mode Automatic (complexity β‰₯ 6) 3 models analyze in parallel, reviewer synthesizes. Works OAuth-only via the Copilot CLI β€” no API keys required. Add XAI_API_KEY to mix in a Grok leg. Self-tuning threshold.
Audit Loop pforge audit-loop or .forge.json#audit Closed-loop drain: content-audit scanner β†’ triage β†’ fix. Default off; opt-in via audit.mode: "auto" or "always".
Auto-escalation Built-in Model fails β†’ auto-promotes. Chain reorders by success rate.
Cost tracking Built-in Per-slice tokens, 23-model pricing, --estimate with historical calibration.
OpenBrain memory Configure MCP endpoint 13 tools auto-capture findings. 4 prompts search before acting.
Extensions pforge ext add <name> HIPAA, SaaS multi-tenancy, etc.
CI validation srnichols/plan-forge-validate@v1 GitHub Action for plan quality gates.
Notifications Configure in .forge.json Slack, Discord, Telegram, webhooks via bridge.
Spec Kit bridge Auto-detected Import specs + constitution from Spec Kit projects.

Documentation

Resource Purpose
docs/COPILOT-VSCODE-GUIDE.md VS Code + Copilot walkthrough
docs/CLI-GUIDE.md pforge CLI reference
docs/capabilities.md Full feature reference β€” all 69 tools, 14 agents, 15 skills
CUSTOMIZATION.md Adapt guardrails for your project
planforge.software/manual/ Interactive web manual (24 chapters + 6 appendices)
planforge.software/faq.html FAQ
AGENT-SETUP.md AI agent entry point
CONTRIBUTING.md Β· docs/RELEASE-CHECKLIST.md Maintainer guide Β· release & distribution-sync checklist

Git Workflow

git commit -m "<type>(<scope>): <description>"   # feat, fix, refactor, test, docs, chore

See .github/instructions/git-workflow.instructions.md for conventions.


Contributing

See CONTRIBUTING.md. For extensions: extensions/PUBLISHING.md. For skills: docs/SKILL-BLUEPRINT.md.


License

MIT β€” use these guardrails in your projects, teams, and tools.

About

Forge rough ideas into drift-proof execution contracts for AI coding agents. 6-step pipeline, 16 agents, 8 skills, lifecycle hooks, 5 tech presets.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors