godpowers 0.15.7 → 0.15.8

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,27 @@ 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.8] - 2026-05-11
9
+
10
+ Init preparation release. Documents what Godpowers found before PRD, next-step
11
+ routing, or the full autonomous arc starts.
12
+
13
+ ### Added
14
+ - `/god-init` now always creates `.godpowers/prep/INITIAL-FINDINGS.md` with
15
+ codebase shape, framework and tooling signals, tests, CI, docs, AI-tool
16
+ instructions, detected methodology systems, risks, and the suggested next
17
+ command rationale.
18
+ - `/god-prd`, `/god-next`, and `/god-mode` now read initial findings before
19
+ choosing or producing the next Godpowers artifact.
20
+ - Architecture, roadmap, and stack agents now read initial findings alongside
21
+ imported planning context when present.
22
+
23
+ ### Documented
24
+ - The full recent init preparation flow is now documented together:
25
+ automatic AI-tool context for explicit `god init`, quiet context writes,
26
+ GSD / Superpowers / BMAD import into `IMPORTED-CONTEXT.md`, and direct
27
+ Godpowers repo findings in `INITIAL-FINDINGS.md`.
28
+
8
29
  ## [0.15.7] - 2026-05-11
9
30
 
10
31
  Planning import release. Lets `/god-init` preserve useful context from nearby
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.7-blue)](CHANGELOG.md)
5
+ [![Version](https://img.shields.io/badge/version-0.15.8-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.**
@@ -19,11 +19,17 @@ flip points.
19
19
  Before starting:
20
20
  - `.godpowers/prd/PRD.md` MUST exist
21
21
  - PRD MUST pass have-nots (run god-auditor first if uncertain)
22
+ - Optional: `.godpowers/prep/INITIAL-FINDINGS.md` may exist as preparation
23
+ context.
22
24
  - Optional: `.godpowers/prep/IMPORTED-CONTEXT.md` may exist as preparation
23
25
  context.
24
26
 
25
27
  ## Imported Preparation Context
26
28
 
29
+ If `.godpowers/prep/INITIAL-FINDINGS.md` exists, read it first for direct
30
+ Godpowers observations about framework, tooling, deploy, tests, docs, and
31
+ codebase risks.
32
+
27
33
  If `.godpowers/prep/IMPORTED-CONTEXT.md` exists, read its technical signals
28
34
  before drafting ARCH. Use imported architecture, integration, risk, and stack
29
35
  constraints as hypothesis-level input only.
@@ -30,8 +30,9 @@ You and only you are responsible for:
30
30
  2. **Calling the play** - selecting the next specialist agent for each tier
31
31
  sub-step from `<runtimeRoot>/routing/<command>.yaml`.
32
32
  3. **Owning the playbook** - all writes to `state.json`, `PROGRESS.md`,
33
- `intent.yaml`, `.godpowers/prep/IMPORTED-CONTEXT.md`, and `events.jsonl`
34
- originate from you or agents you spawn.
33
+ `intent.yaml`, `.godpowers/prep/INITIAL-FINDINGS.md`,
34
+ `.godpowers/prep/IMPORTED-CONTEXT.md`, and `events.jsonl` originate from you
35
+ or agents you spawn.
35
36
  4. **Audibles** - handling pause checkpoints, the critical-finding gate, and
36
37
  the --yolo carve-out when the user has authorized auto-resolve.
37
38
  5. **Clock management** - mandatory final sync after Tier 3 (always, including
@@ -145,6 +146,20 @@ During `/god-init`, scan for adjacent methodology artifacts from GSD,
145
146
  Superpowers, BMAD, and similar systems. Treat them as preparation context,
146
147
  not as source of truth.
147
148
 
149
+ Before or alongside that import, write `.godpowers/prep/INITIAL-FINDINGS.md`
150
+ using `templates/INITIAL-FINDINGS.md`. This artifact records what Godpowers
151
+ observed directly during init:
152
+ - codebase shape, language, framework, package manager, tests, CI, deploy, and
153
+ documentation signals
154
+ - AI-tool instruction files and methodology systems detected
155
+ - risk signals and open questions raised by the scan
156
+ - the suggested next command and why that command is the safest next step
157
+
158
+ Downstream `/god-prd`, `/god-next`, and `/god-mode` flows must read
159
+ `INITIAL-FINDINGS.md` when present. Use it as preparation context only. If it
160
+ conflicts with user intent, state.json, PROGRESS.md, or completed Godpowers
161
+ artifacts, the Godpowers artifact wins.
162
+
148
163
  Detection signals:
149
164
  - GSD: `.gsd/`, `.planning/`, `GSD.md`, `gsd*.md`
150
165
  - Superpowers: `.superpowers/`, `superpowers/`, `SUPERPOWERS.md`,
package/agents/god-pm.md CHANGED
@@ -31,6 +31,10 @@ required sections:
31
31
 
32
32
  ## Imported Preparation Context
33
33
 
34
+ If `.godpowers/prep/INITIAL-FINDINGS.md` exists, read it first so the PRD
35
+ reflects what Godpowers observed during init: codebase shape, tests, docs,
36
+ risks, and methodology systems detected.
37
+
34
38
  If `.godpowers/prep/IMPORTED-CONTEXT.md` exists, read it before drafting the
35
39
  PRD. Use product signals from GSD, Superpowers, BMAD, or similar systems as
36
40
  hypothesis-level input only.
@@ -16,11 +16,16 @@ Sequence the work.
16
16
  ## Gate Check
17
17
 
18
18
  `.godpowers/arch/ARCH.md` MUST exist and pass have-nots.
19
+ Optional: `.godpowers/prep/INITIAL-FINDINGS.md` may exist as preparation
20
+ context.
19
21
  Optional: `.godpowers/prep/IMPORTED-CONTEXT.md` may exist as preparation
20
22
  context.
21
23
 
22
24
  ## Imported Preparation Context
23
25
 
26
+ If `.godpowers/prep/INITIAL-FINDINGS.md` exists, read it first for repo risks,
27
+ existing tests, docs, CI, deploy, and suggested sequencing implications.
28
+
24
29
  If `.godpowers/prep/IMPORTED-CONTEXT.md` exists, read its delivery signals
25
30
  before sequencing milestones. Use imported GSD, Superpowers, BMAD, or similar
26
31
  stories and plans as hypothesis-level input only.
@@ -15,11 +15,16 @@ Pick the technology stack.
15
15
  ## Gate Check
16
16
 
17
17
  `.godpowers/arch/ARCH.md` MUST exist.
18
+ Optional: `.godpowers/prep/INITIAL-FINDINGS.md` may exist as preparation
19
+ context.
18
20
  Optional: `.godpowers/prep/IMPORTED-CONTEXT.md` may exist as preparation
19
21
  context.
20
22
 
21
23
  ## Imported Preparation Context
22
24
 
25
+ If `.godpowers/prep/INITIAL-FINDINGS.md` exists, read it first for direct
26
+ tooling, package manager, framework, runtime, CI, and deploy observations.
27
+
23
28
  If `.godpowers/prep/IMPORTED-CONTEXT.md` exists, read its technical and stack
24
29
  signals before scoring candidates. Use imported technology choices, constraints,
25
30
  and team familiarity as hypothesis-level input only.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godpowers",
3
- "version": "0.15.7",
3
+ "version": "0.15.8",
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"
@@ -19,6 +19,7 @@ execution:
19
19
  context: fresh
20
20
  reads:
21
21
  - .godpowers/prd/PRD.md
22
+ - .godpowers/prep/INITIAL-FINDINGS.md
22
23
  - .godpowers/prep/IMPORTED-CONTEXT.md
23
24
  - templates/ARCH.md
24
25
  writes:
@@ -19,6 +19,7 @@ execution:
19
19
  - .godpowers/PROGRESS.md
20
20
  - .godpowers/state.json
21
21
  - .godpowers/intent.yaml
22
+ - .godpowers/prep/INITIAL-FINDINGS.md
22
23
  - .godpowers/prep/IMPORTED-CONTEXT.md
23
24
 
24
25
  success-path:
@@ -14,6 +14,9 @@ prerequisites:
14
14
  execution:
15
15
  spawns: [god-orchestrator]
16
16
  context: fresh
17
+ reads:
18
+ - .godpowers/prep/INITIAL-FINDINGS.md
19
+ - .godpowers/prep/IMPORTED-CONTEXT.md
17
20
  secondary-spawns: [god-pm, god-architect, god-roadmapper, god-stack-selector, god-repo-scaffolder, god-planner, god-executor, god-spec-reviewer, god-quality-reviewer, god-deploy-engineer, god-observability-engineer, god-harden-auditor, god-launch-strategist]
18
21
  writes:
19
22
  []
@@ -12,6 +12,9 @@ prerequisites:
12
12
  execution:
13
13
  spawns: [built-in]
14
14
  context: fresh
15
+ reads:
16
+ - .godpowers/prep/INITIAL-FINDINGS.md
17
+ - .godpowers/prep/IMPORTED-CONTEXT.md
15
18
  writes:
16
19
  []
17
20
 
@@ -21,6 +21,7 @@ execution:
21
21
  context: fresh
22
22
  reads:
23
23
  - .godpowers/intent.yaml
24
+ - .godpowers/prep/INITIAL-FINDINGS.md
24
25
  - .godpowers/prep/IMPORTED-CONTEXT.md
25
26
  - templates/PRD.md
26
27
  writes:
@@ -17,6 +17,7 @@ execution:
17
17
  reads:
18
18
  - .godpowers/prd/PRD.md
19
19
  - .godpowers/arch/ARCH.md
20
+ - .godpowers/prep/INITIAL-FINDINGS.md
20
21
  - .godpowers/prep/IMPORTED-CONTEXT.md
21
22
  - templates/ROADMAP.md
22
23
  writes:
@@ -16,6 +16,7 @@ execution:
16
16
  context: fresh
17
17
  reads:
18
18
  - .godpowers/arch/ARCH.md
19
+ - .godpowers/prep/INITIAL-FINDINGS.md
19
20
  - .godpowers/prep/IMPORTED-CONTEXT.md
20
21
  writes:
21
22
  - .godpowers/stack/DECISION.md
@@ -30,6 +30,10 @@ needs to specify a mode.
30
30
  - Look for org-level context (current dir + parent dirs):
31
31
  - .godpowers/org-context.yaml
32
32
  - Workspace configs that share standards
33
+ - Write `.godpowers/prep/INITIAL-FINDINGS.md` summarizing what Godpowers
34
+ observed about the repo, tooling, docs, tests, risks, and suggested next
35
+ command. This happens before `/god-prd`, `/god-next`, or `/god-mode`
36
+ continues.
33
37
  - Look for adjacent planning-system context:
34
38
  - GSD: `.gsd/`, `.planning/`, `GSD.md`, `gsd*.md`
35
39
  - Superpowers: `.superpowers/`, `superpowers/`, `SUPERPOWERS.md`,
@@ -57,6 +61,7 @@ needs to specify a mode.
57
61
  The orchestrator will:
58
62
  - Run Mode Detection (announced in plain English; stored as A/B/C/E internally)
59
63
  - Run Scale Detection (trivial/small/medium/large/enterprise)
64
+ - Write `.godpowers/prep/INITIAL-FINDINGS.md`
60
65
  - Run planning-system context detection for GSD, Superpowers, and BMAD
61
66
  - Write `.godpowers/prep/IMPORTED-CONTEXT.md` when useful context exists
62
67
  - For brownfield: schedule archaeology + reconstruction as preflight
@@ -77,6 +82,7 @@ needs to specify a mode.
77
82
  .godpowers/
78
83
  PROGRESS.md
79
84
  prep/
85
+ INITIAL-FINDINGS.md
80
86
  IMPORTED-CONTEXT.md # only when GSD / Superpowers / BMAD context exists
81
87
  prd/
82
88
  arch/
@@ -112,6 +118,12 @@ needs to specify a mode.
112
118
 
113
119
  `.godpowers/PROGRESS.md` created with initial state.
114
120
 
121
+ Always create `.godpowers/prep/INITIAL-FINDINGS.md`. This is Godpowers'
122
+ durable answer to "what did init find in this codebase?" It captures codebase
123
+ shape, framework and tooling signals, tests, CI, docs, AI-tool files, detected
124
+ methodology systems, risk signals, and the reasoning behind the suggested next
125
+ command.
126
+
115
127
  If GSD, Superpowers, BMAD, or similar planning context is detected, create
116
128
  `.godpowers/prep/IMPORTED-CONTEXT.md`. This artifact is preparation context,
117
129
  not source of truth. It feeds PRD, architecture, roadmap, and stack decisions
@@ -47,6 +47,9 @@ You are receiving a /god-mode invocation. Your job is to spawn the
47
47
  - The detected mode (A/B/C/E)
48
48
  - The active flags
49
49
  - Instruction to read `.godpowers/PROGRESS.md` from disk if it exists
50
+ - Instruction to read `.godpowers/prep/INITIAL-FINDINGS.md` and
51
+ `.godpowers/prep/IMPORTED-CONTEXT.md` if present before choosing the
52
+ first planning or build step
50
53
 
51
54
  6. Orchestrator runs the appropriate workflow:
52
55
  - Greenfield -> full-arc
@@ -39,6 +39,12 @@ if any are missing.
39
39
  User just ran /god-next. Auto-detects current project phase and suggests
40
40
  the next logical command.
41
41
 
42
+ Before suggesting, read `.godpowers/prep/INITIAL-FINDINGS.md` and
43
+ `.godpowers/prep/IMPORTED-CONTEXT.md` if present. Use them to explain why the
44
+ next step is safe or why a migration-aware step such as `/god-prd`,
45
+ `/god-map-codebase`, or `/god-mode` is better. Prep artifacts are context only;
46
+ state.json and completed Godpowers artifacts remain authoritative.
47
+
42
48
  ## Process for Mode 1 (post-completion)
43
49
 
44
50
  ```
package/skills/god-prd.md CHANGED
@@ -14,10 +14,13 @@ Spawn the **god-pm** agent in a fresh context via Task tool.
14
14
  ## Setup
15
15
 
16
16
  1. If `.godpowers/PROGRESS.md` does not exist: tell the user to run `/god-init` first
17
- 2. Otherwise: spawn god-pm with the user's project description from PROGRESS.md
18
- 3. The agent writes `.godpowers/prd/PRD.md`
19
- 4. The agent runs have-nots checks before declaring done
20
- 5. If god-pm pauses for a human question: relay to user using pause format
17
+ 2. Read `.godpowers/prep/INITIAL-FINDINGS.md` if present.
18
+ 3. Read `.godpowers/prep/IMPORTED-CONTEXT.md` if present.
19
+ 4. Spawn god-pm with the user's project description from PROGRESS.md plus any
20
+ prep artifacts. Prep artifacts are context, not source of truth.
21
+ 5. The agent writes `.godpowers/prd/PRD.md`
22
+ 6. The agent runs have-nots checks before declaring done
23
+ 7. If god-pm pauses for a human question: relay to user using pause format
21
24
 
22
25
  ## Verification
23
26
 
@@ -0,0 +1,52 @@
1
+ # Initial Findings
2
+
3
+ > This artifact records what Godpowers observed during `/god-init`. It is
4
+ > preparation documentation for planning, routing, and migration. Godpowers
5
+ > state and completed artifacts remain authoritative after they exist.
6
+
7
+ ## Codebase Shape
8
+
9
+ - [HYPOTHESIS] Project type: [greenfield / brownfield / bluefield / audit].
10
+ - [HYPOTHESIS] Scale: [trivial / small / medium / large / enterprise].
11
+ - [HYPOTHESIS] Primary language or runtime: [detected value].
12
+ - [HYPOTHESIS] Framework or app model: [detected value].
13
+ - [HYPOTHESIS] Package manager or build tool: [detected value].
14
+
15
+ ## Repo Signals
16
+
17
+ - [HYPOTHESIS] Source directories found: [paths].
18
+ - [HYPOTHESIS] Test signals found: [paths or "none detected"].
19
+ - [HYPOTHESIS] CI or release signals found: [paths or "none detected"].
20
+ - [HYPOTHESIS] Deployment signals found: [paths or "none detected"].
21
+ - [HYPOTHESIS] Documentation signals found: [paths or "none detected"].
22
+
23
+ ## Methodology And AI Tool Signals
24
+
25
+ - [HYPOTHESIS] AI instruction files found: [paths or "none detected"].
26
+ - [HYPOTHESIS] GSD context found: [paths or "none detected"].
27
+ - [HYPOTHESIS] Superpowers context found: [paths or "none detected"].
28
+ - [HYPOTHESIS] BMAD context found: [paths or "none detected"].
29
+ - [HYPOTHESIS] Imported context artifact: [.godpowers/prep/IMPORTED-CONTEXT.md or "not created"].
30
+
31
+ ## Planning Implications
32
+
33
+ - [HYPOTHESIS] PRD should pay attention to: [product or user signal].
34
+ - [HYPOTHESIS] Architecture should pay attention to: [technical or risk signal].
35
+ - [HYPOTHESIS] Roadmap should pay attention to: [delivery or dependency signal].
36
+ - [HYPOTHESIS] Stack should pay attention to: [tooling or constraint signal].
37
+
38
+ ## Risks And Unknowns
39
+
40
+ - [OPEN QUESTION] [Question raised by repo scan] -- Owner: user -- Due: before the relevant planning step.
41
+ - [HYPOTHESIS] Risk signal: [missing tests / unclear deploy path / stale docs / conflicting planning systems].
42
+
43
+ ## Suggested Next
44
+
45
+ - [DECISION] Suggested next command: [/god-prd / /god-map-codebase / /god-mode / /god-next].
46
+ - [DECISION] Reason: [why this command is the safest next step based on findings].
47
+
48
+ ## Use Rules
49
+
50
+ - [DECISION] Downstream agents may use this artifact as preparation context only.
51
+ - [DECISION] If this artifact conflicts with `.godpowers/intent.yaml`, `.godpowers/state.json`, `PROGRESS.md`, or a completed Godpowers artifact, the Godpowers artifact wins.
52
+ - [DECISION] Imported GSD, Superpowers, and BMAD signals must be converted into Godpowers-native artifacts, not preserved as parallel state.