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.
Files changed (46) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +9 -6
  3. package/RELEASE.md +33 -33
  4. package/agents/god-orchestrator.md +31 -1255
  5. package/bin/install.js +22 -19
  6. package/lib/command-families.js +10 -2
  7. package/package.json +3 -2
  8. package/references/orchestration/GOD-NEXT-RUNBOOK.md +32 -0
  9. package/references/orchestration/GOD-ORCHESTRATOR-RUNBOOK.md +1259 -0
  10. package/references/orchestration/README.md +6 -0
  11. package/references/shared/DASHBOARD-CONTRACT.md +93 -0
  12. package/references/shared/LOCKING.md +15 -0
  13. package/references/shared/README.md +2 -0
  14. package/routing/god-roadmap-check.yaml +1 -1
  15. package/skills/god-arch.md +1 -12
  16. package/skills/god-build.md +1 -12
  17. package/skills/god-deploy.md +1 -12
  18. package/skills/god-design.md +1 -12
  19. package/skills/god-feature.md +1 -12
  20. package/skills/god-harden.md +1 -12
  21. package/skills/god-hotfix.md +1 -12
  22. package/skills/god-launch.md +1 -12
  23. package/skills/god-link.md +1 -12
  24. package/skills/god-migrate.md +1 -3
  25. package/skills/god-next.md +34 -410
  26. package/skills/god-observe.md +1 -12
  27. package/skills/god-prd.md +1 -12
  28. package/skills/god-redo.md +1 -12
  29. package/skills/god-refactor.md +1 -12
  30. package/skills/god-repair.md +1 -12
  31. package/skills/god-repo.md +1 -12
  32. package/skills/god-restore.md +1 -12
  33. package/skills/god-roadmap-check.md +5 -0
  34. package/skills/god-roadmap.md +1 -12
  35. package/skills/god-rollback.md +1 -12
  36. package/skills/god-scan.md +1 -12
  37. package/skills/god-skip.md +1 -12
  38. package/skills/god-stack.md +1 -12
  39. package/skills/god-status.md +27 -204
  40. package/skills/god-story-build.md +1 -12
  41. package/skills/god-story-close.md +1 -12
  42. package/skills/god-story.md +1 -12
  43. package/skills/god-sync.md +1 -12
  44. package/skills/god-undo.md +1 -12
  45. package/skills/god-update-deps.md +1 -12
  46. package/skills/god-upgrade.md +1 -12
@@ -12,429 +12,53 @@ description: |
12
12
 
13
13
  # /god-next
14
14
 
15
- The unified decision engine. Routes between commands based on disk state,
16
- routing definitions, and user intent.
15
+ The unified decision engine. Route between commands based on disk state,
16
+ routing definitions, recipes, command families, and user intent.
17
17
 
18
18
  ## Runtime module resolution
19
19
 
20
- Before reading routing data or calling runtime modules, resolve the Godpowers runtime root:
21
-
22
20
  1. If `<projectRoot>/lib/router.js` exists, use the repository checkout runtime at `<projectRoot>`.
23
- 2. Otherwise use the installed bundle at `<tool-config-dir>/godpowers-runtime`, where `<tool-config-dir>` is the directory that contains this installed skill, such as `~/.claude`, `~/.codex`, `~/.cursor`, `~/.windsurf`, or `~/.gemini`.
21
+ 2. Otherwise use the installed bundle at `<tool-config-dir>/godpowers-runtime`.
24
22
  3. Read routing definitions from `<runtimeRoot>/routing/*.yaml` and recipes from `<runtimeRoot>/routing/recipes/*.yaml`.
