godpowers 1.6.13 → 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,69 @@ 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
+
45
+ ## [1.6.14] - 2026-05-16
46
+
47
+ Approved automation setup execution.
48
+
49
+ ### Added
50
+ - Added `god-automation-engineer`, a specialist agent for approved host-native
51
+ automation setup.
52
+ - Added automation execution-plan metadata to `lib/automation-providers.js`.
53
+ - Added gated automation state recording helpers:
54
+ `buildAutomationRecord(...)` and `recordAutomation(...)`.
55
+ - Added tests for host tool execution plans, complex setup delegation, and
56
+ post-success automation recording.
57
+
58
+ ### Changed
59
+ - `/god-automation-setup` now distinguishes simple direct host tool calling
60
+ from complex setup that should spawn `god-automation-engineer`.
61
+ - Setup plans now show method, action, host tool availability, specialist
62
+ agent routing, and the state file written after success.
63
+ - Automation docs now explain that CLI commands are deterministic and
64
+ read-only, while slash-command hosts can use LLM tool calling after approval.
65
+
66
+ ### Guardrails
67
+ - `.godpowers/automations.json` is written only after host setup succeeds.
68
+ - Complex, write-capable, background-agent, scriptable-scheduler, or uncertain
69
+ setup routes through `god-automation-engineer`.
70
+
8
71
  ## [1.6.13] - 2026-05-16
9
72
 
10
73
  Host automation provider discovery and opt-in setup planning.
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.13-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,14 +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.13 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.
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.
23
22
 
24
23
  It fuses four disciplines into one unified workflow:
25
24
 
@@ -145,6 +144,7 @@ npx godpowers status --project=. --json
145
144
  | `/god-status` | Re-derive state from disk | (built-in) |
146
145
  | `/god-automation-status` | Show host automation provider support | (built-in) |
147
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 |
148
148
  | `/god-preflight` | Read-only intake audit before project-run readiness and pillars | god-auditor |
149
149
  | `/god-audit` | Score artifacts against have-nots | god-auditor |
150
150
  | `/god-debug` | 4-phase systematic debug | god-debugger |
@@ -215,6 +215,19 @@ background agents, API triggers, or CI workflows. Safe starting templates are
215
215
  read-only status, checkpoint, review queue, hygiene, and release readiness
216
216
  reports.
217
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
+
218
231
  For existing codebases and org-constrained new projects, God Mode now runs a
219
232
  greenfield simulation audit and then actions it through a greenfieldification
220
233
  plan. It pauses before risky artifact rewrites because that process can change
@@ -337,7 +350,7 @@ Pi. T3 Code inherits from the underlying agent (Codex / Claude / OpenCode).
337
350
 
338
351
  - [Getting Started](docs/getting-started.md)
339
352
  - [Concepts](docs/concepts.md)
340
- - [Command reference (all 108 skills + 39 agents)](docs/reference.md)
353
+ - [Command reference (all 109 skills + 40 agents)](docs/reference.md)
341
354
  - [Roadmap](docs/ROADMAP.md)
342
355
  - [1.5 Release Notes](RELEASE.md)
343
356
  - [Changelog](CHANGELOG.md)
package/RELEASE.md CHANGED
@@ -1,21 +1,18 @@
1
- # Godpowers 1.6.13 Release
1
+ # Godpowers 1.6.15 Release
2
2
 
3
3
  Date: 2026-05-16
4
4
 
5
- Godpowers 1.6.13 adds host automation provider discovery and opt-in setup
6
- planning. The same local runtime surface can now report Codex App automations,
7
- Claude Routines, Cline schedules, Qwen loops, Cursor Background Agents,
8
- Copilot cloud agent support, and scriptable CLI options without silently
9
- creating background work.
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
14
- - 39 specialist agents
11
+ - 109 slash commands
12
+ - 40 specialist agents
15
13
  - 13 executable workflows
16
14
  - 36 intent recipes
17
15
  - 15-runtime installer
18
- - 458 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,58 +26,68 @@ creating background work.
29
26
 
30
27
  ## What is new
31
28
 
