@warpgogol/forge 9.1.0 → 9.1.1
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 +8 -0
- package/README.md +15 -8
- package/README.uk.md +15 -8
- package/docs/maintainers/publishing.md +11 -5
- package/docs/reference/cli.md +128 -0
- package/docs/reference/profiles.md +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ 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.1.1] — 2026-11-01
|
|
10
|
+
|
|
11
|
+
_Documentation sync for the 9.x line._
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **Package docs**: README (EN/UK) updated — 38 skills, the `site-workshop` profile, corrected `os/` autonomy description, and the 9.x capability list; `AGENTS.md` module table repaired (it was split by floating paragraphs) and completed with all 30 modules; `docs/maintainers/publishing.md` now documents the RFC-1252 `publish:forge` flow instead of the retired direct `repo-extract` invocation; `docs/reference/profiles.md` and `cli.md` updated for the 9.x command surface.
|
|
16
|
+
|
|
9
17
|
## [9.1.0] — 2026-11-01
|
|
10
18
|
|
|
11
19
|
_Ten implemented RFCs (1476–1485): the ecosystem.commit hardening line (governance linkage, argv validation, staged-ownership and index-scope guards), validation-compliant RFC skeletons, a self-sufficient implement stamp, knowledge collision resolution, YAML scalar linting, trajectory-memory residual debt, and the compass header debt sweep._
|
package/README.md
CHANGED
|
@@ -52,11 +52,12 @@ Forge is project-agnostic. Stack profiles provide ready-made starting points.
|
|
|
52
52
|
|
|
53
53
|
| Profile | Use case |
|
|
54
54
|
| ------------- | ----------------------------------------------------- |
|
|
55
|
-
| `forge-shell`
|
|
56
|
-
| `typescript`
|
|
57
|
-
| `phaser-game`
|
|
58
|
-
| `godot-game`
|
|
59
|
-
| `knowledge`
|
|
55
|
+
| `forge-shell` | Governance-only projects, libraries, non-web projects |
|
|
56
|
+
| `typescript` | TypeScript monorepo with best-practice validators |
|
|
57
|
+
| `phaser-game` | Browser games, interactive experiences |
|
|
58
|
+
| `godot-game` | Desktop/mobile games with Godot 4.x + C# |
|
|
59
|
+
| `knowledge` | Evidence-backed knowledge bases |
|
|
60
|
+
| `site-workshop` | Per-client Werkstatt workshops |
|
|
60
61
|
|
|
61
62
|
```sh
|
|
62
63
|
# List available profiles
|
|
@@ -135,7 +136,7 @@ Agents can change. Models can change. IDEs can change. Engineering rules stay wi
|
|
|
135
136
|
|
|
136
137
|
## What you get
|
|
137
138
|
|
|
138
|
-
- **
|
|
139
|
+
- **38 skills** — idea-to-RFC pipeline, grilling, preferences, skill authoring
|
|
139
140
|
- **RFC workflow** — create, validate, list, graph, archive, acceptance probes
|
|
140
141
|
- **ADR workflow** — lightweight architectural decision records
|
|
141
142
|
- **Spec vendoring** — vendor external specs as immutable snapshots
|
|
@@ -143,6 +144,12 @@ Agents can change. Models can change. IDEs can change. Engineering rules stay wi
|
|
|
143
144
|
- **Workflow linting** — validate `.agents/workflows/` frontmatter
|
|
144
145
|
- **Stack scaffolding** — pnpm + Turborepo monorepo from a profile
|
|
145
146
|
- **Bindings contract** — de-hardcode project-specific commands via `forge.yaml`
|
|
147
|
+
- **Session audit** — deterministic detectors over saved agent sessions: circumvention, blocker deception, false completion claims
|
|
148
|
+
- **Trajectory memory** — extract proven procedures from verified sessions and recall them at decision points
|
|
149
|
+
- **Context assembly** — budgeted, ranked context slates for a task description
|
|
150
|
+
- **Gate probes** — prove governance gates still fire on seeded violations
|
|
151
|
+
- **YAML scalar lint** — catch unquoted colon-space traps before they corrupt frontmatter
|
|
152
|
+
- **Golden conformance** — run producer→consumer contract conformance across declared surfaces
|
|
146
153
|
- **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`
|
|
147
154
|
- **Doctor** — project health check
|
|
148
155
|
- **Upgrade** — additive, idempotent skill and config sync
|
|
@@ -244,9 +251,9 @@ Full API reference: [docs/reference/programmatic-api.md](docs/reference/programm
|
|
|
244
251
|
| Directory | Purpose |
|
|
245
252
|
| --- | --- |
|
|
246
253
|
| `src/` | Portable core — types, config, skills registry, validators, onboarding. Zero `@warpgogol/*` imports. |
|
|
247
|
-
| `os/` | ForgeModule registrations. `
|
|
254
|
+
| `os/` | ForgeModule registrations. All `os/` modules are autonomous except `werkstatt` — the only adapter importing `@warpgogol/werkstatt-engine`. |
|
|
248
255
|
| `bin/` | CLI entrypoint (`forge` command). |
|
|
249
|
-
| `skills/` |
|
|
256
|
+
| `skills/` | 38 skill definitions (30 fo + 5 shared + 3 meta) with SKILL.md frontmatter. |
|
|
250
257
|
| `profiles/` | Stack profiles for `scaffold`. |
|
|
251
258
|
|
|
252
259
|
---
|
package/README.uk.md
CHANGED
|
@@ -52,11 +52,12 @@ Forge не залежить від типу проєкту. Профілі ст
|
|
|
52
52
|
|
|
53
53
|
| Профіль | Призначення |
|
|
54
54
|
| ------------- | ------------------------------------------- |
|
|
55
|
-
| `forge-shell`
|
|
56
|
-
| `typescript`
|
|
57
|
-
| `phaser-game`
|
|
58
|
-
| `godot-game`
|
|
59
|
-
| `knowledge`
|
|
55
|
+
| `forge-shell` | Лише управління, бібліотеки, не-веб проєкти |
|
|
56
|
+
| `typescript` | TypeScript монорепозиторій з валідаторами |
|
|
57
|
+
| `phaser-game` | Браузерні ігри, інтерактивні досвіди |
|
|
58
|
+
| `godot-game` | Десктопні/мобільні ігри на Godot 4.x + C# |
|
|
59
|
+
| `knowledge` | Бази знань з підтримкою доказів |
|
|
60
|
+
| `site-workshop` | Пер-клієнтські майстерні Werkstatt |
|
|
60
61
|
|
|
61
62
|
```sh
|
|
62
63
|
# Перелічити доступні профілі
|
|
@@ -135,7 +136,7 @@ IDE / АГЕНТ / МОДЕЛЬ
|
|
|
135
136
|
|
|
136
137
|
## Що ви отримуєте
|
|
137
138
|
|
|
138
|
-
- **
|
|
139
|
+
- **38 навичок** — пайплайн ідея→RFC, grilling, preferences, авторинг навичок
|
|
139
140
|
- **RFC робочий процес** — створення, валідація, перелік, граф, архівування, acceptance probes
|
|
140
141
|
- **ADR робочий процес** — легкі записи архітектурних рішень
|
|
141
142
|
- **Вендоринг специфікацій** — вендоринг зовнішніх специфікацій як незмінних снапшотів
|
|
@@ -143,6 +144,12 @@ IDE / АГЕНТ / МОДЕЛЬ
|
|
|
143
144
|
- **Linting робочих процесів** — валідація frontmatter `.agents/workflows/`
|
|
144
145
|
- **Скаффолдинг стеку** — pnpm + Turborepo монорепозиторій з профілю
|
|
145
146
|
- **Контракт прив'язок** — деконкретизація команд проєкту через `forge.yaml`
|
|
147
|
+
- **Аудит сесій** — детерміністичні детектори над збереженими сесіями агентів: обходи, приховування блокерів, неправдиві заяви про завершення
|
|
148
|
+
- **Пам'ять траєкторій** — вилучення перевірених процедур з верифікованих сесій і їх відкликання у точках прийняття рішень
|
|
149
|
+
- **Складання контексту** — бюджетні ранжовані контекстні вибірки за описом задачі
|
|
150
|
+
- **Проби гейтів** — доведення, що гейти управління досі спрацьовують на засіяних порушеннях
|
|
151
|
+
- **Lint скалярів YAML** — виявлення непроквочених пасток «двокрапка-пробіл» до того, як вони зіпсують frontmatter
|
|
152
|
+
- **Золота відповідність** — прогін відповідності контракту виробник→споживач по задекларованих поверхнях
|
|
146
153
|
- **Doctor** — перевірка здоров'я проєкту
|
|
147
154
|
- **Upgrade** — адитивна, ідемпотентна синхронізація навичок та конфігурації
|
|
148
155
|
|
|
@@ -243,9 +250,9 @@ await forgeRfcModule.register(registry);
|
|
|
243
250
|
| Директорія | Призначення |
|
|
244
251
|
| --- | --- |
|
|
245
252
|
| `src/` | Портативне ядро — типи, конфіг, реєстр навичок, валідатори, онбординг. Нуль `@warpgogol/*` імпортів. |
|
|
246
|
-
| `os/` | Реєстрації ForgeModule. `
|
|
253
|
+
| `os/` | Реєстрації ForgeModule. Усі модулі `os/` автономні, крім `werkstatt` — єдиного адаптера, що імпортує `@warpgogol/werkstatt-engine`. |
|
|
247
254
|
| `bin/` | Точка входу CLI (команда `forge`). |
|
|
248
|
-
| `skills/` |
|
|
255
|
+
| `skills/` | 38 визначень навичок (30 fo + 5 спільних + 3 мета) з SKILL.md frontmatter. |
|
|
249
256
|
| `profiles/` | Профілі стеку для `scaffold`. |
|
|
250
257
|
|
|
251
258
|
---
|
|
@@ -12,13 +12,19 @@
|
|
|
12
12
|
From the werkstatt monorepo root:
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
|
-
#
|
|
16
|
-
# 2. Run the extraction (extracts + commits + pushes to github.com:syrokomskyi/forge.git)
|
|
17
|
-
pnpm exec repo-extract --config packages/forge/extract.config.yaml --verbose
|
|
18
|
-
|
|
19
|
-
# 3. CI picks up the push and publishes to npm automatically
|
|
15
|
+
pnpm run publish:forge patch # or: minor | ALLOW_MAJOR_BUMP=1 pnpm run publish:forge major
|
|
20
16
|
```
|
|
21
17
|
|
|
18
|
+
`scripts/publish-forge.mjs` (RFC-1252) is the **only** supported export path. In one run it:
|
|
19
|
+
|
|
20
|
+
1. Bumps `packages/forge/package.json` + `forge.yaml` `syncedVersion` and commits the bump into HEAD — `--from-head` exports committed content only, so an uncommitted bump would silently export the old version.
|
|
21
|
+
2. Runs `repo-extract --from-head --no-push` into `../packages/forge`.
|
|
22
|
+
3. Verifies the extracted repo with `scripts/verify-extract.mjs` — the same script surface standalone CI runs (install, lint, typecheck, build:check, test, build) plus a changelog gate that requires a `[<version>]` section in `CHANGELOG.md`.
|
|
23
|
+
4. Pushes to `github.com:syrokomskyi/forge.git`. On a non-fast-forward rejection it reconciles once with `merge -s ours` (the local tree stays the authoritative export) — never force-push.
|
|
24
|
+
5. CI on GitHub picks up the push and publishes to npm automatically.
|
|
25
|
+
|
|
26
|
+
**Do NOT invoke `repo-extract` directly for releases** — it bypasses verification and the clean-source contract. `--skip-verify` exists only as an explicit, loud operator override.
|
|
27
|
+
|
|
22
28
|
After CI completes, verify the new version on [npmjs.com/package/@warpgogol/forge](https://www.npmjs.com/package/@warpgogol/forge).
|
|
23
29
|
|
|
24
30
|
## Version
|
package/docs/reference/cli.md
CHANGED
|
@@ -25,8 +25,13 @@ forge agents.generate
|
|
|
25
25
|
forge rfc.list
|
|
26
26
|
forge rfc.validate [--json]
|
|
27
27
|
forge rfc.create --title <title> --kind <kind> [--satisfies DNA-N]
|
|
28
|
+
forge rfc.acceptance.run --id <rfc-id>
|
|
28
29
|
forge rfc.verification.emit --id <rfc-id>
|
|
30
|
+
forge rfc.evidence.sync --id <rfc-id>
|
|
29
31
|
forge rfc.implement.stamp --id <rfc-id> --implementation-commit <sha>
|
|
32
|
+
forge rfc.supersede.propose --id <rfc-id>
|
|
33
|
+
forge rfc.decision-log.generate
|
|
34
|
+
forge rfc.verify.workspace --id <rfc-id>
|
|
30
35
|
```
|
|
31
36
|
|
|
32
37
|
## ADR
|
|
@@ -110,6 +115,8 @@ forge session.save
|
|
|
110
115
|
forge session.archive
|
|
111
116
|
forge session.validate
|
|
112
117
|
forge session.list
|
|
118
|
+
forge session.audit
|
|
119
|
+
forge session.audit.report
|
|
113
120
|
forge metrics.aggregate
|
|
114
121
|
```
|
|
115
122
|
|
|
@@ -143,3 +150,124 @@ forge package.health
|
|
|
143
150
|
```sh
|
|
144
151
|
forge autonomy.validate
|
|
145
152
|
```
|
|
153
|
+
|
|
154
|
+
## Authority delegations (RFC-1336)
|
|
155
|
+
|
|
156
|
+
```sh
|
|
157
|
+
forge authority.delegate
|
|
158
|
+
forge authority.delegate.revoke
|
|
159
|
+
forge authority.delegation.list
|
|
160
|
+
forge authority.delegation.validate
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
## Agent delegation tiers (RFC-1464)
|
|
164
|
+
|
|
165
|
+
```sh
|
|
166
|
+
forge agent.delegate
|
|
167
|
+
forge agent.delegate.tiers.validate
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
## Resolution doors (RFC-1465)
|
|
171
|
+
|
|
172
|
+
```sh
|
|
173
|
+
forge resolver.doors.audit
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
## Instruction budget (RFC-1466)
|
|
177
|
+
|
|
178
|
+
```sh
|
|
179
|
+
forge instructions.budget.validate
|
|
180
|
+
forge scar.migrate
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
## Knowledge
|
|
184
|
+
|
|
185
|
+
```sh
|
|
186
|
+
forge knowledge.rebuild
|
|
187
|
+
forge knowledge.authz.probe
|
|
188
|
+
forge knowledge.conflicts.resolve
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## Gate probes (RFC-1469)
|
|
192
|
+
|
|
193
|
+
```sh
|
|
194
|
+
forge gate.probe
|
|
195
|
+
forge gate.probe.catalog
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
## Context assembly (RFC-1470)
|
|
199
|
+
|
|
200
|
+
```sh
|
|
201
|
+
forge context.index.build
|
|
202
|
+
forge context.assemble
|
|
203
|
+
forge context.slate.eval
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
## Trajectory memory (RFC-1472)
|
|
207
|
+
|
|
208
|
+
```sh
|
|
209
|
+
forge trajectory.index
|
|
210
|
+
forge trajectory.recall
|
|
211
|
+
forge trajectory.outcome.record
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
## Check counters (RFC-1473/1474)
|
|
215
|
+
|
|
216
|
+
```sh
|
|
217
|
+
forge checks.counters.validate
|
|
218
|
+
forge checks.counters.export
|
|
219
|
+
forge checks.contribution.report
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## YAML scalars (RFC-1478)
|
|
223
|
+
|
|
224
|
+
```sh
|
|
225
|
+
forge yaml.scalars.validate
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
## Conformance (RFC-1365)
|
|
229
|
+
|
|
230
|
+
```sh
|
|
231
|
+
forge conformance.run
|
|
232
|
+
forge conformance.validate
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
## Formal proofs (RFC-1391)
|
|
236
|
+
|
|
237
|
+
```sh
|
|
238
|
+
forge proof.check
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
## Frictions (RFC-1433)
|
|
242
|
+
|
|
243
|
+
```sh
|
|
244
|
+
forge friction.validate
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
## Queue (RFC-1140)
|
|
248
|
+
|
|
249
|
+
```sh
|
|
250
|
+
forge queue.validate
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
## Werkstatt adapter
|
|
254
|
+
|
|
255
|
+
```sh
|
|
256
|
+
forge werkstatt.lock.status
|
|
257
|
+
forge werkstatt.lock.recover
|
|
258
|
+
forge werkstatt.operation.validate
|
|
259
|
+
forge werkstatt.session.open
|
|
260
|
+
forge werkstatt.session.close
|
|
261
|
+
forge werkstatt.session.status
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
## Explorations & notes
|
|
265
|
+
|
|
266
|
+
```sh
|
|
267
|
+
forge exploration.list
|
|
268
|
+
forge exploration.show
|
|
269
|
+
forge exploration.archive
|
|
270
|
+
forge note.link.validate
|
|
271
|
+
forge note.frontmatter.validate
|
|
272
|
+
forge note.orphan.detect
|
|
273
|
+
```
|
|
@@ -11,6 +11,7 @@ A stack profile defines the project scaffold: directory structure, dependencies,
|
|
|
11
11
|
| `phaser-game` | Browser game | `games/my-game` | Browser games, interactive experiences |
|
|
12
12
|
| `godot-game` | Godot game | `games/my-game` | Desktop/mobile games, Godot-based projects |
|
|
13
13
|
| `knowledge` | Knowledge system | `knowledge/my-kb` | Evidence-backed knowledge bases |
|
|
14
|
+
| `site-workshop` | Client workshop | — | Per-client Werkstatt workshops (RFC-1125) |
|
|
14
15
|
|
|
15
16
|
## Using a profile
|
|
16
17
|
|