RapierCraftStudios/ForgeDock
حول
ForgeDock — autonomous AI dev pipeline for Claude Code. GitHub as agent memory: issue in, PR out.
أدوات التطويرالنمو المقاس للنجوم
- خلال 24 ساعة
- -١
- خلال 7 أيام
- -١
- خلال 15 يومًا
- -٣
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلForgeDock
Run coding agents at scale, and know whether they are doing real work
An AI engineering team that ships to production.
ForgeDock turns GitHub issues into merged pull requests with AI coding agents, one issue per lane, many lanes in parallel. Every step is recorded on GitHub, so you can audit what your agents did, what it cost and whether they started creating work for themselves.
📖 Documentation · Audit a repo · Try it · Evidence · What works today

The problem
Generating code is no longer the hard part. Running agents on a real codebase for months is. The failures that show up at scale are operational:
- Agents manufacture their own workload. Review agents file findings, findings become issues, issues become more agent runs. Past a point the backlog grows faster than it drains.
- Review burns tokens without reliably catching what ships. Generic "please review this" passes are expensive and easy to approve.
- Nobody can see what the system is actually accomplishing. State lives in chat sessions and local logs.
ForgeDock is built around those problems. GitHub is the single record that people and agents share. Facts are checked by scripts, and the model is used for judgement. Every run leaves evidence you can count.
Audit any repo in one command
npx forgedock audit --repo owner/name --since 2026-06-01
It is read-only and works on any GitHub repository, whether it uses Copilot coding agent, Devin, Claude, Cursor, review bots or no agents at all. ForgeDock does not need to be installed. It reports:
- m, the self-generation ratio: issues your pipeline filed about its own output, per merged PR, with a 95% interval. If every change spawns m more on average, total work per intended change is 1 + m + m² + … = 1/(1−m). At m ≥ 1 the backlog grows without bound, so the audit says whether you are subcritical, near-critical or supercritical.
- Where new issues come from: requested work, self-filed work, or production signals.
- The AI-review footprint, and lower-bound escape signals (reverts, bug issues that name the PR that caused them).
See docs/AUDIT.md for definitions and limits.
What we learned building ForgeDock with ForgeDock
ForgeDock is developed by its own lanes. Every number below comes from this repository's public history or its run telemetry, and you can recount the public ones with the commands shown.
1. The pipeline was creating its own work, and the audit shows it. forgedock audit on this repository:
| Month (2026) | Merged PRs | New issues | Self-filed | m (self-filed per merged PR) |
|---|---|---|---|---|
| June | 576 | 576 | 339 | 0.59 |
| July | 758 | 1,001 | 544 | 0.72 |
| October | 809 | 1,003 | 472 | 0.58 |
| November | 735 | 685 | 152 | 0.21 |
In July, nearly three of every four merged changes spawned another issue about the pipeline's own output. On 2026-10-13 the lane was cut down to one builder, deterministic checks and one review. A defect found in a PR's own diff is now fixed in that PR, never filed as a new issue. By November, m had fallen to 0.21.
npx forgedock audit --repo RapierCraftStudios/ForgeDock --since 2026-06-01 --until 2026-12-01
2. Fewer agent steps cost less. Estimated cost per merged issue at list prices (Opus-class), from the lanes' run telemetry:
- $6.84 in v1.9–1.19, the multi-phase pipeline with review panels;
- $1.99 since v1.62.
That is 3.4× lower. The ratio is the same at Sonnet-class prices.
3. Removing phases mattered more than adding them. In a blind A/B before the redesign, plain Claude Code fixed issues at equal quality for about a tenth of the cost of the multi-phase pipeline (release notes). That result is why the default lane is now one builder plus checks.
4. Reverts are rare. 3 of 2,892 merged PRs since June were reverted. That is a weak quality signal, because agents usually fix forward. So the audit also reports bug issues that cite the PR that caused them.
| Since 2026-06-04 | |
|---|---|
| Pull requests merged | 2,892 |
| Releases | 144 |
gh api -X GET search/issues -f q="repo:RapierCraftStudios/ForgeDock is:pr is:merged merged:2026-06-04..2026-11-30" --jq .total_count
These are observations from one project over time, not a controlled experiment. A write-up with the full method, confidence intervals and limitations is in preparation.
Try it
Needs: Claude Code (subscription or ANTHROPIC_API_KEY) · GitHub CLI, authenticated · Node.js ≥ 18.
npx forgedock demo # creates a throwaway repo and runs the pipeline end to end
On your own repo:
npm install -g forgedock # the CLI and the durable engine
forgedock # checks your environment, installs the commands, writes a forge.yaml for you to review
forgedock run-issue 42 # one issue, start to merge
forgedock orchestrate 41 42 43 --parallel 3 # a batch, scheduled from its Depends-on lines
Inside Claude Code the same flows are /work-on 42 and /orchestrate. All install options (plugin marketplace, OpenCode, headless/CI) are in Install.
How it works
A lane takes one issue to a merged PR. The engine, not the model, decides each next step:
- Build. One builder session in an isolated worktree writes the change, checks it with the repo's own commands, and records a structured result: root cause, approach, tests, risks.
- Check. Deterministic checks run before any model judgement: contract conformance, the repo's tests and lint, and the base branch's required CI. A validation comment with file-and-line evidence is posted without an extra model call.
- Review. One separate review looks for regressions and unmet requirements. Defects in the PR's own diff are fixed in the same PR, with at most one retry.
- Merge. The lane waits for the required checks, syncs with the base if it moved, and merges. If it can't finish, it ends with a typed outcome (
ci.red,base.conflict,needs-human…) and the evidence attached.
A batch (forgedock orchestrate) schedules lanes from the issues' Depends on #N lines, keeps K lanes busy, recovers mechanical failures itself, and survives restarts. Lanes are detached processes that a daemon re-adopts.
A release promotes the staging branch to your default branch: CI must be green first, then a risk-tiered staging review posts a FORGE:GATE_PASS marker that CI checks.
GitHub is the record. State, decisions and telemetry are structured comments and labels on issues and PRs. Any run can resume from GitHub alone, later lanes read what earlier ones learned, and forgedock audit and forgedock stats can measure everything after the fact.
More: How it works · GitHub is your agents' memory · FORGE annotation protocol · Architecture
What works today
| Status | |
|---|---|
| Runtime | Built for Claude Code (CLI or subscription). OpenCode is supported with documented parity limits. Other agents are not supported as lane runtimes yet. |
forgedock audit |
Works on any GitHub repository and any agent. Read-only. |
| Forge | GitHub only (issues, PRs, labels, Actions). |
| Branching | Lanes merge into a staging branch (or milestone/*); a reviewed release promotes staging to the default branch. |
| Configuration | forge.yaml is generated for you, but the full surface is large (CONFIG). Simplifying first-run setup is ongoing work. |
| Human decisions | Product direction, spend, credentials, customer-facing actions and releases are always escalated, never decided by an agent. |
| Cost | Runs on your Claude account and resells no compute. forgedock stats --efficiency reports $/merge, turns per merge and retries by cause. |
Docs
- Getting started · Install · Configuration · Command reference
- Audit · Stats · Troubleshooting & recovery · Outcome codes
- Start a new project · Comparison with other approaches · Release eval scorecards
FAQ
Does ForgeDock create its own work? It did, as the table above shows, and that is why the lane was redesigned. Measure it on any repository with npx forgedock audit. For ForgeDock lanes, npx forgedock stats --origin also splits issues by origin and reports their share of cost (Issue origin).
Is review useless, then? No. ForgeDock keeps one review per lane and a risk-tiered review at release. Everything a script can detect goes into deterministic checks, and review is kept for judgement a script can't make, phrased as specific questions about the change rather than a generic pass.
For companies
The core is AGPL-3.0 and stays that way. A commercial license is available for proprietary use. See ForgeDock for companies or write to [email protected].
Contributing: PRs welcome, with conventional commits (fix(scope):, feat(scope):). License: AGPL-3.0.
ForgeDock is unrelated to ForgeRock's identity platform. Using it? A star helps others find it.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…