godpowers 3.0.1 → 3.11.0
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 +255 -2
- package/README.md +31 -14
- package/RELEASE.md +21 -33
- package/SKILL.md +71 -112
- package/bin/install.js +44 -0
- package/fixtures/gate/harden-pass/.godpowers/state.json +26 -0
- package/lib/README.md +1 -0
- package/lib/artifact-map.js +2 -1
- package/lib/cli-dispatch.js +449 -3
- package/lib/command-families.js +10 -2
- package/lib/evidence/.provenance.json +45 -0
- package/lib/evidence-import.js +147 -0
- package/lib/evidence.js +908 -0
- package/lib/gate.js +26 -15
- package/lib/install-profiles.js +4 -1
- package/lib/installer-args.js +241 -1
- package/lib/quarterback.js +183 -0
- package/lib/surface-profile.js +168 -0
- package/lib/work-report.js +137 -0
- package/package.json +2 -2
- package/references/orchestration/GOD-MODE-RUNBOOK.md +9 -14
- package/references/orchestration/GOD-ORCHESTRATOR-RUNBOOK.md +40 -82
- package/references/shared/DASHBOARD-CONTRACT.md +66 -29
- package/references/shared/README.md +1 -1
- package/routing/god-demo.yaml +35 -0
- package/routing/god-first-run.yaml +34 -0
- package/routing/god-surface.yaml +39 -0
- package/routing/recipes/try-safely.yaml +26 -0
- package/skills/god-agent-audit.md +5 -6
- package/skills/god-archaeology.md +5 -6
- package/skills/god-audit.md +6 -7
- package/skills/god-automation-setup.md +6 -7
- package/skills/god-automation-status.md +6 -7
- package/skills/god-context-scan.md +7 -8
- package/skills/god-demo.md +53 -0
- package/skills/god-design-impact.md +5 -6
- package/skills/god-discuss.md +5 -6
- package/skills/god-docs.md +5 -10
- package/skills/god-doctor.md +8 -9
- package/skills/god-dogfood.md +7 -10
- package/skills/god-explore.md +5 -7
- package/skills/god-first-run.md +64 -0
- package/skills/god-harden.md +5 -2
- package/skills/god-help.md +77 -51
- package/skills/god-hygiene.md +5 -6
- package/skills/god-lifecycle.md +11 -13
- package/skills/god-list-assumptions.md +7 -8
- package/skills/god-locate.md +7 -8
- package/skills/god-map-codebase.md +5 -6
- package/skills/god-migrate.md +6 -15
- package/skills/god-next.md +16 -17
- package/skills/god-preflight.md +7 -8
- package/skills/god-progress.md +7 -8
- package/skills/god-reconcile.md +5 -6
- package/skills/god-reconstruct.md +5 -7
- package/skills/god-refactor.md +6 -7
- package/skills/god-roadmap-check.md +6 -7
- package/skills/god-scan.md +5 -9
- package/skills/god-spike.md +5 -6
- package/skills/god-standards.md +5 -6
- package/skills/god-status.md +12 -10
- package/skills/god-surface.md +61 -0
- package/skills/god-sync.md +4 -8
- package/skills/god-tech-debt.md +5 -6
- package/skills/god-test-runtime.md +4 -8
- package/skills/god-version.md +1 -1
- package/skills/god.md +53 -52
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-first-run
|
|
3
|
+
description: |
|
|
4
|
+
Guide a first-time user through the first 10 minutes of Godpowers with one
|
|
5
|
+
recommended command and a few concrete alternatives. Never list the full
|
|
6
|
+
command catalog by default.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god first run", "/god-first-run", "first time",
|
|
9
|
+
"getting started", "start using godpowers"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-first-run
|
|
13
|
+
|
|
14
|
+
Guide the user through the first 10 minutes. Keep the response short,
|
|
15
|
+
decisive, and state-aware. Do not list the full catalog unless the user asks
|
|
16
|
+
for `/god-help all`.
|
|
17
|
+
|
|
18
|
+
## Process
|
|
19
|
+
|
|
20
|
+
1. Check whether `.godpowers/state.json` exists.
|
|
21
|
+
2. If no project state exists, recommend `/god-demo` first when the user wants
|
|
22
|
+
proof, otherwise recommend `/god-init`.
|
|
23
|
+
3. If project state exists, recommend `/god-next`.
|
|
24
|
+
4. Mention at most three alternatives.
|
|
25
|
+
5. End with `Next commands:`.
|
|
26
|
+
|
|
27
|
+
## Output Shape
|
|
28
|
+
|
|
29
|
+
For a fresh directory:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
You have not initialized Godpowers here yet, so the first useful move is a safe proof or project init.
|
|
33
|
+
|
|
34
|
+
Next commands:
|
|
35
|
+
- /god-demo: Try the shipped sandbox without touching this repo.
|
|
36
|
+
- /god-init: Initialize Godpowers in this project now.
|
|
37
|
+
- /god-surface --profile=core --dry-run: Preview the smallest installed command surface.
|
|
38
|
+
- /god-help all: Show the complete catalog only if you want it.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
For an initialized project:
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
Godpowers state already exists here, so continue from disk instead of starting over.
|
|
45
|
+
|
|
46
|
+
Next commands:
|
|
47
|
+
- /god-next: Continue with the safest state-derived next step.
|
|
48
|
+
- /god-status --full: Inspect the complete dashboard and proactive checks.
|
|
49
|
+
- /god-help continue: See continue commands only.
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Rules
|
|
53
|
+
|
|
54
|
+
- Do not explain routing internals.
|
|
55
|
+
- Do not show more than four commands.
|
|
56
|
+
- Do not show every installed command.
|
|
57
|
+
- Prefer `/god-demo` when the user asks for proof or is unsure.
|
|
58
|
+
- Prefer `/god-init` when the user says they are ready to use the current repo.
|
|
59
|
+
- Prefer `/god-next` when `.godpowers/state.json` exists.
|
|
60
|
+
|
|
61
|
+
## Implementation
|
|
62
|
+
|
|
63
|
+
Built-in, no spawned agent. Reads `.godpowers/state.json` and may call
|
|
64
|
+
`<runtimeRoot>/lib/dashboard.js` for the next route when state exists.
|
package/skills/god-harden.md
CHANGED
|
@@ -21,8 +21,11 @@ Spawn the **god-harden-auditor** agent in a fresh context via the host platform'
|
|
|
21
21
|
|
|
22
22
|
After god-harden-auditor returns:
|
|
23
23
|
1. Verify FINDINGS.md exists on disk
|
|
24
|
-
2.
|
|
25
|
-
|
|
24
|
+
2. Record the executed security check as evidence so the gate has a passing
|
|
25
|
+
verification record, for example:
|
|
26
|
+
`npx godpowers verify "npm audit --omit=dev" --substep tier-3.harden --claim "dependency audit clean" --project=.`
|
|
27
|
+
3. Run `npx godpowers gate --tier=harden --project=.` and do not proceed on a non-zero exit
|
|
28
|
+
4. Read findings classification:
|
|
26
29
|
- If any Critical: run `npx godpowers state advance --step=harden --status=failed --project=.` and keep launch BLOCKED
|
|
27
30
|
- If only High/Medium/Low: run `npx godpowers state advance --step=harden --status=done --project=.`
|
|
28
31
|
|
package/skills/god-help.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: god-help
|
|
3
3
|
description: |
|
|
4
|
-
Discoverable contextual help for Godpowers.
|
|
5
|
-
|
|
6
|
-
Different from /god (front door): /god proposes a command sequence;
|
|
7
|
-
/god-help lists the catalog.
|
|
4
|
+
Discoverable contextual help for Godpowers. Shows a short guided view by
|
|
5
|
+
default, with the full catalog available only through /god-help all.
|
|
8
6
|
|
|
9
7
|
Triggers on: "god help", "/god-help", "what can godpowers do",
|
|
10
8
|
"list commands", "show help"
|
|
@@ -12,21 +10,55 @@ description: |
|
|
|
12
10
|
|
|
13
11
|
# /god-help
|
|
14
12
|
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
Show the smallest useful help view for the current project state. Do not dump
|
|
14
|
+
the installed command catalog unless the user asks for `all`, a family, a
|
|
15
|
+
category, a keyword search, or one command.
|
|
17
16
|
|
|
18
|
-
## Output
|
|
17
|
+
## Default Output
|
|
19
18
|
|
|
20
|
-
### 1. Where
|
|
21
|
-
One line summary of project state from `state.json`:
|
|
22
|
-
- Mode (A/B/C/E + suite flag), scale, current tier, last command
|
|
19
|
+
### 1. Where You Are
|
|
23
20
|
|
|
24
|
-
|
|
25
|
-
The same suggestion `/god-next` would make. One command.
|
|
21
|
+
Render one plain sentence from disk state:
|
|
26
22
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
```text
|
|
24
|
+
You are <not initialized | in planning | building | shipping | complete>; the likely next move is <command>.
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
If no `.godpowers/` directory exists, treat the user as first-run and recommend
|
|
28
|
+
`/god-first-run`.
|
|
29
|
+
|
|
30
|
+
### 2. Likely Next Area
|
|
31
|
+
|
|
32
|
+
Show 3 to 6 commands. Put the best command first. Use the family map from
|
|
33
|
+
`<runtimeRoot>/lib/command-families.js` and the state-derived recommendation
|
|
34
|
+
from `<runtimeRoot>/lib/router.js` or `<runtimeRoot>/lib/dashboard.js`.
|
|
35
|
+
|
|
36
|
+
Example for an initialized project:
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
Likely next area: continue
|
|
40
|
+
|
|
41
|
+
Next commands:
|
|
42
|
+
- /god-next: Continue with the safest state-derived next step.
|
|
43
|
+
- /god-status --full: See the complete dashboard and proactive checks.
|
|
44
|
+
- /god-help build: See build commands only.
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Example for first-run:
|
|
48
|
+
|
|
49
|
+
```text
|
|
50
|
+
You have not initialized Godpowers here yet.
|
|
51
|
+
|
|
52
|
+
Next commands:
|
|
53
|
+
- /god-first-run: Walk through the first 10 minutes with one recommendation at a time.
|
|
54
|
+
- /god-demo: Try the shipped sandbox before touching this repo.
|
|
55
|
+
- /god-init: Start this project now.
|
|
56
|
+
- /god-help all: Show the complete catalog.
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 3. Families
|
|
60
|
+
|
|
61
|
+
Show family hubs without leaf commands:
|
|
30
62
|
|
|
31
63
|
- Start: start or import a project.
|
|
32
64
|
- Continue: understand state and choose the next move.
|
|
@@ -40,65 +72,59 @@ full catalog:
|
|
|
40
72
|
- Collaborate: coordinate people, workstreams, suites, sprints, and pull requests.
|
|
41
73
|
- Configure: tune settings, budgets, cache, profiles, help, and version info.
|
|
42
74
|
|
|
43
|
-
|
|
44
|
-
Show the compact ladders when the user asks about capture, work size, or
|
|
45
|
-
verification:
|
|
46
|
-
|
|
47
|
-
- Capture ladder: `/god-note`, `/god-add-todo`, `/god-add-backlog`, `/god-plant-seed`.
|
|
48
|
-
- Work size ladder: `/god-fast`, `/god-quick`, `/god-story`, `/god-feature`, `/god-build`, `/god-debug`, `/god-hotfix`.
|
|
49
|
-
- Verification ladder: `/god-lint`, `/god-standards`, `/god-review`, `/god-test-runtime`, `/god-audit`, `/god-hygiene`, `/god-preflight`, `/god-dogfood`.
|
|
75
|
+
End with `Next commands:` and never more than four commands.
|
|
50
76
|
|
|
51
|
-
|
|
52
|
-
Present `/god-status` as the hub view and list the direct shortcuts:
|
|
53
|
-
`/god-progress`, `/god-lifecycle`, `/god-locate`, and `/god-next`.
|
|
77
|
+
## Subcommands
|
|
54
78
|
|
|
55
|
-
###
|
|
56
|
-
All installed skills grouped by category. Categories match
|
|
57
|
-
`docs/reference.md` order.
|
|
79
|
+
### `/god-help`
|
|
58
80
|
|
|
59
|
-
|
|
60
|
-
- Full reference: https://github.com/aihxp/godpowers/blob/main/docs/reference.md
|
|
61
|
-
- Concepts: https://github.com/aihxp/godpowers/blob/main/docs/concepts.md
|
|
62
|
-
- Roadmap: https://github.com/aihxp/godpowers/blob/main/docs/ROADMAP.md
|
|
63
|
-
- Installed have-nots catalog: `<runtime>/godpowers-references/HAVE-NOTS.md`
|
|
81
|
+
Contextual help with 3 to 6 likely next commands.
|
|
64
82
|
|
|
65
|
-
|
|
83
|
+
### `/god-help all`
|
|
66
84
|
|
|
67
|
-
|
|
68
|
-
|
|
85
|
+
Full installed catalog grouped by category. This is the only default path that
|
|
86
|
+
lists every command.
|
|
69
87
|
|
|
70
88
|
### `/god-help <command>`
|
|
71
|
-
|
|
89
|
+
|
|
90
|
+
Description of one command from the skill frontmatter.
|
|
72
91
|
|
|
73
92
|
### `/god-help search <keyword>`
|
|
74
|
-
|
|
93
|
+
|
|
94
|
+
Filter the catalog by keyword match against names and descriptions.
|
|
75
95
|
|
|
76
96
|
### `/god-help <family>`
|
|
97
|
+
|
|
77
98
|
Show one family card plus its leaf commands. Valid families are start,
|
|
78
99
|
continue, build, verify, operate, maintain, capture, recover, extend,
|
|
79
100
|
collaborate, and configure.
|
|
80
101
|
|
|
81
102
|
### `/god-help --category=<name>`
|
|
82
|
-
|
|
103
|
+
|
|
104
|
+
Show only one category, such as lifecycle, planning, building, shipping, or
|
|
105
|
+
configuration.
|
|
83
106
|
|
|
84
107
|
## Implementation
|
|
85
108
|
|
|
86
109
|
Built-in, no spawned agent. Reads:
|
|
87
110
|
- `<runtime>/skills/*.md` frontmatter
|
|
88
|
-
- `.godpowers/state.json`
|
|
89
|
-
- `<runtimeRoot>/lib/
|
|
90
|
-
- `<runtimeRoot>/lib/command-families.js`
|
|
111
|
+
- `.godpowers/state.json` for current state
|
|
112
|
+
- `<runtimeRoot>/lib/dashboard.js` for the next route when available
|
|
113
|
+
- `<runtimeRoot>/lib/command-families.js` for family cards and ladders
|
|
91
114
|
|
|
92
|
-
Resolve `<runtimeRoot>` as `<projectRoot>` when
|
|
115
|
+
Resolve `<runtimeRoot>` as `<projectRoot>` when
|
|
116
|
+
`<projectRoot>/lib/dashboard.js` exists. Otherwise use the installed bundle at
|
|
117
|
+
`<tool-config-dir>/godpowers-runtime`, where `<tool-config-dir>` is the
|
|
118
|
+
directory that contains this installed skill.
|
|
93
119
|
|
|
94
|
-
## When
|
|
120
|
+
## When To Use
|
|
95
121
|
|
|
96
|
-
- First time using Godpowers and
|
|
97
|
-
- Forgot the exact name of a command
|
|
98
|
-
- Want
|
|
122
|
+
- First time using Godpowers and needing one next move.
|
|
123
|
+
- Forgot the exact name of a command.
|
|
124
|
+
- Want commands relevant to the current state without seeing the whole catalog.
|
|
99
125
|
|
|
100
|
-
## When
|
|
126
|
+
## When Not To Use
|
|
101
127
|
|
|
102
|
-
- You know exactly what you want
|
|
103
|
-
- You want intent-to-command matching
|
|
104
|
-
- You want
|
|
128
|
+
- You know exactly what you want: run that command.
|
|
129
|
+
- You want intent-to-command matching: use `/god`.
|
|
130
|
+
- You want the next state-derived action only: use `/god-next`.
|
package/skills/god-hygiene.md
CHANGED
|
@@ -94,12 +94,11 @@ Suggested next actions (in priority order):
|
|
|
94
94
|
|
|
95
95
|
Schedule next hygiene check in [N days] (default: 30).
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
Recommended: [one option and why]
|
|
97
|
+
Next commands:
|
|
98
|
+
- /god-next: Run the highest-priority hygiene follow-up from disk state.
|
|
99
|
+
- /god-hygiene: Re-run the health check after P0 and P1 fixes.
|
|
100
|
+
- /god-discuss hygiene remediation: Resolve the open question before continuing.
|
|
101
|
+
- /god-status after fixes: Inspect status before continuing.
|
|
103
102
|
```
|
|
104
103
|
|
|
105
104
|
## Have-Nots
|
package/skills/god-lifecycle.md
CHANGED
|
@@ -121,29 +121,27 @@ Suggested next: /god-spike with narrower question
|
|
|
121
121
|
Or: archive the spike if no longer relevant
|
|
122
122
|
```
|
|
123
123
|
|
|
124
|
-
##
|
|
124
|
+
## Next Commands Closeout
|
|
125
125
|
|
|
126
|
-
Every lifecycle report must end with a
|
|
126
|
+
Every lifecycle report must end with a Next commands block. Use the detected
|
|
127
127
|
phase to fill in concrete commands:
|
|
128
128
|
|
|
129
129
|
```
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
Recommended: [one option and why it matches the detected phase]
|
|
130
|
+
Next commands:
|
|
131
|
+
- /god-next: Run the smallest safe next command from the lifecycle report.
|
|
132
|
+
- /god-mode [resume or scope] when the phase is safe for an autonomous project run: Run the full recommended path.
|
|
133
|
+
- /god-discuss [unclear phase, blocker, or choice]: Resolve the open question before continuing.
|
|
134
|
+
- /god-status or /god-next: Inspect status before continuing.
|
|
136
135
|
```
|
|
137
136
|
|
|
138
137
|
For hard blockers, such as post-incident pending, replace the broad options
|
|
139
138
|
with the required next command plus inspect and discuss alternatives:
|
|
140
139
|
|
|
141
140
|
```
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
Recommended: /god-postmortem because the incident learning loop is still open.
|
|
141
|
+
Next commands:
|
|
142
|
+
- /god-postmortem: Resolve the required incident follow-up before continuing.
|
|
143
|
+
- /god-status --full: Inspect full status before acting.
|
|
144
|
+
- /god-discuss incident follow-up: Resolve the blocker with a focused discussion.
|
|
147
145
|
```
|
|
148
146
|
|
|
149
147
|
## Have-Nots
|
|
@@ -48,17 +48,16 @@ Assumptions Claude is operating under:
|
|
|
48
48
|
Any of these wrong? Flag them now before they cement into decisions.
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
##
|
|
51
|
+
## Next Commands Closeout
|
|
52
52
|
|
|
53
|
-
After listing assumptions, end with a
|
|
53
|
+
After listing assumptions, end with a Next commands block:
|
|
54
54
|
|
|
55
55
|
```
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
Recommended: [one option and why]
|
|
56
|
+
Next commands:
|
|
57
|
+
- /god-discuss assumptions: Correct or confirm low-confidence assumptions.
|
|
58
|
+
- /god-next: Continue to the queued command after assumptions are confirmed.
|
|
59
|
+
- /god-discuss assumptions before planning: Resolve the open question before continuing.
|
|
60
|
+
- /god-status to re-ground before deciding: Inspect status before continuing.
|
|
62
61
|
```
|
|
63
62
|
|
|
64
63
|
## Have-Nots
|
package/skills/god-locate.md
CHANGED
|
@@ -80,17 +80,16 @@ Drift check:
|
|
|
80
80
|
- If gap > 1 hour, run /god-context-scan
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
##
|
|
83
|
+
## Next Commands Closeout
|
|
84
84
|
|
|
85
|
-
The orientation summary must end with a compact
|
|
85
|
+
The orientation summary must end with a compact Next commands block:
|
|
86
86
|
|
|
87
87
|
```
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
Recommended: [one option and why]
|
|
88
|
+
Next commands:
|
|
89
|
+
- /god-next: Run the next suggested command from disk state.
|
|
90
|
+
- /god-mode to continue the project run when no drift is flagged: Run the full recommended path.
|
|
91
|
+
- /god-discuss [unclear state or stale checkpoint]: Resolve the open question before continuing.
|
|
92
|
+
- /god-status for the full report: Inspect status before continuing.
|
|
94
93
|
```
|
|
95
94
|
|
|
96
95
|
If drift is flagged, recommend `/god-context-scan` or `/god-repair` before
|
|
@@ -43,11 +43,10 @@ Codebase mapped.
|
|
|
43
43
|
|
|
44
44
|
Suggested next: /god-init Mode B (gap-fill) or /god-feature
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Recommended: /god-init Mode B when the codebase is real but Godpowers artifacts
|
|
46
|
+
Next commands:
|
|
47
|
+
- /god-intel or /god-tech-debt on the riskiest mapped area: Run the smallest safe next step.
|
|
48
|
+
- /god-init Mode B to gap-fill project artifacts: Run the full recommended path.
|
|
49
|
+
- /god-discuss the unclear architecture or quality findings: Resolve the open question before continuing.
|
|
50
|
+
- /god-mode after Mode B context exists: Run the full autonomous project workflow when it fits.
|
|
52
51
|
are missing.
|
|
53
52
|
```
|
package/skills/god-migrate.md
CHANGED
|
@@ -26,28 +26,19 @@ Detect and migrate adjacent planning systems into Godpowers.
|
|
|
26
26
|
|
|
27
27
|
## Auto-Invoke Contract
|
|
28
28
|
|
|
29
|
-
`/god-init` auto-invokes the import path when it detects legacy planning, BMAD,
|
|
30
|
-
Superpowers context. It
|
|
29
|
+
`/god-init` auto-invokes the import path when it detects legacy planning, BMAD,
|
|
30
|
+
or Superpowers context. It shows this concise note when import writes happen:
|
|
31
31
|
|
|
32
32
|
```
|
|
33
|
-
|
|
34
|
-
Trigger: /god-init planning-system detection
|
|
35
|
-
Agent: none, local runtime only
|
|
36
|
-
Local syncs:
|
|
37
|
-
+ planning-system-import: <detected systems, written seeds, or no-op>
|
|
38
|
-
Artifacts: .godpowers/prep/IMPORTED-CONTEXT.md and optional seed artifacts
|
|
33
|
+
Imported adjacent planning context into .godpowers/prep/IMPORTED-CONTEXT.md.
|
|
39
34
|
```
|
|
40
35
|
|
|
41
36
|
`/god-sync` auto-invokes sync-back when `state.json` contains enabled
|
|
42
|
-
`source-systems` entries. It
|
|
37
|
+
`source-systems` entries. It shows this concise note when companion files are
|
|
38
|
+
written:
|
|
43
39
|
|
|
44
40
|
```
|
|
45
|
-
|
|
46
|
-
Trigger: /god-sync source-system sync-back
|
|
47
|
-
Agent: none, local runtime only
|
|
48
|
-
Local syncs:
|
|
49
|
-
+ source-sync: <written companion files, pointer fences, or no-op>
|
|
50
|
-
Artifacts: <.planning/GODPOWERS-SYNC.md, _bmad-output/GODPOWERS-SYNC.md, docs/superpowers/GODPOWERS-SYNC.md>
|
|
41
|
+
Synced Godpowers progress back to the source planning system.
|
|
51
42
|
```
|
|
52
43
|
|
|
53
44
|
If the import has low confidence, multiple conflicting systems, or missing
|
package/skills/god-next.md
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: god-next
|
|
3
3
|
description: |
|
|
4
|
-
Decision engine. For any command intent, checks prerequisites,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
configurations.
|
|
4
|
+
Decision engine. For any command intent, checks prerequisites, runs safe
|
|
5
|
+
read-only continuation when possible, and suggests the next concrete command
|
|
6
|
+
after success. Backed by runtime routing YAML configurations.
|
|
8
7
|
|
|
9
8
|
Triggers on: "god next", "/god-next", "what's next", "what should I do next",
|
|
10
9
|
"next step", "continue"
|
|
@@ -13,7 +12,9 @@ description: |
|
|
|
13
12
|
# /god-next
|
|
14
13
|
|
|
15
14
|
The unified decision engine. Route between commands based on disk state,
|
|
16
|
-
routing definitions, recipes, command families, and user intent.
|
|
15
|
+
routing definitions, recipes, command families, and user intent. Explain what
|
|
16
|
+
you are about to do in one plain sentence, then run the safe next step when the
|
|
17
|
+
step is read-only or an explicit local check.
|
|
17
18
|
|
|
18
19
|
## Runtime module resolution
|
|
19
20
|
|
|
@@ -21,22 +22,22 @@ routing definitions, recipes, command families, and user intent.
|
|
|
21
22
|
2. Otherwise use the installed bundle at `<tool-config-dir>/godpowers-runtime`.
|
|
22
23
|
3. Read routing definitions from `<runtimeRoot>/routing/*.yaml` and recipes from `<runtimeRoot>/routing/recipes/*.yaml`.
|
|
23
24
|
4. Load `<runtimeRoot>/lib/command-families.js` before resolving broad intent.
|
|
24
|
-
5. Load `<runtimeRoot>/lib/dashboard.js` and render the
|
|
25
|
+
5. Load `<runtimeRoot>/lib/dashboard.js` and render only the compact action brief unless the user asks for `--full`.
|
|
25
26
|
6. Prefer the MCP `next` tool when it is available, and fall back to the CLI or runtime module when it is not.
|
|
26
|
-
7. If no dashboard module is available,
|
|
27
|
+
7. If no dashboard module is available, use a manual disk scan quietly and suggest `/god-doctor` only when the fallback changes the recommendation.
|
|
27
28
|
|
|
28
29
|
## Required references
|
|
29
30
|
|
|
30
31
|
Read these references before producing a route recommendation:
|
|
31
32
|
|
|
32
33
|
- `<runtimeRoot>/references/orchestration/GOD-NEXT-RUNBOOK.md` for invocation modes, route detail, and edge cases.
|
|
33
|
-
- `<runtimeRoot>/references/shared/DASHBOARD-CONTRACT.md` for the shared status and
|
|
34
|
+
- `<runtimeRoot>/references/shared/DASHBOARD-CONTRACT.md` for the shared status and `Next commands:` shape.
|
|
34
35
|
|
|
35
36
|
## Invocation modes
|
|
36
37
|
|
|
37
38
|
- Post-completion: after a command finishes, read its routing file and announce the next gate.
|
|
38
39
|
- Pre-flight: before a target command runs, evaluate prerequisites and offer auto-completion when available.
|
|
39
|
-
- Standalone: when the user asks what is next, derive the recommendation from disk state.
|
|
40
|
+
- Standalone: when the user asks what is next, derive the recommendation from disk state and run the safe read-only next step when it has no destructive effect.
|
|
40
41
|
- Intent-based: when the user uses fuzzy text, match recipes and command families before raw route order.
|
|
41
42
|
|
|
42
43
|
## Decision rules
|
|
@@ -54,12 +55,10 @@ Read these references before producing a route recommendation:
|
|
|
54
55
|
|
|
55
56
|
Render this sequence:
|
|
56
57
|
|
|
57
|
-
1.
|
|
58
|
-
2.
|
|
59
|
-
3.
|
|
60
|
-
4.
|
|
61
|
-
5. Optional pre-flight, standards, or blocker detail.
|
|
62
|
-
6. Proactive checks using the shared labels.
|
|
63
|
-
7. Proposition block unless the selected command already launched.
|
|
58
|
+
1. One plain sentence describing the selected next step.
|
|
59
|
+
2. Suggested next command and one-line reason.
|
|
60
|
+
3. Optional blocker detail only when it changes the recommendation.
|
|
61
|
+
4. `Next commands:` with the selected command first.
|
|
64
62
|
|
|
65
|
-
Keep the route preview to three lines unless the user asks for the full plan
|
|
63
|
+
Keep the route preview to three lines unless the user asks for the full plan or
|
|
64
|
+
`--full`. Do not print the full dashboard by default.
|
package/skills/god-preflight.md
CHANGED
|
@@ -137,18 +137,17 @@ Use the report to choose the next pass:
|
|
|
137
137
|
| Tests are absent before refactor | `/god-add-tests` |
|
|
138
138
|
| Refactor path is obvious and bounded | `/god-refactor` |
|
|
139
139
|
|
|
140
|
-
##
|
|
140
|
+
## Next Commands Closeout
|
|
141
141
|
|
|
142
|
-
End the user-facing response with a
|
|
142
|
+
End the user-facing response with a Next commands block based on the recommended
|
|
143
143
|
sequence:
|
|
144
144
|
|
|
145
145
|
```
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
Recommended: [first command and why it should happen before the rest]
|
|
146
|
+
Next commands:
|
|
147
|
+
- /god-next: Run the first recommended command from the preflight result.
|
|
148
|
+
- /god-mode: Continue the full recommended sequence when preflight is clear.
|
|
149
|
+
- /god-discuss [highest uncertainty or blocker]: Resolve the open question before continuing.
|
|
150
|
+
- /god-mode only when the preflight says the repo is ready or the remaining gaps are acceptable: Run the full autonomous project workflow when it fits.
|
|
152
151
|
```
|
|
153
152
|
|
|
154
153
|
## Guardrails
|
package/skills/god-progress.md
CHANGED
|
@@ -78,17 +78,16 @@ Open the full checklist any time: .godpowers/REQUIREMENTS.md
|
|
|
78
78
|
Use plain text. No emoji, no box-drawing. Ledger marks are `[x]` done, `[~]`
|
|
79
79
|
in progress, `[ ]` not started, matching the ledger file.
|
|
80
80
|
|
|
81
|
-
##
|
|
81
|
+
## Next Commands Closeout
|
|
82
82
|
|
|
83
|
-
End every progress report with a
|
|
83
|
+
End every progress report with a Next commands block:
|
|
84
84
|
|
|
85
85
|
```text
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
Recommended: [one option and one sentence on why it fits the disk state]
|
|
86
|
+
Next commands:
|
|
87
|
+
- /god-build: Continue the next build step when the roadmap is unblocked.
|
|
88
|
+
- /god-mode: Continue the project run when the current phase is safe to resume.
|
|
89
|
+
- /god-status --full: Inspect the complete dashboard and proactive checks.
|
|
90
|
+
- /god-discuss <blocked requirement>: Resolve a gap before continuing.
|
|
92
91
|
```
|
|
93
92
|
|
|
94
93
|
If `derived.gaps` is non-empty, make `/god-review-changes` (or fixing the gap)
|
package/skills/god-reconcile.md
CHANGED
|
@@ -83,12 +83,11 @@ Recommended sequence:
|
|
|
83
83
|
Main work: [/god-feature scoped to Milestone 2]
|
|
84
84
|
Post-work: [/god-sync]
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
Recommended: [one option and why]
|
|
86
|
+
Next commands:
|
|
87
|
+
- /god-next: Run only the first preflight command.
|
|
88
|
+
- /god-sync: Run the full recommended sync sequence after reconciliation.
|
|
89
|
+
- /god-discuss [ambiguous overlap or artifact conflict]: Resolve the open question before continuing.
|
|
90
|
+
- stop: Leave artifacts unchanged.
|
|
92
91
|
```
|
|
93
92
|
|
|
94
93
|
## Difference from /god-roadmap-check
|
|
@@ -59,13 +59,11 @@ Suggested next:
|
|
|
59
59
|
/god-feature - now you can add features with reconciliation
|
|
60
60
|
/god-tech-debt - assess what needs paying down
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
Recommended: /god-audit before new feature work because reconstruction is
|
|
68
|
-
evidence-derived, not stakeholder-approved.
|
|
62
|
+
Next commands:
|
|
63
|
+
- /god-audit the reconstructed artifacts first: Run the smallest safe next step.
|
|
64
|
+
- /god-audit then /god-feature with reconciliation: Run the full recommended path.
|
|
65
|
+
- /god-discuss stakeholder review questions: Resolve the open question before continuing.
|
|
66
|
+
- /god-mode after stakeholder review or audit accepts the reconstruction: Run the full autonomous project workflow when it fits.
|
|
69
67
|
```
|
|
70
68
|
|
|
71
69
|
## Caveats
|
package/skills/god-refactor.md
CHANGED
|
@@ -92,18 +92,17 @@ Suggested next: /god-status or continue with /god-feature
|
|
|
92
92
|
|
|
93
93
|
When the user asks for a proposal, recommendation, or performance-improvement
|
|
94
94
|
approach and no files are edited, do not stop after the advice. End with a
|
|
95
|
-
|
|
95
|
+
Next commands block that turns the recommendation into user-selectable next
|
|
96
96
|
moves.
|
|
97
97
|
|
|
98
98
|
Use this shape:
|
|
99
99
|
|
|
100
100
|
```
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Recommended: <one option and why>
|
|
101
|
+
Next commands:
|
|
102
|
+
- /god-spike <measurement or smallest safe slice>: Run the smallest safe next step.
|
|
103
|
+
- /god-refactor <full scoped refactor>: Run the full recommended path.
|
|
104
|
+
- /god-discuss <unresolved scope question>: Resolve the open question before continuing.
|
|
105
|
+
- /god-mode <scope> if the user wants the full autonomous project run: Run the full autonomous project workflow when it fits.
|
|
107
106
|
```
|
|
108
107
|
|
|
109
108
|
For performance refactors, prefer partial implementation when measurement is
|
|
@@ -64,15 +64,14 @@ After `god-reconciler` returns:
|
|
|
64
64
|
1. Verify the verdict has a status from the canonical 6
|
|
65
65
|
2. Verify recommendation has a concrete action
|
|
66
66
|
3. Display to user; await decision before proceeding
|
|
67
|
-
4. End with a
|
|
67
|
+
4. End with a Next commands block:
|
|
68
68
|
|
|
69
69
|
```
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
Recommended: [one option and why]
|
|
70
|
+
Next commands:
|
|
71
|
+
- /god-roadmap-update: Apply the smallest roadmap correction from the recommendation.
|
|
72
|
+
- /god-feature <feature-name>: Start feature work after roadmap overlap is clear.
|
|
73
|
+
- /god-discuss roadmap overlap: Resolve the open question before continuing.
|
|
74
|
+
- /god-add-backlog [intent]: Defer the work for later review.
|
|
76
75
|
```
|
|
77
76
|
|
|
78
77
|
## When called manually
|