godpowers 1.6.21 → 1.6.23

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 (72) hide show
  1. package/AGENTS.md +6 -0
  2. package/CHANGELOG.md +75 -0
  3. package/INSPIRATION.md +6 -0
  4. package/README.md +25 -9
  5. package/RELEASE.md +50 -58
  6. package/SKILL.md +24 -4
  7. package/agents/god-orchestrator.md +18 -3
  8. package/agents/god-reconciler.md +52 -5
  9. package/agents/god-updater.md +84 -2
  10. package/bin/install.js +81 -1
  11. package/fixtures/dogfood/extension-authoring/manifest.json +13 -0
  12. package/fixtures/dogfood/half-migrated-gsd/.planning/PROJECT.md +5 -0
  13. package/fixtures/dogfood/half-migrated-gsd/.planning/REQUIREMENTS.md +5 -0
  14. package/fixtures/dogfood/half-migrated-gsd/.planning/ROADMAP.md +5 -0
  15. package/fixtures/dogfood/half-migrated-gsd/manifest.json +16 -0
  16. package/fixtures/dogfood/host-degraded/manifest.json +5 -0
  17. package/fixtures/dogfood/host-full/home/.codex/agents/god-orchestrator.toml +2 -0
  18. package/fixtures/dogfood/host-full/manifest.json +5 -0
  19. package/fixtures/dogfood/suite-release-dry-run/.godpowers/suite-config.yaml +9 -0
  20. package/fixtures/dogfood/suite-release-dry-run/manifest.json +7 -0
  21. package/fixtures/dogfood/suite-release-dry-run/repo-a/package.json +4 -0
  22. package/fixtures/dogfood/suite-release-dry-run/repo-b/package.json +7 -0
  23. package/hooks/pre-tool-use.sh +13 -1
  24. package/hooks/session-start.sh +12 -0
  25. package/lib/README.md +3 -0
  26. package/lib/dashboard.js +30 -1
  27. package/lib/dogfood-runner.js +193 -0
  28. package/lib/events.js +6 -0
  29. package/lib/extension-authoring.js +154 -0
  30. package/lib/feature-awareness.js +30 -0
  31. package/lib/have-nots-validator.js +2 -2
  32. package/lib/host-capabilities.js +125 -0
  33. package/lib/release-surface-sync.js +6 -0
  34. package/lib/repo-surface-sync.js +58 -0
  35. package/lib/suite-state.js +90 -1
  36. package/lib/workflow-runner.js +4 -0
  37. package/package.json +5 -4
  38. package/references/HAVE-NOTS.md +16 -0
  39. package/references/orchestration/MODE-DETECTION.md +36 -3
  40. package/references/orchestration/README.md +5 -2
  41. package/references/planning/ROADMAP-ANTIPATTERNS.md +1 -1
  42. package/references/shared/ORCHESTRATORS.md +42 -11
  43. package/references/shared/README.md +4 -4
  44. package/routing/god-dogfood.yaml +35 -0
  45. package/schema/events.v1.json +9 -0
  46. package/schema/intent.v1.yaml.json +5 -1
  47. package/schema/recipe.v1.json +2 -1
  48. package/schema/routing.v1.json +20 -0
  49. package/schema/state.v1.json +51 -0
  50. package/schema/workflow.v1.json +31 -2
  51. package/skills/god-doctor.md +1 -1
  52. package/skills/god-dogfood.md +63 -0
  53. package/skills/god-mode.md +4 -1
  54. package/skills/god-reconcile.md +13 -4
  55. package/skills/god-version.md +2 -2
  56. package/templates/DOCS-UPDATE-LOG.md +14 -0
  57. package/templates/IMPORTED-CONTEXT.md +2 -0
  58. package/templates/INITIAL-FINDINGS.md +5 -0
  59. package/templates/PROGRESS.md +8 -0
  60. package/workflows/audit-only.yaml +12 -0
  61. package/workflows/bluefield-arc.yaml +16 -1
  62. package/workflows/brownfield-arc.yaml +17 -1
  63. package/workflows/deps-audit.yaml +13 -0
  64. package/workflows/docs-arc.yaml +23 -0
  65. package/workflows/feature-arc.yaml +14 -0
  66. package/workflows/full-arc.yaml +19 -0
  67. package/workflows/hotfix-arc.yaml +14 -0
  68. package/workflows/hygiene.yaml +6 -0
  69. package/workflows/migration-arc.yaml +15 -0
  70. package/workflows/postmortem.yaml +13 -0
  71. package/workflows/refactor-arc.yaml +14 -0
  72. package/workflows/spike.yaml +11 -0
