@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
@@ -17,7 +17,7 @@ Read `$ARGUMENTS` and resolve to one of: `basic`, `intermediate`, `advanced`, `a
17
17
  Usage block:
18
18
 
19
19
  ```
20
- Usage: /rihal:help [basic|intermediate|advanced|all]
20
+ Usage: /rihal-help [basic|intermediate|advanced|all]
21
21
 
22
22
  basic Show the 8 essentials (default)
23
23
  intermediate Show real-project ops (council, review, ship, capture)
@@ -47,23 +47,23 @@ init → new-project → plan → execute → next → status → ship
47
47
 
48
48
  | Command | What it does |
49
49
  |---------|--------------|
50
- | `/rihal:init` | First-time setup in this repo. Detects state, asks config questions, writes `.rihal/RIHLA.md`. Run once per project. |
51
- | `/rihal:new-project` | Take an idea to a planned roadmap. Questioning → optional research → REQUIREMENTS → ROADMAP. |
52
- | `/rihal:plan <phase>` | Create executable plans for a phase. Produces `SPRINT.md` files. |
53
- | `/rihal:execute <phase>` | Run all plans in a phase in dependency waves. Updates STATE on completion. |
54
- | `/rihal:next` | Auto-route to the next logical step based on project state. Zero friction. |
55
- | `/rihal:status` | Where am I — current phase, plan progress, recent decisions, blockers. |
56
- | `/rihal:progress` | Visual progress + intelligent suggestion for next action. |
57
- | `/rihal:help [tier]` | This reference. Add `intermediate`, `advanced`, or `all` for more. |
50
+ | `/rihal-init` | First-time setup in this repo. Detects state, asks config questions, writes `.rihal/RIHLA.md`. Run once per project. |
51
+ | `/rihal-new-project` | Take an idea to a planned roadmap. Questioning → optional research → REQUIREMENTS → ROADMAP. |
52
+ | `/rihal-plan <phase>` | Create executable plans for a phase. Produces `SPRINT.md` files. |
53
+ | `/rihal-execute <phase>` | Run all plans in a phase in dependency waves. Updates STATE on completion. |
54
+ | `/rihal-next` | Auto-route to the next logical step based on project state. Zero friction. |
55
+ | `/rihal-status` | Where am I — current phase, plan progress, recent decisions, blockers. |
56
+ | `/rihal-progress` | Visual progress + intelligent suggestion for next action. |
57
+ | `/rihal-help [tier]` | This reference. Add `intermediate`, `advanced`, or `all` for more. |
58
58
 
59
59
  ## Minimal happy path
60
60
 
61
61
  ```
62
- /rihal:init
63
- /rihal:new-project
64
- /rihal:plan 1
65
- /rihal:execute 1
66
- /rihal:next
62
+ /rihal-init
63
+ /rihal-new-project
64
+ /rihal-plan 1
65
+ /rihal-execute 1
66
+ /rihal-next
67
67
  ```
68
68
 
69
69
  ## Files Rihal creates
@@ -80,7 +80,7 @@ init → new-project → plan → execute → next → status → ship
80
80
  └── 01-01-SUMMARY.md # what got done
