godpowers 2.3.1 → 2.4.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.
Files changed (146) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +19 -7
  3. package/RELEASE.md +30 -39
  4. package/SKILL.md +26 -3
  5. package/bin/install.js +6 -0
  6. package/lib/README.md +3 -1
  7. package/lib/command-families.js +375 -0
  8. package/lib/feature-awareness.js +1 -1
  9. package/lib/release-surface-sync.js +4 -1
  10. package/lib/route-quality-sync.js +41 -13
  11. package/lib/router.js +32 -0
  12. package/lib/workflow-helper-groups.js +50 -0
  13. package/lib/workflow-runner.js +6 -1
  14. package/package.json +1 -1
  15. package/routing/god-add-backlog.yaml +1 -0
  16. package/routing/god-add-tests.yaml +1 -0
  17. package/routing/god-add-todo.yaml +1 -0
  18. package/routing/god-agent-audit.yaml +6 -0
  19. package/routing/god-arch.yaml +1 -0
  20. package/routing/god-archaeology.yaml +1 -0
  21. package/routing/god-audit.yaml +1 -0
  22. package/routing/god-automation-setup.yaml +1 -0
  23. package/routing/god-automation-status.yaml +1 -0
  24. package/routing/god-budget.yaml +6 -0
  25. package/routing/god-build-agent.yaml +1 -0
  26. package/routing/god-build.yaml +1 -0
  27. package/routing/god-cache-clear.yaml +6 -0
  28. package/routing/god-check-todos.yaml +6 -0
  29. package/routing/god-context-scan.yaml +6 -0
  30. package/routing/god-context.yaml +1 -0
  31. package/routing/god-cost.yaml +6 -0
  32. package/routing/god-debug.yaml +1 -0
  33. package/routing/god-deploy.yaml +1 -0
  34. package/routing/god-design-impact.yaml +6 -0
  35. package/routing/god-design.yaml +1 -0
  36. package/routing/god-discuss.yaml +12 -0
  37. package/routing/god-docs.yaml +1 -0
  38. package/routing/god-doctor.yaml +6 -0
  39. package/routing/god-dogfood.yaml +1 -0
  40. package/routing/god-explore.yaml +1 -0
  41. package/routing/god-export-otel.yaml +1 -0
  42. package/routing/god-extension-add.yaml +6 -0
  43. package/routing/god-extension-info.yaml +6 -0
  44. package/routing/god-extension-list.yaml +6 -0
  45. package/routing/god-extension-remove.yaml +6 -0
  46. package/routing/god-extension-scaffold.yaml +1 -0
  47. package/routing/god-extract-learnings.yaml +1 -0
  48. package/routing/god-fast.yaml +1 -0
  49. package/routing/god-feature.yaml +1 -0
  50. package/routing/god-graph.yaml +6 -0
  51. package/routing/god-harden.yaml +1 -0
  52. package/routing/god-help.yaml +6 -0
  53. package/routing/god-hotfix.yaml +1 -0
  54. package/routing/god-hygiene.yaml +1 -0
  55. package/routing/god-init.yaml +1 -0
  56. package/routing/god-intel.yaml +1 -0
  57. package/routing/god-launch.yaml +6 -0
  58. package/routing/god-lifecycle.yaml +12 -0
  59. package/routing/god-link.yaml +1 -0
  60. package/routing/god-lint.yaml +1 -0
  61. package/routing/god-list-assumptions.yaml +6 -0
  62. package/routing/god-locate.yaml +6 -0
  63. package/routing/god-logs.yaml +12 -0
  64. package/routing/god-map-codebase.yaml +1 -0
  65. package/routing/god-metrics.yaml +6 -0
  66. package/routing/god-migrate.yaml +1 -0
  67. package/routing/god-mode.yaml +6 -0
  68. package/routing/god-next.yaml +12 -0
  69. package/routing/god-note.yaml +1 -0
  70. package/routing/god-observe.yaml +1 -0
  71. package/routing/god-org-context.yaml +1 -0
  72. package/routing/god-party.yaml +1 -0
  73. package/routing/god-pause-work.yaml +6 -0
  74. package/routing/god-plant-seed.yaml +1 -0
  75. package/routing/god-postmortem.yaml +1 -0
  76. package/routing/god-pr-branch.yaml +1 -0
  77. package/routing/god-prd.yaml +1 -0
  78. package/routing/god-preflight.yaml +1 -0
  79. package/routing/god-progress.yaml +7 -0
  80. package/routing/god-quick.yaml +1 -0
  81. package/routing/god-reconcile.yaml +6 -0
  82. package/routing/god-reconstruct.yaml +1 -0
  83. package/routing/god-redo.yaml +6 -0
  84. package/routing/god-refactor.yaml +1 -0
  85. package/routing/god-repair.yaml +1 -0
  86. package/routing/god-repo.yaml +1 -0
  87. package/routing/god-restore.yaml +1 -0
  88. package/routing/god-resume-work.yaml +6 -0
  89. package/routing/god-review-changes.yaml +1 -0
  90. package/routing/god-review.yaml +1 -0
  91. package/routing/god-roadmap-check.yaml +6 -0
  92. package/routing/god-roadmap-update.yaml +1 -0
  93. package/routing/god-roadmap.yaml +1 -0
  94. package/routing/god-rollback.yaml +1 -0
  95. package/routing/god-scan.yaml +1 -0
  96. package/routing/god-set-profile.yaml +1 -0
  97. package/routing/god-settings.yaml +1 -0
  98. package/routing/god-skip.yaml +1 -0
  99. package/routing/god-smite.yaml +1 -0
  100. package/routing/god-spike.yaml +1 -0
  101. package/routing/god-sprint.yaml +6 -0
  102. package/routing/god-stack.yaml +1 -0
  103. package/routing/god-standards.yaml +1 -0
  104. package/routing/god-status.yaml +1 -0
  105. package/routing/god-stories.yaml +1 -0
  106. package/routing/god-story-build.yaml +1 -0
  107. package/routing/god-story-close.yaml +1 -0
  108. package/routing/god-story-verify.yaml +1 -0
  109. package/routing/god-story.yaml +1 -0
  110. package/routing/god-suite-init.yaml +1 -0
  111. package/routing/god-suite-patch.yaml +1 -0
  112. package/routing/god-suite-release.yaml +1 -0
  113. package/routing/god-suite-status.yaml +6 -0
  114. package/routing/god-suite-sync.yaml +1 -0
  115. package/routing/god-sync.yaml +1 -0
  116. package/routing/god-tech-debt.yaml +1 -0
  117. package/routing/god-test-extension.yaml +6 -0
  118. package/routing/god-test-runtime.yaml +1 -0
  119. package/routing/god-thread.yaml +6 -0
  120. package/routing/god-trace.yaml +6 -0
  121. package/routing/god-undo.yaml +1 -0
  122. package/routing/god-update-deps.yaml +1 -0
  123. package/routing/god-upgrade.yaml +1 -0
  124. package/routing/god-version.yaml +1 -0
  125. package/routing/god-workstream.yaml +6 -0
  126. package/routing/god.yaml +6 -0
  127. package/schema/routing.v1.json +62 -4
  128. package/schema/workflow.v1.json +14 -0
  129. package/skills/god-doctor.md +1 -1
  130. package/skills/god-help.md +38 -3
  131. package/skills/god-next.md +19 -2
  132. package/skills/god-status.md +13 -0
  133. package/skills/god-sync.md +1 -1
  134. package/skills/god.md +53 -1
  135. package/workflows/audit-only.yaml +2 -2
  136. package/workflows/bluefield-arc.yaml +3 -7
  137. package/workflows/brownfield-arc.yaml +4 -8
  138. package/workflows/deps-audit.yaml +2 -5
  139. package/workflows/docs-arc.yaml +2 -2
  140. package/workflows/feature-arc.yaml +3 -6
  141. package/workflows/full-arc.yaml +5 -11
  142. package/workflows/hotfix-arc.yaml +3 -6
  143. package/workflows/hygiene.yaml +2 -2
  144. package/workflows/migration-arc.yaml +3 -5
  145. package/workflows/postmortem.yaml +2 -5
  146. package/workflows/refactor-arc.yaml +3 -6