@@ -286,10 +286,13 @@ Default. Skip the hygiene pass. Use when iterating quickly.
286
286
  ## Mandatory final sync
287
287
 
288
288
  Regardless of flags, `/god-mode` always runs `/god-sync` before declaring
289
- complete. This ensures all 14 artifact categories are in a consistent state:
289
+ complete. This ensures all 14 core artifact categories and local sync surfaces
290
+ are in a consistent state:
290
291
 
291
292
  - 10 Tier 0-3 artifacts validated (have-nots passing)
292
293
  - 4 capture artifacts noted as `not-yet-created` (graceful handling)
294
+ - repo-doc, repo-surface, feature awareness, source sync-back, host capability,
295
+ checkpoint, Pillars, and context refresh statuses reported
293
296
  - SYNC-LOG.md updated with project-run completion entry
294
297
  - state.json reflects final tier statuses
295
298
 
@@ -3,8 +3,10 @@ name: god-reconcile
3
3
  description: |
4
4
  Comprehensive reconciliation across all impacted artifacts before doing
5
5
  feature work. Checks PRD, ARCH, ROADMAP, STACK, REPO, DEPLOY, OBSERVE,
6
- HARDEN, LAUNCH, BACKLOG, SEEDS, TODOS, THREADS in parallel. Replaces
7
- /god-roadmap-check (kept for back-compat; this is the comprehensive version).
6
+ HARDEN, LAUNCH, BACKLOG, SEEDS, TODOS, THREADS, repository documentation,
7
+ repository surface, runtime feature awareness, source-system sync-back, and
8
+ host capabilities in parallel. Replaces /god-roadmap-check (kept for
9
+ back-compat; this is the comprehensive version).
8
10
 
9
11
  Triggers on: "god reconcile", "/god-reconcile", "check all", "full check",
10
12
  "where does this fit", "what does this touch"
@@ -35,7 +37,7 @@ User runs `/god-reconcile` with an intent description. Useful for:
35
37
  ## Verification
36
38
 
37
39
  After god-reconciler returns:
38
- 1. Verify all 13 artifact statuses are reported (no silent skips)
40
+ 1. Verify all core artifact and runtime surface statuses are reported (no silent skips)
39
41
  2. Display structured verdict to user
40
42
  3. Present recommended sequence (preflight + main work + post-work)
41
43
  4. Await user decision
@@ -69,6 +71,13 @@ Capture:
69
71
  TODOS: [status] [match if any]
70
72
  THREADS: [status] [match if any]
71
73
 
74
+ Runtime and repository surfaces:
75
+ REPO DOCS: [fresh | needs-mechanical-sync | needs-docs-writer]
76
+ SURFACE: [fresh | needs-surface-sync | needs-safe-fix | needs-human-review]
77
+ FEATURES: [fresh | needs-awareness-refresh | needs-migration-judgment]
78
+ SOURCE: [not-applicable | fresh | needs-sync-back | blocked-by-conflict]
79
+ HOST: [full | degraded | unknown]
80
+
72
81
  Recommended sequence:
73
82
  Preflight: [/god-redo prd, /god-arch delta-only]
74
83
  Main work: [/god-feature scoped to Milestone 2]
@@ -86,7 +95,7 @@ Recommended: [one option and why]
86
95
 
87
96
  | | /god-roadmap-check | /god-reconcile |
88
97
  |---|---|---|
89
- | Scope | ROADMAP only | All 13 artifacts |
98
+ | Scope | ROADMAP only | Core artifacts plus runtime and repository surfaces |
90
99
  | Use | Quick check | Comprehensive |
91
100
  | Auto-invoked | by feature-addition recipes (legacy) | by feature-addition recipes (preferred) |
92
101
  | Replaces | -- | /god-roadmap-check (kept for back-compat) |
@@ -14,9 +14,9 @@ Print version and a short capability summary.
14
14
  ## Output
15
15
 