25
- 4. Load `<runtimeRoot>/lib/command-families.js` for work size, verification,
26
- capture, and trigger precedence hints.
27
- 5. For status output, load `<runtimeRoot>/lib/dashboard.js` and call
28
- `dashboard.compute(projectRoot)`. Use `dashboard.render(result)` for the
29
- shared dashboard section before adding route-specific detail.
30
- 6. If the checkout runtime and installed runtime differ, say which runtime root
31
- was used. Only call the output a manual disk scan when `lib/dashboard.js`
32
- cannot be loaded at all.
33
-
34
- ## Three modes of invocation
35
-
36
- ### Mode 1: After a command (post-completion routing)
37
- The completing skill calls /god-next to determine what's next.
38
- Reads `<runtimeRoot>/routing/<just-completed>.yaml`, gets `success-path.next-recommended`,
39
- suggests it.
40
-
41
- ### Mode 2: Before a command (pre-flight)
42
- User wants to run /god-X. /god-next checks prerequisites first.
43
- Reads `<runtimeRoot>/routing/<X>.yaml`, evaluates prerequisites, proposes auto-completion
44
- if any are missing.
45
-
46
- ### Mode 3: Standalone (state-driven)
47
- User just ran /god-next. Auto-detects current project phase and suggests
48
- the next logical command.
49
-
50
- Before suggesting, read `.godpowers/prep/INITIAL-FINDINGS.md` and
51
- `.godpowers/prep/IMPORTED-CONTEXT.md` if present. Use them to explain why the
52
- next step is safe or why a migration-aware step such as `/god-prd`,
53
- `/god-map-codebase`, or `/god-mode` is better. Prep artifacts are context only;
54
- state.json and completed Godpowers artifacts remain authoritative.
55
-
56
- If PRD is complete, DESIGN is missing, and initial findings, imported context,
57
- the PRD, or the codebase show UI or product-experience signals, suggest
58
- `/god-design` before `/god-arch`. DESIGN.md is early preparation for visible
59
- workflows, not a replacement for architecture.
60
-
61
- ## Process for Mode 1 (post-completion)
62
-
63
- ```
64
- A skill completes (e.g., /god-prd just finished)
65
- |
66
- v
67
- Skill calls: /god-next --after=/god-prd
68
- |
69
- v
70
- Read <runtimeRoot>/routing/god-prd.yaml
71
- |
72
- v
73
- Get success-path.next-recommended (e.g., "/god-arch"), then apply any
74
- conditional-next rule such as UI-detected -> "/god-design"
75
- |
76
- v
77
- Read success-path.outcome when present. Use it to label contextual,
78
- verdict-based, steady-state, session-end, and selection outcomes before
79
- showing allowed next commands.
80
- |
81
- v
82
- Display: "PRD complete: .godpowers/prd/PRD.md
83
- Suggested next: /god-arch (design the architecture)"
84
- ```
85
-
86
- If standards-check is configured at the gate:
87
- ```
88
- |
89
- v
90
- Spawn god-standards-check on the produced artifact
91
- |
92
- v
93
- If standards FAIL:
94
- - Display failures with line refs and suggested fixes
95
- - Suggest /god-redo with feedback OR /god-skip with reason
96
- - Do NOT auto-progress
97
- |
98
- If standards PASS:
99
- - Update state.json: tier.sub-step.status = done
100
- - Display "Suggested next: /god-arch"
101
- ```
102
-
103
- ## Process for Mode 2 (pre-flight)
104
-
105
- ```
106
- User types: /god-arch
107
- |
108
- v
109
- The /god-arch skill calls: /god-next --before=/god-arch
110
- |
111
- v
112
- Read <runtimeRoot>/routing/god-arch.yaml
113
- |
114
- v
115
- For each prerequisite in prerequisites.required:
116
- - Evaluate the check predicate
117
- - If false: prerequisite is missing
118
- |
119
- v
120
- If all prereqs satisfied: proceed with /god-arch
121
- |
122
- If some prereqs missing AND auto-completable:
123
- - Display:
124
- "/god-arch requires PRD to be complete (prereq missing).
125
- The routing has auto-complete: /god-prd
126
- Run /god-prd first? (yes/no)"
127
- - If yes: invoke /god-prd, then return to /god-arch
128
- - If no: abort or show what user needs to do manually
129
- |
130
- If prereqs missing and NOT auto-completable:
131
- - Display what's needed
132
- - Show how to fix manually
133
- - Suggest /god-doctor for diagnosis
134
- ```
135
-
136
- ## Process for Mode 3 (standalone)
137
-
138
- When the user asks a broad next-step question, use the family helpers before
139
- falling back to raw route order:
140
-
141
- - Capture intent routes through the capture ladder.
142
- - Implementation intent routes through the work size ladder.
143
- - Check or audit intent routes through the verification ladder.
144
- - Duplicate trigger phrases use `resolveTrigger` so `continue`, `think through`,
145
- `what happened`, `what's done`, and `where am i` pick the context-aware
146
- command.
147
-
148
- ```
149
- User types: /god-next
150
- |
151
- v
152
- Read .godpowers/state.json (or PROGRESS.md as fallback)
153
- |
154
- v
155
- Use <runtimeRoot>/lib/router.js suggestNext(projectRoot) <- structural next
156
- |
157
- v
158
- For each tier in order:
159
- - Find first non-done sub-step
160
- - That's the suggested next command
161
- - Before Tier 3, honor red gates such as unresolved safe sync
162
- |
163
- v
164
- If all tiers done:
165
- - Use <runtimeRoot>/lib/recipes.js suggestForState(projectRoot) <- scenario-aware
166
- - Returns recipes matching current lifecycle phase
167
- |
168
- v
169
- Display: "Suggested next: /god-arch
170
- Why: PRD is complete; architecture is the next gate"
171
- ```
172
-
173
- When the suggestion is based on state.json, also show the immediate route:
174
-
175
- ```
176
- Path ahead:
177
- 1. Current: <tier>/<substep> - <status>
178
- 2. Next: /god-X - <why>
179
- 3. Then: /god-Y - <next gate, if known>
180
- ```
181
-
182
- Keep the route to 3 lines unless the user asks for the full plan.
183
-
184
- Also show planning visibility when the artifacts exist or are expected:
185
-
186
- ```
187
- Planning visibility:
188
- PRD: <done | pending | missing> <path when present>
189
- Roadmap: <done | pending | missing> <path when present>
190
- Current milestone: <roadmap milestone, tier, or next planning gate>
191
- Completion: <pct>% <basis from state.json or PROGRESS.md>
192
- ```
193
-
194
- ## Proactive Sweep
195
-
196
- Before returning a suggestion, run the proactive auto-invoke policy from the
197
- master skill against disk state. This is read-only unless a Level 2 local helper
198
- has a direct trigger.
199
-
200
- Check these signals:
201
- - `.godpowers/CHECKPOINT.md` missing, stale, or conflicting with `state.json`
202
- - `.godpowers/REVIEW-REQUIRED.md` contains pending entries
203
- - `.godpowers/SYNC-LOG.md` missing after code or artifact edits
204
- - docs changed after code changed, or code changed after docs that claim
205
- current behavior
206
- - frontend-visible files changed and a known local, preview, staging, or
207
- production URL is evidenced
208
- - security-sensitive files changed
209
- - dependency files changed
210
- - full project run completed and hygiene has not run recently
211
-
212
- Display the result:
213
-
214
- ```text
215
- Proactive checks:
216
- Checkpoint: <fresh | refreshed | stale, suggest /god-locate>
217
- Reviews: <none | N pending, suggest /god-review-changes>
218
- Sync: <fresh | suggest /god-sync | local linkage scan ran>
219
- Docs: <fresh | suggest /god-docs | drift-check spawned>
220
- Runtime: <not-applicable | suggest /god-test-runtime | browser test spawned>
221
- Security: <clear | suggest /god-harden>
222
- Dependencies: <clear | suggest /god-update-deps>
223
- Hygiene: <fresh | suggest /god-hygiene>
224
- ```
225
-
226
- Do not auto-run Level 3 agents from standalone `/god-next` unless the user
227
- explicitly asked it to continue work. In standalone mode, Level 3 items become
228
- the recommended command or a proposition option.
229
-
230
- ## Process for Mode 4 (intent-based)
231
-
232
- ```
233
- User says: "I need to add a new feature mid-development"
234
- |
235
- v
236
- /god-next consults <runtimeRoot>/lib/recipes.js matchIntent(text, projectRoot)
237
- |
238
- v
239
- Returns ranked recipes matching:
240
- - Intent keywords ("add new feature", "mid-development")
241
- - State conditions (lifecycle-phase == in-arc)
242
- |
243
- v
244
- Display top match with the recipe's sequence:
245
- "Best match: add-feature-mid-arc-pause
246
- Sequence:
247
- 1. /god-pause-work (Save current /god-mode project-run state)
248
- 2. /god-feature (Run feature workflow)
249
- 3. /god-resume-work (Restore project run)
250
-
251
- Run this sequence? Or see other matches?"
252
- ```
253
-
254
- This is the recipe-driven decision support: agents consult `<runtimeRoot>/routing/recipes/`
255
- when user intent is fuzzy or doesn't map to a single command.
256
-
257
- ## Routing data
258
-
259
- Routing definitions live in `<runtimeRoot>/routing/*.yaml`. Each command has a file:
260
- - `<runtimeRoot>/routing/god-prd.yaml`
261
- - `<runtimeRoot>/routing/god-arch.yaml`
262
- - ...
263
-
264
- These define prerequisites, execution, success-path, failure-path, and
265
- endoff for each command.
266
-
267
- The `<runtimeRoot>/lib/router.js` JS module provides programmatic queries:
268
- - `getRouting(command)` - load a command's routing
269
- - `checkPrerequisites(command, projectRoot)` - prereq check
270
- - `getNextCommand(command)` - get success-path next
271
- - `getStandards(command)` - get standards checks
272
- - `suggestNext(projectRoot)` - state-driven suggestion
273
-
274
- ## Decision Tree
275
-
276
- ```
277
- /god-next invoked
278
- |
279
- v
280
- ┌────── What flag? ──────┐
281
- | |
282
- v v
283
- --before=X --after=X (no flag)
284
- | | |
285
- v v v
286
- Check X's prereqs Get X's next Use suggestNext
287
- | | |
288
- v v |
289
- Pass: proceed Standards check |
290
- Fail+autocomp: on artifact |
291
- offer to run | |
292
- prereq cmd Pass: announce next |
293
- Fail no autocomp: Fail: pause |
294
- explain |
295
- | | |
296
- └──────────────┬───────────┴──────────────┘
297
- v
298
- Display suggestion + why
299
- ```
300
-
301
- ## Edge cases
302
-
303
- ### User wants to skip a prereq
304
- `/god-arch --skip-prereqs` (advanced flag)
305
- - Logs the skip with reason in events.jsonl
306
- - Proceeds anyway
307
- - Marks state as `re-invoked` flag if upstream artifacts are stale
308
-
309
- ### Multiple non-done sub-steps (parallel-safe)
310
- e.g., after /god-arch, both /god-roadmap and /god-stack are eligible.
311
- Display both with: "Run in any order. /god-roadmap is critical-path."
312
-
313
- ### State drift (artifact missing but state says done)
314
- Detected by lib/state.detectDrift(). Suggest /god-repair.
315
-
316
- ### Safe sync blocks deploy
317
- If `.godpowers/sync/SAFE-SYNC-PLAN.md` exists, or `.godpowers/CHECKPOINT.md`
318
- states that safe sync is a blocking red gate, suggest
319
- `/god-reconcile Release Truth And Safe Sync` before `/god-deploy`,
320
- `/god-observe`, `/god-harden`, or `/god-launch`.
321
-
322
- The blocker is cleared when `.godpowers/sync/SAFE-SYNC-DONE.md` or
323
- `.godpowers/sync/SAFE-SYNC-RESOLVED.md` exists.
324
-
325
- ### Critical harden findings block launch
326
- If `.godpowers/harden/FINDINGS.md` says the launch gate is blocked, or lists
327
- unresolved Critical findings, `/god-launch` prerequisites fail through
328
- `no-critical-findings`. This applies in default mode and `--yolo`.
329
-
330
- ### Steady state with multiple workflow options
331
- If lifecycle-phase = steady-state-active, route by user intent if provided
332
- (use the User Intent Map below).
333
-
334
- ## Steady-state User Intent Map
335
-
336
- When in steady state, match keywords to workflows:
337
-
338
- | Keyword | Suggest |
339
- |---------|---------|
340
- | feature, add, new functionality | /god-feature |
341
- | production down, urgent, p0 | /god-hotfix |
342
- | bug, broken, doesn't work | /god-debug |
343
- | refactor, clean up, rename | /god-refactor |
344
- | POC, prototype, spike, research | /god-spike |
345
- | postmortem, RCA, incident review | /god-postmortem |
346
- | upgrade, migrate, bump major | /god-upgrade |
347
- | docs, documentation, README | /god-docs |
348
- | deps, dependencies, audit | /god-update-deps |
349
- | preflight, intake, audit before project run readiness, audit before pillars | /god-preflight |
350
- | audit, score, quality check | /god-audit |
351
- | health check, hygiene | /god-hygiene |
352
-
353
- If mode detection indicates brownfield or bluefield and
354
- `.godpowers/preflight/PREFLIGHT.md` is missing, prefer `/god-preflight` before
355
- recommending archaeology, reconstruction, project-run readiness, pillars, or refactor work.
356
-
357
- ## Output Format
358
-
359
- `/god-next` must emit the same Godpowers Dashboard shape used by
360
- `/god-status`, then add routing detail and the proposition block.
361
- Prefer the executable `lib/dashboard.js` output over manually recomputing the
362
- same fields. If the module is unavailable, say
363
- `Dashboard engine: unavailable, manual scan used`.
364
-
365
- ```text
366
- Godpowers Next
367
-
368
- Godpowers Dashboard
369
-
370
- Source: runtime dashboard (lib/dashboard.js)
371
-
372
- Current status:
373
- State: proposal
374
- Phase: [plain-language phase] (tier [human ordinal] of [human total])
375
- Step: [current step label] (step [n] of [total steps])
376
- Progress: [pct]% workflow progress ([done] of [total] tracked steps complete)
377
- Worktree: [clean | modified files unstaged | staged changes | mixed]
378
- Index: [untouched | staged files listed]
379
-
380
- Planning visibility:
381
- PRD: [done | pending | missing | deferred] [path when present]
382
- Roadmap: [done | pending | missing | deferred] [path when present]
383
- Current milestone: [roadmap milestone, phase, tier, or next planning gate]
384
- Completion basis: [state.json, PROGRESS.md, artifacts, or audit score source]
385
-
386
- Suggested next: [/god-X]
23
+ 4. Load `<runtimeRoot>/lib/command-families.js` before resolving broad intent.
24
+ 5. Load `<runtimeRoot>/lib/dashboard.js` and render the shared dashboard before route-specific detail.
25
+ 6. If no dashboard module is available, say `Dashboard engine: unavailable, manual scan used`.
387
26
 
388
- Why: [one-line reason]
27
+ ## Required references
389
28
 
390
- Path ahead:
391
- 1. Current: [tier/substep] - [status]
392
- 2. Next: [/god-X] - [why]
393
- 3. Then: [/god-Y or "recompute after gate"]
29
+ Read these references before producing a route recommendation:
394
30
 
395
- [If prereqs missing]:
396
- Pre-flight: missing [prereq]
397
- Auto-complete available: /god-Y
398
- Run /god-Y first? (yes/no/manual-info)
31
+ - `<runtimeRoot>/references/orchestration/GOD-NEXT-RUNBOOK.md` for invocation modes, route detail, and edge cases.
32
+ - `<runtimeRoot>/references/shared/DASHBOARD-CONTRACT.md` for the shared status and proposition shape.
399
33
 
400
- [If standards-check on previous tier failed]:
401
- Previous tier had standards failures. Address before proceeding:
402
- - [failure 1]
403
- - [failure 2]
404
- Suggested: /god-redo [tier] OR /god-skip [tier] --reason="..."
34
+ ## Invocation modes
405
35
 
406
- Proactive checks:
407
- Checkpoint: [fresh | refreshed | missing | stale]
408
- Reviews: [none | N pending, suggest /god-review-changes]
409
- Sync: [fresh | missing | stale | local helper ran | suggest /god-sync]
410
- Docs: [fresh | possible drift, suggest /god-docs]
411
- Runtime: [not-applicable | known URL, suggest /god-test-runtime | no known URL, defer deployed verification]
412
- Security: [clear | sensitive files changed, suggest /god-harden]
413
- Dependencies: [clear | dependency files changed, suggest /god-update-deps]
414
- Hygiene: [fresh | stale, suggest /god-hygiene]
36
+ - Post-completion: after a command finishes, read its routing file and announce the next gate.
37
+ - Pre-flight: before a target command runs, evaluate prerequisites and offer auto-completion when available.
38
+ - Standalone: when the user asks what is next, derive the recommendation from disk state.
39
+ - Intent-based: when the user uses fuzzy text, match recipes and command families before raw route order.
415
40
 
416
- Open items:
417
- 1. [missing prerequisite, blocker, pending review, or none]
41
+ ## Decision rules
418
42
 
419
- Next:
420
- Recommended: [/god-X or exact user decision]
421
- Why: [one sentence tied to disk state]
422
- ```
43
+ - Disk state beats chat memory.
44
+ - state.json and completed artifacts beat prep artifacts.
45
+ - INITIAL-FINDINGS.md and IMPORTED-CONTEXT.md explain context but do not override completed Godpowers artifacts.
46
+ - If PRD is complete, DESIGN is missing, and UI or product-experience signals exist, suggest `/god-design` before `/god-arch`.
47
+ - Safe sync blockers route to `/god-reconcile Release Truth And Safe Sync` before release-facing work.
48
+ - Unresolved Critical harden findings block `/god-launch` in default mode and under `--yolo`.
49
+ - Missing prerequisites should name the prerequisite, the route that can create it, and the smallest user decision needed.
50
+ - Standards failures should suggest `/god-redo` with feedback or `/god-skip` with a reason, then stop.
423
51
 
