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.
@@ -0,0 +1,24 @@
1
+ apiVersion: godpowers/v1
2
+ kind: CommandRouting
3
+ metadata:
4
+ command: /god-automation-status
5
+ description: Show host automation provider support
6
+ tier: 0
7
+
8
+ prerequisites:
9
+ required: []
10
+
11
+ execution:
12
+ spawns: [built-in]
13
+ context: fresh
14
+ writes: []
15
+
16
+ success-path:
17
+ next-recommended: /god-automation-setup
18
+
19
+ failure-path:
20
+ on-error: /god-doctor
21
+
22
+ endoff:
23
+ state-update: tier-0 updated for /god-automation-status
24
+ events: [agent.start, agent.end]
@@ -0,0 +1,138 @@
1
+ ---
2
+ name: god-automation-setup
3
+ description: |
4
+ Prepare an explicit opt-in setup plan for host-native Godpowers automation.
5
+ Never creates schedules, routines, background agents, API triggers, or CI
6
+ workflows without user approval.
7
+
8
+ Triggers on: "god automation setup", "set up background automation", "make godpowers proactive"
9
+ ---
10
+
11
+ # /god-automation-setup
12
+
13
+ Prepare and, after approval, execute safe host-native automation setup.
14
+
15
+ ## Process
16
+
17
+ 1. Resolve the runtime root and load `<runtimeRoot>/lib/automation-providers.js`.
18
+ 2. Call `automation.setupPlan(projectRoot)`.
19
+ 3. Print `automation.renderSetupPlan(plan)`.
20
+ 4. Ask the user to choose:
21
+ - provider
22
+ - templates
23
+ - cadence
24
+ - connector or repository scope
25
+ - whether write actions are allowed
26
+ 5. If the plan reports `execution.directHostToolCalling: true`, and the user
27
+ approved the exact provider, template, cadence, and scope, use the host
28
+ automation tool or native command from `execution`.
29
+ 6. If setup is complex, write-capable, multi-template, background-agent based,
30
+ scriptable-scheduler based, or provider-uncertain, spawn
31
+ `god-automation-engineer` with the approved provider, templates, cadence,
32
+ scope, and plan output.
33
+ 7. If no host tool is callable, return exact manual setup steps and do not
34
+ record an active automation.
35
+ 8. After host setup succeeds, write or update `.godpowers/automations.json`
36
+ through `automation.buildAutomationRecord(...)` and
37
+ `automation.recordAutomation(..., { confirmedHostSuccess: true })` with:
38
+ - automation id
39
+ - provider id
40
+ - status
41
+ - cadence
42
+ - prompt summary
43
+ - created timestamp
44
+ - host surface used
45
+ 9. Run `/god-automation-status` after setup and show the result.
46
+
47
+ ## Tool Calling And Agent Use
48
+
49
+ Use host tool calling when available for simple, approved, read-only setup:
50
+
51
+ - Codex App: call the Codex automation tool.
52
+ - Claude Code: use the schedule or routine surface.
53
+ - Cline: use `cline schedule`.
54
+ - Qwen Code: use `/loop` and report that it is session-scoped.
55
+
56
+ Spawn `god-automation-engineer` when any of these are true:
57
+
58
+ - more than one template is requested
59
+ - any write-capable automation is requested
60
+ - provider setup needs background agents, API triggers, CI, OS scheduling, or
61
+ repository scope
62
+ - the host tool exists but the setup requires multiple steps
63
+ - provider capability is uncertain
64
+
65
+ ## Hard Stops
66
+
67
+ Do not create automations during install.
68
+
69
+ Do not create any automation that can do these unless the user explicitly asks
70
+ for that exact write-capable automation:
71
+
72
+ - stage, commit, push, merge, package, publish, or release
73
+ - deploy to staging or production
74
+ - access provider dashboards, DNS, credentials, secrets, or billing
75
+ - clear `.godpowers/REVIEW-REQUIRED.md`
76
+ - accept Critical security findings
77
+ - run broad dependency upgrades
78
+ - delete files, reset branches, or clean worktrees
79
+
80
+ ## Safe Starting Templates
81
+
82
+ - `daily-status`: run `godpowers status --project .` and summarize current phase, progress, open items, and next action
83
+ - `stale-checkpoint`: inspect checkpoint freshness and suggest `/god-sync` or `/god-resume-work`
84
+ - `review-queue`: report unresolved review items without clearing them
85
+ - `weekly-hygiene`: report docs, dependencies, checkpoint, reviews, and hygiene signals
86
+ - `release-readiness`: report release readiness without publishing
87
+
88
+ ## Provider Guidance
89
+
90
+ - Codex App: use native Codex automations when the host exposes them.
91
+ - Claude Code: use `/schedule` for scheduled routines. Use Claude web for API or GitHub triggers.
92
+ - Cline: use `cline schedule` or the Cline SDK scheduler.
93
+ - Kilo: use KiloClaw Scheduled Triggers.
94
+ - Qwen Code: use `/loop` only for session-scoped checks and report that it is not durable.
95
+ - Cursor: use Background Agents or the Background Agent API for branch-scoped async work.
96
+ - GitHub Copilot: use issues, pull requests, or Copilot cloud agent entry points.
97
+ - Windsurf: install workflows or skills, but report that workflows are manual-only.
98
+ - Gemini CLI, OpenCode, CodeBuddy, and Pi: use headless or SDK execution only with an approved scheduler.
99
+ - Trae and Antigravity: report scheduled automation as unknown unless the host proves otherwise.
100
+
101
+ ## Output Shape
102
+
103
+ ```text
104
+ Godpowers Automation Setup Plan
105
+
106
+ Recommended provider: <provider>
107
+
108
+ Setup steps:
109
+ 1. <host-native setup step>
110
+
111
+ Execution path:
112
+ - Method: <host-tool-calling | host-native-command | local-command | manual>
113
+ - Action: <approved host action>
114
+ - Direct host tool calling: <available after approval | not available>
115
+ - Specialist agent: <god-automation-engineer | not required>
116
+ - Record after success: .godpowers/automations.json
117
+
118
+ Recommended safe templates:
119
+ - <template id>: <prompt>
120
+
121
+ Approval required:
122
+ - Choose a provider
123
+ - Choose one or more templates
124
+ - Confirm any host-native schedule, routine, background agent, API trigger, or connector scope
125
+ ```
126
+
127
+ ## Proposition Closeout
128
+
129
+ End with:
130
+
131
+ ```text
132
+ Proposition:
133
+ 1. Implement partial: create one read-only automation after approval
134
+ 2. Implement complete: create all safe read-only automations after approval
135
+ 3. Discuss more: tune provider, cadence, or safety rules
136
+ 4. Inspect status: /god-automation-status
137
+ Recommended: <one option tied to provider capability and user risk>
138
+ ```
@@ -0,0 +1,76 @@
1
+ ---
2
+ name: god-automation-status
3
+ description: |
4
+ Show host-native automation provider support for the current project.
5
+ Reports Codex App, Claude Routines, Cline schedules, Qwen loops, Cursor
6
+ background agents, Copilot cloud agent, and scriptable CLI providers.
7
+
8
+ Triggers on: "god automation status", "automation support", "background automation status"
9
+ ---
10
+
11
+ # /god-automation-status
12
+
13
+ Show which automation providers Godpowers can safely use in this project.
14
+
15
+ ## Process
16
+
17
+ 1. Resolve the runtime root and load `<runtimeRoot>/lib/automation-providers.js`.
18
+ 2. Call `automation.detect(projectRoot)`.
19
+ 3. Print `automation.render(result)`.
20
+ 4. Read `.godpowers/automations.json` if present and report active automations.
21
+ 5. Do not create, update, trigger, pause, resume, or delete schedules.
22
+ 6. Do not stage, commit, push, publish, deploy, clear review queues, or access
23
+ provider dashboards.
24
+
25
+ If the executable runtime module is unavailable, manually report these provider
26
+ classes:
27
+
28
+ - native-scheduler: Codex App automations, Claude Code routines, Cline schedules, Kilo scheduled triggers
29
+ - session-scheduler: Qwen Code `/loop`
30
+ - background-agent: Cursor Background Agents, GitHub Copilot cloud agent
31
+ - scriptable-headless: Gemini CLI, OpenCode, CodeBuddy SDK, Pi SDK
32
+ - manual-workflow: Windsurf workflows, Augment subagents
33
+ - unknown: Trae, Antigravity scheduled automation
34
+
35
+ ## Output Shape
36
+
37
+ ```text
38
+ Godpowers Automation Providers
39
+
40
+ Config: .godpowers/automations.json
41
+ Recommended provider: <provider or none available>
42
+
43
+ Active automations:
44
+ - <id via provider: status or none recorded>
45
+
46
+ Provider status:
47
+ - <provider>: <status> (<class>)
48
+
49
+ Safe templates:
50
+ - daily-status: Daily Godpowers status, Daily at 9am local time, read-only
51
+ - stale-checkpoint: Stale checkpoint watcher, Weekdays at 9am local time, read-only
52
+ - review-queue: Review queue watcher, Daily at 10am local time, read-only
53
+ - weekly-hygiene: Weekly hygiene report, Monday at 9am local time, read-only
54
+ - release-readiness: Release readiness report, Manual or before release, read-only
55
+
56
+ Safety rules:
57
+ - Do not create automations during install.
58
+ - Create schedules, routines, background agents, or API triggers only after explicit user approval.
59
+ - Default templates are read-only.
60
+ ```
61
+
62
+ ## Proposition Closeout
63
+
64
+ End with:
65
+
66
+ ```text
67
+ Proposition:
68
+ 1. Implement partial: /god-automation-setup for one safe read-only template
69
+ 2. Implement complete: /god-automation-setup for all safe templates supported by the current host
70
+ 3. Discuss more: /god-discuss automation policy and provider choice
71
+ 4. Inspect status: /god-status to see project progress and automation status together
72
+ Recommended: <one option tied to the detected provider>
73
+ ```
74
+
75
+ If no provider is available, recommend manual `/god-next` or
76
+ `godpowers next --project .`.
@@ -46,8 +46,8 @@ Plain-text report grouped by severity:
46
46
  GODPOWERS DOCTOR
