@hanzlaa/rcode 3.2.1 → 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 +203 -0
  6. package/cli/install.js +29 -12
  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 +27 -16
  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
@@ -11,15 +11,15 @@ Read all files referenced by the invoking prompt's execution_context before star
11
11
  <step name="parse_arguments">
12
12
  Parse the command arguments:
13
13
  - All arguments become the phase description
14
- - Example: `/rihal:add-phase Add authentication` → description = "Add authentication"
15
- - Example: `/rihal:add-phase Fix critical performance issues` → description = "Fix critical performance issues"
14
+ - Example: `/rihal-add-phase Add authentication` → description = "Add authentication"
15
+ - Example: `/rihal-add-phase Fix critical performance issues` → description = "Fix critical performance issues"
16
16
 
17
17
  If no arguments provided:
18
18
 
19
19
  ```
20
20
  ERROR: Phase description required
21
- Usage: /rihal:add-phase <description>
22
- Example: /rihal:add-phase Add authentication system
21
+ Usage: /rihal-add-phase <description>
22
+ Example: /rihal-add-phase Add authentication system
23
23
  ```
24
24
 
25
25
  Exit.
@@ -36,13 +36,13 @@ if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
36
36
  Check `roadmap_exists` from init JSON. If false:
37
37
  ```
38
38
  ERROR: No roadmap found (.planning/ROADMAP.md)
39
- Run /rihal:new-project to initialize.
39
+ Run /rihal-new-project to initialize.
40
40
  ```
41
41
  Exit.
42
42
  </step>
43
43
 
44
44
  <step name="detect_task_list">
45
- **Detect bulk-task input** — when /rihal:quick or /rihal:do auto-routes a multi-task input here, the entire bug list arrives as `${description}`. Don't put it all in the phase title; extract structure.
45
+ **Detect bulk-task input** — when /rihal-quick or /rihal-do auto-routes a multi-task input here, the entire bug list arrives as `${description}`. Don't put it all in the phase title; extract structure.
46
46
 
47
47
  Match if `${description}` contains ANY of:
48
48
  - 5+ numbered list items (`/^\s*\d+\.\s/m` ≥ 5)
@@ -59,12 +59,12 @@ If matched:
59
59
  ```markdown
60
60
  # Phase {N} — {phase name} — Tasks
61
61
 
62
- *Auto-extracted from /rihal:quick or /rihal:do bulk auto-route on {ISO date}.*
62
+ *Auto-extracted from /rihal-quick or /rihal-do bulk auto-route on {ISO date}.*
63
63
 
64
64
  {original body, preserved verbatim}
65
65
  ```
66
66
 
67
- 4. Note in the completion message: "TASKS.md written with N tasks". The downstream /rihal:plan workflow consumes TASKS.md as the input to SPRINT.md generation — no manual re-paste needed.
67
+ 4. Note in the completion message: "TASKS.md written with N tasks". The downstream /rihal-plan workflow consumes TASKS.md as the input to SPRINT.md generation — no manual re-paste needed.
68
68
 
69
69
  If NOT matched (single task), proceed normally — `${description}` is the phase name as-is.
70
70
 
@@ -123,12 +123,12 @@ Roadmap updated: .planning/ROADMAP.md
123
123
 
124
124
  `/clear` then:
125
125
 
126
- `/rihal:plan {N}`
126
+ `/rihal-plan {N}`
127
127
 
128
128
  ---
129
129
 
130
130
  **Also available:**
131
- - `/rihal:add-phase <description>` — add another phase
131
+ - `/rihal-add-phase <description>` — add another phase
132
132
  - Review roadmap
133
133
 
134
134
  ---
@@ -1,7 +1,7 @@
1
1
  <purpose>
2
2
  Generate unit and E2E tests for a completed phase based on its SUMMARY.md, CONTEXT.md, and implementation. Classifies each changed file into TDD (unit), E2E (browser), or Skip categories, presents a test plan for user approval, then generates tests following RED-GREEN conventions.
3
3
 
4
- Users currently hand-craft `/rihal:quick` prompts for test generation after each phase. This workflow standardizes the process with proper classification, quality gates, and gap reporting.
4
+ Users currently hand-craft `/rihal-quick` prompts for test generation after each phase. This workflow standardizes the process with proper classification, quality gates, and gap reporting.
5
5
  </purpose>
6
6
 
7
7
  <required_reading>
@@ -15,15 +15,15 @@ Parse `$ARGUMENTS` for:
15
15
  - Phase number (integer, decimal, or letter-suffix) → store as `$PHASE_ARG`
16
16
  - Remaining text after phase number → store as `$EXTRA_INSTRUCTIONS` (optional)
17
17
 
18
- Example: `/rihal:add-tests 12 focus on edge cases` → `$PHASE_ARG=12`, `$EXTRA_INSTRUCTIONS="focus on edge cases"`
18
+ Example: `/rihal-add-tests 12 focus on edge cases` → `$PHASE_ARG=12`, `$EXTRA_INSTRUCTIONS="focus on edge cases"`
19
19
 
20
20
  If no phase argument provided:
21
21
 
22
22
  ```
23
23
  ERROR: Phase number required
24
- Usage: /rihal:add-tests <phase> [additional instructions]
25
- Example: /rihal:add-tests 12
26
- Example: /rihal:add-tests 12 focus on edge cases in the pricing module
24
+ Usage: /rihal-add-tests <phase> [additional instructions]
25
+ Example: /rihal-add-tests 12
26
+ Example: /rihal-add-tests 12 focus on edge cases in the pricing module
27
27
  ```
28
28
 
29
29
  Exit.
@@ -54,7 +54,7 @@ Read the phase artifacts (in order of priority):
54
54
  If no SUMMARY.md exists:
55
55
  ```
56
56
  ERROR: No SUMMARY.md found for phase ${PHASE_ARG}
57
- This command works on completed phases. Run /rihal:execute-phase first.
57
+ This command works on completed phases. Run /rihal-execute-phase first.
58
58
  ```
59
59
  Exit.
60
60
 
@@ -315,7 +315,7 @@ Present next steps:
315
315
  ## ▶ Next Up
316
316
 
317
317
  {if bugs discovered:}
318
- **Fix discovered bugs:** `/rihal:quick fix the {N} test failures discovered in phase ${phase_number}`
318
+ **Fix discovered bugs:** `/rihal-quick fix the {N} test failures discovered in phase ${phase_number}`
319
319
 
320
320
  {if blocked tests:}