@@ -93,7 +93,7 @@ Sync status:
93
93
  + source-sync: <written legacy planning/BMAD/Superpowers companion files, no-op, or skipped>
94
94
  + repo-doc-sync: <refreshed README badges/counts, recommended god-docs-writer, or no-op>
95
95
  + repo-surface-sync: <checked routes/package/agents/workflows/extensions, recommended scoped agents, or no-op>
96
- + route-quality-sync: <checked atomic spawns and contextual exits, no-op, or recommended god-auditor>
96
+ + route-quality-sync: <checked atomic spawns and typed route outcomes, no-op, or recommended god-auditor>
97
97
  + recipe-coverage-sync: <checked high-frequency intent recipes, no-op, or recommended god-roadmap-reconciler>
98
98
  + release-surface-sync: <checked badges/changelog/release/package guards, no-op, or recommended god-docs-writer>
99
99
  + pillars-sync: <updated N pillar files, no-op, or proposed>
package/skills/god.md CHANGED
@@ -22,7 +22,7 @@ Before calling runtime modules, resolve the Godpowers runtime root:
22
22
 
23
23
  1. If `<projectRoot>/lib/recipes.js` exists, use the repository checkout runtime at `<projectRoot>`.
24
24
  2. Otherwise use the installed bundle at `<tool-config-dir>/godpowers-runtime`, where `<tool-config-dir>` is the directory that contains this installed skill, such as `~/.claude`, `~/.codex`, `~/.cursor`, `~/.windsurf`, or `~/.gemini`.
