godpowers 0.15.14 → 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,35 @@ 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
+
23
+ ## [0.15.15] - 2026-05-11
24
+
25
+ Transcript hygiene release. Keeps God Mode orchestration scaffolding out of the
26
+ normal user-visible transcript.
27
+
28
+ ### Changed
29
+ - Added a User-Visible Transcript Contract to `/god-mode` and
30
+ `god-orchestrator`.
31
+ - God Mode now explicitly hides raw Task input, "Hard instructions", spawned
32
+ agent prompts, complete file loadout lists, and internal routing metadata from
33
+ the user-facing transcript.
34
+ - Private rules that affect a pause must be translated into the smallest
35
+ user-facing question instead of exposing the underlying prompt.
36
+
8
37
  ## [0.15.14] - 2026-05-11
9
38
 
10
39
  Origin evidence release. Prevents `/god-mode --yolo` from inventing staging,
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.14-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.
@@ -632,6 +632,32 @@ Options:
632
632
  Default: If you say "go", I'll pick [X] because [Y].
633
633
  ```
634
634
 
635
+ ## User-Visible Transcript Contract
636
+
637
+ The user-facing God Mode transcript is an operator console, not a prompt
638
+ debugger. Keep orchestration scaffolding private.
639
+
640
+ Show:
641
+ - concise phase status
642
+ - durable state detected from disk
643
+ - commands being run and whether they passed or failed
644
+ - scoped file changes
645
+ - final validation summary
646
+ - `Arc complete` or `PAUSE: external access required`
647
+
648
+ Hide:
649
+ - raw Task input
650
+ - "Hard instructions" sections
651
+ - spawned-agent prompt text
652
+ - system, developer, AGENTS.md, or internal policy recitations
653
+ - complete file loadout lists
654
+ - routing metadata unless it changes a user decision
655
+
656
+ When a private rule affects a pause, translate it into the smallest
657
+ user-facing question. Do not expose the rule itself. Example: ask for
658
+ `STAGING_APP_URL=<deployed staging origin>` rather than showing the Shipping
659
+ Closure Protocol.
660
+
635
661
  ## Resume Protocol
636
662
 
637
663
  On every invocation:
@@ -782,7 +808,8 @@ in a parent suite. The human-friendly label is what the user sees.
782
808
  ### Mode B: Brownfield / Gap-fill (auto-detected)
783
809
  - Existing code OR partial `.godpowers/` artifacts present
784
810
  - May or may not have org context
785
- - Default path: archaeology -> reconstruct -> debt-assess -> proceed
811
+ - Default path: archaeology -> reconstruct -> debt-assess -> greenfield
812
+ simulation audit -> proceed
786
813
 
787
814
  **Detection logic (run this on every Mode B invocation)**:
788
815
 
@@ -851,6 +878,9 @@ Report findings to user before running any tier:
851
878
  - BUT org-context.yaml found (in current dir, parent, or grandparent)
852
879
  - Run full arc with all decisions constrained by org context
853
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
854
884
  - All downstream agents (god-stack-selector, god-architect, god-deploy-engineer,
855
885
  god-observability-engineer, god-harden-auditor) receive the org-context
856
886
  and respect it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godpowers",
3
- "version": "0.15.14",
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:
@@ -95,17 +95,49 @@ You are receiving a /god-mode invocation. Your job is to spawn the
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
97
 
98
- 6. Orchestrator runs the appropriate workflow:
98
+ 6. Keep the spawn payload private. Do not echo or summarize raw Task input,
99
+ "Hard instructions", hidden orchestration rules, agent prompts, file
100
+ loadout lists, or internal routing payloads into the user-visible transcript.
101
+ The visible transcript may say only what phase is running, what durable state
102
+ was detected, what commands are running, what changed, and the final
103
+ `Arc complete` or `PAUSE: external access required` block.
104
+
105
+ 7. Orchestrator runs the appropriate workflow:
99
106
  - Greenfield -> full-arc
100
- - Brownfield -> brownfield-arc (archaeology -> reconstruct -> debt-assess -> proceed)
101
- - 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)
102
109
 
103
- 7. Relay the orchestrator's output to the user.
110
+ 8. Relay only the orchestrator's user-facing output to the user. If the
111
+ platform displays raw spawn details automatically, immediately follow with a
112
+ clean public summary and never repeat the leaked payload.
104
113
 
105
- 8. When the orchestrator pauses, present the question to the user using the
114
+ 9. When the orchestrator pauses, present the question to the user using the
106
115
  pause format (What / Why / Options / Default).
107
116
 
108
- 9. When the user answers, re-spawn god-orchestrator with the answer.
117
+ 10. When the user answers, re-spawn god-orchestrator with the answer.
118
+
119
+ ## User-Visible Transcript Contract
120
+
121
+ The God Mode transcript is an operator console, not a prompt debugger.
122
+
123
+ Show:
124
+ - detected resume or project mode in plain language
125
+ - short progress updates for phases, commands, validations, and file edits
126
+ - concise validation summaries instead of full command noise when possible
127
+ - final changed paths, validation results, and completion or pause status
128
+
129
+ Hide:
130
+ - raw Task input
131
+ - "Hard instructions" sections
132
+ - spawned-agent prompt text
133
+ - system, developer, or AGENTS.md rule recitations
134
+ - complete file loadout lists
135
+ - internal routing metadata unless it directly affects a user decision
136
+
137
+ If an internal instruction must influence a pause, translate it into the
138
+ smallest user-facing question. For example, ask for
139
+ `STAGING_APP_URL=<deployed staging origin>` instead of exposing the full
140
+ Shipping Closure Protocol.
109
141
 
110
142
  ## Pause Format (relay from orchestrator)
111
143
 
@@ -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