godpowers 2.6.0 → 2.7.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 +22 -0
- package/README.md +26 -22
- package/RELEASE.md +38 -35
- package/SKILL.md +46 -48
- package/agents/god-deploy-engineer.md +2 -2
- package/agents/god-designer.md +3 -2
- package/agents/god-greenfieldifier.md +2 -4
- package/agents/god-launch-strategist.md +4 -5
- package/agents/god-observability-engineer.md +5 -5
- package/agents/god-reconciler.md +10 -4
- package/agents/god-retrospective.md +1 -1
- package/agents/god-updater.md +5 -5
- package/bin/install.js +6 -1
- package/fixtures/gate/build-pass/.godpowers/state.json +33 -0
- package/lib/README.md +2 -0
- package/lib/artifact-map.js +15 -3
- package/lib/cli-dispatch.js +39 -1
- package/lib/context-writer.js +4 -4
- package/lib/gate.js +107 -9
- package/lib/installer-args.js +24 -0
- package/lib/pillars.js +2 -4
- package/lib/recipes.js +16 -0
- package/lib/router.js +1 -5
- package/lib/source-sync.js +1 -1
- package/lib/state-advance.js +244 -0
- package/lib/state-lock.js +8 -4
- package/lib/state-views.js +460 -0
- package/lib/state.js +52 -3
- package/package.json +1 -1
- package/routing/god-audit.yaml +1 -1
- package/routing/god-build.yaml +1 -1
- package/routing/god-context.yaml +1 -1
- package/routing/god-deploy.yaml +3 -1
- package/routing/god-design.yaml +2 -2
- package/routing/god-launch.yaml +4 -1
- package/routing/god-migrate.yaml +0 -1
- package/routing/god-mode.yaml +1 -1
- package/routing/god-observe.yaml +4 -1
- package/routing/god-prd.yaml +1 -1
- package/routing/god-reconcile.yaml +2 -5
- package/routing/god-sync.yaml +1 -1
- package/routing/recipes/returning-after-break.yaml +1 -1
- package/schema/state.v1.json +68 -1
- package/skills/god-arch.md +1 -1
- package/skills/god-build.md +6 -4
- package/skills/god-deploy.md +16 -14
- package/skills/god-design.md +3 -3
- package/skills/god-fast.md +2 -2
- package/skills/god-feature.md +1 -1
- package/skills/god-harden.md +3 -3
- package/skills/god-hotfix.md +1 -1
- package/skills/god-init.md +14 -10
- package/skills/god-launch.md +14 -12
- package/skills/god-lifecycle.md +2 -1
- package/skills/god-mode.md +5 -4
- package/skills/god-observe.md +15 -13
- package/skills/god-pause-work.md +2 -2
- package/skills/god-prd.md +5 -4
- package/skills/god-quick.md +1 -1
- package/skills/god-repo.md +1 -1
- package/skills/god-resume-work.md +5 -4
- package/skills/god-roadmap-update.md +1 -1
- package/skills/god-roadmap.md +1 -1
- package/skills/god-rollback.md +1 -1
- package/skills/god-skip.md +2 -2
- package/skills/god-stack.md +1 -1
- package/skills/god-standards.md +1 -1
- package/skills/god-status.md +2 -2
- package/skills/god-story.md +1 -1
- package/skills/god-sync.md +2 -2
- package/workflows/bluefield-arc.yaml +2 -4
- package/workflows/brownfield-arc.yaml +2 -4
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
name: god-resume-work
|
|
3
3
|
description: |
|
|
4
4
|
Resume work from a previous session. Reads .godpowers/HANDOFF.md if it
|
|
5
|
-
exists, otherwise re-derives state from
|
|
6
|
-
from the last
|
|
5
|
+
exists, otherwise re-derives state from state.json and disk, with
|
|
6
|
+
PROGRESS.md as a generated legacy fallback. Continues from the last
|
|
7
|
+
incomplete sub-step.
|
|
7
8
|
|
|
8
9
|
Triggers on: "god resume", "/god-resume-work", "resume work", "continue",
|
|
9
10
|
"pick up where I left off"
|
|
@@ -24,9 +25,9 @@ Load context and continue.
|
|
|
24
25
|
- Confirm with user: "Pick up here?"
|
|
25
26
|
- If yes: route to the specific next action
|
|
26
27
|
|
|
27
|
-
3. If only PROGRESS.md exists:
|
|
28
|
+
3. If only generated legacy PROGRESS.md exists:
|
|
28
29
|
- Run the same logic as /god-next
|
|
29
|
-
- Suggest the next command based on state
|
|
30
|
+
- Suggest the next command based on re-derived state
|
|
30
31
|
|
|
31
32
|
4. After resuming, archive HANDOFF.md:
|
|
32
33
|
- Move to `.godpowers/archive/HANDOFF-[timestamp].md` so the trail is preserved
|
|
@@ -43,7 +43,7 @@ Agent updates the roadmap and re-validates have-nots.
|
|
|
43
43
|
After god-roadmap-updater returns:
|
|
44
44
|
1. Verify ROADMAP.md still passes have-nots (R-01 through R-07)
|
|
45
45
|
2. Verify Roadmap Changelog section is appended
|
|
46
|
-
3.
|
|
46
|
+
3. If the update changes tracked roadmap completion, run `npx godpowers state advance --step=roadmap --status=done --project=.` or the owning command wrapper.
|
|
47
47
|
|
|
48
48
|
## On Completion
|
|
49
49
|
|
package/skills/god-roadmap.md
CHANGED
|
@@ -24,7 +24,7 @@ After god-roadmapper returns:
|
|
|
24
24
|
1. Verify ROADMAP.md exists on disk
|
|
25
25
|
2. Spawn god-auditor to verify have-nots pass
|
|
26
26
|
3. Run `npx godpowers gate --tier=roadmap --project=.` and do not proceed on a non-zero exit
|
|
27
|
-
4.
|
|
27
|
+
4. Run `npx godpowers state advance --step=roadmap --status=done --project=.` to update `state.json` and regenerate `.godpowers/PROGRESS.md`.
|
|
28
28
|
|
|
29
29
|
## On Completion
|
|
30
30
|
|
package/skills/god-rollback.md
CHANGED
|
@@ -38,7 +38,7 @@ Examples:
|
|
|
38
38
|
5. Mark each tier `status: pending` in state.json.
|
|
39
39
|
6. Append a `op:rollback` event to the reflog with the full closure.
|
|
40
40
|
7. Truncate the linkage map entries belonging to rolled-back artifacts.
|
|
41
|
-
8.
|
|
41
|
+
8. Regenerate managed state views from `state.json`.
|
|
42
42
|
|
|
43
43
|
## Difference from /god-undo
|
|
44
44
|
|
package/skills/god-skip.md
CHANGED
|
@@ -32,7 +32,7 @@ The reason is required. Skips without reason are rejected.
|
|
|
32
32
|
mandatory; e.g. /god-mode rejects skipping the final /god-sync).
|
|
33
33
|
3. Mark the sub-step `status: skipped` in state.json with `skipped-reason`.
|
|
34
34
|
4. Append a `op:skip` event to the reflog.
|
|
35
|
-
5.
|
|
35
|
+
5. Regenerate the managed progress view from `state.json` so the user sees the skip annotated.
|
|
36
36
|
|
|
37
37
|
## What skip does NOT do
|
|
38
38
|
|
|
@@ -59,7 +59,7 @@ Reverse a previous skip. Marks the sub-step `pending` again.
|
|
|
59
59
|
|
|
60
60
|
## Implementation
|
|
61
61
|
|
|
62
|
-
Built-in. Reads
|
|
62
|
+
Built-in. Reads and writes `state.json`, regenerates the managed progress view, and appends to reflog.
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
## Locking
|
package/skills/god-stack.md
CHANGED
|
@@ -22,7 +22,7 @@ Spawn the **god-stack-selector** agent in a fresh context via the host platform'
|
|
|
22
22
|
After god-stack-selector returns:
|
|
23
23
|
1. Verify DECISION.md exists on disk
|
|
24
24
|
2. Run `npx godpowers gate --tier=stack --project=.` and do not proceed on a non-zero exit
|
|
25
|
-
3.
|
|
25
|
+
3. Run `npx godpowers state advance --step=stack --status=done --project=.` to update `state.json` and regenerate `.godpowers/PROGRESS.md`.
|
|
26
26
|
|
|
27
27
|
## On Completion
|
|
28
28
|
|
package/skills/god-standards.md
CHANGED
|
@@ -22,7 +22,7 @@ Run quality gate check on an artifact.
|
|
|
22
22
|
|
|
23
23
|
## Process
|
|
24
24
|
|
|
25
|
-
1. Identify the artifact to check
|
|
25
|
+
1. Identify the artifact to check, using the user-provided path first, then `state.json`, then generated progress view fallback.
|
|
26
26
|
2. Resolve the Godpowers runtime root: use `<projectRoot>` when `<projectRoot>/lib/router.js` exists, otherwise use the installed bundle at `<tool-config-dir>/godpowers-runtime`
|
|
27
27
|
3. Look up the routing for the relevant tier (`<runtimeRoot>/lib/router.js` getStandards)
|
|
28
28
|
4. Spawn god-standards-check in fresh context with:
|
package/skills/god-status.md
CHANGED
|
@@ -28,11 +28,11 @@ proactive checks, blockers, planning visibility, and the next action first.
|
|
|
28
28
|
|
|
29
29
|
## Process
|
|
30
30
|
|
|
31
|
-
1. Check whether `.godpowers/
|
|
31
|
+
1. Check whether `.godpowers/state.json` exists. If it does not, treat `.godpowers/PROGRESS.md` only as a generated legacy fallback; if neither exists, report that no Godpowers project was found and suggest `/god-init`.
|
|
32
32
|
2. Resolve the runtime root and load `<runtimeRoot>/lib/dashboard.js`.
|
|
33
33
|
3. Call `dashboard.compute(projectRoot)` and render with `dashboard.render(result)`.
|
|
34
34
|
4. Prefer the MCP `status` tool when it is available, and fall back to the CLI or runtime module when it is not.
|
|
35
|
-
5. Use PROGRESS.md only as fallback or legacy explanation when state.json is missing.
|
|
35
|
+
5. Use `.godpowers/PROGRESS.md` only as generated fallback or legacy explanation when state.json is missing.
|
|
36
36
|
6. Scan canonical artifact paths for PRD, design, architecture, roadmap, stack, repo, build, deploy, observe, launch, harden, sync, checkpoint, and requirements evidence.
|
|
37
37
|
7. Compare disk state to recorded state and flag phantom resume or untracked work.
|
|
38
38
|
8. Offer `/god-repair` when recorded state and disk evidence conflict.
|
package/skills/god-story.md
CHANGED
|
@@ -23,7 +23,7 @@ Add a new story under `.godpowers/stories/<feature-slug>/`.
|
|
|
23
23
|
|
|
24
24
|
## Process
|
|
25
25
|
|
|
26
|
-
1. Verify `.godpowers/
|
|
26
|
+
1. Verify `.godpowers/state.json` exists. If not: `/god-init` first.
|
|
27
27
|
2. Spawn `god-storyteller` agent in fresh context.
|
|
28
28
|
3. Storyteller reads PRD/ARCH for context, validates user-story format,
|
|
29
29
|
writes the file.
|
package/skills/god-sync.md
CHANGED
|
@@ -110,8 +110,8 @@ Updated:
|
|
|
110
110
|
- prd/PRD.md (added requirement P-MUST-12)
|
|
111
111
|
- arch/ARCH.md (added ADR-007)
|
|
112
112
|
- roadmap/ROADMAP.md (Milestone 2 marked complete)
|
|
113
|
-
-
|
|
114
|
-
-
|
|
113
|
+
- state.json tier-3.deploy (new env var)
|
|
114
|
+
- state.json tier-3.observe (new SLO)
|
|
115
115
|
- backlog/BACKLOG.md (entry resolved)
|
|
116
116
|
- todos/TODOS.md (1 todo marked done)
|
|
117
117
|
- threads/auth-migration.md (progress note)
|
|
@@ -56,10 +56,8 @@ jobs:
|
|
|
56
56
|
- .godpowers/roadmap/ROADMAP.md
|
|
57
57
|
- .godpowers/stack/DECISION.md
|
|
58
58
|
- .godpowers/repo/AUDIT.md
|
|
59
|
-
- .godpowers/
|
|
60
|
-
- .godpowers/
|
|
61
|
-
- .godpowers/observe/STATE.md
|
|
62
|
-
- .godpowers/launch/STATE.md
|
|
59
|
+
- .godpowers/state.json
|
|
60
|
+
- .godpowers/build/PLAN.md
|
|
63
61
|
- .godpowers/harden/FINDINGS.md
|
|
64
62
|
|
|
65
63
|
prd:
|
|
@@ -72,10 +72,8 @@ jobs:
|
|
|
72
72
|
- .godpowers/roadmap/ROADMAP.md
|
|
73
73
|
- .godpowers/stack/DECISION.md
|
|
74
74
|
- .godpowers/repo/AUDIT.md
|
|
75
|
-
- .godpowers/
|
|
76
|
-
- .godpowers/
|
|
77
|
-
- .godpowers/observe/STATE.md
|
|
78
|
-
- .godpowers/launch/STATE.md
|
|
75
|
+
- .godpowers/state.json
|
|
76
|
+
- .godpowers/build/PLAN.md
|
|
79
77
|
- .godpowers/harden/FINDINGS.md
|
|
80
78
|
|
|
81
79
|
steady-state-handoff:
|