@warpgogol/forge 9.6.0 → 9.6.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/CHANGELOG.md +28 -0
- package/README.md +161 -104
- package/README.uk.md +175 -117
- package/dist/os/core/core.module.d.ts.map +1 -1
- package/dist/os/core/core.module.js +58 -5
- package/dist/os/core/core.module.js.map +1 -1
- package/dist/os/core/handlers/package-health.d.ts.map +1 -1
- package/dist/os/core/handlers/package-health.js +95 -8
- package/dist/os/core/handlers/package-health.js.map +1 -1
- package/dist/os/flow/handlers/flow-cut.d.ts.map +1 -1
- package/dist/os/flow/handlers/flow-cut.js +27 -6
- package/dist/os/flow/handlers/flow-cut.js.map +1 -1
- package/dist/os/rfc/rfc.module.d.ts.map +1 -1
- package/dist/os/rfc/rfc.module.js +7 -3
- package/dist/os/rfc/rfc.module.js.map +1 -1
- package/dist/src/onboarding/scaffold-project.d.ts.map +1 -1
- package/dist/src/onboarding/scaffold-project.js +21 -2
- package/dist/src/onboarding/scaffold-project.js.map +1 -1
- package/dist/src/validators/skill-doc-sync.d.ts +76 -0
- package/dist/src/validators/skill-doc-sync.d.ts.map +1 -0
- package/dist/src/validators/skill-doc-sync.js +333 -0
- package/dist/src/validators/skill-doc-sync.js.map +1 -0
- package/docs/concepts/governance-model.md +9 -1
- package/docs/concepts/verification-model.md +31 -0
- package/docs/guides/existing-project.md +12 -0
- package/docs/guides/skills.md +27 -8
- package/docs/guides/upgrading.md +6 -2
- package/docs/guides/verification-and-evidence.md +45 -0
- package/docs/integrations/devin.md +49 -0
- package/docs/reference/cli.md +12 -1
- package/docs/reference/fleet-measurement.md +52 -0
- package/docs/reference/programmatic-api.md +62 -33
- package/os/core/core.module.ts +70 -11
- package/os/core/handlers/package-health.test.ts +104 -23
- package/os/core/handlers/package-health.ts +133 -19
- package/os/flow/handlers/flow-cut.ts +27 -6
- package/os/flow/tests/flow-cut.rerun.test.ts +54 -4
- package/os/rfc/rfc.module.ts +7 -3
- package/package.json +1 -1
- package/profiles/forge-shell.yaml +1 -0
- package/profiles/godot-game.yaml +1 -0
- package/profiles/phaser-game.yaml +1 -0
- package/profiles/site-workshop.yaml +1 -0
- package/profiles/system.yaml +1 -0
- package/profiles/typescript.yaml +1 -0
- package/skills/fo/fo-session-retro/SKILL.md +6 -4
- package/src/onboarding/scaffold-project.ts +19 -2
- package/src/tests/skill-doc-sync.test.ts +233 -0
- package/src/validators/skill-doc-sync.ts +449 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,34 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
|
|
7
7
|
For the full commit history, see the [GitHub releases page](https://github.com/syrokomskyi/forge/releases).
|
|
8
8
|
|
|
9
|
+
## [9.6.2] — 2026-11-14
|
|
10
|
+
|
|
11
|
+
_Documentation conformance pass — counts synced to the real registry, the programmatic API rewritten against the verified surface, new integration and verification docs._
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **`docs/concepts/verification-model.md`** — the Instructions / Validation / Enforcement model and what Forge does not guarantee.
|
|
16
|
+
- **`docs/guides/verification-and-evidence.md`** — scenario guide for session audit, trajectory memory, context assembly, gate probes, conformance, and the agent operating model.
|
|
17
|
+
- **`docs/integrations/devin.md`** — Devin CLI/Cloud integration: install order, one-task walkthrough, responsibility split, honest boundaries.
|
|
18
|
+
- **`docs/reference/fleet-measurement.md`** — methodology behind the README fleet table, a worked `codebase.measure` example, and limitations.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- **Docs consistency**: skill counts corrected to 41 (34 fo + 4 shared + 3 meta) across README/guides; `upgrading.md` now documents the manifest-based stale-dir prune instead of claiming upgrade never deletes; `cli.md` gains `codebase.measure`; `existing-project.md` gains a safety checklist; the live-preview claim and fleet table are scoped to what they actually guarantee.
|
|
23
|
+
- **`programmatic-api.md` rewritten** — module table synced to the exported modules; the registry placeholder replaced by a compiling example verified against `createForgeRfcModule`/`ForgeRuntimeContext`.
|
|
24
|
+
- **README claim scoping** — "same governance" → "one project contract, multiple agents"; "safe to trust at scale" → "easier to inspect and verify"; "every commit" → "every change merged to main"; bootstrap requirements stated; the embedded API example replaced by the verified compiling snippet.
|
|
25
|
+
- **"One task. One contract. One verified result."** — the v9.6.1 release itself as the public end-to-end case study (agent-authored, gate-verified, CI-published).
|
|
26
|
+
- **`AGENTS.md` skill count synced** to the real `skills/` registry (34 fo + 4 shared + 3 meta).
|
|
27
|
+
- **Ukrainian README edited for idiomatic phrasing** per external review.
|
|
28
|
+
|
|
29
|
+
## [9.6.1] — 2026-11-14
|
|
30
|
+
|
|
31
|
+
_READMEs lead with the agent-native proof: Forge governs its own development, the supported-agent list names Devin, and the fleet table's line accounting is explicit._
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
|
|
35
|
+
- **README (EN/UK)**: open with the problem Forge solves and the self-governance numbers (1,563 RFCs, 131 ADRs, 41 skills under Forge governance on the monorepo that builds it); name Devin among supported agents; group the feature list into Decisions / Agent behavior / Verification; rename the fleet table's total column and state the `code + tests + docs + generated` decomposition; add a "Where Forge is going" section.
|
|
36
|
+
|
|
9
37
|
## [9.6.0] — 2026-11-13
|
|
10
38
|
|
|
11
39
|
_A product-level correctness contour lands — manifest, audit, and an integration gate — alongside a repository-scale measurement command._
|
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
[Українська](README.uk.md) | English
|
|
4
4
|
|
|
5
|
-
**AI
|
|
5
|
+
**AI agents write the code. Forge keeps the project engineered.**
|
|
6
6
|
|
|
7
|
-
A repository-native control layer for AI-assisted development. Decisions, rules, skills and verification
|
|
7
|
+
A repository-native control layer for AI-assisted development. Decisions, rules, skills and verification live with the repository — independent of the agent, model or IDE doing the work.
|
|
8
8
|
|
|
9
|
-
**
|
|
9
|
+
**Proven on itself first.** The monorepo that builds Forge is governed by Forge: 1,500+ RFCs, 130+ ADRs and 41 agent skills — every change merged to main passes deterministic verification gates, not "the agent says it's done". The same layer already governs a ~5.9M-line engineering fleet across 8 repositories. [The measured fleet ↓](#forged-in-production)
|
|
10
10
|
|
|
11
11
|
> Engineered at [Warpgogol](https://warpgogol.com) · Released as open source. <!-- pkg-health-12: domain name, not a command -->
|
|
12
12
|
|
|
@@ -16,15 +16,58 @@ A repository-native control layer for AI-assisted development. Decisions, rules,
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
+
## The problem
|
|
20
|
+
|
|
21
|
+
AI agents made writing code cheap — and keeping a project coherent expensive.
|
|
22
|
+
|
|
23
|
+
- Rules live in prompts that vanish between sessions.
|
|
24
|
+
- Architecture decisions stay implicit — the codebase can't explain _why_ it looks this way.
|
|
25
|
+
- "Done" means the agent says so.
|
|
26
|
+
- Switching agents, models or IDEs resets the project's memory to zero.
|
|
27
|
+
|
|
28
|
+
Every additional agent multiplies the drift. Speed without control is technical debt at agent velocity.
|
|
29
|
+
|
|
30
|
+
## The missing layer
|
|
31
|
+
|
|
32
|
+
Agents and models are interchangeable parts. The project needs a control layer that isn't.
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
IDE / AGENT / MODEL
|
|
36
|
+
↓
|
|
37
|
+
┌──────────────────────────────────┐
|
|
38
|
+
│ FORGE │
|
|
39
|
+
│ │
|
|
40
|
+
│ Project contract forge.yaml │
|
|
41
|
+
│ Decisions RFC / ADR │
|
|
42
|
+
│ Agent workflows Skills │
|
|
43
|
+
│ Verification Validators │
|
|
44
|
+
│ Evolution Upgrade │
|
|
45
|
+
└──────────────────────────────────┘
|
|
46
|
+
↓
|
|
47
|
+
YOUR REPOSITORY
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Agents can change. Models can change. IDEs can change. Engineering rules stay with the project.
|
|
51
|
+
|
|
52
|
+
## One project contract. Multiple agents.
|
|
53
|
+
|
|
54
|
+
Forge stores engineering rules in portable repository files — `forge.yaml`, `AGENTS.md`, RFCs, skills. Compatible agents can consume the same instructions, decisions, and workflows: **Devin**, Windsurf, Cursor, Claude Code, Codex CLI — and whatever ships next. Deterministic checks remain independent of the agent and can be enforced through CI. No per-vendor plugin, no lock-in.
|
|
55
|
+
|
|
56
|
+
This makes autonomous development easier to inspect and verify: deterministic gates check declared invariants, while session audits identify potential policy violations and produce reviewable findings. For Devin CLI / Devin Cloud specifics — install order, a one-task walkthrough, and honest boundaries — see [docs/integrations/devin.md](docs/integrations/devin.md).
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
19
60
|
## Start right now
|
|
20
61
|
|
|
21
|
-
Create a new folder, open it in your AI IDE
|
|
62
|
+
Create a new folder, open it in your AI IDE or point your coding agent at it, and paste this:
|
|
22
63
|
|
|
23
64
|
```
|
|
24
65
|
Install https://npmjs.com/package/@warpgogol/forge in this folder and set up my project. I want to build: [describe your project]
|
|
25
66
|
```
|
|
26
67
|
|
|
27
|
-
Replace `[describe your project]` with your idea — a game, a library, a knowledge base, anything. The AI agent installs Forge, scaffolds the project, and sets up a live preview. From there on, you just talk: describe what you want, and the agent builds it. No programming, no terminal, no commands.
|
|
68
|
+
Replace `[describe your project]` with your idea — a game, a library, a knowledge base, anything. The AI agent installs Forge, scaffolds the project, and — for profiles that ship a runnable surface — sets up a live preview. From there on, you just talk: describe what you want, and the agent builds it. No programming, no terminal, no commands.
|
|
69
|
+
|
|
70
|
+
This workflow requires an agent with filesystem and command-execution access, a compatible environment (Node.js 24+, pnpm), and permission to install dependencies.
|
|
28
71
|
|
|
29
72
|
### After the prompt completes — the Bootstrap skill
|
|
30
73
|
|
|
@@ -46,9 +89,7 @@ The skill asks a few simple questions in the chat, then sets everything up. Afte
|
|
|
46
89
|
pnpm dlx @warpgogol/forge@latest create --in-place --profile typescript
|
|
47
90
|
```
|
|
48
91
|
|
|
49
|
-
Then open the project in your AI IDE
|
|
50
|
-
|
|
51
|
-
One bootstrap command. After that, work through your coding agent.
|
|
92
|
+
Then open the project in your AI IDE or hand it to your coding agent and describe what you want to build. One bootstrap command — after that, work through your agent.
|
|
52
93
|
|
|
53
94
|
### Stack profiles
|
|
54
95
|
|
|
@@ -70,28 +111,6 @@ pnpm exec forge profile.validate
|
|
|
70
111
|
|
|
71
112
|
---
|
|
72
113
|
|
|
73
|
-
## Architecture
|
|
74
|
-
|
|
75
|
-
```
|
|
76
|
-
IDE / AGENT / MODEL
|
|
77
|
-
↓
|
|
78
|
-
┌──────────────────────────────────┐
|
|
79
|
-
│ FORGE │
|
|
80
|
-
│ │
|
|
81
|
-
│ Project contract forge.yaml │
|
|
82
|
-
│ Decisions RFC / ADR │
|
|
83
|
-
│ Agent workflows Skills │
|
|
84
|
-
│ Verification Validators │
|
|
85
|
-
│ Evolution Upgrade │
|
|
86
|
-
└──────────────────────────────────┘
|
|
87
|
-
↓
|
|
88
|
-
YOUR REPOSITORY
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
Agents can change. Models can change. IDEs can change. Engineering rules stay with the project.
|
|
92
|
-
|
|
93
|
-
---
|
|
94
|
-
|
|
95
114
|
## What Forge controls
|
|
96
115
|
|
|
97
116
|
| Plane | What it governs |
|
|
@@ -102,6 +121,8 @@ Agents can change. Models can change. IDEs can change. Engineering rules stay wi
|
|
|
102
121
|
| **Verification** | Doctor, validators, contracts, deterministic gates |
|
|
103
122
|
| **Evolution** | Profiles, vendored specs, additive upgrades |
|
|
104
123
|
|
|
124
|
+
Instructions, validation and enforcement are distinct levels — see [the verification model](docs/concepts/verification-model.md) for what Forge does and does not guarantee.
|
|
125
|
+
|
|
105
126
|
---
|
|
106
127
|
|
|
107
128
|
## Without Forge / With Forge
|
|
@@ -140,29 +161,35 @@ Agents can change. Models can change. IDEs can change. Engineering rules stay wi
|
|
|
140
161
|
|
|
141
162
|
## What you get
|
|
142
163
|
|
|
143
|
-
|
|
164
|
+
**Decisions & knowledge**
|
|
165
|
+
|
|
144
166
|
- **RFC workflow** — create, validate, list, graph, archive, acceptance probes
|
|
145
167
|
- **ADR workflow** — lightweight architectural decision records
|
|
146
168
|
- **Spec vendoring** — vendor external specs as immutable snapshots
|
|
147
|
-
- **Naming conventions** — kebab-case linting
|
|
148
|
-
- **Workflow linting** — validate `.agents/workflows/` frontmatter
|
|
149
|
-
- **Stack scaffolding** — pnpm + Turborepo monorepo from a profile
|
|
150
|
-
- **Bindings contract** — de-hardcode project-specific commands via `forge.yaml`
|
|
151
|
-
- **Session audit** — deterministic detectors over saved agent sessions: circumvention, blocker deception, false completion claims
|
|
152
169
|
- **Trajectory memory** — extract proven procedures from verified sessions and recall them at decision points
|
|
153
170
|
- **Context assembly** — budgeted, ranked context slates for a task description
|
|
171
|
+
|
|
172
|
+
**Agent behavior**
|
|
173
|
+
|
|
174
|
+
- **41 skills** — the full idea → RFC → plan → implement → review → fix pipeline, grilling, preferences, skill authoring
|
|
175
|
+
- **Agent operating model** — EXPLORE/ROUTINE/GOVERNED work modes with explicit authority boundaries (the operator owns intent; the agent owns implementation and escalates rather than guesses at boundaries), a proportionate verification portfolio, and separated completion vocabulary — IMPLEMENTED / VERIFIED / ACCEPTED / RELEASED — shipped as a shared skill and synced by `forge upgrade`
|
|
176
|
+
- **Session audit** — deterministic detectors over saved agent sessions: circumvention, blocker deception, false completion claims
|
|
177
|
+
|
|
178
|
+
**Verification & evolution**
|
|
179
|
+
|
|
180
|
+
- **Doctor** — project health check
|
|
181
|
+
- **Validators** — naming lint, workflow-frontmatter lint, YAML scalar lint, public-surface consistency
|
|
154
182
|
- **Gate probes** — prove governance gates still fire on seeded violations
|
|
155
|
-
- **YAML scalar lint** — catch unquoted colon-space traps before they corrupt frontmatter
|
|
156
183
|
- **Golden conformance** — run producer→consumer contract conformance across declared surfaces
|
|
157
|
-
- **Agent operating model** — EXPLORE/ROUTINE/GOVERNED work modes with explicit authority boundaries (the operator owns intent and significant decisions; the agent owns implementation inside them, and escalates rather than guesses when a boundary is crossed), a proportionate verification portfolio with tiers (tests are one tool — rigor scales to risk, not a mandatory-TDD rule; skills declare `notApplicableWhen`/`costNotes` so a mismatching skill is not force-applied), and separated completion vocabulary (IMPLEMENTED / VERIFIED / ACCEPTED / RELEASED), shipped as a shared skill and synced by `forge upgrade`
|
|
158
|
-
- **Doctor** — project health check
|
|
159
184
|
- **Upgrade** — additive, idempotent skill and config sync
|
|
185
|
+
- **Stack scaffolding** — pnpm + Turborepo monorepo from a profile
|
|
186
|
+
- **Bindings contract** — de-hardcode project-specific commands via `forge.yaml`
|
|
160
187
|
|
|
161
188
|
---
|
|
162
189
|
|
|
163
190
|
## Working with your AI agent
|
|
164
191
|
|
|
165
|
-
Forge works with any AI agent — Windsurf, Cursor, Claude Code, Codex CLI
|
|
192
|
+
Forge works with any AI agent — Devin, Windsurf, Cursor, Claude Code, Codex CLI — because the contract lives in the repository, not in a vendor plugin. The setup is the same everywhere; only the conversation matters.
|
|
166
193
|
|
|
167
194
|
**Start with questions, not commands.** Before asking the agent to write code, ask it about the codebase. The agent can read files, search git history, and run Forge CLI commands — let it explore first.
|
|
168
195
|
|
|
@@ -174,29 +201,6 @@ Forge works with any AI agent — Windsurf, Cursor, Claude Code, Codex CLI, or a
|
|
|
174
201
|
|
|
175
202
|
---
|
|
176
203
|
|
|
177
|
-
## CLI
|
|
178
|
-
|
|
179
|
-
```sh
|
|
180
|
-
# Check project health
|
|
181
|
-
pnpm exec forge doctor
|
|
182
|
-
|
|
183
|
-
# Validate RFCs
|
|
184
|
-
pnpm exec forge rfc.validate
|
|
185
|
-
|
|
186
|
-
# List available skills
|
|
187
|
-
pnpm exec forge skill.list
|
|
188
|
-
|
|
189
|
-
# Sync skills and config from installed version
|
|
190
|
-
pnpm exec forge upgrade
|
|
191
|
-
|
|
192
|
-
# Validate public surface consistency
|
|
193
|
-
pnpm exec forge public-surface.validate
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
Full CLI reference: [docs/reference/cli.md](docs/reference/cli.md)
|
|
197
|
-
|
|
198
|
-
---
|
|
199
|
-
|
|
200
204
|
## forge.yaml
|
|
201
205
|
|
|
202
206
|
The single source of truth for project configuration:
|
|
@@ -227,23 +231,100 @@ Full reference: [docs/reference/forge-yaml.md](docs/reference/forge-yaml.md)
|
|
|
227
231
|
|
|
228
232
|
---
|
|
229
233
|
|
|
234
|
+
## CLI
|
|
235
|
+
|
|
236
|
+
```sh
|
|
237
|
+
# Check project health
|
|
238
|
+
pnpm exec forge doctor
|
|
239
|
+
|
|
240
|
+
# Validate RFCs
|
|
241
|
+
pnpm exec forge rfc.validate
|
|
242
|
+
|
|
243
|
+
# List available skills
|
|
244
|
+
pnpm exec forge skill.list
|
|
245
|
+
|
|
246
|
+
# Sync skills and config from installed version
|
|
247
|
+
pnpm exec forge upgrade
|
|
248
|
+
|
|
249
|
+
# Validate public surface consistency
|
|
250
|
+
pnpm exec forge public-surface.validate
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
Full CLI reference: [docs/reference/cli.md](docs/reference/cli.md)
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
## Forged in production
|
|
258
|
+
|
|
259
|
+
Forge does not govern toy projects — starting with itself. The werkstatt monorepo that builds Forge carries **1,563 RFCs and 131 ADRs** under Forge governance, and every change lands through the deterministic integration gate. The same control layer runs a working engineering fleet — measured 2026-11-13 by Forge's own `codebase.measure` over git-tracked files only (generated, vendored, and mirrored content is classified separately; export mirrors and deployment caches are excluded to avoid double counting).
|
|
260
|
+
|
|
261
|
+
| Repository | Role | Files | Total | code | tests | docs | generated | Top language |
|
|
262
|
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
263
|
+
| pipelines | Production document pipeline suite | 22,609 | 3,122,894 | 1,215,172 | 127,237 | 1,747,517 | 32,968 | Markdown |
|
|
264
|
+
| werkstatt | The platform monorepo that builds Forge itself | 14,084 | 1,737,825 | 808,969 | 351,999 | 233,302 | 343,555 | TypeScript |
|
|
265
|
+
| dater | Production product monorepo | 1,419 | 479,041 | 380,487 | 51,992 | 31,716 | 14,846 | JSON |
|
|
266
|
+
| hdri | Client repository | 1,510 | 463,226 | 402,796 | 38,774 | 13,763 | 7,893 | TypeScript |
|
|
267
|
+
| lagebild | Client-facing data platform | 486 | 50,096 | 16,660 | 13,319 | 10,774 | 9,343 | TypeScript |
|
|
268
|
+
| metads | Product monorepo | 283 | 48,011 | 34,096 | 3,310 | 1,456 | 9,149 | TypeScript |
|
|
269
|
+
| dialogue-steward | Product monorepo | 288 | 34,698 | 13,935 | 5,666 | 4,665 | 10,432 | TypeScript |
|
|
270
|
+
| warpgogol-verbund | System hub — product registry and task queue | 132 | 9,671 | 7,160 | 0 | 1,467 | 1,044 | Other |
|
|
271
|
+
| **Fleet total** | | 40,811 | 5,945,462 | 2,879,275 | 592,297 | 2,044,660 | 429,230 | |
|
|
272
|
+
|
|
273
|
+
`Total` decomposes exactly into `code + tests + docs + generated` — every tracked line is classified, none counted twice.
|
|
274
|
+
|
|
275
|
+
Language rollup across the fleet: Markdown 34.1%, TypeScript 25.3%, JSON 19.1%, YAML 15.3%, XML 3.2% — a fleet where a third of the mass is written knowledge, which is exactly what a governance layer exists to keep coherent.
|
|
276
|
+
|
|
277
|
+
Symbol counts come from a real TypeScript AST pass — 98,494 symbols measured (1,721 classes, 90,761 functions, 6,012 methods), not regex estimates. Where a workspace resolves a compiler the walker cannot use, the command reports `symbolsSkipped` instead of fabricating numbers.
|
|
278
|
+
|
|
279
|
+
Measure your own repository:
|
|
280
|
+
|
|
281
|
+
```sh
|
|
282
|
+
pnpm exec forge codebase.measure --json
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
Methodology, a worked example, and limitations: [docs/reference/fleet-measurement.md](docs/reference/fleet-measurement.md). These are self-reported numbers from Forge's own instrument — an instrument reading, not an independent audit.
|
|
286
|
+
|
|
287
|
+
### One task. One contract. One verified result.
|
|
288
|
+
|
|
289
|
+
This README is the case study. Version 9.6.1 — including this file — was authored end-to-end by an AI agent under operator direction: the agent rewrote the README, Forge's own commit gate ran scoped checks, the integration gate ran the heavyweight suite, and CI ran lint/typecheck/build/test before `npm publish --provenance`. Every transition produced a verifiable artifact — [release v9.6.1](https://github.com/syrokomskyi/forge/releases/tag/v9.6.1) · [CI runs](https://github.com/syrokomskyi/forge/actions).
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
|
|
293
|
+
## Where Forge is going
|
|
294
|
+
|
|
295
|
+
- **More stack profiles** — governed scaffolding for more ecosystems beyond TypeScript.
|
|
296
|
+
- **Deeper session evidence** — trajectory memory, session audit and gate probes growing into a full trust contour for autonomous agents.
|
|
297
|
+
- **More contract surfaces** — golden conformance across additional producer→consumer boundaries.
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
230
301
|
## Programmatic API
|
|
231
302
|
|
|
232
303
|
```ts
|
|
233
304
|
import {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
resolveBinding,
|
|
238
|
-
FORGE_SKILLS,
|
|
305
|
+
createForgeRfcModule,
|
|
306
|
+
type ForgeLogger,
|
|
307
|
+
type ForgeRuntimeContext,
|
|
239
308
|
} from "@warpgogol/forge";
|
|
240
309
|
|
|
241
|
-
const
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
310
|
+
const logger: ForgeLogger = {
|
|
311
|
+
section: console.log,
|
|
312
|
+
info: console.log,
|
|
313
|
+
warn: console.warn,
|
|
314
|
+
error: console.error,
|
|
315
|
+
success: console.log,
|
|
316
|
+
};
|
|
317
|
+
const context: ForgeRuntimeContext = {
|
|
318
|
+
workspaceRoot: process.cwd(),
|
|
319
|
+
logger,
|
|
320
|
+
dryRun: false,
|
|
321
|
+
outputFormat: "json",
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
const rfcModule = await createForgeRfcModule();
|
|
325
|
+
const rfcValidate = rfcModule.commands.find((c) => c.name === "rfc.validate");
|
|
326
|
+
const result = await rfcValidate?.execute({ argv: [], flags: {} }, context);
|
|
327
|
+
console.log(result?.exitCode); // 0 = pass, 1 = fail
|
|
247
328
|
```
|
|
248
329
|
|
|
249
330
|
Full API reference: [docs/reference/programmatic-api.md](docs/reference/programmatic-api.md)
|
|
@@ -257,7 +338,7 @@ Full API reference: [docs/reference/programmatic-api.md](docs/reference/programm
|
|
|
257
338
|
| `src/` | Portable core — types, config, skills registry, validators, onboarding. Zero `@warpgogol/*` imports. |
|
|
258
339
|
| `os/` | ForgeModule registrations. All `os/` modules are autonomous except `werkstatt` — the only adapter importing `@warpgogol/werkstatt-engine`. |
|
|
259
340
|
| `bin/` | CLI entrypoint (`forge` command). |
|
|
260
|
-
| `skills/` |
|
|
341
|
+
| `skills/` | <!-- forge:skills-count -->41 skills (34 fo + 4 shared + 3 meta)<!-- /forge:skills-count --> with SKILL.md frontmatter. |
|
|
261
342
|
| `profiles/` | Stack profiles for `scaffold`. |
|
|
262
343
|
|
|
263
344
|
---
|
|
@@ -280,53 +361,29 @@ pnpm exec forge doctor
|
|
|
280
361
|
- [Why Forge?](docs/concepts/why-forge.md)
|
|
281
362
|
- [Project contract](docs/concepts/project-contract.md)
|
|
282
363
|
- [Governance model](docs/concepts/governance-model.md)
|
|
364
|
+
- [The verification model](docs/concepts/verification-model.md)
|
|
283
365
|
- [Bring an existing project](docs/guides/existing-project.md)
|
|
284
366
|
- [Upgrading](docs/guides/upgrading.md)
|
|
285
367
|
- [Skills](docs/guides/skills.md)
|
|
286
368
|
- [RFC and ADR workflows](docs/guides/rfc-adr.md)
|
|
369
|
+
- [Verification & evidence scenarios](docs/guides/verification-and-evidence.md)
|
|
370
|
+
- [Devin integration](docs/integrations/devin.md)
|
|
287
371
|
- [CLI reference](docs/reference/cli.md)
|
|
288
372
|
- [forge.yaml reference](docs/reference/forge-yaml.md)
|
|
289
373
|
- [Profiles](docs/reference/profiles.md)
|
|
290
374
|
- [Programmatic API](docs/reference/programmatic-api.md)
|
|
375
|
+
- [Fleet measurement methodology](docs/reference/fleet-measurement.md)
|
|
291
376
|
- [Publishing](docs/maintainers/publishing.md)
|
|
292
377
|
|
|
293
378
|
---
|
|
294
379
|
|
|
295
|
-
## Forged in production
|
|
296
|
-
|
|
297
|
-
Forge does not govern toy projects. It is the control layer of a working engineering fleet — measured 2026-11-13 by Forge's own `codebase.measure` over git-tracked files only (generated, vendored, and mirrored content is classified separately; export mirrors and deployment caches are excluded to avoid double counting).
|
|
298
|
-
|
|
299
|
-
| Repository | Role | Files | Code lines | code | tests | docs | generated | Top language |
|
|
300
|
-
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
301
|
-
| pipelines | Production document pipeline suite | 22,609 | 3,122,894 | 1,215,172 | 127,237 | 1,747,517 | 32,968 | Markdown |
|
|
302
|
-
| werkstatt | The platform monorepo that builds Forge itself | 14,084 | 1,737,825 | 808,969 | 351,999 | 233,302 | 343,555 | TypeScript |
|
|
303
|
-
| dater | Production product monorepo | 1,419 | 479,041 | 380,487 | 51,992 | 31,716 | 14,846 | JSON |
|
|
304
|
-
| hdri | Client repository | 1,510 | 463,226 | 402,796 | 38,774 | 13,763 | 7,893 | TypeScript |
|
|
305
|
-
| lagebild | Client-facing data platform | 486 | 50,096 | 16,660 | 13,319 | 10,774 | 9,343 | TypeScript |
|
|
306
|
-
| metads | Product monorepo | 283 | 48,011 | 34,096 | 3,310 | 1,456 | 9,149 | TypeScript |
|
|
307
|
-
| dialogue-steward | Product monorepo | 288 | 34,698 | 13,935 | 5,666 | 4,665 | 10,432 | TypeScript |
|
|
308
|
-
| warpgogol-verbund | System hub — product registry and task queue | 132 | 9,671 | 7,160 | 0 | 1,467 | 1,044 | Other |
|
|
309
|
-
| **Fleet total** | | 40,811 | 5,945,462 | 2,879,275 | 592,297 | 2,044,660 | 429,230 | |
|
|
310
|
-
|
|
311
|
-
Language rollup across the fleet: Markdown 34.1%, TypeScript 25.3%, JSON 19.1%, YAML 15.3%, XML 3.2% — a fleet where a third of the mass is written knowledge, which is exactly what a governance layer exists to keep coherent.
|
|
312
|
-
|
|
313
|
-
Symbol counts come from a real TypeScript AST pass — 98,494 symbols measured (1,721 classes, 90,761 functions, 6,012 methods), not regex estimates. Where a workspace resolves a compiler the walker cannot use, the command reports `symbolsSkipped` instead of fabricating numbers.
|
|
314
|
-
|
|
315
|
-
Measure your own repository:
|
|
316
|
-
|
|
317
|
-
```sh
|
|
318
|
-
pnpm exec forge codebase.measure --json
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
---
|
|
322
|
-
|
|
323
380
|
## License
|
|
324
381
|
|
|
325
382
|
Apache-2.0
|
|
326
383
|
|
|
327
384
|
## Open Engineering
|
|
328
385
|
|
|
329
|
-
This package originated from production engineering work at [Warpgogol](https://warpgogol.com), an engineering studio in Germany.
|
|
386
|
+
This package originated from production engineering work at [Warpgogol](https://warpgogol.com), an engineering studio in Germany that ships client products through the same Forge-governed, agent-driven pipeline.
|
|
330
387
|
|
|
331
388
|
We publish reusable parts of our infrastructure when they can be useful beyond our own projects. It is published independently of any Warpgogol commercial service. Using this package does not create any dependency on Warpgogol.
|
|
332
389
|
|