47
47
 
48
48
  Install: claude (~/.claude/)
49
- [OK] 106 skills installed
50
- [OK] 39 agents installed
49
+ [OK] 108 skills installed
50
+ [OK] 40 agents installed
51
51
  [OK] VERSION matches (1.6.6)
52
52
  [WARN] routing/god-doctor.yaml exists but skill file did not until now
53
53
 
@@ -97,6 +97,7 @@ Proactive opportunities:
97
97
  Sync: fresh
98
98
  Docs: possible drift, suggest /god-docs
99
99
  Runtime: known local URL, suggest /god-test-runtime
100
+ Automation: available via codex-app, suggest /god-automation-setup
100
101
  Security: clear
101
102
  Dependencies: clear
102
103
  Hygiene: stale, suggest /god-hygiene
@@ -174,6 +175,8 @@ Report:
174
175
  `docs drift-check already logged`
175
176
  - Runtime: `not-applicable`, `known URL, suggest /god-test-runtime`, or
176
177
  `no known URL, defer deployed verification`
178
+ - Automation: `not configured`, `<N> active`, or
179
+ `available via <provider>, suggest /god-automation-setup`
177
180
  - Security: `clear` or `sensitive files changed, suggest /god-harden`
178
181
  - Dependencies: `clear` or `dependency files changed, suggest /god-update-deps`
179
182
  - Hygiene: `fresh` or `stale, suggest /god-hygiene`
@@ -16,7 +16,7 @@ Print version and a short capability summary.
16
16
  ```
17
17
  Godpowers v1.6.6
18
18
  Install: /Users/.../.claude/ (matches package.json)
19
- Surface: 106 skills, 39 agents, 13 workflows, 36 recipes
19
+ Surface: 108 skills, 40 agents, 13 workflows, 36 recipes
20
20
  Schema: intent.v1, state.v1, events.v1, workflow.v1, routing.v1, recipe.v1
21
21
  External integrations available: impeccable, agent-browser (others lazy)
22
22
  ```