godpowers 1.6.24 → 2.1.0

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.
Files changed (65) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +166 -0
  3. package/README.md +103 -8
  4. package/RELEASE.md +48 -50
  5. package/SKILL.md +9 -1
  6. package/agents/god-design-reviewer.md +6 -6
  7. package/agents/god-designer.md +1 -1
  8. package/agents/god-executor.md +23 -0
  9. package/agents/god-quality-reviewer.md +12 -1
  10. package/agents/god-spec-reviewer.md +10 -0
  11. package/bin/install.js +137 -655
  12. package/extensions/data-pack/manifest.yaml +1 -1
  13. package/extensions/data-pack/package.json +1 -1
  14. package/extensions/launch-pack/README.md +1 -1
  15. package/extensions/launch-pack/manifest.yaml +1 -1
  16. package/extensions/launch-pack/package.json +1 -1
  17. package/extensions/security-pack/manifest.yaml +1 -1
  18. package/extensions/security-pack/package.json +1 -1
  19. package/fixtures/quick-proof/manifest.json +19 -0
  20. package/fixtures/quick-proof/project/.godpowers/prep/INITIAL-FINDINGS.md +5 -0
  21. package/fixtures/quick-proof/project/.godpowers/state.json +69 -0
  22. package/fixtures/quick-proof/project/README.md +5 -0
  23. package/fixtures/quick-proof/project/package.json +6 -0
  24. package/lib/agent-browser-driver.js +13 -13
  25. package/lib/agent-cache.js +8 -1
  26. package/lib/agent-refs.js +161 -0
  27. package/lib/budget.js +25 -11
  28. package/lib/events.js +11 -4
  29. package/lib/extension-authoring.js +27 -0
  30. package/lib/feature-awareness.js +24 -0
  31. package/lib/fs-async.js +28 -0
  32. package/lib/installer-args.js +99 -0
  33. package/lib/installer-core.js +345 -0
  34. package/lib/installer-files.js +80 -0
  35. package/lib/installer-runtimes.js +112 -0
  36. package/lib/intent.js +111 -16
  37. package/lib/quick-proof.js +153 -0
  38. package/lib/release-surface-sync.js +8 -1
  39. package/lib/repo-surface-sync.js +9 -2
  40. package/lib/review-required.js +2 -1
  41. package/lib/router.js +23 -3
  42. package/lib/skill-surface.js +42 -0
  43. package/lib/state-lock.js +10 -0
  44. package/lib/state.js +101 -8
  45. package/lib/workflow-runner.js +42 -5
  46. package/package.json +7 -3
  47. package/references/HAVE-NOTS.md +4 -3
  48. package/references/orchestration/GOD-MODE-RUNBOOK.md +273 -0
  49. package/routing/god-arch.yaml +1 -1
  50. package/routing/god-build.yaml +1 -1
  51. package/skills/god-add-backlog.md +1 -1
  52. package/skills/god-agent-audit.md +2 -2
  53. package/skills/god-build.md +5 -3
  54. package/skills/god-context-scan.md +2 -3
  55. package/skills/god-design.md +2 -2
  56. package/skills/god-doctor.md +2 -2
  57. package/skills/god-extension-info.md +1 -1
  58. package/skills/god-help.md +4 -3
  59. package/skills/god-mode.md +10 -266
  60. package/skills/god-org-context.md +1 -1
  61. package/skills/god-repair.md +3 -3
  62. package/skills/god-review.md +9 -0
  63. package/skills/god-stories.md +1 -1
  64. package/skills/god-test-extension.md +1 -1
  65. package/skills/god-version.md +2 -2
package/AGENTS.md CHANGED
@@ -18,7 +18,7 @@ projects from raw idea to hardened production.
18
18
  - `routing/` contains command routing metadata and intent recipes
19
19
  - `workflows/` contains executable workflow YAML
20
20
  - `references/` contains per-tier reference material (antipatterns, examples)
21
- - `bin/` contains the CLI installer and `god` command
21
+ - `bin/` contains the CLI installer (`npx godpowers`)
22
22
  - `lib/` contains executable runtime helpers, sync checks, dogfood, dashboard, and release logic
23
23
  - `scripts/` contains validation and testing scripts
24
24
  - `templates/` contains artifact templates
