godpowers 0.15.15 → 0.15.17

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 CHANGED
@@ -5,6 +5,41 @@ All notable changes to Godpowers will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.15.17] - 2026-05-12
9
+
10
+ Greenfieldification release. Turns the brownfield and bluefield simulation
11
+ audit into a controlled artifact migration instead of a passive report.
12
+
13
+ ### Added
14
+ - Added `god-greenfieldifier`, a Tier 0 agent that writes
15
+ `.godpowers/audit/GREENFIELDIFY-PLAN.md`, classifies audit findings, pauses
16
+ before risky canonical artifact rewrites, and then updates affected artifacts
17
+ after approval.
18
+
19
+ ### Changed
20
+ - Brownfield arc now runs greenfieldification after the greenfield simulation
21
+ audit and before steady-state handoff.
22
+ - Bluefield arc now runs greenfieldification after the greenfield simulation
23
+ audit and before PRD.
24
+ - `/god-mode`, `god-orchestrator`, and `/god-audit` now document that the
25
+ simulation audit must be acted on through a thorough, approval-gated artifact
26
+ migration.
27
+
28
+ ## [0.15.16] - 2026-05-11
29
+
30
+ Greenfield simulation audit release. Adds a preparation audit to brownfield
31
+ and bluefield arcs so they can compare existing evidence or org constraints
32
+ against the canonical Godpowers greenfield process.
33
+
34
+ ### Changed
35
+ - Brownfield arc now runs a greenfield simulation audit after archaeology,
36
+ reconstruction, debt assessment, and normal artifact audit.
37
+ - Bluefield arc now runs a greenfield simulation audit after org-context and
38
+ before PRD so downstream planning can inherit org constraints intentionally.
39
+ - `god-auditor` now documents `mode: greenfield-simulation`, writing
40
+ `.godpowers/audit/GREENFIELD-SIMULATION.md` without rewriting planning
41
+ artifacts.
42
+
8
43
  ## [0.15.15] - 2026-05-11
9
44
 