25
- 3. Load recipes from `<runtimeRoot>/lib/recipes.js`, routing from `<runtimeRoot>/lib/router.js`, and recipe YAML from `<runtimeRoot>/routing/recipes/`.
25
+ 3. Load recipes from `<runtimeRoot>/lib/recipes.js`, routing from `<runtimeRoot>/lib/router.js`, command families from `<runtimeRoot>/lib/command-families.js`, and recipe YAML from `<runtimeRoot>/routing/recipes/`.
26
26
 
27
27
  ## Why this exists
28
28
 
@@ -41,6 +41,57 @@ This skill complements `/god-next` rather than replacing it:
41
41
  | `/god-init` | "Start a project here" |
42
42
  | `/god-mode` | "Run the whole project run autonomously" |
43
43
 
44
+ ## Command family UX
45
+
46
+ Before showing individual leaf commands, use the family map from
47
+ `lib/command-families.js`:
48
+
49
+ | Family | User question |
50
+ |--------|---------------|
51
+ | start | "How do I begin or import this project?" |
52
+ | continue | "Where are we and what should happen next?" |
53
+ | build | "How big is this work and how should it run?" |
54
+ | verify | "What is the cheapest sufficient check?" |
55
+ | operate | "How do we run, observe, harden, or fix production?" |
56
+ | maintain | "How do we keep docs, deps, routes, and context current?" |
57
+ | capture | "Where should this thought, task, backlog item, or seed go?" |
58
+ | recover | "How do we repair or walk back state?" |
59
+ | extend | "How do we install or author skill packs?" |
60
+ | collaborate | "How do we coordinate people, workstreams, suites, or PRs?" |
61
+ | configure | "How do we tune settings, budgets, cache, profiles, or help?" |
62
+
63
+ Use the classifiers from `lib/command-families.js` when intent is about
64
+ capture, work size, verification, or duplicate trigger phrases. Keep every
65
+ leaf command available as a direct shortcut.
66
+
67
+ ### Capture ladder
68
+
69
+ - Save only: `/god-note`
70
+ - Actionable soon: `/god-add-todo`
71
+ - Optional later: `/god-add-backlog`
72
+ - Conditional future trigger: `/god-plant-seed`
73
+
74
+ ### Work size ladder
75
+
76
+ - Trivial direct edit: `/god-fast`
77
+ - Small TDD task: `/god-quick`
78
+ - Fine-grained planned slice: `/god-story`
79
+ - Existing-product feature: `/god-feature`
80
+ - Current milestone work: `/god-build`
81
+ - Non-urgent bug: `/god-debug`
82
+ - Production outage: `/god-hotfix`
83
+
84
+ ### Verification ladder
85
+
86
+ - Mechanical artifact check: `/god-lint`
87
+ - Artifact quality gate: `/god-standards`
88
+ - Code diff review: `/god-review`
89
+ - Live behavior check: `/god-test-runtime`
90
+ - Artifact set score: `/god-audit`
91
+ - Ongoing health check: `/god-hygiene`
92
+ - Existing repo intake: `/god-preflight`
93
+ - Release fixture readiness: `/god-dogfood`
94
+
44
95
  ## Process