81
81
  ```
82
82
 
83
- **Done with Tier 1?** → `/rihal:help intermediate` for council, review, ship, and capture.
83
+ **Done with Tier 1?** → `/rihal-help intermediate` for council, review, ship, and capture.
84
84
  </tier-1>
85
85
 
86
86
  ---
@@ -95,46 +95,46 @@ init → new-project → plan → execute → next → status → ship
95
95
 
96
96
  | Command | When to use |
97
97
  |---------|-------------|
98
- | `/rihal:council <question>` | Strategic decision needing multiple perspectives — 3-5 agents debate in parallel, 2 rounds with cross-talk. |
99
- | `/rihal:discuss <agent> <q>` | Quick single-agent sync — fast, conversational, no artifact. |
100
- | `/rihal:discuss-phase <n>` | Gather context through adaptive questioning before planning. Produces CONTEXT.md. |
101
- | `/rihal:explore <topic>` | Socratic ideation — think through ideas before committing to plans. |
102
- | `/rihal:do <description>` | Smart router — natural language in, picks the right `/rihal:*` command. |
98
+ | `/rihal-council <question>` | Strategic decision needing multiple perspectives — 3-5 agents debate in parallel, 2 rounds with cross-talk. |
99
+ | `/rihal-discuss <agent> <q>` | Quick single-agent sync — fast, conversational, no artifact. |
100
+ | `/rihal-discuss-phase <n>` | Gather context through adaptive questioning before planning. Produces CONTEXT.md. |
101
+ | `/rihal-explore <topic>` | Socratic ideation — think through ideas before committing to plans. |
102
+ | `/rihal-do <description>` | Smart router — natural language in, picks the right `/rihal-*` command. |
103
103
 
104
104
  ## Quality & shipping
105
105
 
106
106
  | Command | When to use |
107
107
  |---------|-------------|
108
- | `/rihal:code-review` | Adversarial code review of changed files — bugs, security, style. |
109
- | `/rihal:code-review-fix` | Auto-apply fixes from a code-review report. |
110
- | `/rihal:verify-phase <n>` | Goal-backward audit — does the codebase deliver what the phase promised? |
111
- | `/rihal:verify-work` | Conversational UAT against acceptance criteria. |
112
- | `/rihal:ship [phase] [--draft]` | Push feature branch + open PR with auto-generated body (goal, changes, requirements, verification status). Use AFTER `/rihal:verify-phase` passes. **Not for npm publish or tagging releases.** |
108
+ | `/rihal-code-review` | Adversarial code review of changed files — bugs, security, style. |
109
+ | `/rihal-code-review-fix` | Auto-apply fixes from a code-review report. |
110
+ | `/rihal-verify-phase <n>` | Goal-backward audit — does the codebase deliver what the phase promised? |
111
+ | `/rihal-verify-work` | Conversational UAT against acceptance criteria. |
112
+ | `/rihal-ship [phase] [--draft]` | Push feature branch + open PR with auto-generated body (goal, changes, requirements, verification status). Use AFTER `/rihal-verify-phase` passes. **Not for npm publish or tagging releases.** |
113
113
 
114
114
  ## Phase & plan management
115
115
 
116
116
  | Command | When to use |
117
117
  |---------|-------------|
118
- | `/rihal:show <id>` | Print a phase or plan in full with execution status. |
119
- | `/rihal:add-phase <name>` | Append a new phase to the active milestone. |
120
- | `/rihal:insert-phase <after> <name>` | Insert urgent decimal phase (e.g. 7.1) without renumbering. |
121
- | `/rihal:remove-phase <n>` | Remove a future phase and renumber. |
122
- | `/rihal:quick [flags]` | Small ad-hoc tasks with Rihal guarantees but skip optional agents. Flags: `--discuss`, `--research`, `--full`. |
123
- | `/rihal:fast "<task>"` | Trivial inline task — typo, gitignore tweak, etc. No subagents, ≤3 file edits. |
118
+ | `/rihal-show <id>` | Print a phase or plan in full with execution status. |
119
+ | `/rihal-add-phase <name>` | Append a new phase to the active milestone. |
120
+ | `/rihal-insert-phase <after> <name>` | Insert urgent decimal phase (e.g. 7.1) without renumbering. |
121
+ | `/rihal-remove-phase <n>` | Remove a future phase and renumber. |
122
+ | `/rihal-quick [flags]` | Small ad-hoc tasks with Rihal guarantees but skip optional agents. Flags: `--discuss`, `--research`, `--full`. |
123
+ | `/rihal-fast "<task>"` | Trivial inline task — typo, gitignore tweak, etc. No subagents, ≤3 file edits. |
124
124
 
125
125
  ## Capture & session continuity
126
126
 
127
127
  | Command | When to use |
128
128
  |---------|-------------|
129
- | `/rihal:note "<text>"` | Zero-friction idea capture — appends to dated note file. |
130
- | `/rihal:add-todo [desc]` | Capture an idea or task as a todo (infers from conversation if no arg). |
131
- | `/rihal:check-todos [area]` | List pending todos and pick one to work on. |
132
- | `/rihal:plant-seed "<idea>"` | Capture a forward-looking idea with trigger conditions — surfaces at the right milestone. |
133
- | `/rihal:resume-work` | Restore project context after a break. |
134
- | `/rihal:pause-work` | Create HANDOFF.json and continue-here.md before stopping mid-phase. |
135
- | `/rihal:session-report` | Work summary, decisions, open blockers from this session. |
136
-
137
- **Done with Tier 2?** → `/rihal:help advanced` for audits, workspaces, milestone ops, and power variants.
129
+ | `/rihal-note "<text>"` | Zero-friction idea capture — appends to dated note file. |
130
+ | `/rihal-add-todo [desc]` | Capture an idea or task as a todo (infers from conversation if no arg). |
131
+ | `/rihal-check-todos [area]` | List pending todos and pick one to work on. |
132
+ | `/rihal-plant-seed "<idea>"` | Capture a forward-looking idea with trigger conditions — surfaces at the right milestone. |
133
+ | `/rihal-resume-work` | Restore project context after a break. |
134
+ | `/rihal-pause-work` | Create HANDOFF.json and continue-here.md before stopping mid-phase. |
135
+ | `/rihal-session-report` | Work summary, decisions, open blockers from this session. |
136
+
137
+ **Done with Tier 2?** → `/rihal-help advanced` for audits, workspaces, milestone ops, and power variants.
138
138
  </tier-2>
139
139
 
140
140
  ---
@@ -149,134 +149,134 @@ init → new-project → plan → execute → next → status → ship
149
149
 
150
150
  | Command | Use |
151
151
  |---------|-----|
152
- | `/rihal:new-milestone` | Start the next milestone — initializes ROADMAP, REQUIREMENTS, STATE. |
153
- | `/rihal:complete-milestone <ver>` | Archive milestone → move to `.planning/milestones/`. |
154
- | `/rihal:milestone-summary` | Human-readable summary of all phases, decisions, outcomes. |
155
- | `/rihal:audit-milestone` | Cross-phase audit — verify completion against original goals. |
156
- | `/rihal:plan-milestone-gaps` | Create phases to close gaps from the audit. |
157
- | `/rihal:cleanup` | Archive accumulated phase dirs from completed milestones. |
152
+ | `/rihal-new-milestone` | Start the next milestone — initializes ROADMAP, REQUIREMENTS, STATE. |
153
+ | `/rihal-complete-milestone <ver>` | Archive milestone → move to `.planning/milestones/`. |
154
+ | `/rihal-milestone-summary` | Human-readable summary of all phases, decisions, outcomes. |
155
+ | `/rihal-audit-milestone` | Cross-phase audit — verify completion against original goals. |
156
+ | `/rihal-plan-milestone-gaps` | Create phases to close gaps from the audit. |
157
+ | `/rihal-cleanup` | Archive accumulated phase dirs from completed milestones. |
158
158
 
159
159
  ## Workspaces & parallel work
160
160
 
161
161
  | Command | Use |
162
162
  |---------|-----|
163
- | `/rihal:new-workspace` | Isolated workspace with separate ROADMAP/STATE for parallel work. |
164
- | `/rihal:list-workspaces` | List all active workspaces. |
165
- | `/rihal:remove-workspace` | Delete a workspace and clean up artifacts. |
166
- | `/rihal:workstream` | Manage parallel workstreams (milestone tracks). |
163
+ | `/rihal-new-workspace` | Isolated workspace with separate ROADMAP/STATE for parallel work. |
164
+ | `/rihal-list-workspaces` | List all active workspaces. |
165
+ | `/rihal-remove-workspace` | Delete a workspace and clean up artifacts. |
166
+ | `/rihal-workstream` | Manage parallel workstreams (milestone tracks). |
167
167
 
168
168
  ## Audits & specialty review
169
169
 
170
170
  | Command | Use |
171
171
  |---------|-----|
172
- | `/rihal:secure-phase <n>` | Retroactively verify threat mitigations exist in code. |
173
- | `/rihal:validate-phase <n>` | Audit Nyquist validation gaps for a completed phase. |
174
- | `/rihal:add-tests <n>` | Generate unit + E2E tests based on SPRINT/SUMMARY/CONTEXT. |
175
- | `/rihal:audit-uat` | Cross-phase audit of all outstanding UAT items. |
176
- | `/rihal:audit-fix` | Autonomous audit-to-fix pipeline — find, classify, fix, test, commit. |
177
- | `/rihal:code-review --karpathy` | Audit recent code against Karpathy's 4 LLM coding principles. |
178
- | `/rihal:ui-phase <n>` | Generate UI design contract (UI-SPEC.md) for frontend phases. |
179
- | `/rihal:ui-review` | Retroactive 6-pillar visual audit of completed UI work. |
180
- | `/rihal:code-review --attack` | Hostile-perspective report — vulnerabilities, race conditions, abuse. |
181
- | `/rihal:code-review --edge-cases` | Enumerate edge cases by category and severity. |
182
- | `/rihal:review` | Cross-AI peer review — invoke external AI CLIs to review plans. |
172
+ | `/rihal-secure-phase <n>` | Retroactively verify threat mitigations exist in code. |
173
+ | `/rihal-validate-phase <n>` | Audit Nyquist validation gaps for a completed phase. |
174
+ | `/rihal-add-tests <n>` | Generate unit + E2E tests based on SPRINT/SUMMARY/CONTEXT. |
175
+ | `/rihal-audit-uat` | Cross-phase audit of all outstanding UAT items. |
176
+ | `/rihal-audit-fix` | Autonomous audit-to-fix pipeline — find, classify, fix, test, commit. |
177
+ | `/rihal-code-review --karpathy` | Audit recent code against Karpathy's 4 LLM coding principles. |
178
+ | `/rihal-ui-phase <n>` | Generate UI design contract (UI-SPEC.md) for frontend phases. |
179
+ | `/rihal-ui-review` | Retroactive 6-pillar visual audit of completed UI work. |
180
+ | `/rihal-code-review --attack` | Hostile-perspective report — vulnerabilities, race conditions, abuse. |
181
+ | `/rihal-code-review --edge-cases` | Enumerate edge cases by category and severity. |
182
+ | `/rihal-review` | Cross-AI peer review — invoke external AI CLIs to review plans. |
183
183
 
184
184
  ## Council variants & strategy power tools
185
185
 
186
186
  | Command | Use |
187
187
  |---------|-----|
188
- | `/rihal:discuss-phase --power` | Bulk question generation with async UI for context-heavy phases. |
189
- | `/rihal:chain <preset> <topic>` | Sequential agent pipeline (research → scope → build), typed artifacts. |
190
- | `/rihal:brainstorm` | Guided brainstorming — pick a method, generate ideas systematically. |
191
- | `/rihal:why <decision>` | Explain reasoning behind a decision, classification, or panel pick. |
188
+ | `/rihal-discuss-phase --power` | Bulk question generation with async UI for context-heavy phases. |
189
+ | `/rihal-chain <preset> <topic>` | Sequential agent pipeline (research → scope → build), typed artifacts. |
190
+ | `/rihal-brainstorm` | Guided brainstorming — pick a method, generate ideas systematically. |
191
+ | `/rihal-why <decision>` | Explain reasoning behind a decision, classification, or panel pick. |
192
192
 
193
193
  ## Document, scaffold, integrate
194
194
 
195
195
  | Command | Use |
196
196
  |---------|-----|
197
- | `/rihal:map-codebase` | Brownfield: parallel Explore agents → 7 codebase docs. |
198
- | `/rihal:scan` | Rapid codebase assessment — lighter than map-codebase. |
199
- | `/rihal:document-project` | Audit missing/stale docs, file SPRINT tasks for each gap. |
200
- | `/rihal:docs-update` | Generate or update docs verified against codebase. |
201
- | `/rihal:install <module>` | Install a Rihal capability bundle into the project. |
202
- | `/rihal:enable-hooks` | Install optional Rihal hooks into `.claude/settings.json`. |
203
- | `/rihal:scaffold-project` | Scaffold a new project from the official Rihal template. |
204
- | `/rihal:bootstrap` | Bootstrap repo with Vercel-linked resources and integrations. |
197
+ | `/rihal-map-codebase` | Brownfield: parallel Explore agents → 7 codebase docs. |
198
+ | `/rihal-scan` | Rapid codebase assessment — lighter than map-codebase. |
199
+ | `/rihal-document-project` | Audit missing/stale docs, file SPRINT tasks for each gap. |
200
+ | `/rihal-docs-update` | Generate or update docs verified against codebase. |
201
+ | `/rihal-install <module>` | Install a Rihal capability bundle into the project. |
202
+ | `/rihal-enable-hooks` | Install optional Rihal hooks into `.claude/settings.json`. |
203
+ | `/rihal-scaffold-project` | Scaffold a new project from the official Rihal template. |
204
+ | `/rihal-bootstrap` | Bootstrap repo with Vercel-linked resources and integrations. |
205
205
 
206
206
  ## Story-level epics workflow
207
207
 
208
208
  | Command | Use |
209
209
  |---------|-----|
210
- | `/rihal:create-prd` | Create a PRD from scratch through guided facilitation. |
211
- | `/rihal:edit-prd` | Update an existing PRD with revisions or clarifications. |
212
- | `/rihal:validate-prd` | Validate an existing PRD for completeness and consistency. |
213
- | `/rihal:create-epics-and-stories` | Parse a PRD into numbered epic + story files. |
214
- | `/rihal:create-story` | Prepare a dev-ready STORY.md with full implementation context. |
215
- | `/rihal:dev-story <file>` | Execute an approved STORY by writing tests + code per AC. |
216
- | (internal) `check-implementation-readiness` | Guard called by `/rihal:plan` and `/rihal:execute` to verify PRD + architecture aligned before build. |
217
- | `/rihal:create-architecture` | Write an Architecture Decision Record (ADR). |
218
- | `/rihal:create-ux-design` | Realize a UX design that informs architecture and implementation. |
219
- | `/rihal:correct-course` | Course-correct mid-sprint when major change is discovered. |
220
- | `/rihal:sprint-planning` | Compute capacity, prioritize stories, create SPRINT.md. |
221
- | `/rihal:sprint-status` | Sprint progress — stories, points, velocity, burndown. |
222
- | `/rihal:list-plans` | Table of every SPRINT.md across phases — goal, stories, points, state. |
223
- | `/rihal:decisions` | Browse decisions across every Rihal project (~/.rihal/decisions.jsonl). |
224
- | `/rihal:replay <slug>` | Re-run a past council session with the same question — fresh panel round. |
225
- | `/rihal:export-to-github` | Push phases/stories/decisions to GitHub issues (wraps `rihal-code github-sync`). |
226
- | `/rihal:notify-test` | Verify Slack/Discord/MS Teams webhook wiring — posts a test message. |
227
- | `/rihal:from-template <type>` | Seed .planning/ from a starter template (saas-b2b, api-backend, mobile-app). |
228
- | `/rihal:retrospective` | Run an epic retrospective and produce owned action items. |
210
+ | `/rihal-create-prd` | Create a PRD from scratch through guided facilitation. |
211
+ | `/rihal-edit-prd` | Update an existing PRD with revisions or clarifications. |
212
+ | `/rihal-validate-prd` | Validate an existing PRD for completeness and consistency. |
213
+ | `/rihal-create-epics-and-stories` | Parse a PRD into numbered epic + story files. |
214
+ | `/rihal-create-story` | Prepare a dev-ready STORY.md with full implementation context. |
215
+ | `/rihal-dev-story <file>` | Execute an approved STORY by writing tests + code per AC. |
216
+ | (internal) `check-implementation-readiness` | Guard called by `/rihal-plan` and `/rihal-execute` to verify PRD + architecture aligned before build. |
217
+ | `/rihal-create-architecture` | Write an Architecture Decision Record (ADR). |
218
+ | `/rihal-create-ux-design` | Realize a UX design that informs architecture and implementation. |
219
+ | `/rihal-correct-course` | Course-correct mid-sprint when major change is discovered. |
220
+ | `/rihal-sprint-planning` | Compute capacity, prioritize stories, create SPRINT.md. |
221
+ | `/rihal-sprint-status` | Sprint progress — stories, points, velocity, burndown. |
222
+ | `/rihal-list-plans` | Table of every SPRINT.md across phases — goal, stories, points, state. |
223
+ | `/rihal-decisions` | Browse decisions across every Rihal project (~/.rihal/decisions.jsonl). |
224
+ | `/rihal-replay <slug>` | Re-run a past council session with the same question — fresh panel round. |
225
+ | `/rihal-export-to-github` | Push phases/stories/decisions to GitHub issues (wraps `rihal-code github-sync`). |
226
+ | `/rihal-notify-test` | Verify Slack/Discord/MS Teams webhook wiring — posts a test message. |
227
+ | `/rihal-from-template <type>` | Seed .planning/ from a starter template (saas-b2b, api-backend, mobile-app). |
228
+ | `/rihal-retrospective` | Run an epic retrospective and produce owned action items. |
229
229
 
230
230
  ## Operational / rare
231
231
 
232
232
  | Command | Use |
233
233
  |---------|-----|
234
- | `/rihal:debug "<issue>"` | Systematic debugging with persistent state across `/clear`. |
235
- | `/rihal:forensics` | Diagnose incomplete executions — timeline of what broke. |
236
- | `/rihal:undo <id>` | Safe git revert for a phase or plan with dependency checks. |
237
- | `/rihal:rerun <id>` | Re-execute a phase or plan, resetting state, fresh commits. |
238
- | `/rihal:diff <a> <b>` | Show changes to plans and state between commits. |
239
- | `/rihal:import <path>` | Ingest external plans with conflict detection against decisions. |
240
- | `/rihal:inbox` | Triage incoming issues and PRs against contribution templates. |
241
- | `/rihal:pr-branch` | Create clean PR branch — filter out `.planning/` commits. |
242
- | `/rihal:autonomous` | Run remaining phases autonomously — plan → execute → verify cycles. |
243
- | `/rihal:research-phase <n>` | Standalone research (usually use `/rihal:plan` instead). |
244
- | `/rihal:analyze-dependencies` | Suggest "Depends on" entries for ROADMAP.md. |
245
- | `/rihal:list-phase-assumptions <n>` | Surface agent's intended approach before planning. |
246
- | `/rihal:profile-user` | Classify developer on 4 dimensions, produce profile artifact. |
247
- | `/rihal:dashboard` | Start the Diwan view-only dashboard (port 7717). |
248
- | `/rihal:health` | 6-point health check of the Rihal installation. |
249
- | `/rihal:stats` | Phases, plans, decisions, council sessions, timeline. |
250
- | `/rihal:settings` | Interactive config wizard — model profile, gates, branching. |
251
- | `/rihal:config` | View or edit Rihal configuration directly. |
252
- | `/rihal:update` | Update Rihal to latest version with changelog preview. |
253
- | `/rihal:note` | (also Tier 2) Inline note capture. |
234
+ | `/rihal-debug "<issue>"` | Systematic debugging with persistent state across `/clear`. |
235
+ | `/rihal-forensics` | Diagnose incomplete executions — timeline of what broke. |
236
+ | `/rihal-undo <id>` | Safe git revert for a phase or plan with dependency checks. |
237
+ | `/rihal-rerun <id>` | Re-execute a phase or plan, resetting state, fresh commits. |
238
+ | `/rihal-diff <a> <b>` | Show changes to plans and state between commits. |
239
+ | `/rihal-import <path>` | Ingest external plans with conflict detection against decisions. |
240
+ | `/rihal-inbox` | Triage incoming issues and PRs against contribution templates. |
241
+ | `/rihal-pr-branch` | Create clean PR branch — filter out `.planning/` commits. |
242
+ | `/rihal-autonomous` | Run remaining phases autonomously — plan → execute → verify cycles. |
243
+ | `/rihal-research-phase <n>` | Standalone research (usually use `/rihal-plan` instead). |
244
+ | `/rihal-analyze-dependencies` | Suggest "Depends on" entries for ROADMAP.md. |
245
+ | `/rihal-list-phase-assumptions <n>` | Surface agent's intended approach before planning. |
246
+ | `/rihal-profile-user` | Classify developer on 4 dimensions, produce profile artifact. |
247
+ | `/rihal-dashboard` | Start the Diwan view-only dashboard (port 7717). |
248
+ | `/rihal-health` | 6-point health check of the Rihal installation. |
249
+ | `/rihal-stats` | Phases, plans, decisions, council sessions, timeline. |
250
+ | `/rihal-settings` | Interactive config wizard — model profile, gates, branching. |
251
+ | `/rihal-config` | View or edit Rihal configuration directly. |
252
+ | `/rihal-update` | Update Rihal to latest version with changelog preview. |
253
+ | `/rihal-note` | (also Tier 2) Inline note capture. |
254
254
 
255
255
  ## Common compound flows
256
256
 
257
257
  **New project (full quality):**
258
258
  ```