package/CHANGELOG.md CHANGED
@@ -7,6 +7,172 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.1.0] - 2026-05-30
11
+
12
+ ### Security
13
+ - Fixed a command-injection vector in `lib/agent-browser-driver.js`: CLI
14
+ arguments are now passed as an argv array with the shell disabled
15
+ (`execFileSync`), so URLs, selectors, and eval expressions sourced from
16
+ project content (`PRD.md`/`DESIGN.md`) or CLI flags can no longer be
17
+ interpreted as shell syntax.
18
+ - Added prototype-pollution guards to the `intent.yaml`/manifest parser
19
+ (`lib/intent.js`) and the router state-path reader (`lib/router.js`).
20
+ - Hardened the non-interactive installer: `npx godpowers` with no target in a
21
+ non-TTY shell now refuses and prints guidance instead of performing a silent
22
+ global install.
23
+ - Added path-traversal validation to `extension-scaffold` names
24
+ (`lib/extension-authoring.js`).
25
+ - `installer-files.copyRecursive` now only reproduces symlinks that stay within
26
+ the source tree.
27
+
28
+ ### Fixed
29
+ - Guarded JSON parsing of `state.json` (`lib/state.js`) and `events.jsonl`
30
+ (`lib/events.js`) against corrupt or partially-written files: a clear,
31
+ actionable error or a skipped torn line instead of an uncaught crash on the
32
+ `status`/`next`/checkpoint paths.
33
+ - Corrected the review registry path to `.godpowers/REVIEW-REQUIRED.md`
34
+ (`lib/review-required.js`) so the dashboard and automation count review items,
35
+ and so the off-switch no longer deletes a repo-root file.
36
+ - `agent-cache.clear` no longer deletes unparseable entries during a narrow
37
+ (by-agent, expiry, or age) clear (`lib/agent-cache.js`).
38
+ - Reconciled documentation drift: JS-module and script counts, the
39
+ `HAVE-NOTS.md` reference tally (now 156), linkage path naming
40
+ (`.godpowers/links/`), phantom command/agent references in skill and agent
41
+ prose, and stale sample output across docs and skills.
42
+
43
+ ### Changed
44
+ - Data-directory and runtime-bundle installs are now a clean replace
45
+ (`lib/installer-core.js`), so a version upgrade never leaves behind files that
46
+ no longer ship.
47
+ - Documented the state lock's advisory, single-process semantics
48
+ (`lib/state-lock.js`).
49
+ - Softened brittle exact-count test assertions (full-arc step/wave counts,
50
+ core workflow count) to floors so valid workflow edits no longer break the
51
+ gate for non-bug reasons.
52
+
53
+ ### Added
54
+ - A skill/agent prose reference validator
55
+ (`lib/agent-refs.findUnresolvedProseRefs`) wired into the agent-ref test gate,
56
+ catching phantom `/god-*` and agent references in markdown bodies that the
57
+ workflow `uses:` check cannot see.
58
+ - Wired have-not `A-13` (ADR inflation) into the architecture gate
59
+ (`routing/god-arch.yaml`).
60
+
61
+ ## [2.0.3] - 2026-05-26
62
+
63
+ ### Added
64
+ - Added async state, intent, and workflow plan APIs as the first supported path
65
+ away from synchronous-only runtime file I/O.
66
+ - Added executable workflow agent reference validation so `uses:
67
+ god-agent@range` entries are checked against the current agent contract.
68
+ - Added `lib/skill-surface.js` and source-sync tests so individual skill files
69
+ are the source of truth for slash-command metadata.
70
+
71
+ ### Changed
72
+ - Migrated test files to the shared test harness and made static checks reject
73
+ new copied harness boilerplate.
74
+ - Split installer runtime definitions, argument parsing, and install core logic
75
+ out of `bin/install.js`.
76
+ - Moved long-form `/god-mode` operator templates into
77
+ `references/orchestration/GOD-MODE-RUNBOOK.md`.
78
+ - Added JSDoc typedef contracts to load-bearing runtime modules.
79
+
80
+ ## [2.0.2] - 2026-05-26
81
+
82
+ ### Added
83
+ - Added `scripts/run-tests.js` as the maintained full-suite runner behind
84
+ `npm test`.
85
+ - Added `scripts/static-check.js` and `npm run lint` for dependency-free
86
+ JavaScript syntax and release-gate structure checks.
87
+ - Added dedicated YAML parser coverage for the supported dependency-free YAML
88
+ subset.
89
+
90
+ ### Changed
91
+ - Hardened `lib/intent.parseSimpleYaml` for quoted colons, quoted hashes,
92
+ quoted commas in inline arrays, scalar arrays, object arrays, and folded
93
+ block scalars.
94
+ - Moved installer copy helpers into `lib/installer-files.js` and preserved
95
+ symlinks during recursive copies.
96
+ - Updated release and repo surface sync detectors to recognize delegated test
97
+ runners instead of requiring every test filename inside `package.json`.
98
+ - Tightened budget block removal so only the top-level `budgets` block is
99
+ removed.
100
+
101
+ ### Fixed
102
+ - Rejected router `file:` checks that point outside the project root.
103
+ - Corrected the `/god-build` repository prerequisite auto-complete route from
104
+ `/god-roadmap` to `/god-repo`.
105
+ - Aligned `SKILL.md` frontmatter version with package version `2.0.2`.
106
+
107
+ ## [2.0.1] - 2026-05-22
108
+
109
+ Request-trace review guardrails.
110
+
111
+ ### Added
112
+ - Added request-trace discipline to `god-executor`: assumptions, public
113
+ behavior, expected files, and verification command must be explicit before
114
+ implementation.
115
+ - Added scope and request-trace review checks to `god-spec-reviewer` so
116
+ unplanned touched files, speculative flexibility, and unrelated churn block
117
+ review before quality review begins.
118
+ - Added a simplicity and surgicality dimension to `god-quality-reviewer` so
119
+ overcomplicated but technically correct code does not pass review.
120
+ - Added `request-trace-review` to runtime feature awareness for upgraded
121
+ projects.
122
+
123
+ ### Changed
124
+ - `/god-build` and `/god-review` docs now describe the narrow-diff guardrails
125
+ as part of existing workflows instead of introducing a new command.
126
+ - README, reference docs, roadmap, architecture, quality pillar, release notes,
127
+ package metadata, and lockfile now align to `2.0.1`.
128
+
129
+ ### Guardrails
130
+ - The public command surface stays frozen; the change strengthens existing
131
+ executor and reviewer contracts.
132
+ - Reviewers now reject speculative abstraction, unrelated cleanup, and diff
133
+ churn that cannot be traced to the user request, slice plan, failing test, or
134
+ implementation-caused cleanup.
135
+
136
+ ## [2.0.0] - 2026-05-16
137
+
138
+ Executable proof release.
139
+
140
+ ### Added
141
+ - Added `npx godpowers quick-proof --project=.` as a read-only CLI helper that
142
+ renders a shipped fixture with real `.godpowers/state.json`, computed next
143
+ action, missing-artifact visibility, and current host guarantees.
144
+ - Added `lib/quick-proof.js` and `fixtures/quick-proof/` so the first-user
145
+ proof loop is packaged, deterministic, and testable.
146
+ - Added `docs/quick-proof.md`, `docs/proof-transcript.md`, and
147
+ `docs/adoption-canary.md` so onboarding, proof evidence, and real-world
148
+ canary work share one connected story.
149
+ - Added `scripts/run-adoption-canary.js` to clone an external repository and
150
+ capture CLI-verifiable trust signals: quick proof, dashboard status, and next
151
+ route output.
152
+ - Added `scripts/verify-published-install.js` to verify the published npm
153
+ artifact after release, including quick proof, dashboard status, Claude
154
+ install, and Codex metadata install.
155
+
156
+ ### Changed
157
+ - README now leads with executable proof, starter command paths, runtime
158
+ expectations, and the accountable AI development thesis.
159
+ - Release checklist now includes published install verification through the
160
+ registry artifact instead of only the local checkout.
161
+ - Package contents checks now require `lib/quick-proof.js` and the shipped
162
+ quick-proof fixture state.
163
+ - Context and quality pillars now treat quick proof, adoption canary, and
164
+ published-install verification as durable repository truth.
165
+
166
+ ### Guardrails
167
+ - `npm run test:quick-proof` verifies README links, quick proof docs,
168
+ transcript evidence, release checklist wiring, adoption canary wiring, local
169
+ links, and forbidden character rules.
170
+ - `npm run release:check` includes the quick-proof test and package payload
171
+ verification.
172
+ - The adoption canary harness does not replace host slash-command execution.
173
+ It captures CLI-verifiable signals and clearly leaves `/god-preflight`,
174
+ `/god-audit`, and `/god-reconstruct` to the AI coding host.
175
+
10
176
  ## [1.6.24] - 2026-05-16