32
- - Added `lib/automation-providers.js`, a shared automation provider detector.
33
- - Added `godpowers automation-status --project .`.
34
- - Added `godpowers automation-setup --project .`.
35
- - Added `/god-automation-status` and `/god-automation-setup`.
36
- - Added `docs/automation-providers.md`.
37
- - Dashboard output now reports automation support when a host-native provider
38
- is available.
39
- - Tests now cover provider classification, active automation config,
40
- setup-plan rendering, and CLI JSON output.
41
-
42
- ## Platform behavior
43
-
44
- Claude Code, Codex, Cursor, Windsurf, Gemini, OpenCode, Copilot, Augment,
45
- Trae, Cline, Kilo, Antigravity, Qwen, CodeBuddy, and Pi all receive the same
46
- portable Markdown agent contracts. Codex also receives `god-*.toml` files as
47
- its registry adapter.
48
-
49
- The dashboard and automation provider engines ship in the installed runtime
50
- bundle so host tools can use shared implementation code instead of parallel
51
- command-specific Markdown contracts. If a host platform cannot provide a true
52
- fresh-context agent spawn or durable scheduler, Godpowers must say so visibly
53
- and report the work as local runtime only, manual workflow only, or simulated
54
- in current context.
55
-
56
- ## Safety policy
57
-
58
- Godpowers may proactively suggest next steps and may run directly evidenced
59
- local helpers. It may spawn bounded agents only when the current workflow owns
60
- that surface.
61
-
62
- Godpowers still must not auto-run these without explicit user intent:
63
-
64
- - deployed staging verification against a guessed URL
65
- - production launch
66
- - provider dashboard, admin console, DNS, credential, or secret checks
67
- - schedule, routine, background agent, API trigger, or CI workflow creation
68
- - broad dependency upgrades
69
- - destructive repair, rollback, reset, delete, or cleanup
70
- - clearing `.godpowers/REVIEW-REQUIRED.md`
71
- - accepting Critical security findings
72
- - git stage, commit, push, package, release, or publish
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.
73
80
 
74
81
  ## Validation
75
82
 
76
83
  Release validation includes:
77
84
 
78
- - `node scripts/test-dashboard.js`
79
- - `node scripts/test-automation-providers.js`
85
+ - `node scripts/test-planning-systems.js`
86
+ - `node scripts/test-reverse-sync.js`
80
87
  - `npm test`
81
88
  - `npm run test:audit`
82
89
  - `node scripts/check-package-contents.js`
83
90
  - `git diff --check`
84
91
 
85
- The `v1.6.13` git tag points to the release commit that matches the npm
86
- `godpowers@1.6.13` 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.
@@ -286,6 +293,12 @@ Spawn these agents only when the trigger is direct and scope is bounded:
286
293
  - `god-deps-auditor` suggestion after dependency files changed; auto-spawn only
287
294
  inside `/god-update-deps`, `/god-hygiene`, or an explicitly approved project
288
295
  workflow.
296
+ - `god-automation-engineer` after the user approves provider, template,
297
+ cadence, and scope for multi-template, write-capable, background-agent,
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.
289
302
 
290
303
  #### Level 4: Explicit approval required
291
304
  Never auto-run these from inference alone:
@@ -299,6 +312,8 @@ Never auto-run these from inference alone:
299
312
  - git stage, commit, push, package, release, or publish
300
313
  - schedule, routine, background agent, API trigger, or CI workflow creation
301
314
  without explicit user approval
315
+ - `.godpowers/automations.json` writes before the host automation setup
316
+ reports success
302
317
 
303
318
  Every auto-invoke decision must be explainable from one of these inputs:
304
319
  changed files, Godpowers artifacts, `state.json`, `PROGRESS.md`,
