@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
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: rihal:config
3
- description: Alias for /rihal:settings — view or edit Rihal config (language, mode, model profile, workflow gates, git strategy)
2
+ name: rihal-config
3
+ description: Alias for /rihal-settings — view or edit Rihal config (language, mode, model profile, workflow gates, git strategy)
4
4
  argument-hint: "[show | get <key> | set <key> <value>]"
5
5
  allowed-tools: Read, Write, Bash, AskUserQuestion
6
6
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:correct-course
2
+ name: rihal-correct-course
3
3
  description: Load original PRD/architecture, compare to current codebase. Classify deviation (scope drift / wrong architecture / missing AC / tech debt). Produce ordered remediation plan + updated story file.
4
4
  argument-hint: "[--prd <path>] [--architecture <path>]"
5
5
  allowed-tools: Read, Glob, Grep, Bash, Agent
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:council
2
+ name: rihal-council
3
3
  description: Convene the Rihal majlis — spawns 3-5 specialist subagents in parallel to answer a strategic question. Agents are picked by keyword scoring.
4
4
  argument-hint: "<question> [--full] [--agents=a,b,c] [--explain]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:create-epics-and-stories
2
+ name: rihal-create-epics-and-stories
3
3
  description: Parse a PRD or project document to generate numbered epic files in .planning/epics/. Each epic contains user stories with acceptance criteria and development notes.
4
4
  argument-hint: "<prd-path|project-path> [--prefix <name>]"
5
5
  allowed-tools: Read, Write, Glob, Grep, Bash, Agent
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: rihal:create-story
3
- description: Transform a story from an epic file into a self-contained STORY.md with full AC, dev notes, and implementation guidance. Ready for /rihal:dev-story.
2
+ name: rihal-create-story
3
+ description: Transform a story from an epic file into a self-contained STORY.md with full AC, dev notes, and implementation guidance. Ready for /rihal-dev-story.
4
4
  argument-hint: "<EPIC-file.md> [--story <id>]"
5
5
  allowed-tools: Read, Write, Glob, Bash
6
6
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:dashboard
2
+ name: rihal-dashboard
3
3
  description: Start the Diwan view-only dashboard (port 7717) to browse project state, phases, decisions, and council sessions in the browser
4
4
  argument-hint: "[--port 7717] [--no-open]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:debug
2
+ name: rihal-debug
3
3
  description: Systematically investigate and diagnose issues
4
4
  argument-hint: "<issue-description>"
5
5
  allowed-tools: task, bash, read, grep, glob
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:decisions
2
+ name: rihal-decisions
3
3
  description: Browse decisions across every Rihal project on this machine — sourced from .rihal/decisions.jsonl
4
4
  argument-hint: "[--limit N] [--project <name>] [--since <ISO>] [--this-project]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:dev-story
2
+ name: rihal-dev-story
3
3
  description: Wrap a STORY.md file for AI-coder execution. Produces explicit file paths, context, and checklist. Gated by checklist-story-draft.md entry.
4
4
  argument-hint: "<STORY.md>"
5
5
  allowed-tools: Read, Write, Bash, Glob
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:diff
2
+ name: rihal-diff
3
3
  description: Show changes to plans and state between commits
4
4
  argument-hint: "[--last] [<sha1> <sha2>]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:discuss-phase
2
+ name: rihal-discuss-phase
3
3
  description: Gather context through adaptive questioning before sprint planning. Creates CONTEXT.md with decisions, discretion areas, deferred ideas.
4
4
  argument-hint: "<phase-number> [--auto] [--chain]"
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: rihal:discuss
3
- description: Quick sync with one Rihal agent. Lighter than /rihal:council — one agent, no cross-talk, optional save.
2
+ name: rihal-discuss
3
+ description: Quick sync with one Rihal agent. Lighter than /rihal-council — one agent, no cross-talk, optional save.
4
4
  argument-hint: "[agent-name] <question>"
5
5
  allowed-tools:
6
6
  - Read
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:do
2
+ name: rihal-do
3
3
  description: "[ROUTER] Interactive picker — describe what you want and rihal picks the command"
4
4
  argument-hint: "[optional question or task description]"
5
5
  allowed-tools:
@@ -9,7 +9,7 @@ allowed-tools:
9
9
  ---
10
10
 
11
11
  <objective>
