godpowers 1.6.14 → 1.6.15

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 CHANGED
@@ -5,6 +5,43 @@ All notable changes to Godpowers will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.6.15] - 2026-05-16
9
+
10
+ Planning-system migration and sync-back.
11
+
12
+ ### Added
13
+ - Added `lib/planning-systems.js` to detect GSD, BMAD, and Superpowers
14
+ planning context and convert useful signals into Godpowers prep and seed
15
+ artifacts.
16
+ - Added `lib/source-sync.js` to write current Godpowers progress back into
17
+ managed companion files for imported planning systems.
18
+ - Added `/god-migrate` as the explicit command for planning-system detection,
19
+ import, sync-back, and specialist escalation when migration evidence is
20
+ ambiguous.
21
+ - Added `docs/planning-system-migration.md` with detection signals, import
22
+ mapping, sync-back destinations, conflict rules, and return-path guidance.
23
+ - Added behavioral tests for GSD, BMAD, Superpowers, imported seed artifacts,
24
+ state recording, and idempotent sync-back.
25
+
26
+ ### Changed
27
+ - `/god-init` now auto-invokes planning-system import when GSD, BMAD, or
28
+ Superpowers evidence is detected.
29
+ - `/god-sync` now auto-invokes source-system sync-back when `state.json`
30
+ records enabled source systems.
31
+ - `reverse-sync` now includes source-system sync-back in its runtime result.
32
+ - `state.v1.json` now records imported source systems, import hashes,
33
+ sync-back hashes, conflict counts, and sync-back policy.
34
+
35
+ ### Guardrails
36
+ - Imported planning context remains `[HYPOTHESIS]` until confirmed by the user
37
+ or a Godpowers artifact.
38
+ - Existing Godpowers artifacts are preserved unless the user explicitly forces
39
+ overwrite.
40
+ - Source-system files are not rewritten outside Godpowers-owned fences or
41
+ companion files.
42
+ - Low-confidence or conflicting imports route to `god-greenfieldifier` for a
43
+ controlled migration plan.
44
+
8
45
  ## [1.6.14] - 2026-05-16
9
46
 