424
- ## Proposition Closeout
52
+ ## Output contract
425
53
 
426
- Every `/god-next` response must end with a proposition block unless it already
427
- launched the selected command:
54
+ Render this sequence:
428
55
 
429
- ```
430
- Proposition:
431
- 1. Implement partial: [single suggested command]
432
- 2. Implement complete: [recipe sequence or /god-mode when safe]
433
- 3. Discuss more: /god-discuss [routing ambiguity or missing prerequisite]
434
- 4. Inspect status: /god-status or /god-locate
435
- Recommended: [one option and why]
436
- ```
56
+ 1. `Godpowers Next` heading.
57
+ 2. Shared Godpowers Dashboard from `DASHBOARD-CONTRACT.md`.
58
+ 3. Suggested next command and one-line reason.
59
+ 4. Optional three-line path ahead when state allows it.
60
+ 5. Optional pre-flight, standards, or blocker detail.
61
+ 6. Proactive checks using the shared labels.
62
+ 7. Proposition block unless the selected command already launched.
437
63
 
438
- For missing prerequisites, the partial option is the auto-completable
439
- prerequisite. For standards failures, the partial option is `/god-redo` with
440
- feedback and the complete option is blocked until the gate passes.
64
+ Keep the route preview to three lines unless the user asks for the full plan.
@@ -79,15 +79,4 @@ The reflog records every god-observe invocation as `op:god-observe` for `/god-un
79
79
 
80
80
  ## Locking
81
81
 
82
- The orchestrator acquires a state-lock before this skill mutates anything,
83
- scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
84
- `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
85
- same holder; force-reclaimable if stale via `/god-repair`.
86
-
87
- Read-only inspection commands (`/god-status`, `/god-doctor`,
88
- `/god-locate`) do NOT block on the lock. Concurrent writers on
89
- non-overlapping scopes are allowed; on overlapping scopes, the second
90
- writer pauses or routes elsewhere via `/god-next`.
91
-
92
- See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
93
- the full contract.
82
+ See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
package/skills/god-prd.md CHANGED
@@ -82,15 +82,4 @@ The reflog records every god-prd invocation as `op:god-prd` for `/god-undo`.
82
82
 