12
- Analyze freeform natural language input and dispatch to the most appropriate rihal command. Acts as a smart dispatcher — never does the work itself. Matches intent to the best /rihal:* command, confirms the match, then hands off.
12
+ Analyze freeform natural language input and dispatch to the most appropriate rihal command. Acts as a smart dispatcher — never does the work itself. Matches intent to the best /rihal-* command, confirms the match, then hands off.
13
13
  </objective>
14
14
 
15
15
  <execution_context>
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:docs-update
2
+ name: rihal-docs-update
3
3
  description: Generate and update project documentation verified against codebase.
4
4
  argument-hint: "[--force] [--fix]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:document-project
2
+ name: rihal-document-project
3
3
  description: Load documentation-requirements.csv, audit missing/stale docs, file missing docs as SPRINT.md tasks. Auto-injected by resume-work.md if present.
4
4
  argument-hint: "[--csv <path>] [--auto-file-tasks]"
5
5
  allowed-tools: Read, Write, Glob, Bash, Agent
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:enable-hooks
2
+ name: rihal-enable-hooks
3
3
  description: Install optional Rihal hooks into .claude/settings.json for edit, workflow, and commit guardrails
4
4
  argument-hint: ""
5
5
  allowed-tools:
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: rihal:execute-sprint
3
- description: "Internal — Execute a sprint's SPRINT.md. Wrapper over rihal:execute for sprint-specific dispatch."
2
+ name: rihal-execute-sprint
3
+ description: "Internal — Execute a sprint's SPRINT.md. Wrapper over rihal-execute for sprint-specific dispatch."
4
4
  argument-hint: "<sprint-file.md | phase-dir>"
5
5
  allowed-tools:
6
6
  - Read
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:execute
2
+ name: rihal-execute
3
3
  description: Execute one or more SPRINT.md files. Spawns rihal-executor subagents in parallel per dependency wave. Pauses at checkpoints and waits for human verification or decisions.
4
4
  argument-hint: "<plan-file.md | phase-dir> [--wave N] [--interactive] [--continue] [--option=A]"
5
5
  allowed-tools: Read, Write, Edit, Bash, Grep, Glob, Agent
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:explore
2
+ name: rihal-explore
3
3
  description: Socratic ideation workflow — think through ideas before committing.
4
4
  argument-hint: "[topic]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:export-to-github
2
+ name: rihal-export-to-github
3
3
  description: Push phases/stories/decisions to GitHub — thin wrapper over rihal-code github-sync, plus a decisions export mode
4
4
  argument-hint: "[target] [--execute] [--repo owner/name] [--with-labels] [--decisions [--since ISO]]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:forensics
2
+ name: rihal-forensics
3
3
  description: Diagnose incomplete executions and stuck states — show timeline of what broke and how to resume
4
4
  argument-hint: ""
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:from-template
2
+ name: rihal-from-template
3
3
  description: Seed .planning/ from a starter template (saas-b2b / api-backend / mobile-app) — skeleton PROJECT.md, ROADMAP.md, REQUIREMENTS.md
4
4
  argument-hint: "<template-name> [--project-name \"<name>\"] [--force]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:health
2
+ name: rihal-health
3
3
  description: Run 6-point health check on rihal installation — manifest hashes, directories, config, and executable
4
4
  argument-hint: ""
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:help
2
+ name: rihal-help
3
3
  description: "[REFERENCE] Show all commands organized by purpose"
4
4
  argument-hint: ""
5
5
  allowed-tools: []
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:import
2
+ name: rihal-import
3
3
  description: Ingest external plans with conflict detection against project decisions
4
4
  argument-hint: "--from <path>"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:inbox
2
+ name: rihal-inbox
3
3
  description: Triage incoming issues and PRs against contribution templates
4
4
  argument-hint: "[--issues] [--prs] [--label] [--close-incomplete]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:init
2
+ name: rihal-init
3
3
  description: "[START HERE] Configure Rihal for this project — first command after install"
4
4
  argument-hint: "[--reset] [--skip-scan]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:insert-phase
2
+ name: rihal-insert-phase
3
3
  description: Insert a decimal phase between integer phases without renumbering subsequent phases. Useful for urgent work discovered mid-milestone.
4
4
  argument-hint: "<N.M> <name>"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:install