321
321
  **Resolve test blockers:** {description of what's needed}
@@ -326,8 +326,8 @@ Present next steps:
326
326
  ---
327
327
 
328
328
  **Also available:**
329
- - `/rihal:add-tests {next_phase}` — test another phase
330
- - `/rihal:verify-work {phase_number}` — run UAT verification
329
+ - `/rihal-add-tests {next_phase}` — test another phase
330
+ - `/rihal-verify-work {phase_number}` — run UAT verification
331
331
 
332
332
  ---
333
333
  ```
@@ -8,13 +8,13 @@ Capture an idea, task, or issue that surfaces during a Rihal session as a struct
8
8
  If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
9
9
 
10
10
  ```
11
- /rihal:add-todo <argument-here>
11
+ /rihal-add-todo <argument-here>
12
12
  ```
13
13
 
14
14
  **Examples:**
15
15
  ```
16
- /rihal:add-todo example 1
17
- /rihal:add-todo example 2
16
+ /rihal-add-todo example 1
17
+ /rihal-add-todo example 2
18
18
  ```
19
19
 
20
20
  STOP — do not proceed.
@@ -37,7 +37,7 @@ Ensure directories exist for organized todo capture.
37
37
 
38
38
  <step name="extract_content">
39
39
  **With arguments:** Use as the title/focus.
40
- - `/rihal:add-todo Add auth token refresh` → title = "Add auth token refresh"
40
+ - `/rihal-add-todo Add auth token refresh` → title = "Add auth token refresh"
41
41
 
42
42
  **Without arguments:** Analyze recent conversation to extract:
43
43
  - The specific problem, idea, or task discussed
@@ -148,7 +148,7 @@ Would you like to:
148
148
 
149
149
  1. Continue with current work
150
150
  2. Add another todo
151
- 3. View all todos (/rihal:add-todo --list)
151
+ 3. View all todos (/rihal-add-todo --list)
152
152
  ```
153
153
  </step>
154
154
 
@@ -1,7 +1,7 @@
1
- # Workflow: rihal:analyze-dependencies
1
+ # Workflow: rihal-analyze-dependencies
2
2
 
3
3
  <purpose>
4
- Analyze ROADMAP.md phases for dependency relationships before execution. Detect file overlap between phases, semantic API/data-flow dependencies, and suggest `Depends on` entries to prevent merge conflicts during parallel execution by `/rihal:manager`.
4
+ Analyze ROADMAP.md phases for dependency relationships before execution. Detect file overlap between phases, semantic API/data-flow dependencies, and suggest `Depends on` entries to prevent merge conflicts during parallel execution by `/rihal-manager`.
5
5
  </purpose>
6
6
 
7
7
 
@@ -10,13 +10,13 @@ Analyze ROADMAP.md phases for dependency relationships before execution. Detect
10
10
  If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
11
11
 
12
12
  ```
13
- /rihal:analyze-dependencies <argument-here>
13
+ /rihal-analyze-dependencies <argument-here>
14
14
  ```
15
15
 
16
16
  **Examples:**
17
17
  ```
18
- /rihal:analyze-dependencies example 1
19
- /rihal:analyze-dependencies example 2
18
+ /rihal-analyze-dependencies example 1
19
+ /rihal-analyze-dependencies example 2
20
20
  ```
21
21
 
22
22
  STOP — do not proceed.
@@ -26,7 +26,7 @@ STOP — do not proceed.
26
26
  **Action:** Read `.planning/ROADMAP.md` and extract all phases.
27
27
 
28
28
  ```bash
29
- test -f .planning/ROADMAP.md || echo "No ROADMAP.md found — run /rihal:new-project first."
29
+ test -f .planning/ROADMAP.md || echo "No ROADMAP.md found — run /rihal-new-project first."
30
30
  ```
31
31
 
32
32
  For each phase, capture:
@@ -119,7 +119,7 @@ When writing:
119
119
  - Preserve all other phase content unchanged
120
120
  - Do not reorder phases
121
121
 
122
- After applying: "ROADMAP.md updated. Run `/rihal:manager` to execute phases in the correct order."
122
+ After applying: "ROADMAP.md updated. Run `/rihal-manager` to execute phases in the correct order."
123
123
 
124
124
  ## Success Criteria
125
125
 
@@ -16,14 +16,14 @@ If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
16
16
 
17
17
  **Usage:**
18
18
  ```
19
- /rihal:audit-fix [--max N] [--severity high|medium|all] [--dry-run] [--source audit]
19
+ /rihal-audit-fix [--max N] [--severity high|medium|all] [--dry-run] [--source audit]
20
20
  ```
21
21
 
22
22
  **Examples:**
23
23
  ```
24
- /rihal:audit-fix
25
- /rihal:audit-fix --max 10 --severity high
26
- /rihal:audit-fix --dry-run
24
+ /rihal-audit-fix
25
+ /rihal-audit-fix --max 10 --severity high
26
+ /rihal-audit-fix --dry-run
27
27
  ```
28
28
 
29
29
  <process>
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:audit-milestone
1
+ # Workflow: rihal-audit-milestone
2
2
 
3
3
  <purpose>
4
4
  Cross-phase audit of milestone completion. Reads all SUMMARY.md files from completed phases, compares their outcomes to the original ROADMAP goals, flags gaps, and generates an audit report showing completion percentage and decision traceability.
@@ -9,13 +9,13 @@ Cross-phase audit of milestone completion. Reads all SUMMARY.md files from compl
9
9
  If `$ARGUMENTS` contains only `--help` or `-h`:
10
10
 
11
11
  ```
12
- /rihal:audit-milestone [--strict] [--report]
12
+ /rihal-audit-milestone [--strict] [--report]
13
13
  ```
14
14
 
15
15
  **Examples:**
16
16
  ```
17
- /rihal:audit-milestone
18
- /rihal:audit-milestone --strict --report
17
+ /rihal-audit-milestone
18
+ /rihal-audit-milestone --strict --report
19
19
  ```
20
20
 
21
21
  STOP — do not proceed.
@@ -32,7 +32,7 @@ If neither exists:
32
32
  ```
33
33
  ⚠ No active milestone found. Start a new one:
34
34
 
35
- /rihal:new-milestone <name>
35
+ /rihal-new-milestone <name>
36
36
  ```
37
37
 
38
38
  STOP.
@@ -159,7 +159,7 @@ If `PLANS > 0` AND (`GIT_FEAT > 0` OR `APPS > 0`):
159
159
  1. Synthesize SUMMARY.md per phase from PLAN.md + git log [recommended]
160
160
  (groups commits by phase tag like "feat(03-1):", writes a
161
161
  first-pass SUMMARY.md the user can edit)
162
- 2. Run /rihal:verify-phase NN per phase (manual close path)
162
+ 2. Run /rihal-verify-phase NN per phase (manual close path)
163
163
  3. Continue audit anyway (only assesses what is documented — likely
164
164
  reports 0% goal coverage)
165
165
  0. Cancel
@@ -174,7 +174,7 @@ If `PLANS == 0`:
174
174
  ```
175
175
  ⚠ No phase summaries and no plans found. Have phases been executed?
176
176
  Check: {MILESTONE_DIR}/phases/
177
- Start one: /rihal:plan
177
+ Start one: /rihal-plan
178
178
  ```
179
179
 
180
180
  STOP.
@@ -183,5 +183,5 @@ If ROADMAP missing:
183
183
 
184
184
  ```
185
185
  ⚠ ROADMAP.md missing. Cannot audit without original goals.
186
- Create one: /rihal:new-milestone
186
+ Create one: /rihal-new-milestone
187
187
  ```
@@ -76,9 +76,9 @@ Present the audit report:
76
76
 
77
77
  ## Recommended Actions
78
78
 
79
- 1. **Close stale items:** `/rihal:verify-work {phase}` — mark stale tests as resolved
79
+ 1. **Close stale items:** `/rihal-verify-work {phase}` — mark stale tests as resolved
80
80
  2. **Run active tests:** Human UAT test plan below
81
- 3. **When prerequisites met:** Retest blocked items with `/rihal:verify-work {phase}`
81
+ 3. **When prerequisites met:** Retest blocked items with `/rihal-verify-work {phase}`
82
82
  ```
83
83
  </step>
84
84
 
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:audit
1
+ # Workflow: rihal-audit
2
2
 
3
3
  <purpose>
4
4
  Single entry point for every kind of audit. Asks the user *what* to audit
@@ -17,20 +17,20 @@ and auto-picks the most-relevant target based on project state. In
17
17
  If `$ARGUMENTS` contains `--help` or `-h`:
18
18
 
19
19
  ```
20
- /rihal:audit # interactive — asks what to audit
21
- /rihal:audit phase [<NN>] # → /rihal:verify-phase
22
- /rihal:audit milestone [--strict] # → /rihal:audit-milestone (with synth fallback)
23
- /rihal:audit uat # → /rihal:audit-uat
24
- /rihal:audit code [--scope=...] # → /rihal:code-review --karpathy
25
- /rihal:audit fix # → /rihal:audit-fix
26
- /rihal:audit work # → /rihal:verify-work
20
+ /rihal-audit # interactive — asks what to audit
21
+ /rihal-audit phase [<NN>] # → /rihal-verify-phase
22
+ /rihal-audit milestone [--strict] # → /rihal-audit-milestone (with synth fallback)
23
+ /rihal-audit uat # → /rihal-audit-uat
24
+ /rihal-audit code [--scope=...] # → /rihal-code-review --karpathy
25
+ /rihal-audit fix # → /rihal-audit-fix
26
+ /rihal-audit work # → /rihal-verify-work
27
27
  ```
28
28
 
29
29
  **Examples:**
30
30
  ```
31
- /rihal:audit
32
- /rihal:audit milestone --strict
33
- /rihal:audit phase 03
31
+ /rihal-audit
32
+ /rihal-audit milestone --strict
33
+ /rihal-audit phase 03
34
34
  ```
35
35
 
36
36
  ## Step 1 — Resolve mode + arguments
@@ -94,11 +94,11 @@ sub-workflow.
94
94
 
95
95
  | target | precondition | failure message |
96
96
  |---|---|---|
97
- | phase | at least one `.planning/phases/*/PLAN.md` | `No PLAN.md found. Run /rihal:plan first.` |
98
- | milestone | ROADMAP.md exists | `No ROADMAP.md. Run /rihal:new-milestone first.` |
99
- | uat | at least one UAT*.md exists | `No UAT files yet. Run /rihal:execute on a phase first.` |
97
+ | phase | at least one `.planning/phases/*/PLAN.md` | `No PLAN.md found. Run /rihal-plan first.` |
98
+ | milestone | ROADMAP.md exists | `No ROADMAP.md. Run /rihal-new-milestone first.` |
99
+ | uat | at least one UAT*.md exists | `No UAT files yet. Run /rihal-execute on a phase first.` |
100
100
  | code | git repo with at least one commit | `Empty repo — nothing to audit yet.` |
101
- | fix | a prior audit report exists OR a prior `--report` artefact | `No audit findings yet. Run /rihal:audit first.` |
101
+ | fix | a prior audit report exists OR a prior `--report` artefact | `No audit findings yet. Run /rihal-audit first.` |
102
102
  | work | inside a git worktree | `Not in a git repo.` |
103
103
 
104
104
  For `milestone` specifically, check the **graceful-degrade** condition
@@ -112,7 +112,7 @@ if [ "$TARGET" = "milestone" ] && [ "$SUMMARIES" -eq 0 ] && [ "$PLANS" -gt 0 ];
112
112
  echo " Phases were executed but never formally closed."
113
113
  # Offer (yolo: auto-pick 1; guided: ask):
114
114
  # 1. Synthesize SUMMARY.md per phase from PLAN.md + git log [recommended]
115
- # 2. Run /rihal:verify-phase per phase (manual close)
115
+ # 2. Run /rihal-verify-phase per phase (manual close)
116
116
  # 3. Continue audit anyway (will only assess what's documented)
117
117
  # 0. Cancel
118
118
  fi
@@ -135,12 +135,12 @@ Run the target's slash command, forwarding remaining args:
135
135
 
136
136
  | target | dispatch |
137
137
  |---|---|
138
- | phase | `/rihal:verify-phase $REST_ARGS` |
139
- | milestone | `/rihal:audit-milestone $REST_ARGS` |
140
- | uat | `/rihal:audit-uat $REST_ARGS` |
141
- | code | `/rihal:code-review $REST_ARGS --karpathy` |
142
- | fix | `/rihal:audit-fix $REST_ARGS` |
143
- | work | `/rihal:verify-work $REST_ARGS` |
138
+ | phase | `/rihal-verify-phase $REST_ARGS` |
139
+ | milestone | `/rihal-audit-milestone $REST_ARGS` |
140
+ | uat | `/rihal-audit-uat $REST_ARGS` |
141
+ | code | `/rihal-code-review $REST_ARGS --karpathy` |
142
+ | fix | `/rihal-audit-fix $REST_ARGS` |
143
+ | work | `/rihal-verify-work $REST_ARGS` |
144
144
 
145
145
  ## Step 6 — Closing summary
146
146
 
@@ -153,20 +153,20 @@ Report: {report_path or "(stdout only)"}
153
153
  Findings: {count}
154
154
 
155
155
  Next:
156
- /rihal:audit fix — auto-fix findings classified as auto-fixable
157
- /rihal:audit code — drill into code-quality issues
158
- /rihal:settings show — review which audit gates are enabled
156
+ /rihal-audit fix — auto-fix findings classified as auto-fixable
157
+ /rihal-audit code — drill into code-quality issues
158
+ /rihal-settings show — review which audit gates are enabled
159
159
  ```
160
160
 
161
161
  ## Success Criteria
162
162
 
163
- - [ ] `/rihal:audit` (no args) presents menu in guided mode, auto-picks in yolo
164
- - [ ] `/rihal:audit milestone` short-circuits the menu
163
+ - [ ] `/rihal-audit` (no args) presents menu in guided mode, auto-picks in yolo
164
+ - [ ] `/rihal-audit milestone` short-circuits the menu
165
165
  - [ ] When SUMMARY.md absent but PLAN.md present, milestone offers synthesize/verify/skip — does not dead-halt
166
166
  - [ ] Sub-workflow's closing report is surfaced unchanged
167
167
 
168
168
  ## On Error
169
169
 
170
- - **Sub-workflow not installed** (slash file missing): `Audit subroute '/rihal:{target}' not found. Run: npx @hanzlaa/rcode install .`
170
+ - **Sub-workflow not installed** (slash file missing): `Audit subroute '/rihal-{target}' not found. Run: npx @hanzlaa/rcode install .`
171
171
  - **Precondition failed**: print the message from Step 4's table, suggest the unblocking command, STOP.
172
172
  - **`.rihal/config.yaml` missing**: treat as `mode: guided`, continue.