83
83
  ## Locking
84
84
 
85
- The orchestrator acquires a state-lock before this skill mutates anything,
86
- scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
87
- `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
88
- same holder; force-reclaimable if stale via `/god-repair`.
89
-
90
- Read-only inspection commands (`/god-status`, `/god-doctor`,
91
- `/god-locate`) do NOT block on the lock. Concurrent writers on
92
- non-overlapping scopes are allowed; on overlapping scopes, the second
93
- writer pauses or routes elsewhere via `/god-next`.
94
-
95
- See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
96
- the full contract.
85
+ See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
@@ -59,15 +59,4 @@ that originally produced the artifact. Updates the linkage map via
59
59
 
60
60
  ## Locking
61
61
 
62
- The orchestrator acquires a state-lock before this skill mutates anything,
63
- scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
64
- `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
65
- same holder; force-reclaimable if stale via `/god-repair`.
66
-
67
- Read-only inspection commands (`/god-status`, `/god-doctor`,
68
- `/god-locate`) do NOT block on the lock. Concurrent writers on
69
- non-overlapping scopes are allowed; on overlapping scopes, the second
70
- writer pauses or routes elsewhere via `/god-next`.
71
-
72
- See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
73
- the full contract.
62
+ See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
@@ -146,15 +146,4 @@ in the linkage system:
146
146
 
