godpowers 1.6.12 → 1.6.14

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,62 @@ 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.14] - 2026-05-16
9
+
10
+ Approved automation setup execution.
11
+
12
+ ### Added
13
+ - Added `god-automation-engineer`, a specialist agent for approved host-native
14
+ automation setup.
15
+ - Added automation execution-plan metadata to `lib/automation-providers.js`.
16
+ - Added gated automation state recording helpers:
17
+ `buildAutomationRecord(...)` and `recordAutomation(...)`.
18
+ - Added tests for host tool execution plans, complex setup delegation, and
19
+ post-success automation recording.
20
+
21
+ ### Changed
22
+ - `/god-automation-setup` now distinguishes simple direct host tool calling
23
+ from complex setup that should spawn `god-automation-engineer`.
24
+ - Setup plans now show method, action, host tool availability, specialist
25
+ agent routing, and the state file written after success.
26
+ - Automation docs now explain that CLI commands are deterministic and
27
+ read-only, while slash-command hosts can use LLM tool calling after approval.
28
+
29
+ ### Guardrails
30
+ - `.godpowers/automations.json` is written only after host setup succeeds.
31
+ - Complex, write-capable, background-agent, scriptable-scheduler, or uncertain
32
+ setup routes through `god-automation-engineer`.
33
+
34
+ ## [1.6.13] - 2026-05-16
35
+
36
+ Host automation provider discovery and opt-in setup planning.
37
+
38
+ ### Added
39
+ - Added `lib/automation-providers.js`, a shared provider detector for
40
+ host-native automation support.
41
+ - Added `godpowers automation-status --project .` and
42
+ `godpowers automation-setup --project .` for opt-in automation support.
43
+ - Added `/god-automation-status` and `/god-automation-setup` slash commands.
44
+ - Added `docs/automation-providers.md` with provider classes, safe templates,
45
+ and approval rules.
46
+ - Added automation provider tests covering provider classification, active
47
+ automation config, setup-plan rendering, and CLI JSON output.
48
+
49
+ ### Changed
50
+ - The dashboard engine now reports automation support when host-native
51
+ automation providers are available.
52
+ - The installer help now documents automation-status and automation-setup as
53
+ first-class read-only helper commands.
54
+ - Godpowers command guidance now recommends automation setup when provider
55
+ support exists and no approved automation template is active.
56
+
57
+ ### Guardrails
58
+ - Automation setup is opt-in only. Godpowers must not create schedules,
59
+ routines, background agents, API triggers, or CI workflows during install.
60
+ - Default automation templates are read-only and must not commit, push,
61
+ publish, deploy, clear reviews, accept Critical security findings, or access
62
+ provider dashboards without explicit user approval.
63
+
8
64
  ## [1.6.12] - 2026-05-16
9
65
 
