godpowers 2.0.0 → 2.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/AGENTS.md +1 -1
- package/CHANGELOG.md +141 -0
- package/README.md +45 -5
- package/RELEASE.md +30 -48
- package/SKILL.md +9 -1
- package/agents/god-design-reviewer.md +6 -6
- package/agents/god-designer.md +1 -1
- package/agents/god-executor.md +23 -0
- package/agents/god-quality-reviewer.md +12 -1
- package/agents/god-spec-reviewer.md +10 -0
- package/bin/install.js +119 -655
- package/extensions/launch-pack/README.md +1 -1
- package/lib/README.md +16 -0
- package/lib/agent-browser-driver.js +13 -13
- package/lib/agent-cache.js +8 -1
- package/lib/agent-refs.js +161 -0
- package/lib/budget.js +25 -11
- package/lib/context-writer.js +17 -6
- package/lib/events.js +11 -4
- package/lib/extension-authoring.js +27 -0
- package/lib/feature-awareness.js +18 -0
- package/lib/fs-async.js +28 -0
- package/lib/installer-args.js +99 -0
- package/lib/installer-core.js +345 -0
- package/lib/installer-files.js +80 -0
- package/lib/installer-runtimes.js +112 -0
- package/lib/intent.js +111 -16
- package/lib/release-surface-sync.js +8 -1
- package/lib/repo-surface-sync.js +9 -2
- package/lib/review-required.js +2 -1
- package/lib/router.js +23 -3
- package/lib/skill-surface.js +42 -0
- package/lib/state-lock.js +10 -0
- package/lib/state.js +101 -8
- package/lib/workflow-runner.js +42 -5
- package/package.json +4 -3
- package/references/HAVE-NOTS.md +4 -3
- package/references/orchestration/GOD-MODE-RUNBOOK.md +273 -0
- package/routing/god-arch.yaml +1 -1
- package/routing/god-build.yaml +1 -1
- package/skills/god-add-backlog.md +1 -1
- package/skills/god-agent-audit.md +2 -2
- package/skills/god-build.md +5 -3
- package/skills/god-context-scan.md +2 -3
- package/skills/god-design.md +2 -2
- package/skills/god-doctor.md +2 -2
- package/skills/god-help.md +4 -3
- package/skills/god-mode.md +10 -266
- package/skills/god-org-context.md +1 -1
- package/skills/god-repair.md +3 -3
- package/skills/god-review.md +9 -0
- package/skills/god-stories.md +1 -1
- 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
|
|
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,147 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.1.1] - 2026-05-30
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- The context off-switch now empties the canonical `AGENTS.md` instead of
|
|
14
|
+
deleting it; auto-generated pointer files (`CLAUDE.md`, `.cursorrules`, etc.)
|
|
15
|
+
are still removed when only the Godpowers fence remains
|
|
16
|
+
(`lib/context-writer.js`).
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
- Documentation: dropped unverifiable external impeccable rule/finding counts;
|
|
20
|
+
reconciled the project-mode taxonomy (A/B/C/E primary modes, with D as the
|
|
21
|
+
orthogonal multi-repo suite overlay) in `concepts.md` and `ROADMAP.md`;
|
|
22
|
+
documented all `lib/` modules in `lib/README.md`; and clarified how the
|
|
23
|
+
artifact-category counts relate in `greenfield-coverage.md`.
|
|
24
|
+
|
|
25
|
+
## [2.1.0] - 2026-05-30
|
|
26
|
+
|
|
27
|
+
### Security
|
|
28
|
+
- Fixed a command-injection vector in `lib/agent-browser-driver.js`: CLI
|
|
29
|
+
arguments are now passed as an argv array with the shell disabled
|
|
30
|
+
(`execFileSync`), so URLs, selectors, and eval expressions sourced from
|
|
31
|
+
project content (`PRD.md`/`DESIGN.md`) or CLI flags can no longer be
|
|
32
|
+
interpreted as shell syntax.
|
|
33
|
+
- Added prototype-pollution guards to the `intent.yaml`/manifest parser
|
|
34
|
+
(`lib/intent.js`) and the router state-path reader (`lib/router.js`).
|
|
35
|
+
- Hardened the non-interactive installer: `npx godpowers` with no target in a
|
|
36
|
+
non-TTY shell now refuses and prints guidance instead of performing a silent
|
|
37
|
+
global install.
|
|
38
|
+
- Added path-traversal validation to `extension-scaffold` names
|
|
39
|
+
(`lib/extension-authoring.js`).
|
|
40
|
+
- `installer-files.copyRecursive` now only reproduces symlinks that stay within
|
|
41
|
+
the source tree.
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
- Guarded JSON parsing of `state.json` (`lib/state.js`) and `events.jsonl`
|
|
45
|
+
(`lib/events.js`) against corrupt or partially-written files: a clear,
|
|
46
|
+
actionable error or a skipped torn line instead of an uncaught crash on the
|
|
47
|
+
`status`/`next`/checkpoint paths.
|
|
48
|
+
- Corrected the review registry path to `.godpowers/REVIEW-REQUIRED.md`
|
|
49
|
+
(`lib/review-required.js`) so the dashboard and automation count review items,
|
|
50
|
+
and so the off-switch no longer deletes a repo-root file.
|
|
51
|
+
- `agent-cache.clear` no longer deletes unparseable entries during a narrow
|
|
52
|
+
(by-agent, expiry, or age) clear (`lib/agent-cache.js`).
|
|
53
|
+
- Reconciled documentation drift: JS-module and script counts, the
|
|
54
|
+
`HAVE-NOTS.md` reference tally (now 156), linkage path naming
|
|
55
|
+
(`.godpowers/links/`), phantom command/agent references in skill and agent
|
|
56
|
+
prose, and stale sample output across docs and skills.
|
|
57
|
+
|
|
58
|
+
### Changed
|
|
59
|
+
- Data-directory and runtime-bundle installs are now a clean replace
|
|
60
|
+
(`lib/installer-core.js`), so a version upgrade never leaves behind files that
|
|
61
|
+
no longer ship.
|
|
62
|
+
- Documented the state lock's advisory, single-process semantics
|
|
63
|
+
(`lib/state-lock.js`).
|
|
64
|
+
- Softened brittle exact-count test assertions (full-arc step/wave counts,
|
|
65
|
+
core workflow count) to floors so valid workflow edits no longer break the
|
|
66
|
+
gate for non-bug reasons.
|
|
67
|
+
|
|
68
|
+
### Added
|
|
69
|
+
- A skill/agent prose reference validator
|
|
70
|
+
(`lib/agent-refs.findUnresolvedProseRefs`) wired into the agent-ref test gate,
|
|
71
|
+
catching phantom `/god-*` and agent references in markdown bodies that the
|
|
72
|
+
workflow `uses:` check cannot see.
|
|
73
|
+
- Wired have-not `A-13` (ADR inflation) into the architecture gate
|
|
74
|
+
(`routing/god-arch.yaml`).
|
|
75
|
+
|
|
76
|
+
## [2.0.3] - 2026-05-26
|
|
77
|
+
|
|
78
|
+
### Added
|
|
79
|
+
- Added async state, intent, and workflow plan APIs as the first supported path
|
|
80
|
+
away from synchronous-only runtime file I/O.
|
|
81
|
+
- Added executable workflow agent reference validation so `uses:
|
|
82
|
+
god-agent@range` entries are checked against the current agent contract.
|
|
83
|
+
- Added `lib/skill-surface.js` and source-sync tests so individual skill files
|
|
84
|
+
are the source of truth for slash-command metadata.
|
|
85
|
+
|
|
86
|
+
### Changed
|
|
87
|
+
- Migrated test files to the shared test harness and made static checks reject
|
|
88
|
+
new copied harness boilerplate.
|
|
89
|
+
- Split installer runtime definitions, argument parsing, and install core logic
|
|
90
|
+
out of `bin/install.js`.
|
|
91
|
+
- Moved long-form `/god-mode` operator templates into
|
|
92
|
+
`references/orchestration/GOD-MODE-RUNBOOK.md`.
|
|
93
|
+
- Added JSDoc typedef contracts to load-bearing runtime modules.
|
|
94
|
+
|
|
95
|
+
## [2.0.2] - 2026-05-26
|
|
96
|
+
|
|
97
|
+
### Added
|
|
98
|
+
- Added `scripts/run-tests.js` as the maintained full-suite runner behind
|
|
99
|
+
`npm test`.
|
|
100
|
+
- Added `scripts/static-check.js` and `npm run lint` for dependency-free
|
|
101
|
+
JavaScript syntax and release-gate structure checks.
|
|
102
|
+
- Added dedicated YAML parser coverage for the supported dependency-free YAML
|
|
103
|
+
subset.
|
|
104
|
+
|
|
105
|
+
### Changed
|
|
106
|
+
- Hardened `lib/intent.parseSimpleYaml` for quoted colons, quoted hashes,
|
|
107
|
+
quoted commas in inline arrays, scalar arrays, object arrays, and folded
|
|
108
|
+
block scalars.
|
|
109
|
+
- Moved installer copy helpers into `lib/installer-files.js` and preserved
|
|
110
|
+
symlinks during recursive copies.
|
|
111
|
+
- Updated release and repo surface sync detectors to recognize delegated test
|
|
112
|
+
runners instead of requiring every test filename inside `package.json`.
|
|
113
|
+
- Tightened budget block removal so only the top-level `budgets` block is
|
|
114
|
+
removed.
|
|
115
|
+
|
|
116
|
+
### Fixed
|
|
117
|
+
- Rejected router `file:` checks that point outside the project root.
|
|
118
|
+
- Corrected the `/god-build` repository prerequisite auto-complete route from
|
|
119
|
+
`/god-roadmap` to `/god-repo`.
|
|
120
|
+
- Aligned `SKILL.md` frontmatter version with package version `2.0.2`.
|
|
121
|
+
|
|
122
|
+
## [2.0.1] - 2026-05-22
|
|
123
|
+
|
|
124
|
+
Request-trace review guardrails.
|
|
125
|
+
|
|
126
|
+
### Added
|
|
127
|
+
- Added request-trace discipline to `god-executor`: assumptions, public
|
|
128
|
+
behavior, expected files, and verification command must be explicit before
|
|
129
|
+
implementation.
|
|
130
|
+
- Added scope and request-trace review checks to `god-spec-reviewer` so
|
|
131
|
+
unplanned touched files, speculative flexibility, and unrelated churn block
|
|
132
|
+
review before quality review begins.
|
|
133
|
+
- Added a simplicity and surgicality dimension to `god-quality-reviewer` so
|
|
134
|
+
overcomplicated but technically correct code does not pass review.
|
|
135
|
+
- Added `request-trace-review` to runtime feature awareness for upgraded
|
|
136
|
+
projects.
|
|
137
|
+
|
|
138
|
+
### Changed
|
|
139
|
+
- `/god-build` and `/god-review` docs now describe the narrow-diff guardrails
|
|
140
|
+
as part of existing workflows instead of introducing a new command.
|
|
141
|
+
- README, reference docs, roadmap, architecture, quality pillar, release notes,
|
|
142
|
+
package metadata, and lockfile now align to `2.0.1`.
|
|
143
|
+
|
|
144
|
+
### Guardrails
|
|
145
|
+
- The public command surface stays frozen; the change strengthens existing
|
|
146
|
+
executor and reviewer contracts.
|
|
147
|
+
- Reviewers now reject speculative abstraction, unrelated cleanup, and diff
|
|
148
|
+
churn that cannot be traced to the user request, slice plan, failing test, or
|
|
149
|
+
implementation-caused cleanup.
|
|
150
|
+
|
|
10
151
|
## [2.0.0] - 2026-05-16
|
|
11
152
|
|
|
12
153
|
Executable proof release.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/aihxp/godpowers/actions/workflows/ci.yml)
|
|
4
4
|
[](LICENSE)
|
|
5
|
-
[](CHANGELOG.md)
|
|
6
6
|
[](https://www.npmjs.com/package/godpowers)
|
|
7
7
|
|
|
8
8
|
**Ship fast. Ship right. Ship everything. Ship accountably.**
|
|
@@ -21,11 +21,24 @@ Godpowers makes AI coding accountable: every serious run should leave disk
|
|
|
21
21
|
state, artifacts, validation gates, host guarantees, and a next action. Code is
|
|
22
22
|
only one output. The project memory and proof trail matter too.
|
|
23
23
|
|
|
24
|
-
Version 2.
|
|
24
|
+
Version 2.1.1 keeps the proof loop executable. `npx godpowers quick-proof
|
|
25
25
|
--project=.` now renders a shipped fixture with real `.godpowers/state.json`,
|
|
26
26
|
computed next action, missing-artifact visibility, and host guarantees. The
|
|
27
|
-
|
|
28
|
-
install verifier,
|
|
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.
|
|
29
42
|
|
|
30
43
|
Strict release readiness remains fail-closed. Godpowers requires delegated
|
|
31
44
|
release checks to cover root docs, docs, agents, skills, routing, workflows,
|
|
@@ -50,7 +63,8 @@ It fuses four disciplines into one unified workflow:
|
|
|
50
63
|
- **Execution engine** - fresh-context agents in parallel waves with atomic
|
|
51
64
|
commits. No context rot. No sequential bottlenecks.
|
|
52
65
|
- **Quality immune system** - TDD enforcement, two-stage code review (spec
|
|
53
|
-
compliance + code quality),
|
|
66
|
+
compliance + code quality), request-trace discipline, surgical diffs, and
|
|
67
|
+
verification before completion.
|
|
54
68
|
- **Team intelligence** - scale-adaptive complexity, specialized agent personas
|
|
55
69
|
(PM, Architect, Executor, Reviewer, Harden Auditor, etc.).
|
|
56
70
|
|
|
@@ -182,6 +196,26 @@ npx godpowers dogfood
|
|
|
182
196
|
npx godpowers extension-scaffold --name=@godpowers/my-pack --output=.
|
|
183
197
|
```
|
|
184
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
|
+
|
|
185
219
|
### Slash Commands
|
|
186
220
|
|
|
187
221
|
| Command | What it does | Spawns agent |
|
|
@@ -249,6 +283,11 @@ going through build, verification, repair, launch, and final sync. Red tests,
|
|
|
249
283
|
typecheck, lint, build, or check output enter the repair loop instead of being
|
|
250
284
|
reported as the final result.
|
|
251
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
|
+
|
|
252
291
|
If `.godpowers` state already exists, `/god-mode --yolo` resumes from disk
|
|
253
292
|
instead of asking for the project description again.
|
|
254
293
|
|
|
@@ -388,6 +427,7 @@ Every artifact passes these mechanical checks before it is treated as complete:
|
|
|
388
427
|
| Artifact-on-disk | Phantom resume (agent claims done, file does not exist) |
|
|
389
428
|
| Critical-finding gate | Shipping with known security holes |
|
|
390
429
|
| TDD enforcement | Code without tests |
|
|
430
|
+
| Request-trace review | Scope creep, unrelated cleanup, speculative abstraction |
|
|
391
431
|
| Two-stage review | Code that passes tests but violates spec or quality |
|
|
392
432
|
|
|
393
433
|
These checks are guardrails, not proof that the product is right. A PRD can
|
package/RELEASE.md
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
# Godpowers 2.
|
|
1
|
+
# Godpowers 2.1.1 Release
|
|
2
2
|
|
|
3
|
-
Date: 2026-05-
|
|
3
|
+
Date: 2026-05-30
|
|
4
4
|
|
|
5
|
-
Godpowers 2.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
host guarantees from the caller's environment.
|
|
5
|
+
Godpowers 2.1.1 is a documentation and off-switch safety patch on top of the
|
|
6
|
+
2.1.0 security release. The public slash-command surface, runtime behavior, and
|
|
7
|
+
artifact layout are unchanged except for one safety improvement to the context
|
|
8
|
+
off-switch.
|
|
10
9
|
|
|
11
10
|
## What is stable
|
|
12
11
|
|
|
@@ -16,62 +15,45 @@ host guarantees from the caller's environment.
|
|
|
16
15
|
- 40 intent recipes
|
|
17
16
|
- 15-runtime installer
|
|
18
17
|
- Codex installs with generated `god-*.toml` agent metadata files
|
|
19
|
-
- Markdown specialist agent contracts at `<runtime>/agents/god-*.md`
|
|
20
18
|
- Shared runtime bundle at `<runtime>/godpowers-runtime`
|
|
21
19
|
- Native Pillars project context through `AGENTS.md` and `agents/*.md`
|
|
22
20
|
- `.godpowers/` workflow state and artifact layout
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
- `godpowers status --project .` and `godpowers next --project .`
|
|
26
|
-
- `godpowers quick-proof --project .`
|
|
27
|
-
- Planning-system migration for GSD, BMAD, and Superpowers
|
|
28
|
-
- Repository documentation sync checks
|
|
29
|
-
- Repository surface sync checks
|
|
30
|
-
- Route quality, recipe coverage, and release surface sync checks
|
|
31
|
-
- Messy-repo dogfood scenarios
|
|
32
|
-
- Extension authoring scaffold helper
|
|
33
|
-
- Mode D suite release dry-run planner
|
|
21
|
+
- `godpowers status --project .`, `godpowers next --project .`, and
|
|
22
|
+
`godpowers quick-proof --project .`
|
|
34
23
|
- Release gate enforcement through `npm run release:check`
|
|
24
|
+
- The 2.1.0 security hardening (argv-only browser exec, corrupt-file parse
|
|
25
|
+
guards, clean-replace installs, prototype-pollution guards)
|
|
35
26
|
|
|
36
27
|
## What is new
|
|
37
28
|
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
artifact after publish.
|
|
47
|
-
- Updated README, getting started, reference, release checklist, and Pillars
|
|
48
|
-
context so executable proof is part of the product surface.
|
|
29
|
+
- The context off-switch now empties the canonical `AGENTS.md` instead of
|
|
30
|
+
deleting it; auto-generated pointer files (`CLAUDE.md`, `.cursorrules`, etc.)
|
|
31
|
+
are still removed when only the Godpowers fence remains.
|
|
32
|
+
- Documentation reconciliation: removed unverifiable external impeccable
|
|
33
|
+
rule/finding counts; aligned the project-mode taxonomy with the runtime
|
|
34
|
+
(A/B/C/E primary modes, with D as the orthogonal multi-repo suite overlay);
|
|
35
|
+
documented every `lib/` module; and clarified how the artifact-category counts
|
|
36
|
+
relate.
|
|
49
37
|
|
|
50
38
|
## Guardrails
|
|
51
39
|
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
- Published install verification checks quick proof, status, next, Claude
|
|
57
|
-
install, and Codex metadata install against the registry artifact.
|
|
58
|
-
- The adoption canary harness captures CLI-verifiable signals only. Host slash
|
|
59
|
-
commands such as `/god-preflight`, `/god-audit`, and `/god-reconstruct` still
|
|
60
|
-
require an AI coding host.
|
|
40
|
+
- The public slash-command surface remains frozen.
|
|
41
|
+
- The runtime remains dependency-free.
|
|
42
|
+
- `bin/install.js` stays a thin CLI entry point and delegates install behavior
|
|
43
|
+
to `lib/installer-core.js`.
|
|
61
44
|
|
|
62
45
|
## Validation
|
|
63
46
|
|
|
64
47
|
Release validation includes:
|
|
65
48
|
|
|
66
|
-
- `npm
|
|
67
|
-
- `
|
|
49
|
+
- `npm test`
|
|
50
|
+
- `npm run test:audit`
|
|
51
|
+
- `npm run pack:check`
|
|
68
52
|
- `npm run release:check`
|
|
69
53
|
- `npm pack --json`
|
|
70
|
-
- local
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
- `node scripts/verify-published-install.js godpowers@latest`
|
|
74
|
-
- GitHub release creation for `v2.0.0`
|
|
54
|
+
- local install smoke tests across supported runtime shapes
|
|
55
|
+
- npm publish when registry credentials are available
|
|
56
|
+
- GitHub release creation for `v2.1.1`
|
|
75
57
|
|
|
76
|
-
The `v2.
|
|
77
|
-
`godpowers@2.
|
|
58
|
+
The `v2.1.1` tag should point to the release commit that matches the npm
|
|
59
|
+
`godpowers@2.1.1` package.
|
package/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: godpowers
|
|
3
|
-
version:
|
|
3
|
+
version: 2.1.1
|
|
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
|
|
7
|
+
quality are tightly coupled. Spawned by /god-design BEFORE
|
|
8
8
|
impact analysis runs.
|
|
9
9
|
|
|
10
|
-
Spawned by: god-design
|
|
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-
|
|
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-
|
|
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-
|
|
135
|
-
- Compute downstream impact (god-impact
|
|
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)
|
package/agents/god-designer.md
CHANGED
|
@@ -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
|
|
179
|
+
- Compute change impact (that's /god-design-impact)
|
|
180
180
|
- Review your own changes (that's god-design-reviewer)
|
package/agents/god-executor.md
CHANGED
|
@@ -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
|
|
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.
|
|
@@ -42,6 +42,14 @@ Answer each with EVIDENCE from the code:
|
|
|
42
42
|
- Anything in the code that wasn't in the plan?
|
|
43
43
|
- If yes: was it necessary, or is it scope creep?
|
|
44
44
|
|
|
45
|
+
5. **Can every changed line trace to the request?**
|
|
46
|
+
- Does each file touched map to a plan item, acceptance criterion, failing
|
|
47
|
+
test, or cleanup caused by the implementation?
|
|
48
|
+
- Were unrelated comments, formatting, names, or neighboring abstractions
|
|
49
|
+
changed without a plan-backed reason?
|
|
50
|
+
- Did the executor add future options, broad configurability, or generic
|
|
51
|
+
interfaces that the current slice does not need?
|
|
52
|
+
|
|
45
53
|
## Output
|
|
46
54
|
|
|
47
55
|
Return verdict to orchestrator:
|
|
@@ -65,6 +73,8 @@ Return verdict to orchestrator:
|
|
|
65
73
|
- Every acceptance criterion has a corresponding test
|
|
66
74
|
- All edge cases from the plan are covered
|
|
67
75
|
- No scope creep without justification
|
|
76
|
+
- Every touched file has request-trace evidence
|
|
77
|
+
- No speculative flexibility or unrelated cleanup entered the diff
|
|
68
78
|
|
|
69
79
|
If FAIL: orchestrator returns the slice to god-executor with the failures.
|
|
70
80
|
If PASS: orchestrator spawns god-quality-reviewer next.
|