147
147
  ## Locking
148
148
 
149
- The orchestrator acquires a state-lock before this skill mutates anything,
150
- scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
151
- `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
152
- same holder; force-reclaimable if stale via `/god-repair`.
153
-
154
- Read-only inspection commands (`/god-status`, `/god-doctor`,
155
- `/god-locate`) do NOT block on the lock. Concurrent writers on
156
- non-overlapping scopes are allowed; on overlapping scopes, the second
157
- writer pauses or routes elsewhere via `/god-next`.
158
-
159
- See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
160
- the full contract.
149
+ See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
@@ -68,15 +68,4 @@ Calls into `lib/drift-detector.js`, `lib/code-scanner.js`, `lib/reverse-sync.js`
68
68
 
69
69
  ## Locking
70
70
 
71
- The orchestrator acquires a state-lock before this skill mutates anything,
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.
@@ -35,15 +35,4 @@ Suggested next: /god-build (start building the first milestone)
35
35
 
36
36
  ## Locking
37
37
 
38
- The orchestrator acquires a state-lock before this skill mutates anything,
39
- scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
40
- `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
41
- same holder; force-reclaimable if stale via `/god-repair`.
42
-
43
- Read-only inspection commands (`/god-status`, `/god-doctor`,
44
- `/god-locate`) do NOT block on the lock. Concurrent writers on
45
- non-overlapping scopes are allowed; on overlapping scopes, the second
46
- writer pauses or routes elsewhere via `/god-next`.
47
-
48
- See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
49
- the full contract.
38
+ See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
@@ -77,15 +77,4 @@ to refresh linkage map.
77
77
 
78
78
  ## Locking
79
79
 
80
- The orchestrator acquires a state-lock before this skill mutates anything,
81
- scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
82
- `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
83
- same holder; force-reclaimable if stale via `/god-repair`.
84
-
85
- Read-only inspection commands (`/god-status`, `/god-doctor`,
86
- `/god-locate`) do NOT block on the lock. Concurrent writers on
87
- non-overlapping scopes are allowed; on overlapping scopes, the second
88
- writer pauses or routes elsewhere via `/god-next`.
89
-
90
- See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
91
- the full contract.
80
+ See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
@@ -1,5 +1,7 @@
1
1
  ---
2
2
  name: god-roadmap-check
3
+ deprecated: true
4
+ replacement: god-reconcile
3
5
  description: |
4
6
  Check if user intent overlaps with the existing ROADMAP.md before doing
5
7
  feature work. Returns: already-done, in-progress, enhancement,
@@ -12,6 +14,9 @@ description: |
12
14
 
13
15
  # /god-roadmap-check
14
16
 
17
+ Deprecated: prefer `/god-reconcile` for new workflows. This command remains in
18
+ the full profile for backward compatibility with existing route references.
19
+
15
20
  Reconcile intent against ROADMAP.md before adding work.
16
21
 
17
22
  ## Setup
@@ -63,15 +63,4 @@ The reflog records every god-roadmap invocation as `op:god-roadmap` for `/god-un
63
63
 