10
66
  Executable dashboard CLI and shared runtime status engine.
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.12-blue)](CHANGELOG.md)
5
+ [![Version](https://img.shields.io/badge/version-1.6.14-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,10 +12,16 @@ 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.12 adds an executable dashboard engine and CLI status surface:
15
+ Version 1.6.14 builds on the executable dashboard engine and CLI status surface:
16
16
  `godpowers status --project .` and `godpowers next --project .` now compute the
17
17
  same disk-derived progress, planning visibility, proactive checks, and next
18
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.
19
25
 
20
26
  It fuses four disciplines into one unified workflow:
21
27
 
@@ -139,6 +145,8 @@ npx godpowers status --project=. --json
139
145
  | `/god-launch` | Launch (gated on harden) | god-launch-strategist |
140
146
  | `/god-harden` | Adversarial security review | god-harden-auditor |
141
147
  | `/god-status` | Re-derive state from disk | (built-in) |
148
+ | `/god-automation-status` | Show host automation provider support | (built-in) |
149
+ | `/god-automation-setup` | Prepare opt-in automation setup | (built-in) |
142
150
  | `/god-preflight` | Read-only intake audit before project-run readiness and pillars | god-auditor |
143
151
  | `/god-audit` | Score artifacts against have-nots | god-auditor |
144
152
  | `/god-debug` | 4-phase systematic debug | god-debugger |
@@ -197,6 +205,18 @@ ends in a vague "done" state. The dashboard is backed by
197
205
  `lib/dashboard.js`, so status and next-step commands share one executable
198
206
  source of disk truth instead of parallel Markdown-only contracts.
199
207
 
208
+ Godpowers can also inspect automation support:
209
+
210
+ ```bash
211
+ npx godpowers automation-status --project=.
212
+ npx godpowers automation-setup --project=.
213
+ ```
214
+
215
+ Automation setup is opt-in. The installer does not create schedules, routines,
216
+ background agents, API triggers, or CI workflows. Safe starting templates are
217
+ read-only status, checkpoint, review queue, hygiene, and release readiness
218
+ reports.
219
+
200
220
  For existing codebases and org-constrained new projects, God Mode now runs a
201
221
  greenfield simulation audit and then actions it through a greenfieldification
202
222
  plan. It pauses before risky artifact rewrites because that process can change
@@ -319,7 +339,7 @@ Pi. T3 Code inherits from the underlying agent (Codex / Claude / OpenCode).
319
339
 
320
340
  - [Getting Started](docs/getting-started.md)
321
341
  - [Concepts](docs/concepts.md)
322
- - [Command reference (all 106 skills + 39 agents)](docs/reference.md)
342
+ - [Command reference (all 108 skills + 40 agents)](docs/reference.md)
323
343
  - [Roadmap](docs/ROADMAP.md)
324
344
  - [1.5 Release Notes](RELEASE.md)
325
345
  - [Changelog](CHANGELOG.md)
package/RELEASE.md CHANGED
@@ -1,19 +1,21 @@
1
- # Godpowers 1.6.12 Release
1
+ # Godpowers 1.6.14 Release
2
2
 
3
3
  Date: 2026-05-16
4
4
 
5
- Godpowers 1.6.12 turns progress visibility into executable product behavior.
6
- The same dashboard logic now powers slash command closeouts, direct CLI status
7
- checks, JSON status output, and next-action recommendations from disk state.
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.
8
10
 
9
11
  ## What is stable
10
12
 
11
- - 106 slash commands
12
- - 39 specialist agents
13
+ - 108 slash commands
14
+ - 40 specialist agents
13
15
  - 13 executable workflows
14
16
  - 36 intent recipes
15
17
  - 15-runtime installer
16
- - 453 package files in the npm tarball
18
+ - 459 package files in the npm tarball
17
19
  - Codex installs with generated `god-*.toml` agent metadata files
18
20
  - Markdown specialist agent contracts at `<runtime>/agents/god-*.md`
19
21
  - Shared runtime bundle at `<runtime>/godpowers-runtime`
@@ -27,16 +29,13 @@ checks, JSON status output, and next-action recommendations from disk state.
27
29
 
28
30
  ## What is new
29
31
 
30
- - Added `lib/dashboard.js`, a shared executable status engine.
31
- - Added `godpowers status --project .`.
32
- - Added `godpowers next --project .`.
33
- - Added `--json` output for machine-readable status and next-step routing.
34
- - Dashboard output now reports current phase, tier position, percentage,
35
- planning visibility, proactive checks, open items, and recommended action.
36
- - `/god-status`, `/god-next`, `/god-mode`, and `god-orchestrator` now reference
37
- the same dashboard engine when local runtime execution is available.
38
- - Tests now cover dashboard computation, rendering, CLI output, review queue
39
- detection, and git porcelain parsing.
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.
40
39
 
41
40
  ## Platform behavior
42
41
 
@@ -45,11 +44,12 @@ Trae, Cline, Kilo, Antigravity, Qwen, CodeBuddy, and Pi all receive the same
45
44
  portable Markdown agent contracts. Codex also receives `god-*.toml` files as
46
45
  its registry adapter.
47
46
 
48
- The dashboard engine ships in the installed runtime bundle so host tools can
49
- use one shared implementation instead of parallel command-specific Markdown
50
- contracts. If a host platform cannot provide a true fresh-context agent spawn,
51
- Godpowers must say so visibly and report the work as local runtime only or
52
- simulated in current context.
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
53
 
54
54
  ## Safety policy
55
55
 
@@ -62,21 +62,24 @@ Godpowers still must not auto-run these without explicit user intent:
62
62
  - deployed staging verification against a guessed URL
63
63
  - production launch
64
64
  - provider dashboard, admin console, DNS, credential, or secret checks
65
+ - schedule, routine, background agent, API trigger, or CI workflow creation
65
66
  - broad dependency upgrades
66
67
  - destructive repair, rollback, reset, delete, or cleanup
67
68
  - clearing `.godpowers/REVIEW-REQUIRED.md`
68
69
  - accepting Critical security findings
69
70
  - git stage, commit, push, package, release, or publish
71
+ - `.godpowers/automations.json` writes before host setup success
70
72
 
71
73
  ## Validation
72
74
 
73
75
  Release validation includes:
74
76
 
75
77
  - `node scripts/test-dashboard.js`
78
+ - `node scripts/test-automation-providers.js`
76
79
  - `npm test`
77
80
  - `npm run test:audit`
78
81
  - `node scripts/check-package-contents.js`
79
82
  - `git diff --check`
80
83
 
81
- The `v1.6.12` git tag points to the release commit that matches the npm
82
- `godpowers@1.6.12` package.
84
+ The `v1.6.14` git tag points to the release commit that matches the npm
85
+ `godpowers@1.6.14` package.
package/SKILL.md CHANGED
@@ -156,6 +156,7 @@ Proactive checks:
156
156
  Sync: <fresh | missing | stale | local helper ran | suggest /god-sync>
157
157
  Docs: <fresh | possible drift, suggest /god-docs>
158
158
  Runtime: <not-applicable | known URL, suggest /god-test-runtime | no known URL, defer deployed verification>
159
+ Automation: <not configured | N active | available via provider, suggest /god-automation-setup>
159
160
  Security: <clear | sensitive files changed, suggest /god-harden>
160
161
  Dependencies: <clear | dependency files changed, suggest /god-update-deps>
161
162
  Hygiene: <fresh | stale, suggest /god-hygiene>
@@ -235,6 +236,8 @@ Automatic steps that especially need visible reporting:
235
236
  - DESIGN/PRODUCT change detection that spawns `god-design-reviewer`
236
237
  - `/god-scan` when it runs reverse-sync directly without an agent
237
238
  - checkpoint refresh after state mutations
239
+ - automation provider detection in `/god-status`, `/god-next`,
240
+ `/god-automation-status`, and `/god-automation-setup`
238
241
 
239
242
  ### 13. Proactive Auto-Invoke Policy
240
243
  Godpowers should be proactive from disk evidence, not from guesswork. Before
@@ -252,6 +255,9 @@ Run or apply these by default in every relevant closeout:
252
255
  status shows stale docs, deps, or review queues.
253
256
  - Suggest `/god-locate` when `.godpowers/CHECKPOINT.md` is missing, stale, or
254
257
  conflicts with `state.json`.
258
+ - Suggest `/god-automation-status` or `/god-automation-setup` when host-native
259
+ automation support is available and `.godpowers/automations.json` has no
260
+ active read-only templates.
255
261
 
256
262
  #### Level 2: Auto-run local helpers, visible and logged
257
263
  Run these local runtime helpers automatically when their trigger is present:
@@ -280,6 +286,9 @@ Spawn these agents only when the trigger is direct and scope is bounded:
280
286
  - `god-deps-auditor` suggestion after dependency files changed; auto-spawn only
281
287
  inside `/god-update-deps`, `/god-hygiene`, or an explicitly approved project
282
288
  workflow.
289
+ - `god-automation-engineer` after the user approves provider, template,
290
+ cadence, and scope for multi-template, write-capable, background-agent,
291
+ scriptable-scheduler, or provider-uncertain automation setup.
283
292
 
284
293
  #### Level 4: Explicit approval required
285
294
  Never auto-run these from inference alone:
@@ -291,6 +300,10 @@ Never auto-run these from inference alone:
291
300
  - clearing `.godpowers/REVIEW-REQUIRED.md`
292
301
  - accepting Critical security findings
293
302
  - git stage, commit, push, package, release, or publish
303
+ - schedule, routine, background agent, API trigger, or CI workflow creation
304
+ without explicit user approval
305
+ - `.godpowers/automations.json` writes before the host automation setup
306
+ reports success
294
307
 
295
308
  Every auto-invoke decision must be explainable from one of these inputs:
296
309
  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
@@ -310,12 +310,16 @@ Use this trigger map:
310
310
  | frontend-visible files changed and no known URL exists | suggest `/god-test-runtime` with local URL setup, defer deployed URL | proposition |
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
+ | 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 |
313
315
  | full project run complete or hygiene stale | suggest `/god-hygiene` | proposition |
314
316
 
315
317
  Never use this matrix to auto-run Level 4 actions: deployed staging against a
316
318
  guessed URL, production launch, provider dashboard access, broad dependency
317
319
  upgrades, destructive repair, review clearing, Critical security acceptance, or
318
- git stage, commit, push, package, release, or publish.
320
+ git stage, commit, push, package, release, publish, schedule creation, routine
321
+ creation, background agent creation, API trigger creation, or CI workflow
322
+ creation without explicit user approval.
319
323
 
320
324
  Every auto action must emit either `Auto-invoked:`, `Sync status:`, or a
321
325
  proposition explaining why it did not run.
package/bin/install.js CHANGED
@@ -316,6 +316,8 @@ function parseArgs(argv) {
316
316
  switch (arg) {
317
317
  case 'status':
318
318
  case 'next':
319
+ case 'automation-status':
320
+ case 'automation-setup':
319
321
  opts.command = arg;
320
322
  break;
321
323
  case '--json':
@@ -571,10 +573,12 @@ function showHelp() {
571
573
  log('Commands:');
572
574
  log(' status Show the Godpowers Dashboard for a project');
573
575
  log(' next Show the dashboard and recommended next command');
576
+ log(' automation-status Show host automation provider support');
577
+ log(' automation-setup Show an opt-in automation setup plan');
574
578
  log('');
575
579
  log('Options:');
576
- log(' --project=<path> Project root for status or next (default: cwd)');
577
- log(' --json Emit JSON for status or next');
580
+ log(' --project=<path> Project root for status, next, or automation commands');
581
+ log(' --json Emit JSON for status, next, or automation commands');
578
582
  log(' -g, --global Install globally (to config directory)');
579
583
  log(' -l, --local Install locally (to current directory)');
580
584
  log(' --claude Install for Claude Code');
@@ -599,11 +603,27 @@ function showHelp() {
599
603
  log('Examples:');
600
604
  log(' npx godpowers status --project=.');
601
605
  log(' npx godpowers next --project=.');
606
+ log(' npx godpowers automation-status --project=.');
607
+ log(' npx godpowers automation-setup --project=.');
602
608
  log(' npx godpowers --claude --global');
603
609
  log(' npx godpowers --all');
604
610
  log(' npx godpowers --codex --cursor');
605
611
  }
606
612
 
613
+ function runAutomationCommand(opts) {
614
+ const automation = require('../lib/automation-providers');
615
+ const result = opts.command === 'automation-setup'
616
+ ? automation.setupPlan(opts.project)
617
+ : automation.detect(opts.project);
618
+ if (opts.json) {
619
+ console.log(JSON.stringify(result, null, 2));
620
+ } else if (opts.command === 'automation-setup') {
621
+ console.log(automation.renderSetupPlan(result));
622
+ } else {
623
+ console.log(automation.render(result));
624
+ }
625
+ }
626
+
607
627
  function runDashboardCommand(opts) {
608
628
  const dashboard = require('../lib/dashboard');
609
629
  const result = dashboard.compute(opts.project);
@@ -636,6 +656,11 @@ function main() {
636
656
  return;
637
657
  }
638
658
 
659
+ if (opts.command === 'automation-status' || opts.command === 'automation-setup') {
660
+ runAutomationCommand(opts);
661
+ return;
662
+ }
663
+
639
664
  console.log(BANNER);
640
665
 
641
666
  const srcDir = path.resolve(__dirname, '..');