godpowers 1.6.3 → 1.6.5
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 +56 -0
- package/README.md +6 -5
- package/RELEASE.md +27 -21
- package/agents/god-orchestrator.md +31 -2
- package/lib/agent-validator.js +6 -2
- package/lib/router.js +32 -0
- package/package.json +1 -1
- package/routing/god-harden.yaml +3 -0
- package/routing/god-launch.yaml +3 -0
- package/routing/god-mode.yaml +3 -0
- package/routing/god-observe.yaml +3 -0
- package/skills/god-doctor.md +1 -1
- package/skills/god-mode.md +80 -48
- package/skills/god-next.md +5 -0
- package/skills/god-version.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,62 @@ 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
|
+
## [1.6.5] - 2026-05-16
|
|
9
|
+
|
|
10
|
+
God Mode handoff privacy patch. Keeps the 1.6 command surface stable while
|
|
11
|
+
making Codex-spawned `god-orchestrator` runs display a small safe pointer
|
|
12
|
+
instead of detailed orchestration payloads.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- Added a private `.godpowers/runs/<run-id>/ORCHESTRATOR-HANDOFF.md` handoff
|
|
16
|
+
pattern for `/god-mode` orchestration context.
|
|
17
|
+
- Added `god-orchestrator` instructions to read handoff files before planning
|
|
18
|
+
or mutation and keep handoff contents out of the visible transcript.
|
|
19
|
+
- Added regression coverage proving agent validation ignores non-specialist
|
|
20
|
+
Pillars files under `agents/`.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- `/god-mode` now spawns `god-orchestrator` with only a display-safe project
|
|
24
|
+
root, flags, and handoff file path.
|
|
25
|
+
- Agent validation and smoke tests now inspect `agents/god-*.md` specialist
|
|
26
|
+
files while allowing Pillars context files like `agents/context.md` and
|
|
27
|
+
`agents/repo.md` to coexist.
|
|
28
|
+
|
|
29
|
+
### Guardrails
|
|
30
|
+
- This patch does not add slash commands, agents, workflows, recipes, schemas,
|
|
31
|
+
or public artifact formats.
|
|
32
|
+
- `--yolo` still respects safe-sync and Critical harden blockers. The handoff
|
|
33
|
+
change affects transcript hygiene, not gate policy.
|
|
34
|
+
|
|
35
|
+
## [1.6.4] - 2026-05-16
|
|
36
|
+
|
|
37
|
+
Release gate propagation patch. Keeps the 1.6 command surface stable while
|
|
38
|
+
making the safe sync and Critical harden gates apply to direct commands,
|
|
39
|
+
`/god-mode`, and `/god-mode --yolo`.
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
- Added executable router support for `no-critical-findings`.
|
|
43
|
+
- Added safe-sync prerequisites to `/god-observe`, `/god-harden`,
|
|
44
|
+
`/god-launch`, and `/god-mode`.
|
|
45
|
+
- Added regression tests proving safe sync blocks direct Tier 3 commands and
|
|
46
|
+
`/god-mode`.
|
|
47
|
+
- Added regression tests proving `/god-launch` blocks unresolved Critical
|
|
48
|
+
harden findings and allows passed harden gates.
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
- `god-orchestrator` now explicitly evaluates router prerequisites before
|
|
52
|
+
command dispatch instead of relying only on structural tier order.
|
|
53
|
+
- `/god-mode --yolo` now documents safe sync and unresolved Critical harden
|
|
54
|
+
findings as release-truth gates that cannot be bypassed.
|
|
55
|
+
- Generated routing metadata now preserves per-prerequisite auto-complete
|
|
56
|
+
commands so future generated Tier 3 routes keep the safe sync gate.
|
|
57
|
+
|
|
58
|
+
### Guardrails
|
|
59
|
+
- This patch does not add slash commands, agents, workflows, recipes, schemas,
|
|
60
|
+
or public artifact formats.
|
|
61
|
+
- `--yolo` can still auto-pick defaults, but it cannot auto-accept unresolved
|
|
62
|
+
release truth blockers.
|
|
63
|
+
|
|
8
64
|
## [1.6.3] - 2026-05-16
|
|
9
65
|
|
|
10
66
|
Safe sync routing patch. Keeps the 1.6 command surface stable while making
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/aihxp/godpowers/actions/workflows/ci.yml)
|
|
4
4
|
[](LICENSE)
|
|
5
|
-
[](CHANGELOG.md)
|
|
6
6
|
[](https://www.npmjs.com/package/godpowers)
|
|
7
7
|
|
|
8
8
|
**Ship fast. Ship right. Ship everything. Ship accountably.**
|
|
@@ -12,10 +12,11 @@ idea to hardened production. It runs as **slash commands inside your AI coding
|
|
|
12
12
|
tool** (Claude Code, Codex, Cursor, etc.) that orchestrate **specialist agents**
|
|
13
13
|
in fresh contexts to do the work.
|
|
14
14
|
|
|
15
|
-
Version 1.6.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
Version 1.6.5 keeps the stable Godpowers surface while making Codex
|
|
16
|
+
`god-orchestrator` spawns transcript-safe: `/god-mode` now writes detailed
|
|
17
|
+
orchestration context to a private handoff file and spawns with only a small
|
|
18
|
+
display-safe pointer. Safe-sync and unresolved Critical harden findings still
|
|
19
|
+
gate direct Tier 3 commands, `/god-mode`, and `/god-mode --yolo`.
|
|
19
20
|
|
|
20
21
|
It fuses four disciplines into one unified workflow:
|
|
21
22
|
|
package/RELEASE.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
# Godpowers 1.6.
|
|
1
|
+
# Godpowers 1.6.5 Release
|
|
2
2
|
|
|
3
3
|
Date: 2026-05-16
|
|
4
4
|
|
|
5
|
-
Godpowers 1.6.
|
|
6
|
-
The goal of this patch is to make
|
|
7
|
-
|
|
5
|
+
Godpowers 1.6.5 keeps the stable 1.6 surface while fixing Codex God Mode
|
|
6
|
+
transcript hygiene. The goal of this patch is to make `god-orchestrator`
|
|
7
|
+
spawn correctly from `/god-mode` and `/god-mode --yolo` without exposing the
|
|
8
|
+
detailed orchestration payload in the visible transcript.
|
|
8
9
|
|
|
9
10
|
## What is stable
|
|
10
11
|
|
|
@@ -14,7 +15,8 @@ sync blockers before Tier 3 work, without changing the public command surface.
|
|
|
14
15
|
- 36 intent recipes
|
|
15
16
|
- 15-runtime installer
|
|
16
17
|
- Codex installs with 39 generated `god-*.toml` agent metadata files
|
|
17
|
-
- Safe-sync routing before deploy, observe, harden, or
|
|
18
|
+
- Safe-sync routing before deploy, observe, harden, launch, or god-mode work
|
|
19
|
+
- Critical harden finding gate before launch
|
|
18
20
|
- Native Pillars project context through `AGENTS.md` and `agents/*.md`
|
|
19
21
|
- `.godpowers/` workflow state and artifact layout
|
|
20
22
|
- Core schemas: intent, state, events, workflow, routing, recipes, extension
|
|
@@ -25,31 +27,35 @@ sync blockers before Tier 3 work, without changing the public command surface.
|
|
|
25
27
|
|
|
26
28
|
## What is new
|
|
27
29
|
|
|
28
|
-
- `/god-
|
|
29
|
-
|
|
30
|
-
- `/god-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
|
|
30
|
+
- `/god-mode` now writes detailed orchestration context to
|
|
31
|
+
`.godpowers/runs/<run-id>/ORCHESTRATOR-HANDOFF.md`.
|
|
32
|
+
- `/god-mode` now spawns `god-orchestrator` with only a display-safe project
|
|
33
|
+
root, flags, and handoff file path.
|
|
34
|
+
- `god-orchestrator` now knows to read the handoff file before planning,
|
|
35
|
+
spawning, or mutating project state.
|
|
36
|
+
- `god-orchestrator` now treats handoff contents as private orchestration
|
|
37
|
+
context and keeps them out of the visible transcript.
|
|
38
|
+
- Agent validation and smoke tests now inspect `agents/god-*.md` specialist
|
|
39
|
+
files while allowing Pillars context files like `agents/context.md` and
|
|
40
|
+
`agents/repo.md` to coexist.
|
|
36
41
|
|
|
37
|
-
## What 1.6.
|
|
42
|
+
## What 1.6.5 means
|
|
38
43
|
|
|
39
|
-
Godpowers 1.6.
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
Godpowers 1.6.5 does not expand the public command surface. It fixes the Codex
|
|
45
|
+
spawn integration path so the right specialist agent is still started, but the
|
|
46
|
+
host UI only sees a small pointer to disk state instead of raw checkpoint,
|
|
47
|
+
routing, and local-file details.
|
|
42
48
|
|
|
43
|
-
|
|
44
|
-
|
|
49
|
+
Safe sync and unresolved Critical harden findings remain release-truth gates.
|
|
50
|
+
`--yolo` can still auto-pick defaults, but it cannot bypass those blockers.
|
|
45
51
|
|
|
46
52
|
## Stability policy
|
|
47
53
|
|
|
48
54
|
During the 1.x stability window, do not add broad new command families, change
|
|
49
55
|
schema formats, or rename public artifacts without evidence from real use.
|
|
50
56
|
|
|
51
|
-
The `v1.6.
|
|
52
|
-
`godpowers@1.6.
|
|
57
|
+
The `v1.6.5` git tag points to the release commit that matches the npm
|
|
58
|
+
`godpowers@1.6.5` package. Public publishes should prefer the tag-triggered
|
|
53
59
|
GitHub workflow so npm provenance, git history, and release notes stay aligned.
|
|
54
60
|
|
|
55
61
|
Allowed changes:
|
|
@@ -21,6 +21,24 @@ You orchestrate the full Godpowers arc. You DO NOT do the heavy lifting yourself
|
|
|
21
21
|
Your job is to spawn the right specialist agent for each sub-step, verify their
|
|
22
22
|
output passes the gate, update PROGRESS.md, and move to the next step.
|
|
23
23
|
|
|
24
|
+
## God Mode Handoff
|
|
25
|
+
|
|
26
|
+
When spawned by `/god-mode`, the visible spawn message may include only a
|
|
27
|
+
display-safe summary plus a path like
|
|
28
|
+
`.godpowers/runs/<run-id>/ORCHESTRATOR-HANDOFF.md`.
|
|
29
|
+
|
|
30
|
+
If a handoff path is provided:
|
|
31
|
+
1. Read the handoff file before any planning, spawning, or state mutation.
|
|
32
|
+
2. Treat the handoff as private orchestration context and disk evidence.
|
|
33
|
+
3. Do not quote, summarize, or expose the full handoff in the user-visible
|
|
34
|
+
transcript.
|
|
35
|
+
4. If the handoff conflicts with durable artifacts, prefer disk artifacts and
|
|
36
|
+
record the conflict as an open question or repair target.
|
|
37
|
+
|
|
38
|
+
If no handoff path is provided, recover from durable disk state. Do not ask the
|
|
39
|
+
user to restate the project when `.godpowers` artifacts, Pillars files, or
|
|
40
|
+
repository evidence identify the work.
|
|
41
|
+
|
|
24
42
|
## Quarterback responsibilities (Tier 0 ownership)
|
|
25
43
|
|
|
26
44
|
You and only you are responsible for:
|
|
@@ -223,6 +241,14 @@ When deciding what to spawn next, query the routing definition:
|
|
|
223
241
|
- `standards.have-nots` -> which have-nots to verify
|
|
224
242
|
- `success-path.next-recommended` -> what to suggest next
|
|
225
243
|
|
|
244
|
+
Before spawning a command, evaluate `lib/router.js checkPrerequisites(command,
|
|
245
|
+
projectRoot)`. Missing prerequisites are authoritative even when the tier
|
|
246
|
+
order suggests the command is structurally next. If `safe-sync-clear` fails,
|
|
247
|
+
route to `/god-reconcile Release Truth And Safe Sync` before deploy, observe,
|
|
248
|
+
harden, launch, broad migration, or resume work. If `no-critical-findings`
|
|
249
|
+
fails, launch remains blocked until harden is fixed and re-verified or risk is
|
|
250
|
+
explicitly accepted in writing.
|
|
251
|
+
|
|
226
252
|
Between every tier, run god-standards-check on the produced artifact (if
|
|
227
253
|
the routing config has a `standards` section). Standards check uses fresh
|
|
228
254
|
context, independent of the producing agent, so it catches drift the
|
|
@@ -646,11 +672,14 @@ Auto-resolve all pause categories EXCEPT:
|
|
|
646
672
|
|
|
647
673
|
**Impossible preflight routing contradictions pause, even with --yolo.**
|
|
648
674
|
|
|
675
|
+
**Unresolved safe sync blockers pause or route to reconcile, even with --yolo.**
|
|
676
|
+
|
|
649
677
|
Rationale: shipping with a known Critical vulnerability is a category of risk
|
|
650
678
|
that should never be auto-accepted. A preflight contradiction means the repo
|
|
651
679
|
evidence does not support any safe next route. If god-harden-auditor returns
|
|
652
|
-
Critical findings, or preflight cannot choose
|
|
653
|
-
routes from evidence, --yolo does NOT skip. Pause
|
|
680
|
+
Critical findings, unresolved safe sync blockers, or preflight cannot choose
|
|
681
|
+
between mutually exclusive routes from evidence, --yolo does NOT skip. Pause
|
|
682
|
+
for human resolution when no safe automatic reconcile route exists.
|
|
654
683
|
|
|
655
684
|
These are the only --yolo carve-outs. All other pauses are auto-resolved with
|
|
656
685
|
the agent's documented default, and all repairable mechanical failures are
|
package/lib/agent-validator.js
CHANGED
|
@@ -230,14 +230,18 @@ function crossValidate(agents, opts = {}) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
|
-
* Walk agents/ and audit all.
|
|
233
|
+
* Walk agents/ and audit all shipped specialist agents.
|
|
234
|
+
*
|
|
235
|
+
* Godpowers projects may also have Pillars files under agents/ (for example
|
|
236
|
+
* agents/context.md and agents/repo.md). Those are project context, not
|
|
237
|
+
* specialist agent specs, so they are intentionally excluded here.
|
|
234
238
|
*/
|
|
235
239
|
function auditAll(projectRoot, opts = {}) {
|
|
236
240
|
const agentsDir = path.join(projectRoot, 'agents');
|
|
237
241
|
if (!fs.existsSync(agentsDir)) {
|
|
238
242
|
return { results: [], summary: { errors: 0, warnings: 0, infos: 0 } };
|
|
239
243
|
}
|
|
240
|
-
const files = fs.readdirSync(agentsDir).filter(f => f
|
|
244
|
+
const files = fs.readdirSync(agentsDir).filter(f => /^god-.*\.md$/.test(f));
|
|
241
245
|
const agents = files.map(f => parseAgentFile(path.join(agentsDir, f)));
|
|
242
246
|
|
|
243
247
|
const allFindings = [];
|
package/lib/router.js
CHANGED
|
@@ -19,6 +19,7 @@ const SAFE_SYNC_DONE_FILES = [
|
|
|
19
19
|
'.godpowers/sync/SAFE-SYNC-DONE.md',
|
|
20
20
|
'.godpowers/sync/SAFE-SYNC-RESOLVED.md'
|
|
21
21
|
];
|
|
22
|
+
const HARDEN_FINDINGS = '.godpowers/harden/FINDINGS.md';
|
|
22
23
|
|
|
23
24
|
let _cache = null;
|
|
24
25
|
|
|
@@ -116,6 +117,10 @@ function evaluateCheck(check, projectRoot) {
|
|
|
116
117
|
return detectSafeSyncBlocker(projectRoot) === null;
|
|
117
118
|
}
|
|
118
119
|
|
|
120
|
+
if (check === 'no-critical-findings') {
|
|
121
|
+
return hasNoCriticalFindings(projectRoot);
|
|
122
|
+
}
|
|
123
|
+
|
|
119
124
|
// mode-A-greenfield: pass-through hint, treat as satisfiable
|
|
120
125
|
if (check.includes('greenfield') || check.includes('mode-A')) {
|
|
121
126
|
return !fs.existsSync(path.join(projectRoot, '.godpowers'));
|
|
@@ -303,6 +308,32 @@ function safeSyncSuggestion(reason, evidence) {
|
|
|
303
308
|
};
|
|
304
309
|
}
|
|
305
310
|
|
|
311
|
+
function hasNoCriticalFindings(projectRoot) {
|
|
312
|
+
const findingsPath = path.join(projectRoot, HARDEN_FINDINGS);
|
|
313
|
+
if (!fs.existsSync(findingsPath)) return false;
|
|
314
|
+
|
|
315
|
+
const findings = fs.readFileSync(findingsPath, 'utf8');
|
|
316
|
+
if (/\*\*Launch gate\*\*:\s*PASSED/i.test(findings) || /Launch gate:\s*PASSED/i.test(findings)) {
|
|
317
|
+
return true;
|
|
318
|
+
}
|
|
319
|
+
if (/\*\*Launch gate\*\*:\s*BLOCKED/i.test(findings) || /Launch gate:\s*BLOCKED/i.test(findings)) {
|
|
320
|
+
return false;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
const criticalCount = findings.match(/\|\s*Critical\s*\|\s*(\d+)\s*\|/i);
|
|
324
|
+
if (criticalCount) {
|
|
325
|
+
return Number(criticalCount[1]) === 0;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
const criticalSections = findings.match(/^###\s+\[CRITICAL-[^\n]+(?:\n(?!###\s+\[).*)*/gim) || [];
|
|
329
|
+
if (criticalSections.length === 0) return true;
|
|
330
|
+
|
|
331
|
+
return criticalSections.every(section => (
|
|
332
|
+
/\*\*Status\*\*:\s*(Fixed|Accepted-Risk)/i.test(section)
|
|
333
|
+
|| /Status:\s*(Fixed|Accepted-Risk)/i.test(section)
|
|
334
|
+
));
|
|
335
|
+
}
|
|
336
|
+
|
|
306
337
|
/**
|
|
307
338
|
* Clear cached routing (for tests).
|
|
308
339
|
*/
|
|
@@ -321,5 +352,6 @@ module.exports = {
|
|
|
321
352
|
suggestNext,
|
|
322
353
|
evaluateCheck,
|
|
323
354
|
detectSafeSyncBlocker,
|
|
355
|
+
hasNoCriticalFindings,
|
|
324
356
|
clearCache
|
|
325
357
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "godpowers",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.5",
|
|
4
4
|
"description": "AI-powered development system: 106 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"
|
package/routing/god-harden.yaml
CHANGED
|
@@ -10,6 +10,9 @@ prerequisites:
|
|
|
10
10
|
- check: state:tier-2.build.status == done
|
|
11
11
|
auto-complete: /god-build
|
|
12
12
|
human-required: true
|
|
13
|
+
- check: safe-sync-clear
|
|
14
|
+
auto-complete: /god-reconcile Release Truth And Safe Sync
|
|
15
|
+
human-required: true
|
|
13
16
|
|
|
14
17
|
execution:
|
|
15
18
|
spawns: [god-harden-auditor]
|
package/routing/god-launch.yaml
CHANGED
|
@@ -10,6 +10,9 @@ prerequisites:
|
|
|
10
10
|
- check: state:tier-3.harden.status == done
|
|
11
11
|
auto-complete: /god-harden
|
|
12
12
|
human-required: true
|
|
13
|
+
- check: safe-sync-clear
|
|
14
|
+
auto-complete: /god-reconcile Release Truth And Safe Sync
|
|
15
|
+
human-required: true
|
|
13
16
|
- check: no-critical-findings
|
|
14
17
|
auto-complete: /god-harden
|
|
15
18
|
human-required: true
|
package/routing/god-mode.yaml
CHANGED
|
@@ -10,6 +10,9 @@ prerequisites:
|
|
|
10
10
|
- check: file:.godpowers/PROGRESS.md OR mode-A-greenfield
|
|
11
11
|
auto-complete: /god-init
|
|
12
12
|
human-required: true
|
|
13
|
+
- check: safe-sync-clear
|
|
14
|
+
auto-complete: /god-reconcile Release Truth And Safe Sync
|
|
15
|
+
human-required: true
|
|
13
16
|
|
|
14
17
|
execution:
|
|
15
18
|
spawns: [god-orchestrator]
|
package/routing/god-observe.yaml
CHANGED
|
@@ -10,6 +10,9 @@ prerequisites:
|
|
|
10
10
|
- check: state:tier-3.deploy.status == done
|
|
11
11
|
auto-complete: /god-deploy
|
|
12
12
|
human-required: true
|
|
13
|
+
- check: safe-sync-clear
|
|
14
|
+
auto-complete: /god-reconcile Release Truth And Safe Sync
|
|
15
|
+
human-required: true
|
|
13
16
|
|
|
14
17
|
execution:
|
|
15
18
|
spawns: [god-observability-engineer]
|
package/skills/god-doctor.md
CHANGED
|
@@ -48,7 +48,7 @@ GODPOWERS DOCTOR
|
|
|
48
48
|
Install: claude (~/.claude/)
|
|
49
49
|
[OK] 106 skills installed
|
|
50
50
|
[OK] 39 agents installed
|
|
51
|
-
[OK] VERSION matches (1.6.
|
|
51
|
+
[OK] VERSION matches (1.6.5)
|
|
52
52
|
[WARN] routing/god-doctor.yaml exists but skill file did not until now
|
|
53
53
|
|
|
54
54
|
Project: /Users/.../my-project/.godpowers/
|
package/skills/god-mode.md
CHANGED
|
@@ -69,67 +69,94 @@ You are receiving a /god-mode invocation. Your job is to spawn the
|
|
|
69
69
|
- `--bluefield` (force bluefield path)
|
|
70
70
|
- `--greenfield` (force greenfield, skip archaeology even if code exists)
|
|
71
71
|
|
|
72
|
-
5.
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
`.godpowers
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
72
|
+
5. Create a private disk handoff before spawning the orchestrator:
|
|
73
|
+
- Path: `.godpowers/runs/<run-id>/ORCHESTRATOR-HANDOFF.md`
|
|
74
|
+
- Create parent directories if needed.
|
|
75
|
+
- Put all detailed orchestration context in this file, including:
|
|
76
|
+
- The user's project description, or durable intent recovered from disk
|
|
77
|
+
- The detected mode (A/B/C/E)
|
|
78
|
+
- The active flags
|
|
79
|
+
- Instruction that existing `.godpowers` state means resume, not prompt
|
|
80
|
+
- Instruction to read `.godpowers/PROGRESS.md` from disk if it exists
|
|
81
|
+
- Instruction to read `.godpowers/prep/INITIAL-FINDINGS.md` and
|
|
82
|
+
`.godpowers/prep/IMPORTED-CONTEXT.md` if present before choosing the
|
|
83
|
+
first planning or build step
|
|
84
|
+
- Instruction to read `.godpowers/preflight/PREFLIGHT.md` if present
|
|
85
|
+
before choosing the first brownfield or bluefield action
|
|
86
|
+
- Instruction to compute and load the Pillars load set before every major
|
|
87
|
+
command, because Pillars is the native project context layer
|
|
88
|
+
- Instruction to run `/god-design` after `/god-prd` and before
|
|
89
|
+
`/god-arch` when initial findings, imported planning context, the PRD,
|
|
90
|
+
or the codebase show UI or product-experience signals
|
|
91
|
+
- Instruction that a red test, typecheck, lint, build, or check command
|
|
92
|
+
is not a completed arc. It must enter the autonomous repair loop and
|
|
93
|
+
continue the same `/god-mode` run until green, except for Critical
|
|
94
|
+
security or a genuine human-only decision.
|
|
95
|
+
- Instruction that deploy, observe, harden, and launch must follow the
|
|
96
|
+
Shipping Closure Protocol: verify a real environment when available,
|
|
97
|
+
otherwise create local/CI-verifiable deploy automation and pause only
|
|
98
|
+
for one exact external access bundle.
|
|
99
|
+
- Instruction that keys, API tokens, dashboards, admin consoles, and
|
|
100
|
+
provider-specific access are last-mile inputs. The first external pause
|
|
101
|
+
should ask only for the smallest next item needed by a concrete command,
|
|
102
|
+
usually `STAGING_APP_URL=<staging-origin>`. Ask for additional provider
|
|
103
|
+
access only after a named check proves it is needed.
|
|
104
|
+
- Instruction that staging, preview, and production URLs must come from
|
|
105
|
+
direct evidence. Never infer or invent a domain from project name,
|
|
106
|
+
package name, repo name, README title, or brand name. If no deployed
|
|
107
|
+
origin is evidenced, pause for
|
|
108
|
+
`STAGING_APP_URL=<deployed staging origin>`.
|
|
109
|
+
- Instruction that brownfield and bluefield greenfield simulation audits
|
|
110
|
+
must be acted on by god-greenfieldifier. The greenfieldifier writes
|
|
111
|
+
`.godpowers/audit/GREENFIELDIFY-PLAN.md`, pauses before risky canonical
|
|
112
|
+
artifact rewrites, and updates every affected artifact after approval.
|
|
113
|
+
- Instruction that brownfield and bluefield arcs run `/god-preflight`
|
|
114
|
+
automatically when `.godpowers/preflight/PREFLIGHT.md` is absent.
|
|
115
|
+
Greenfield arcs skip preflight unless the user explicitly requests it.
|
|
116
|
+
- Instruction to run routing prerequisites through `lib/router.js`
|
|
117
|
+
`checkPrerequisites` before every direct command dispatch. If
|
|
118
|
+
`safe-sync-clear` fails, run
|
|
119
|
+
`/god-reconcile Release Truth And Safe Sync` before deploy, observe,
|
|
120
|
+
harden, launch, broad migration, or resume work.
|
|
121
|
+
- Instruction that `--yolo` cannot bypass safe sync blockers or
|
|
122
|
+
unresolved Critical harden findings. These are release-truth gates, not
|
|
123
|
+
preference pauses.
|
|
124
|
+
|
|
125
|
+
6. Spawn the **god-orchestrator** agent via Task tool with only a
|
|
126
|
+
display-safe payload:
|
|
127
|
+
- Name the project root.
|
|
128
|
+
- Name the invocation flags.
|
|
129
|
+
- Name the handoff file path.
|
|
130
|
+
- Say: "Read the handoff file first, then run the autonomous arc from disk
|
|
131
|
+
state. Return only user-facing progress and final status."
|
|
132
|
+
|
|
133
|
+
Do not put recovered checkpoint facts, safe-sync plans, local file lists,
|
|
134
|
+
hidden routing rules, or detailed instructions in the spawn message.
|
|
135
|
+
Assume the host UI may display the raw spawn message to the user.
|
|
136
|
+
|
|
137
|
+
7. Keep the spawn payload display-safe. Do not echo or summarize raw Task input,
|
|
114
138
|
"Hard instructions", hidden orchestration rules, agent prompts, file
|
|
115
139
|
loadout lists, or internal routing payloads into the user-visible transcript.
|
|
116
140
|
The visible transcript may say only what phase is running, what durable state
|
|
117
141
|
was detected, what commands are running, what changed, and the final
|
|
118
142
|
`Arc complete` or `PAUSE: external access required` block.
|
|
119
143
|
|
|
120
|
-
|
|
144
|
+
8. Orchestrator runs the appropriate workflow:
|
|
121
145
|
- Greenfield -> full-arc
|
|
122
146
|
- Brownfield -> brownfield-arc (preflight -> archaeology -> reconstruct -> debt-assess -> greenfield simulation audit -> greenfieldify plan and approved artifact updates -> proceed)
|
|
123
147
|
- Bluefield -> bluefield-arc (org-context -> preflight -> greenfield simulation audit -> greenfieldify plan and approved artifact updates -> arc with constraints)
|
|
124
148
|
|
|
125
|
-
|
|
126
|
-
platform displays raw spawn details automatically,
|
|
127
|
-
|
|
149
|
+
9. Relay only the orchestrator's user-facing output to the user. If the
|
|
150
|
+
platform displays raw spawn details automatically, the displayed payload
|
|
151
|
+
should already be safe. Immediately follow with a clean public summary and
|
|
152
|
+
never repeat detailed handoff contents.
|
|
128
153
|
|
|
129
|
-
|
|
154
|
+
10. When the orchestrator pauses, present the question to the user using the
|
|
130
155
|
pause format (What / Why / Options / Default).
|
|
131
156
|
|
|
132
|
-
|
|
157
|
+
11. When the user answers, append the answer to the existing handoff file or
|
|
158
|
+
create a new handoff file, then re-spawn god-orchestrator with only the
|
|
159
|
+
display-safe pointer.
|
|
133
160
|
|
|
134
161
|
## User-Visible Transcript Contract
|
|
135
162
|
|
|
@@ -145,6 +172,7 @@ Hide:
|
|
|
145
172
|
- raw Task input
|
|
146
173
|
- "Hard instructions" sections
|
|
147
174
|
- spawned-agent prompt text
|
|
175
|
+
- detailed handoff file contents
|
|
148
176
|
- system, developer, or AGENTS.md rule recitations
|
|
149
177
|
- complete file loadout lists
|
|
150
178
|
- internal routing metadata unless it directly affects a user decision
|
|
@@ -177,6 +205,10 @@ and logs decisions to `.godpowers/YOLO-DECISIONS.md`. Pillar sync proposals
|
|
|
177
205
|
generated from durable Godpowers artifact changes are auto-applied in this
|
|
178
206
|
mode and logged as YOLO decisions.
|
|
179
207
|
|
|
208
|
+
`--yolo` does not skip release-truth gates. If safe sync is unresolved, route
|
|
209
|
+
to `/god-reconcile Release Truth And Safe Sync`. If harden has unresolved
|
|
210
|
+
Critical findings, pause even under `--yolo`.
|
|
211
|
+
|
|
180
212
|
For brownfield and bluefield, `--yolo` still runs `/god-preflight` first when
|
|
181
213
|
`.godpowers/preflight/PREFLIGHT.md` is absent. The orchestrator then follows
|
|
182
214
|
the preflight report's safest recommended route automatically, logging that
|
package/skills/god-next.md
CHANGED
|
@@ -242,6 +242,11 @@ states that safe sync is a blocking red gate, suggest
|
|
|
242
242
|
The blocker is cleared when `.godpowers/sync/SAFE-SYNC-DONE.md` or
|
|
243
243
|
`.godpowers/sync/SAFE-SYNC-RESOLVED.md` exists.
|
|
244
244
|
|
|
245
|
+
### Critical harden findings block launch
|
|
246
|
+
If `.godpowers/harden/FINDINGS.md` says the launch gate is blocked, or lists
|
|
247
|
+
unresolved Critical findings, `/god-launch` prerequisites fail through
|
|
248
|
+
`no-critical-findings`. This applies in default mode and `--yolo`.
|
|
249
|
+
|
|
245
250
|
### Steady state with multiple workflow options
|
|
246
251
|
If lifecycle-phase = steady-state-active, route by user intent if provided
|
|
247
252
|
(use the User Intent Map below).
|
package/skills/god-version.md
CHANGED
|
@@ -14,7 +14,7 @@ Print version and a short capability summary.
|
|
|
14
14
|
## Output
|
|
15
15
|
|
|
16
16
|
```
|
|
17
|
-
Godpowers v1.6.
|
|
17
|
+
Godpowers v1.6.5
|
|
18
18
|
Install: /Users/.../.claude/ (matches package.json)
|
|
19
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
|