Overview
AutoForge turns a goal into a repeatable modify → verify → keep/discard loop. Use it to build
and extend software, improve a measurable result, research a decision, or prepare a release.
forge is the command namespace; the work happens inside your existing coding agent and
repository, and every run leaves a history of changes, results and evidence for the next step.
Inspired by Karpathy's autoresearch, it applies
constrained experiments and measurable feedback to software and other domains, and adds the
requirements, design, research, testing and delivery workflows needed to take a project further.
LOOP (N iterations or until done):
1. Review current state + git history + results log
2. Pick the next change (based on what worked, what failed, what's untried)
3. Make ONE focused change
4. Git commit (before verification)
5. scripts/loop.cjs decide: scope check, Verify (median of N samples), Guard
6. Improved by at least MinDelta → keep. Anything else → git revert, by the script.
7. Receipt + TSV row written by the script, never by hand
8. Repeat until N iterations complete or goal is met.
Every improvement stacks. Every failure auto-reverts. A thin skill router loads command bodies
and references only when needed; git history and run artifacts carry the work between iterations
and sessions.
[!NOTE]
AutoForge is distributed from a private repository, Jss-on/autoforge.
Authenticate with gh auth login or SSH before installing. Release history lives in the
project changelog.
Features
| Area | What AutoForge covers | Commands |
|---|
| Goals and iteration | Natural-language orchestration, explicit metric loops, scope and guard checks, bounded runs, rollback, results analysis | forge, plan, evals |
| Requirements and stack selection | Client review, assumptions, stories, lifecycle scenarios, evidence-based stack comparisons, owner approval, SRS and acceptance specs | requirements, probe |
| Research and decisions | Primary-source reading, cited claims with confidence, disconfirmation, expert perspectives, blind judging, dossiers and arXiv/IEEE papers | research, predict, reason |
| Product discovery | Customer problems, competitor gaps, ranked improvements, feature PRDs | improve |
| Software delivery | Greenfield builds and brownfield features graded on seven acceptance dimensions, with a non-regression ratchet | build, feature |
| Software + data | A DATA.md record for every build, linted and measured against Designing Data-Intensive Applications (2nd ed.) | build, feature |
| Language and framework migration | Frozen inventory, behavior parity, data compatibility, target-only operation, cutover handoff | migrate |
| Visual design and assets | Design direction, DESIGN.md, purposeful imagery, asset provenance, responsive crops, accessible motion, browser design audits | design |
| QA and debugging | Scenario exploration, risk-based plans, traceability, domain-logic vectors, defect ledgers, root-cause repairs, independent retesting | scenario, test, debug, fix |
| Stakeholder investigations | Authorized source retrieval, captured observations, explicit uncertainty, plain-language reports | investigate |
| Security | STRIDE, OWASP/ASVS-guided checks, authorization and tenant isolation, secrets and dependencies, optional Strix dynamic testing | security |