259
- /rihal:new-project → /clear → /rihal:plan 1 → /clear → /rihal:execute 1 → /rihal:verify-phase 1 → /rihal:ship
259
+ /rihal-new-project → /clear → /rihal-plan 1 → /clear → /rihal-execute 1 → /rihal-verify-phase 1 → /rihal-ship
260
260
  ```
261
261
 
262
262
  **Mid-milestone urgent work:**
263
263
  ```
264
- /rihal:insert-phase 5 "Critical security fix" → /rihal:plan 5.1 → /rihal:execute 5.1
264
+ /rihal-insert-phase 5 "Critical security fix" → /rihal-plan 5.1 → /rihal-execute 5.1
265
265
  ```
266
266
 
267
267
  **Resume after break:**
268
268
  ```
269
- /rihal:resume-work # or just /rihal:next
269
+ /rihal-resume-work # or just /rihal-next
270
270
  ```
271
271
 
272
272
  **Debug across context resets:**
273
273
  ```
274
- /rihal:debug "form submission fails" → ...investigation... → /clear → /rihal:debug # resumes
274
+ /rihal-debug "form submission fails" → ...investigation... → /clear → /rihal-debug # resumes
275
275
  ```
276
276
 
277
277
  **Complete + start next milestone:**
278
278
  ```