45
96
 
46
97
  ### Step 1: parse the user's intent
@@ -64,6 +115,7 @@ text empty?
64
115
  also call <runtimeRoot>/lib/router.js suggestNext(projectRoot) for structural next
65
116
 
66
117
  no -> intent-driven: call <runtimeRoot>/lib/recipes.js matchIntent(text, projectRoot)
118
+ call <runtimeRoot>/lib/command-families.js classifiers for capture, work size, verification, and trigger precedence hints
67
119
  take top 1-3 matches by score
68
120
  if highest score >= 10 (exact phrase match): propose directly
69
121
  if highest score 5-9 (all-words match): propose with confirmation
@@ -25,9 +25,9 @@ jobs:
25
25
  tier: 0
26
26
  needs: audit-score
27
27
  uses: god-orchestrator@^1.0.0
28
+ local-helper-groups:
29
+ - repo-maintenance-closeout
28
30
  local-helpers:
29
- - repo-doc-sync
30
- - repo-surface-sync
31
31
  - host-capabilities
32
32
  with:
33
33
  action: audit-closeout
@@ -133,13 +133,9 @@ jobs:
133
133
  tier: 0
134
134
  needs: launch
135
135
  uses: god-orchestrator@^1.0.0
136
- local-helpers:
137
- - feature-awareness
138
- - repo-doc-sync
139
- - repo-surface-sync
140
- - host-capabilities
141
- - checkpoint-sync
142
- - pillars-sync-plan
136
+ local-helper-groups:
137
+ - runtime-awareness-closeout
138
+ - standard-closeout
143
139
  with:
144
140
  action: final-sync
145
141
  dashboard: action-brief
@@ -89,14 +89,10 @@ jobs:
89
89
  tier: 0
90
90
  needs: steady-state-handoff
91
91
  uses: god-orchestrator@^1.0.0
92
- local-helpers:
93
- - feature-awareness
94
- - source-sync-back
95
- - repo-doc-sync
96
- - repo-surface-sync
97
- - host-capabilities
98
- - checkpoint-sync
99
- - pillars-sync-plan
92
+ local-helper-groups:
93
+ - runtime-awareness-closeout
94
+ - source-sync-closeout
95
+ - standard-closeout
100
96
  with:
101
97
  action: final-sync
102
98
  dashboard: action-brief
@@ -59,11 +59,8 @@ jobs:
59
59
  tier: 0
60
60
  needs: [deps-patch-batch, deps-minor-per-package, deps-major-handoff]
61
61
  uses: god-orchestrator@^1.0.0
62
- local-helpers:
63
- - repo-doc-sync
64
- - repo-surface-sync
65
- - checkpoint-sync
66
- - pillars-sync-plan
62
+ local-helper-groups:
63
+ - standard-closeout
67
64
  with:
68
65
  action: final-sync
69
66
  dashboard: action-brief
@@ -18,9 +18,9 @@ jobs:
18
18
  mechanical-doc-sync:
19
19
  tier: 0
20
20
  uses: god-orchestrator@^1.0.0
21
+ local-helper-groups:
22
+ - repo-maintenance-closeout
21
23
  local-helpers:
22
- - repo-doc-sync
23
- - repo-surface-sync
24
24
  - host-capabilities