2
+ name: rihal-install
3
3
  description: Install a Rihal module into the current project. Adds agents, workflows, commands, and references for the specified capability bundle.
4
4
  argument-hint: "<module-name> [--force]"
5
5
  allowed-tools: Read, Bash
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:list-plans
2
+ name: rihal-list-plans
3
3
  description: Table of all SPRINT.md plans across phases — goal, story counts, points, and state in one view
4
4
  argument-hint: "[--phase <id>] [--status <state>] [--detail]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:list-workspaces
2
+ name: rihal-list-workspaces
3
3
  description: List all active workspaces with status, start date, and current phase
4
4
  argument-hint: "[--detail]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:map-codebase
2
+ name: rihal-map-codebase
3
3
  description: Analyze an existing codebase and produce structured documents in .planning/codebase/
4
4
  argument-hint: ""
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:milestone-summary
2
+ name: rihal-milestone-summary
3
3
  description: Generate human-readable summary of all milestone phases, decisions, and outcomes
4
4
  argument-hint: "[--format=markdown|pdf] [--include-decisions]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:new-milestone
2
+ name: rihal-new-milestone
3
3
  description: Start a fresh milestone cycle — initializes ROADMAP, STATE, REQUIREMENTS for the next planning phase
4
4
  argument-hint: "[milestone-name] [--dry-run]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:new-project
2
+ name: rihal-new-project
3
3
  description: Initialize a new project through unified flow — questioning, research, requirements, roadmap
4
4
  argument-hint: "[--auto @document.md]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:new-workspace
2
+ name: rihal-new-workspace
3
3
  description: Create an isolated workspace for parallel work — separate ROADMAP/STATE with independent tracking
4
4
  argument-hint: "<workspace-name> [--from-current]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:next
2
+ name: rihal-next
3
3
  description: Automatically advance to the next logical step — zero friction, auto-invoke
4
4
  argument-hint: "[--force]"
5
5
  allowed-tools: Bash, Read, Grep, Glob
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:note
2
+ name: rihal-note
3
3
  description: Capture inline notes instantly. Append to a dated note file with YAML frontmatter. No friction, single Write operation.
4
4
  argument-hint: "<text> [--global] | list | count"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:notify-test
2
+ name: rihal-notify-test
3
3
  description: Verify configured webhooks (Slack / Discord / MS Teams) by posting a test message
4
4
  argument-hint: "[--only slack|discord|teams] [--title \"<t>\"] [--body \"<b>\"]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:pause-work
2
+ name: rihal-pause-work
3
3
  description: Capture project state and blocking constraints before pausing work. Creates HANDOFF.json and .continue-here.md for context restoration.
4
4
  argument-hint: ""
5
5
  allowed-tools: Read, Write, Bash, AskUserQuestion
@@ -1,12 +1,12 @@
1
1
  ---
2
- name: rihal:plan-milestone-gaps
3
- description: Create all phases necessary to close gaps identified by `/rihal:audit-milestone`. Reads MILESTONE-AUDIT.md, groups gaps
2
+ name: rihal-plan-milestone-gaps
3
+ description: Create all phases necessary to close gaps identified by `/rihal-audit-milestone`. Reads MILESTONE-AUDIT.md, groups gaps
4
4
  argument-hint: ""
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion, Agent
6
6
  ---
7
7
 
8
8
  <objective>
9
- Create all phases necessary to close gaps identified by `/rihal:audit-milestone`. Reads MILESTONE-AUDIT.md, groups gaps
9
+ Create all phases necessary to close gaps identified by `/rihal-audit-milestone`. Reads MILESTONE-AUDIT.md, groups gaps
10
10
  </objective>
11
11
 
12
12
  <execution_context>
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: rihal:plan
3
- description: Convert council follow-ups or task descriptions into executable SPRINT.md files. Spawns rihal-planner to produce structured plans that /rihal:execute can run.
2
+ name: rihal-plan
3
+ description: Convert council follow-ups or task descriptions into executable SPRINT.md files. Spawns rihal-planner to produce structured plans that /rihal-execute can run.
4
4
  argument-hint: "<list | show <id> | <description>> [--phase <name>] [--output <dir>]"
5
5
  allowed-tools: Read, Write, Glob, Grep, Bash, Agent