279
- /rihal:audit-milestone → /rihal:plan-milestone-gaps → /rihal:complete-milestone 1.0.0 → /rihal:new-milestone
279
+ /rihal-audit-milestone → /rihal-plan-milestone-gaps → /rihal-complete-milestone 1.0.0 → /rihal-new-milestone
280
280
  ```
281
281
 
282
282
  ## Configuration reference
@@ -14,13 +14,13 @@ If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
14
14
 
15
15
  **Usage:**
16
16
  ```
17
- /rihal:import --from <path>
17
+ /rihal-import --from <path>
18
18
  ```
19
19
 
20
20
  **Examples:**
21
21
  ```
22
- /rihal:import --from ./external-plan.md
23
- /rihal:import --from ../other-project/SPRINT.md
22
+ /rihal-import --from ./external-plan.md
23
+ /rihal-import --from ../other-project/SPRINT.md
24
24
  ```
25
25
 
26
26
  ---
@@ -49,7 +49,7 @@ Parse `$ARGUMENTS` to determine the execution mode:
49
49
  - If neither flag is found: display usage and exit:
50
50
 
51
51
  ```
52
- Usage: /rihal:import --from <path>
52
+ Usage: /rihal-import --from <path>
53
53
 
54
54
  --from <path> Import an external plan file into Rihal format
55
55
  ```
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:inbox
1
+ # Workflow: rihal-inbox
2
2
 
3
3
  <purpose>
4
4
  Triage and review all open GitHub issues and PRs against project contribution templates.
@@ -12,13 +12,13 @@ required fields, identifies label gaps, and optionally takes action (label, comm
12
12
  If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
13
13
 
14
14
  ```
15
- /rihal:inbox <argument-here>
15
+ /rihal-inbox <argument-here>
16
16
  ```
17
17
 
18
18
  **Examples:**
19
19
  ```
20
- /rihal:inbox example 1
21
- /rihal:inbox example 2
20
+ /rihal-inbox example 1
21
+ /rihal-inbox example 2
22
22
  ```
23
23
 
24
24
  STOP — do not proceed.
@@ -386,10 +386,10 @@ Next steps:
386
386
  <offer_next>
387
387
  After triage:
388
388
 
389
- - /rihal:review — Run cross-AI peer review on a specific phase plan
390
- - /rihal:ship — Create a PR from completed work
391
- - /rihal:progress — See overall project state
392
- - /rihal:inbox --label — Re-run with auto-labeling enabled
389
+ - /rihal-review — Run cross-AI peer review on a specific phase plan
390
+ - /rihal-ship — Create a PR from completed work
391
+ - /rihal-progress — See overall project state
392
+ - /rihal-inbox --label — Re-run with auto-labeling enabled
393
393
  </offer_next>
394
394
 
395
395
  <success_criteria>
@@ -1,9 +1,9 @@
1
- # Workflow: rihal:init
1
+ # Workflow: rihal-init
2
2
 
3
3
  <purpose>
4
4
  Begin the rihla. This is the first command a user runs after dropping Rihal files into a project. It detects project state, asks a handful of configuration questions, scans existing context (if any), writes `.rihal/RIHLA.md` as the journey baseline, and routes to the right next command.
5
5
 
6
- This replaces the older `/rihal:generate-project-context` workflow — init is the single entry point for configuring Rihal in a project.
6
+ This replaces the older `/rihal-generate-project-context` workflow — init is the single entry point for configuring Rihal in a project.
7
7
  </purpose>
8
8
 
9
9
  ## Step 0 — Usage check
@@ -11,15 +11,15 @@ This replaces the older `/rihal:generate-project-context` workflow — init is t
11
11
  If `$ARGUMENTS` contains only `--help` or `-h`:
12
12
 
13
13
  ```
14
- Usage: /rihal:init [--reset] [--skip-scan]
14
+ Usage: /rihal-init [--reset] [--skip-scan]
15
15
 
16
16
  --reset overwrite existing .rihal/config.yaml and RIHLA.md
17
17
  --skip-scan skip the codebase scan step
18
18
 
19
19
  Examples:
20
- /rihal:init # first-time setup for this project
21
- /rihal:init --reset # reconfigure from scratch
22
- /rihal:init --skip-scan # config only, no codebase read
20
+ /rihal-init # first-time setup for this project
21
+ /rihal-init --reset # reconfigure from scratch
22
+ /rihal-init --skip-scan # config only, no codebase read
23
23
  ```
24
24
 
25
25
  STOP here if just help was requested.
@@ -56,9 +56,9 @@ Classify project into one of four states:
56
56
 
57
57
  | State | Signal | Suggested next step |
58
58
  |-------|--------|---------------------|
59
- | `fresh` | No code, no git, no rihal | `/rihal:new-project` — let's design it |
60
- | `existing-new-rihal` | Has code + git, no rihal | `/rihal:scan` or `/rihal:council` — understand before changing |
61
- | `returning` | Rihal already configured | `/rihal:resume-work` or `/rihal:next` |
59
+ | `fresh` | No code, no git, no rihal | `/rihal-new-project` — let's design it |
60
+ | `existing-new-rihal` | Has code + git, no rihal | `/rihal-scan` or `/rihal-council` — understand before changing |
61
+ | `returning` | Rihal already configured | `/rihal-resume-work` or `/rihal-next` |
62
62
  | `reset` | User passed `--reset` flag | Proceed with full reconfigure |
63
63
 
64
64
  Print one-line state summary:
@@ -73,9 +73,9 @@ If `state === "returning"` and `--reset` not passed:
73
73
  ✓ Rihal is already configured here.
74
74
 
75
75
  What next?
76
- /rihal:resume-work — pick up where you left off
77
- /rihal:status — see the dashboard
78
- /rihal:next — suggested next action
76
+ /rihal-resume-work — pick up where you left off
77
+ /rihal-status — see the dashboard
78
+ /rihal-next — suggested next action
79
79
 
80
80
  Or run with --reset to reconfigure.
81
81
  ```