10
47
  Approved automation setup execution.
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.14-blue)](CHANGELOG.md)
5
+ [![Version](https://img.shields.io/badge/version-1.6.15-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,16 +12,13 @@ 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.14 builds on the executable dashboard engine and CLI status surface:
16
- `godpowers status --project .` and `godpowers next --project .` now compute the
17
- same disk-derived progress, planning visibility, proactive checks, and next
18
- action used by `/god-status`, `/god-next`, and God Mode closeouts.
19
- It adds an opt-in automation-provider layer so Godpowers can detect host
20
- automation surfaces such as Codex App automations, Claude Routines, Cline
21
- schedules, Qwen loops, Cursor Background Agents, Copilot cloud agent, and
22
- scriptable CLI providers without silently creating background work.
23
- Approved setup can now use host tool calling for simple read-only automation
24
- or spawn `god-automation-engineer` for complex automation setup.
15
+ Version 1.6.15 adds planning-system migration for teams arriving from GSD,
16
+ BMAD, or Superpowers. `/god-init` now auto-detects those systems, imports
17
+ useful context into Godpowers prep and seed artifacts, and records source
18
+ systems in `state.json`. `/god-sync` now syncs current Godpowers progress back
19
+ to managed companion files so teams can return to the prior system with a clear
20
+ handoff trail. Ambiguous imports can auto-spawn `god-greenfieldifier` for a
21
+ controlled migration plan.
25
22
 
26
23
  It fuses four disciplines into one unified workflow:
27
24
 
@@ -147,6 +144,7 @@ npx godpowers status --project=. --json
147
144
  | `/god-status` | Re-derive state from disk | (built-in) |
148
145
  | `/god-automation-status` | Show host automation provider support | (built-in) |
149
146
  | `/god-automation-setup` | Prepare opt-in automation setup | (built-in) |
147
+ | `/god-migrate` | Detect GSD, BMAD, and Superpowers context; import and sync back | god-greenfieldifier when needed |
150
148
  | `/god-preflight` | Read-only intake audit before project-run readiness and pillars | god-auditor |
151
149
  | `/god-audit` | Score artifacts against have-nots | god-auditor |
152
150
  | `/god-debug` | 4-phase systematic debug | god-debugger |
@@ -217,6 +215,19 @@ background agents, API triggers, or CI workflows. Safe starting templates are
217
215
  read-only status, checkpoint, review queue, hygiene, and release readiness
218
216
  reports.
219
217
 
218
+ Godpowers can migrate from adjacent planning systems:
219
+
220
+ ```bash
221
+ /god-migrate
222
+ ```
223
+
224
+ This detects GSD `.planning/` or `.gsd/`, BMAD `_bmad-output/` or `.bmad/`,
225
+ and Superpowers specs or plans. It writes
226
+ `.godpowers/prep/IMPORTED-CONTEXT.md`, optional imported seed artifacts, and
227
+ managed sync-back files such as `.planning/GODPOWERS-SYNC.md`,
228
+ `_bmad-output/GODPOWERS-SYNC.md`, or
229
+ `docs/superpowers/GODPOWERS-SYNC.md`.
230
+
220
231
  For existing codebases and org-constrained new projects, God Mode now runs a
221
232
  greenfield simulation audit and then actions it through a greenfieldification
222
233
  plan. It pauses before risky artifact rewrites because that process can change
@@ -339,7 +350,7 @@ Pi. T3 Code inherits from the underlying agent (Codex / Claude / OpenCode).
339
350
 
340
351
  - [Getting Started](docs/getting-started.md)
341
352
  - [Concepts](docs/concepts.md)
342
- - [Command reference (all 108 skills + 40 agents)](docs/reference.md)
353
+ - [Command reference (all 109 skills + 40 agents)](docs/reference.md)
343
354
  - [Roadmap](docs/ROADMAP.md)
344
355
  - [1.5 Release Notes](RELEASE.md)
345
356
  - [Changelog](CHANGELOG.md)
package/RELEASE.md CHANGED
@@ -1,21 +1,18 @@
1
- # Godpowers 1.6.14 Release
1
+ # Godpowers 1.6.15 Release
2
2
 
3
3
  Date: 2026-05-16
4
4
 
5
- Godpowers 1.6.14 turns automation setup from a plan-only contract into an
6
- approved execution contract for hosts that expose tool calling. The CLI remains
7
- deterministic and read-only, while `/god-automation-setup` can use host-native
8
- tool calling for simple read-only setup or spawn `god-automation-engineer` for
9
- complex setup.
5
+ Godpowers 1.6.15 adds automatic migration from GSD, BMAD, and Superpowers
6
+ projects into Godpowers. The release also adds managed sync-back so a team can
7
+ return to its prior planning system with current Godpowers progress visible.
10
8
 
11
9
  ## What is stable
12
10
 
13
- - 108 slash commands
11
+ - 109 slash commands
14
12
  - 40 specialist agents
15
13
  - 13 executable workflows
16
14
  - 36 intent recipes
17
15
  - 15-runtime installer
18
- - 459 package files in the npm tarball
19
16
  - Codex installs with generated `god-*.toml` agent metadata files
20
17
  - Markdown specialist agent contracts at `<runtime>/agents/god-*.md`
21
18
  - Shared runtime bundle at `<runtime>/godpowers-runtime`
@@ -29,57 +26,68 @@ complex setup.
29
26
 
30
27
  ## What is new
31
28
 
32
- - Added `god-automation-engineer`.
33
- - Added automation execution-plan metadata to `lib/automation-providers.js`.
34
- - Added gated automation state recording helpers.
35
- - `/god-automation-setup` now shows direct host tool calling availability,
36
- complex setup delegation, and the state recording path.
37
- - Tests now cover host tool execution plans, complex setup delegation, and
38
- post-success automation recording.
39
-
40
- ## Platform behavior
41
-
42
- Claude Code, Codex, Cursor, Windsurf, Gemini, OpenCode, Copilot, Augment,
43
- Trae, Cline, Kilo, Antigravity, Qwen, CodeBuddy, and Pi all receive the same
44
- portable Markdown agent contracts. Codex also receives `god-*.toml` files as
45
- its registry adapter.
46
-
47
- The dashboard and automation provider engines ship in the installed runtime
48
- bundle so host tools can use shared implementation code instead of parallel
49
- command-specific Markdown contracts. If a host platform cannot provide a true
50
- fresh-context agent spawn, durable scheduler, or callable automation tool,
51
- Godpowers must say so visibly and report the work as local runtime only,
52
- manual workflow only, or simulated in current context.
53
-
54
- ## Safety policy
55
-
56
- Godpowers may proactively suggest next steps and may run directly evidenced
57
- local helpers. It may spawn bounded agents only when the current workflow owns
58
- that surface.
59
-
60
- Godpowers still must not auto-run these without explicit user intent:
61
-
62
- - deployed staging verification against a guessed URL
63
- - production launch
64
- - provider dashboard, admin console, DNS, credential, or secret checks
65
- - schedule, routine, background agent, API trigger, or CI workflow creation
66
- - broad dependency upgrades
67
- - destructive repair, rollback, reset, delete, or cleanup
68
- - clearing `.godpowers/REVIEW-REQUIRED.md`
69
- - accepting Critical security findings
70
- - git stage, commit, push, package, release, or publish
71
- - `.godpowers/automations.json` writes before host setup success
29
+ - Added `lib/planning-systems.js` for GSD, BMAD, and Superpowers detection.
30
+ - Added `lib/source-sync.js` for managed sync-back companion files.
31
+ - Added `/god-migrate` as the explicit migration command.
32
+ - `/god-init` now auto-invokes planning-system import when source systems are
33
+ detected.
34
+ - `/god-sync` now auto-invokes source-system sync-back when enabled source
35
+ systems are recorded in `state.json`.
36
+ - `reverse-sync` now returns source-system sync-back results.
37
+ - `state.v1.json` now records source-system import and sync-back state.
38
+ - Added `docs/planning-system-migration.md`.
39
+
40
+ ## Migration behavior
41
+
42
+ Godpowers detects:
43
+
44
+ - GSD: `.planning/`, `.gsd/`, `GSD.md`, and `gsd*.md`
45
+ - BMAD: `_bmad/`, `_bmad-output/`, `.bmad-core/`, `.bmad/`, and `BMAD.md`
46
+ - Superpowers: `docs/superpowers/`, `.superpowers/`, `SUPERPOWERS.md`, and
47
+ project-local skills
48
+
49
+ Imported context is written to `.godpowers/prep/IMPORTED-CONTEXT.md`.
50
+ Missing Godpowers seed artifacts are created only when source evidence exists.
51
+ Existing Godpowers artifacts are preserved unless the user explicitly forces an
52
+ overwrite.
53
+
54
+ ## Sync-back behavior
55
+
56
+ Godpowers writes managed companion files:
57
+
58
+ - GSD: `.planning/GODPOWERS-SYNC.md` or `.gsd/GODPOWERS-SYNC.md`
59
+ - BMAD: `_bmad-output/GODPOWERS-SYNC.md` or `.bmad/GODPOWERS-SYNC.md`
60
+ - Superpowers: `docs/superpowers/GODPOWERS-SYNC.md` or
61
+ `.superpowers/GODPOWERS-SYNC.md`
62
+
63
+ Pointer fences are written only when a safe native state file already exists.
64
+ Godpowers never rewrites source-system prose outside managed fences.
65
+
66
+ ## Auto-invoke and auto-spawn policy
67
+
68
+ The import path is local runtime work and must be reported as:
69
+
70
+ ```
71
+ Agent: none, local runtime only
72
+ ```
73
+
74
+ The sync-back path is also local runtime work and must be reported the same
75
+ way.
76
+
77
+ Godpowers spawns `god-greenfieldifier` only when import confidence is low,
78
+ multiple source systems conflict, or canonical seed artifacts cannot be safely
79
+ created from available evidence.
72
80
 
73
81
  ## Validation
74
82
 
75
83
  Release validation includes:
76
84
 
77
- - `node scripts/test-dashboard.js`
78
- - `node scripts/test-automation-providers.js`
85
+ - `node scripts/test-planning-systems.js`
86
+ - `node scripts/test-reverse-sync.js`
79
87
  - `npm test`
80
88
  - `npm run test:audit`
81
89
  - `node scripts/check-package-contents.js`
82
90
  - `git diff --check`
83
91
 
84
- The `v1.6.14` git tag points to the release commit that matches the npm
85
- `godpowers@1.6.14` package.
92
+ The `v1.6.15` git tag points to the release commit that matches the npm
93
+ `godpowers@1.6.15` package.
package/SKILL.md CHANGED
@@ -214,7 +214,7 @@ Auto-invoked:
214
214
  Trigger: <what caused this automatic step>
215
215
  Agent: <god-updater | god-context-writer | none, local runtime only>
216
216
  Local syncs:
217
- + <reverse-sync | pillars-sync | checkpoint-sync | context-refresh>: <result or skipped reason>
217
+ + <planning-system-import | reverse-sync | source-sync | pillars-sync | checkpoint-sync | context-refresh>: <result or skipped reason>
218
218
  Artifacts: <changed files, no-op, or deferred>
219
219
  Log: <SYNC-LOG.md, CHECKPOINT.md, REVIEW-REQUIRED.md, or none>
220
220
  ```
@@ -238,6 +238,8 @@ Automatic steps that especially need visible reporting:
238
238
  - checkpoint refresh after state mutations
239
239
  - automation provider detection in `/god-status`, `/god-next`,
240
240
  `/god-automation-status`, and `/god-automation-setup`
241
+ - planning-system import during `/god-init` or `/god-migrate`
242
+ - source-system sync-back during `/god-sync`, `/god-scan`, or `/god-migrate`
241
243
 
242
244
  ### 13. Proactive Auto-Invoke Policy
243
245
  Godpowers should be proactive from disk evidence, not from guesswork. Before
@@ -265,6 +267,11 @@ Run these local runtime helpers automatically when their trigger is present:
265
267
  `PROGRESS.md` mutation.
266
268
  - Lightweight reverse-sync or linkage scan after code or artifact edits.
267
269
  - Pillars sync planning after durable artifact truth changes.
270
+ - `lib/planning-systems.importPlanningContext` when GSD, BMAD, or
271
+ Superpowers planning context is detected during `/god-init` or
272
+ `/god-migrate`.
273
+ - `lib/source-sync.run` when `state.json` records enabled `source-systems`
274
+ entries and `/god-sync`, `/god-scan`, or `/god-migrate` closes a workflow.
268
275
  - Context refresh dry-run after `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`,
269
276
  `.cursor/rules/`, `.windsurfrules`, `.github/copilot-instructions.md`,
270
277
  `.clinerules`, `.roo/`, or `.continue/` changes.
@@ -289,6 +296,9 @@ Spawn these agents only when the trigger is direct and scope is bounded:
289
296
  - `god-automation-engineer` after the user approves provider, template,
290
297
  cadence, and scope for multi-template, write-capable, background-agent,
291
298
  scriptable-scheduler, or provider-uncertain automation setup.
299
+ - `god-greenfieldifier` when imported GSD, BMAD, or Superpowers context has
300
+ low confidence, conflicting systems, or missing canonical Godpowers seed
301
+ artifacts after local import.
292
302
 
293
303
  #### Level 4: Explicit approval required
294
304
  Never auto-run these from inference alone: