@hanzlaa/rcode 3.3.0 → 3.3.1

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 (278) hide show
  1. package/CONTRIBUTING.md +9 -9
  2. package/README.md +50 -50
  3. package/cli/context.js +4 -4
  4. package/cli/doctor.js +1 -1
  5. package/cli/generate-command-skills.cjs +10 -10
  6. package/cli/install.js +11 -11
  7. package/cli/lib/memory-bank.cjs +5 -5
  8. package/cli/set-mode.js +2 -2
  9. package/cli/uninstall.js +5 -5
  10. package/dist/rcode.js +15 -15
  11. package/package.json +1 -1
  12. package/rihal/DOCS-AUDIT.md +1 -1
  13. package/rihal/agents/rihal-ahmed.md +1 -1
  14. package/rihal/agents/rihal-codebase-mapper.md +3 -3
  15. package/rihal/agents/rihal-debugger.md +2 -2
  16. package/rihal/agents/rihal-fatima.md +2 -2
  17. package/rihal/agents/rihal-haitham.md +2 -2
  18. package/rihal/agents/rihal-khalid.md +1 -1
  19. package/rihal/agents/rihal-layla.md +1 -1
  20. package/rihal/agents/rihal-nasser.md +1 -1
  21. package/rihal/agents/rihal-noor.md +1 -1
  22. package/rihal/agents/rihal-nyquist-auditor.md +1 -1
  23. package/rihal/agents/rihal-omar.md +1 -1
  24. package/rihal/agents/rihal-phase-researcher.md +3 -3
  25. package/rihal/agents/rihal-planner.md +1 -1
  26. package/rihal/agents/rihal-project-researcher.md +2 -2
  27. package/rihal/agents/rihal-research-synthesizer.md +3 -3
  28. package/rihal/agents/rihal-roadmapper.md +3 -3
  29. package/rihal/agents/rihal-sadiq.md +1 -1
  30. package/rihal/agents/rihal-sprint-checker.md +3 -3
  31. package/rihal/agents/rihal-verifier.md +2 -2
  32. package/rihal/agents/rihal-waleed.md +1 -1
  33. package/rihal/agents/rihal-yousef.md +2 -2
  34. package/rihal/agents/rihal-zahra.md +1 -1
  35. package/rihal/agents/rihal-zayd.md +1 -1
  36. package/rihal/agents/rules/phase-researcher/detailed-guide.md +1 -1
  37. package/rihal/agents/rules/roadmapper/detailed-guide.md +1 -1
  38. package/rihal/agents/rules/sprint-checker/dimensions.md +3 -3
  39. package/rihal/agents/rules/sprint-checker/process.md +2 -2
  40. package/rihal/agents/rules/verifier/gap-output.md +1 -1
  41. package/rihal/agents/rules/verifier/verification-report.md +1 -1
  42. package/rihal/bin/rihal-hooks.cjs +6 -6
  43. package/rihal/bin/rihal-tools.cjs +60 -23
  44. package/rihal/brain/README.md +2 -2
  45. package/rihal/brain/best-practices/no-autonomous-bypass.md +2 -2
  46. package/rihal/brain/best-practices/research-citation-rule.md +1 -1
  47. package/rihal/brain/best-practices/state-sync-rule.md +4 -4
  48. package/rihal/commands/add-phase.md +1 -1
  49. package/rihal/commands/add-tests.md +1 -1
  50. package/rihal/commands/add-todo.md +1 -1
  51. package/rihal/commands/analyze-dependencies.md +1 -1
  52. package/rihal/commands/audit-fix.md +1 -1
  53. package/rihal/commands/audit-milestone.md +1 -1
  54. package/rihal/commands/audit-uat.md +1 -1
  55. package/rihal/commands/audit.md +1 -1
  56. package/rihal/commands/autonomous.md +1 -1
  57. package/rihal/commands/brainstorm.md +1 -1
  58. package/rihal/commands/chain.md +1 -1
  59. package/rihal/commands/check-todos.md +1 -1
  60. package/rihal/commands/checkpoint-preview.md +1 -1
  61. package/rihal/commands/cleanup.md +2 -2
  62. package/rihal/commands/code-review-fix.md +1 -1
  63. package/rihal/commands/code-review.md +1 -1
  64. package/rihal/commands/complete-milestone.md +1 -1
  65. package/rihal/commands/config.md +2 -2
  66. package/rihal/commands/correct-course.md +1 -1
  67. package/rihal/commands/council.md +1 -1
  68. package/rihal/commands/create-epics-and-stories.md +1 -1
  69. package/rihal/commands/create-story.md +2 -2
  70. package/rihal/commands/dashboard.md +1 -1
  71. package/rihal/commands/debug.md +1 -1
  72. package/rihal/commands/decisions.md +1 -1
  73. package/rihal/commands/dev-story.md +1 -1
  74. package/rihal/commands/diff.md +1 -1
  75. package/rihal/commands/discuss-phase.md +1 -1
  76. package/rihal/commands/discuss.md +2 -2
  77. package/rihal/commands/do.md +2 -2
  78. package/rihal/commands/docs-update.md +1 -1
  79. package/rihal/commands/document-project.md +1 -1
  80. package/rihal/commands/enable-hooks.md +1 -1
  81. package/rihal/commands/execute-sprint.md +2 -2
  82. package/rihal/commands/execute.md +1 -1
  83. package/rihal/commands/explore.md +1 -1
  84. package/rihal/commands/export-to-github.md +1 -1
  85. package/rihal/commands/forensics.md +1 -1
  86. package/rihal/commands/from-template.md +1 -1
  87. package/rihal/commands/health.md +1 -1
  88. package/rihal/commands/help.md +1 -1
  89. package/rihal/commands/import.md +1 -1
  90. package/rihal/commands/inbox.md +1 -1
  91. package/rihal/commands/init.md +1 -1
  92. package/rihal/commands/insert-phase.md +1 -1
  93. package/rihal/commands/install.md +1 -1
  94. package/rihal/commands/list-plans.md +1 -1
  95. package/rihal/commands/list-workspaces.md +1 -1
  96. package/rihal/commands/map-codebase.md +1 -1
  97. package/rihal/commands/milestone-summary.md +1 -1
  98. package/rihal/commands/new-milestone.md +1 -1
  99. package/rihal/commands/new-project.md +1 -1
  100. package/rihal/commands/new-workspace.md +1 -1
  101. package/rihal/commands/next.md +1 -1
  102. package/rihal/commands/note.md +1 -1
  103. package/rihal/commands/notify-test.md +1 -1
  104. package/rihal/commands/pause-work.md +1 -1
  105. package/rihal/commands/plan-milestone-gaps.md +3 -3
  106. package/rihal/commands/plan.md +2 -2
  107. package/rihal/commands/plant-seed.md +1 -1
  108. package/rihal/commands/pr-branch.md +2 -2
  109. package/rihal/commands/prfaq.md +1 -1
  110. package/rihal/commands/profile-user.md +1 -1
  111. package/rihal/commands/progress.md +3 -3
  112. package/rihal/commands/quick.md +1 -1
  113. package/rihal/commands/remove-phase.md +1 -1
  114. package/rihal/commands/remove-workspace.md +1 -1
  115. package/rihal/commands/replay.md +1 -1
  116. package/rihal/commands/rerun.md +1 -1
  117. package/rihal/commands/research-phase.md +2 -2
  118. package/rihal/commands/resume-work.md +1 -1
  119. package/rihal/commands/review.md +1 -1
  120. package/rihal/commands/scan.md +1 -1
  121. package/rihal/commands/secure-phase.md +1 -1
  122. package/rihal/commands/session-report.md +1 -1
  123. package/rihal/commands/settings.md +1 -1
  124. package/rihal/commands/ship.md +2 -2
  125. package/rihal/commands/show.md +1 -1
  126. package/rihal/commands/sprint-planning.md +1 -1
  127. package/rihal/commands/sprint-status.md +1 -1
  128. package/rihal/commands/stats.md +1 -1
  129. package/rihal/commands/status.md +1 -1
  130. package/rihal/commands/ui-phase.md +1 -1
  131. package/rihal/commands/ui-review.md +1 -1
  132. package/rihal/commands/undo.md +1 -1
  133. package/rihal/commands/update.md +1 -1
  134. package/rihal/commands/validate-phase.md +1 -1
  135. package/rihal/commands/verify-phase.md +2 -2
  136. package/rihal/commands/verify-work.md +1 -1
  137. package/rihal/commands/why.md +1 -1
  138. package/rihal/commands/workstream.md +1 -1
  139. package/rihal/references/agent-shared-rules.md +1 -1
  140. package/rihal/references/command-redirect-format.md +7 -7
  141. package/rihal/references/context-budget.md +2 -2
  142. package/rihal/references/continuation-format.md +16 -16
  143. package/rihal/references/dispatch-banner.md +1 -1
  144. package/rihal/references/execution-protocol.md +2 -2
  145. package/rihal/references/gates.md +3 -3
  146. package/rihal/references/git-integration.md +1 -1
  147. package/rihal/references/output-format.md +4 -4
  148. package/rihal/references/output-realism.md +1 -1
  149. package/rihal/references/revision-loop.md +1 -1
  150. package/rihal/references/state-schema.md +15 -15
  151. package/rihal/references/ui-brand.md +1 -1
  152. package/rihal/references/verb-dictionary.md +15 -15
  153. package/rihal/references/workstream-flag.md +28 -28
  154. package/rihal/skills/_shared/no-autonomous-bypass.md +2 -2
  155. package/rihal/skills/_shared/research-citation-rule.md +1 -1
  156. package/rihal/skills/_shared/state-sync-rule.md +4 -4
  157. package/rihal/skills/actions/1-analysis/rihal-prfaq/SKILL.md +1 -1
  158. package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/workflow.md +1 -1
  159. package/rihal/skills/actions/2-plan/rihal-create-milestone/SKILL.md +2 -2
  160. package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-06-phase-stubs.md +2 -2
  161. package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-07-backlog.md +2 -2
  162. package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-09-state-sync.md +2 -2
  163. package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-10-complete.md +4 -4
  164. package/rihal/skills/actions/2-plan/rihal-create-milestone/workflow.md +5 -5
  165. package/rihal/skills/actions/2-plan/rihal-create-prd/SKILL.md +1 -1
  166. package/rihal/skills/actions/2-plan/rihal-create-prd/workflow.md +1 -1
  167. package/rihal/skills/actions/2-plan/rihal-create-story/workflow.md +1 -1
  168. package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/SKILL.md +3 -3
  169. package/rihal/skills/actions/4-implementation/rihal-dev-story/workflow.md +1 -1
  170. package/rihal/skills/actions/4-implementation/rihal-sprint-planning/SKILL.md +1 -1
  171. package/rihal/skills/actions/4-implementation/rihal-sprint-planning/checklist.md +1 -1
  172. package/rihal/skills/actions/4-implementation/rihal-sprint-planning/workflow.md +1 -1
  173. package/rihal/skills/actions/4-implementation/rihal-sprint-status/workflow.md +5 -5
  174. package/rihal/skills/agents/dalil-scout/SKILL.md +7 -7
  175. package/rihal/skills/core/rihal-brainstorming/SKILL.md +1 -1
  176. package/rihal/skills/core/rihal-init/SKILL.md +1 -1
  177. package/rihal/skills/core/rihal-party-mode/SKILL.md +1 -1
  178. package/rihal/templates/milestone.md +1 -1
  179. package/rihal/templates/projects/api-backend/PROJECT.md +1 -1
  180. package/rihal/templates/projects/mobile-app/PROJECT.md +1 -1
  181. package/rihal/templates/projects/saas-b2b/PROJECT.md +1 -1
  182. package/rihal/workflows/add-phase.md +10 -10
  183. package/rihal/workflows/add-tests.md +9 -9
  184. package/rihal/workflows/add-todo.md +5 -5
  185. package/rihal/workflows/analyze-dependencies.md +7 -7
  186. package/rihal/workflows/audit-fix.md +4 -4
  187. package/rihal/workflows/audit-milestone.md +8 -8
  188. package/rihal/workflows/audit-uat.md +2 -2
  189. package/rihal/workflows/audit.md +28 -28
  190. package/rihal/workflows/autonomous.md +128 -44
  191. package/rihal/workflows/brainstorm.md +7 -7
  192. package/rihal/workflows/chain.md +16 -16
  193. package/rihal/workflows/check-implementation-readiness.md +4 -4
  194. package/rihal/workflows/check-todos.md +8 -8
  195. package/rihal/workflows/checkpoint-preview.md +1 -1
  196. package/rihal/workflows/code-review-fix.md +10 -10
  197. package/rihal/workflows/code-review.md +10 -10
  198. package/rihal/workflows/complete-milestone.md +5 -5
  199. package/rihal/workflows/correct-course.md +7 -7
  200. package/rihal/workflows/council.md +15 -15
  201. package/rihal/workflows/create-epics-and-stories.md +9 -9
  202. package/rihal/workflows/create-story.md +11 -11
  203. package/rihal/workflows/dashboard.md +8 -8
  204. package/rihal/workflows/debug.md +6 -6
  205. package/rihal/workflows/decisions.md +5 -5
  206. package/rihal/workflows/dev-story.md +12 -12
  207. package/rihal/workflows/diagnose-issues.md +2 -2
  208. package/rihal/workflows/diff.md +3 -3
  209. package/rihal/workflows/discuss-phase-power.md +7 -7
  210. package/rihal/workflows/discuss-phase.md +14 -14
  211. package/rihal/workflows/discuss.md +9 -9
  212. package/rihal/workflows/do.md +79 -79
  213. package/rihal/workflows/docs-update.md +6 -6
  214. package/rihal/workflows/document-project.md +5 -5
  215. package/rihal/workflows/enable-hooks.md +5 -5
  216. package/rihal/workflows/execute-sprint.md +3 -3
  217. package/rihal/workflows/execute.md +28 -28
  218. package/rihal/workflows/explore.md +5 -5
  219. package/rihal/workflows/export-to-github.md +5 -5
  220. package/rihal/workflows/forensics.md +8 -8
  221. package/rihal/workflows/from-template.md +8 -8
  222. package/rihal/workflows/health.md +11 -11
  223. package/rihal/workflows/help.md +117 -117
  224. package/rihal/workflows/import.md +4 -4
  225. package/rihal/workflows/inbox.md +8 -8
  226. package/rihal/workflows/init.md +23 -23
  227. package/rihal/workflows/insert-phase.md +9 -9
  228. package/rihal/workflows/install.md +3 -3
  229. package/rihal/workflows/karpathy-audit.md +11 -11
  230. package/rihal/workflows/list-plans.md +8 -8
  231. package/rihal/workflows/list-workspaces.md +7 -7
  232. package/rihal/workflows/map-codebase.md +5 -5
  233. package/rihal/workflows/milestone-summary.md +7 -7
  234. package/rihal/workflows/new-milestone.md +11 -11
  235. package/rihal/workflows/new-project-research.md +1 -1
  236. package/rihal/workflows/new-project-roadmap.md +8 -8
  237. package/rihal/workflows/new-project.md +32 -32
  238. package/rihal/workflows/new-workspace.md +7 -7
  239. package/rihal/workflows/next.md +13 -13
  240. package/rihal/workflows/note.md +7 -7
  241. package/rihal/workflows/notify-test.md +6 -6
  242. package/rihal/workflows/pause-work.md +6 -6
  243. package/rihal/workflows/plan-milestone-gaps.md +7 -7
  244. package/rihal/workflows/plan.md +28 -28
  245. package/rihal/workflows/plant-seed.md +3 -3
  246. package/rihal/workflows/pr-branch.md +1 -1
  247. package/rihal/workflows/prfaq.md +1 -1
  248. package/rihal/workflows/profile-user.md +5 -5
  249. package/rihal/workflows/progress.md +6 -6
  250. package/rihal/workflows/quick.md +12 -12
  251. package/rihal/workflows/remove-phase.md +6 -6
  252. package/rihal/workflows/remove-workspace.md +8 -8
  253. package/rihal/workflows/replay.md +8 -8
  254. package/rihal/workflows/rerun.md +5 -5
  255. package/rihal/workflows/research-phase.md +2 -2
  256. package/rihal/workflows/resume-work.md +10 -10
  257. package/rihal/workflows/review-adversarial.md +4 -4
  258. package/rihal/workflows/review-edge-case-hunter.md +5 -5
  259. package/rihal/workflows/review.md +11 -11
  260. package/rihal/workflows/scan.md +9 -9
  261. package/rihal/workflows/secure-phase.md +8 -8
  262. package/rihal/workflows/session-report.md +6 -6
  263. package/rihal/workflows/settings.md +15 -15
  264. package/rihal/workflows/ship.md +11 -11
  265. package/rihal/workflows/show.md +2 -2
  266. package/rihal/workflows/sprint-planning.md +13 -13
  267. package/rihal/workflows/sprint-status.md +10 -10
  268. package/rihal/workflows/stats.md +6 -6
  269. package/rihal/workflows/status.md +15 -7
  270. package/rihal/workflows/ui-phase.md +8 -8
  271. package/rihal/workflows/ui-review.md +5 -5
  272. package/rihal/workflows/undo.md +17 -17
  273. package/rihal/workflows/update.md +12 -12
  274. package/rihal/workflows/validate-phase.md +5 -5
  275. package/rihal/workflows/verify-work.md +18 -18
  276. package/rihal/workflows/why.md +9 -9
  277. package/rihal/workflows/workstream.md +11 -11
  278. package/server/lib/html/client.js +45 -45
@@ -19,13 +19,13 @@ If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
19
19
 
20
20
  **Usage:**
21
21
  ```
22
- /rihal:code-review-fix <phase> [--auto]
22
+ /rihal-code-review-fix <phase> [--auto]
23
23
  ```
24
24
 
25
25
  **Examples:**
26
26
  ```
27
- /rihal:code-review-fix 01
28
- /rihal:code-review-fix 02.1 --auto
27
+ /rihal-code-review-fix 01
28
+ /rihal-code-review-fix 02.1 --auto
29
29
  ```
30
30
 
31
31
  <process>
@@ -53,7 +53,7 @@ fi
53
53
  **Phase validation (before config gate):**
54
54
  If `phase_found` is false, report error and exit:
55
55
  ```
56
- Error: Phase ${PHASE_ARG} not found. Run /rihal:status to see available phases.
56
+ Error: Phase ${PHASE_ARG} not found. Run /rihal-status to see available phases.
57
57
  ```
58
58
 
59
59
  This runs BEFORE config gate check so user errors are surfaced immediately regardless of config state.
@@ -110,7 +110,7 @@ Verify that REVIEW.md exists:
110
110
 
111
111
  ```bash
112
112
  if [ ! -f "${REVIEW_PATH}" ]; then
113
- echo "Error: No REVIEW.md found for Phase ${PHASE_ARG}. Run /rihal:code-review ${PHASE_ARG} first."
113
+ echo "Error: No REVIEW.md found for Phase ${PHASE_ARG}. Run /rihal-code-review ${PHASE_ARG} first."
114
114
  exit 1
115
115
  fi
116
116
  ```
@@ -238,7 +238,7 @@ Check if FIX_REPORT_PATH exists:
238
238
  Either way:
239
239
  ```
240
240
  Some fix commits may already exist in git history — check git log for fix(${PADDED_PHASE}) commits.
241
- You can retry with /rihal:code-review-fix ${PHASE_ARG}.
241
+ You can retry with /rihal-code-review-fix ${PHASE_ARG}.
242
242
  ```
243
243
 
244
244
  Exit workflow (skip auto loop).
@@ -411,7 +411,7 @@ if [ ! -f "${FIX_REPORT_PATH}" ]; then
411
411
  echo "The fixer agent may have failed before completing."
412
412
  echo "Check git log for any fix(${PADDED_PHASE}) commits."
413
413
  echo ""
414
- echo "Retry: /rihal:code-review-fix ${PHASE_ARG}"
414
+ echo "Retry: /rihal-code-review-fix ${PHASE_ARG}"
415
415
  echo ""
416
416
  echo "═══════════════════════════════════════════════════════════════"
417
417
  exit 1
@@ -468,7 +468,7 @@ if [ "$FIX_STATUS" = "all_fixed" ]; then
468
468
  echo "Full report: ${FIX_REPORT_PATH}"
469
469
  echo ""
470
470
  echo "Next step:"
471
- echo " /rihal:verify-work — Verify phase completion"
471
+ echo " /rihal-verify-work — Verify phase completion"
472
472
  echo ""
473
473
  fi
474
474
  ```
@@ -482,8 +482,8 @@ if [ "$FIX_STATUS" = "partial" ] || [ "$FIX_STATUS" = "none_fixed" ]; then
482
482
  echo ""
483
483
  echo "Next steps:"
484
484
  echo " cat ${FIX_REPORT_PATH} — View fix report"
485
- echo " /rihal:code-review ${PHASE_NUMBER} — Re-review code"
486
- echo " /rihal:verify-work — Verify phase completion"
485
+ echo " /rihal-code-review ${PHASE_NUMBER} — Re-review code"
486
+ echo " /rihal-verify-work — Verify phase completion"
487
487
  echo ""
488
488
  fi
489
489
  ```
@@ -18,15 +18,15 @@ If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
18
18
 
19
19
  **Usage:**
20
20
  ```
21
- /rihal:code-review <phase> [--depth=quick|standard|deep] [--files=path1,path2] [--karpathy]
21
+ /rihal-code-review <phase> [--depth=quick|standard|deep] [--files=path1,path2] [--karpathy]
22
22
  ```
23
23
 
24
24
  **Examples:**
25
25
  ```
26
- /rihal:code-review 01
27
- /rihal:code-review 02.1 --depth=deep
28
- /rihal:code-review 03 --files=src/auth.js,src/db.js
29
- /rihal:code-review HEAD~5..HEAD --karpathy
26
+ /rihal-code-review 01
27
+ /rihal-code-review 02.1 --depth=deep
28
+ /rihal-code-review 03 --files=src/auth.js,src/db.js
29
+ /rihal-code-review HEAD~5..HEAD --karpathy
30
30
  ```
31
31
 
32
32
  ## Step 0a — Karpathy mode delegation
@@ -84,7 +84,7 @@ fi
84
84
  **Phase validation (before config gate):**
85
85
  If `phase_found` is false, report error and exit:
86
86
  ```
87
- Error: Phase ${PHASE_ARG} not found. Run /rihal:status to see available phases.
87
+ Error: Phase ${PHASE_ARG} not found. Run /rihal-status to see available phases.
88
88
  ```
89
89
 
90
90
  This runs BEFORE config gate check so user errors are surfaced immediately regardless of config state.