@@ -0,0 +1,103 @@
1
+ ---
2
+ name: god-automation-engineer
3
+ description: |
4
+ Configures approved host-native Godpowers automation after the user chooses
5
+ provider, template, cadence, and scope. Verifies the host setup and records
6
+ only successful automations in .godpowers/automations.json.
7
+
8
+ Spawned by: /god-automation-setup
9
+ tools: Read, Write, Edit, Bash, Glob
10
+ ---
11
+
12
+ # God Automation Engineer
13
+
14
+ Configure approved host-native automation without pretending a background
15
+ surface exists when it does not.
16
+
17
+ ## Gate Check
18
+
19
+ The user explicitly approved:
20
+
21
+ - provider id
22
+ - template ids
23
+ - cadence
24
+ - project or repository scope
25
+ - whether the automation is read-only or write-capable
26
+
27
+ If any approval field is missing, stop and return the missing field list.
28
+
29
+ ## Process
30
+
31
+ 1. Read `.godpowers/automations.json` if it exists.
32
+ 2. Load `lib/automation-providers.js` from the installed runtime bundle or
33
+ repository.
34
+ 3. Call `automation.setupPlan(projectRoot, { templates })`.
35
+ 4. Confirm the chosen provider is installed and matches the approved provider.
36
+ 5. Execute only through a confirmed host surface:
37
+ - Codex App: call the host automation tool when available.
38
+ - Claude Code: use the host schedule or routine surface.
39
+ - Cline: use `cline schedule` only when that CLI is available.
40
+ - Qwen: use `/loop` only for session-scoped recurring prompts.
41
+ - Cursor or Copilot: use branch or PR scoped background agent setup.
42
+ - Scriptable CLIs: use an approved scheduler. Do not invent OS scheduling.
43
+ 6. After host setup succeeds, call `automation.buildAutomationRecord(...)`.
44
+ 7. Call `automation.recordAutomation(projectRoot, record, {
45
+ confirmedHostSuccess: true
46
+ })`.
47
+ 8. Run `/god-automation-status` or the equivalent local helper and report the
48
+ active state.
49
+
50
+ ## Tool Calling Policy
51
+
52
+ Use direct host tool calling only when all of these are true:
53
+
54
+ - one approved read-only template
55
+ - one detected provider
56
+ - no provider dashboard, credential, billing, DNS, production, or repository
57
+ write scope is required
58
+ - the host exposes a native scheduling or automation tool in the current
59
+ session
60
+
61
+ If the host lacks a callable tool, return exact manual setup steps. Do not
62
+ claim setup succeeded.
63
+
64
+ ## Hard Stops
65
+
66
+ Never create or approve automation that can do these unless the user explicitly
67
+ approved that exact write-capable action:
68
+
69
+ - stage, commit, push, merge, package, publish, or release
70
+ - deploy to staging or production
71
+ - access provider dashboards, DNS, credentials, secrets, or billing
72
+ - clear `.godpowers/REVIEW-REQUIRED.md`
73
+ - accept Critical security findings
74
+ - run broad dependency upgrades
75
+ - delete files, reset branches, or clean worktrees
76
+
77
+ Never write `.godpowers/automations.json` before the host setup succeeds.
78
+
79
+ ## Output
80
+
81
+ Return:
82
+
83
+ ```text
84
+ Automation setup result:
85
+ Provider: <provider id>
86
+ Templates: <template ids>
87
+ Host surface: <tool, command, routine, or manual>
88
+ Status: <created | manual steps required | blocked>
89
+ Recorded: <yes | no>
90
+ Config: .godpowers/automations.json
91
+ Next: /god-automation-status
92
+ ```
93
+
94
+ ## Have-Nots
95
+
96
+ - Records automation before host setup succeeds
97
+ - Creates background work during install
98
+ - Treats a manual workflow as durable scheduling
99
+ - Uses OS or CI scheduling without explicit approval
100
+ - Grants write scope for a read-only template
101
+ - Uses provider dashboards or credentials without explicit approval
102
+ - Claims an automation is active without re-checking status
103
+ - Hides provider limitations from the user
@@ -311,6 +311,7 @@ Use this trigger map:
311
311
  | security-sensitive files changed | auto-spawn only inside harden, hotfix, launch, or project run; otherwise suggest `/god-harden` | proposition |
312
312
  | dependency files changed | auto-spawn only inside update-deps, hygiene, or approved project run; otherwise suggest `/god-update-deps` | proposition |
313
313
  | host automation support detected and no active templates are recorded | suggest `/god-automation-status` or `/god-automation-setup` | proposition |
314
+ | user approves complex automation setup | spawn `god-automation-engineer` | approval card plus setup result |
314
315
  | full project run complete or hygiene stale | suggest `/god-hygiene` | proposition |
315
316
 
316
317
  Never use this matrix to auto-run Level 4 actions: deployed staging against a
@@ -318,7 +319,7 @@ guessed URL, production launch, provider dashboard access, broad dependency
318
319
  upgrades, destructive repair, review clearing, Critical security acceptance, or
319
320
  git stage, commit, push, package, release, publish, schedule creation, routine
320
321
  creation, background agent creation, API trigger creation, or CI workflow
321
- creation.
322
+ creation without explicit user approval.
322
323
 
323
324
  Every auto action must emit either `Auto-invoked:`, `Sync status:`, or a
324
325
  proposition explaining why it did not run.