godpowers 0.15.18 → 1.6.0
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 +92 -0
- package/README.md +11 -2
- package/RELEASE.md +74 -0
- package/SKILL.md +9 -0
- package/agents/god-architect.md +17 -1
- package/agents/god-auditor.md +67 -6
- package/agents/god-docs-writer.md +5 -0
- package/agents/god-explorer.md +38 -2
- package/agents/god-orchestrator.md +24 -4
- package/agents/god-pm.md +10 -0
- package/agents/god-roadmapper.md +11 -0
- package/agents/god-stack-selector.md +8 -0
- package/lib/artifact-linter.js +3 -1
- package/lib/have-nots-validator.js +174 -0
- package/lib/pillars.js +9 -3
- package/package.json +3 -2
- package/references/HAVE-NOTS.md +24 -0
- package/routing/god-mode.yaml +2 -1
- package/routing/god-preflight.yaml +36 -0
- package/routing/recipes/bluefield-org-aware.yaml +2 -0
- package/routing/recipes/brownfield-onboarding.yaml +4 -2
- package/skills/god-discuss.md +30 -6
- package/skills/god-doctor.md +2 -2
- package/skills/god-extension-info.md +1 -1
- package/skills/god-init.md +2 -2
- package/skills/god-lint.md +4 -1
- package/skills/god-mode.md +14 -2
- package/skills/god-next.md +5 -0
- package/skills/god-preflight.md +147 -0
- package/skills/god-version.md +2 -2
- package/templates/ARCH.md +3 -0
- package/templates/DOMAIN-GLOSSARY.md +50 -0
- package/workflows/bluefield-arc.yaml +13 -3
- package/workflows/brownfield-arc.yaml +13 -4
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-preflight
|
|
3
|
+
description: |
|
|
4
|
+
Run a read-only intake audit before arc-ready, pillars, archaeology, or
|
|
5
|
+
reconstruction work. Inventory the codebase, surface blockers, and recommend
|
|
6
|
+
the safest next pass without changing project code.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god preflight", "/god-preflight", "preflight audit",
|
|
9
|
+
"audit before arc-ready", "audit before pillars", "intake audit"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-preflight
|
|
13
|
+
|
|
14
|
+
Read-only intake audit for an existing codebase.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Before applying arc-ready direction to an existing repo
|
|
19
|
+
- Before scoring the repo against pillars
|
|
20
|
+
- Before brownfield archaeology or reconstruction
|
|
21
|
+
- When deciding whether to restructure, refactor, initialize Godpowers, or pause
|
|
22
|
+
|
|
23
|
+
## Purpose
|
|
24
|
+
|
|
25
|
+
This command diagnoses the repo before stronger workflows touch it.
|
|
26
|
+
|
|
27
|
+
It answers:
|
|
28
|
+
|
|
29
|
+
- What kind of project is this?
|
|
30
|
+
- What structure, tooling, tests, docs, CI, deploy paths, and agent instructions exist?
|
|
31
|
+
- What is missing before arc-ready can make good decisions?
|
|
32
|
+
- Which pillar weaknesses are already visible?
|
|
33
|
+
- What areas are risky to refactor before more evidence exists?
|
|
34
|
+
- What is the safest next pass?
|
|
35
|
+
|
|
36
|
+
## Process
|
|
37
|
+
|
|
38
|
+
1. Verify the target directory contains code or project configuration.
|
|
39
|
+
2. Create `.godpowers/preflight/` if needed.
|
|
40
|
+
3. Inspect the repo read-only:
|
|
41
|
+
- package manifests, lockfiles, build files, test config, CI config
|
|
42
|
+
- source tree shape, entry points, module boundaries, scripts
|
|
43
|
+
- README, docs, ADRs, architecture notes, env examples, AGENTS.md
|
|
44
|
+
- test presence, test command discoverability, coverage signals
|
|
45
|
+
- deploy, observability, security, dependency, and ownership signals
|
|
46
|
+
4. Produce `.godpowers/preflight/PREFLIGHT.md`.
|
|
47
|
+
5. Do not edit source files, planning artifacts, configs, or docs outside
|
|
48
|
+
`.godpowers/preflight/`.
|
|
49
|
+
|
|
50
|
+
## Scoring
|
|
51
|
+
|
|
52
|
+
Score only what can be supported by repo evidence.
|
|
53
|
+
|
|
54
|
+
Use these dimensions:
|
|
55
|
+
|
|
56
|
+
| Dimension | Looks for |
|
|
57
|
+
|---|---|
|
|
58
|
+
| Repo shape | Project type, framework, package manager, entry points, source layout |
|
|
59
|
+
| Arc readiness | Product direction, architecture notes, roadmap, deploy story, decision records |
|
|
60
|
+
| Pillar readiness | Tests, security, docs, observability, maintainability, UX, deployability |
|
|
61
|
+
| Godpowers readiness | Disk artifacts, AGENTS.md, commands, progress state, safe agent boundaries |
|
|
62
|
+
| Refactor risk | Coupling, missing tests, unclear ownership, ambiguous runtime paths |
|
|
63
|
+
| Suite signals | Multi-package or multi-repo structure, shared packages, release coordination |
|
|
64
|
+
|
|
65
|
+
Scores are directional, not final quality grades. The value is the evidence and
|
|
66
|
+
the sequence.
|
|
67
|
+
|
|
68
|
+
## Output
|
|
69
|
+
|
|
70
|
+
The report must be plain and evidence-backed. Every recommendation must explain
|
|
71
|
+
why it comes before the next one.
|
|
72
|
+
|
|
73
|
+
Write `.godpowers/preflight/PREFLIGHT.md`:
|
|
74
|
+
|
|
75
|
+
```markdown
|
|
76
|
+
# Godpowers Preflight
|
|
77
|
+
|
|
78
|
+
Date: [timestamp]
|
|
79
|
+
Target: [path]
|
|
80
|
+
|
|
81
|
+
## Snapshot
|
|
82
|
+
|
|
83
|
+
- DECISION: Project type is [type] because [files or commands].
|
|
84
|
+
- HYPOTHESIS: Primary runtime appears to be [runtime] because [evidence].
|
|
85
|
+
- OPEN QUESTION: [question that blocks confident planning].
|
|
86
|
+
|
|
87
|
+
## Readiness Scores
|
|
88
|
+
|
|
89
|
+
| Lens | Score | Evidence | Main blocker |
|
|
90
|
+
|---|---:|---|---|
|
|
91
|
+
| Arc-ready | [0-100] | [specific files or absence] | [blocker] |
|
|
92
|
+
| Pillars | [0-100] | [specific files or absence] | [blocker] |
|
|
93
|
+
| Godpowers | [0-100] | [specific files or absence] | [blocker] |
|
|
94
|
+
| Ready-suite | [0-100 or N/A] | [specific files or absence] | [blocker] |
|
|
95
|
+
|
|
96
|
+
## Inventory
|
|
97
|
+
|
|
98
|
+
- DECISION: [thing found] at `[path]`.
|
|
99
|
+
- HYPOTHESIS: [thing inferred] from `[path]`.
|
|
100
|
+
|
|
101
|
+
## Blockers Before Arc-Ready
|
|
102
|
+
|
|
103
|
+
1. DECISION: [blocker].
|
|
104
|
+
Evidence: `[path]` or missing `[path]`.
|
|
105
|
+
Next move: [specific command or artifact].
|
|
106
|
+
|
|
107
|
+
## Pillar Weaknesses
|
|
108
|
+
|
|
109
|
+
1. DECISION: [weakness].
|
|
110
|
+
Evidence: `[path]` or missing `[path]`.
|
|
111
|
+
Impact: [why it matters].
|
|
112
|
+
|
|
113
|
+
## Refactor Risk
|
|
114
|
+
|
|
115
|
+
1. HYPOTHESIS: [risk].
|
|
116
|
+
Evidence: `[path]`.
|
|
117
|
+
Avoid until: [needed proof or test].
|
|
118
|
+
|
|
119
|
+
## Recommended Sequence
|
|
120
|
+
|
|
121
|
+
1. DECISION: Run [next command or task] first because [reason].
|
|
122
|
+
2. DECISION: Run [next command or task] second because [reason].
|
|
123
|
+
3. DECISION: Defer [task] until [condition].
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Routing Guidance
|
|
127
|
+
|
|
128
|
+
Use the report to choose the next pass:
|
|
129
|
+
|
|
130
|
+
| Finding | Suggested next |
|
|
131
|
+
|---|---|
|
|
132
|
+
| Missing basic project state | `/god-init` |
|
|
133
|
+
| Unknown legacy structure | `/god-archaeology` |
|
|
134
|
+
| Existing code lacks planning artifacts | `/god-reconstruct` |
|
|
135
|
+
| Debt dominates delivery risk | `/god-tech-debt` |
|
|
136
|
+
| Artifacts exist but quality is unknown | `/god-audit` |
|
|
137
|
+
| Tests are absent before refactor | `/god-add-tests` |
|
|
138
|
+
| Refactor path is obvious and bounded | `/god-refactor` |
|
|
139
|
+
|
|
140
|
+
## Guardrails
|
|
141
|
+
|
|
142
|
+
- Build nothing.
|
|
143
|
+
- Do not modify application code.
|
|
144
|
+
- Do not normalize formatting.
|
|
145
|
+
- Do not create roadmap, PRD, architecture, or pillar artifacts.
|
|
146
|
+
- Do not score by vibe. Tie every score to evidence.
|
|
147
|
+
- Prefer "unknown" over confident invention.
|
package/skills/god-version.md
CHANGED
|
@@ -14,9 +14,9 @@ Print version and a short capability summary.
|
|
|
14
14
|
## Output
|
|
15
15
|
|
|
16
16
|
```
|
|
17
|
-
Godpowers
|
|
17
|
+
Godpowers v1.6.0
|
|
18
18
|
Install: /Users/.../.claude/ (matches package.json)
|
|
19
|
-
Surface:
|
|
19
|
+
Surface: 106 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
|
```
|
package/templates/ARCH.md
CHANGED
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
|
|
35
35
|
## Architecture Decision Records
|
|
36
36
|
|
|
37
|
+
Only create an ADR when all three are true: the decision is hard to reverse,
|
|
38
|
+
surprising without context, and the result of a real tradeoff.
|
|
39
|
+
|
|
37
40
|
### ADR-001: [Decision Title]
|
|
38
41
|
- **Context**: [What forced this decision]
|
|
39
42
|
- **Decision**: [What was chosen]
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Domain Glossary
|
|
2
|
+
|
|
3
|
+
> [DECISION] This artifact records project-specific language that planning,
|
|
4
|
+
> architecture, roadmap, stack, build, and docs agents must use consistently.
|
|
5
|
+
> [DECISION] This artifact contains domain language only, not implementation
|
|
6
|
+
> details, product requirements, stack choices, or scratch notes.
|
|
7
|
+
|
|
8
|
+
## Language
|
|
9
|
+
|
|
10
|
+
### [Domain Area]
|
|
11
|
+
|
|
12
|
+
**[Canonical Term]**: [DECISION] [One sentence defining what the term is.]
|
|
13
|
+
_Avoid_: [alias one], [alias two], [overloaded word to avoid]
|
|
14
|
+
|
|
15
|
+
**[Second Canonical Term]**: [DECISION] [One sentence defining what the term is.]
|
|
16
|
+
_Avoid_: [alias one], [alias two]
|
|
17
|
+
|
|
18
|
+
## Relationships
|
|
19
|
+
|
|
20
|
+
- [DECISION] **[Canonical Term]** belongs to exactly one **[Other Term]**.
|
|
21
|
+
- [DECISION] **[Other Term]** can contain zero or more **[Canonical Term]** records.
|
|
22
|
+
|
|
23
|
+
## Example Dialogue
|
|
24
|
+
|
|
25
|
+
> [DECISION] Dev: "When a **[Canonical Term]** changes, do we update the
|
|
26
|
+
> **[Other Term]** immediately?"
|
|
27
|
+
> [DECISION] Domain expert: "No, **[Other Term]** only changes after
|
|
28
|
+
> **[Third Term]** is confirmed."
|
|
29
|
+
|
|
30
|
+
## Flagged Ambiguities
|
|
31
|
+
|
|
32
|
+
- [OPEN QUESTION] [Ambiguous word] has been used to mean [meaning A] and
|
|
33
|
+
[meaning B]. Owner: user. Due: before [next command].
|
|
34
|
+
|
|
35
|
+
## Source Notes
|
|
36
|
+
|
|
37
|
+
- [HYPOTHESIS] [Term] came from [conversation, code path, imported context, or
|
|
38
|
+
existing docs]. Validation: confirm during [next command or user review].
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Have-Nots Checklist
|
|
43
|
+
|
|
44
|
+
- [ ] Every term is specific to this project domain.
|
|
45
|
+
- [ ] Every term has one canonical spelling.
|
|
46
|
+
- [ ] Every term has avoided aliases listed.
|
|
47
|
+
- [ ] Every definition is one sentence.
|
|
48
|
+
- [ ] Relationships use canonical terms.
|
|
49
|
+
- [ ] Ambiguities are resolved or captured as `[OPEN QUESTION]` with owner and due date.
|
|
50
|
+
- [ ] No implementation details are stored here.
|
|
@@ -7,10 +7,11 @@ apiVersion: godpowers/v1
|
|
|
7
7
|
kind: Workflow
|
|
8
8
|
metadata:
|
|
9
9
|
name: bluefield-arc
|
|
10
|
-
version: 1.
|
|
10
|
+
version: 1.3.0
|
|
11
11
|
description: |
|
|
12
12
|
Bluefield: new code, existing org context. Loads org standards first,
|
|
13
|
-
runs a
|
|
13
|
+
runs a preflight intake against the surrounding environment, runs a
|
|
14
|
+
greenfield simulation audit against those constraints, then runs a
|
|
14
15
|
user-approved greenfieldification pass before the full arc.
|
|
15
16
|
|
|
16
17
|
on: [/god-bluefield, /god-mode --bluefield]
|
|
@@ -20,10 +21,19 @@ jobs:
|
|
|
20
21
|
tier: 0
|
|
21
22
|
uses: god-org-context-loader@^1.0.0
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
preflight:
|
|
24
25
|
tier: 0
|
|
25
26
|
needs: org-context
|
|
26
27
|
uses: god-auditor@^1.0.0
|
|
28
|
+
with:
|
|
29
|
+
mode: preflight
|
|
30
|
+
scope: org-context-and-surrounding-repo
|
|
31
|
+
output: .godpowers/preflight/PREFLIGHT.md
|
|
32
|
+
|
|
33
|
+
greenfield-simulation-audit:
|
|
34
|
+
tier: 0
|
|
35
|
+
needs: preflight
|
|
36
|
+
uses: god-auditor@^1.0.0
|
|
27
37
|
with:
|
|
28
38
|
mode: greenfield-simulation
|
|
29
39
|
compare: canonical-godpowers-arc-to-org-constraints
|
|
@@ -7,17 +7,26 @@ apiVersion: godpowers/v1
|
|
|
7
7
|
kind: Workflow
|
|
8
8
|
metadata:
|
|
9
9
|
name: brownfield-arc
|
|
10
|
-
version: 1.
|
|
10
|
+
version: 1.3.0
|
|
11
11
|
description: |
|
|
12
|
-
Brownfield: existing codebase,
|
|
13
|
-
reconstruction + debt assessment + greenfield simulation
|
|
14
|
-
user-approved greenfieldification pass before normal arc
|
|
12
|
+
Brownfield: existing codebase, inspect before prescribing. Preflight +
|
|
13
|
+
archaeology + reconstruction + debt assessment + greenfield simulation
|
|
14
|
+
audit, then a user-approved greenfieldification pass before normal arc
|
|
15
|
+
workflows.
|
|
15
16
|
|
|
16
17
|
on: [/god-brownfield, /god-mode --brownfield]
|
|
17
18
|
|
|
18
19
|
jobs:
|
|
20
|
+
preflight:
|
|
21
|
+
tier: 0
|
|
22
|
+
uses: god-auditor@^1.0.0
|
|
23
|
+
with:
|
|
24
|
+
mode: preflight
|
|
25
|
+
output: .godpowers/preflight/PREFLIGHT.md
|
|
26
|
+
|
|
19
27
|
archaeology:
|
|
20
28
|
tier: 0
|
|
29
|
+
needs: preflight
|
|
21
30
|
uses: god-archaeologist@^1.0.0
|
|
22
31
|
|
|
23
32
|
reconstruct:
|