godpowers 2.2.1 → 2.3.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 +65 -7
- package/INSPIRATION.md +4 -2
- package/README.md +35 -22
- package/RELEASE.md +44 -23
- package/SKILL.md +2 -2
- package/agents/god-auditor.md +1 -1
- package/agents/god-debugger.md +44 -8
- package/agents/god-deps-auditor.md +11 -0
- package/agents/god-executor.md +50 -5
- package/agents/god-greenfieldifier.md +1 -1
- package/agents/god-orchestrator.md +2 -2
- package/agents/god-planner.md +14 -0
- package/agents/god-pm.md +1 -1
- package/agents/god-quality-reviewer.md +23 -1
- package/agents/god-reconciler.md +1 -1
- package/agents/god-roadmapper.md +1 -1
- package/agents/god-spec-reviewer.md +16 -0
- package/agents/god-stack-selector.md +4 -0
- package/agents/god-updater.md +1 -1
- package/bin/install.js +9 -3
- package/fixtures/dogfood/{half-migrated-gsd → half-migrated-planning}/manifest.json +2 -2
- package/lib/README.md +9 -2
- package/lib/agent-cache.js +25 -3
- package/lib/atomic-write.js +85 -0
- package/lib/checkpoint.js +2 -1
- package/lib/code-intelligence.js +161 -0
- package/lib/context-writer.js +1 -1
- package/lib/dashboard.js +54 -20
- package/lib/executor-repair.js +65 -0
- package/lib/extensions.js +6 -13
- package/lib/feature-awareness.js +2 -2
- package/lib/fs-async.js +2 -1
- package/lib/host-capabilities.js +4 -0
- package/lib/install-profiles.js +155 -0
- package/lib/installer-args.js +12 -0
- package/lib/installer-core.js +43 -8
- package/lib/linkage.js +2 -1
- package/lib/package-identity.js +38 -0
- package/lib/package-legitimacy.js +158 -0
- package/lib/planning-systems.js +16 -13
- package/lib/quick-proof.js +5 -2
- package/lib/repo-surface-sync.js +1 -1
- package/lib/requirements.js +2 -1
- package/lib/reverse-sync.js +2 -1
- package/lib/route-quality-sync.js +2 -0
- package/lib/source-grounding.js +177 -0
- package/lib/source-sync.js +6 -5
- package/lib/state.js +2 -1
- package/package.json +2 -2
- package/references/HAVE-NOTS.md +1 -1
- package/references/orchestration/MODE-DETECTION.md +2 -2
- package/references/shared/ORCHESTRATORS.md +3 -3
- package/routing/god-design.yaml +1 -1
- package/routing/god-extension-scaffold.yaml +25 -0
- package/routing/god-migrate.yaml +3 -3
- package/routing/god-stack.yaml +1 -1
- package/routing/recipes/add-feature-mid-arc-pause.yaml +6 -0
- package/routing/recipes/brownfield-onboarding.yaml +5 -2
- package/routing/recipes/extension-authoring.yaml +32 -0
- package/routing/recipes/greenfield-fast.yaml +3 -0
- package/routing/recipes/production-broken.yaml +4 -0
- package/routing/recipes/release-maintenance.yaml +3 -0
- package/routing/recipes/returning-after-break.yaml +3 -0
- package/routing/recipes/weekly-health-check.yaml +2 -0
- package/schema/state.v1.json +1 -1
- package/skills/god-build.md +17 -3
- package/skills/god-discuss.md +10 -5
- package/skills/god-doctor.md +9 -3
- package/skills/god-dogfood.md +2 -2
- package/skills/god-extension-scaffold.md +66 -0
- package/skills/god-init.md +6 -6
- package/skills/god-migrate.md +10 -10
- package/skills/god-sync.md +2 -2
- package/skills/god-update-deps.md +4 -2
- package/skills/god-version.md +2 -2
- package/skills/god.md +8 -11
- package/templates/IMPORTED-CONTEXT.md +1 -1
- package/templates/INITIAL-FINDINGS.md +2 -2
- /package/fixtures/dogfood/{half-migrated-gsd → half-migrated-planning}/.planning/PROJECT.md +0 -0
- /package/fixtures/dogfood/{half-migrated-gsd → half-migrated-planning}/.planning/REQUIREMENTS.md +0 -0
- /package/fixtures/dogfood/{half-migrated-gsd → half-migrated-planning}/.planning/ROADMAP.md +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,64 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.3.1] - 2026-06-08
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Added `/god-extension-scaffold` as the slash-command entry point for
|
|
14
|
+
extension pack authoring, with routing metadata, installer profile coverage,
|
|
15
|
+
package payload checks, and front-door recipe coverage.
|
|
16
|
+
- Added code-intelligence host capability detection for optional `ast-grep`,
|
|
17
|
+
`sg`, and LSP tooling without downgrading baseline host guarantees when those
|
|
18
|
+
tools are absent.
|
|
19
|
+
- Added public starter-path regression checks that verify README and Quick
|
|
20
|
+
Proof goal labels resolve through shipped `/god` recipes and routes.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- Updated public surface counts to 112 slash commands and 42 intent recipes
|
|
24
|
+
across release notes, reference docs, architecture maps, package metadata,
|
|
25
|
+
and project Pillars.
|
|
26
|
+
- Tightened public front-door recipe matching for starter phrases including
|
|
27
|
+
"start a product", "add a feature", "fix production", "maintain health",
|
|
28
|
+
"audit an existing repo", "ship a release", and extension authoring.
|
|
29
|
+
- Aligned the brownfield onboarding recipe to audit reconstructed artifacts
|
|
30
|
+
before tech-debt prioritization.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
- Prevented maintainer-repository documentation drift from leaking into normal
|
|
34
|
+
user project dashboards.
|
|
35
|
+
- Corrected Quick Proof output so fixture-backed checks render
|
|
36
|
+
`--project=.` for the user project path.
|
|
37
|
+
- Hardened extension install, planning-system detection, and agent-cache cleanup
|
|
38
|
+
around symlinked directories that point outside the trusted source tree.
|
|
39
|
+
- Removed phantom `god-*` examples from the extension scaffold skill prose so
|
|
40
|
+
agent-reference validation stays clean.
|
|
41
|
+
|
|
42
|
+
## [2.3.0] - 2026-05-30
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
- Added source-grounded planning helpers so build plans can name existing files,
|
|
46
|
+
existing symbols, planned new artifacts, and unchecked references before
|
|
47
|
+
execution begins.
|
|
48
|
+
- Added package legitimacy checks for package-backed stack and dependency
|
|
49
|
+
replacement decisions, covering npm existence, typo risk, staleness, and
|
|
50
|
+
repository metadata.
|
|
51
|
+
- Added role-based installer profiles (`core`, `builder`, `maintainer`,
|
|
52
|
+
`suite`, and `full`) plus `--minimal` as a compact alias for the core
|
|
53
|
+
surface.
|
|
54
|
+
- Added atomic file-write helpers and wired them into state, checkpoint,
|
|
55
|
+
requirements, linkage, source-sync, reverse-sync, and async filesystem
|
|
56
|
+
persistence paths.
|
|
57
|
+
- Added executor repair classification for retry, decomposition, pruning, and
|
|
58
|
+
escalation so failed implementation attempts leave clearer next actions.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
- Debranded legacy planning-system wording across public docs, runtime
|
|
62
|
+
detection, fixtures, tests, and sync-back surfaces to keep Godpowers distinct
|
|
63
|
+
from external workflow products.
|
|
64
|
+
- Build, executor, planner, spec-reviewer, stack-selector, and dependency
|
|
65
|
+
auditor contracts now require source grounding or package legitimacy evidence
|
|
66
|
+
where those checks apply.
|
|
67
|
+
|
|
10
68
|
## [2.2.1] - 2026-05-30
|
|
11
69
|
|
|
12
70
|
### Fixed
|
|
@@ -323,7 +381,7 @@ Dogfooding, host guarantees, extension authoring, and suite release dry-runs.
|
|
|
323
381
|
### Added
|
|
324
382
|
- Added `lib/dogfood-runner.js`, `/god-dogfood`, and `npx godpowers dogfood`
|
|
325
383
|
for deterministic messy-repo dogfood scenarios.
|
|
326
|
-
- Added `fixtures/dogfood/` scenarios for half-migrated
|
|
384
|
+
- Added `fixtures/dogfood/` scenarios for half-migrated legacy planning import,
|
|
327
385
|
degraded and full host guarantees, extension scaffolding, and Mode D suite
|
|
328
386
|
release dry-run planning.
|
|
329
387
|
- Added `lib/host-capabilities.js` and dashboard host guarantee reporting for
|
|
@@ -499,7 +557,7 @@ Feature awareness for existing Godpowers projects.
|
|
|
499
557
|
Planning-system migration and sync-back.
|
|
500
558
|
|
|
501
559
|
### Added
|
|
502
|
-
- Added `lib/planning-systems.js` to detect
|
|
560
|
+
- Added `lib/planning-systems.js` to detect legacy planning, BMAD, and Superpowers
|
|
503
561
|
planning context and convert useful signals into Godpowers prep and seed
|
|
504
562
|
artifacts.
|
|
505
563
|
- Added `lib/source-sync.js` to write current Godpowers progress back into
|
|
@@ -509,11 +567,11 @@ Planning-system migration and sync-back.
|
|
|
509
567
|
ambiguous.
|
|
510
568
|
- Added `docs/planning-system-migration.md` with detection signals, import
|
|
511
569
|
mapping, sync-back destinations, conflict rules, and return-path guidance.
|
|
512
|
-
- Added behavioral tests for
|
|
570
|
+
- Added behavioral tests for legacy planning, BMAD, Superpowers, imported seed artifacts,
|
|
513
571
|
state recording, and idempotent sync-back.
|
|
514
572
|
|
|
515
573
|
### Changed
|
|
516
|
-
- `/god-init` now auto-invokes planning-system import when
|
|
574
|
+
- `/god-init` now auto-invokes planning-system import when legacy planning, BMAD, or
|
|
517
575
|
Superpowers evidence is detected.
|
|
518
576
|
- `/god-sync` now auto-invokes source-system sync-back when `state.json`
|
|
519
577
|
records enabled source systems.
|
|
@@ -708,7 +766,7 @@ of leaving the user to infer the next action.
|
|
|
708
766
|
`/god-roadmap-check`.
|
|
709
767
|
|
|
710
768
|
### Changed
|
|
711
|
-
- Proposal-style outputs now mirror the clearer
|
|
769
|
+
- Proposal-style outputs now mirror the clearer legacy planning pattern: implement a small
|
|
712
770
|
slice, implement the full route, discuss more, inspect status, or run
|
|
713
771
|
`/god-mode` only when that is safe.
|
|
714
772
|
- `/god-next` and `/god-status` now explicitly distinguish partial progress,
|
|
@@ -1234,7 +1292,7 @@ routing, or the full autonomous arc starts.
|
|
|
1234
1292
|
### Documented
|
|
1235
1293
|
- The full recent init preparation flow is now documented together:
|
|
1236
1294
|
automatic AI-tool context for explicit `god init`, quiet context writes,
|
|
1237
|
-
|
|
1295
|
+
legacy planning / Superpowers / BMAD import into `IMPORTED-CONTEXT.md`, and direct
|
|
1238
1296
|
Godpowers repo findings in `INITIAL-FINDINGS.md`.
|
|
1239
1297
|
|
|
1240
1298
|
## [0.15.7] - 2026-05-11
|
|
@@ -1243,7 +1301,7 @@ Planning import release. Lets `/god-init` preserve useful context from nearby
|
|
|
1243
1301
|
planning systems without making those systems authoritative.
|
|
1244
1302
|
|
|
1245
1303
|
### Added
|
|
1246
|
-
- `/god-init` now detects
|
|
1304
|
+
- `/god-init` now detects legacy planning, Superpowers, BMAD, and similar planning context
|
|
1247
1305
|
during project preparation.
|
|
1248
1306
|
- Added `.godpowers/prep/IMPORTED-CONTEXT.md` as a non-authoritative
|
|
1249
1307
|
preparation artifact for imported product, delivery, architecture, and stack
|
package/INSPIRATION.md
CHANGED
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
Godpowers was shaped by ideas from several existing AI coding workflow
|
|
8
8
|
systems. The four direct ancestors were:
|
|
9
9
|
|
|
10
|
-
- **
|
|
10
|
+
- **Prior internal planning-system experiments** - pure-skill model, slash
|
|
11
|
+
commands inside AI tools, TDD enforcement, critical-finding gate with
|
|
12
|
+
autonomous-mode carve-out
|
|
11
13
|
- **Superpowers** by Anthropic ([github.com/anthropics/skills](https://github.com/anthropics/skills)) - subagent specialization with strict hand-off contracts, fresh-context isolation, two-stage review pipelines
|
|
12
14
|
- **BMAD-METHOD** ([github.com/bmad-code-org/BMAD-METHOD](https://github.com/bmad-code-org/BMAD-METHOD)) - story-file workflow for incremental delivery, multi-phase methodology
|
|
13
15
|
- **arc-ready / arc-anything** - artifact-quality discipline (substitution test, three-label test, named have-nots catalog)
|
|
@@ -35,7 +37,7 @@ Beyond what was inherited, godpowers added:
|
|
|
35
37
|
AGENTS.md / CLAUDE.md / GEMINI.md and 11 other tool-specific paths
|
|
36
38
|
- **Feature awareness and host guarantee reporting** so existing projects and
|
|
37
39
|
AI coding hosts can state what Godpowers capabilities are actually available
|
|
38
|
-
- **Messy-repo dogfood fixtures** for
|
|
40
|
+
- **Messy-repo dogfood fixtures** for legacy planning migration, sync-back, extension
|
|
39
41
|
authoring, host capability, and Mode D suite release dry-run behavior
|
|
40
42
|
- **Autonomous repo documentation and surface sync** for badges, route
|
|
41
43
|
metadata, recipes, package payloads, release gates, and extension packs
|
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,17 +21,15 @@ 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.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
|
24
|
+
Version 2.3.1 keeps the proof loop executable and adds release-surface
|
|
25
|
+
hardening. Extension authors get `/god-extension-scaffold`, public starter
|
|
26
|
+
paths are regression-tested against the actual router, host capability reports
|
|
27
|
+
include optional code-intelligence tooling, clean user dashboards avoid
|
|
28
|
+
maintainer-repo drift, and symlink handling is hardened across extension,
|
|
29
|
+
planning-system, and cache paths.
|
|
30
|
+
|
|
31
|
+
Maintainer hardening continues on the 2.x line with small, audited public
|
|
32
|
+
surface updates when they close real workflow gaps. The 2.1.0 patch closes a command-injection vector in the
|
|
35
33
|
agent-browser driver, guards runtime file parsing against corrupt state,
|
|
36
34
|
makes data-directory installs a clean replace, and reconciles documentation
|
|
37
35
|
drift. The 2.0.3 patch range-checks workflow agent references,
|
|
@@ -78,6 +76,8 @@ should prove:
|
|
|
78
76
|
- Planning artifacts, code changes, reviews, and launch checks can be inspected.
|
|
79
77
|
- Host guarantees are explicit, including degraded or simulated agent behavior.
|
|
80
78
|
- Release confidence covers tests, package contents, install surfaces, and docs.
|
|
79
|
+
- Build plans cite real files and symbols before execution starts.
|
|
80
|
+
- New dependencies have registry and legitimacy evidence before they enter the stack.
|
|
81
81
|
|
|
82
82
|
## Install
|
|
83
83
|
|
|
@@ -96,6 +96,19 @@ The installer copies:
|
|
|
96
96
|
- Codex agent metadata to `<runtime>/agents/*.toml`
|
|
97
97
|
- SessionStart hook (Claude Code only) to `<runtime>/hooks/`
|
|
98
98
|
|
|
99
|
+
Installer profiles keep the visible command surface calm:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
npx godpowers --claude --global --profile=core
|
|
103
|
+
npx godpowers --codex --local --profile=builder
|
|
104
|
+
npx godpowers --all --profile=maintainer
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Profiles are `core`, `builder`, `maintainer`, `suite`, and `full`. `full`
|
|
108
|
+
preserves the complete command surface, while the smaller profiles install the
|
|
109
|
+
commands most relevant to the role. `--minimal` is an alias for
|
|
110
|
+
`--profile=core`.
|
|
111
|
+
|
|
99
112
|
Agent spawning is host-native. Claude uses its native agent/task interface,
|
|
100
113
|
Codex uses installed `agents/*.toml` metadata backed by the same Markdown agent
|
|
101
114
|
contracts, and the other runtimes use their supported agent or subagent
|
|
@@ -174,13 +187,13 @@ learn the next command when Godpowers recommends it.
|
|
|
174
187
|
|
|
175
188
|
| Goal | Starter path |
|
|
176
189
|
|---|---|
|
|
177
|
-
| Start a product | `/god-init`, `/god-prd`, `/god-design`, `/god-arch`, `/god-roadmap`, `/god-stack`, `/god-build` |
|
|
178
|
-
| Add a feature | `/god-
|
|
179
|
-
| Fix production | `/god-hotfix`, `/god-
|
|
180
|
-
| Audit an existing repo | `/god-preflight`, `/god-
|
|
181
|
-
| Ship a release | `/god-
|
|
190
|
+
| Start a product | `/god-init`, `/god-prd`, `/god-design`, `/god-arch`, `/god-roadmap`, `/god-stack`, `/god-repo`, `/god-build` |
|
|
191
|
+
| Add a feature | `/god-reconcile`, `/god-feature`, `/god-sync`, `/god-review` |
|
|
192
|
+
| Fix production | `/god-hotfix`, `/god-postmortem`, `/god-status` |
|
|
193
|
+
| Audit an existing repo | `/god-preflight`, `/god-archaeology`, `/god-reconstruct`, `/god-audit`, `/god-tech-debt` |
|
|
194
|
+
| Ship a release | `/god-sync`, `/god-docs`, `/god-version`, `/god-automation-setup`, `npm run release:check` |
|
|
182
195
|
| Maintain project health | `/god-hygiene`, `/god-update-deps`, `/god-docs`, `/god-check-todos` |
|
|
183
|
-
| Extend Godpowers | `/god-extension-
|
|
196
|
+
| Extend Godpowers | `/god-extension-scaffold --name=@godpowers/my-pack --output=.`, `/god-test-extension`, `/god-extension-add`, `/god-extension-list` |
|
|
184
197
|
|
|
185
198
|
The same status engine is available from the installer CLI for humans, CI,
|
|
186
199
|
Codex, Claude, Cursor, Gemini, OpenCode, Windsurf, Antigravity, and any host
|
|
@@ -240,7 +253,7 @@ extension files, with parser coverage in `scripts/test-yaml-parser.js`.
|
|
|
240
253
|
| `/god-automation-status` | Show host automation provider support | (built-in) |
|
|
241
254
|
| `/god-automation-setup` | Prepare opt-in automation setup | (built-in) |
|
|
242
255
|
| `/god-dogfood` | Run messy-repo dogfood scenarios for release and autonomy readiness | (built-in) |
|
|
243
|
-
| `/god-migrate` | Detect
|
|
256
|
+
| `/god-migrate` | Detect legacy planning, BMAD, and Superpowers context; import and sync back | god-greenfieldifier when needed |
|
|
244
257
|
| `/god-preflight` | Read-only intake audit before project-run readiness and pillars | god-auditor |
|
|
245
258
|
| `/god-audit` | Score artifacts against have-nots | god-auditor |
|
|
246
259
|
| `/god-debug` | 4-phase systematic debug | god-debugger |
|
|
@@ -327,7 +340,7 @@ Godpowers can dogfood itself against shipped messy-repo fixtures:
|
|
|
327
340
|
npx godpowers dogfood
|
|
328
341
|
```
|
|
329
342
|
|
|
330
|
-
The dogfood suite covers a half-migrated
|
|
343
|
+
The dogfood suite covers a half-migrated legacy planning project, full and degraded host
|
|
331
344
|
guarantee detection, extension scaffold validation, and a Mode D suite release
|
|
332
345
|
dry-run. `/god-dogfood` reports failures with scoped specialist ownership
|
|
333
346
|
rather than treating fixture checks as silent background work.
|
|
@@ -343,7 +356,7 @@ Godpowers can migrate from adjacent planning systems:
|
|
|
343
356
|
/god-migrate
|
|
344
357
|
```
|
|
345
358
|
|
|
346
|
-
This detects
|
|
359
|
+
This detects legacy planning `.planning/` or `.legacy-planning/`, BMAD `_bmad-output/` or `.bmad/`,
|
|
347
360
|
and Superpowers specs or plans. It writes
|
|
348
361
|
`.godpowers/prep/IMPORTED-CONTEXT.md`, optional imported seed artifacts, and
|
|
349
362
|
managed sync-back files such as `.planning/GODPOWERS-SYNC.md`,
|
|
@@ -485,7 +498,7 @@ Pi. T3 Code inherits from the underlying agent (Codex / Claude / OpenCode).
|
|
|
485
498
|
- [Getting Started](docs/getting-started.md)
|
|
486
499
|
- [Quick Proof](docs/quick-proof.md)
|
|
487
500
|
- [Concepts](docs/concepts.md)
|
|
488
|
-
- [Command reference (all
|
|
501
|
+
- [Command reference (all 112 skills + 40 agents)](docs/reference.md)
|
|
489
502
|
- [Feature awareness](docs/feature-awareness.md)
|
|
490
503
|
- [Adoption Canary](docs/adoption-canary.md)
|
|
491
504
|
- [Repository documentation sync](docs/repo-doc-sync.md)
|
package/RELEASE.md
CHANGED
|
@@ -1,47 +1,68 @@
|
|
|
1
|
-
# Godpowers 2.
|
|
1
|
+
# Godpowers 2.3.1 Release
|
|
2
2
|
|
|
3
|
-
> Status: Ready for
|
|
4
|
-
> Date: 2026-
|
|
3
|
+
> Status: Ready for package verification
|
|
4
|
+
> Date: 2026-06-08
|
|
5
5
|
|
|
6
|
-
Godpowers 2.
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
Godpowers 2.3.1 is an accountability and release-surface hardening release for
|
|
7
|
+
the 2.x line. It strengthens planning grounding, package legitimacy, install
|
|
8
|
+
profiles, atomic persistence, executor recovery, extension authoring,
|
|
9
|
+
front-door route coverage, host capability reporting, and dashboard behavior.
|
|
9
10
|
|
|
10
11
|
## What's in this release
|
|
11
12
|
|
|
12
|
-
-
|
|
13
|
+
- 112 slash commands
|
|
13
14
|
- 40 specialist agents
|
|
14
15
|
- 13 executable workflows
|
|
15
|
-
-
|
|
16
|
+
- 42 intent recipes
|
|
16
17
|
|
|
17
18
|
## Highlights
|
|
18
19
|
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
|
|
20
|
+
- `/god-extension-scaffold` gives extension authors a first-class
|
|
21
|
+
slash-command path before `/god-test-extension` and `/god-extension-add`.
|
|
22
|
+
- Public `/god` intent matching now covers the starter phrases users are most
|
|
23
|
+
likely to type: start a product, add a feature, fix production, audit an
|
|
24
|
+
existing repo, ship a release, maintain health, and extend Godpowers.
|
|
25
|
+
- Quick Proof and README starter paths are now regression-tested against the
|
|
26
|
+
actual router and recipe engine.
|
|
27
|
+
- User project dashboards no longer show maintainer-repository documentation
|
|
28
|
+
drift when a clean non-Godpowers project is inspected.
|
|
29
|
+
- Host capability reporting now includes optional code-intelligence tooling
|
|
30
|
+
without treating missing optional tools as a host degradation.
|
|
31
|
+
- Extension install, planning-system detection, and agent-cache cleanup are
|
|
32
|
+
hardened around symlinked paths that point outside trusted source trees.
|
|
33
|
+
- Source-grounded planning records existing files, existing symbols, planned new
|
|
34
|
+
artifacts, and unchecked references before build execution.
|
|
35
|
+
- Package legitimacy checks give stack and dependency decisions a concrete npm
|
|
36
|
+
evidence gate before recommending package-backed choices.
|
|
37
|
+
- Installer profiles let users install a smaller role-based command surface
|
|
38
|
+
with `--profile=<name>` or `--minimal`.
|
|
39
|
+
- Atomic write helpers now protect core state and ledger writes from partial
|
|
40
|
+
file updates.
|
|
41
|
+
- Executor repair classification names whether a failed attempt should retry,
|
|
42
|
+
decompose, prune, or escalate.
|
|
43
|
+
- Public migration language now uses neutral legacy-planning terminology so
|
|
44
|
+
Godpowers is not confused with external workflow products.
|
|
45
|
+
- Architecture docs now include an executable audit map for disconnected
|
|
46
|
+
commands, actions, workflows, recipes, and package surfaces.
|
|
28
47
|
|
|
29
48
|
## Validation
|
|
30
49
|
|
|
31
50
|
- `npm test` green across the full suite
|
|
32
51
|
- `npm run lint` clean
|
|
33
52
|
- `npm run release:check` green (tests, audit, package contents)
|
|
53
|
+
- `npm pack` creates a local `godpowers-2.3.1.tgz` tarball for package
|
|
54
|
+
inspection
|
|
34
55
|
|
|
35
56
|
## Upgrade
|
|
36
57
|
|
|
37
|
-
- `npm install -g godpowers@2.
|
|
58
|
+
- `npm install -g godpowers@2.3.1` or `npx godpowers@2.3.1`
|
|
38
59
|
- Re-run `/god-context` in each project to refresh installed runtime metadata
|
|
39
|
-
- No breaking changes; existing `.godpowers/` state is compatible.
|
|
40
|
-
a
|
|
60
|
+
- No breaking changes; existing `.godpowers/` state is compatible. Users who
|
|
61
|
+
want a compact install can run `npx godpowers --profile=core`.
|
|
41
62
|
|
|
42
63
|
## Notes
|
|
43
64
|
|
|
44
|
-
- GitHub release creation for `v2.
|
|
65
|
+
- GitHub release creation for `v2.3.1`
|
|
45
66
|
- The tag should match the npm package version
|
|
46
|
-
- The `v2.
|
|
47
|
-
`godpowers@2.
|
|
67
|
+
- The `v2.3.1` tag should point to the release commit that matches the npm
|
|
68
|
+
`godpowers@2.3.1` package.
|
package/SKILL.md
CHANGED
|
@@ -297,7 +297,7 @@ Run these local runtime helpers automatically when their trigger is present:
|
|
|
297
297
|
`PROGRESS.md` mutation.
|
|
298
298
|
- Lightweight reverse-sync or linkage scan after code or artifact edits.
|
|
299
299
|
- Pillars sync planning after durable artifact truth changes.
|
|
300
|
-
- `lib/planning-systems.importPlanningContext` when
|
|
300
|
+
- `lib/planning-systems.importPlanningContext` when legacy planning, BMAD, or
|
|
301
301
|
Superpowers planning context is detected during `/god-init` or
|
|
302
302
|
`/god-migrate`.
|
|
303
303
|
- `lib/source-sync.run` when `state.json` records enabled `source-systems`
|
|
@@ -351,7 +351,7 @@ Spawn these agents only when the trigger is direct and scope is bounded:
|
|
|
351
351
|
- `god-automation-engineer` after the user approves provider, template,
|
|
352
352
|
cadence, and scope for multi-template, write-capable, background-agent,
|
|
353
353
|
scriptable-scheduler, or provider-uncertain automation setup.
|
|
354
|
-
- `god-greenfieldifier` when imported
|
|
354
|
+
- `god-greenfieldifier` when imported legacy planning, BMAD, or Superpowers context has
|
|
355
355
|
low confidence, conflicting systems, or missing canonical Godpowers seed
|
|
356
356
|
artifacts after local import.
|
|
357
357
|
- `god-greenfieldifier` when feature-awareness detects unimported or imported
|
package/agents/god-auditor.md
CHANGED
|
@@ -250,7 +250,7 @@ Mode: [brownfield | bluefield]
|
|
|
250
250
|
- This audit does not rewrite artifacts.
|
|
251
251
|
- This audit must be followed by `god-greenfieldifier` in brownfield and
|
|
252
252
|
bluefield workflows when the user wants the audit acted on.
|
|
253
|
-
- This audit does not treat imported
|
|
253
|
+
- This audit does not treat imported legacy planning, Superpowers, BMAD, or org context as
|
|
254
254
|
source of truth.
|
|
255
255
|
- This audit does not block the project run unless it finds a Critical security or
|
|
256
256
|
impossible planning contradiction.
|
package/agents/god-debugger.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: god-debugger
|
|
3
3
|
description: |
|
|
4
|
-
Systematic
|
|
5
|
-
guess-and-check. Evidence-driven root cause analysis with
|
|
4
|
+
Systematic debugger: Observe, Minimize, Instrument, Hypothesize, Test,
|
|
5
|
+
Conclude. No guess-and-check. Evidence-driven root cause analysis with
|
|
6
|
+
regression tests.
|
|
6
7
|
|
|
7
8
|
Spawned by: /god-debug, when build encounters failures
|
|
8
9
|
tools: Read, Edit, Bash, Grep, Glob, WebSearch
|
|
@@ -22,10 +23,44 @@ Gather evidence before forming any hypothesis:
|
|
|
22
23
|
- Can you reproduce it RELIABLY? (if not, find a reliable repro first)
|
|
23
24
|
- All error messages, stack traces, logs (full text, not paraphrased)
|
|
24
25
|
- What is NOT happening that should be? (sometimes the silence is the clue)
|
|
26
|
+
- When available, use `ast-grep`, `sg`, or LSP diagnostics/references to
|
|
27
|
+
narrow impacted symbols before forming a hypothesis.
|
|
25
28
|
|
|
26
29
|
Output an observation document. Don't proceed until observations are complete.
|
|
27
30
|
|
|
28
|
-
## Phase 2:
|
|
31
|
+
## Phase 2: Minimize
|
|
32
|
+
|
|
33
|
+
Reduce the failure to the smallest reliable reproduction before proposing a
|
|
34
|
+
root cause:
|
|
35
|
+
|
|
36
|
+
- Remove unrelated inputs, branches, services, files, data, and timing from the
|
|
37
|
+
reproduction while keeping the failure present.
|
|
38
|
+
- Identify the smallest command, test, request, or user flow that still fails.
|
|
39
|
+
- Record the exact boundary where removing one more thing makes the failure
|
|
40
|
+
disappear.
|
|
41
|
+
- If minimization is impossible, record why and name the remaining broad
|
|
42
|
+
dependency that keeps the repro large.
|
|
43
|
+
|
|
44
|
+
Do not proceed until the minimized reproduction is clear enough that another
|
|
45
|
+
agent could rerun it without guessing.
|
|
46
|
+
|
|
47
|
+
## Phase 3: Instrument
|
|
48
|
+
|
|
49
|
+
Add or use focused evidence probes before forming a hypothesis:
|
|
50
|
+
|
|
51
|
+
- Prefer existing logs, traces, diagnostics, failing assertions, and debugger
|
|
52
|
+
output when they already expose the state transition.
|
|
53
|
+
- Add temporary probes only when they answer a specific question, then remove
|
|
54
|
+
them before the final fix unless they become a useful permanent test or log.
|
|
55
|
+
- Instrument the boundary between expected and actual behavior, not every
|
|
56
|
+
nearby function.
|
|
57
|
+
- Capture the observed values and the point where reality diverges from the
|
|
58
|
+
expected path.
|
|
59
|
+
|
|
60
|
+
Do not proceed until the instrumentation either narrows the failure boundary or
|
|
61
|
+
proves that more observation is needed.
|
|
62
|
+
|
|
63
|
+
## Phase 4: Hypothesize
|
|
29
64
|
|
|
30
65
|
Based on observations, list 2-3 most likely root causes:
|
|
31
66
|
|
|
@@ -35,7 +70,7 @@ For each hypothesis:
|
|
|
35
70
|
- What evidence would REFUTE this hypothesis?
|
|
36
71
|
- Rank by probability (1-10) with rationale
|
|
37
72
|
|
|
38
|
-
## Phase
|
|
73
|
+
## Phase 5: Test
|
|
39
74
|
|
|
40
75
|
Take the highest-probability hypothesis. Design a SPECIFIC test:
|
|
41
76
|
- The test should produce different evidence depending on which hypothesis is true
|
|
@@ -43,11 +78,12 @@ Take the highest-probability hypothesis. Design a SPECIFIC test:
|
|
|
43
78
|
- Record the evidence
|
|
44
79
|
- Compare to predicted outcomes
|
|
45
80
|
|
|
46
|
-
If hypothesis confirmed: proceed to Phase
|
|
81
|
+
If hypothesis confirmed: proceed to Phase 6.
|
|
47
82
|
If hypothesis refuted: cross it off, move to next hypothesis.
|
|
48
|
-
If all hypotheses refuted: return to Phase 1,
|
|
83
|
+
If all hypotheses refuted: return to Phase 1, then revisit minimization and
|
|
84
|
+
instrumentation with the new evidence.
|
|
49
85
|
|
|
50
|
-
## Phase
|
|
86
|
+
## Phase 6: Conclude (Fix and Verify)
|
|
51
87
|
|
|
52
88
|
1. **Write the regression test FIRST**
|
|
53
89
|
- The test should reproduce the bug
|
|
@@ -74,4 +110,4 @@ If all hypotheses refuted: return to Phase 1, expand observation scope.
|
|
|
74
110
|
- **Never apply multiple fixes at once** (can't tell which one worked)
|
|
75
111
|
- **Always write the regression test first** (locks in the contract)
|
|
76
112
|
- **If the bug is in a dependency**: document the workaround, file upstream, link in commit
|
|
77
|
-
- **Time-boxing**: if Phase 1-
|
|
113
|
+
- **Time-boxing**: if Phase 1-5 takes >2 hours with no progress, ask for help (the observations are likely incomplete)
|
|
@@ -31,6 +31,15 @@ For each dependency, classify:
|
|
|
31
31
|
- **Minor behind**: only minor/patch updates available
|
|
32
32
|
- **Up to date**: no action needed
|
|
33
33
|
|
|
34
|
+
For each new replacement candidate, run the package legitimacy gate before
|
|
35
|
+
recommending it:
|
|
36
|
+
- Registry existence
|
|
37
|
+
- Package age and recent publish signal
|
|
38
|
+
- Repository URL
|
|
39
|
+
- Maintainer or ownership signal when visible
|
|
40
|
+
- Typo-squat similarity to better-known packages
|
|
41
|
+
- Known vulnerability status where available
|
|
42
|
+
|
|
34
43
|
### 2. Triage
|
|
35
44
|
|
|
36
45
|
Priority order:
|
|
@@ -109,3 +118,5 @@ Deps audit FAILS if:
|
|
|
109
118
|
- Changelog not consulted (so breaking changes unknown)
|
|
110
119
|
- Lockfile not committed alongside package.json
|
|
111
120
|
- Bulk update without per-package commits (loses bisect-ability)
|
|
121
|
+
- Replacement package recommended without legitimacy evidence or accepted-risk
|
|
122
|
+
note
|
package/agents/god-executor.md
CHANGED
|
@@ -22,6 +22,8 @@ You receive:
|
|
|
22
22
|
- The slice's dependencies (what must already exist)
|
|
23
23
|
- Optional repair payload: failing command, error counts, focused diagnostics,
|
|
24
24
|
and files implicated by a previous verification run
|
|
25
|
+
- Optional source-grounding report: pass/fail status for existing files and
|
|
26
|
+
symbols cited by the slice plan
|
|
25
27
|
|
|
26
28
|
## TDD Sequence (mandatory)
|
|
27
29
|
|
|
@@ -73,6 +75,14 @@ requirement as "not started" even after you ship it.
|
|
|
73
75
|
- **Unrelated cleanup**: VIOLATION. Do not reformat, rename, refactor, or
|
|
74
76
|
delete adjacent code that is not required for this slice. Mention it as a
|
|
75
77
|
follow-up instead.
|
|
78
|
+
- **Ungrounded existing references**: VIOLATION. Do not implement against a
|
|
79
|
+
file, symbol, route, or API that the source-grounding preflight failed to
|
|
80
|
+
locate unless the plan explicitly declares it as a new artifact or the user
|
|
81
|
+
accepted it as unchecked risk.
|
|
82
|
+
- **Unverified new dependency**: VIOLATION. Before installing or adding a new
|
|
83
|
+
third-party package, run the package legitimacy gate from
|
|
84
|
+
`lib/package-legitimacy.js` or record why network verification was unavailable
|
|
85
|
+
and who accepted the risk.
|
|
76
86
|
|
|
77
87
|
## Request Trace Discipline
|
|
78
88
|
|
|
@@ -86,6 +96,34 @@ Every changed line must trace back to that contract, the failing test, or a
|
|
|
86
96
|
cleanup created by your own change. If you cannot explain the trace, revert
|
|
87
97
|
that line before returning control to the orchestrator.
|
|
88
98
|
|
|
99
|
+
## Optional Style Profile
|
|
100
|
+
|
|
101
|
+
If `CODEDNA.md` exists at the project root or appears in the provided context
|
|
102
|
+
loadout, read it before editing:
|
|
103
|
+
- Match the repo's naming, file organization, comment density, extraction
|
|
104
|
+
threshold, error handling style, and test idioms when they do not conflict
|
|
105
|
+
with the slice plan.
|
|
106
|
+
- Treat formatter, linter, tests, and explicit project conventions as
|
|
107
|
+
higher-priority evidence when they conflict with the profile.
|
|
108
|
+
- Do not invent or generate a `CODEDNA.md` profile in executor scope.
|
|
109
|
+
- If no profile exists, continue by matching the surrounding code directly.
|
|
110
|
+
- Preserve required `// Implements: P-...` annotations even when the profile
|
|
111
|
+
prefers fewer comments.
|
|
112
|
+
|
|
113
|
+
## Optional Code Intelligence
|
|
114
|
+
|
|
115
|
+
When host capabilities or local probing report `ast-grep`, `sg`, or LSP tools:
|
|
116
|
+
- Use `ast-grep` or `sg` for structural search before broad text rewrites.
|
|
117
|
+
- Use LSP diagnostics, definitions, references, or rename support when the
|
|
118
|
+
host exposes them for the touched language.
|
|
119
|
+
- Treat these tools as evidence helpers, not authority. Tests, source
|
|
120
|
+
grounding, and request trace still decide whether the slice is complete.
|
|
121
|
+
- Record the tool only when it shaped file selection, rewrite scope, or a
|
|
122
|
+
repair decision.
|
|
123
|
+
|
|
124
|
+
If optional code intelligence is unavailable, continue with Grep, Glob, and
|
|
125
|
+
Bash evidence. Absence of these tools is not a blocker.
|
|
126
|
+
|
|
89
127
|
## After All Behaviors Complete
|
|
90
128
|
|
|
91
129
|
1. Run the full test suite. All tests must pass.
|
|
@@ -122,8 +160,15 @@ happen.
|
|
|
122
160
|
|
|
123
161
|
## Repair Mode
|
|
124
162
|
|
|
125
|
-
If invoked with a repair payload,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
163
|
+
If invoked with a repair payload, classify the failure before editing:
|
|
164
|
+
|
|
165
|
+
| Strategy | Use when | Action |
|
|
166
|
+
|---|---|---|
|
|
167
|
+
| retry | The approach is right but a command, import, path, dependency, timeout, or environment failed | Make one focused adjustment and rerun the exact verification |
|
|
168
|
+
| decompose | The task is too broad or the done criteria combines multiple outcomes | Split into at most 3 smaller verified steps for this run |
|
|
169
|
+
| prune | A task is infeasible in this slice because a prerequisite is missing or out of scope | Skip only with a recorded reason and a downstream review marker |
|
|
170
|
+
| escalate | The repair budget is exhausted or the fix changes architecture, product behavior, or user intent | Stop and return the smallest human-only decision needed |
|
|
171
|
+
|
|
172
|
+
Log every repair decision in the slice closeout as
|
|
173
|
+
`[Executor Repair - STRATEGY] task: reason`. Do not reopen PRD, ARCH, roadmap,
|
|
174
|
+
or stack unless the diagnostic proves the artifact is stale.
|
|
@@ -137,7 +137,7 @@ After approved rewrites:
|
|
|
137
137
|
|
|
138
138
|
## Rules
|
|
139
139
|
|
|
140
|
-
- Imported
|
|
140
|
+
- Imported legacy planning, Superpowers, BMAD, org context, and reconstructed artifacts are
|
|
141
141
|
evidence, not source of truth.
|
|
142
142
|
- Never erase existing specific evidence to replace it with a generic
|
|
143
143
|
greenfield default.
|
|
@@ -161,7 +161,7 @@ Before each tier, check whether this repo is part of a registered suite:
|
|
|
161
161
|
|
|
162
162
|
## Planning-system context import
|
|
163
163
|
|
|
164
|
-
During `/god-init`, scan for adjacent methodology artifacts from
|
|
164
|
+
During `/god-init`, scan for adjacent methodology artifacts from legacy planning,
|
|
165
165
|
Superpowers, BMAD, and similar systems. Treat them as preparation context,
|
|
166
166
|
not as source of truth.
|
|
167
167
|
|
|
@@ -210,7 +210,7 @@ conflicts with user intent, state.json, PROGRESS.md, or completed Godpowers
|
|
|
210
210
|
artifacts, the Godpowers artifact wins.
|
|
211
211
|
|
|
212
212
|
Detection signals:
|
|
213
|
-
-
|
|
213
|
+
- legacy planning: `.legacy-planning/`, `.planning/`, `LEGACY-PLANNING.md`, `legacy-planning*.md`
|
|
214
214
|
- Superpowers: `.superpowers/`, `superpowers/`, `SUPERPOWERS.md`,
|
|
215
215
|
`.claude/skills/`, `.codex/skills/`
|
|
216
216
|
- BMAD: `.bmad-core/`, `bmad-core/`, `.bmad/`, `BMAD.md`,
|
package/agents/god-planner.md
CHANGED
|
@@ -35,6 +35,12 @@ Plan the build.
|
|
|
35
35
|
- **Slice name**: user-visible behavior
|
|
36
36
|
- **Requirements**: the PRD requirement ids this slice delivers (so the
|
|
37
37
|
executor can annotate the code and the deliverable ledger can trace it)
|
|
38
|
+
- **Source grounding**:
|
|
39
|
+
- Existing files this slice depends on
|
|
40
|
+
- Existing symbols, functions, classes, routes, commands, or APIs this
|
|
41
|
+
slice depends on
|
|
42
|
+
- New artifacts this slice will create
|
|
43
|
+
- Unchecked references that need human acceptance before execution
|
|
38
44
|
- **Files to create/modify**: exact paths
|
|
39
45
|
- **Tests to write FIRST**: with expected behavior
|
|
40
46
|
- **Implementation steps**: ordered
|
|
@@ -55,6 +61,11 @@ Write `.godpowers/build/PLAN.md`:
|
|
|
55
61
|
## Wave 1 (parallel)
|
|
56
62
|
### Slice 1.1: User can create an account
|
|
57
63
|
- Requirements: P-MUST-01
|
|
64
|
+
- Source grounding:
|
|
65
|
+
- Existing files: src/auth/index.ts
|
|
66
|
+
- Existing symbols: createSession
|
|
67
|
+
- New artifacts: src/auth/signup.ts, src/auth/signup.test.ts
|
|
68
|
+
- Unchecked references: none
|
|
58
69
|
- Files: src/auth/signup.ts, src/auth/signup.test.ts, src/db/users.ts
|
|
59
70
|
- Tests first:
|
|
60
71
|
- signup_creates_user_record
|
|
@@ -76,6 +87,9 @@ Write `.godpowers/build/PLAN.md`:
|
|
|
76
87
|
- `.godpowers/build/PLAN.md` exists
|
|
77
88
|
- Every slice has tests-first sequence
|
|
78
89
|
- Every slice names the PRD requirement ids it delivers
|
|
90
|
+
- Every slice separates existing references from new artifacts
|
|
91
|
+
- Every existing reference is grounded by `lib/source-grounding.js` before
|
|
92
|
+
execution
|
|
79
93
|
- Every member requirement id of the increment is covered by at least one slice
|
|
80
94
|
- Every slice has verification criteria
|
|
81
95
|
- Dependencies are explicit
|
package/agents/god-pm.md
CHANGED
|
@@ -62,7 +62,7 @@ reflects what Godpowers observed during init: codebase shape, tests, docs,
|
|
|
62
62
|
risks, and methodology systems detected.
|
|
63
63
|
|
|
64
64
|
If `.godpowers/prep/IMPORTED-CONTEXT.md` exists, read it before drafting the
|
|
65
|
-
PRD. Use product signals from
|
|
65
|
+
PRD. Use product signals from legacy planning, Superpowers, BMAD, or similar systems as
|
|
66
66
|
hypothesis-level input only.
|
|
67
67
|
|
|
68
68
|
If `.godpowers/domain/GLOSSARY.md` exists, read it before drafting the PRD.
|