@@ -126,9 +126,9 @@ test -f .rihal/state.json || node .rihal/bin/rihal-tools.cjs state init --projec
126
126
 
127
127
  ## Step 4 — Scan existing context (skip if `--skip-scan`)
128
128
 
129
- If the project has code (from Step 1 detection), produce `.rihal/RIHLA.md`. This is the journey baseline — a lightweight snapshot, not a full audit. Use `/rihal:map-codebase` or `/rihal:scan` later for deep analysis.
129
+ If the project has code (from Step 1 detection), produce `.rihal/RIHLA.md`. This is the journey baseline — a lightweight snapshot, not a full audit. Use `/rihal-map-codebase` or `/rihal-scan` later for deep analysis.
130
130
 
131
- **Memory-bank refresh on `--reset`.** When `--reset` is passed AND `.planning/codebase/` already contains docs from a previous scan, also chain to `/rihal:scan --refresh --focus tech+arch` immediately after writing RIHLA.md. The refresh path:
131
+ **Memory-bank refresh on `--reset`.** When `--reset` is passed AND `.planning/codebase/` already contains docs from a previous scan, also chain to `/rihal-scan --refresh --focus tech+arch` immediately after writing RIHLA.md. The refresh path:
132
132
 
133
133
  - Captures pre-state (commits since last doc mtime, manifest hashes, top-level dirs).
134
134
  - Briefs the user on what changed since the last scan.
