godpowers 0.15.15 → 0.15.16

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,21 @@ 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.16] - 2026-05-11
9
+
10
+ Greenfield simulation audit release. Adds a preparation audit to brownfield
11
+ and bluefield arcs so they can compare existing evidence or org constraints
12
+ against the canonical Godpowers greenfield process.
13
+
14
+ ### Changed
15
+ - Brownfield arc now runs a greenfield simulation audit after archaeology,
16
+ reconstruction, debt assessment, and normal artifact audit.
17
+ - Bluefield arc now runs a greenfield simulation audit after org-context and
18
+ before PRD so downstream planning can inherit org constraints intentionally.
19
+ - `god-auditor` now documents `mode: greenfield-simulation`, writing
20
+ `.godpowers/audit/GREENFIELD-SIMULATION.md` without rewriting planning
21
+ artifacts.
22
+
8
23
  ## [0.15.15] - 2026-05-11
9
24
 
10
25
  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.16-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.**
@@ -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,56 @@ 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 does not treat imported GSD, Superpowers, BMAD, or org context as
191
+ source of truth.
192
+ - This audit does not block the arc unless it finds a Critical security or
193
+ impossible planning contradiction.
194
+ ```
195
+
196
+ Greenfield simulation rules:
197
+ - Brownfield: compare reconstructed artifacts, archaeology, debt assessment,
198
+ repo shape, tests, CI, deploy, observability, hardening, and launch evidence
199
+ against what the canonical greenfield arc would have created.
200
+ - Bluefield: compare org context and constraints against the canonical
201
+ greenfield arc before PRD so downstream agents know which choices are
202
+ constrained, missing, or open.
203
+ - Label every finding as DECISION, HYPOTHESIS, or OPEN QUESTION.
204
+ - Do not invent missing intent. Mark unknowns as OPEN QUESTION.
205
+ - Do not overwrite PRD, ARCH, ROADMAP, STACK, or shipping artifacts. This audit
206
+ is preparation context for downstream steps.
@@ -808,7 +808,8 @@ 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 -> proceed
812
813
 
813
814
  **Detection logic (run this on every Mode B invocation)**:
814
815
 
@@ -877,6 +878,9 @@ Report findings to user before running any tier:
877
878
  - BUT org-context.yaml found (in current dir, parent, or grandparent)
878
879
  - Run full arc with all decisions constrained by org context
879
880
  - Spawn god-org-context-loader first to load constraints
881
+ - Run greenfield simulation audit after org-context and before PRD so the arc
882
+ knows where canonical Godpowers defaults align with, conflict with, or are
883
+ constrained by org standards
880
884
  - All downstream agents (god-stack-selector, god-architect, god-deploy-engineer,
881
885
  god-observability-engineer, god-harden-auditor) receive the org-context
882
886
  and respect it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godpowers",
3
- "version": "0.15.15",
3
+ "version": "0.15.16",
4
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.",
5
5
  "bin": {
6
6
  "godpowers": "./bin/install.js"
@@ -18,6 +18,19 @@ 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
+
21
34
  ## Verification
22
35
 
23
36
  After god-auditor returns:
@@ -104,8 +104,8 @@ You are receiving a /god-mode invocation. Your job is to spawn the
104
104
 
105
105
  7. Orchestrator runs the appropriate workflow:
106
106
  - Greenfield -> full-arc
107
- - Brownfield -> brownfield-arc (archaeology -> reconstruct -> debt-assess -> proceed)
108
- - Bluefield -> bluefield-arc (org-context -> arc with constraints)
107
+ - Brownfield -> brownfield-arc (archaeology -> reconstruct -> debt-assess -> greenfield simulation audit -> proceed)
108
+ - Bluefield -> bluefield-arc (org-context -> greenfield simulation audit -> arc with constraints)
109
109
 
110
110
  8. Relay only the orchestrator's user-facing output to the user. If the
111
111
  platform displays raw spawn details automatically, immediately follow with a
@@ -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.1.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
14
+ full-arc with all decisions constrained by org context.
14
15
 
15
16
  on: [/god-bluefield, /god-mode --bluefield]
16
17
 
@@ -19,9 +20,18 @@ 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
+
22
32
  prd:
23
33
  tier: 1
24
- needs: org-context
34
+ needs: greenfield-simulation-audit
25
35
  uses: god-pm@^1.0.0
26
36
 
27
37
  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.1.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
14
+ proceed with normal arc workflows.
14
15
 
15
16
  on: [/god-brownfield, /god-mode --brownfield]
16
17
 
@@ -36,9 +37,18 @@ 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
+ steady-state-handoff:
50
+ tier: 0
51
+ needs: greenfield-simulation-audit
42
52
  uses: god-orchestrator@^1.0.0
43
53
  with:
44
54
  action: brownfield-to-steady