6
6
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:plant-seed
2
+ name: rihal-plant-seed
3
3
  description: Capture a forward-looking idea with trigger conditions — surfaces automatically at the right milestone
4
4
  argument-hint: "<idea>"
5
5
  allowed-tools: Read, Write, Bash
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: rihal:pr-branch
3
- description: "Create a clean PR branch that strips all Rihal planning artifacts (.planning/, SPRINT.md, SUMMARY.md, STATE.md). Reviewers see only code changes. Use before /rihal:ship when you want a clean git history in the PR."
2
+ name: rihal-pr-branch
3
+ description: "Create a clean PR branch that strips all Rihal planning artifacts (.planning/, SPRINT.md, SUMMARY.md, STATE.md). Reviewers see only code changes. Use before /rihal-ship when you want a clean git history in the PR."
4
4
  argument-hint: "[<base-branch>]"
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
6
6
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:prfaq
2
+ name: rihal-prfaq
3
3
  description: Working Backwards PRFAQ challenge — stress-test a product concept by writing the press release before building it. Produces a battle-hardened PRFAQ document + PRD distillate.
4
4
  argument-hint: "[<idea>] [--headless] [--customer=<persona>] [--problem=<problem>] [--stakes=<why>] [--solution=<concept>]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:profile-user
2
+ name: rihal-profile-user
3
3
  description: Classify developer on 4 dimensions — communication style, autonomy preference, domain depth, and iteration speed. Produces .rihal/USER-PROFILE.md with YAML frontmatter.
4
4
  argument-hint: "[--json <json-blob>]"
5
5
  allowed-tools: Agent, Read, Write
@@ -1,12 +1,12 @@
1
1
  ---
2
- name: rihal:progress
3
- description: Alias of /rihal:status --verbose — full project state dashboard with decisions, blockers, and next-step routes
2
+ name: rihal-progress
3
+ description: Alias of /rihal-status --verbose — full project state dashboard with decisions, blockers, and next-step routes
4
4
  argument-hint: ""
5
5
  allowed-tools: bash, read, grep
6
6
  ---
7
7
 
8
8
  <objective>
9
- Alias of `/rihal:status --verbose`. Produces the verbose project state dashboard — phase, sprint progress, recent decisions, blockers, last council session, and a Next Up route tree.
9
+ Alias of `/rihal-status --verbose`. Produces the verbose project state dashboard — phase, sprint progress, recent decisions, blockers, last council session, and a Next Up route tree.
10
10
  </objective>
11
11
 
12
12
  <execution_context>
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:quick
2
+ name: rihal-quick
3
3
  description: Execute small ad-hoc tasks with guarantees — planning, execution, optional verification
4
4
  argument-hint: "[description] [--full] [--discuss] [--research]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:remove-phase
2
+ name: rihal-remove-phase
3
3
  description: "Remove an unstarted future phase from ROADMAP.md, delete its directory, and renumber all subsequent phases to maintain a clean sequence. Cannot remove a phase already in progress or completed."
4
4
  argument-hint: "<phase-number>"
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:remove-workspace
2
+ name: rihal-remove-workspace
3
3
  description: Remove a workspace and clean up its artifacts — no recovery
4
4
  argument-hint: "<workspace-name> [--archive] [--force]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:replay
2
+ name: rihal-replay
3
3
  description: Re-run a past council session with the same question — fresh panel round, linked to the original
4
4
  argument-hint: "<session-path-or-slug> [--agents a,b,c]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:rerun
2
+ name: rihal-rerun
3
3
  description: Re-execute a phase or plan, resetting its state and creating fresh commits
4
4
  argument-hint: <phase-id|plan-id>
5
5
  allowed-tools:
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: rihal:research-phase
3
- description: "Research how to implement a phase before planning. Spawns rihal-phase-researcher with phase context. Standalone tool — /rihal:plan already runs this automatically. Use only when you want research without immediately creating a plan."
2
+ name: rihal-research-phase
3
+ description: "Research how to implement a phase before planning. Spawns rihal-phase-researcher with phase context. Standalone tool — /rihal-plan already runs this automatically. Use only when you want research without immediately creating a plan."
4
4
  argument-hint: "<phase-number>"
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
6
6
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:resume-work
2
+ name: rihal-resume-work
3
3
  description: Restore project context and resume work
4
4
  argument-hint: ""