16
16
  ```
17
- Godpowers v1.6.19
17
+ Godpowers v1.6.23
18
18
  Install: /Users/.../.claude/ (matches package.json)
19
- Surface: 109 skills, 40 agents, 13 workflows, 40 recipes
19
+ Surface: 110 skills, 40 agents, 13 workflows, 40 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
  Feature awareness: planning-system migration, source-system sync-back, context refresh, dashboard status labels, repo documentation sync, repo surface sync
@@ -12,11 +12,21 @@ Owner: [user]
12
12
  - [doc path] - [last modified] - [brief description]
13
13
  - [...]
14
14
 
15
+ ### Template and workflow surfaces reviewed
16
+ - templates/ - [last modified] - [artifact templates affected by current behavior]
17
+ - docs/ - [last modified] - [user-facing runtime and command docs]
18
+ - routing/ - [last modified] - [recipes and command routing claims]
19
+ - workflows/ - [last modified] - [workflow metadata claims]
20
+
15
21
  ### Code surface
16
22
  - Public APIs: [count]
17
23
  - CLI commands: [count]
18
24
  - Env vars: [count]
19
25
  - Slash commands (if Godpowers project): [count]
26
+ - Specialist agents (if Godpowers project): [count]
27
+ - Workflows and recipes (if Godpowers project): [count]
28
+ - Host guarantee status: [full | degraded | unknown | not checked]
29
+ - Dogfood status: [not-run | pass | fail | not applicable]
20
30
 
21
31
  ## Verified Claims
22
32
 
@@ -37,6 +47,7 @@ For each existing doc, every claim was checked against code.
37
47
  ## Updated
38
48
 
39
49
  - [Doc path]: [what changed and why]
50
+ - [Template path]: [what changed and why]
40
51
 
41
52
  ## Created
42
53
 
@@ -62,3 +73,6 @@ Every code example in docs was actually run.
62
73
  - [ ] Three-label test passed
63
74
  - [ ] Diagrams reflect current state (not past or future)
64
75
  - [ ] Runbooks executed before commit
76
+ - [ ] Repo documentation sync ran or was intentionally deferred
77
+ - [ ] Repo surface sync ran or was intentionally deferred
78
+ - [ ] Host guarantee and dogfood claims match current runtime behavior
@@ -8,6 +8,7 @@
8
8
 
9
9
  - [DECISION] Source system: [GSD / Superpowers / BMAD / other].
10
10
  - [DECISION] Source path: [relative path].
11
+ - [DECISION] Managed sync-back path: [relative path or "not enabled"].
11
12
  - [HYPOTHESIS] Useful signal: [what this source appears to clarify].
12
13
  - [HYPOTHESIS] Confidence: [high / medium / low] because [brief reason].
13
14
 
@@ -39,3 +40,4 @@
39
40
  - [DECISION] This artifact must not override native Pillars files under `agents/*.md`.
40
41
  - [DECISION] If imported context conflicts with user intent or a Godpowers artifact, the Godpowers artifact wins and the conflict becomes an open question.
41
42
  - [DECISION] PRD, architecture, roadmap, and stack agents should cite imported signals as `[HYPOTHESIS]` until confirmed by Godpowers artifacts or the user.
43
+ - [DECISION] Sync-back must preserve source-system context through managed companion files or fences, not by overwriting arbitrary source-system artifacts.
@@ -29,6 +29,9 @@
29
29
  - [HYPOTHESIS] BMAD context found: [paths or "none detected"].
30
30
  - [HYPOTHESIS] Pillars context health: [present / partial / initialized].
31
31
  - [HYPOTHESIS] Imported context artifact: [.godpowers/prep/IMPORTED-CONTEXT.md or "not created"].
32
+ - [HYPOTHESIS] Source-system sync-back path: [managed path or "not applicable"].
33
+ - [HYPOTHESIS] Host capability guarantee: [full / degraded / unknown].
34
+ - [HYPOTHESIS] Dogfood scenario relevance: [migration / sync-back / host / extension / suite / not applicable].
32
35
 
33
36
  ## Planning Implications
34
37
 
@@ -54,3 +57,5 @@
54
57
  - [DECISION] If this artifact conflicts with `.godpowers/intent.yaml`, `.godpowers/state.json`, `PROGRESS.md`, or a completed Godpowers artifact, the Godpowers artifact wins.
55
58
  - [DECISION] Pillars files under `agents/*.md` are the native project context layer for Godpowers commands.
56
59
  - [DECISION] Imported GSD, Superpowers, and BMAD signals must be converted into Godpowers-native artifacts, not preserved as parallel state.
60
+ - [DECISION] Managed sync-back files may be written only by Godpowers-owned fences or companion paths.
61
+ - [DECISION] Host capability and dogfood findings inform routing, but completed Godpowers artifacts remain authoritative.
@@ -9,6 +9,8 @@ Started: [ISO 8601 timestamp]
9
9
  Last updated: [ISO 8601 timestamp]
10
10
  Progress: [0-100]% ([completed] of [total] steps complete; current step [n] of [total])
11
11
  Current: [Tier N label] / [sub-step label]
12
+ Host guarantees: [full | degraded | unknown]
13
+ Action brief: [next command or user decision; readiness; top attention item]
12
14
 
13
15
  ## Project Description
14
16
 
@@ -34,6 +36,12 @@ What happened:
34
36
 
35
37
  Next: [Next command or pause question]
36
38
 
39
+ Release readiness signals:
40
+ - Host capability status: [full | degraded | unknown | not checked]
41
+ - Dogfood status: [not-run | pass | fail | not applicable]
42
+ - Repo documentation sync: [fresh | drift detected | not checked]
43
+ - Repo surface sync: [fresh | drift detected | not checked]
44
+
37
45
  ## Tier Status
38
46
 
39
47
  | Tier | Sub-step | Status | Artifact | Updated |
@@ -20,3 +20,15 @@ jobs:
20
20
  uses: god-auditor@^1.0.0
21
21
  with:
22
22
  mode: full-audit
23
+
24
+ audit-closeout:
25
+ tier: 0
26
+ needs: audit-score
27
+ uses: god-orchestrator@^1.0.0
28
+ local-helpers:
29
+ - repo-doc-sync
30
+ - repo-surface-sync
31
+ - host-capabilities
32
+ with:
33
+ action: audit-closeout
34
+ dashboard: action-brief
@@ -14,7 +14,7 @@ metadata:
14
14
  greenfield simulation audit against those constraints, then runs a
15
15
  user-approved greenfieldification pass before the full project run.
16
16
 
17
- on: [/god-bluefield, /god-mode --bluefield]
17
+ on: [/god-mode --bluefield]
18
18
 
19
19
  jobs:
20
20
  org-context:
@@ -128,3 +128,18 @@ jobs:
128
128
  tier: 3
129
129
  needs: harden
130
130
  uses: god-launch-strategist@^1.0.0
131
+
132
+ final-sync:
133
+ tier: 0
134
+ needs: launch
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
143
+ with:
144
+ action: final-sync
145
+ dashboard: action-brief
@@ -14,7 +14,7 @@ metadata:
14
14
  audit, then a user-approved greenfieldification pass before normal project-run
15
15
  workflows.
16
16
 
17
- on: [/god-brownfield, /god-mode --brownfield]
17
+ on: [/god-mode --brownfield]
18
18
 
19
19
  jobs:
20
20
  preflight:
@@ -84,3 +84,19 @@ jobs:
84
84
  uses: god-orchestrator@^1.0.0
85
85
  with:
86
86
  action: brownfield-to-steady
87
+
88
+ final-sync:
89
+ tier: 0
90
+ needs: steady-state-handoff
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
100
+ with:
101
+ action: final-sync
102
+ dashboard: action-brief
@@ -54,3 +54,16 @@ jobs:
54
54
  action: route-to
55
55
  target: /god-upgrade
56
56
  per: major-version-bump
57
+
58
+ deps-sync:
59
+ tier: 0
60
+ needs: [deps-patch-batch, deps-minor-per-package, deps-major-handoff]
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
67
+ with:
68
+ action: final-sync
69
+ dashboard: action-brief
@@ -15,8 +15,31 @@ metadata:
15
15
  on: [/god-docs]
16
16
 
17
17
  jobs:
18
+ mechanical-doc-sync:
19
+ tier: 0
20
+ uses: god-orchestrator@^1.0.0
21
+ local-helpers:
22
+ - repo-doc-sync
23
+ - repo-surface-sync
24
+ - host-capabilities
25
+ with:
26
+ action: local-helper-sync
27
+ scope: docs-and-repo-surface
28
+
18
29
  docs-update:
19
30
  tier: 1
31
+ needs: mechanical-doc-sync
20
32
  uses: god-docs-writer@^1.0.0
21
33
  with:
22
34
  template: DOCS-UPDATE-LOG.md
35
+
36
+ docs-closure:
37
+ tier: 0
38
+ needs: docs-update
39
+ uses: god-orchestrator@^1.0.0
40
+ local-helpers:
41
+ - checkpoint-sync
42
+ - pillars-sync-plan
43
+ with:
44
+ action: docs-closeout
45
+ dashboard: action-brief
@@ -57,3 +57,17 @@ jobs:
57
57
  uses: god-launch-strategist@^1.0.0
58
58
  with:
59
59
  mode: feature-flag-rollout
60
+
61
+ feature-sync:
62
+ tier: 0
63
+ needs: feature-soft-launch
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
71
+ with:
72
+ action: final-sync
73
+ dashboard: action-brief
@@ -102,3 +102,22 @@ jobs:
102
102
  max-new-access-items-per-pause: 1
103
103
  origin-evidence-required: true
104
104
  no-inferred-domains: true
105
+
106
+ final-sync:
107
+ tier: 0
108
+ needs: launch
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
121
+ with:
122
+ action: final-sync
123
+ dashboard: action-brief
@@ -57,3 +57,17 @@ jobs:
57
57
  with:
58
58
  action: schedule-postmortem
59
59
  due: 48h
60
+
61
+ hotfix-sync:
62
+ tier: 0
63
+ needs: hotfix-postmortem-trigger
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
71
+ with:
72
+ action: final-sync
73
+ dashboard: action-brief
@@ -38,6 +38,12 @@ jobs:
38
38
  tier: 0
39
39
  needs: [hygiene-audit, hygiene-deps, hygiene-docs]
40
40
  uses: god-orchestrator@^1.0.0
41
+ local-helpers:
42
+ - repo-doc-sync
43
+ - repo-surface-sync
44
+ - host-capabilities
45
+ - checkpoint-sync
41
46
  with:
42
47
  action: compose-hygiene-report
43
48
  output: .godpowers/HYGIENE-REPORT.md
49
+ dashboard: action-brief
@@ -71,3 +71,18 @@ jobs:
71
71
  - uses: god-quality-reviewer@^1.0.0
72
72
  on-pass: commit-atomic
73
73
  skip-when: not-100pct-migrated
74
+
75
+ migration-sync:
76
+ tier: 0
77
+ needs: migration-contract
78
+ uses: god-orchestrator@^1.0.0
79
+ local-helpers:
80
+ - source-sync-back
81
+ - repo-doc-sync
82
+ - repo-surface-sync
83
+ - host-capabilities
84
+ - checkpoint-sync
85
+ - pillars-sync-plan
86
+ with:
87
+ action: final-sync
88
+ dashboard: action-brief
@@ -29,3 +29,16 @@ jobs:
29
29
  with:
30
30
  mode: runbook-updates
31
31
  skip-when: no-runbook-gaps-identified
32
+
33
+ postmortem-sync:
34
+ tier: 0
35
+ needs: postmortem-runbook-update
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
42
+ with:
43
+ action: final-sync
44
+ dashboard: action-brief
@@ -57,3 +57,17 @@ jobs:
57
57
  uses: god-deploy-engineer@^1.0.0
58
58
  with:
59
59
  mode: gradual-rollout
60
+
61
+ refactor-sync:
62
+ tier: 0
63
+ needs: refactor-deploy
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
71
+ with:
72
+ action: final-sync
73
+ dashboard: action-brief
@@ -21,3 +21,14 @@ jobs:
21
21
  with:
22
22
  template: SPIKE.md
23
23
  time-box: 1d
24
+
25
+ spike-closeout:
26
+ tier: 0
27
+ needs: spike-run
28
+ uses: god-orchestrator@^1.0.0
29
+ local-helpers:
30
+ - checkpoint-sync
31
+ - host-capabilities
32
+ with:
33
+ action: spike-closeout
34
+ dashboard: action-brief