godpowers 2.4.2 → 2.5.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 +50 -0
- package/README.md +22 -6
- package/RELEASE.md +29 -35
- package/SKILL.md +5 -0
- package/agents/god-orchestrator.md +31 -1255
- package/bin/install.js +16 -107
- package/fixtures/gate/build-pass/.godpowers/build/STATE.md +10 -0
- package/fixtures/gate/harden-pass/.godpowers/harden/FINDINGS.md +14 -0
- package/fixtures/gate/repo-pass/.godpowers/repo/AUDIT.md +9 -0
- package/lib/artifact-map.js +60 -0
- package/lib/cli-dispatch.js +162 -0
- package/lib/command-families.js +10 -2
- package/lib/dashboard.js +3 -2
- package/lib/gate.js +271 -0
- package/lib/installer-args.js +11 -1
- package/lib/route-quality-sync.js +38 -0
- package/package.json +3 -2
- package/references/orchestration/GOD-MODE-RUNBOOK.md +19 -0
- 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-arch.yaml +1 -0
- package/routing/god-build.yaml +1 -0
- package/routing/god-design.yaml +1 -0
- package/routing/god-harden.yaml +1 -0
- package/routing/god-prd.yaml +1 -0
- package/routing/god-repo.yaml +1 -0
- package/routing/god-roadmap-check.yaml +1 -1
- package/routing/god-roadmap.yaml +1 -0
- package/routing/god-stack.yaml +1 -0
- package/skills/god-arch.md +3 -13
- package/skills/god-build.md +5 -14
- package/skills/god-deploy.md +1 -12
- package/skills/god-design.md +9 -12
- package/skills/god-feature.md +1 -12
- package/skills/god-harden.md +3 -13
- 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-mode.md +4 -0
- package/skills/god-next.md +34 -410
- package/skills/god-observe.md +1 -12
- package/skills/god-prd.md +3 -13
- 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 +3 -13
- package/skills/god-restore.md +1 -12
- package/skills/god-roadmap-check.md +5 -0
- package/skills/god-roadmap.md +3 -13
- 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 +3 -13
- 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
package/skills/god-scan.md
CHANGED
|
@@ -116,15 +116,4 @@ User content outside fences is never modified.
|
|
|
116
116
|
|
|
117
117
|
## Locking
|
|
118
118
|
|
|
119
|
-
|
|
120
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
121
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
122
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
123
|
-
|
|
124
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
125
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
126
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
127
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
128
|
-
|
|
129
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
130
|
-
the full contract.
|
|
119
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-skip.md
CHANGED
|
@@ -64,15 +64,4 @@ Built-in. Reads + writes `state.json` and PROGRESS.md. Appends to reflog.
|
|
|
64
64
|
|
|
65
65
|
## Locking
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
69
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
70
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
71
|
-
|
|
72
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
73
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
74
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
75
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
76
|
-
|
|
77
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
78
|
-
the full contract.
|
|
67
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-stack.md
CHANGED
|
@@ -21,7 +21,8 @@ Spawn the **god-stack-selector** agent in a fresh context via the host platform'
|
|
|
21
21
|
|
|
22
22
|
After god-stack-selector returns:
|
|
23
23
|
1. Verify DECISION.md exists on disk
|
|
24
|
-
2.
|
|
24
|
+
2. Run `npx godpowers gate --tier=stack --project=.` and do not proceed on a non-zero exit
|
|
25
|
+
3. Update `.godpowers/PROGRESS.md`: Stack status = done
|
|
25
26
|
|
|
26
27
|
## On Completion
|
|
27
28
|
|
|
@@ -60,15 +61,4 @@ The reflog records every god-stack invocation as `op:god-stack` for `/god-undo`.
|
|
|
60
61
|
|
|
61
62
|
## Locking
|
|
62
63
|
|
|
63
|
-
|
|
64
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
65
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
66
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
67
|
-
|
|
68
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
69
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
70
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
71
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
72
|
-
|
|
73
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
74
|
-
the full contract.
|
|
64
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-status.md
CHANGED
|
@@ -13,8 +13,8 @@ Re-derive state from disk. Your memory is not authoritative. The file system is.
|
|
|
13
13
|
|
|
14
14
|
## Status family views
|
|
15
15
|
|
|
16
|
-
`/god-status` is the
|
|
17
|
-
|
|
16
|
+
`/god-status` is the continue-family overview. It renders operational state,
|
|
17
|
+
proactive checks, blockers, planning visibility, and the next action first.
|
|
18
18
|
|
|
19
19
|
| View | Shortcut | Purpose |
|
|
20
20
|
|------|----------|---------|
|
|
@@ -24,211 +24,34 @@ first, then offer direct shortcuts when the user wants a narrower view:
|
|
|
24
24
|
| Resume location | `/god-locate` | Orientation from checkpoint, handoff, and disk state. |
|
|
25
25
|
| Next action | `/god-next` | Single recommended command with reason. |
|
|
26
26
|
|
|
27
|
+
`/god-lifecycle` remains separate because it answers phase and workflow-fit questions without the full dashboard. `/god-locate` remains separate because it is optimized for fresh-session resume from CHECKPOINT.md, handoff files, and disk state.
|
|
28
|
+
|
|
27
29
|
## Process
|
|
28
30
|
|
|
29
|
-
1. Check
|
|
30
|
-
- If not: "No Godpowers project found. Run `god init` to start."
|
|
31
|
+
1. Check whether `.godpowers/PROGRESS.md` or `.godpowers/state.json` exists. If neither exists, report that no Godpowers project was found and suggest `/god-init`.
|
|
31
32
|
2. Resolve the runtime root and load `<runtimeRoot>/lib/dashboard.js`.
|
|
32
|
-
3. Call `dashboard.compute(projectRoot)` and
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
7. Compare disk state to PROGRESS.md state:
|
|
52
|
-
- If PROGRESS.md says "done" but artifact is missing: FLAG as phantom resume
|
|
53
|
-
- If artifact exists but PROGRESS.md says "pending": FLAG as untracked work
|
|
54
|
-
8. Report the Godpowers Dashboard from `dashboard.render(result)`:
|
|
55
|
-
- Dashboard source: runtime dashboard or unavailable manual scan
|
|
56
|
-
- Current mode and scale
|
|
57
|
-
- Current phase, tier number, step label, and step number
|
|
58
|
-
- Workflow progress summary: percentage, completed step count, current step number
|
|
59
|
-
- Planning visibility: PRD status, roadmap status, active milestone, and
|
|
60
|
-
completion basis
|
|
61
|
-
- Deliverable progress: requirement and increment status from
|
|
62
|
-
`lib/requirements` (requirements done / in progress / not started, by
|
|
63
|
-
priority, and increment counts), or "none declared yet" before a PRD exists
|
|
64
|
-
- What happened recently, using CHECKPOINT.md actions when available
|
|
65
|
-
- Last sync status, using SYNC-LOG.md when available
|
|
66
|
-
- Proactive opportunities based on the auto-invoke policy
|
|
67
|
-
- What happens next, using routing and disk state
|
|
68
|
-
- Per-tier status (with disk verification)
|
|
69
|
-
- Any inconsistencies between PROGRESS.md and disk
|
|
70
|
-
- Suggested next action
|
|
71
|
-
9. If inconsistencies found: offer to repair PROGRESS.md to match disk truth
|
|
72
|
-
|
|
73
|
-
If the runtime module is unavailable, fall back to the manual scan below and
|
|
74
|
-
say `Dashboard engine: unavailable, manual scan used`.
|
|
75
|
-
|
|
76
|
-
Never mix workflow progress with audit, hygiene, or remediation scores. If an
|
|
77
|
-
audit score is relevant, label it separately as `Audit score`.
|
|
78
|
-
|
|
79
|
-
## Output Format
|
|
80
|
-
|
|
81
|
-
```text
|
|
82
|
-
Godpowers Dashboard
|
|
83
|
-
|
|
84
|
-
Source: runtime dashboard (lib/dashboard.js)
|
|
85
|
-
|
|
86
|
-
Mode: A (greenfield) Scale: medium
|
|
87
|
-
Started: 2026-05-09
|
|
88
|
-
|
|
89
|
-
Current status:
|
|
90
|
-
State: in progress
|
|
91
|
-
Phase: Planning (tier 2 of 4, internal tier-1)
|
|
92
|
-
Step: Architecture (step 3 of 13)
|
|
93
|
-
Progress: 15% workflow progress (2 of 13 tracked steps complete)
|
|
94
|
-
Worktree: clean
|
|
95
|
-
Index: untouched
|
|
96
|
-
|
|
97
|
-
Planning visibility:
|
|
98
|
-
PRD: done .godpowers/prd/PRD.md
|
|
99
|
-
Roadmap: pending
|
|
100
|
-
Current milestone: Planning / Architecture
|
|
101
|
-
Completion basis: .godpowers/state.json workflow steps
|
|
102
|
-
|
|
103
|
-
Deliverable progress:
|
|
104
|
-
Requirements: [########------------] 8/14 done (57%), 3 in progress, 3 not started
|
|
105
|
-
By priority: MUST 6/8, SHOULD 2/4, COULD 0/2
|
|
106
|
-
Increments: 2 done, 1 building, 1 pending
|
|
107
|
-
Ledger: .godpowers/REQUIREMENTS.md
|
|
108
|
-
|
|
109
|
-
What happened recently:
|
|
110
|
-
1. PRD artifact verified on disk
|
|
111
|
-
2. Tier state refreshed from state.json
|
|
112
|
-
|
|
113
|
-
Last sync:
|
|
114
|
-
Trigger: /god-mode final sync
|
|
115
|
-
Agent: god-updater
|
|
116
|
-
Local syncs:
|
|
117
|
-
+ reverse-sync: scanned 14 files, updated 2 footers, populated 0 review items
|
|
118
|
-
+ pillars-sync: no-op
|
|
119
|
-
+ checkpoint-sync: CHECKPOINT.md updated
|
|
120
|
-
+ context-refresh: no-op
|
|
121
|
-
Log: .godpowers/SYNC-LOG.md
|
|
122
|
-
|
|
123
|
-
Proactive opportunities:
|
|
124
|
-
Checkpoint: fresh
|
|
125
|
-
Reviews: 5 pending, suggest /god-review-changes
|
|
126
|
-
Sync: fresh
|
|
127
|
-
Docs: possible drift, suggest /god-docs
|
|
128
|
-
Runtime: known local URL, suggest /god-test-runtime
|
|
129
|
-
Automation: available via codex-app, suggest /god-automation-setup
|
|
130
|
-
Security: clear
|
|
131
|
-
Dependencies: clear
|
|
132
|
-
Hygiene: stale, suggest /god-hygiene
|
|
133
|
-
|
|
134
|
-
What happens next:
|
|
135
|
-
1. Run /god-arch
|
|
136
|
-
2. Verify architecture artifact
|
|
137
|
-
3. Recompute next gate with /god-next
|
|
138
|
-
|
|
139
|
-
Tier 1: Planning
|
|
140
|
-
+ PRD done .godpowers/prd/PRD.md (lint clean: 0 errors)
|
|
141
|
-
+ Architecture done .godpowers/arch/ARCH.md (lint clean: 0 errors)
|
|
142
|
-
- Roadmap pending
|
|
143
|
-
- Stack pending
|
|
144
|
-
- Design not-required (backend-only project)
|
|
145
|
-
- Product not-required (backend-only project)
|
|
146
|
-
|
|
147
|
-
Tier 2: Building
|
|
148
|
-
- Repo pending
|
|
149
|
-
- Build pending
|
|
150
|
-
|
|
151
|
-
Tier 3: Shipping
|
|
152
|
-
- Deploy pending
|
|
153
|
-
- Observe pending
|
|
154
|
-
- Launch pending
|
|
155
|
-
- Harden pending
|
|
156
|
-
|
|
157
|
-
Linkage status (from .godpowers/links/):
|
|
158
|
-
Coverage: 87% (15 of 17 declared IDs implemented)
|
|
159
|
-
Orphans: 2 (P-MUST-09, P-SHOULD-03)
|
|
160
|
-
Drift: 1 (colors.removed referenced in src/old.css but missing in DESIGN.md)
|
|
161
|
-
Pending reviews: 5 (see REVIEW-REQUIRED.md)
|
|
162
|
-
Last scan: 2026-05-10T14:23:11Z
|
|
163
|
-
Requirement checklist: run /god-progress or open .godpowers/REQUIREMENTS.md
|
|
164
|
-
|
|
165
|
-
Suite (Mode D) status:
|
|
166
|
-
This repo is a sibling of suite "my-products" (hub: ../hub)
|
|
167
|
-
Run /god-suite-status to see all 3 repos and meta-linter findings.
|
|
168
|
-
|
|
169
|
-
Open items:
|
|
170
|
-
1. Roadmap and stack are still pending
|
|
171
|
-
|
|
172
|
-
Next:
|
|
173
|
-
Recommended: /god-roadmap
|
|
174
|
-
Why: architecture is done and the roadmap is the next planning gate.
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
## Proposition Closeout
|
|
178
|
-
|
|
179
|
-
Every status report must end with a proposition block so the user can choose
|
|
180
|
-
how much momentum to give Godpowers:
|
|
181
|
-
|
|
182
|
-
```
|
|
183
|
-
Proposition:
|
|
184
|
-
1. Implement partial: [single next command from "What happens next"]
|
|
185
|
-
2. Implement complete: /god-mode to continue the current project run when no blockers are present
|
|
186
|
-
3. Discuss more: /god-discuss [unclear state, blocker, or inconsistency]
|
|
187
|
-
4. Inspect status: /god-locate or /god-next for a smaller routing view
|
|
188
|
-
Recommended: [one option and why it fits the disk-derived state]
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
If inconsistencies are present, make `/god-repair` the partial option and do
|
|
192
|
-
not recommend `/god-mode` until disk state is coherent.
|
|
193
|
-
|
|
194
|
-
## Proactive Opportunity Rules
|
|
195
|
-
|
|
196
|
-
Use the master auto-invoke policy to populate `Proactive opportunities`.
|
|
197
|
-
`/god-status` is read-only by default, so it suggests Level 3 agents instead of
|
|
198
|
-
spawning them unless the user asked status to continue work.
|
|
199
|
-
|
|
200
|
-
Report:
|
|
201
|
-
- Checkpoint: `fresh`, `missing`, `stale`, or `conflicts with state.json`
|
|
202
|
-
- Reviews: `none` or `<N> pending, suggest /god-review-changes`
|
|
203
|
-
- Sync: `fresh`, `missing`, `stale`, or `suggest /god-sync`
|
|
204
|
-
- Docs: `fresh`, `<N> stale, suggest /god-docs`, `possible drift, suggest
|
|
205
|
-
/god-docs`, or `repo-doc-sync ran`
|
|
206
|
-
- Repo surface: `fresh`, `<N> stale, suggest /god-doctor`, or
|
|
207
|
-
`repo-surface-sync ran`
|
|
208
|
-
- Runtime: `not-applicable`, `known URL, suggest /god-test-runtime`, or
|
|
209
|
-
`no known URL, defer deployed verification`
|
|
210
|
-
- Automation: `not configured`, `<N> active`, or
|
|
211
|
-
`available via <provider>, suggest /god-automation-setup`
|
|
212
|
-
- Security: `clear` or `sensitive files changed, suggest /god-harden`
|
|
213
|
-
- Dependencies: `clear` or `dependency files changed, suggest /god-update-deps`
|
|
214
|
-
- Hygiene: `fresh` or `stale, suggest /god-hygiene`
|
|
33
|
+
3. Call `dashboard.compute(projectRoot)` and render with `dashboard.render(result)`.
|
|
34
|
+
4. Use PROGRESS.md only as fallback or legacy explanation when state.json is missing.
|
|
35
|
+
5. Scan canonical artifact paths for PRD, design, architecture, roadmap, stack, repo, build, deploy, observe, launch, harden, sync, checkpoint, and requirements evidence.
|
|
36
|
+
6. Compare disk state to recorded state and flag phantom resume or untracked work.
|
|
37
|
+
7. Offer `/god-repair` when recorded state and disk evidence conflict.
|
|
38
|
+
|
|
39
|
+
## Required reference
|
|
40
|
+
|
|
41
|
+
Read `<runtimeRoot>/references/shared/DASHBOARD-CONTRACT.md` before rendering output. The shared contract owns the dashboard shape, proactive labels, and proposition block.
|
|
42
|
+
|
|
43
|
+
If the runtime module is unavailable, fall back to a manual scan and say `Dashboard engine: unavailable, manual scan used`.
|
|
44
|
+
|
|
45
|
+
Never mix workflow progress with audit, hygiene, remediation, or launch-readiness scores. Label those scores separately when they appear.
|
|
46
|
+
|
|
47
|
+
## Proactive behavior
|
|
48
|
+
|
|
49
|
+
`/god-status` is read-only by default. It suggests Level 3 agents instead of spawning them unless the user asked status to continue work.
|
|
50
|
+
|
|
51
|
+
Report checkpoint, review, sync, docs, repo surface, host, runtime, automation, security, dependency, and hygiene signals using the labels in the shared dashboard contract.
|
|
215
52
|
|
|
216
53
|
## Mode D awareness
|
|
217
54
|
|
|
218
|
-
If `lib/multi-repo-detector.detect(projectRoot)` returns
|
|
219
|
-
|
|
220
|
-
section
|
|
221
|
-
- Suite name and our role (hub or sibling)
|
|
222
|
-
- Hub path
|
|
223
|
-
- Suggestion to run /god-suite-status for the aggregate view
|
|
224
|
-
|
|
225
|
-
For the hub itself, this section becomes:
|
|
226
|
-
```
|
|
227
|
-
Suite (Mode D) status:
|
|
228
|
-
This repo IS the hub for suite "my-products" (3 siblings).
|
|
229
|
-
Aggregate: 42 artifacts done, 1 drift, 5 pending reviews.
|
|
230
|
-
Last suite refresh: 2026-05-10T16:45:00Z
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
The suite section is omitted entirely when the project is not part of
|
|
234
|
-
a registered suite.
|
|
55
|
+
If `lib/multi-repo-detector.detect(projectRoot)` returns `isMultiRepo: true`, append suite status with the suite name, role, hub path, aggregate status when available, and a suggestion to run `/god-suite-status`.
|
|
56
|
+
|
|
57
|
+
Omit the suite section when the project is not part of a registered suite.
|
|
@@ -62,15 +62,4 @@ Reverse-sync writes Implementation Linkage footer to ROADMAP.md
|
|
|
62
62
|
|
|
63
63
|
## Locking
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
67
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
68
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
69
|
-
|
|
70
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
71
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
72
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
73
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
74
|
-
|
|
75
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
76
|
-
the full contract.
|
|
65
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
|
@@ -68,15 +68,4 @@ linkage updates.
|
|
|
68
68
|
|
|
69
69
|
## Locking
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
73
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
74
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
75
|
-
|
|
76
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
77
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
78
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
79
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
80
|
-
|
|
81
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
82
|
-
the full contract.
|
|
71
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-story.md
CHANGED
|
@@ -41,15 +41,4 @@ Add a new story under `.godpowers/stories/<feature-slug>/`.
|
|
|
41
41
|
|
|
42
42
|
## Locking
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
46
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
47
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
48
|
-
|
|
49
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
50
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
51
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
52
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
53
|
-
|
|
54
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
55
|
-
the full contract.
|
|
44
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-sync.md
CHANGED
|
@@ -156,15 +156,4 @@ invoked manually for spot-checks.
|
|
|
156
156
|
|
|
157
157
|
## Locking
|
|
158
158
|
|
|
159
|
-
|
|
160
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
161
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
162
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
163
|
-
|
|
164
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
165
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
166
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
167
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
168
|
-
|
|
169
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
170
|
-
the full contract.
|
|
159
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-undo.md
CHANGED
|
@@ -54,15 +54,4 @@ Suggested next:
|
|
|
54
54
|
|
|
55
55
|
## Locking
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
59
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
60
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
61
|
-
|
|
62
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
63
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
64
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
65
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
66
|
-
|
|
67
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
68
|
-
the full contract.
|
|
57
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
|
@@ -122,15 +122,4 @@ in the linkage system:
|
|
|
122
122
|
|
|
123
123
|
## Locking
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
127
|
-
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
128
|
-
same holder; force-reclaimable if stale via `/god-repair`.
|
|
129
|
-
|
|
130
|
-
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
131
|
-
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
132
|
-
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
133
|
-
writer pauses or routes elsewhere via `/god-next`.
|
|
134
|
-
|
|
135
|
-
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
136
|
-
the full contract.
|
|
125
|
+
See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
|
package/skills/god-upgrade.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.
|