11
177
 
12
178
  Strict background release readiness.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![CI](https://github.com/aihxp/godpowers/actions/workflows/ci.yml/badge.svg)](https://github.com/aihxp/godpowers/actions/workflows/ci.yml)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
5
- [![Version](https://img.shields.io/badge/version-1.6.24-blue)](CHANGELOG.md)
5
+ [![Version](https://img.shields.io/badge/version-2.1.0-blue)](CHANGELOG.md)
6
6
  [![npm](https://img.shields.io/npm/v/godpowers.svg)](https://www.npmjs.com/package/godpowers)
7
7
 
8
8
  **Ship fast. Ship right. Ship everything. Ship accountably.**
@@ -12,12 +12,39 @@ idea to hardened production. It runs as **slash commands inside your AI coding
12
12
  tool** (Claude Code, Codex, Cursor, etc.) that orchestrate **specialist agents**
13
13
  in fresh contexts to do the work.
14
14
 
15
- Version 1.6.24 makes background release readiness strict and fail-closed.
16
- Godpowers now requires delegated release checks to cover root docs, docs,
17
- agents, skills, routing, workflows, schema, templates, references, hooks, lib,
18
- scripts, tests, fixtures, GitHub workflows, package metadata, npm, GitHub
19
- release, CI, publish workflow, and local install state before a human-approved
20
- release executor can run.
15
+ Want the short proof first? Start with [Quick Proof](docs/quick-proof.md) to
16
+ run `npx godpowers quick-proof --project=.`, see transcript excerpts, pick a
17
+ starter command set, and understand runtime expectations before reading the
18
+ full reference.
19
+
20
+ Godpowers makes AI coding accountable: every serious run should leave disk
21
+ state, artifacts, validation gates, host guarantees, and a next action. Code is
22
+ only one output. The project memory and proof trail matter too.
23
+
24
+ Version 2.1.0 keeps the proof loop executable. `npx godpowers quick-proof
25
+ --project=.` now renders a shipped fixture with real `.godpowers/state.json`,
26
+ computed next action, missing-artifact visibility, and host guarantees. The
27
+ 2.0 line also ships a proof transcript, adoption canary harness, published npm
28
+ install verifier, package checks that require the proof fixture to ship, and
29
+ request-trace review guardrails for narrower implementation diffs. The 2.0.2
30
+ release also hardens the dependency-free YAML subset, route file checks,
31
+ installer file copying, and maintainer release gates.
32
+
33
+ Maintainer hardening continues on the 2.x line without expanding the public
34
+ command surface. The 2.1.0 patch closes a command-injection vector in the
35
+ agent-browser driver, guards runtime file parsing against corrupt state,
36
+ makes data-directory installs a clean replace, and reconciles documentation
37
+ drift. The 2.0.3 patch range-checks workflow agent references,
38
+ derives command metadata from the individual files in `skills/`, delegates
39
+ installer runtime logic to `lib/`, moves the detailed God Mode runbook into
40
+ `references/`, and exposes async file APIs for incremental migration away from
41
+ synchronous-only internals.
42
+
43
+ Strict release readiness remains fail-closed. Godpowers requires delegated
44
+ release checks to cover root docs, docs, agents, skills, routing, workflows,
45
+ schema, templates, references, hooks, lib, scripts, tests, fixtures, GitHub
46
+ workflows, package metadata, npm, GitHub release, CI, publish workflow, and
47
+ local install state before a human-approved release executor can run.
21
48
 
22
49
  The dashboard now starts with an action brief and a host guarantee line: the
23
50
  next command, why it is recommended, whether the project is ready, the first
@@ -36,10 +63,22 @@ It fuses four disciplines into one unified workflow:
36
63
  - **Execution engine** - fresh-context agents in parallel waves with atomic
37
64
  commits. No context rot. No sequential bottlenecks.
38
65
  - **Quality immune system** - TDD enforcement, two-stage code review (spec
39
- compliance + code quality), verification before completion.
66
+ compliance + code quality), request-trace discipline, surgical diffs, and
67
+ verification before completion.
40
68
  - **Team intelligence** - scale-adaptive complexity, specialized agent personas
41
69
  (PM, Architect, Executor, Reviewer, Harden Auditor, etc.).
42
70
 
71
+ ## What Godpowers Proves
72
+
73
+ Godpowers is designed to prove more than "the model wrote files." A useful run
74
+ should prove:
75
+
76
+ - The current state is on disk, not trapped in chat memory.
77
+ - The next action is derived from repository state.
78
+ - Planning artifacts, code changes, reviews, and launch checks can be inspected.
79
+ - Host guarantees are explicit, including degraded or simulated agent behavior.
80
+ - Release confidence covers tests, package contents, install surfaces, and docs.
81
+
43
82
  ## Install
44
83
 
45
84
  ```bash
@@ -64,6 +103,18 @@ mechanism against the installed `agents/god-*.md` files. If a host cannot
64
103
  provide a true fresh-context spawn, Godpowers must report that limitation
65
104
  instead of pretending a background agent ran.
66
105
 
106
+ ### Runtime Expectations
107
+
108
+ | Runtime class | What to expect |
109
+ |---|---|
110
+ | Claude Code | Strong reference path when native agent spawning is available. |
111
+ | Codex | Strong installed support through `agents/*.toml` metadata backed by the same Markdown agent contracts. |
112
+ | Other install targets | Skills and agent contracts install, while host-native spawning depends on the tool. |
113
+ | Degraded hosts | Godpowers must report local-only or simulated agent behavior instead of hiding the limitation. |
114
+
115
+ See [Host capabilities](docs/host-capabilities.md) for the detailed guarantee
116
+ model.
117
+
67
118
  ## Usage
68
119
 
69
120
  Open your AI coding tool in any project directory and type:
@@ -116,6 +167,21 @@ This reads `.godpowers/PROGRESS.md`, scans disk, reconciles any drift, and
116
167
  suggests the next logical command with a compact action brief. The SessionStart
117
168
  hook does the same thing when you open a new session in a Godpowers project.
118
169
 
170
+ ### Start With A Path
171
+
172
+ If the full command surface feels large, begin with one of these paths and only
173
+ learn the next command when Godpowers recommends it.
174
+
175
+ | Goal | Starter path |
176
+ |---|---|
177
+ | Start a product | `/god-init`, `/god-prd`, `/god-design`, `/god-arch`, `/god-roadmap`, `/god-stack`, `/god-build` |
178
+ | Add a feature | `/god-feature`, `/god-reconcile`, `/god-build`, `/god-review`, `/god-sync` |
179
+ | Fix production | `/god-hotfix`, `/god-debug`, `/god-harden`, `/god-postmortem` |
180
+ | Audit an existing repo | `/god-preflight`, `/god-audit`, `/god-archaeology`, `/god-tech-debt` |
181
+ | Ship a release | `/god-status`, `/god-harden`, `/god-launch`, `npm run release:check` |
182
+ | Maintain project health | `/god-hygiene`, `/god-update-deps`, `/god-docs`, `/god-check-todos` |
183
+ | Extend Godpowers | `/god-extension-add`, `/god-extension-list`, `npx godpowers extension-scaffold --name=@godpowers/my-pack --output=.` |
184
+
119
185
  The same status engine is available from the installer CLI for humans, CI,
120
186
  Codex, Claude, Cursor, Gemini, OpenCode, Windsurf, Antigravity, and any host
121
187
  runtime that can execute Node:
@@ -125,10 +191,31 @@ npx godpowers status --project=.
125
191
  npx godpowers next --project=.
126
192
  npx godpowers status --project=. --brief
127
193
  npx godpowers status --project=. --json
194
+ npx godpowers quick-proof --project=.
128
195
  npx godpowers dogfood
129
196
  npx godpowers extension-scaffold --name=@godpowers/my-pack --output=.
130
197
  ```
131
198
 
199
+ ### Maintainer Validation
200
+
201
+ Godpowers keeps the public release gate behind one command:
202
+
203
+ ```bash
204
+ npm run release:check
205
+ ```
206
+
207
+ That command runs the maintained full-suite runner, audit checks, and package
208
+ contents verification. `npm test` delegates to `scripts/run-tests.js`, so the
209
+ test order is maintained as a readable list instead of a long package script.
210
+ `npm run lint` runs dependency-free static checks through
211
+ `scripts/static-check.js`, including shared test harness adoption, installer
212
+ decomposition, async runtime APIs, agent reference validation coverage, and God
213
+ Mode runbook delegation.
214
+
215
+ The runtime remains dependency-free. YAML parsing is intentionally limited to
216
+ the documented Godpowers subset used by intent, routing, workflow, and
217
+ extension files, with parser coverage in `scripts/test-yaml-parser.js`.
218
+
132
219
  ### Slash Commands
133
220
 
134
221
  | Command | What it does | Spawns agent |
@@ -196,6 +283,11 @@ going through build, verification, repair, launch, and final sync. Red tests,
196
283
  typecheck, lint, build, or check output enter the repair loop instead of being
197
284
  reported as the final result.
198
285
 
286
+ Build execution also keeps diffs narrow. Executors state assumptions, expected
287
+ files, changed public behavior, and verification before editing. Reviewers
288
+ block speculative flexibility, unrelated cleanup, and any touched file that
289
+ does not trace back to the request or slice plan.
290
+
199
291
  If `.godpowers` state already exists, `/god-mode --yolo` resumes from disk
200
292
  instead of asking for the project description again.
201
293
 
@@ -335,6 +427,7 @@ Every artifact passes these mechanical checks before it is treated as complete:
335
427
  | Artifact-on-disk | Phantom resume (agent claims done, file does not exist) |
336
428
  | Critical-finding gate | Shipping with known security holes |
337
429
  | TDD enforcement | Code without tests |
430
+ | Request-trace review | Scope creep, unrelated cleanup, speculative abstraction |
338
431
  | Two-stage review | Code that passes tests but violates spec or quality |
339
432
 
340
433
  These checks are guardrails, not proof that the product is right. A PRD can
@@ -379,9 +472,11 @@ Pi. T3 Code inherits from the underlying agent (Codex / Claude / OpenCode).
379
472
  ## Full reference
380
473
 
381
474
  - [Getting Started](docs/getting-started.md)
475
+ - [Quick Proof](docs/quick-proof.md)
382
476
  - [Concepts](docs/concepts.md)
383
477
  - [Command reference (all 110 skills + 40 agents)](docs/reference.md)
384
478
  - [Feature awareness](docs/feature-awareness.md)
479
+ - [Adoption Canary](docs/adoption-canary.md)
385
480
  - [Repository documentation sync](docs/repo-doc-sync.md)
386
481
  - [Repository surface sync](docs/repo-surface-sync.md)
387
482
  - [Roadmap](docs/ROADMAP.md)
package/RELEASE.md CHANGED
@@ -1,12 +1,11 @@
1
- # Godpowers 1.6.24 Release
1
+ # Godpowers 2.1.0 Release
2
2
 
3
- Date: 2026-05-16
3
+ Date: 2026-05-30
4
4
 
5
- Godpowers 1.6.24 turns release readiness automation into a strict,
6
- fail-closed background check. It packages the lesson from the 1.6.23 release:
7
- release readiness cannot be inferred from README, package metadata, and
8
- changelog alone. Every owned repo surface must be checked or the release is
9
- blocked.
5
+ Godpowers 2.1.0 is the security and drift hardening release. It keeps the 2.0
6
+ proof, request-trace, and command surfaces stable while closing a
7
+ command-injection vector, hardening runtime file handling and the installer,
8
+ and reconciling documentation drift across the repository.
10
9
 
11
10
  ## What is stable
12
11
 
@@ -20,18 +19,13 @@ blocked.
20
19
  - Shared runtime bundle at `<runtime>/godpowers-runtime`
21
20
  - Native Pillars project context through `AGENTS.md` and `agents/*.md`
22
21
  - `.godpowers/` workflow state and artifact layout
23
- - Safe-sync routing before deploy, observe, harden, launch, or god-mode work
24
- - Critical harden finding gate before launch
25
- - Planning-system migration for GSD, BMAD, and Superpowers
26
- - Managed sync-back companion files for imported source systems
27
- - Feature awareness for existing Godpowers projects
28
- - Repository documentation sync checks
29
- - Repository surface sync checks
30
- - Route quality, recipe coverage, and release surface sync checks
31
22
  - Dashboard action briefs for next-step compression
32
23
  - Dashboard host guarantees for full, degraded, and unknown runtime capability
33
- - Agent-spawn trace event guardrails
34
- - Mode D suite readiness checks
24
+ - `godpowers status --project .` and `godpowers next --project .`
25
+ - `godpowers quick-proof --project .`
26
+ - Planning-system migration for GSD, BMAD, and Superpowers
27
+ - Repository documentation, repository surface, route quality, recipe coverage,
28
+ and release surface sync checks
35
29
  - Messy-repo dogfood scenarios
36
30
  - Extension authoring scaffold helper
37
31
  - Mode D suite release dry-run planner
@@ -39,47 +33,51 @@ blocked.
39
33
 
40
34
  ## What is new
41
35
 
42
- - Added `strict-release-readiness` to the safe automation templates.
43
- - Added a strict release-surface manifest that covers root docs, docs, agents,
44
- skills, routing, workflows, schema, templates, references, hooks, lib,
45
- scripts, tests, fixtures, GitHub workflows, package metadata, npm latest, git
46
- tag state, GitHub release state, CI status, publish workflow status, and
47
- local install state.
48
- - Updated `/god-automation-setup` so background release checks use the strict
49
- template by default.
50
- - Updated the release maintenance recipe so background release setup goes
51
- through `/god-automation-setup` and keeps publishing behind explicit human
52
- approval.
53
- - Updated auto-invoke visibility docs so strict release readiness is a Level 2
54
- read-only local automation candidate.
36
+ - Closed a command-injection vector in `lib/agent-browser-driver.js`. CLI
37
+ arguments now flow through an argv array with the shell disabled, so URLs,
38
+ selectors, and eval expressions sourced from project content or CLI flags
39
+ cannot be interpreted as shell syntax.
40
+ - Guarded runtime JSON parsing of `state.json` and `events.jsonl` against
41
+ corrupt or partially-written files, replacing uncaught crashes with clear
42
+ errors or skipped torn lines.
43
+ - Corrected the review registry path to `.godpowers/REVIEW-REQUIRED.md` so the
44
+ dashboard and automation see review items and the off-switch no longer
45
+ deletes a repo-root file.
46
+ - Made data-directory and runtime-bundle installs a clean replace so version
47
+ upgrades never leave behind files that no longer ship.
48
+ - Narrowed `agent-cache` deletion scope, added extension-scaffold name
49
+ validation, added prototype-pollution guards to the YAML/manifest parser and
50
+ router, and limited installer symlink reproduction to the source tree.
51
+ - Added a skill/agent prose reference validator wired into the agent-ref test
52
+ gate, wired have-not `A-13` into the architecture gate, and softened brittle
53
+ exact-count tests to floors.
54
+ - Reconciled documentation drift across README, ARCHITECTURE, ARCHITECTURE-MAP,
55
+ docs, references, and skills (counts, linkage paths, HAVE-NOTS tally, stale
56
+ sample output).
55
57
 
56
58
  ## Guardrails
57
59
 
58
- - Strict release readiness fails closed when any required surface is unchecked,
59
- stale, missing, untested, or inconsistent with the intended version.
60
- - Strict release readiness reports blockers and exact next commands only.
61
- - Strict release readiness must not modify files, stage, commit, tag, push,
62
- create a GitHub release, publish to npm, delete files, clear caches, or
63
- change runtime installs.
64
- - Behavioral tests verify that the strict template is fail-closed, read-only,
65
- and names every required release surface.
60
+ - The public slash-command surface remains frozen.
61
+ - The runtime remains dependency-free.
62
+ - `bin/install.js` stays a thin CLI entry point and delegates install behavior
63
+ to `lib/installer-core.js`.
64
+ - Every `child_process` call site uses an argv array with the shell disabled.
65
+ - `scripts/static-check.js` continues to verify async APIs, JSDoc typedefs,
66
+ agent-ref test coverage, shared harness adoption, skill metadata source
67
+ parsing, and God Mode runbook delegation.
66
68
 
67
69
  ## Validation
68
70
 
69
71
  Release validation includes:
70
72
 
71
- - `node scripts/test-automation-providers.js`
72
- - `node scripts/test-automation-surface-sync.js`
73
- - `node scripts/test-recipes.js`
74
- - source scan for forbidden dash characters in edited files
73
+ - `npm test`
74
+ - `npm run test:audit`
75
+ - `npm run pack:check`
75
76
  - `npm run release:check`
76
77
  - `npm pack --json`
77
- - npm cache clear before local install
78
- - local uninstall and reinstall from the generated tarball
79
- - tag-triggered npm publish workflow with provenance
80
- - npm registry verification after publish
81
- - local uninstall and reinstall from `godpowers@1.6.24`
82
- - all-runtime `godpowers --all` refresh after published install
78
+ - local install smoke tests across supported runtime shapes
79
+ - npm publish when registry credentials are available
80
+ - GitHub release creation for `v2.1.0`
83
81
 
84
- The `v1.6.24` tag should point to the release commit that matches the npm
85
- `godpowers@1.6.24` package.
82
+ The `v2.1.0` tag should point to the release commit that matches the npm
83
+ `godpowers@2.1.0` package.
package/SKILL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: godpowers
3
- version: 0.1.0
3
+ version: 2.1.0
4
4
  description: |
5
5
  AI-powered development system that takes a project from raw idea to hardened
6
6
  production. Fuses artifact discipline, execution engine, quality enforcement,
@@ -21,6 +21,14 @@ hardened production. You enforce mechanical quality at every step. You never
21
21
  produce AI-slop. You never skip a gate. You never claim done without an artifact
22
22
  on disk.
23
23
 
24
+ ## Command Source Of Truth
25
+
26
+ Individual command files in `skills/` are the source of truth for slash-command
27
+ metadata and command behavior. `SKILL.md` carries the global operating contract
28
+ only. When a command name, trigger, or description is needed programmatically,
29
+ read it through `lib/skill-surface.js` instead of duplicating a hand-maintained
30
+ command table here.
31
+
24
32
  ## Core Principles
25
33
 
26
34
  ### 1. The Three-Label Rule
@@ -4,10 +4,10 @@ description: |
4
4
  Two-stage review gate for DESIGN.md and PRODUCT.md changes. Mirrors
5
5
  the existing god-spec-reviewer + god-quality-reviewer pattern from
6
6
  code review, combined into one agent because design intent and design
7
- quality are tightly coupled. Spawned by god-design-updater BEFORE
7
+ quality are tightly coupled. Spawned by /god-design BEFORE
8
8
  impact analysis runs.
9
9
 
10
- Spawned by: god-design-updater, god-orchestrator (mid-arc DESIGN/PRODUCT changes)
10
+ Spawned by: /god-design, god-orchestrator (mid-arc DESIGN/PRODUCT changes)
11
11
  tools: Read, Bash, Grep, Glob
12
12
  ---
13
13
 
@@ -112,10 +112,10 @@ Emit event:
112
112
 
113
113
  ## Handoff
114
114
 
115
- - **PASS**: return verdict to god-design-updater; impact analysis can run
115
+ - **PASS**: return verdict to god-designer; impact analysis can run
116
116
  - **WARN**: return verdict + warnings; impact analysis runs; warnings
117
117
  flow to REVIEW-REQUIRED.md alongside affected files
118
- - **BLOCK**: return verdict + REJECTED.md path; god-design-updater aborts
118
+ - **BLOCK**: return verdict + REJECTED.md path; god-designer aborts
119
119
  propagation; god-orchestrator pauses (default + --yolo) per the
120
120
  critical-finding gate
121
121
 
@@ -131,7 +131,7 @@ You fail (and the BLOCK becomes a critical-finding gate trigger) if:
131
131
 
132
132
  ## What you do NOT do
133
133
 
134
- - Apply the change yourself (god-design-updater applies after PASS/WARN)
135
- - Compute downstream impact (god-impact-analyzer runs after PASS/WARN)
134
+ - Apply the change yourself (god-designer applies after PASS/WARN)
135
+ - Compute downstream impact (/god-design-impact runs after PASS/WARN)
136
136
  - Touch PRODUCT.md (god-designer owns it)
137
137
  - Run reverse-sync (god-updater)
@@ -176,5 +176,5 @@ implementing files.
176
176
 
177
177
  - Reimplement impeccable's typography / color / motion design intelligence
178
178
  - Run reverse-sync (that's god-updater)
179
- - Compute change impact (that's god-impact-analyzer)
179
+ - Compute change impact (that's /god-design-impact)
180
180
  - Review your own changes (that's god-design-reviewer)
@@ -51,6 +51,24 @@ For every behavior in this slice:
51
51
  - **"I'll add tests after"**: VIOLATION. Stop. Write the test now.
52
52
  - **Skipping refactor**: allowed only if the GREEN code is already clean.
53
53
  - **Multiple slices in one commit**: VIOLATION. One slice = one commit.
54
+ - **Speculative flexibility**: VIOLATION. Do not add configuration,
55
+ extension points, generalized helpers, or future-proof branches unless the
56
+ slice plan requires them.
57
+ - **Unrelated cleanup**: VIOLATION. Do not reformat, rename, refactor, or
58
+ delete adjacent code that is not required for this slice. Mention it as a
59
+ follow-up instead.
60
+
61
+ ## Request Trace Discipline
62
+
63
+ Before editing, convert the slice into a short execution contract:
64
+ - Assumptions you are making
65
+ - The public behavior that will change
66
+ - The smallest files you expect to touch
67
+ - The verification command that proves success
68
+
69
+ Every changed line must trace back to that contract, the failing test, or a
70
+ cleanup created by your own change. If you cannot explain the trace, revert
71
+ that line before returning control to the orchestrator.
54
72
 
55
73
  ## After All Behaviors Complete
56
74
 
@@ -63,6 +81,7 @@ For every behavior in this slice:
63
81
  - Test results
64
82
  - Typecheck/check results
65
83
  - Files changed
84
+ - Any unrelated improvement you noticed but intentionally left untouched
66
85
  - Ready for two-stage review
67
86
 
68
87
  DO NOT commit yet. The orchestrator will spawn god-spec-reviewer and
@@ -79,6 +98,10 @@ happen.
79
98
  - Test suite failing (any test, not just yours)
80
99
  - Typecheck/check command failing
81
100
  - Stub/placeholder code in the implementation
101
+ - Speculative abstraction, unused configurability, or generalized plumbing not
102
+ demanded by the slice
103
+ - Drive-by formatting, renaming, refactoring, or dead-code deletion unrelated
104
+ to the slice
82
105
 
83
106
  ## Repair Mode
84
107
 
@@ -47,6 +47,16 @@ Your job: would you ship this code in production?
47
47
  - No premature abstraction either
48
48
  - Comments explain WHY, not WHAT (the code shows what)
49
49
 
50
+ ### 6. Simplicity and Surgicality
51
+ - The solution is the minimum code that satisfies the verified behavior
52
+ - No single-use abstraction replaces clearer direct code
53
+ - No options, settings, adapters, or extension points exist for hypothetical
54
+ future needs
55
+ - No adjacent cleanup, formatting churn, renames, or dead-code deletion appears
56
+ unless it was required by the request
57
+ - Any follow-up cleanup is reported separately instead of being smuggled into
58
+ the diff
59
+
50
60
  ## Output
51
61
 
52
62
  Return verdict to orchestrator:
@@ -60,6 +70,7 @@ Return verdict to orchestrator:
60
70
  - [PASS/FAIL] Error handling: [evidence]
61
71
  - [PASS/FAIL] Performance: [evidence]
62
72
  - [PASS/FAIL] Maintainability: [evidence]
73
+ - [PASS/FAIL] Simplicity and surgicality: [evidence]
63
74
 
64
75
  ### Verdict: PASS / FAIL
65
76
 
@@ -68,7 +79,7 @@ Return verdict to orchestrator:
68
79
 
69
80
  ## Pass Criteria
70
81
 
71
- ALL five dimensions must PASS. Any FAIL blocks the commit.
82
+ ALL six dimensions must PASS. Any FAIL blocks the commit.
72
83
 
73
84
  If FAIL: orchestrator returns the slice to god-executor.
74
85
  If PASS: orchestrator commits the slice atomically.