5
5
  allowed-tools: bash, read
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:review
2
+ name: rihal-review
3
3
  description: Cross-AI peer review — invoke external AI CLIs to independently review phase plans.
4
4
  argument-hint: ""
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion, Agent
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:scan
2
+ name: rihal-scan
3
3
  description: Rapid codebase assessment — lightweight alternative to map-codebase.
4
4
  argument-hint: "[--focus <area>]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:secure-phase
2
+ name: rihal-secure-phase
3
3
  description: Retroactively verify threat mitigations for a completed phase.
4
4
  argument-hint: "<phase>"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:session-report
2
+ name: rihal-session-report
3
3
  description: Generate a session report with work summary, token usage estimation, commits, decisions, and open blockers
4
4
  argument-hint: ""
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:settings
2
+ name: rihal-settings
3
3
  description: View or edit Rihal project settings (mode, model_profile, workflow gates, git strategy). Supports show / get / set / interactive modes.
4
4
  argument-hint: "[show | get <key> | set <key> <value>]"
5
5
  allowed-tools: Read, Write, Bash, AskUserQuestion
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:ship
2
+ name: rihal-ship
3
3
  description: "After a phase is verified, create a PR: push branch, auto-generate PR body from planning artifacts (ROADMAP, VERIFICATION, SUMMARY), and optionally request review. Closes the plan→execute→verify→ship loop."
4
4
  argument-hint: "[<phase>] [--draft]"
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
@@ -10,7 +10,7 @@ Ship a completed, verified phase by pushing its feature branch and opening a
10
10
  pull request with an auto-generated body drawn from planning artifacts.
11
11
 
12
12
  **When to use:**
13
- - You have finished `/rihal:execute <phase>` and `/rihal:verify-phase <phase>` passed
13
+ - You have finished `/rihal-execute <phase>` and `/rihal-verify-phase <phase>` passed
14
14
  - You want to open a PR from your feature branch into main/develop
15
15
  - You want the PR body auto-filled with phase goal, changes, requirements addressed, and verification status
16
16
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:show
2
+ name: rihal-show
3
3
  description: Print a plan or phase in full with execution status
4
4
  argument-hint: <id>
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:sprint-planning
2
+ name: rihal-sprint-planning
3
3
  description: Plan the next sprint — compute capacity, prioritize stories, create SPRINT.md, register in state.
4
4
  argument-hint: "[--phase <NN>] [--velocity <points>] [--goal 'Sprint goal']"
5
5
  allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:sprint-status
2
+ name: rihal-sprint-status
3
3
  description: Show current sprint progress — stories, points, velocity, burndown. Quick view of where the sprint stands.
4
4
  argument-hint: "[--sprint <NN.S>]"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:stats
2
+ name: rihal-stats
3
3
  description: Show project statistics from state.json — phases, plans, decisions, council sessions, timeline
4
4
  argument-hint: ""
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:status
2
+ name: rihal-status
3
3
  description: Print current project state — phase, plan progress, recent decisions, blockers, last council session
4
4
  argument-hint: ""
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:ui-phase
2
+ name: rihal-ui-phase
3
3
  description: Produce UI-SPEC.md with color tokens, typography, component inventory, interaction states, and accessibility guidelines. Detects frontend keywords and suggests this command early in plan.md if UI-SPEC.md is absent.
4
4
  argument-hint: "[--existing-ui <path>] [--design-system <path>]"
5
5
  allowed-tools: Agent, Read, Glob, Grep, Write
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:ui-review
2
+ name: rihal-ui-review
3
3
  description: Retroactive 6-pillar visual audit of completed UI work. Validates color consistency, typography, component completeness, accessibility, responsive behavior, and design coherence.
4
4
  argument-hint: "[--phase <name>] [--detailed]"
5
5
  allowed-tools: Agent, Read, Glob, Grep, Bash
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:undo
2
+ name: rihal-undo
3
3
  description: Safe git revert — roll back phase or plan commits with dependency checks.
4
4
  argument-hint: "--last N | --phase NN [--to-snapshot] | --plan NN-MM"
5
5
  allowed-tools:
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal:update
2
+ name: rihal-update
3
3
  description: Check for rihal-code package updates and apply them with changelog preview
4
4
  argument-hint: "[--no-confirm]"
5
5
  allowed-tools: