godpowers 2.4.2 → 2.4.3
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 +30 -0
- package/README.md +9 -6
- package/RELEASE.md +33 -33
- package/agents/god-orchestrator.md +31 -1255
- package/bin/install.js +22 -19
- package/lib/command-families.js +10 -2
- package/package.json +3 -2
- package/references/orchestration/GOD-NEXT-RUNBOOK.md +32 -0
- package/references/orchestration/GOD-ORCHESTRATOR-RUNBOOK.md +1259 -0
- package/references/orchestration/README.md +6 -0
- package/references/shared/DASHBOARD-CONTRACT.md +93 -0
- package/references/shared/LOCKING.md +15 -0
- package/references/shared/README.md +2 -0
- package/routing/god-roadmap-check.yaml +1 -1
- package/skills/god-arch.md +1 -12
- package/skills/god-build.md +1 -12
- package/skills/god-deploy.md +1 -12
- package/skills/god-design.md +1 -12
- package/skills/god-feature.md +1 -12
- package/skills/god-harden.md +1 -12
- package/skills/god-hotfix.md +1 -12
- package/skills/god-launch.md +1 -12
- package/skills/god-link.md +1 -12
- package/skills/god-migrate.md +1 -3
- package/skills/god-next.md +34 -410
- package/skills/god-observe.md +1 -12
- package/skills/god-prd.md +1 -12
- package/skills/god-redo.md +1 -12
- package/skills/god-refactor.md +1 -12
- package/skills/god-repair.md +1 -12
- package/skills/god-repo.md +1 -12
- package/skills/god-restore.md +1 -12
- package/skills/god-roadmap-check.md +5 -0
- package/skills/god-roadmap.md +1 -12
- package/skills/god-rollback.md +1 -12
- package/skills/god-scan.md +1 -12
- package/skills/god-skip.md +1 -12
- package/skills/god-stack.md +1 -12
- package/skills/god-status.md +27 -204
- package/skills/god-story-build.md +1 -12
- package/skills/god-story-close.md +1 -12
- package/skills/god-story.md +1 -12
- package/skills/god-sync.md +1 -12
- package/skills/god-undo.md +1 -12
- package/skills/god-update-deps.md +1 -12
- package/skills/god-upgrade.md +1 -12
|
@@ -5,6 +5,12 @@ god-orchestrator and related agents.
|
|
|
5
5
|
|
|
6
6
|
## Files
|
|
7
7
|
|
|
8
|
+
- [GOD-MODE-RUNBOOK.md](GOD-MODE-RUNBOOK.md): `/god-mode` transcript,
|
|
9
|
+
flags, final sync, and completion contracts.
|
|
10
|
+
- [GOD-NEXT-RUNBOOK.md](GOD-NEXT-RUNBOOK.md): `/god-next` invocation modes,
|
|
11
|
+
route detail, and edge cases.
|
|
12
|
+
- [GOD-ORCHESTRATOR-RUNBOOK.md](GOD-ORCHESTRATOR-RUNBOOK.md): detailed
|
|
13
|
+
god-orchestrator operating contracts delegated out of the agent prompt.
|
|
8
14
|
- [MODE-DETECTION.md](MODE-DETECTION.md): Mode A/B/C/E detection, plus Mode D
|
|
9
15
|
suite membership.
|
|
10
16
|
- [SCALE-DETECTION.md](SCALE-DETECTION.md): scale rubric and calibration.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Godpowers Dashboard Contract
|
|
2
|
+
|
|
3
|
+
This reference owns the shared dashboard shape for `/god-status`, `/god-next`, `/god-mode` closeouts, and completed command closeouts.
|
|
4
|
+
|
|
5
|
+
## Runtime source
|
|
6
|
+
|
|
7
|
+
Prefer `lib/dashboard.js` for dashboard computation. Call `dashboard.compute(projectRoot)`, then render with `dashboard.render(result)` unless the caller needs a narrower brief view.
|
|
8
|
+
|
|
9
|
+
If the runtime module is unavailable, use a manual disk scan and say `Dashboard engine: unavailable, manual scan used`.
|
|
10
|
+
|
|
11
|
+
Never mix workflow progress with audit, hygiene, remediation, or launch-readiness scores. Label those scores separately when they appear.
|
|
12
|
+
|
|
13
|
+
## Required shape
|
|
14
|
+
|
|
15
|
+
```text
|
|
16
|
+
Godpowers Dashboard
|
|
17
|
+
|
|
18
|
+
Source: runtime dashboard (lib/dashboard.js)
|
|
19
|
+
|
|
20
|
+
Current status:
|
|
21
|
+
State: <complete | partial | blocked | proposal | complete with deferred item>
|
|
22
|
+
Phase: <plain-language phase> (tier <human ordinal> of <human total>)
|
|
23
|
+
Step: <sub-step label> (step <n> of <total steps>)
|
|
24
|
+
Progress: <pct>% workflow progress (<done> of <total> tracked steps complete)
|
|
25
|
+
Worktree: <clean | modified files unstaged | staged changes | mixed>
|
|
26
|
+
Index: <untouched | staged files listed>
|
|
27
|
+
|
|
28
|
+
Action brief:
|
|
29
|
+
Next: <recommended command or user decision>
|
|
30
|
+
Why: <route reason tied to disk state>
|
|
31
|
+
Readiness: <ready | needs attention>
|
|
32
|
+
Attention: <top blockers or none>
|
|
33
|
+
Host guarantees: <full | degraded | unknown with host and first gap>
|
|
34
|
+
|
|
35
|
+
Planning visibility:
|
|
36
|
+
PRD: <done | pending | missing | deferred> <artifact path when present>
|
|
37
|
+
Roadmap: <done | pending | missing | deferred> <artifact path when present>
|
|
38
|
+
Current milestone: <roadmap milestone, tier, or next planning gate when known>
|
|
39
|
+
Completion basis: <state.json, PROGRESS.md, artifacts, or audit score source>
|
|
40
|
+
|
|
41
|
+
Deliverable progress:
|
|
42
|
+
Requirements: <done>/<total> done (<pct>%), <in-progress> in progress, <untouched> not started
|
|
43
|
+
Increments: <done> done, <building> building, <pending> pending
|
|
44
|
+
Ledger: .godpowers/REQUIREMENTS.md
|
|
45
|
+
|
|
46
|
+
What changed:
|
|
47
|
+
1. <highest-signal user-visible change>
|
|
48
|
+
2. <highest-signal user-visible change>
|
|
49
|
+
|
|
50
|
+
Validation:
|
|
51
|
+
+ <command>: <result>
|
|
52
|
+
|
|
53
|
+
Proactive checks:
|
|
54
|
+
Checkpoint: <fresh | refreshed | missing | stale | conflicts with state.json>
|
|
55
|
+
Reviews: <none | N pending, suggest /god-review-changes>
|
|
56
|
+
Sync: <fresh | missing | stale | local helper ran | suggest /god-sync>
|
|
57
|
+
Docs: <fresh | N stale, suggest /god-docs | repo-doc-sync ran>
|
|
58
|
+
Repo surface: <fresh | N stale, suggest /god-doctor | repo-surface-sync ran>
|
|
59
|
+
Host: <full | degraded | unknown with host and first gap>
|
|
60
|
+
Runtime: <not-applicable | known URL, suggest /god-test-runtime | no known URL, defer deployed verification>
|
|
61
|
+
Automation: <not configured | N active | available via provider, suggest /god-automation-setup>
|
|
62
|
+
Security: <clear | sensitive files changed, suggest /god-harden>
|
|
63
|
+
Dependencies: <clear | dependency files changed, suggest /god-update-deps>
|
|
64
|
+
Hygiene: <fresh | stale, suggest /god-hygiene>
|
|
65
|
+
|
|
66
|
+
Open items:
|
|
67
|
+
1. <deferred staging, unstaged files, pending review, blocker, or none>
|
|
68
|
+
|
|
69
|
+
Next:
|
|
70
|
+
Recommended: <one concrete command or user decision>
|
|
71
|
+
Why: <one sentence tied to current state>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Proposition closeout
|
|
75
|
+
|
|
76
|
+
When a command only recommends work, end with this proposition block unless it already launched the selected command.
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
Proposition:
|
|
80
|
+
1. Implement partial: <single suggested command>
|
|
81
|
+
2. Implement complete: <recipe sequence or /god-mode when safe>
|
|
82
|
+
3. Discuss more: /god-discuss <routing ambiguity or missing prerequisite>
|
|
83
|
+
4. Inspect status: /god-status, /god-locate, or /god-next
|
|
84
|
+
Recommended: <one option and why>
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Proactive rules
|
|
88
|
+
|
|
89
|
+
`/god-status` is read-only by default, so Level 3 agent work becomes a suggestion unless the user asked it to continue work.
|
|
90
|
+
|
|
91
|
+
`/god-next` may run Level 2 local helpers only when there is a direct trigger. Standalone `/god-next` turns Level 3 work into the recommended command or a proposition option.
|
|
92
|
+
|
|
93
|
+
Report checkpoint, review, sync, docs, repo surface, host, runtime, automation, security, dependency, and hygiene signals using the labels in the required shape.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Shared Locking Contract
|
|
2
|
+
|
|
3
|
+
This reference owns the state-lock contract used by mutating Godpowers commands.
|
|
4
|
+
|
|
5
|
+
## Contract
|
|
6
|
+
|
|
7
|
+
The orchestrator acquires a state lock before any skill mutates project state. The lock is scoped to the smallest affected unit, such as `tier-1.prd` for `/god-prd` or `linkage` for `/god-scan`.
|
|
8
|
+
|
|
9
|
+
The default lock TTL is 5 minutes. The same holder may re-enter the lock. Stale locks are force-reclaimable through `/god-repair`.
|
|
10
|
+
|
|
11
|
+
Read-only inspection commands do not block on the lock. Examples include `/god-status`, `/god-doctor`, and `/god-locate`.
|
|
12
|
+
|
|
13
|
+
Concurrent writers on non-overlapping scopes are allowed. Concurrent writers on overlapping scopes must pause or route through `/god-next`.
|
|
14
|
+
|
|
15
|
+
The full architecture contract lives in `ARCHITECTURE.md` under the concurrency contract section.
|
|
@@ -8,6 +8,8 @@ Cross-tier reference content used by multiple agents.
|
|
|
8
8
|
- [ORCHESTRATORS.md](ORCHESTRATORS.md): composition patterns with other AI
|
|
9
9
|
coding workflow systems, including migration and managed sync-back.
|
|
10
10
|
- [GLOSSARY.md](GLOSSARY.md): standardized vocabulary across tiers.
|
|
11
|
+
- [DASHBOARD-CONTRACT.md](DASHBOARD-CONTRACT.md): shared dashboard and proposition output contract.
|
|
12
|
+
- [LOCKING.md](LOCKING.md): shared state-lock contract for mutating commands.
|
|
11
13
|
|
|
12
14
|
## Planned content
|
|
13
15
|
|
package/skills/god-arch.md
CHANGED
|
@@ -70,15 +70,4 @@ The reflog records every god-arch invocation as `op:god-arch` for `/god-undo`.
|
|
|
70
70
|
|
|
71
71
|
## Locking
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
75
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
76
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
77
|
-
|
|
78
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
79
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
80
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
81
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
82
|
-
|
|
83
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
84
|
-
the full contract.
|
|
73
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-build.md
CHANGED
|
@@ -106,15 +106,4 @@ after the current increment.
|
|
|
106
106
|
|
|
107
107
|
## Locking
|
|
108
108
|
|
|
109
|
-
|
|
110
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
111
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
112
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
113
|
-
|
|
114
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
115
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
116
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
117
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
118
|
-
|
|
119
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
120
|
-
the full contract.
|
|
109
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-deploy.md
CHANGED
|
@@ -95,15 +95,4 @@ The reflog records every god-deploy invocation as `op:god-deploy` for `/god-undo
|
|
|
95
95
|
|
|
96
96
|
## Locking
|
|
97
97
|
|
|
98
|
-
|
|
99
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
100
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
101
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
102
|
-
|
|
103
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
104
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
105
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
106
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
107
|
-
|
|
108
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
109
|
-
the full contract.
|
|
98
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-design.md
CHANGED
|
@@ -261,15 +261,4 @@ The reflog records every god-design invocation as `op:god-design` for `/god-undo
|
|
|
261
261
|
|
|
262
262
|
## Locking
|
|
263
263
|
|
|
264
|
-
|
|
265
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
266
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
267
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
268
|
-
|
|
269
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
270
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
271
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
272
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
273
|
-
|
|
274
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
275
|
-
the full contract.
|
|
264
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-feature.md
CHANGED
|
@@ -109,15 +109,4 @@ in the linkage system:
|
|
|
109
109
|
|
|
110
110
|
## Locking
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
114
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
115
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
116
|
-
|
|
117
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
118
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
119
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
120
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
121
|
-
|
|
122
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
123
|
-
the full contract.
|
|
112
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-harden.md
CHANGED
|
@@ -92,15 +92,4 @@ The reflog records every god-harden invocation as `op:god-harden` for `/god-undo
|
|
|
92
92
|
|
|
93
93
|
## Locking
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
97
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
98
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
99
|
-
|
|
100
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
101
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
102
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
103
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
104
|
-
|
|
105
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
106
|
-
the full contract.
|
|
95
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-hotfix.md
CHANGED
|
@@ -125,15 +125,4 @@ in the linkage system:
|
|
|
125
125
|
|
|
126
126
|
## Locking
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
130
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
131
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
132
|
-
|
|
133
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
134
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
135
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
136
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
137
|
-
|
|
138
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
139
|
-
the full contract.
|
|
128
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-launch.md
CHANGED
|
@@ -97,15 +97,4 @@ The reflog records every god-launch invocation as `op:god-launch` for `/god-undo
|
|
|
97
97
|
|
|
98
98
|
## Locking
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
102
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
103
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
104
|
-
|
|
105
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
106
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
107
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
108
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
109
|
-
|
|
110
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
111
|
-
the full contract.
|
|
100
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-link.md
CHANGED
|
@@ -76,15 +76,4 @@ No source files are modified by this skill.
|
|
|
76
76
|
|
|
77
77
|
## Locking
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
81
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
82
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
83
|
-
|
|
84
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
85
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
86
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
87
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
88
|
-
|
|
89
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
90
|
-
the full contract.
|
|
79
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-migrate.md
CHANGED
|
@@ -141,6 +141,4 @@ Suggested next:
|
|
|
141
141
|
|
|
142
142
|
## Locking
|
|
143
143
|
|
|
144
|
-
|
|
145
|
-
`.godpowers/prep/IMPORTED-CONTEXT.md`, seed artifacts, source-system companion
|
|
146
|
-
files, or `state.json`.
|
|
144
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|