10
45
  Transcript hygiene release. Keeps God Mode orchestration scaffolding out of the
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![CI](https://github.com/aihxp/godpowers/actions/workflows/ci.yml/badge.svg)](https://github.com/aihxp/godpowers/actions/workflows/ci.yml)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
5
- [![Version](https://img.shields.io/badge/version-0.15.15-blue)](CHANGELOG.md)
5
+ [![Version](https://img.shields.io/badge/version-0.15.17-blue)](CHANGELOG.md)
6
6
  [![npm](https://img.shields.io/npm/v/godpowers.svg)](https://www.npmjs.com/package/godpowers)
7
7
 
8
8
  **Ship fast. Ship right. Ship everything. Ship accountably.**
@@ -156,6 +156,12 @@ reported as the final result.
156
156
  If `.godpowers` state already exists, `/god-mode --yolo` resumes from disk
157
157
  instead of asking for the project description again.
158
158
 
159
+ For existing codebases and org-constrained new projects, God Mode now runs a
160
+ greenfield simulation audit and then actions it through a greenfieldification
161
+ plan. It pauses before risky artifact rewrites because that process can change
162
+ product scope, design direction, architecture, roadmap, stack, and shipping
163
+ commitments.
164
+
159
165
  ## Architecture
160
166
 
161
167
  ### Slash Command + Specialist Agent Pattern
@@ -200,9 +206,9 @@ Skill updates: PROGRESS.md
200
206
  .godpowers/harden/FINDINGS.md Security Findings
201
207
  ```
202
208
 
203
- ## Quality Guarantees
209
+ ## Quality Guardrails
204
210
 
205
- Every artifact passes these mechanical checks:
211
+ Every artifact passes these mechanical checks before it is treated as complete:
206
212
 
207
213
  | Check | What it catches |
208
214
  |---|---|
@@ -214,6 +220,26 @@ Every artifact passes these mechanical checks:
214
220
  | TDD enforcement | Code without tests |
215
221
  | Two-stage review | Code that passes tests but violates spec or quality |
216
222
 
223
+ These checks are guardrails, not proof that the product is right. A PRD can
224
+ pass the substitution test and still make the wrong product call. Godpowers
225
+ uses mechanical checks to catch generic, missing, or untraceable work so the
226
+ remaining judgment is visible to humans and reviewers.
227
+
228
+ ## Operational Reality
229
+
230
+ Godpowers is pre-launch. See [USERS.md](USERS.md) for current adoption status.
231
+
232
+ Full autonomous runs can be expensive because they spawn multiple fresh-context
233
+ agents. The runtime records token and dollar estimates through `cost.recorded`
234
+ events, and `/god-cost` reports spend, savings, live vs estimated token counts,
235
+ and cache hits. `/god-budget` configures context caps, cache use, and model
236
+ profiles. `/god-metrics` and `/god-trace` expose run duration, pauses, retries,
237
+ and per-tier history from `.godpowers/runs/<id>/events.jsonl`.
238
+
239
+ Treat a real `/god-mode` result as successful only when it produces shipped or
240
+ ship-ready work on someone else's codebase, with validation results, cost, and
241
+ wall-clock time visible.
242
+
217
243
  ## Pause Philosophy
218
244
 
219
245
  God Mode pauses only when:
@@ -237,7 +263,7 @@ Pi. T3 Code inherits from the underlying agent (Codex / Claude / OpenCode).
237
263
 
238
264
  - [Getting Started](docs/getting-started.md)
239
265
  - [Concepts](docs/concepts.md)
240
- - [Command reference (all 105 skills + 38 agents)](docs/reference.md)
266
+ - [Command reference (all 105 skills + 39 agents)](docs/reference.md)
241
267
  - [Roadmap](docs/ROADMAP.md)
242
268
  - [Changelog](CHANGELOG.md)
243
269
  - [Inspiration](INSPIRATION.md)
@@ -31,6 +31,9 @@ Score artifacts. Build nothing. Report what fails and why.
31
31
  4. If running for orchestrator gate check: return verdict only (any
32
32
  error from mechanical pass = FAIL; any critical interpretive = FAIL).
33
33
  5. If running for /god-audit: produce full report combining both passes.
34
+ 6. If running with `mode: greenfield-simulation`, do not build anything.
35
+ Simulate the canonical Godpowers greenfield arc and compare it against the
36
+ current project evidence or org constraints.
34
37
 
35
38
  ## Mechanical vs interpretive split
36
39
 
@@ -148,3 +151,61 @@ Overall: 85%
148
151
 
149
152
  For gate check (called by orchestrator): return PASS/FAIL with first failure
150
153
  only (orchestrator wants speed, not full report).
154
+
155
+ For greenfield simulation audit, write
156
+ `.godpowers/audit/GREENFIELD-SIMULATION.md`:
157
+
158
+ ```markdown
159
+ # Greenfield Simulation Audit
160
+
161
+ Date: [timestamp]
162
+ Mode: [brownfield | bluefield]
163
+
164
+ ## Simulated Canonical Arc
165
+ - PRD: [what a clean Godpowers PRD would need]
166
+ - Design: [whether DESIGN.md should exist before ARCH]
167
+ - ARCH: [expected architecture decisions]
168
+ - ROADMAP: [expected sequencing]
169
+ - STACK: [expected stack decision points]
170
+ - REPO: [expected repo setup]
171
+ - BUILD: [expected vertical-slice delivery]
172
+ - DEPLOY: [expected deploy and rollback gates]
173
+ - OBSERVE: [expected SLOs and runbooks]
174
+ - HARDEN: [expected security gates]
175
+ - LAUNCH: [expected launch readiness gates]
176
+
177
+ ## Evidence Compared
178
+ - [source path or org-context source]
179
+
180
+ ## Alignment
181
+ | Area | Greenfield Expectation | Existing Evidence | Status |
182
+ |---|---|---|---|
183
+ | PRD | [expectation] | [evidence] | aligned / gap / unknown |
184
+
185
+ ## Gaps To Carry Forward
186
+ - [DECISION/HYPOTHESIS/OPEN QUESTION] [gap and where it should influence PRD, ARCH, ROADMAP, BUILD, or shipping]
187
+
188
+ ## Non-Goals
189
+ - This audit does not rewrite artifacts.
190
+ - This audit must be followed by `god-greenfieldifier` in brownfield and
191
+ bluefield workflows when the user wants the audit acted on.
192
+ - This audit does not treat imported GSD, Superpowers, BMAD, or org context as
193
+ source of truth.
194
+ - This audit does not block the arc unless it finds a Critical security or
195
+ impossible planning contradiction.
196
+ ```
197
+
198
+ Greenfield simulation rules:
199
+ - Brownfield: compare reconstructed artifacts, archaeology, debt assessment,
200
+ repo shape, tests, CI, deploy, observability, hardening, and launch evidence
201
+ against what the canonical greenfield arc would have created.
202
+ - Bluefield: compare org context and constraints against the canonical
203
+ greenfield arc before PRD so downstream agents know which choices are
204
+ constrained, missing, or open.
205
+ - Label every finding as DECISION, HYPOTHESIS, or OPEN QUESTION.
206
+ - Do not invent missing intent. Mark unknowns as OPEN QUESTION.
207
+ - Do not overwrite PRD, ARCH, ROADMAP, STACK, or shipping artifacts. This audit
208
+ is preparation context for downstream steps.
209
+ - In brownfield and bluefield workflows, hand this audit to god-greenfieldifier
210
+ so it can produce `.godpowers/audit/GREENFIELDIFY-PLAN.md`, pause for
211
+ approval when needed, and then update the affected artifacts thoroughly.
@@ -0,0 +1,159 @@
1
+ ---
2
+ name: god-greenfieldifier
3
+ description: |
4
+ Turns a greenfield simulation audit into a controlled artifact migration
5
+ plan for brownfield and bluefield projects. Requires user approval before
6
+ rewriting canonical Godpowers artifacts.
7
+
8
+ Spawned by: brownfield-arc, bluefield-arc, god-orchestrator
9
+ tools: Read, Write, Edit, Bash, Grep, Glob
10
+ ---
11
+
12
+ # God Greenfieldifier
13
+
14
+ You action the greenfield simulation audit. Your job is to help an existing or
15
+ org-constrained project receive the same thorough Godpowers preparation that a
16
+ greenfield project would have received, without silently breaking project
17
+ intent, architecture, delivery commitments, or org constraints.
18
+
19
+ ## Inputs
20
+
21
+ - `.godpowers/audit/GREENFIELD-SIMULATION.md`
22
+ - `.godpowers/prep/INITIAL-FINDINGS.md`, when present
23
+ - `.godpowers/prep/IMPORTED-CONTEXT.md`, when present
24
+ - Existing canonical artifacts:
25
+ - `.godpowers/prd/PRD.md`
26
+ - `.godpowers/design/DESIGN.md`
27
+ - `.godpowers/product/PRODUCT.md`
28
+ - `.godpowers/arch/ARCH.md`
29
+ - `.godpowers/roadmap/ROADMAP.md`
30
+ - `.godpowers/stack/DECISION.md`
31
+ - `.godpowers/repo/AUDIT.md`
32
+ - `.godpowers/build/STATE.md`
33
+ - `.godpowers/deploy/STATE.md`
34
+ - `.godpowers/observe/STATE.md`
35
+ - `.godpowers/launch/STATE.md`
36
+ - `.godpowers/harden/FINDINGS.md`
37
+ - Source evidence from code, org context, and imported planning systems.
38
+
39
+ ## Process
40
+
41
+ ### 1. Read Before Acting
42
+
43
+ Read the audit and every existing canonical artifact before recommending any
44
+ rewrite. Disk state is authoritative. Conversation memory is not.
45
+
46
+ ### 2. Classify Each Finding
47
+
48
+ For every gap in the audit, classify it as exactly one:
49
+
50
+ - `preserve`: existing artifact is better than canonical greenfield default.
51
+ - `carry-forward`: useful context, but no rewrite yet.
52
+ - `rewrite-candidate`: likely artifact update.
53
+ - `requires-user-approval`: could change product scope, system shape, roadmap,
54
+ security posture, launch posture, budget, provider, hosting, or org policy.
55
+ - `blocked`: missing evidence prevents a safe rewrite.
56
+
57
+ ### 3. Write The Plan First
58
+
59
+ Write `.godpowers/audit/GREENFIELDIFY-PLAN.md` before editing canonical
60
+ artifacts.
61
+
62
+ The plan must include:
63
+
64
+ - DECISION: Which findings are safe to action.
65
+ - DECISION: Which artifacts would change.
66
+ - HYPOTHESIS: Why each change better matches the canonical greenfield arc.
67
+ - OPEN QUESTION: Any product, org, risk, or architecture choice that needs the
68
+ user.
69
+ - A per-artifact impact table for PRD, DESIGN, PRODUCT, ARCH, ROADMAP, STACK,
70
+ REPO, BUILD, DEPLOY, OBSERVE, LAUNCH, and HARDEN.
71
+ - A rollback note describing how to undo the planned artifact changes.
72
+
73
+ ### 4. Pause Before Risky Rewrites
74
+
75
+ Do not rewrite canonical artifacts when any planned change is classified as
76
+ `requires-user-approval` or `blocked`.
77
+
78
+ Pause with:
79
+
80
+ ```markdown
81
+ PAUSE: Approve greenfieldification plan?
82
+
83
+ Why only you can answer: The plan may change product scope, architecture,
84
+ roadmap, stack, or shipping commitments.
85
+
86
+ | Option | Tradeoff |
87
+ |--------|----------|
88
+ | A: approve | Apply the plan to the listed artifacts. |
89
+ | B: revise | Provide corrections before any artifact rewrite. |
90
+ | C: preserve | Keep the current artifacts and carry the audit forward as prep context. |
91
+
92
+ Default: If you say "go", I will pick C unless `--yolo` explicitly permits
93
+ artifact rewrites and every change is classified as `rewrite-candidate`.
94
+ ```
95
+
96
+ Under `--yolo`, you may only apply changes without a pause when every change is
97
+ classified as `rewrite-candidate`, no product or org intent changes, and no
98
+ canonical artifact loses existing concrete evidence.
99
+
100
+ ### 5. Apply Approved Changes Thoroughly
101
+
102
+ When approved, update all affected artifacts, not just the first one:
103
+
104
+ - PRD: product goals, requirements, metrics, no-gos, open questions.
105
+ - DESIGN: product experience, UI surface, accessibility, workflow, brand.
106
+ - PRODUCT: screens, journeys, user promises, operational UX.
107
+ - ARCH: components, trust boundaries, ADRs, NFR mappings.
108
+ - ROADMAP: sequence, gates, dependencies, delivery increments.
109
+ - STACK: decisions, flip points, org constraints, incompatibilities.
110
+ - REPO: repository shape, CI, tests, security docs, install docs.
111
+ - BUILD: build state, test expectations, review gates.
112
+ - DEPLOY: environment model, deploy checks, rollback.
113
+ - OBSERVE: SLOs, dashboards, alerts, runbooks.
114
+ - LAUNCH: launch gates, copy scope, channel readiness.
115
+ - HARDEN: security findings, auth boundaries, severity.
116
+
117
+ ### 6. Sync State
118
+
119
+ After approved rewrites:
120
+
121
+ - Update `.godpowers/SYNC-LOG.md`.
122
+ - Update `.godpowers/PROGRESS.md`.
123
+ - Update `.godpowers/state.json` with:
124
+ - `greenfieldification.status`
125
+ - `greenfieldification.plan`
126
+ - `greenfieldification.approved`
127
+ - `greenfieldification.updatedArtifacts`
128
+ - Mark unresolved items as open questions, not completed work.
129
+
130
+ ## Rules
131
+
132
+ - Imported GSD, Superpowers, BMAD, org context, and reconstructed artifacts are
133
+ evidence, not source of truth.
134
+ - Never erase existing specific evidence to replace it with a generic
135
+ greenfield default.
136
+ - Never silently change product scope, stack, architecture, launch posture, or
137
+ security posture.
138
+ - Label every sentence written to Godpowers artifacts as DECISION, HYPOTHESIS,
139
+ or OPEN QUESTION unless the target artifact has a stricter existing format.
140
+ - If the audit is too shallow to act on, improve the plan with open questions
141
+ and stop before rewriting artifacts.
142
+
143
+ ## Output
144
+
145
+ Always write `.godpowers/audit/GREENFIELDIFY-PLAN.md`.
146
+
147
+ If user approval is required, return the PAUSE block.
148
+
149
+ If changes are approved and applied, return:
150
+
151
+ ```json
152
+ {
153
+ "status": "greenfieldified",
154
+ "plan": ".godpowers/audit/GREENFIELDIFY-PLAN.md",
155
+ "updatedArtifacts": [],
156
+ "openQuestions": [],
157
+ "validation": []
158
+ }
159
+ ```
@@ -808,7 +808,9 @@ in a parent suite. The human-friendly label is what the user sees.
808
808
  ### Mode B: Brownfield / Gap-fill (auto-detected)
809
809
  - Existing code OR partial `.godpowers/` artifacts present
810
810
  - May or may not have org context
811
- - Default path: archaeology -> reconstruct -> debt-assess -> proceed
811
+ - Default path: archaeology -> reconstruct -> debt-assess -> greenfield
812
+ simulation audit -> greenfieldify plan and approved artifact updates ->
813
+ proceed
812
814
 
813
815
  **Detection logic (run this on every Mode B invocation)**:
814
816
 
@@ -843,6 +845,27 @@ Report findings to user before running any tier:
843
845
  Repo imported (CI present), Build in progress. Resuming from Build."
844
846
  ```
845
847
 
848
+ ### Greenfieldification checkpoint for Mode B and Mode E
849
+
850
+ The greenfield simulation audit is not enough by itself. It identifies gaps;
851
+ god-greenfieldifier actions those gaps through a controlled artifact migration.
852
+
853
+ Required sequence:
854
+
855
+ 1. Run greenfield simulation audit.
856
+ 2. Spawn god-greenfieldifier.
857
+ 3. Write `.godpowers/audit/GREENFIELDIFY-PLAN.md`.
858
+ 4. If the plan can change product scope, design direction, architecture,
859
+ roadmap, stack, deploy, observe, launch, harden, org policy, or user
860
+ commitments, pause for user approval before rewriting canonical artifacts.
861
+ 5. After approval, update every affected artifact, not just the first artifact
862
+ where the gap appears.
863
+ 6. Run sync so PROGRESS.md, state.json, and SYNC-LOG.md reflect what changed.
864
+
865
+ Under `--yolo`, do not bypass this checkpoint for risky changes. YOLO may only
866
+ auto-apply greenfieldification when every planned change is a non-destructive
867
+ rewrite-candidate and no concrete existing evidence is removed.
868
+
846
869
  ### Mode C: Audit
847
870
  - Triggered explicitly with --audit flag
848
871
  - Build nothing
@@ -877,6 +900,10 @@ Report findings to user before running any tier:
877
900
  - BUT org-context.yaml found (in current dir, parent, or grandparent)
878
901
  - Run full arc with all decisions constrained by org context
879
902
  - Spawn god-org-context-loader first to load constraints
903
+ - Run greenfield simulation audit after org-context, then run
904
+ god-greenfieldifier so the arc has an approved artifact plan before PRD.
905
+ The plan explains where canonical Godpowers defaults align with, conflict
906
+ with, or are constrained by org standards.
880
907
  - All downstream agents (god-stack-selector, god-architect, god-deploy-engineer,
881
908
  god-observability-engineer, god-harden-auditor) receive the org-context
882
909
  and respect it
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "godpowers",
3
- "version": "0.15.15",
4
- "description": "AI-powered development system: 104 slash commands and 38 specialist agents that take a project from raw idea to hardened production. Runs inside Claude Code, Codex, Cursor, Windsurf, Gemini, and 10+ other AI coding tools.",
3
+ "version": "0.15.17",
4
+ "description": "AI-powered development system: 105 slash commands and 39 specialist agents that take a project from raw idea to hardened production. Runs inside Claude Code, Codex, Cursor, Windsurf, Gemini, and 10+ other AI coding tools.",
5
5
  "bin": {
6
6
  "godpowers": "./bin/install.js"
7
7
  },
8
8
  "scripts": {
9
- "test": "node scripts/validate-skills.js && bash scripts/smoke.sh && node scripts/test-runtime.js && node scripts/test-router.js && node scripts/test-recipes.js && node scripts/test-context-writer.js && node scripts/test-artifact-linter.js && node scripts/test-artifact-diff.js && node scripts/test-design-foundation.js && node scripts/test-linkage.js && node scripts/test-impact.js && node scripts/test-reverse-sync.js && node scripts/test-integration.js && node scripts/test-cross-artifact.js && node scripts/test-awesome-design.js && node scripts/test-skillui-bridge.js && node scripts/test-runtime-verification.js && node scripts/test-agent-browser.js && node scripts/test-mode-d.js && node scripts/test-runtime-heuristics.js && node scripts/test-agent-validator.js && node scripts/test-story-validator.js && node scripts/test-state.js && node scripts/test-intent.js && node scripts/test-events.js && node scripts/test-golden-artifacts.js && node scripts/test-install-smoke.js && node scripts/test-checkpoint.js && node scripts/test-extensions.js && node scripts/test-event-reader.js && node scripts/test-state-lock.js && node scripts/test-cost-saver.js && node scripts/test-budget-onoff.js && node scripts/test-workflow-runner.js && node scripts/test-otel-exporter.js && node scripts/test-extensions-publish.js",
9
+ "test": "node scripts/validate-skills.js && node scripts/test-doc-surface-counts.js && bash scripts/smoke.sh && node scripts/test-runtime.js && node scripts/test-router.js && node scripts/test-recipes.js && node scripts/test-context-writer.js && node scripts/test-artifact-linter.js && node scripts/test-artifact-diff.js && node scripts/test-design-foundation.js && node scripts/test-linkage.js && node scripts/test-impact.js && node scripts/test-reverse-sync.js && node scripts/test-integration.js && node scripts/test-cross-artifact.js && node scripts/test-awesome-design.js && node scripts/test-skillui-bridge.js && node scripts/test-runtime-verification.js && node scripts/test-agent-browser.js && node scripts/test-mode-d.js && node scripts/test-runtime-heuristics.js && node scripts/test-agent-validator.js && node scripts/test-story-validator.js && node scripts/test-state.js && node scripts/test-intent.js && node scripts/test-events.js && node scripts/test-golden-artifacts.js && node scripts/test-install-smoke.js && node scripts/test-checkpoint.js && node scripts/test-extensions.js && node scripts/test-event-reader.js && node scripts/test-state-lock.js && node scripts/test-cost-saver.js && node scripts/test-budget-onoff.js && node scripts/test-workflow-runner.js && node scripts/test-otel-exporter.js && node scripts/test-extensions-publish.js",
10
10
  "prepublishOnly": "npm test",
11
11
  "validate-skills": "node scripts/validate-skills.js",
12
+ "test:surface": "node scripts/test-doc-surface-counts.js",
12
13
  "smoke": "bash scripts/smoke.sh",
13
14
  "test:runtime": "node scripts/test-runtime.js",
14
15
  "test:router": "node scripts/test-router.js",
@@ -18,6 +18,34 @@ Spawn the **god-auditor** agent in a fresh context via Task tool.
18
18
  artifact against `references/HAVE-NOTS.md`."
19
19
  3. The agent writes `.godpowers/AUDIT-REPORT.md`
20
20
 
21
+ ## Greenfield Simulation Mode
22
+
23
+ When invoked by `brownfield-arc` or `bluefield-arc` with
24
+ `mode: greenfield-simulation`, spawn god-auditor with the current project
25
+ evidence and ask it to compare the repo or org constraints against the
26
+ canonical Godpowers greenfield arc. The agent writes
27
+ `.godpowers/audit/GREENFIELD-SIMULATION.md`.
28
+
29
+ This mode builds nothing and rewrites no planning artifacts. It exists so
30
+ brownfield and bluefield projects can benefit from the same PRD, design, arch,
31
+ roadmap, stack, build, deploy, observe, harden, and launch expectations that a
32
+ greenfield Godpowers run would have applied.
33
+
34
+ ## Acting On Greenfield Simulation
35
+
36
+ The audit is preparation, not the action. In brownfield and bluefield arcs,
37
+ the next step must spawn `god-greenfieldifier`.
38
+
39
+ `god-greenfieldifier` writes
40
+ `.godpowers/audit/GREENFIELDIFY-PLAN.md`, classifies every audit finding, and
41
+ then pauses before rewriting canonical artifacts whenever the change could
42
+ alter product scope, design direction, architecture, roadmap, stack, deploy,
43
+ observe, launch, harden, org policy, or user commitments.
44
+
45
+ After approval, the greenfieldifier updates all affected artifacts thoroughly:
46
+ PRD, DESIGN, PRODUCT, ARCH, ROADMAP, STACK, REPO, BUILD, DEPLOY, OBSERVE,
47
+ LAUNCH, and HARDEN. It then syncs PROGRESS.md, state.json, and SYNC-LOG.md.
48
+
21
49
  ## Verification
22
50
 
23
51
  After god-auditor returns:
@@ -47,8 +47,8 @@ GODPOWERS DOCTOR
47
47
 
48
48
  Install: claude (~/.claude/)
49
49
  [OK] 105 skills installed
50
- [OK] 38 agents installed
51
- [OK] VERSION matches (0.15.3)
50
+ [OK] 39 agents installed
51
+ [OK] VERSION matches (0.15.17)
52
52
  [WARN] routing/god-doctor.yaml exists but skill file did not until now
53
53
 
54
54
  Project: /Users/.../my-project/.godpowers/
@@ -31,7 +31,7 @@ Description:
31
31
  specific checks.
32
32
 
33
33
  Engines:
34
- godpowers: >=0.14.0 <2.0.0 (compatible with running v0.15.3? YES)
34
+ godpowers: >=0.14.0 <2.0.0 (compatible with running v0.15.17? YES)
35
35
 
36
36
  Provides:
37
37
  Agents (3):
@@ -94,6 +94,10 @@ You are receiving a /god-mode invocation. Your job is to spawn the
94
94
  direct evidence. Never infer or invent a domain from project name, package
95
95
  name, repo name, README title, or brand name. If no deployed origin is
96
96
  evidenced, pause for `STAGING_APP_URL=<deployed staging origin>`.
97
+ - Instruction that brownfield and bluefield greenfield simulation audits
98
+ must be acted on by god-greenfieldifier. The greenfieldifier writes
99
+ `.godpowers/audit/GREENFIELDIFY-PLAN.md`, pauses before risky canonical
100
+ artifact rewrites, and updates every affected artifact after approval.
97
101
 
98
102
  6. Keep the spawn payload private. Do not echo or summarize raw Task input,
99
103
  "Hard instructions", hidden orchestration rules, agent prompts, file
@@ -104,8 +108,8 @@ You are receiving a /god-mode invocation. Your job is to spawn the
104
108
 
105
109
  7. Orchestrator runs the appropriate workflow:
106
110
  - Greenfield -> full-arc
107
- - Brownfield -> brownfield-arc (archaeology -> reconstruct -> debt-assess -> proceed)
108
- - Bluefield -> bluefield-arc (org-context -> arc with constraints)
111
+ - Brownfield -> brownfield-arc (archaeology -> reconstruct -> debt-assess -> greenfield simulation audit -> greenfieldify plan and approved artifact updates -> proceed)
112
+ - Bluefield -> bluefield-arc (org-context -> greenfield simulation audit -> greenfieldify plan and approved artifact updates -> arc with constraints)
109
113
 
110
114
  8. Relay only the orchestrator's user-facing output to the user. If the
111
115
  platform displays raw spawn details automatically, immediately follow with a
@@ -14,9 +14,9 @@ Print version and a short capability summary.
14
14
  ## Output
15
15
 
16
16
  ```
17
- Godpowers v0.15.3
17
+ Godpowers v0.15.17
18
18
  Install: /Users/.../.claude/ (matches package.json)
19
- Surface: 105 skills, 38 agents, 13 workflows, 36 recipes
19
+ Surface: 105 skills, 39 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
  ```
@@ -7,10 +7,11 @@ apiVersion: godpowers/v1
7
7
  kind: Workflow
8
8
  metadata:
9
9
  name: bluefield-arc
10
- version: 1.0.0
10
+ version: 1.2.0
11
11
  description: |
12
12
  Bluefield: new code, existing org context. Loads org standards first,
13
- then runs full-arc with all decisions constrained by org context.
13
+ runs a greenfield simulation audit against those constraints, then runs a
14
+ user-approved greenfieldification pass before the full arc.
14
15
 
15
16
  on: [/god-bluefield, /god-mode --bluefield]
16
17
 
@@ -19,9 +20,41 @@ jobs:
19
20
  tier: 0
20
21
  uses: god-org-context-loader@^1.0.0
21
22
 
23
+ greenfield-simulation-audit:
24
+ tier: 0
25
+ needs: org-context
26
+ uses: god-auditor@^1.0.0
27
+ with:
28
+ mode: greenfield-simulation
29
+ compare: canonical-godpowers-arc-to-org-constraints
30
+ output: .godpowers/audit/GREENFIELD-SIMULATION.md
31
+
32
+ greenfieldify-artifacts:
33
+ tier: 0
34
+ needs: greenfield-simulation-audit
35
+ uses: god-greenfieldifier@^1.0.0
36
+ with:
37
+ mode: bluefield
38
+ audit: .godpowers/audit/GREENFIELD-SIMULATION.md
39
+ plan: .godpowers/audit/GREENFIELDIFY-PLAN.md
40
+ approval: required-before-writing-canonical-artifacts
41
+ artifacts:
42
+ - .godpowers/prd/PRD.md
43
+ - .godpowers/design/DESIGN.md
44
+ - .godpowers/product/PRODUCT.md
45
+ - .godpowers/arch/ARCH.md
46
+ - .godpowers/roadmap/ROADMAP.md
47
+ - .godpowers/stack/DECISION.md
48
+ - .godpowers/repo/AUDIT.md
49
+ - .godpowers/build/STATE.md
50
+ - .godpowers/deploy/STATE.md
51
+ - .godpowers/observe/STATE.md
52
+ - .godpowers/launch/STATE.md
53
+ - .godpowers/harden/FINDINGS.md
54
+
22
55
  prd:
23
56
  tier: 1
24
- needs: org-context
57
+ needs: greenfieldify-artifacts
25
58
  uses: god-pm@^1.0.0
26
59
 
27
60
  arch:
@@ -7,10 +7,11 @@ apiVersion: godpowers/v1
7
7
  kind: Workflow
8
8
  metadata:
9
9
  name: brownfield-arc
10
- version: 1.0.0
10
+ version: 1.2.0
11
11
  description: |
12
12
  Brownfield: existing codebase, understand before changing. Archaeology +
13
- reconstruction + debt assessment, then proceed with normal arc workflows.
13
+ reconstruction + debt assessment + greenfield simulation audit, then a
14
+ user-approved greenfieldification pass before normal arc workflows.
14
15
 
15
16
  on: [/god-brownfield, /god-mode --brownfield]
16
17
 
@@ -36,9 +37,41 @@ jobs:
36
37
  with:
37
38
  mode: full-audit-on-reconstructed
38
39
 
39
- steady-state-handoff:
40
+ greenfield-simulation-audit:
40
41
  tier: 0
41
42
  needs: audit
43
+ uses: god-auditor@^1.0.0
44
+ with:
45
+ mode: greenfield-simulation
46
+ compare: existing-codebase-to-canonical-godpowers-arc
47
+ output: .godpowers/audit/GREENFIELD-SIMULATION.md
48
+
49
+ greenfieldify-artifacts:
50
+ tier: 0
51
+ needs: greenfield-simulation-audit
52
+ uses: god-greenfieldifier@^1.0.0
53
+ with:
54
+ mode: brownfield
55
+ audit: .godpowers/audit/GREENFIELD-SIMULATION.md
56
+ plan: .godpowers/audit/GREENFIELDIFY-PLAN.md
57
+ approval: required-before-writing-canonical-artifacts
58
+ artifacts:
59
+ - .godpowers/prd/PRD.md
60
+ - .godpowers/design/DESIGN.md
61
+ - .godpowers/product/PRODUCT.md
62
+ - .godpowers/arch/ARCH.md
63
+ - .godpowers/roadmap/ROADMAP.md
64
+ - .godpowers/stack/DECISION.md
65
+ - .godpowers/repo/AUDIT.md
66
+ - .godpowers/build/STATE.md
67
+ - .godpowers/deploy/STATE.md
68
+ - .godpowers/observe/STATE.md
69
+ - .godpowers/launch/STATE.md
70
+ - .godpowers/harden/FINDINGS.md
71
+
72
+ steady-state-handoff:
73
+ tier: 0
74
+ needs: greenfieldify-artifacts
42
75
  uses: god-orchestrator@^1.0.0
43
76
  with:
44
77
  action: brownfield-to-steady