@@ -160,7 +160,7 @@ Write `.rihal/RIHLA.md` following this template (don't over-interpret — just r
160
160
  <!-- RIHLA (رحلة) = "the journey". Not a typo of RIHAL (رحّال) = "the traveler" / the tool itself. Same root, different word. This file documents your project's journey; Rihal is the tool that walks it with you. -->
161
161
  # RIHLA — Project journey baseline
162
162
 
163
- **Written by:** /rihal:init
163
+ **Written by:** /rihal-init
164
164
  **Date:** {ISO date}
165
165
  **Project:** {project_name}
166
166
  **Detected state:** {fresh | existing-new-rihal | returning}
@@ -187,9 +187,9 @@ Write `.rihal/RIHLA.md` following this template (don't over-interpret — just r
187
187
  ## Not scanned
188
188
 
189
189
  This file is a journey baseline — intentionally shallow. For deep analysis run:
190
- - `/rihal:map-codebase` — structured codebase documents per focus area
191
- - `/rihal:scan` — rapid codebase assessment
192
- - `/rihal:explore` — socratic ideation against the codebase
190
+ - `/rihal-map-codebase` — structured codebase documents per focus area
191
+ - `/rihal-scan` — rapid codebase assessment
192
+ - `/rihal-explore` — socratic ideation against the codebase
193
193
  ```
194
194
 
195
195
  If no code detected, write a minimal RIHLA.md with just the header and a "fresh project — no code yet" note.
@@ -204,11 +204,11 @@ Print a contextual recommendation, **one line of copy-paste per suggestion** (pe
204
204
 
205
205
  Ready to design a new project? Try:
206
206
 
207
- /rihal:new-project {your-project-name}
207
+ /rihal-new-project {your-project-name}
208
208
 
209
209
  Or think through an idea first:
210
210
 
211
- /rihal:explore what should I build?
211
+ /rihal-explore what should I build?
212
212
  ```
213
213
 
214
214
  **If `existing-new-rihal`:**
@@ -217,11 +217,11 @@ Or think through an idea first:
217
217
 
218
218
  Recommended first move — understand before changing:
219
219
 
220
- /rihal:scan
220
+ /rihal-scan
221
221
 
222
222
  Or strategic question about the codebase:
223
223
 
224
- /rihal:council {your question}
224
+ /rihal-council {your question}
225
225
  ```
226
226
 
227
227
  **If `returning` with `--reset`:**
@@ -230,7 +230,7 @@ Or strategic question about the codebase:
230
230
 
231
231
  Pick up where you left off:
232
232
 
233
- /rihal:resume-work
233
+ /rihal-resume-work
234
234
  ```
235
235
 
236
236
  ## Step 6 — Update state
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:insert-phase
1
+ # Workflow: rihal-insert-phase
2
2
 
3
3
  <purpose>
4
4
  Insert a decimal phase for urgent work discovered mid-milestone between existing integer phases. Uses decimal numbering (2.1, 2.2, etc.) to preserve the logical sequence of planned phases while accommodating urgent insertions without renumbering subsequent phases. Maintains phase array in `.rihal/state.json` in sort order.
@@ -12,14 +12,14 @@ If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
12
12
 
13
13
  **Usage:**
14
14
  ```
15
- /rihal:insert-phase <N.M> <name>
15
+ /rihal-insert-phase <N.M> <name>
16
16
  ```
17
17
 
18
18
  **Examples:**
19
19
  ```
20
- /rihal:insert-phase 2.1 urgent-fix
21
- /rihal:insert-phase 3.2 critical-security-patch
22
- /rihal:insert-phase 1.1 blocking-issue
20
+ /rihal-insert-phase 2.1 urgent-fix
21
+ /rihal-insert-phase 3.2 critical-security-patch
22
+ /rihal-insert-phase 1.1 blocking-issue
23
23
  ```
24
24
 
25
25
  Only after the user provides arguments, proceed to Step 0.5.
@@ -33,7 +33,7 @@ Validate using regex: `^\d+\.\d+$`
33
33
  If validation fails:
34
34
  ```
35
35
  ERROR: Phase number must be in N.M format (e.g., 2.1, 3.2)
36
- Usage: /rihal:insert-phase <N.M> <name>
36
+ Usage: /rihal-insert-phase <N.M> <name>
37
37
  ```
38
38
 
39
39
  Exit.
@@ -77,8 +77,8 @@ Present completion summary:
77
77
  Status: Ready for planning
78
78
 
79
79
  Next steps:
80
- /rihal:discuss-phase {phase_number} — gather context
81
- /rihal:plan {phase_number} — create detailed plan
80
+ /rihal-discuss-phase {phase_number} — gather context
81
+ /rihal-plan {phase_number} — create detailed plan
82
82
 
83
83
  Or continue with current work and return to this phase later.
84
84
  ```
@@ -87,7 +87,7 @@ Or continue with current work and return to this phase later.
87
87
 
88
88
  - Don't insert before Phase 1 (decimal 0.1 makes no sense)
89
89
  - Don't renumber existing phases
90
- - Don't create plans yet (that's `/rihal:plan`)
90
+ - Don't create plans yet (that's `/rihal-plan`)
91
91
  - Don't commit changes (user decides when to commit)
92
92
  - Don't duplicate phase numbers (state insert-phase prevents this)
93
93
 
@@ -1,4 +1,4 @@
1
- # Workflow: rihal:install
1
+ # Workflow: rihal-install
2
2
 
3
3
  <purpose>
4
4
  Install a Rihal module into the current project. Modules are capability bundles (agents + workflows + commands + references). This workflow validates the module exists, checks dependencies, runs the installer, and updates the manifest.
@@ -38,7 +38,7 @@ CHECK=$(node .rihal/bin/rihal-tools.cjs module check-requires {name})
38
38
  If `ok` is false:
39
39
  ```
40
40
  Module '{name}' requires '{missing_module}' to be installed first.
41
- Run: /rihal:install {missing_module}
41
+ Run: /rihal-install {missing_module}
42
42
  ```
43
43
  And stop.
44
44
 
@@ -65,7 +65,7 @@ fi
65
65
  {description from module manifest}
66
66
 
67
67
  New commands available:
68
- /rihal:{command} — {description}
68
+ /rihal-{command} — {description}
69
69
  ```
70
70
 
71
71
  ## Success Criteria