64
64
  ## Locking
65
65
 
66
- The orchestrator acquires a state-lock before this skill mutates anything,
67
- scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
68
- `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
69
- same holder; force-reclaimable if stale via `/god-repair`.
70
-
71
- Read-only inspection commands (`/god-status`, `/god-doctor`,
72
- `/god-locate`) do NOT block on the lock. Concurrent writers on
73
- non-overlapping scopes are allowed; on overlapping scopes, the second
74
- writer pauses or routes elsewhere via `/god-next`.
75
-
76
- See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
77
- the full contract.
66
+ See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
@@ -74,15 +74,4 @@ fs operations (for artifact move).
74
74
 
75
75
  ## Locking
76
76
 
77
- The orchestrator acquires a state-lock before this skill mutates anything,
78
- scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
79
- `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
80
- same holder; force-reclaimable if stale via `/god-repair`.
81
-
82
- Read-only inspection commands (`/god-status`, `/god-doctor`,
83
- `/god-locate`) do NOT block on the lock. Concurrent writers on
84
- non-overlapping scopes are allowed; on overlapping scopes, the second
85
- writer pauses or routes elsewhere via `/god-next`.
86
-
87
- See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
88
- the full contract.
77
+ See `<runtimeRoot>/references/shared/LOCKING.md` for the shared state-lock contract.
@@ -116,15 +116,4 @@ User content outside fences is never modified.
116
116
 
117
117
  ## Locking
118
118
 
119
- The orchestrator acquires a state-lock before this skill mutates anything,
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.