25
25
  with:
26
26
  action: local-helper-sync
@@ -62,12 +62,9 @@ jobs:
62
62
  tier: 0
63
63
  needs: feature-soft-launch
64
64
  uses: god-orchestrator@^1.0.0
65
- local-helpers:
66
- - source-sync-back
67
- - repo-doc-sync
68
- - repo-surface-sync
69
- - checkpoint-sync
70
- - pillars-sync-plan
65
+ local-helper-groups:
66
+ - source-sync-closeout
67
+ - standard-closeout
71
68
  with:
72
69
  action: final-sync
73
70
  dashboard: action-brief
@@ -107,17 +107,11 @@ jobs:
107
107
  tier: 0
108
108
  needs: launch
109
109
  uses: god-orchestrator@^1.0.0
110
- local-helpers:
111
- - feature-awareness
112
- - source-sync-back
113
- - repo-doc-sync
114
- - repo-surface-sync
115
- - route-quality-sync
116
- - recipe-coverage-sync
117
- - release-surface-sync
118
- - host-capabilities
119
- - checkpoint-sync
120
- - pillars-sync-plan
110
+ local-helper-groups:
111
+ - runtime-awareness-closeout
112
+ - source-sync-closeout
113
+ - standard-closeout
114
+ - release-readiness-closeout
121
115
  with:
122
116
  action: final-sync
123
117
  dashboard: action-brief
@@ -62,12 +62,9 @@ jobs:
62
62
  tier: 0
63
63
  needs: hotfix-postmortem-trigger
64
64
  uses: god-orchestrator@^1.0.0
65
- local-helpers:
66
- - source-sync-back
67
- - repo-doc-sync
68
- - repo-surface-sync
69
- - checkpoint-sync
70
- - pillars-sync-plan
65
+ local-helper-groups:
66
+ - source-sync-closeout
67
+ - standard-closeout
71
68
  with:
72
69
  action: final-sync
73
70
  dashboard: action-brief
@@ -38,9 +38,9 @@ jobs:
38
38
  tier: 0
39
39
  needs: [hygiene-audit, hygiene-deps, hygiene-docs]
40
40
  uses: god-orchestrator@^1.0.0
41
+ local-helper-groups:
42
+ - repo-maintenance-closeout
41
43
  local-helpers:
42
- - repo-doc-sync
43
- - repo-surface-sync
44
44
  - host-capabilities
45
45
  - checkpoint-sync
46
46
  with:
@@ -76,13 +76,11 @@ jobs:
76
76
  tier: 0
77
77
  needs: migration-contract
78
78
  uses: god-orchestrator@^1.0.0
79
+ local-helper-groups:
80
+ - source-sync-closeout
81
+ - standard-closeout
79
82
  local-helpers:
80
- - source-sync-back
81
- - repo-doc-sync
82
- - repo-surface-sync
83
83
  - host-capabilities
84
- - checkpoint-sync
85
- - pillars-sync-plan
86
84
  with:
87
85
  action: final-sync
88
86
  dashboard: action-brief
@@ -34,11 +34,8 @@ jobs:
34
34
  tier: 0
35
35
  needs: postmortem-runbook-update
36
36
  uses: god-orchestrator@^1.0.0
37
- local-helpers:
38
- - repo-doc-sync
39
- - repo-surface-sync
40
- - checkpoint-sync
41
- - pillars-sync-plan
37
+ local-helper-groups:
38
+ - standard-closeout
42
39
  with:
43
40
  action: final-sync
44
41
  dashboard: action-brief
@@ -62,12 +62,9 @@ jobs:
62
62
  tier: 0
63
63
  needs: refactor-deploy
64
64
  uses: god-orchestrator@^1.0.0
65
- local-helpers:
66
- - source-sync-back
67
- - repo-doc-sync
68
- - repo-surface-sync
69
- - checkpoint-sync
70
- - pillars-sync-plan
65
+ local-helper-groups:
66
+ - source-sync-closeout
67
+ - standard-closeout
71
68
  with:
72
69
  action: final-sync
73
70
  dashboard: action-brief