@@ -261,7 +261,7 @@ if [ ${#REVIEW_FILES[@]} -eq 0 ]; then
261
261
  else
262
262
  # Fail closed — no reliable diff base found. Do not use arbitrary HEAD~N.
263
263
  echo "Warning: No phase commits found for '${PADDED_PHASE}'. Cannot determine reliable diff scope."
264
- echo "Use --files flag to specify files explicitly: /rihal:code-review ${PHASE_ARG} --files=file1,file2,..."
264
+ echo "Use --files flag to specify files explicitly: /rihal-code-review ${PHASE_ARG} --files=file1,file2,..."
265
265
  fi
266
266
  fi
267
267
  ```
@@ -406,7 +406,7 @@ If the Task() call fails (agent error, timeout, or exception):
406
406
  ```
407
407
  Error: Code review agent failed: ${error_message}
408
408
 
409
- No REVIEW.md created. You can retry with /rihal:code-review ${PHASE_ARG} or check agent logs.
409
+ No REVIEW.md created. You can retry with /rihal-code-review ${PHASE_ARG} or check agent logs.
410
410
  ```
411
411
 
412
412
  Do NOT proceed to commit_review step. Do NOT create a partial or empty REVIEW.md. Exit workflow.
@@ -479,7 +479,7 @@ if [ -f "${REVIEW_PATH}" ]; then
479
479
  fi
480
480
  else
481
481
  echo "Warning: Agent completed but REVIEW.md not found at ${REVIEW_PATH}. This may indicate an agent issue."
482
- echo "No REVIEW.md to commit. Please retry with /rihal:code-review ${PHASE_ARG}"
482
+ echo "No REVIEW.md to commit. Please retry with /rihal-code-review ${PHASE_ARG}"
483
483
  fi
484
484
  ```
485
485
  </step>
@@ -538,7 +538,7 @@ If total findings > 0:
538
538
  Full report: ${REVIEW_PATH}
539
539
 
540
540
  Next steps:
541
- /rihal:code-review-fix ${PHASE_NUMBER} — Auto-fix issues
541
+ /rihal-code-review-fix ${PHASE_NUMBER} — Auto-fix issues
542
542
  cat ${REVIEW_PATH} — View full report
543
543
  ```
544
544
 
@@ -99,7 +99,7 @@ Requirements: {N}/{M} v1 requirements checked off
99
99
 
100
100
  MUST present 3 options via AskUserQuestion:
101
101
  1. **Proceed anyway** — mark milestone complete with known gaps
102
- 2. **Run audit first** — `/rihal:audit-milestone` to assess gap severity
102
+ 2. **Run audit first** — `/rihal-audit-milestone` to assess gap severity
103
103
  3. **Abort** — return to development
104
104
 
105
105
  If user selects "Proceed anyway": note incomplete requirements in MILESTONES.md under `### Known Gaps` with REQ-IDs and descriptions.
@@ -427,7 +427,7 @@ find .planning/phases -mindepth 1 -maxdepth 1 -type d -exec mv {} "$ARCHIVE_DIR/
427
427
 
428
428
  Verify: `✅ Phase directories archived to .planning/milestones/v[X.Y]-phases/`
429
429
 
430
- If "Skip": Phase directories remain in `.planning/phases/` as raw execution history. Use `/rihal:cleanup` later to archive retroactively.
430
+ If "Skip": Phase directories remain in `.planning/phases/` as raw execution history. Use `/rihal-cleanup` later to archive retroactively.
431
431
 
432
432
  </step>
433
433
 
@@ -483,7 +483,7 @@ After archival, reorganize ROADMAP.md with milestone groupings, then delete orig
483
483
  rm .planning/REQUIREMENTS.md
484
484
  ```
485
485
 
486
- (ROADMAP.md is retained in its reorganized form. Do NOT delete it — deletion is reserved for between-milestone resets via `/rihal:new-milestone`.)
486
+ (ROADMAP.md is retained in its reorganized form. Do NOT delete it — deletion is reserved for between-milestone resets via `/rihal-new-milestone`.)
487
487
 
488
488
  </step>
489
489
 
@@ -780,7 +780,7 @@ Confirm: "Committed: chore: complete v[X.Y] milestone" (or the gitignored notice
780
780
 
781
781
  `/clear` then:
782
782
 
783
- `/rihal:new-milestone`
783
+ `/rihal-new-milestone`
784
784
 
785
785
  ---
786
786
  ```
@@ -830,7 +830,7 @@ Milestone completion is successful when:
830
830
  - [ ] Known gaps recorded in MILESTONES.md if user proceeded with incomplete requirements
831
831
  - [ ] RETROSPECTIVE.md updated with milestone section
832
832
  - [ ] Cross-milestone trends updated
833
- - [ ] User knows next step (/rihal:new-milestone)
833
+ - [ ] User knows next step (/rihal-new-milestone)
834
834
 
835
835
  </success_criteria>
836
836
  </output>
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:correct-course
1
+ # Workflow: rihal-correct-course
2
2
 
3
3
  <purpose>
4
4
  Load original PRD and architecture docs, compare against current codebase implementation. Identify deviations, classify by type (scope drift, wrong architecture, missing acceptance criteria, tech debt), and produce ordered remediation plan with updated story file.
@@ -10,13 +10,13 @@ Load original PRD and architecture docs, compare against current codebase implem
10
10
  If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
11
11
 
12
12
  ```
13
- /rihal:correct-course <argument-here>
13
+ /rihal-correct-course <argument-here>
14
14
  ```
15
15
 
16
16
  **Examples:**
17
17
  ```
18
- /rihal:correct-course example 1
19
- /rihal:correct-course example 2
18
+ /rihal-correct-course example 1
19
+ /rihal-correct-course example 2
20
20
  ```
21
21
 
22
22
  STOP — do not proceed.
@@ -126,7 +126,7 @@ Task tool call:
126
126
  - Rollback risk
127
127
  - Acceptance criteria for "fixed"
128
128
 
129
- Output: SPRINT.md that can be executed with /rihal:execute
129
+ Output: SPRINT.md that can be executed with /rihal-execute
130
130
  ```
131
131
 
132
132
  ## Step 4 — Generate Report and Plan
@@ -155,7 +155,7 @@ Add section to story file:
155
155
  ### Tech Debt
156
156
  - {list}
157
157
 
158
- Remediation: See /rihal:correct-course for ordered fix plan
158
+ Remediation: See /rihal-correct-course for ordered fix plan
159
159
  ```
160
160
 
161
161
  Print:
@@ -173,7 +173,7 @@ Reports:
173
173
  • Remediation plan: {remediation_plan_path}
174
174
 
175
175
  Run remediation with:
176
- /rihal:execute {remediation_plan_path}
176
+ /rihal-execute {remediation_plan_path}
177
177
  ```
178
178
 
179
179
  ## Success Criteria
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:council
1
+ # Workflow: rihal-council
2
2
 
3
3
  <purpose>
4
4
  Orchestrate a parallel panel of Rihal specialist subagents answering a strategic question. This is the v2 council — deterministic panel scoring via `rihal-tools.cjs`, parallel Task-tool spawning (not sequential roleplay), and structured artifact output to `.planning/council-sessions/`.
@@ -39,7 +39,7 @@ If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
39
39
 
40
40
  **Usage:**
41
41
  ```
42
- /rihal:council <question> [--full] [--verbose] [--agents=a,b,c] [--explain] [--resume <session-path>]
42
+ /rihal-council <question> [--full] [--verbose] [--agents=a,b,c] [--explain] [--resume <session-path>]
43
43
  ```
44
44
 
45
45
  **Flag semantics:**
@@ -49,12 +49,12 @@ If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
49
49
 
50
50
  **Examples:**
51
51
  ```
52
- /rihal:council should I start a new project or continue this one?
53
- /rihal:council --agents=sadiq,waleed,fatima is this plan ready to ship?
54
- /rihal:council --explain what stack should I use for a multi-tenant SaaS?
55
- /rihal:council --full should we rewrite the auth layer?
56
- /rihal:council --verbose --debate deep-dive the TTFT tradeoffs
57
- /rihal:council --resume .planning/council-sessions/council-2026-04-12-should-i-start.md
52
+ /rihal-council should I start a new project or continue this one?
53
+ /rihal-council --agents=sadiq,waleed,fatima is this plan ready to ship?
54
+ /rihal-council --explain what stack should I use for a multi-tenant SaaS?
55
+ /rihal-council --full should we rewrite the auth layer?
56
+ /rihal-council --verbose --debate deep-dive the TTFT tradeoffs
57
+ /rihal-council --resume .planning/council-sessions/council-2026-04-12-should-i-start.md
58
58
  ```
59
59
 
60
60
  **With --resume:** continue a prior council session with a new question. The prior session context is surfaced to the panel.
@@ -77,11 +77,11 @@ Proceed to Step 1 with the prior session context pre-loaded.
77
77
  If `$ARGUMENTS` starts with an agent name (sadiq/waleed/fatima/mariam/hussain-pm) and looks like a question directed at one person (e.g., "ask waleed about X", "what does fatima think"):
78
78
 
79
79
  ```
80
- ⚠ That looks like a single-agent question — /rihal:discuss is faster.
80
+ ⚠ That looks like a single-agent question — /rihal-discuss is faster.
81
81
 
82
82
  Council spawns 3-5 agents in parallel for debate. For one expert, use:
83
83
 
84
- /rihal:discuss $ARGUMENTS
84
+ /rihal-discuss $ARGUMENTS
85
85
  ```
86
86
 
87
87
  Only proceed past this step if the input is a true multi-perspective question (e.g., "should we...?", "is X a good idea?", "which approach is best?").
@@ -131,11 +131,11 @@ Print warning and use AskUserQuestion to confirm:
131
131
  ⚠ This appears to be a fresh project with no context.
132
132
  Council answers may be generic without project-specific signal.
133
133
 
134
- Run /rihal:init first for richer context, or proceed anyway?
134
+ Run /rihal-init first for richer context, or proceed anyway?
135
135
  ```
136
136
 
137
137
  Options:
138
- - "Run /rihal:init first" → Print: `Copy-paste this: /rihal:init` and STOP
138
+ - "Run /rihal-init first" → Print: `Copy-paste this: /rihal-init` and STOP
139
139
  - "Proceed anyway" → Continue to Step 2
140
140
 
141
141
  ## Step 1 — Initialize
@@ -456,7 +456,7 @@ AskUserQuestion:
456
456
  - label: "Both — in parallel tracks"
457
457
  description: "{only offer if feasible}"
458
458
  - label: "Discuss further with {agent-name}"
459
- description: "Route to /rihal:discuss for a deeper 1:1"
459
+ description: "Route to /rihal-discuss for a deeper 1:1"
460
460
  ```
461
461
 
462
462
  After the user picks, emit a one-line decision record and proceed to
@@ -520,7 +520,7 @@ Format each as a checkbox:}
520
520
 
521
521
  The `{slug}` is a lowercase-hyphenated slug of the first 6 words of the question. Create `{paths.sessions_dir}` if it doesn't exist (`mkdir -p`).
522
522
 
523
- **Follow-ups must NOT be empty.** Every council session produces at least one actionable item. If panelists only asked clarifying questions, the follow-up is "Answer the panel's clarifying questions and re-run /rihal:council".
523
+ **Follow-ups must NOT be empty.** Every council session produces at least one actionable item. If panelists only asked clarifying questions, the follow-up is "Answer the panel's clarifying questions and re-run /rihal-council".
524
524
 
525
525
  Print the artifact path to the user at the end:
526
526
 
@@ -557,7 +557,7 @@ node .rihal/bin/rihal-tools.cjs state record-session
557
557
  ## On Error
558
558
 
559
559
  - **Empty arguments or --help:** print usage block (Step 0), stop.
560
- - **Single-agent question detected:** redirect to `/rihal:discuss` (Step 0.5).
560
+ - **Single-agent question detected:** redirect to `/rihal-discuss` (Step 0.5).
561
561
  - **`rihal-tools.cjs` not found:** user has v1 installed or package broken. Tell user to run `npx @hanzlaa/rcode install` (or `rcode install` if installed globally).
562
562
  - **Panel contains unknown agent:** print the installed-agent list and exit.
563
563
  - **state.json missing or corrupted:** continue without error — session artifact is mandatory, state tracking is optional.
@@ -1,7 +1,7 @@
1
- # Workflow: rihal:create-epics-and-stories
1
+ # Workflow: rihal-create-epics-and-stories
2
2
 
3
3
  <purpose>
4
- Parse a PRD, PROJECT.md, or project document to generate numbered epic files in `.planning/epics/`. Each epic file contains user stories with acceptance criteria, development notes, and effort estimates. Output is ready for `/rihal:sprint-planning`.
4
+ Parse a PRD, PROJECT.md, or project document to generate numbered epic files in `.planning/epics/`. Each epic file contains user stories with acceptance criteria, development notes, and effort estimates. Output is ready for `/rihal-sprint-planning`.
5
5
  </purpose>
6
6
 
7
7
 
@@ -38,7 +38,7 @@ done
38
38
  ```
39
39
  No PRD or PROJECT.md found. How should we proceed?
40
40
 
41
- 1. Initialize the project first — run /rihal:new-project to capture goals, stack,
41
+ 1. Initialize the project first — run /rihal-new-project to capture goals, stack,
42
42
  milestones, and generate PROJECT.md. Recommended if this is a new project.
43
43
 
44
44
  2. Gather context from codebase + GitHub issues — I'll scan the repo, read open
@@ -48,7 +48,7 @@ No PRD or PROJECT.md found. How should we proceed?
48
48
  generate stories from that description directly.
49
49
  ```
50
50
 
51
- - If **1**: invoke `/rihal:new-project` and stop.
51
+ - If **1**: invoke `/rihal-new-project` and stop.
52
52
  - If **2**: set `CONTEXT_MODE=codebase`
53
53
  - If **3**: capture description → set `CONTEXT_MODE=interactive`, `DESCRIPTION=$response`
54
54
 
@@ -234,7 +234,7 @@ If any story fails, ask roadmapper to fix before continuing.
234
234
  2.1.md
235
235
  ```
236
236
 
237
- **Why split:** Epic files are kept lean so GitHub API updates only rewrite one small story file instead of the full epic. Token cost per `/rihal:dev-story` is proportional to one story, not the whole epic.
237
+ **Why split:** Epic files are kept lean so GitHub API updates only rewrite one small story file instead of the full epic. Token cost per `/rihal-dev-story` is proportional to one story, not the whole epic.
238
238
 
239
239
  ```bash
240
240
  mkdir -p .planning/epics/stories
@@ -294,7 +294,7 @@ As a {persona}, I want to {action} so that {outcome}.
294
294
  {Exact file paths, function names, line-level hints}
295
295
 
296
296
  ---
297
- *Start: `/rihal:dev-story {N}.{M}`*
297
+ *Start: `/rihal-dev-story {N}.{M}`*
298
298
  ```
299
299
 
300
300
  ## Step 5 — Write INDEX.md
@@ -325,7 +325,7 @@ Generated: {ISO date} | Source: {input filename}
325
325
 
326
326
  ---
327
327
  *Update story status: edit `.planning/epics/stories/{N}.{M}.md` → change `Status:` line*
328
- *Next: `/rihal:sprint-planning` or `/rihal:dev-story {N}.{M}`*
328
+ *Next: `/rihal-sprint-planning` or `/rihal-dev-story {N}.{M}`*
329
329
  ```
330
330
 
331
331
  ## Step 6 — Commit
@@ -346,8 +346,8 @@ Index: .planning/epics/INDEX.md
346
346
  Effort: ~{weeks} total
347
347
 
348
348
  Next:
349
- /rihal:sprint-planning organise into sprints
350
- /rihal:dev-story {N}.{M} start working on a story
349
+ /rihal-sprint-planning organise into sprints
350
+ /rihal-dev-story {N}.{M} start working on a story
351
351
  ```
352
352
 
353
353
  ## Errors
@@ -1,7 +1,7 @@
1
- # Workflow: rihal:create-story
1
+ # Workflow: rihal-create-story
2
2
 
3
3
  <purpose>
4
- Convert a single story from an EPIC file into a self-contained STORY.md file. This story is ready for `/rihal:dev-story` to be wrapped for AI-coder execution. Entry is gated by checklist-story-draft.md.
4
+ Convert a single story from an EPIC file into a self-contained STORY.md file. This story is ready for `/rihal-dev-story` to be wrapped for AI-coder execution. Entry is gated by checklist-story-draft.md.
5
5
  </purpose>
6
6
 
7
7
 
@@ -10,13 +10,13 @@ Convert a single story from an EPIC file into a self-contained STORY.md file. Th
10
10
  If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
11
11
 
12
12
  ```
13
- /rihal:create-story <argument-here>
13
+ /rihal-create-story <argument-here>
14
14
  ```
15
15
 
16
16
  **Examples:**
17
17
  ```
18
- /rihal:create-story example 1
19
- /rihal:create-story example 2
18
+ /rihal-create-story example 1
19
+ /rihal-create-story example 2
20
20
  ```
21
21
 
22
22
  STOP — do not proceed.
@@ -26,11 +26,11 @@ STOP — do not proceed.
26
26
  **If no arguments:**
27
27
 
28
28
  ```
29
- Usage: /rihal:create-story <EPIC-file.md> [--story <id>]
29
+ Usage: /rihal-create-story <EPIC-file.md> [--story <id>]
30
30
 
31
31
  Examples:
32
- /rihal:create-story .planning/epics/EPIC-01.md
33
- /rihal:create-story .planning/epics/EPIC-01.md --story EPIC-01.1
32
+ /rihal-create-story .planning/epics/EPIC-01.md
33
+ /rihal-create-story .planning/epics/EPIC-01.md --story EPIC-01.1
34
34
  ```
35
35
 
36
36
  Stop and wait for arguments.
@@ -243,7 +243,7 @@ Use checklist-story-dod.md. A story is "Done" when:
243
243
 
244
244
  **Before you start:** Review this story, dev notes, and dependencies.
245
245
 
246
- **During development:** See `/rihal:dev-story` to wrap this STORY.md for AI-coder execution.
246
+ **During development:** See `/rihal-dev-story` to wrap this STORY.md for AI-coder execution.
247
247
 
248
248
  **After complete:** Run checklist-story-dod.md to verify done.
249
249
 
@@ -251,7 +251,7 @@ Use checklist-story-dod.md. A story is "Done" when:
251
251
 
252
252
  **Created:** {ISO date}
253
253
 
254
- **Ready for:** /rihal:dev-story → /rihal:code → Definition of Done verification
254
+ **Ready for:** /rihal-dev-story → /rihal-code → Definition of Done verification
255
255
  ```
256
256
 
257
257
  ## Step 6 — Commit Story File
@@ -272,7 +272,7 @@ Title: {Story title}
272
272
  Effort: {Estimate}
273
273
  Persona: {Persona}
274
274
 
275
- Next step: /rihal:dev-story .planning/stories/{story-id}.md
275
+ Next step: /rihal-dev-story .planning/stories/{story-id}.md
276
276
  ```
277
277
 
278
278
  ## Errors
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:dashboard
1
+ # Workflow: rihal-dashboard
2
2
 
3
3
  <purpose>
4
4
  Start the Diwan view-only dashboard — a local web UI that visualizes .rihal/state.json, .planning/ artifacts, phases, decisions, and council sessions. The dashboard is read-only (no write endpoints) and runs dep-free on Node stdlib.
@@ -9,14 +9,14 @@ Start the Diwan view-only dashboard — a local web UI that visualizes .rihal/st
9
9
  If `$ARGUMENTS` contains `--help` or `-h`:
10
10
 
11
11
  ```
12
- /rihal:dashboard [--port <N>] [--no-open]
12
+ /rihal-dashboard [--port <N>] [--no-open]
13
13
  ```
14
14
 
15
15
  **Examples:**
16
16
  ```
17
- /rihal:dashboard # start on port 7717, open browser
18
- /rihal:dashboard --port 8080 # use a different port
19
- /rihal:dashboard --no-open # don't auto-open the browser
17
+ /rihal-dashboard # start on port 7717, open browser
18
+ /rihal-dashboard --port 8080 # use a different port
19
+ /rihal-dashboard --no-open # don't auto-open the browser
20
20
  ```
21
21
 
22
22
  STOP — do not proceed.
@@ -121,13 +121,13 @@ The server runs until the user kills it. The slash command returns after announc
121
121
  ## Examples
122
122
 
123
123
  ### Happy Path
124
- **Input:** `/rihal:dashboard`
124
+ **Input:** `/rihal-dashboard`
125
125
  **Expected:** Server starts on 7717, browser opens, confirmation printed.
126
126
 
127
127
  ### Edge Case: Port in use
128
- **Input:** `/rihal:dashboard` (when 7717 is taken)
128
+ **Input:** `/rihal-dashboard` (when 7717 is taken)
129
129
  **Expected:** Server reports EADDRINUSE. Suggest `--port` flag with alternative.
130
130
 
131
131
  ### Negative Test
132
- **Input:** `/rihal:dashboard --write something`
132
+ **Input:** `/rihal-dashboard --write something`
133
133
  **Expected:** Dashboard is view-only. Reject unknown write-related flags.
@@ -12,13 +12,13 @@ Orchestrator stays lean: parse issues, spawn agents, collect results, synthesize
12
12
  If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
13
13
 
14
14
  ```
15
- /rihal:debug <argument-here>
15
+ /rihal-debug <argument-here>
16
16
  ```
17
17
 
18
18
  **Examples:**
19
19
  ```
20
- /rihal:debug example 1
21
- /rihal:debug example 2
20
+ /rihal-debug example 1
21
+ /rihal-debug example 2
22
22
  ```
23
23
 
24
24
  STOP — do not proceed.
@@ -48,10 +48,10 @@ With diagnosis: "Feature doesn't work" → "missing error handler" → precise f
48
48
  If input contains "should we", "what is the best way to", "how do I implement" — these are not bugs, they are how-to or strategy questions.
49
49
 
50
50
  ```
51
- ⚠ /rihal:debug investigates broken behavior, not how-to questions.
51
+ ⚠ /rihal-debug investigates broken behavior, not how-to questions.
52
52
 
53
- For implementation guidance: /rihal:discuss waleed $ARGUMENTS
54
- For a strategic decision: /rihal:council $ARGUMENTS
53
+ For implementation guidance: /rihal-discuss waleed $ARGUMENTS
54
+ For a strategic decision: /rihal-council $ARGUMENTS
55
55
  ```
56
56
 
57
57
  Only proceed past this step if the input describes broken or unexpected behavior (e.g., "error X occurs", "feature Y doesn't work", "API returns wrong data").
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:decisions
1
+ # Workflow: rihal-decisions
2
2
 
3
3
  <purpose>
4
4
  Surface recent decisions across every Rihal project on this machine. Decisions are mirrored to `~/.rihal/decisions.jsonl` whenever a project runs `state add-decision`. Use this to see what was decided elsewhere, find precedent for a similar call you are about to make, or answer "what did I commit to last week?".
@@ -26,7 +26,7 @@ Newest decisions first. One row per decision with project, date, phase, and summ
26
26
  If `$ARGUMENTS` contains `--help` or `-h`:
27
27
 
28
28
  ```
29
- /rihal:decisions [--limit N] [--project <name>] [--since <ISO-date>] [--this-project]
29
+ /rihal-decisions [--limit N] [--project <name>] [--since <ISO-date>] [--this-project]
30
30
 
31
31
  --limit N Max rows to show (default 20, max 500)
32
32
  --project <name> Filter to one project name (as recorded in state.project)
@@ -61,7 +61,7 @@ The result is JSON: `{decisions: [...], total: N}`. If `decisions` is empty:
61
61
  ```
62
62
  No decisions logged yet.
63
63
 
64
- Decisions are mirrored to ~/.rihal/decisions.jsonl whenever /rihal:execute or /rihal:council records one. Run a council or complete a sprint to populate this log.
64
+ Decisions are mirrored to ~/.rihal/decisions.jsonl whenever /rihal-execute or /rihal-council records one. Run a council or complete a sprint to populate this log.
65
65
  ```
66
66
 
67
67
  STOP.
@@ -90,8 +90,8 @@ Where filter suffix is, for example: ` · project=rihal-code · since=2026-01-01
90
90
 
91
91
  ## Step 5 — Next Up routing
92
92
 
93
- - If `--this-project` was used and results look thin (fewer than 3) → `Next: /rihal:council "<open question>" (then decisions flow back here)`
94
- - Otherwise → `Next: /rihal:decisions --project <name> for deeper history on one project`
93
+ - If `--this-project` was used and results look thin (fewer than 3) → `Next: /rihal-council "<open question>" (then decisions flow back here)`
94
+ - Otherwise → `Next: /rihal-decisions --project <name> for deeper history on one project`
95
95
  </process>
96
96
 
97
97
  ## Success Criteria
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:dev-story
1
+ # Workflow: rihal-dev-story
2
2
 
3
3
  <purpose>
4
4
  Wrap a STORY.md file for AI-coder consumption. Produces:
@@ -57,14 +57,14 @@ elif [[ "$ARGS" =~ ^[Ee]pic[[:space:]]+([0-9]+)$ ]] || [[ "$ARGS" =~ ^[Ee][Pp][I
57
57
  EPIC_FILE=".planning/epics/EPIC-$(printf '%02d' $EPIC_NUM).md"
58
58
 
59
59
  else
60
- echo "Usage: /rihal:dev-story <epic-ref> [--branch]"
60
+ echo "Usage: /rihal-dev-story <epic-ref> [--branch]"
61
61
  echo ""
62
62
  echo "Examples:"
63
- echo " /rihal:dev-story epic 1 # list stories in EPIC-01"
64
- echo " /rihal:dev-story epic 1 story 3 # work on EPIC-01, story 3"
65
- echo " /rihal:dev-story EPIC-01.3 # same as above"
66
- echo " /rihal:dev-story 1.3 --branch # with new git branch"
67
- echo " /rihal:dev-story .planning/epics/stories/1.3.md # direct path"
63
+ echo " /rihal-dev-story epic 1 # list stories in EPIC-01"
64
+ echo " /rihal-dev-story epic 1 story 3 # work on EPIC-01, story 3"
65
+ echo " /rihal-dev-story EPIC-01.3 # same as above"
66
+ echo " /rihal-dev-story 1.3 --branch # with new git branch"
67
+ echo " /rihal-dev-story .planning/epics/stories/1.3.md # direct path"
68
68
  echo ""
69
69
  echo "Story files live in: .planning/epics/stories/"
70
70
  STOP
@@ -89,7 +89,7 @@ if [[ -z "$STORY_NUMBER" ]]; then
89
89
  AVAILABLE=$(ls .planning/epics/stories/${EPIC_NUM}.*.md 2>/dev/null)
90
90
  if [[ -z "$AVAILABLE" ]]; then
91
91
  echo "Error: No stories found for Epic ${EPIC_NUM} in .planning/epics/stories/"
92
- echo "Run /rihal:create-epics-and-stories first."
92
+ echo "Run /rihal-create-epics-and-stories first."
93
93
  STOP
94
94
  fi
95
95
  echo "Stories in Epic ${EPIC_NUM}:"
@@ -334,7 +334,7 @@ This story is "Done" when all items in checklist-story-dod.md are checked:
334
334
  To execute with an AI coder:
335
335
 
336
336
  ```bash
337
- /rihal:code .planning/dev-sessions/{story-id}-dev-prompt.md
337
+ /rihal-code .planning/dev-sessions/{story-id}-dev-prompt.md
338
338
  ```
339
339
 
340
340
  ---
@@ -383,7 +383,7 @@ Acceptance Criteria: {count}
383
383
 
384
384
  Context file: {path to dev-prompt.md}
385
385
 
386
- Next: /rihal:code {path to dev-prompt.md}
386
+ Next: /rihal-code {path to dev-prompt.md}
387
387
 
388
388
  Or, continue the current session to:
389
389
  - Ask clarifying questions
@@ -397,7 +397,7 @@ If user says "start coding" or "let's build", spawn the code execution workflow:
397
397
 
398
398
  ```bash
399
399
  # User says "let's go" or "start", then:
400
- /rihal:code "$DEV_PROMPT_FILE"
400
+ /rihal-code "$DEV_PROMPT_FILE"
401
401
  ```
402
402
 
403
403
  Otherwise, offer:
@@ -405,7 +405,7 @@ Otherwise, offer:
405
405
  ```
406
406
  Ready to code this story?
407
407
 
408
- /rihal:code {dev-prompt-file}
408
+ /rihal-code {dev-prompt-file}
409
409
  ```
410
410
 
411
411
  Stop and wait for user to proceed. Do NOT auto-spawn.
@@ -1,7 +1,7 @@
1
- # Workflow: rihal:diagnose-issues
1
+ # Workflow: rihal-diagnose-issues
2
2
 
3
3
  <purpose>
4
- Reusable diagnosis subroutine called from /rihal:verify-work when
4
+ Reusable diagnosis subroutine called from /rihal-verify-work when
5
5
  verification fails. Walks symptom → hypothesis → evidence → minimal
6
6
  repro and returns a structured finding. Not a top-level command.
7
7
  </purpose>
@@ -13,9 +13,9 @@ If invalid args: Show usage
13
13
 
14
14
  ```
15
15
  Usage:
16
- /rihal:diff # Diff HEAD~1 to HEAD
17
- /rihal:diff --last # Diff against last session
18
- /rihal:diff abc123 def456 # Diff between commits
16
+ /rihal-diff # Diff HEAD~1 to HEAD
17
+ /rihal-diff --last # Diff against last session
18
+ /rihal-diff abc123 def456 # Diff between commits
19
19
  ```
20
20
 
21
21
  ## Step 1: Parse Arguments