forgedock 1.0.22 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +255 -211
- package/bin/batch-runner.mjs +339 -0
- package/bin/cinema.mjs +320 -0
- package/bin/demo.mjs +92 -7
- package/bin/engine/phases.mjs +168 -0
- package/bin/engine/projector.mjs +32 -0
- package/bin/engine/reconcile.mjs +11 -0
- package/bin/engine/runlog.mjs +79 -0
- package/bin/engine/state.mjs +32 -0
- package/bin/engine-cli.mjs +222 -0
- package/bin/engine.mjs +138 -0
- package/bin/forgedock.mjs +896 -1540
- package/bin/hooks/interactive-engine.mjs +509 -0
- package/bin/hooks/pre-tool-use.mjs +498 -0
- package/bin/hooks/subagent-stop-enforce.mjs +197 -0
- package/bin/journey.mjs +841 -0
- package/bin/registry.mjs +139 -0
- package/bin/report.mjs +447 -0
- package/bin/runner.mjs +136 -20
- package/bin/settings-hook.mjs +346 -0
- package/bin/tui.mjs +6 -3
- package/commands/adopt.md +4 -1
- package/commands/analytics.md +4 -1
- package/commands/audit-agents.md +110 -27
- package/commands/audit.md +20 -1
- package/commands/autopilot.md +84 -12
- package/commands/changelog.md +2 -1
- package/commands/ci-audit.md +2 -1
- package/commands/cleanup.md +161 -1
- package/commands/compat-audit.md +2 -1
- package/commands/deploy-info.md +63 -4
- package/commands/design-bench.md +6 -1
- package/commands/design-render-critique-loop.md +2 -1
- package/commands/design.md +1 -0
- package/commands/diagnose.md +2 -1
- package/commands/explain.md +2 -1
- package/commands/forge-stats.md +122 -2
- package/commands/forgedock-init.md +1 -1
- package/commands/geo-audit.md +3 -0
- package/commands/incident-response.md +2 -1
- package/commands/issue.md +24 -3
- package/commands/milestone.md +77 -12
- package/commands/optimize.md +2 -1
- package/commands/orchestrate/config.md +67 -0
- package/commands/orchestrate/phase-1-resolve.md +159 -0
- package/commands/orchestrate/phase-2-triage.md +126 -0
- package/commands/orchestrate/phase-2.5-synthesis.md +156 -0
- package/commands/orchestrate/phase-3-dependency.md +591 -0
- package/commands/orchestrate/phase-4-execution.md +962 -0
- package/commands/orchestrate/phase-5-cleanup.md +47 -0
- package/commands/orchestrate/phase-6-report.md +198 -0
- package/commands/orchestrate/safety.md +62 -0
- package/commands/orchestrate.md +25 -2027
- package/commands/pipeline-health/config.md +34 -0
- package/commands/pipeline-health/phase-1-context.md +180 -0
- package/commands/pipeline-health/phase-2-metrics.md +1729 -0
- package/commands/pipeline-health/phase-3-analyze.md +204 -0
- package/commands/pipeline-health/phase-4-proposals.md +117 -0
- package/commands/pipeline-health/phase-5-report.md +284 -0
- package/commands/pipeline-health/phase-6-summary.md +52 -0
- package/commands/pipeline-health.md +25 -2401
- package/commands/pipeline-resume.md +24 -1
- package/commands/pipeline-status.md +65 -0
- package/commands/qa-sweep.md +4 -1
- package/commands/quality-gate.md +326 -42
- package/commands/replay.md +2 -1
- package/commands/review-pr-agents/api.md +135 -0
- package/commands/review-pr-agents/auth.md +137 -0
- package/commands/review-pr-agents/billing.md +101 -0
- package/commands/review-pr-agents/concurrency.md +145 -0
- package/commands/review-pr-agents/database.md +103 -0
- package/commands/review-pr-agents/frontend.md +89 -0
- package/commands/review-pr-agents/infra.md +385 -0
- package/commands/review-pr-agents/protocols.md +185 -0
- package/commands/review-pr-agents/scraper.md +185 -0
- package/commands/review-pr-agents/security.md +406 -0
- package/commands/review-pr-agents.md +45 -1722
- package/commands/review-pr-staging.md +196 -40
- package/commands/review-pr.md +612 -56
- package/commands/rollback.md +2 -1
- package/commands/scope.md +2 -1
- package/commands/security-audit.md +2 -1
- package/commands/signal-planner.md +623 -0
- package/commands/sync-ecosystem.md +1 -0
- package/commands/test-gate.md +17 -1
- package/commands/validate.md +2 -1
- package/commands/work-on/build/architect.md +28 -0
- package/commands/work-on/build/context.md +2 -0
- package/commands/work-on/build/implement.md +19 -5
- package/commands/work-on/build/validate.md +62 -6
- package/commands/work-on/build.md +187 -30
- package/commands/work-on/close.md +132 -5
- package/commands/work-on/decompose.md +19 -1
- package/commands/work-on/investigate.md +117 -2
- package/commands/work-on/review.md +48 -4
- package/commands/work-on-monolithic.md +8 -2
- package/commands/work-on.md +247 -7
- package/docs/BRAND.md +16 -5
- package/docs/CI.md +2 -2
- package/docs/CODEX.md +36 -1
- package/docs/CONFIG.md +44 -42
- package/docs/FORGE-PROTOCOL.md +15 -1064
- package/docs/anthropic-devrel-outreach.md +2 -2
- package/docs/articles/command-decomposition-token-savings.md +214 -0
- package/docs/articles/model-release-playbook.md +131 -0
- package/docs/articles/per-repo-adaptive-scripts-token-savings.md +27 -25
- package/docs/claude-breakpoints.json +75 -5
- package/docs/design/abc-benchmark.md +1 -1
- package/docs/design/design-spec-schema.md +1 -1
- package/docs/design/divergent-generation.md +1 -1
- package/docs/design/eval-gate-runbook.md +178 -0
- package/docs/design/show-hn-draft.md +26 -1
- package/docs/design/token-cost-baseline-1298.md +59 -0
- package/docs/eval/README.md +117 -0
- package/docs/eval/corpus/seed-v1.json +6 -0
- package/docs/eval/published/claude-sonnet-4-6-2026-07-04.json +33 -0
- package/docs/site/annotations-explained.md +24 -0
- package/docs/site/command-learning-path.md +51 -14
- package/docs/site/command-reference.md +339 -113
- package/docs/site/for-companies.md +95 -0
- package/docs/site/forge-annotation-protocol.md +12 -256
- package/docs/site/getting-started.md +58 -12
- package/docs/site/github-is-the-memory.md +113 -0
- package/docs/site/how-it-works.md +3 -13
- package/docs/site/index.md +10 -2
- package/docs/spec/eval-run-result.md +147 -0
- package/docs/spec/forge-protocol-v1.md +441 -18
- package/docs/spec/label-state-machine.md +55 -0
- package/docs/spec/review-protocol.md +158 -0
- package/docs/spec-graph-schema.md +28 -0
- package/docs/superpowers/plans/2026-07-03-cinematic-onboarding-tui.md +2339 -0
- package/docs/superpowers/plans/2026-07-03-durable-execution-engine.md +1223 -0
- package/docs/superpowers/specs/2026-07-03-cinematic-onboarding-tui-design.md +157 -0
- package/docs/superpowers/specs/2026-07-03-durable-execution-engine-design.md +194 -0
- package/docs/superpowers/specs/2026-07-04-economic-self-governance-design.md +181 -0
- package/docs/superpowers/specs/2026-07-04-provenance-trail-design.md +189 -0
- package/examples/forgedock-demo/README.md +41 -22
- package/examples/forgedock-demo/issues/06-bug-tags-type-validation.md +43 -0
- package/examples/forgedock-demo/issues/07-bug-negative-offset-pagination.md +42 -0
- package/examples/forgedock-demo/issues/08-bug-patch-mass-assignment.md +49 -0
- package/examples/forgedock-demo/issues/09-bug-count-injection.md +47 -0
- package/examples/forgedock-demo/issues/10-feature-sort-param.md +39 -0
- package/examples/forgedock-demo/issues/11-feature-patch-tags.md +37 -0
- package/examples/forgedock-demo/issues/12-feature-bulk-create.md +42 -0
- package/examples/forgedock-demo/issues/13-feature-archive-notes.md +46 -0
- package/examples/forgedock-demo/issues/14-refactor-extract-title-validation.md +41 -0
- package/examples/forgedock-demo/issues/15-refactor-protected-route-flag.md +43 -0
- package/examples/forgedock-demo/issues/16-refactor-extract-store.md +45 -0
- package/examples/forgedock-demo/issues/17-perf-tags-dedup-set.md +35 -0
- package/examples/forgedock-demo/issues/18-perf-remove-redundant-sort.md +37 -0
- package/examples/forgedock-demo/issues/19-docs-api-reference-full.md +53 -0
- package/examples/forgedock-demo/issues/20-docs-intentional-flaw-convention.md +46 -0
- package/examples/forgedock-demo/scripts/smoke.js +18 -1
- package/examples/forgedock-demo/src/db.js +36 -11
- package/examples/forgedock-demo/src/routes/notes.js +106 -9
- package/examples/forgedock-demo/src/server.js +4 -1
- package/package.json +12 -4
- package/packages/protocol/LICENSE +21 -0
- package/packages/protocol/src/cli.js +135 -0
- package/packages/protocol/src/emit.js +146 -0
- package/packages/protocol/src/index.js +43 -0
- package/packages/protocol/src/parse.js +229 -0
- package/packages/protocol/src/types.js +171 -0
- package/packages/protocol/src/validate.js +122 -0
- package/scripts/bench-topology-cost.mjs +372 -0
- package/scripts/check-command-docs-drift.sh +198 -0
- package/scripts/check-protocol-restatements.sh +176 -0
- package/scripts/check-registry/README.md +72 -0
- package/scripts/check-registry/manifest.json +6 -0
- package/scripts/code-index.sh +454 -0
- package/scripts/conformance-check.mjs +168 -0
- package/scripts/doctor-pipeline-state.sh +484 -0
- package/scripts/eval-gate-baseline.json +17 -0
- package/scripts/eval-gate-scorecard.mjs +242 -0
- package/scripts/eval-scorecard-aggregator.mjs +252 -0
- package/scripts/flaky-quarantine.sh +241 -0
- package/scripts/forge-annotation.sh +567 -0
- package/scripts/issue-dedup.sh +236 -0
- package/scripts/validate-annotation-node.mjs +233 -0
- package/scripts/verify-env-vars.sh +18 -2
- package/scripts/verify-host-headers.sh +4 -4
- package/scripts/verify-route-registration.sh +2 -2
- package/scripts/worktree-lifecycle.sh +202 -0
- package/templates/devdocs/agent/using-forgedock.md +14 -0
package/README.md
CHANGED
|
@@ -4,336 +4,380 @@
|
|
|
4
4
|
|
|
5
5
|
<h1>ForgeDock</h1>
|
|
6
6
|
|
|
7
|
-
<p><strong>
|
|
7
|
+
<p><strong>Deterministic orchestration for autonomous software engineering.</strong></p>
|
|
8
8
|
|
|
9
|
-
<p>
|
|
9
|
+
<p>LLMs generate the code. ForgeDock owns everything else — <strong>state, scheduling, recovery, review, and memory</strong> — as durable, inspectable structure on the GitHub you already have. Issues are the queue. PRs are the ledger. Annotations are the memory. Point it at an issue and get a merged, reviewed PR; point it at a <strong>milestone</strong> and get parallel pipelines with conflict-aware scheduling.</p>
|
|
10
|
+
|
|
11
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg" alt="License: AGPL-3.0" /></a>
|
|
12
|
+
<a href="https://github.com/RapierCraftStudios/ForgeDock/stargazers"><img src="https://img.shields.io/github/stars/RapierCraftStudios/ForgeDock?style=social" alt="GitHub Stars" /></a>
|
|
13
|
+
<a href="https://docs.anthropic.com/en/docs/claude-code"><img src="https://img.shields.io/badge/Built%20for-Claude%20Code-blueviolet" alt="Claude Code" /></a>
|
|
14
|
+
<a href="https://www.npmjs.com/package/forgedock"><img src="https://img.shields.io/npm/v/forgedock?color=cb3837&logo=npm" alt="npm" /></a>
|
|
15
|
+
<a href="https://www.npmjs.com/package/forgedock"><img src="https://img.shields.io/npm/dm/forgedock?color=cb3837&logo=npm&label=downloads" alt="npm downloads per month" /></a>
|
|
16
|
+
<a href="https://github.com/RapierCraftStudios/ForgeDock/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome" /></a>
|
|
17
|
+
<a href="https://github.com/sponsors/RapierCraftStudios"><img src="https://img.shields.io/badge/Sponsor-❤-ea4aaa.svg" alt="Sponsor" /></a>
|
|
18
|
+
|
|
19
|
+
</div>
|
|
10
20
|
|
|
11
|
-
<a href="https://www.npmjs.com/package/forgedock"><img src="https://img.shields.io/npm/dm/forgedock?label=npm%20downloads&style=flat-square&color=CB3837" alt="npm downloads/month" /></a>
|
|
12
|
-
<a href="https://www.npmjs.com/package/forgedock"><img src="https://img.shields.io/npm/v/forgedock?style=flat-square&color=CB3837" alt="npm version" /></a>
|
|
13
|
-
<a href="https://nodejs.org/"><img src="https://img.shields.io/node/v/forgedock?style=flat-square&color=339933" alt="node version" /></a>
|
|
14
|
-
<a href="https://docs.anthropic.com/en/docs/claude-code"><img src="https://img.shields.io/badge/Built%20for-Claude%20Code-7C3AED?style=flat-square" alt="Claude Code" /></a>
|
|
15
21
|
<br />
|
|
16
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg?style=flat-square" alt="License: AGPL-3.0" /></a>
|
|
17
|
-
<a href="https://github.com/RapierCraftStudios/ForgeDock/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square" alt="PRs Welcome" /></a>
|
|
18
22
|
|
|
19
|
-
<
|
|
23
|
+
<div align="center">
|
|
20
24
|
|
|
21
|
-
<img src="docs/demo.gif" alt="ForgeDock
|
|
25
|
+
<img src="docs/demo.gif" alt="ForgeDock orchestrating multiple GitHub issues in parallel — agents investigate, build, review, and flip workflow labels through to merged" width="900" />
|
|
22
26
|
|
|
23
|
-
<p><em>
|
|
27
|
+
<p><em><strong>One <code>/orchestrate</code> runs a whole milestone.</strong> Agents pick up issues in parallel, drive each through investigate → build → review, and flip the GitHub labels to <code>merged</code> — live.</em></p>
|
|
24
28
|
|
|
25
29
|
</div>
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
**This repository builds itself with ForgeDock.** In its first 30 days (June 4 → July 4, 2026): **693 issues filed, 605 closed, 603 PRs merged — median 56 minutes from open to merged-and-closed.** 57% of those issues were filed by the pipeline itself; 49% are findings its own review agents raised, filed, and then fixed. Every run leaves a public audit trail — [click through the receipts](#watch-the-machine-work), or count them yourself:
|
|
28
32
|
|
|
29
|
-
|
|
33
|
+
```bash
|
|
34
|
+
gh issue list -R RapierCraftStudios/ForgeDock --state closed --limit 1000 --json number --jq 'length'
|
|
35
|
+
```
|
|
30
36
|
|
|
31
|
-
|
|
37
|
+
**A single run, up close** — a real one, [issue #1230](https://github.com/RapierCraftStudios/ForgeDock/issues/1230):
|
|
32
38
|
|
|
39
|
+
```console
|
|
40
|
+
$ /work-on #1230 "orchestrate: Layer 5 co-change signal is dead code"
|
|
41
|
+
|
|
42
|
+
✓ investigate CONFIRMED/HIGH — feature shipped 3h earlier (PR #1204) reads a
|
|
43
|
+
never-populated variable; the co-change query can never fire
|
|
44
|
+
✓ build fix branch, 1 file
|
|
45
|
+
✓ review caught a defect in the fix itself: stray backticks in the grep
|
|
46
|
+
meant every git-log pathspec silently matched zero commits —
|
|
47
|
+
"the fix would not have actually worked." Corrected.
|
|
48
|
+
✓ merged 30m 37s → staging
|
|
49
|
+
|
|
50
|
+
filed by the pipeline's own staging review. fixed before a human read it.
|
|
33
51
|
```
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
52
|
+
|
|
53
|
+
### Try it in 30 seconds — on a throwaway repo, nothing to lose
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npx forgedock demo # spins up a risk-free demo repo and shows you the pipeline end to end
|
|
37
57
|
```
|
|
38
58
|
|
|
39
|
-
|
|
59
|
+
Ready to use it for real? **`npx forgedock`** walks you through one continuous setup: it checks your environment, installs the slash commands, reads your repo, and hands you a single annotated `forge.yaml` to review — you press Enter once.
|
|
60
|
+
|
|
61
|
+
> ⭐ **If ForgeDock saves you time, [star the repo](https://github.com/RapierCraftStudios/ForgeDock/stargazers)** — it's the whole marketing budget.
|
|
40
62
|
|
|
41
63
|
---
|
|
42
64
|
|
|
43
|
-
|
|
65
|
+
**Your AI coding agent forgets everything after every session.** It re-explores the codebase from scratch, re-makes mistakes that were already fixed, and has no idea why the code it's touching looks the way it does. ForgeDock fixes that by making **GitHub itself the memory** — every pipeline stage writes structured findings that every later agent reads.
|
|
44
66
|
|
|
45
|
-
|
|
46
|
-
|---|---|
|
|
47
|
-
| **Full-lifecycle automation** | `/work-on #42` — investigates the issue, architects a fix, builds it, runs quality gates, opens a PR, and reviews it. You click merge. |
|
|
48
|
-
| **Persistent agent memory** | Structured `FORGE:` annotations on GitHub issues/PRs survive context resets and session boundaries. Agents never start blind. |
|
|
49
|
-
| **9 specialist review agents** | Security, billing, database, concurrency, auth, frontend, API, performance, infrastructure — every PR gets domain-expert review. |
|
|
50
|
-
| **Institutional memory that compounds** | Agent fixing issue #43 reads the investigation from #42 and applies the known pattern — no re-investigation. |
|
|
51
|
-
| **Self-improving pipeline** | Review agents learn from past findings — recurring patterns automatically become new quality gate checks. |
|
|
52
|
-
| **Parallel orchestration** | `/orchestrate` decomposes milestones into waves and runs `/work-on` on each in parallel. |
|
|
67
|
+
## Without ForgeDock vs. With ForgeDock
|
|
53
68
|
|
|
54
|
-
|
|
69
|
+
| Without ForgeDock | With ForgeDock |
|
|
70
|
+
|---|---|
|
|
71
|
+
| Agent starts every session blind — no context from prior work | Agent reads structured investigation, root cause, and history straight from GitHub |
|
|
72
|
+
| The same bugs get reintroduced across PRs | Review agents surface known pitfalls from past PRs *before* you commit |
|
|
73
|
+
| A crash or compaction loses the run | State lives on GitHub and in an event-sourced run log — the pipeline resumes where it stopped |
|
|
74
|
+
| You write the issue, plan the fix, open the PR, and review it | `/work-on #42` → investigated, built, reviewed, merged |
|
|
75
|
+
| Review depends on whoever has capacity | 9 domain-specialist agents (security, billing, DB, concurrency…) review every PR |
|
|
76
|
+
| One task at a time, serialized by your attention | `/orchestrate` runs a whole milestone — many issues in parallel, each its own full pipeline |
|
|
55
77
|
|
|
56
78
|
---
|
|
57
79
|
|
|
58
|
-
##
|
|
80
|
+
## The idea in one paragraph
|
|
81
|
+
|
|
82
|
+
AI agents have **no lookback**. They don't know a function was shaped by a bug fix in #347, that an approach was tried and reverted in PR #891, or that three other files need the same change. Context window isn't the bottleneck — **memory is.** But GitHub already stores everything an agent needs: commits, PRs, issues, blame, cross-references. It's a citation graph; agents just don't use it as one. ForgeDock makes every stage write **machine-readable annotations** to issues and PRs, and every downstream agent read them. The `gh` CLI becomes the query interface to institutional memory. The result: agents that follow structured data, not vibes.
|
|
59
83
|
|
|
60
84
|
```
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
85
|
+
┌──────────────────────────────────────────────────────────────────┐
|
|
86
|
+
│ GITHUB (Knowledge Graph) │
|
|
87
|
+
│ │
|
|
88
|
+
│ Issues: FORGE:INVESTIGATOR → FORGE:CONTEXT → FORGE:ARCHITECT │
|
|
89
|
+
│ → FORGE:TRAJECTORY (the run's full audit trail) │
|
|
90
|
+
│ PRs: FORGE:BUILDER → structured review FINDING blocks │
|
|
91
|
+
│ Links: git blame → commit → PR → issue → related issues │
|
|
92
|
+
│ │
|
|
93
|
+
│ Every agent reads this. Every agent writes to it. │
|
|
94
|
+
│ Nothing is lost between conversations. │
|
|
95
|
+
└──────────────────────────────────────────────────────────────────┘
|
|
65
96
|
```
|
|
66
97
|
|
|
67
|
-
Each stage writes a structured annotation (`<!-- FORGE:INVESTIGATOR -->`, `<!-- FORGE:CONTRACT -->`, etc.) to the GitHub issue or PR. Each downstream stage reads what came before. The `gh` CLI is the query interface.
|
|
68
|
-
|
|
69
|
-
| Stage | What it does |
|
|
70
|
-
|---|---|
|
|
71
|
-
| **Investigate** | Traces root cause via `git blame`, related issues/PRs. Writes verdict, affected files, severity. |
|
|
72
|
-
| **Context** | Surfaces historical bugs and known pitfalls from the same module. Institutional memory. |
|
|
73
|
-
| **Architect** | Produces ordered implementation plan with exact file/function/line targets. |
|
|
74
|
-
| **Build** | Writes code, creates branch, makes commits. Follows the architect's plan. |
|
|
75
|
-
| **Quality Gate** | 14+ domain-specific checks (security, auth, DB, concurrency, etc.) |
|
|
76
|
-
| **Review** | 9 specialist agents review the PR diff with confidence-rated findings. |
|
|
77
|
-
| **Close** | Records full audit trail as `FORGE:TRAJECTORY`. |
|
|
78
|
-
|
|
79
|
-
Labels track workflow state (`workflow:investigating`, `workflow:building`, `workflow:in-review`, `workflow:merged`). The pipeline resumes from whatever state GitHub says it's in — restart-safe by design.
|
|
80
|
-
|
|
81
98
|
---
|
|
82
99
|
|
|
83
|
-
##
|
|
100
|
+
## Watch the machine work
|
|
84
101
|
|
|
85
|
-
|
|
102
|
+
Not a staged demo — these are real, public runs on this repository. Open any of them and read the full trail:
|
|
86
103
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
104
|
+
- **[#1230](https://github.com/RapierCraftStudios/ForgeDock/issues/1230)** — the pipeline's staging review caught dead code in a feature the pipeline had shipped three hours earlier; review then caught a bug in the fix itself. Intent to merged: **30 minutes**.
|
|
105
|
+
- **[#1172](https://github.com/RapierCraftStudios/ForgeDock/issues/1172)** — review found an `ANTHROPIC_API_KEY` exfiltration path in the headless runner (an in-process file read bypassed the env scrub), with exact line evidence. Fixed and merged in **18 minutes**, with regression tests. A later re-review found a second-order bypass of the first fix ([#1243](https://github.com/RapierCraftStudios/ForgeDock/issues/1243)) — the pipeline red-teams its own fixes.
|
|
106
|
+
- **[#952](https://github.com/RapierCraftStudios/ForgeDock/issues/952)** — the investigator closed the pipeline's *own proposal* as INVALID with receipts: the deliverable had already shipped weeks earlier. Zero code written, 34 minutes, full explanation.
|
|
107
|
+
- **[#1256](https://github.com/RapierCraftStudios/ForgeDock/issues/1256)** — decomposition that respects the existing graph: it created only the two net-new sub-issues no open issue already claimed, then sequenced three existing issues into the dependency order.
|
|
108
|
+
- **[#1322](https://github.com/RapierCraftStudios/ForgeDock/issues/1322)** — a heavyweight feature (the durable execution engine itself): 9 TDD tasks, whole-branch review caught two Criticals pre-merge, merged in **under 2 hours**.
|
|
92
109
|
|
|
93
|
-
|
|
94
|
-
# Install pipeline commands
|
|
95
|
-
npx forgedock
|
|
110
|
+
And the part that makes it compound — the context phase citing past bugs *by number* before a line is written (from [#1196](https://github.com/RapierCraftStudios/ForgeDock/issues/1196)):
|
|
96
111
|
|
|
97
|
-
#
|
|
98
|
-
npx forgedock init
|
|
112
|
+
> "`commands/orchestrate.md` has a dense review-finding history from PR #1081/#1107/#1126… associative-array declaration mistakes (#1113), array-element removal via pattern substitution corrupting partial matches (#1108)… the new Layer 5 subsection should not introduce a competing edge-direction convention that could reintroduce a cycle class."
|
|
99
113
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
114
|
+
> Numbers on this page are point-in-time (2026-07-04), from this repository's first 30 days of dogfooding. A reproducible cost-per-issue benchmark is a hard gate on our own launch plan — [#1264](https://github.com/RapierCraftStudios/ForgeDock/issues/1264): no estimated efficiency claims.
|
|
115
|
+
|
|
116
|
+
---
|
|
103
117
|
|
|
104
|
-
|
|
118
|
+
## Orchestrate an entire milestone
|
|
105
119
|
|
|
106
|
-
|
|
120
|
+
`/work-on` ships one issue. **`/orchestrate` ships a milestone.** It decomposes the milestone into dependency-ordered waves and runs a full `/work-on` pipeline on each issue **in parallel** — investigating, building, reviewing, and merging many at once, while GitHub labels track every agent's state live. On this repo's record day, that meant **29 issues taken to merged inside a single hour**.
|
|
107
121
|
|
|
108
|
-
|
|
109
|
-
<summary><strong>Other install methods & commands</strong></summary>
|
|
122
|
+
Scheduling is conflict-aware before it is parallel. Five detection layers decide what may run concurrently: same-file overlap, directory proximity, shared-module fan-in, a conservative fallback when file extraction is low-confidence, and **historical co-change coupling mined from `git log`** — files that changed together in the past are assumed to conflict now. Database-touching issues are always serialized. The resulting graph is cycle-checked (Kahn's algorithm) and executed in topologically sorted waves; overlapping work is expressed as ordinary `Depends on #N` edges anyone can read.
|
|
110
123
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
/plugin install forgedock@forgedock
|
|
115
|
-
```
|
|
124
|
+
<div align="center">
|
|
125
|
+
<img src="assets/orchestration.svg" alt="One milestone fanned out into parallel work-on pipelines, each issue advancing through investigating, building, in-review, and merged" width="920" />
|
|
126
|
+
</div>
|
|
116
127
|
|
|
117
|
-
**CLI commands:**
|
|
118
128
|
```bash
|
|
119
|
-
|
|
120
|
-
npx forgedock uninstall # Remove all ForgeDock commands from ~/.claude/commands/
|
|
121
|
-
npx forgedock help # Show all available commands
|
|
129
|
+
/orchestrate milestone/checkout-v2 # decompose → conflict-aware waves → merged PRs
|
|
122
130
|
```
|
|
123
131
|
|
|
124
|
-
|
|
125
|
-
```bash
|
|
126
|
-
# Preview the assembled prompt + tool plan (no API key needed)
|
|
127
|
-
npx forgedock run work-on 42 --dry-run
|
|
132
|
+
---
|
|
128
133
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
npx forgedock run work-on 42
|
|
133
|
-
```
|
|
134
|
-
`forgedock run` loads the same `commands/*.md` specs and drives an Anthropic
|
|
135
|
-
tool-use loop directly, so the pipeline no longer depends on the Claude Code
|
|
136
|
-
agent loop. Claude Code remains the recommended interactive experience; the
|
|
137
|
-
runner adds CI/CD and non-Claude-Code paths. Flags: `--dry-run`, `--model <id>`,
|
|
138
|
-
`--max-iterations <n>`.
|
|
134
|
+
## How it works
|
|
135
|
+
|
|
136
|
+
Each stage reads the structured output of the stages before it and writes its own findings back:
|
|
139
137
|
|
|
140
|
-
**AI-powered setup** (inside Claude Code):
|
|
141
138
|
```
|
|
142
|
-
|
|
139
|
+
Issue → Investigate → Context → Architect → Build → Quality Gate → Review → Merge
|
|
140
|
+
└──────────── each stage reads & writes GitHub ────────────┘
|
|
143
141
|
```
|
|
144
142
|
|
|
145
|
-
|
|
143
|
+
| Stage | Reads | Writes |
|
|
144
|
+
| --- | --- | --- |
|
|
145
|
+
| **Investigate** | Issue body, `git blame`, related issues/PRs | `FORGE:INVESTIGATOR` — verdict, root cause, affected files, severity |
|
|
146
|
+
| **Context** | Historical findings from related PRs, known pitfalls | `FORGE:CONTEXT` — institutional memory for this module |
|
|
147
|
+
| **Architect** | Investigation + context | `FORGE:ARCHITECT` — ordered plan, code paths, risks |
|
|
148
|
+
| **Build** | Everything above | `FORGE:BUILDER` — branch, commits, files changed |
|
|
149
|
+
| **Quality Gate** | Builder output, domain-specific checks | gate results, recorded in the run's trajectory |
|
|
150
|
+
| **Review** | PR diff, contract, gate results | `FORGE:REVIEW_STARTED` on the issue; per-agent findings as structured `FINDING` blocks on the PR |
|
|
151
|
+
| **Close** | All of the above | `FORGE:TRAJECTORY` — the full audit trail of the run |
|
|
146
152
|
|
|
147
|
-
|
|
148
|
-
<summary><strong>See a real pipeline run</strong></summary>
|
|
149
|
-
|
|
150
|
-
Here's what a real run looks like on [issue #619](https://github.com/RapierCraftStudios/ForgeDock/issues/619) — a performance bug where command specs were burning ~200K tokens in context:
|
|
151
|
-
|
|
152
|
-
```
|
|
153
|
-
FORGE:INVESTIGATOR → CONFIRMED. All 27 command spec files (848KB) load into
|
|
154
|
-
context at session start via symlinks. ~200K tokens wasted.
|
|
155
|
-
|
|
156
|
-
FORGE:CONTRACT → Replace symlink-based install with stub-file pattern.
|
|
157
|
-
Installer parses frontmatter, writes minimal stubs.
|
|
153
|
+
**GitHub as the database.** Every annotation is wrapped in an HTML comment (`<!-- FORGE:INVESTIGATOR -->`) that makes it machine-parseable. When an agent starts — even in a brand-new conversation after compaction — it queries the issue via `gh` and reconstructs full context from these tags. Workflow labels (`workflow:investigating`, `workflow:in-review`, `workflow:merged`…) track state, and the pipeline resumes from whatever state GitHub reports. The annotation format is an open standard — see the [FORGE Annotation Protocol](docs/spec/forge-protocol-v1.md).
|
|
158
154
|
|
|
159
|
-
FORGE:
|
|
160
|
-
check err.code === 'ENOENT'. Issue #587: Windows writes
|
|
161
|
-
regular files, not symlinks — keep both paths working.
|
|
155
|
+
**Durable by design.** Headless runs are backed by a real execution engine, not prompt-hope: every phase transition is appended to an event-sourced, crash-safe run log, mirrored to the issue as a compact `FORGE:STATE` index, and guarded by leases so two agents can never own the same issue. Kill the process mid-run and restart it — the engine reconciles local state against GitHub (GitHub wins), adopts branches and PRs that already exist instead of re-running the LLM, and escalates to `needs-human` after bounded retries instead of looping. Phase selection is a pure rule-based state machine: **the engine, not the model, decides what happens next.** The headless core shipped in [PR #1326](https://github.com/RapierCraftStudios/ForgeDock/pull/1326); wiring the interactive path onto the same engine is in progress ([#1323](https://github.com/RapierCraftStudios/ForgeDock/issues/1323)–[#1325](https://github.com/RapierCraftStudios/ForgeDock/issues/1325)).
|
|
162
156
|
|
|
163
|
-
|
|
164
|
-
generateStubContent(), updated install() flow.
|
|
157
|
+
**Domain-specialist review.** Every PR is reviewed by agents with deep, narrow expertise — Security, Auth & Access Control, Billing Integrity, Database, Concurrency, Frontend, API, Performance, Infrastructure. Findings carry a confidence level, and a **reproduction gate** keeps them honest: a finding only blocks if the reviewer traced an actual code path or input that triggers it — pattern-match suspicions are downgraded, not merged into noise. Findings above the severity threshold are **automatically filed as new issues** that enter the same pipeline: on this repo, that loop produced 49% of all issues ever filed.
|
|
165
158
|
|
|
166
|
-
|
|
159
|
+
**It measures itself.** `/pipeline-health` correlates every prompt change against review-finding rates, build failures, and manual fix-up commits, then files its own report — including failing grades — as an issue. `/autopilot` pulls production signals (errors, CI failures, stale issues, analytics), files issues from them, and optionally runs `/work-on` on the top ones. The pipeline also invalidates its own bad ideas: proposals that turn out to be already-shipped or wrong are closed `workflow:invalid` with the reasoning attached ([example](https://github.com/RapierCraftStudios/ForgeDock/issues/952)).
|
|
167
160
|
|
|
168
|
-
|
|
161
|
+
---
|
|
169
162
|
|
|
170
|
-
|
|
171
|
-
```
|
|
163
|
+
## Built for the ways agents fail
|
|
172
164
|
|
|
173
|
-
|
|
165
|
+
Every mechanism above exists because autonomous agents fail in predictable ways. The skeptics are right about the failure modes — the answer is structure, not optimism:
|
|
174
166
|
|
|
175
|
-
|
|
167
|
+
| "We've all seen this go wrong…" | The mechanism |
|
|
168
|
+
| --- | --- |
|
|
169
|
+
| Parallel agents just turn typing time into *reading* time | Review is a pipeline stage: domain specialists with confidence ratings and a reproduction gate — not a pile of raw diffs |
|
|
170
|
+
| Agents game their own checks (or delete the tests) | Builders never grade their own work — the quality gate and reviewers are separate agents reading the diff cold |
|
|
171
|
+
| Third retry = increasingly creative excuses | Engine-owned state machine: bounded retries, then escalation to `needs-human` |
|
|
172
|
+
| One runaway agent wrecks the codebase | 1 issue = 1 agent, bounded by decomposition; conflict-aware scheduling; isolated worktrees |
|
|
173
|
+
| No institutional memory — "it can't read the Slack thread from 2023" | Every run writes citable annotations to GitHub; the context phase quotes past bugs by number |
|
|
174
|
+
| No way to tell when an agent drifts | A `FORGE:TRAJECTORY` receipt on the issue records what every phase actually did |
|
|
175
|
+
| Humans rubber-stamp 95%-good output | Specialist review raises the floor *before* a human looks at the PR |
|
|
176
|
+
| The economics are opaque | ForgeDock runs on your existing Claude account — it resells no compute and takes no per-task cut. Cost-per-issue benchmarks are tracked in the open ([#1264](https://github.com/RapierCraftStudios/ForgeDock/issues/1264)) |
|
|
176
177
|
|
|
177
178
|
---
|
|
178
179
|
|
|
179
|
-
##
|
|
180
|
+
## Commands
|
|
180
181
|
|
|
181
|
-
|
|
182
|
+
**The core loop:**
|
|
182
183
|
|
|
183
184
|
| Command | What it does |
|
|
184
|
-
|
|
185
|
-
|
|
|
186
|
-
|
|
|
187
|
-
| `/
|
|
185
|
+
| --- | --- |
|
|
186
|
+
| **`/work-on`** | Full issue lifecycle: investigate → build → quality gate → review → merge |
|
|
187
|
+
| `/orchestrate` | A whole milestone in parallel — conflict-aware waves, one pipeline per issue |
|
|
188
|
+
| `/issue` | Creates pipeline-ready GitHub issues |
|
|
189
|
+
| `/milestone` | Create, manage, and ship milestones |
|
|
190
|
+
| `/review-pr` | Context-aware PR review with domain-specialist agents |
|
|
191
|
+
| `/quality-gate` | Pre-commit checks, gated by the domains your change actually touches |
|
|
192
|
+
| `/test-gate` | Acceptance verification against running code before anything deploys |
|
|
188
193
|
|
|
189
|
-
|
|
194
|
+
**Observe & recover** — the durable-state story, as commands:
|
|
190
195
|
|
|
191
|
-
|
|
196
|
+
| Command | What it does |
|
|
197
|
+
| --- | --- |
|
|
198
|
+
| `/pipeline-status` | Fleet view of every in-flight issue, straight from workflow labels |
|
|
199
|
+
| `/pipeline-resume` | Resume an interrupted run from whatever state GitHub reports |
|
|
200
|
+
| `/diagnose` | Trace why a run failed, from its annotations |
|
|
201
|
+
| `/explain` | Translate the FORGE annotations on any issue into plain language |
|
|
202
|
+
| `/replay` | Replay a past run's full audit trail |
|
|
203
|
+
| `/changelog` | Release notes assembled from merged PRs and trajectory receipts |
|
|
192
204
|
|
|
193
|
-
|
|
205
|
+
**Ops:**
|
|
194
206
|
|
|
195
207
|
| Command | What it does |
|
|
196
|
-
|
|
197
|
-
|
|
|
198
|
-
| `/issue` | Create a pipeline-ready GitHub issue |
|
|
199
|
-
| `/orchestrate` | Parallel execution across a milestone's issues |
|
|
200
|
-
| `/review-pr` | PR review with 9 domain-specialist agents |
|
|
201
|
-
| `/quality-gate` | Pre-commit checks across 14+ domains |
|
|
202
|
-
| `/milestone` | Plan and ship milestones |
|
|
203
|
-
| `/deploy-info` | Staging vs main diff with risk assessment |
|
|
204
|
-
| `/review-pr-staging` | Staging-to-main review gate |
|
|
208
|
+
| --- | --- |
|
|
209
|
+
| `/deploy-info` | Staging vs. main diff with risk assessment |
|
|
205
210
|
| `/rollback` | Automated revert PR for production incidents |
|
|
206
|
-
| `/
|
|
207
|
-
| `/
|
|
208
|
-
| `/
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
| `/analytics` | Pull metrics from GSC, Clarity, Umami, Stripe |
|
|
212
|
-
| `/cleanup` | Sweep stale issues, branches, worktrees |
|
|
211
|
+
| `/autopilot` | Production signals → triaged issues → fixes |
|
|
212
|
+
| `/security-audit` | Multi-phase security posture audit |
|
|
213
|
+
| `/cleanup` | Sweeps stale issues, branches, worktrees |
|
|
214
|
+
|
|
215
|
+
More ship today (web-property analytics, browser QA sweeps, self-benchmarking) — see the [full command reference](docs/site/command-reference.md). A leaner, tiered install that keeps the core loop front and center is planned in [#1257](https://github.com/RapierCraftStudios/ForgeDock/issues/1257).
|
|
213
216
|
|
|
214
217
|
---
|
|
215
218
|
|
|
216
|
-
##
|
|
219
|
+
## Install
|
|
217
220
|
|
|
218
|
-
|
|
221
|
+
**Requirements:** [Claude Code](https://docs.anthropic.com/en/docs/claude-code) · [GitHub CLI](https://cli.github.com/) (authenticated) · Node.js ≥ 18.
|
|
219
222
|
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
work-on.md → /path/to/forgedock/commands/work-on.md
|
|
224
|
-
review-pr.md → /path/to/forgedock/commands/review-pr.md
|
|
225
|
-
...
|
|
223
|
+
```bash
|
|
224
|
+
npx forgedock # project-scoped install: checks your environment, installs commands for this repo, detects your repo, and hands you a reviewed forge.yaml
|
|
225
|
+
npx forgedock --global # global install: installs into ~/.claude/commands/ — available in every Claude Code session on this machine
|
|
226
226
|
```
|
|
227
227
|
|
|
228
|
-
**Project-
|
|
228
|
+
**Project-scoped is the default.** `npx forgedock` installs commands scoped to the current project directory. Use `--global` only when you want the commands available across all your projects on this machine.
|
|
229
229
|
|
|
230
|
-
|
|
231
|
-
your-project/
|
|
232
|
-
.claude/
|
|
233
|
-
commands/
|
|
234
|
-
my-custom-command.md ← project-local — Claude Code merges these in
|
|
235
|
-
```
|
|
230
|
+
One command does everything: it checks your environment, installs the slash commands into Claude Code, detects your repo (owner, branches, paths), and hands you a single annotated `forge.yaml` to review — press Enter to accept. Run `npx forgedock init` any time afterward to re-generate the config only.
|
|
236
231
|
|
|
237
|
-
|
|
232
|
+
Installing also registers a SessionStart hook, so every Claude Code session
|
|
233
|
+
in a forge-managed directory starts already knowing ForgeDock runs it.
|
|
234
|
+
Per-directory control: `npx forgedock enable` / `disable` / `status`.
|
|
238
235
|
|
|
239
|
-
|
|
236
|
+
Then just open Claude Code and run `/work-on <issue>`.
|
|
240
237
|
|
|
241
|
-
|
|
238
|
+
> **Cost:** ForgeDock is free and open-source. It orchestrates sessions on **your** Claude account — no compute resold, no per-task markup. A typical `/work-on` run on a straightforward bug costs about what a 15–20 minute manual Claude Code session does.
|
|
242
239
|
|
|
243
|
-
|
|
240
|
+
<details>
|
|
241
|
+
<summary><strong>Other install options & commands</strong></summary>
|
|
244
242
|
|
|
245
|
-
|
|
243
|
+
**Claude Code plugin marketplace** (Claude Code v2.1.143+):
|
|
246
244
|
|
|
247
|
-
|
|
245
|
+
```
|
|
246
|
+
/plugin marketplace add RapierCraftStudios/ForgeDock
|
|
247
|
+
/plugin install forgedock@forgedock
|
|
248
|
+
```
|
|
248
249
|
|
|
249
|
-
|
|
250
|
+
Commands then appear as `/forgedock:work-on`, etc. You still run `npx forgedock init` to generate `forge.yaml`.
|
|
251
|
+
|
|
252
|
+
**Headless / CI:** the pipeline also runs outside Claude Code. `npx forgedock run work-on <issue> --dry-run` previews the assembled prompt and tool plan; with an `ANTHROPIC_API_KEY`, `npx forgedock run` drives the same command specs through a hardened tool-use loop, and `npx forgedock run-issue <issue>` executes them on the durable engine (event-sourced run log, leases, crash-safe resume).
|
|
250
253
|
|
|
251
|
-
|
|
254
|
+
**Install modes:**
|
|
252
255
|
|
|
253
|
-
|
|
256
|
+
```bash
|
|
257
|
+
npx forgedock install # project-scoped: <cwd>/.claude/commands/ (default)
|
|
258
|
+
npx forgedock install --global # global: ~/.claude/commands/ (opt-in)
|
|
259
|
+
```
|
|
254
260
|
|
|
255
|
-
|
|
256
|
-
|---|---|---|---|---|
|
|
257
|
-
| Memory across sessions | Structured annotations on GitHub | CLAUDE.md + manual notes | Per-project context | Proprietary cloud state |
|
|
258
|
-
| Autonomous pipeline | Full lifecycle: investigate → merge | Manual, step by step | Autocomplete + chat | Autonomous but opaque |
|
|
259
|
-
| Review quality | 9 domain-specialist agents | You review everything | Basic suggestions | Varies |
|
|
260
|
-
| Infrastructure needed | None — just `npx forgedock` | None | IDE-specific | Cloud service |
|
|
261
|
-
| Codebase visibility | Everything stays on GitHub | Local | Local + cloud sync | Cloud-only |
|
|
261
|
+
`uninstall`, `update`, and `doctor` auto-detect which mode is installed — no need to re-specify `--global` after a global install. To explicitly target global: `npx forgedock doctor --global`.
|
|
262
262
|
|
|
263
|
-
|
|
263
|
+
**Maintenance:**
|
|
264
264
|
|
|
265
|
-
|
|
265
|
+
```bash
|
|
266
|
+
npx forgedock update # relink commands + refresh the SessionStart hook
|
|
267
|
+
npx forgedock enable # turn ForgeDock on for this directory
|
|
268
|
+
npx forgedock disable # turn ForgeDock off for this directory
|
|
269
|
+
npx forgedock status # show ForgeDock's state for this directory
|
|
270
|
+
npx forgedock doctor # installation health check with fix hints (auto-detects mode)
|
|
271
|
+
npx forgedock report # 30-day pipeline impact receipts (--md for Markdown, --json for scripting)
|
|
272
|
+
npx forgedock uninstall # remove commands, the hook, and tracked copies (auto-detects mode)
|
|
273
|
+
npx forgedock help # show everything
|
|
274
|
+
```
|
|
266
275
|
|
|
267
|
-
|
|
276
|
+
> Running `npx forgedock` from *inside* this repo uses the local working tree. From your own project, use `npx forgedock@latest` to pin the published release.
|
|
268
277
|
|
|
269
|
-
|
|
278
|
+
</details>
|
|
270
279
|
|
|
271
|
-
|
|
280
|
+
<details>
|
|
281
|
+
<summary><strong>Migrating from a global install</strong></summary>
|
|
272
282
|
|
|
273
|
-
|
|
283
|
+
If you installed ForgeDock before project-scoped became the default, your commands live in `~/.claude/commands/`. You have two paths forward:
|
|
274
284
|
|
|
275
|
-
|
|
285
|
+
**Keep the global install** — add `--global` going forward and nothing changes:
|
|
276
286
|
|
|
277
|
-
|
|
287
|
+
```bash
|
|
288
|
+
npx forgedock --global # install / update globally as before
|
|
289
|
+
```
|
|
278
290
|
|
|
279
|
-
|
|
291
|
+
**Switch to project-scoped** (recommended for multi-repo setups):
|
|
280
292
|
|
|
281
293
|
```bash
|
|
282
|
-
|
|
294
|
+
# 1. Check your current install mode
|
|
295
|
+
npx forgedock status
|
|
296
|
+
|
|
297
|
+
# 2. Remove the global install
|
|
298
|
+
npx forgedock uninstall --global
|
|
299
|
+
|
|
300
|
+
# 3. Install project-scoped in each repo you use ForgeDock in
|
|
301
|
+
cd /path/to/your/project
|
|
302
|
+
npx forgedock
|
|
283
303
|
```
|
|
284
304
|
|
|
285
|
-
|
|
305
|
+
Run `npx forgedock doctor` after switching to confirm everything is healthy.
|
|
306
|
+
|
|
307
|
+
</details>
|
|
286
308
|
|
|
287
309
|
---
|
|
288
310
|
|
|
289
|
-
##
|
|
311
|
+
## For companies
|
|
312
|
+
|
|
313
|
+
The core is AGPL-3.0 and stays that way: engineers run the full pipeline on their own Claude account, forever free.
|
|
290
314
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
- [
|
|
294
|
-
-
|
|
295
|
-
- [ForgeDock vs. Manual Workflows](docs/site/vs-manual-workflows.md) — structured pipelines vs. ad-hoc prompting
|
|
296
|
-
- [ForgeDock vs. DeepWiki, AGENTS.md, and Cursor Memories](docs/comparison.md) — structural differences between context tools
|
|
297
|
-
- [FORGE Annotation Protocol](docs/site/forge-annotation-protocol.md) — open standard spec for AI context passing
|
|
298
|
-
- [FORGE Annotation Protocol v1.0 (formal spec)](docs/spec/forge-protocol-v1.md) — standalone, versioned, CC-BY-4.0 specification you can implement in any agent pipeline
|
|
299
|
-
- [Command Learning Path](docs/site/command-learning-path.md) — which commands to learn first, tiered by when you need them
|
|
300
|
-
- [Command Reference](docs/site/command-reference.md) — all 25+ commands with usage and examples
|
|
301
|
-
- [Troubleshooting & Recovery Guide](docs/site/troubleshooting.md) — symptom, cause, and fix for the most common pipeline failures
|
|
315
|
+
Two things are for sale:
|
|
316
|
+
|
|
317
|
+
- **A [commercial license](COMMERCIAL-LICENSE.md)** — for organizations that need ForgeDock inside proprietary workflows or products without AGPL copyleft obligations. Contact [support@rapiercraftstudios.com](mailto:support@rapiercraftstudios.com).
|
|
318
|
+
- **The fleet layer** *(in development)* — org-wide observability over every pipeline run: the receipts on this page, live, across all your repos, plus policy controls and audit-grade provenance for autonomous merges. We're onboarding a small group of design partners — see [ForgeDock for Companies](docs/site/for-companies.md) for details and intake.
|
|
302
319
|
|
|
303
320
|
---
|
|
304
321
|
|
|
305
|
-
##
|
|
322
|
+
## Where it's going
|
|
306
323
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
324
|
+
Month one built the execution layer. The open roadmap — tracked in the [five-foundations epic (#1320)](https://github.com/RapierCraftStudios/ForgeDock/issues/1320) — is about earning trust while unattended:
|
|
325
|
+
|
|
326
|
+
1. **Durability** — engine-owned state instead of prose-owned state. Headless core shipped ([PR #1326](https://github.com/RapierCraftStudios/ForgeDock/pull/1326)); interactive wiring in progress.
|
|
327
|
+
2. **Verification** — an outcome-based acceptance gate and a graded eval corpus, so "done" is machine-checkable before anything claims success. Per-release pipeline scorecards are published in [`docs/eval/`](docs/eval/README.md); model upgrades follow the [model-release playbook](docs/articles/model-release-playbook.md).
|
|
328
|
+
3. **Learning** — per-codebase memory that compounds across runs.
|
|
329
|
+
4. **Economics** — per-run cost accounting and risk×cost dispatch decisions.
|
|
330
|
+
5. **Provenance** — signed, replayable records of every autonomous change.
|
|
331
|
+
|
|
332
|
+
Marketing is held to the same standard: [#1264](https://github.com/RapierCraftStudios/ForgeDock/issues/1264) gates our own launch on measured cost-per-issue benchmarks — no estimated claims.
|
|
314
333
|
|
|
315
334
|
---
|
|
316
335
|
|
|
317
|
-
##
|
|
336
|
+
## Show your support
|
|
318
337
|
|
|
319
|
-
|
|
338
|
+
Using ForgeDock in your pipeline? Add the badge — each one is a backlink and a signal to other developers:
|
|
320
339
|
|
|
321
|
-
|
|
340
|
+
```markdown
|
|
341
|
+
[](https://github.com/RapierCraftStudios/ForgeDock)
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
[](https://github.com/RapierCraftStudios/ForgeDock)
|
|
345
|
+
|
|
346
|
+
---
|
|
322
347
|
|
|
323
|
-
|
|
348
|
+
## Star History
|
|
324
349
|
|
|
325
|
-
|
|
350
|
+
<div align="center">
|
|
326
351
|
|
|
327
|
-
|
|
352
|
+
<a href="https://star-history.com/#RapierCraftStudios/ForgeDock&Date">
|
|
353
|
+
<picture>
|
|
354
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=RapierCraftStudios/ForgeDock&type=Date&theme=dark" />
|
|
355
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=RapierCraftStudios/ForgeDock&type=Date" width="600" />
|
|
356
|
+
</picture>
|
|
357
|
+
</a>
|
|
328
358
|
|
|
329
|
-
|
|
359
|
+
</div>
|
|
330
360
|
|
|
331
361
|
---
|
|
332
362
|
|
|
333
|
-
|
|
363
|
+
## Docs & community
|
|
334
364
|
|
|
335
|
-
|
|
365
|
+
- [GitHub Is Already Your Agents' Memory](docs/site/github-is-the-memory.md) — the canonical argument: why GitHub is the right place for agent memory, how FORGE annotations make it machine-readable, and how to adopt the protocol without ForgeDock
|
|
366
|
+
- [Getting Started in 5 Minutes](docs/site/getting-started.md)
|
|
367
|
+
- [How the Knowledge Graph Works](docs/site/how-it-works.md)
|
|
368
|
+
- [What Are Those FORGE Comments?](docs/site/annotations-explained.md) — 2-minute explainer for annotations you meet in the wild
|
|
369
|
+
- [FORGE Annotation Protocol](docs/spec/forge-protocol-v1.md) — the open standard for AI context passing (CC-BY-4.0)
|
|
370
|
+
- [ForgeDock vs. Manual Claude Code Workflows](docs/site/vs-manual-workflows.md)
|
|
371
|
+
- [ForgeDock vs. DeepWiki, AGENTS.md, and Cursor Memories](docs/comparison.md)
|
|
372
|
+
- [Command Learning Path](docs/site/command-learning-path.md) — which commands to learn first
|
|
373
|
+
- [Complete Command Reference](docs/site/command-reference.md)
|
|
374
|
+
- [Troubleshooting & Recovery](docs/site/troubleshooting.md)
|
|
375
|
+
- [Pipeline Eval Scorecards](docs/eval/README.md) — per-release published results for every model/Claude Code upgrade
|
|
376
|
+
- [Model-Release Upgrade Playbook](docs/articles/model-release-playbook.md) — how to validate a new model before adopting it
|
|
336
377
|
|
|
337
|
-
|
|
378
|
+
**Contributing:** PRs welcome — every change goes through a PR, tested against 3+ scenarios, using conventional commits (`fix(command):`, `feat(command):`). **License:** [AGPL-3.0](LICENSE) — free to use, modify, and distribute; network use of modifications must be open-sourced under the same license. Commercial licenses are available for proprietary use — see [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md).
|
|
338
379
|
|
|
380
|
+
<div align="center">
|
|
381
|
+
<br />
|
|
382
|
+
<p>Built and dogfooded in production by <a href="https://github.com/RapierCraftStudios">RapierCraft Studios</a>.</p>
|
|
339
383
|
</div>
|