@hanzlaa/rcode 3.3.0 → 3.3.2
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.
- package/CONTRIBUTING.md +9 -9
- package/README.md +50 -50
- package/cli/context.js +4 -4
- package/cli/doctor.js +1 -1
- package/cli/generate-command-skills.cjs +10 -10
- package/cli/install.js +11 -11
- package/cli/lib/memory-bank.cjs +5 -5
- package/cli/set-mode.js +2 -2
- package/cli/uninstall.js +5 -5
- package/dist/rcode.js +15 -15
- package/package.json +1 -1
- package/rihal/DOCS-AUDIT.md +1 -1
- package/rihal/agents/rihal-ahmed.md +1 -1
- package/rihal/agents/rihal-codebase-mapper.md +3 -3
- package/rihal/agents/rihal-debugger.md +2 -2
- package/rihal/agents/rihal-fatima.md +2 -2
- package/rihal/agents/rihal-haitham.md +2 -2
- package/rihal/agents/rihal-khalid.md +1 -1
- package/rihal/agents/rihal-layla.md +1 -1
- package/rihal/agents/rihal-nasser.md +1 -1
- package/rihal/agents/rihal-noor.md +1 -1
- package/rihal/agents/rihal-nyquist-auditor.md +1 -1
- package/rihal/agents/rihal-omar.md +1 -1
- package/rihal/agents/rihal-phase-researcher.md +3 -3
- package/rihal/agents/rihal-planner.md +1 -1
- package/rihal/agents/rihal-project-researcher.md +2 -2
- package/rihal/agents/rihal-research-synthesizer.md +3 -3
- package/rihal/agents/rihal-roadmapper.md +3 -3
- package/rihal/agents/rihal-sadiq.md +1 -1
- package/rihal/agents/rihal-sprint-checker.md +3 -3
- package/rihal/agents/rihal-verifier.md +2 -2
- package/rihal/agents/rihal-waleed.md +1 -1
- package/rihal/agents/rihal-yousef.md +2 -2
- package/rihal/agents/rihal-zahra.md +1 -1
- package/rihal/agents/rihal-zayd.md +1 -1
- package/rihal/agents/rules/phase-researcher/detailed-guide.md +1 -1
- package/rihal/agents/rules/roadmapper/detailed-guide.md +1 -1
- package/rihal/agents/rules/sprint-checker/dimensions.md +3 -3
- package/rihal/agents/rules/sprint-checker/process.md +2 -2
- package/rihal/agents/rules/verifier/gap-output.md +1 -1
- package/rihal/agents/rules/verifier/verification-report.md +1 -1
- package/rihal/bin/rihal-hooks.cjs +6 -6
- package/rihal/bin/rihal-tools.cjs +60 -23
- package/rihal/brain/README.md +2 -2
- package/rihal/brain/best-practices/no-autonomous-bypass.md +2 -2
- package/rihal/brain/best-practices/research-citation-rule.md +1 -1
- package/rihal/brain/best-practices/state-sync-rule.md +4 -4
- package/rihal/commands/add-phase.md +1 -1
- package/rihal/commands/add-tests.md +1 -1
- package/rihal/commands/add-todo.md +1 -1
- package/rihal/commands/analyze-dependencies.md +1 -1
- package/rihal/commands/audit-fix.md +1 -1
- package/rihal/commands/audit-milestone.md +1 -1
- package/rihal/commands/audit-uat.md +1 -1
- package/rihal/commands/audit.md +1 -1
- package/rihal/commands/autonomous.md +1 -1
- package/rihal/commands/brainstorm.md +1 -1
- package/rihal/commands/chain.md +1 -1
- package/rihal/commands/check-todos.md +1 -1
- package/rihal/commands/checkpoint-preview.md +1 -1
- package/rihal/commands/cleanup.md +2 -2
- package/rihal/commands/code-review-fix.md +1 -1
- package/rihal/commands/code-review.md +1 -1
- package/rihal/commands/complete-milestone.md +1 -1
- package/rihal/commands/config.md +2 -2
- package/rihal/commands/correct-course.md +1 -1
- package/rihal/commands/council.md +1 -1
- package/rihal/commands/create-epics-and-stories.md +1 -1
- package/rihal/commands/create-story.md +2 -2
- package/rihal/commands/dashboard.md +1 -1
- package/rihal/commands/debug.md +1 -1
- package/rihal/commands/decisions.md +1 -1
- package/rihal/commands/dev-story.md +1 -1
- package/rihal/commands/diff.md +1 -1
- package/rihal/commands/discuss-phase.md +1 -1
- package/rihal/commands/discuss.md +2 -2
- package/rihal/commands/do.md +2 -2
- package/rihal/commands/docs-update.md +1 -1
- package/rihal/commands/document-project.md +1 -1
- package/rihal/commands/enable-hooks.md +1 -1
- package/rihal/commands/execute-sprint.md +2 -2
- package/rihal/commands/execute.md +1 -1
- package/rihal/commands/explore.md +1 -1
- package/rihal/commands/export-to-github.md +1 -1
- package/rihal/commands/forensics.md +1 -1
- package/rihal/commands/from-template.md +1 -1
- package/rihal/commands/health.md +1 -1
- package/rihal/commands/help.md +1 -1
- package/rihal/commands/import.md +1 -1
- package/rihal/commands/inbox.md +1 -1
- package/rihal/commands/init.md +1 -1
- package/rihal/commands/insert-phase.md +1 -1
- package/rihal/commands/install.md +1 -1
- package/rihal/commands/list-plans.md +1 -1
- package/rihal/commands/list-workspaces.md +1 -1
- package/rihal/commands/map-codebase.md +1 -1
- package/rihal/commands/milestone-summary.md +1 -1
- package/rihal/commands/new-milestone.md +1 -1
- package/rihal/commands/new-project.md +1 -1
- package/rihal/commands/new-workspace.md +1 -1
- package/rihal/commands/next.md +1 -1
- package/rihal/commands/note.md +1 -1
- package/rihal/commands/notify-test.md +1 -1
- package/rihal/commands/pause-work.md +1 -1
- package/rihal/commands/plan-milestone-gaps.md +3 -3
- package/rihal/commands/plan.md +2 -2
- package/rihal/commands/plant-seed.md +1 -1
- package/rihal/commands/pr-branch.md +2 -2
- package/rihal/commands/prfaq.md +1 -1
- package/rihal/commands/profile-user.md +1 -1
- package/rihal/commands/progress.md +3 -3
- package/rihal/commands/quick.md +1 -1
- package/rihal/commands/remove-phase.md +1 -1
- package/rihal/commands/remove-workspace.md +1 -1
- package/rihal/commands/replay.md +1 -1
- package/rihal/commands/rerun.md +1 -1
- package/rihal/commands/research-phase.md +2 -2
- package/rihal/commands/resume-work.md +1 -1
- package/rihal/commands/review.md +1 -1
- package/rihal/commands/scan.md +1 -1
- package/rihal/commands/secure-phase.md +1 -1
- package/rihal/commands/session-report.md +1 -1
- package/rihal/commands/settings.md +1 -1
- package/rihal/commands/ship.md +2 -2
- package/rihal/commands/show.md +1 -1
- package/rihal/commands/sprint-planning.md +1 -1
- package/rihal/commands/sprint-status.md +1 -1
- package/rihal/commands/stats.md +1 -1
- package/rihal/commands/status.md +1 -1
- package/rihal/commands/ui-phase.md +1 -1
- package/rihal/commands/ui-review.md +1 -1
- package/rihal/commands/undo.md +1 -1
- package/rihal/commands/update.md +1 -1
- package/rihal/commands/validate-phase.md +1 -1
- package/rihal/commands/verify-phase.md +2 -2
- package/rihal/commands/verify-work.md +1 -1
- package/rihal/commands/why.md +1 -1
- package/rihal/commands/workstream.md +1 -1
- package/rihal/references/agent-shared-rules.md +1 -1
- package/rihal/references/command-redirect-format.md +7 -7
- package/rihal/references/context-budget.md +2 -2
- package/rihal/references/continuation-format.md +16 -16
- package/rihal/references/dispatch-banner.md +1 -1
- package/rihal/references/execution-protocol.md +2 -2
- package/rihal/references/gates.md +3 -3
- package/rihal/references/git-integration.md +1 -1
- package/rihal/references/output-format.md +4 -4
- package/rihal/references/output-realism.md +1 -1
- package/rihal/references/revision-loop.md +1 -1
- package/rihal/references/state-schema.md +15 -15
- package/rihal/references/ui-brand.md +1 -1
- package/rihal/references/verb-dictionary.md +15 -15
- package/rihal/references/workstream-flag.md +28 -28
- package/rihal/skills/_shared/no-autonomous-bypass.md +2 -2
- package/rihal/skills/_shared/research-citation-rule.md +1 -1
- package/rihal/skills/_shared/state-sync-rule.md +4 -4
- package/rihal/skills/actions/1-analysis/rihal-prfaq/SKILL.md +1 -1
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/workflow.md +1 -1
- package/rihal/skills/actions/2-plan/rihal-create-milestone/SKILL.md +2 -2
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-06-phase-stubs.md +2 -2
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-07-backlog.md +2 -2
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-09-state-sync.md +2 -2
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-10-complete.md +4 -4
- package/rihal/skills/actions/2-plan/rihal-create-milestone/workflow.md +5 -5
- package/rihal/skills/actions/2-plan/rihal-create-prd/SKILL.md +1 -1
- package/rihal/skills/actions/2-plan/rihal-create-prd/workflow.md +1 -1
- package/rihal/skills/actions/2-plan/rihal-create-story/workflow.md +1 -1
- package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/SKILL.md +3 -3
- package/rihal/skills/actions/4-implementation/rihal-dev-story/workflow.md +1 -1
- package/rihal/skills/actions/4-implementation/rihal-sprint-planning/SKILL.md +1 -1
- package/rihal/skills/actions/4-implementation/rihal-sprint-planning/checklist.md +1 -1
- package/rihal/skills/actions/4-implementation/rihal-sprint-planning/workflow.md +1 -1
- package/rihal/skills/actions/4-implementation/rihal-sprint-status/workflow.md +5 -5
- package/rihal/skills/agents/dalil-scout/SKILL.md +7 -7
- package/rihal/skills/core/rihal-brainstorming/SKILL.md +1 -1
- package/rihal/skills/core/rihal-init/SKILL.md +1 -1
- package/rihal/skills/core/rihal-party-mode/SKILL.md +1 -1
- package/rihal/templates/milestone.md +1 -1
- package/rihal/templates/projects/api-backend/PROJECT.md +1 -1
- package/rihal/templates/projects/mobile-app/PROJECT.md +1 -1
- package/rihal/templates/projects/saas-b2b/PROJECT.md +1 -1
- package/rihal/workflows/add-phase.md +10 -10
- package/rihal/workflows/add-tests.md +9 -9
- package/rihal/workflows/add-todo.md +5 -5
- package/rihal/workflows/analyze-dependencies.md +7 -7
- package/rihal/workflows/audit-fix.md +4 -4
- package/rihal/workflows/audit-milestone.md +8 -8
- package/rihal/workflows/audit-uat.md +2 -2
- package/rihal/workflows/audit.md +28 -28
- package/rihal/workflows/autonomous.md +128 -44
- package/rihal/workflows/brainstorm.md +7 -7
- package/rihal/workflows/chain.md +16 -16
- package/rihal/workflows/check-implementation-readiness.md +4 -4
- package/rihal/workflows/check-todos.md +8 -8
- package/rihal/workflows/checkpoint-preview.md +1 -1
- package/rihal/workflows/code-review-fix.md +10 -10
- package/rihal/workflows/code-review.md +10 -10
- package/rihal/workflows/complete-milestone.md +5 -5
- package/rihal/workflows/correct-course.md +7 -7
- package/rihal/workflows/council.md +15 -15
- package/rihal/workflows/create-epics-and-stories.md +9 -9
- package/rihal/workflows/create-story.md +11 -11
- package/rihal/workflows/dashboard.md +8 -8
- package/rihal/workflows/debug.md +6 -6
- package/rihal/workflows/decisions.md +5 -5
- package/rihal/workflows/dev-story.md +12 -12
- package/rihal/workflows/diagnose-issues.md +2 -2
- package/rihal/workflows/diff.md +3 -3
- package/rihal/workflows/discuss-phase-power.md +7 -7
- package/rihal/workflows/discuss-phase.md +14 -14
- package/rihal/workflows/discuss.md +9 -9
- package/rihal/workflows/do.md +79 -79
- package/rihal/workflows/docs-update.md +6 -6
- package/rihal/workflows/document-project.md +5 -5
- package/rihal/workflows/enable-hooks.md +5 -5
- package/rihal/workflows/execute-sprint.md +3 -3
- package/rihal/workflows/execute.md +28 -28
- package/rihal/workflows/explore.md +5 -5
- package/rihal/workflows/export-to-github.md +5 -5
- package/rihal/workflows/forensics.md +8 -8
- package/rihal/workflows/from-template.md +8 -8
- package/rihal/workflows/health.md +11 -11
- package/rihal/workflows/help.md +117 -117
- package/rihal/workflows/import.md +4 -4
- package/rihal/workflows/inbox.md +8 -8
- package/rihal/workflows/init.md +23 -23
- package/rihal/workflows/insert-phase.md +9 -9
- package/rihal/workflows/install.md +3 -3
- package/rihal/workflows/karpathy-audit.md +11 -11
- package/rihal/workflows/list-plans.md +8 -8
- package/rihal/workflows/list-workspaces.md +7 -7
- package/rihal/workflows/map-codebase.md +5 -5
- package/rihal/workflows/milestone-summary.md +7 -7
- package/rihal/workflows/new-milestone.md +11 -11
- package/rihal/workflows/new-project-research.md +1 -1
- package/rihal/workflows/new-project-roadmap.md +8 -8
- package/rihal/workflows/new-project.md +32 -32
- package/rihal/workflows/new-workspace.md +7 -7
- package/rihal/workflows/next.md +13 -13
- package/rihal/workflows/note.md +7 -7
- package/rihal/workflows/notify-test.md +6 -6
- package/rihal/workflows/pause-work.md +6 -6
- package/rihal/workflows/plan-milestone-gaps.md +7 -7
- package/rihal/workflows/plan.md +28 -28
- package/rihal/workflows/plant-seed.md +3 -3
- package/rihal/workflows/pr-branch.md +1 -1
- package/rihal/workflows/prfaq.md +1 -1
- package/rihal/workflows/profile-user.md +5 -5
- package/rihal/workflows/progress.md +6 -6
- package/rihal/workflows/quick.md +12 -12
- package/rihal/workflows/remove-phase.md +6 -6
- package/rihal/workflows/remove-workspace.md +8 -8
- package/rihal/workflows/replay.md +8 -8
- package/rihal/workflows/rerun.md +5 -5
- package/rihal/workflows/research-phase.md +2 -2
- package/rihal/workflows/resume-work.md +10 -10
- package/rihal/workflows/review-adversarial.md +4 -4
- package/rihal/workflows/review-edge-case-hunter.md +5 -5
- package/rihal/workflows/review.md +11 -11
- package/rihal/workflows/scan.md +9 -9
- package/rihal/workflows/secure-phase.md +8 -8
- package/rihal/workflows/session-report.md +6 -6
- package/rihal/workflows/settings.md +15 -15
- package/rihal/workflows/ship.md +11 -11
- package/rihal/workflows/show.md +2 -2
- package/rihal/workflows/sprint-planning.md +13 -13
- package/rihal/workflows/sprint-status.md +10 -10
- package/rihal/workflows/stats.md +6 -6
- package/rihal/workflows/status.md +15 -7
- package/rihal/workflows/ui-phase.md +8 -8
- package/rihal/workflows/ui-review.md +5 -5
- package/rihal/workflows/undo.md +17 -17
- package/rihal/workflows/update.md +12 -12
- package/rihal/workflows/validate-phase.md +5 -5
- package/rihal/workflows/verify-work.md +18 -18
- package/rihal/workflows/why.md +9 -9
- package/rihal/workflows/workstream.md +11 -11
- package/server/lib/html/client.js +45 -45
package/rihal/workflows/next.md
CHANGED
|
@@ -20,7 +20,7 @@ Print a routing banner when dispatching to the next command:
|
|
|
20
20
|
Current: Phase {N} — {name} | Sprint {sprint_id}
|
|
21
21
|
Status: {status description}
|
|
22
22
|
|
|
23
|
-
▶ Next: `/rihal
|
|
23
|
+
▶ Next: `/rihal-{command} {args}`
|
|
24
24
|
{One-line explanation}
|
|
25
25
|
```
|
|
26
26
|
|
|
@@ -50,7 +50,7 @@ Extract from state JSON:
|
|
|
50
50
|
|
|
51
51
|
If no `.planning/` directory AND no `.rihal/state.json`:
|
|
52
52
|
```
|
|
53
|
-
No Rihal project detected. Run `/rihal
|
|
53
|
+
No Rihal project detected. Run `/rihal-new-project` to get started.
|
|
54
54
|
```
|
|
55
55
|
Exit.
|
|
56
56
|
</step>
|
|
@@ -82,7 +82,7 @@ If found:
|
|
|
82
82
|
```
|
|
83
83
|
Stop: Project in error state
|
|
84
84
|
|
|
85
|
-
Resolve the error before advancing. Run `/rihal
|
|
85
|
+
Resolve the error before advancing. Run `/rihal-health` to diagnose.
|
|
86
86
|
Use `--force` to bypass.
|
|
87
87
|
```
|
|
88
88
|
Exit.
|
|
@@ -104,35 +104,35 @@ Apply routing rules based on state:
|
|
|
104
104
|
|
|
105
105
|
**Route 1: No phases exist yet**
|
|
106
106
|
ROADMAP.md exists but no phase directories on disk:
|
|
107
|
-
Next: `/rihal
|
|
107
|
+
Next: `/rihal-sprint-planning`
|
|
108
108
|
|
|
109
109
|
**Route 2: Phase exists but no sprint**
|
|
110
110
|
Current phase directory exists but has no SPRINT.md:
|
|
111
|
-
Next: `/rihal
|
|
111
|
+
Next: `/rihal-sprint-planning --phase {current_phase}`
|
|
112
112
|
|
|
113
113
|
**Route 3: Sprint exists, stories incomplete**
|
|
114
114
|
SPRINT.md exists and has stories with status != done:
|
|
115
|
-
Next: `/rihal
|
|
115
|
+
Next: `/rihal-execute .planning/phases/{phase_dir}/SPRINT.md`
|
|
116
116
|
|
|
117
117
|
**Route 4: All stories done, sprint not closed**
|
|
118
118
|
All stories are done but sprint status is still "active":
|
|
119
|
-
Next: complete the sprint via `rihal-tools.cjs state sprint complete`, then suggest `/rihal
|
|
119
|
+
Next: complete the sprint via `rihal-tools.cjs state sprint complete`, then suggest `/rihal-sprint-planning` for next sprint
|
|
120
120
|
|
|
121
121
|
**Route 5: Sprint complete, next phase exists**
|
|
122
122
|
Current phase is complete, next phase exists in ROADMAP:
|
|
123
|
-
Next: `/rihal
|
|
123
|
+
Next: `/rihal-sprint-planning --phase {next_phase}`
|
|
124
124
|
|
|
125
125
|
**Route 6: All phases complete**
|
|
126
126
|
All phases in ROADMAP are complete:
|
|
127
|
-
Next: `/rihal
|
|
127
|
+
Next: `/rihal-complete-milestone`
|
|
128
128
|
|
|
129
129
|
**Route 7: Paused**
|
|
130
130
|
State shows paused_at is set:
|
|
131
|
-
Next: `/rihal
|
|
131
|
+
Next: `/rihal-resume-work`
|
|
132
132
|
|
|
133
133
|
**Route 8: No sprint system, fallback**
|
|
134
134
|
State has no sprints[] data — legacy or empty project:
|
|
135
|
-
Next: `/rihal
|
|
135
|
+
Next: `/rihal-sprint-planning`
|
|
136
136
|
</step>
|
|
137
137
|
|
|
138
138
|
<step name="show_and_execute">
|
|
@@ -144,12 +144,12 @@ Display the determination:
|
|
|
144
144
|
**Current:** Phase {N} — {name} | Sprint {sprint_id}
|
|
145
145
|
**Sprint:** {done}/{total} stories ({points_done}/{points_total} pts)
|
|
146
146
|
|
|
147
|
-
Next: `/rihal
|
|
147
|
+
Next: `/rihal-{command} {args}`
|
|
148
148
|
{One-line explanation}
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
Then immediately invoke the determined command.
|
|
152
|
-
Do not ask for confirmation — `/rihal
|
|
152
|
+
Do not ask for confirmation — `/rihal-next` is zero-friction advancement.
|
|
153
153
|
</step>
|
|
154
154
|
|
|
155
155
|
</process>
|
package/rihal/workflows/note.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Workflow: rihal
|
|
1
|
+
# Workflow: rihal-note
|
|
2
2
|
|
|
3
3
|
<purpose>
|
|
4
4
|
Capture inline notes instantly without friction. Appends text to a dated note file with YAML frontmatter. No subagents, no user questions, no bash chains — single Write operation.
|
|
@@ -10,13 +10,13 @@ Capture inline notes instantly without friction. Appends text to a dated note fi
|
|
|
10
10
|
If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
|
|
11
11
|
|
|
12
12
|
```
|
|
13
|
-
/rihal
|
|
13
|
+
/rihal-note <argument-here>
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
**Examples:**
|
|
17
17
|
```
|
|
18
|
-
/rihal
|
|
19
|
-
/rihal
|
|
18
|
+
/rihal-note example 1
|
|
19
|
+
/rihal-note example 2
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
STOP — do not proceed.
|
|
@@ -38,8 +38,8 @@ fi
|
|
|
38
38
|
|
|
39
39
|
If `NOTE_TEXT` is empty:
|
|
40
40
|
```
|
|
41
|
-
❌ Usage: /rihal
|
|
42
|
-
Example: /rihal
|
|
41
|
+
❌ Usage: /rihal-note <text>
|
|
42
|
+
Example: /rihal-note refactor auth module to use async/await
|
|
43
43
|
|
|
44
44
|
Flags:
|
|
45
45
|
--global Save to ~/.rihal-notes/ instead of .rihal/notes/
|
|
@@ -111,7 +111,7 @@ promoted: false
|
|
|
111
111
|
refactor auth module to use async/await
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
## Step 5 — List subcommand: /rihal
|
|
114
|
+
## Step 5 — List subcommand: /rihal-note list
|
|
115
115
|
|
|
116
116
|
If ARGUMENTS contains `list`:
|
|
117
117
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Workflow: rihal
|
|
1
|
+
# Workflow: rihal-notify-test
|
|
2
2
|
|
|
3
3
|
<purpose>
|
|
4
|
-
Verify a webhook URL is configured and reachable by posting a "test" message. Use this immediately after adding `slack_webhook_url`, `discord_webhook_url`, or `teams_webhook_url` to `.rihal/config.yaml` so you catch typos and permission errors before relying on notifications from `/rihal
|
|
4
|
+
Verify a webhook URL is configured and reachable by posting a "test" message. Use this immediately after adding `slack_webhook_url`, `discord_webhook_url`, or `teams_webhook_url` to `.rihal/config.yaml` so you catch typos and permission errors before relying on notifications from `/rihal-execute`.
|
|
5
5
|
</purpose>
|
|
6
6
|
|
|
7
7
|
<output_format>
|
|
@@ -26,7 +26,7 @@ End with a per-platform result table: sent / skipped / failed.
|
|
|
26
26
|
If `$ARGUMENTS` contains `--help` / `-h`:
|
|
27
27
|
|
|
28
28
|
```
|
|
29
|
-
/rihal
|
|
29
|
+
/rihal-notify-test [--only slack|discord|teams] [--title "<t>"] [--body "<b>"]
|
|
30
30
|
|
|
31
31
|
--only <platform> Limit the test to one platform
|
|
32
32
|
--title "<t>" Override test title (default: "Rihal notify test")
|
|
@@ -81,7 +81,7 @@ No webhooks configured. Add at least one to .rihal/config.yaml:
|
|
|
81
81
|
discord_webhook_url: "https://discord.com/api/webhooks/..."
|
|
82
82
|
teams_webhook_url: "https://outlook.office.com/webhook/..."
|
|
83
83
|
|
|
84
|
-
Then re-run /rihal
|
|
84
|
+
Then re-run /rihal-notify-test.
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
If any platform `failed`, echo the failure detail and list common causes:
|
|
@@ -95,8 +95,8 @@ If any platform `sent`, print:
|
|
|
95
95
|
```
|
|
96
96
|
✓ Open your channel to confirm the test message appeared.
|
|
97
97
|
Then configure where notifications fire:
|
|
98
|
-
- /rihal
|
|
99
|
-
- /rihal
|
|
98
|
+
- /rihal-execute runs post-phase notify automatically
|
|
99
|
+
- /rihal-council --notify to ping after a council session
|
|
100
100
|
```
|
|
101
101
|
</process>
|
|
102
102
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Workflow: rihal
|
|
1
|
+
# Workflow: rihal-pause-work
|
|
2
2
|
|
|
3
3
|
<purpose>
|
|
4
4
|
Capture full project context and blocking constraints before pausing work. Creates `.rihal/HANDOFF.json` (structured machine-readable handoff) and `.rihal/.continue-here.md` (human-readable summary) for seamless context restoration on resume.
|
|
@@ -10,13 +10,13 @@ Capture full project context and blocking constraints before pausing work. Creat
|
|
|
10
10
|
If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
|
|
11
11
|
|
|
12
12
|
```
|
|
13
|
-
/rihal
|
|
13
|
+
/rihal-pause-work <argument-here>
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
**Examples:**
|
|
17
17
|
```
|
|
18
|
-
/rihal
|
|
19
|
-
/rihal
|
|
18
|
+
/rihal-pause-work example 1
|
|
19
|
+
/rihal-pause-work example 2
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
STOP — do not proceed.
|
|
@@ -208,7 +208,7 @@ No uncommitted changes.
|
|
|
208
208
|
|
|
209
209
|
To resume work, run:
|
|
210
210
|
\`\`\`bash
|
|
211
|
-
/rihal
|
|
211
|
+
/rihal-resume-work
|
|
212
212
|
\`\`\`
|
|
213
213
|
```
|
|
214
214
|
|
|
@@ -230,7 +230,7 @@ Blocking constraints:
|
|
|
230
230
|
|
|
231
231
|
To resume work, run:
|
|
232
232
|
|
|
233
|
-
/rihal
|
|
233
|
+
/rihal-resume-work
|
|
234
234
|
```
|
|
235
235
|
|
|
236
236
|
## Success Criteria
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<purpose>
|
|
2
|
-
Create all phases necessary to close gaps identified by `/rihal
|
|
2
|
+
Create all phases necessary to close gaps identified by `/rihal-audit-milestone`. Reads MILESTONE-AUDIT.md, groups gaps into logical phases, creates phase entries in ROADMAP.md, and offers to plan each phase. One command creates all fix phases — no manual `/rihal-add-phase` per gap.
|
|
3
3
|
</purpose>
|
|
4
4
|
|
|
5
5
|
<required_reading>
|
|
@@ -22,7 +22,7 @@ Parse YAML frontmatter to extract structured gaps:
|
|
|
22
22
|
|
|
23
23
|
If no audit file exists or has no gaps, error:
|
|
24
24
|
```
|
|
25
|
-
No audit gaps found. Run `/rihal
|
|
25
|
+
No audit gaps found. Run `/rihal-audit-milestone` first.
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## 2. Prioritize Gaps
|
|
@@ -165,20 +165,20 @@ node ".rihal/bin/rihal-tools.cjs" commit "docs(roadmap): add gap closure phases
|
|
|
165
165
|
|
|
166
166
|
`/clear` then:
|
|
167
167
|
|
|
168
|
-
`/rihal
|
|
168
|
+
`/rihal-plan {N}`
|
|
169
169
|
|
|
170
170
|
---
|
|
171
171
|
|
|
172
172
|
**Also available:**
|
|
173
|
-
- `/rihal
|
|
173
|
+
- `/rihal-execute-phase {N}` — if plans already exist
|
|
174
174
|
- `cat .planning/ROADMAP.md` — see updated roadmap
|
|
175
175
|
|
|
176
176
|
---
|
|
177
177
|
|
|
178
178
|
**After all gap phases complete:**
|
|
179
179
|
|
|
180
|
-
`/rihal
|
|
181
|
-
`/rihal
|
|
180
|
+
`/rihal-audit-milestone` — re-audit to verify gaps closed
|
|
181
|
+
`/rihal-complete-milestone {version}` — archive when audit passes
|
|
182
182
|
```
|
|
183
183
|
|
|
184
184
|
</process>
|
|
@@ -269,5 +269,5 @@ becomes:
|
|
|
269
269
|
- [ ] Coverage count updated in REQUIREMENTS.md
|
|
270
270
|
- [ ] Phase directories created
|
|
271
271
|
- [ ] Changes committed (includes REQUIREMENTS.md)
|
|
272
|
-
- [ ] User knows to run `/rihal
|
|
272
|
+
- [ ] User knows to run `/rihal-plan` next
|
|
273
273
|
</success_criteria>
|
package/rihal/workflows/plan.md
CHANGED
|
@@ -37,7 +37,7 @@ Closure:
|
|
|
37
37
|
RIHAL ► PLAN READY ✓ ({N} stories, {M} points)
|
|
38
38
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
39
39
|
```
|
|
40
|
-
End with Next Up routing to /rihal
|
|
40
|
+
End with Next Up routing to /rihal-execute.
|
|
41
41
|
</output_format>
|
|
42
42
|
|
|
43
43
|
<required_reading>
|
|
@@ -81,7 +81,7 @@ Parse JSON for: `researcher_model`, `planner_model`, `checker_model`, `research_
|
|
|
81
81
|
|
|
82
82
|
**File paths (for <files_to_read> blocks):** `state_path`, `roadmap_path`, `requirements_path`, `context_path`, `research_path`, `verification_path`, `uat_path`, `reviews_path`. These are null if files don't exist.
|
|
83
83
|
|
|
84
|
-
**If `planning_exists` is false:** Error — run `/rihal
|
|
84
|
+
**If `planning_exists` is false:** Error — run `/rihal-new-project` first.
|
|
85
85
|
|
|
86
86
|
## 2. Parse and Normalize Arguments
|
|
87
87
|
|
|
@@ -111,7 +111,7 @@ mkdir -p ".planning/phases/${padded_phase}-${phase_slug}"
|
|
|
111
111
|
|
|
112
112
|
**Existing artifacts from init:** `has_research`, `has_plans`, `plan_count`.
|
|
113
113
|
|
|
114
|
-
**TASKS.md ingestion (#385 chain).** If the phase directory contains a `TASKS.md` file (typically auto-extracted by `/rihal
|
|
114
|
+
**TASKS.md ingestion (#385 chain).** If the phase directory contains a `TASKS.md` file (typically auto-extracted by `/rihal-add-phase` from a bulk `/rihal-quick` or `/rihal-do` route), read it now:
|
|
115
115
|
|
|
116
116
|
```bash
|
|
117
117
|
TASKS_FILE=".planning/phases/${padded_phase}-${phase_slug}/TASKS.md"
|
|
@@ -121,7 +121,7 @@ HAS_TASKS=$([ -f "$TASKS_FILE" ] && echo true || echo false)
|
|
|
121
121
|
When `HAS_TASKS=true`:
|
|
122
122
|
- Pass the TASKS.md content to the planner agent as authoritative phase scope. The planner uses it as the input list — each entry becomes a candidate sprint task in SPRINT.md.
|
|
123
123
|
- Surface this in the opening banner: *"Phase scope source: TASKS.md ({N} entries auto-extracted from bulk route on {date})"*.
|
|
124
|
-
- Do NOT re-prompt the user for scope when TASKS.md is present — they already provided the list once at the /rihal
|
|
124
|
+
- Do NOT re-prompt the user for scope when TASKS.md is present — they already provided the list once at the /rihal-quick or /rihal-do entry point. The whole point of the auto-route chain is that the user doesn't paste the same content multiple times.
|
|
125
125
|
|
|
126
126
|
## 2.5. Validate `--reviews` Prerequisite
|
|
127
127
|
|
|
@@ -135,9 +135,9 @@ Error:
|
|
|
135
135
|
```
|
|
136
136
|
No REVIEWS.md found for Phase {N}. Run reviews first:
|
|
137
137
|
|
|
138
|
-
/rihal
|
|
138
|
+
/rihal-review --phase {N}
|
|
139
139
|
|
|
140
|
-
Then re-run /rihal
|
|
140
|
+
Then re-run /rihal-sprint-plan {N} --reviews
|
|
141
141
|
```
|
|
142
142
|
Exit workflow.
|
|
143
143
|
|
|
@@ -276,7 +276,7 @@ VERIFICATION_FILE=$(ls "${PHASE_DIR}"/*-VERIFICATION.md 2>/dev/null | head -1)
|
|
|
276
276
|
Error: No VERIFICATION.md found for Phase {X}. Gap-closure planning requires the phase to have run through the verifier first.
|
|
277
277
|
|
|
278
278
|
Try:
|
|
279
|
-
/rihal
|
|
279
|
+
/rihal-execute {X} ${Rihal_WS} # run or re-run execution + verification
|
|
280
280
|
```
|
|
281
281
|
Exit workflow.
|
|
282
282
|
|
|
@@ -384,9 +384,9 @@ If "Run discuss-phase first":
|
|
|
384
384
|
does not work correctly in nested subcontexts (#1009). Instead, display the command
|
|
385
385
|
and exit so the user runs it as a top-level command:
|
|
386
386
|
```
|
|
387
|
-
Run this command first, then re-run /rihal
|
|
387
|
+
Run this command first, then re-run /rihal-sprint-plan {X} ${Rihal_WS}:
|
|
388
388
|
|
|
389
|
-
/rihal
|
|
389
|
+
/rihal-discuss-phase {X} ${Rihal_WS}
|
|
390
390
|
```
|
|
391
391
|
**Exit the sprint-plan workflow. Do not continue.**
|
|
392
392
|
|
|
@@ -454,7 +454,7 @@ Answer: "What do I need to know to PLAN this phase well?"
|
|
|
454
454
|
</objective>
|
|
455
455
|
|
|
456
456
|
<files_to_read>
|
|
457
|
-
- {context_path} (USER DECISIONS from /rihal
|
|
457
|
+
- {context_path} (USER DECISIONS from /rihal-discuss-phase)
|
|
458
458
|
- {requirements_path} (Project requirements)
|
|
459
459
|
- {state_path} (Project decisions and history)
|
|
460
460
|
</files_to_read>
|
|
@@ -598,7 +598,7 @@ If `TEXT_MODE` is true, present as a plain-text numbered list:
|
|
|
598
598
|
```
|
|
599
599
|
Phase {N} has frontend indicators but no UI-SPEC.md. Generate a design contract before planning?
|
|
600
600
|
|
|
601
|
-
1. Generate UI-SPEC first — Run /rihal
|
|
601
|
+
1. Generate UI-SPEC first — Run /rihal-ui-phase {N} then re-run /rihal-sprint-plan {N}
|
|
602
602
|
2. Continue without UI-SPEC
|
|
603
603
|
3. Not a frontend phase
|
|
604
604
|
|
|
@@ -609,7 +609,7 @@ Otherwise use AskUserQuestion:
|
|
|
609
609
|
- header: "UI Design Contract"
|
|
610
610
|
- question: "Phase {N} has frontend indicators but no UI-SPEC.md. Generate a design contract before planning?"
|
|
611
611
|
- options:
|
|
612
|
-
- "Generate UI-SPEC first" → Display: "Run `/rihal
|
|
612
|
+
- "Generate UI-SPEC first" → Display: "Run `/rihal-ui-phase {N} ${Rihal_WS}` then re-run `/rihal-sprint-plan {N} ${Rihal_WS}`". Exit workflow.
|
|
613
613
|
- "Continue without UI-SPEC" → Continue to step 6.
|
|
614
614
|
- "Not a frontend phase" → Continue to step 6.
|
|
615
615
|
|
|
@@ -719,7 +719,7 @@ VALIDATION_EXISTS=$(ls "${PHASE_DIR}"/*-VALIDATION.md 2>/dev/null | head -1)
|
|
|
719
719
|
```
|
|
720
720
|
|
|
721
721
|
If missing and Nyquist is still enabled/applicable — ask user:
|
|
722
|
-
1. Re-run: `/rihal
|
|
722
|
+
1. Re-run: `/rihal-sprint-plan {PHASE} --research ${Rihal_WS}`
|
|
723
723
|
2. Disable Nyquist with the exact command:
|
|
724
724
|
`node ".rihal/bin/rihal-tools.cjs" config-set workflow.nyquist_validation false`
|
|
725
725
|
3. Continue anyway (plans fail Dimension 8)
|
|
@@ -798,7 +798,7 @@ Planner prompt:
|
|
|
798
798
|
- {state_path} (Project State)
|
|
799
799
|
- {roadmap_path} (Roadmap)
|
|
800
800
|
- {requirements_path} (Requirements)
|
|
801
|
-
- {context_path} (USER DECISIONS from /rihal
|
|
801
|
+
- {context_path} (USER DECISIONS from /rihal-discuss-phase)
|
|
802
802
|
- {research_path} (Technical Research)
|
|
803
803
|
- {verification_path} (Verification Gaps - if --gaps)
|
|
804
804
|
- {uat_path} (UAT Gaps - if --gaps)
|
|
@@ -821,7 +821,7 @@ ${AGENT_SKILLS_PLANNER}
|
|
|
821
821
|
</planning_context>
|
|
822
822
|
|
|
823
823
|
<downstream_consumer>
|
|
824
|
-
Output consumed by /rihal
|
|
824
|
+
Output consumed by /rihal-execute-phase. Plans need:
|
|
825
825
|
- Frontmatter (wave, depends_on, files_modified, autonomous)
|
|
826
826
|
- Tasks in XML format with read_first and acceptance_criteria fields (MANDATORY on every task)
|
|
827
827
|
- Verification criteria
|
|
@@ -914,7 +914,7 @@ rest become a follow-up phase
|
|
|
914
914
|
|
|
915
915
|
Use AskUserQuestion with these 3 options.
|
|
916
916
|
|
|
917
|
-
**If "Split":** Use `/rihal
|
|
917
|
+
**If "Split":** Use `/rihal-insert-phase` to create the sub-phases, then replan each.
|
|
918
918
|
**If "Proceed":** Return to planner with instruction to attempt all decisions at full fidelity, accepting more plans/tasks.
|
|
919
919
|
**If "Prioritize":** Use AskUserQuestion (multiSelect) to let user pick which D-XX are "now" vs "later". Create CONTEXT.md for each sub-phase with the selected decisions.
|
|
920
920
|
|
|
@@ -940,7 +940,7 @@ Checker prompt:
|
|
|
940
940
|
- {PHASE_DIR}/*-SPRINT.md (Plans to verify)
|
|
941
941
|
- {roadmap_path} (Roadmap)
|
|
942
942
|
- {requirements_path} (Requirements)
|
|
943
|
-
- {context_path} (USER DECISIONS from /rihal
|
|
943
|
+
- {context_path} (USER DECISIONS from /rihal-discuss-phase)
|
|
944
944
|
- {research_path} (Technical Research — includes Validation Architecture)
|
|
945
945
|
</files_to_read>
|
|
946
946
|
|
|
@@ -1013,7 +1013,7 @@ If NONE of these evidence markers are present, the checker malfunctioned (return
|
|
|
1013
1013
|
```
|
|
1014
1014
|
Display: "Sprint-checker returned without evidence of tool use — likely
|
|
1015
1015
|
malfunctioned (cf. issue #440). Refusing to advance the plan
|
|
1016
|
-
on unverified output. Re-run /rihal
|
|
1016
|
+
on unverified output. Re-run /rihal-plan or inspect the agent."
|
|
1017
1017
|
Halt the workflow with a non-zero exit signal.
|
|
1018
1018
|
```
|
|
1019
1019
|
|
|
@@ -1036,7 +1036,7 @@ Display: `Revision iteration {N}/3 -- {blocker_count} blockers, {warning_count}
|
|
|
1036
1036
|
**If `stall_reentry_count >= 2`:**
|
|
1037
1037
|
Display: `Stall persists after 2 re-planning attempts. The following issues could not be resolved automatically:`
|
|
1038
1038
|
List the remaining issues from the checker.
|
|
1039
|
-
Suggest: "Consider resolving these issues manually or running `/rihal
|
|
1039
|
+
Suggest: "Consider resolving these issues manually or running `/rihal-debug` to investigate root causes."
|
|
1040
1040
|
Options: "Proceed anyway" | "Abandon"
|
|
1041
1041
|
If "Proceed anyway": accept current plans and continue to step 13.
|
|
1042
1042
|
If "Abandon": stop workflow.
|
|
@@ -1052,7 +1052,7 @@ Revision prompt:
|
|
|
1052
1052
|
|
|
1053
1053
|
<files_to_read>
|
|
1054
1054
|
- {PHASE_DIR}/*-SPRINT.md (Existing plans)
|
|
1055
|
-
- {context_path} (USER DECISIONS from /rihal
|
|
1055
|
+
- {context_path} (USER DECISIONS from /rihal-discuss-phase)
|
|
1056
1056
|
</files_to_read>
|
|
1057
1057
|
|
|
1058
1058
|
${AGENT_SKILLS_PLANNER}
|
|
@@ -1245,14 +1245,14 @@ The `--no-transition` flag tells execute-phase to return status after verificati
|
|
|
1245
1245
|
|
|
1246
1246
|
Auto-advance pipeline finished.
|
|
1247
1247
|
|
|
1248
|
-
Next: /rihal
|
|
1248
|
+
Next: /rihal-discuss-phase ${NEXT_PHASE} --auto ${Rihal_WS}
|
|
1249
1249
|
```
|
|
1250
1250
|
- **GAPS FOUND / VERIFICATION FAILED** → Display result, stop chain:
|
|
1251
1251
|
```
|
|
1252
1252
|
Auto-advance stopped: Execution needs review.
|
|
1253
1253
|
|
|
1254
1254
|
Review the output above and continue manually:
|
|
1255
|
-
/rihal
|
|
1255
|
+
/rihal-execute-phase ${PHASE} ${Rihal_WS}
|
|
1256
1256
|
```
|
|
1257
1257
|
|
|
1258
1258
|
**If neither `--auto` nor config enabled:**
|
|
@@ -1285,15 +1285,15 @@ Verification: {Passed | Passed with override | Skipped}
|
|
|
1285
1285
|
|
|
1286
1286
|
/clear then:
|
|
1287
1287
|
|
|
1288
|
-
/rihal
|
|
1288
|
+
/rihal-execute-phase {X} ${Rihal_WS}
|
|
1289
1289
|
|
|
1290
1290
|
───────────────────────────────────────────────────────────────
|
|
1291
1291
|
|
|
1292
1292
|
**Also available:**
|
|
1293
1293
|
- cat .planning/phases/{phase-dir}/*-SPRINT.md — review plans
|
|
1294
|
-
- /rihal
|
|
1295
|
-
- /rihal
|
|
1296
|
-
- /rihal
|
|
1294
|
+
- /rihal-sprint-plan {X} --research — re-research first
|
|
1295
|
+
- /rihal-review --phase {X} --all — peer review plans with external AIs
|
|
1296
|
+
- /rihal-sprint-plan {X} --reviews — replan incorporating review feedback
|
|
1297
1297
|
|
|
1298
1298
|
───────────────────────────────────────────────────────────────
|
|
1299
1299
|
</offer_next>
|
|
@@ -1314,11 +1314,11 @@ stdio deadlocks with MCP servers — see Claude Code issue anthropics/claude-cod
|
|
|
1314
1314
|
Remove-Item -Recurse -Force "$env:USERPROFILE\.claude\tasks\*" -ErrorAction SilentlyContinue
|
|
1315
1315
|
```
|
|
1316
1316
|
4. **Reduce MCP server count:** Temporarily disable non-essential MCP servers in settings.json
|
|
1317
|
-
5. **Retry:** Restart Claude Code and run `/rihal
|
|
1317
|
+
5. **Retry:** Restart Claude Code and run `/rihal-sprint-plan` again
|
|
1318
1318
|
|
|
1319
1319
|
If freezes persist, try `--skip-research` to reduce the agent chain from 3 to 2 agents:
|
|
1320
1320
|
```
|
|
1321
|
-
/rihal
|
|
1321
|
+
/rihal-sprint-plan N --skip-research
|
|
1322
1322
|
```
|
|
1323
1323
|
</windows_troubleshooting>
|
|
1324
1324
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<purpose>
|
|
2
2
|
Capture a forward-looking idea as a structured seed file with trigger conditions.
|
|
3
|
-
Seeds auto-surface during /rihal
|
|
3
|
+
Seeds auto-surface during /rihal-new-milestone when trigger conditions match the
|
|
4
4
|
new milestone's scope.
|
|
5
5
|
|
|
6
6
|
Seeds beat deferred items because they:
|
|
@@ -117,7 +117,7 @@ scope: {$SCOPE}
|
|
|
117
117
|
|
|
118
118
|
**Trigger:** {$TRIGGER}
|
|
119
119
|
|
|
120
|
-
This seed should be presented during `/rihal
|
|
120
|
+
This seed should be presented during `/rihal-new-milestone` when the milestone
|
|
121
121
|
scope matches any of these conditions:
|
|
122
122
|
- {trigger condition 1}
|
|
123
123
|
- {trigger condition 2}
|
|
@@ -153,7 +153,7 @@ Trigger: {$TRIGGER}
|
|
|
153
153
|
Scope: {$SCOPE}
|
|
154
154
|
File: .planning/seeds/SEED-{PADDED}-{slug}.md
|
|
155
155
|
|
|
156
|
-
This seed will surface automatically when you run /rihal
|
|
156
|
+
This seed will surface automatically when you run /rihal-new-milestone
|
|
157
157
|
and the milestone scope matches the trigger condition.
|
|
158
158
|
```
|
|
159
159
|
</step>
|
package/rihal/workflows/prfaq.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Workflow: rihal
|
|
1
|
+
# Workflow: rihal-prfaq
|
|
2
2
|
|
|
3
3
|
<purpose>
|
|
4
4
|
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. Delegates to the rihal-prfaq skill for the full interview and generation protocol.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Workflow: rihal
|
|
1
|
+
# Workflow: rihal-profile-user
|
|
2
2
|
|
|
3
3
|
<purpose>
|
|
4
4
|
Classify developer on 4 dimensions: communication style, autonomy preference, domain depth, and iteration speed. Spawn a profiler subagent to ask questions and produce a USER-PROFILE.md artifact with YAML frontmatter + structured classification.
|
|
@@ -10,13 +10,13 @@ Classify developer on 4 dimensions: communication style, autonomy preference, do
|
|
|
10
10
|
If `$ARGUMENTS` is empty or contains only `--help` or `-h`:
|
|
11
11
|
|
|
12
12
|
```
|
|
13
|
-
/rihal
|
|
13
|
+
/rihal-profile-user <argument-here>
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
**Examples:**
|
|
17
17
|
```
|
|
18
|
-
/rihal
|
|
19
|
-
/rihal
|
|
18
|
+
/rihal-profile-user
|
|
19
|
+
/rihal-profile-user --json '{"communication":"Direct & dense","autonomy":"Autonomous","domain_depth":"Advanced","iteration_speed":"Fast"}'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
STOP — do not proceed.
|
|
@@ -145,7 +145,7 @@ Dimensions:
|
|
|
145
145
|
• Domain Depth: {domain_depth}
|
|
146
146
|
• Iteration Speed: {iteration_speed}
|
|
147
147
|
|
|
148
|
-
This profile will personalize future /rihal
|
|
148
|
+
This profile will personalize future /rihal-council and /rihal-execute responses.
|
|
149
149
|
```
|
|
150
150
|
|
|
151
151
|
## Success Criteria
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# Workflow: rihal
|
|
1
|
+
# Workflow: rihal-progress
|
|
2
2
|
|
|
3
3
|
<purpose>
|
|
4
|
-
**`/rihal
|
|
4
|
+
**`/rihal-progress` is an alias of `/rihal-status --verbose`.**
|
|
5
5
|
|
|
6
|
-
Historically this was a separate workflow with overlapping data and a heavier render. They both read the same source of truth (`rihal-tools progress init`), so we collapsed them: `/rihal
|
|
6
|
+
Historically this was a separate workflow with overlapping data and a heavier render. They both read the same source of truth (`rihal-tools progress init`), so we collapsed them: `/rihal-status` is the canonical renderer with built-in slim/verbose modes, and `/rihal-progress` is a thin alias that always runs in verbose mode.
|
|
7
7
|
|
|
8
8
|
Use whichever name you prefer — they produce the same output.
|
|
9
9
|
</purpose>
|
|
@@ -14,12 +14,12 @@ Use whichever name you prefer — they produce the same output.
|
|
|
14
14
|
|
|
15
15
|
<process>
|
|
16
16
|
|
|
17
|
-
## Step 1 — Delegate to /rihal
|
|
17
|
+
## Step 1 — Delegate to /rihal-status in verbose mode
|
|
18
18
|
|
|
19
19
|
Execute the workflow defined in `.rihal/workflows/status.md` end-to-end, with one override:
|
|
20
20
|
|
|
21
21
|
- Always render in **verbose mode** (full Steps 2–6 output: banner + phases + insights + decisions + blockers + Next Up route tree).
|
|
22
|
-
- Treat `$ARGUMENTS` exactly as `/rihal
|
|
22
|
+
- Treat `$ARGUMENTS` exactly as `/rihal-status --verbose $ARGUMENTS` would.
|
|
23
23
|
|
|
24
24
|
Do not parse ROADMAP.md, walk SUMMARY.md files, or grep state.json directly. If the underlying CLI reports a drift insight, surface it — do not silently compensate.
|
|
25
25
|
|
|
@@ -28,7 +28,7 @@ Do not parse ROADMAP.md, walk SUMMARY.md files, or grep state.json directly. If
|
|
|
28
28
|
After the verbose status output, append a single grey line:
|
|
29
29
|
|
|
30
30
|
```
|
|
31
|
-
(/rihal
|
|
31
|
+
(/rihal-progress is an alias of /rihal-status --verbose — same data, same source.)
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Skip this footer if `$ARGUMENTS` already contains `--no-alias-hint`.
|
package/rihal/workflows/quick.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Execute small ad-hoc tasks with guarantees. Two real modes the workflow auto-detects:
|
|
3
3
|
|
|
4
4
|
- **Trivial inline** — single ≤ 3-file change, finishes in 1-2 minutes, no planning needed.
|
|
5
|
-
- **Bulk-task auto-route** — when the input contains many tasks (numbered list with 5+ items, or several distinct bugs/asks), automatically route to /rihal
|
|
5
|
+
- **Bulk-task auto-route** — when the input contains many tasks (numbered list with 5+ items, or several distinct bugs/asks), automatically route to /rihal-add-phase with the task list pre-extracted, so the user doesn't have to copy-paste their list a second time.
|
|
6
6
|
|
|
7
|
-
Closes the gap where /rihal
|
|
7
|
+
Closes the gap where /rihal-quick used to refuse + show a 4-option menu when given many tasks (forcing the user to re-enter the same list into another command).
|
|
8
8
|
</purpose>
|
|
9
9
|
|
|
10
10
|
<required_reading>
|
|
@@ -35,7 +35,7 @@ Match if `$TASK` contains ANY of:
|
|
|
35
35
|
- > 60 lines total
|
|
36
36
|
- Contains the phrase "buht zada bugs" / "many bugs" / "list of bugs" / "bug list" / "saare bugs" / "all these bugs"
|
|
37
37
|
|
|
38
|
-
If matched, **AUTO-ROUTE to `/rihal
|
|
38
|
+
If matched, **AUTO-ROUTE to `/rihal-add-phase`** without asking. Do not refuse, do not show a menu, do not ask the user to repaste.
|
|
39
39
|
|
|
40
40
|
Procedure:
|
|
41
41
|
|
|
@@ -50,16 +50,16 @@ Procedure:
|
|
|
50
50
|
3. Print the auto-route banner:
|
|
51
51
|
```
|
|
52
52
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
53
|
-
/rihal
|
|
53
|
+
/rihal-quick — AUTO-ROUTING
|
|
54
54
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
55
55
|
|
|
56
56
|
Detected: {N} tasks in input — too many for inline.
|
|
57
57
|
Active milestone: {ACTIVE_MILESTONE or "none"}
|
|
58
|
-
Routing to: /rihal
|
|
58
|
+
Routing to: /rihal-add-phase {phase-slug}
|
|
59
59
|
Reason: bulk-detection threshold ({matched signal}) — auto-route avoids
|
|
60
60
|
refusing and forcing you to re-paste the list.
|
|
61
61
|
```
|
|
62
|
-
4. Dispatch `/rihal
|
|
62
|
+
4. Dispatch `/rihal-add-phase {phase-slug}` and pass `$TASK` verbatim. The add-phase workflow uses the pre-extracted task list as the phase task list — no user re-entry needed.
|
|
63
63
|
5. STOP this workflow — add-phase takes over from here.
|
|
64
64
|
|
|
65
65
|
If the bulk detection does NOT match, continue to scope_check.
|
|
@@ -76,8 +76,8 @@ If the task seems non-trivial but did NOT trigger bulk_detection above (e.g., a
|
|
|
76
76
|
|
|
77
77
|
```
|
|
78
78
|
This is a single task but looks non-trivial. Recommended:
|
|
79
|
-
/rihal
|
|
80
|
-
/rihal
|
|
79
|
+
/rihal-add-phase — for multi-file refactor / new feature / structural change
|
|
80
|
+
/rihal-plan — when scope is clear, jump straight to a SPRINT.md plan
|
|
81
81
|
|
|
82
82
|
Or paste --force-inline at the end of your input to override and try inline anyway.
|
|
83
83
|
```
|
|
@@ -136,7 +136,7 @@ Common blocker types:
|
|
|
136
136
|
|
|
137
137
|
**Stop the loop only when:**
|
|
138
138
|
- All tasks in the list are processed (done / skipped / blocked)
|
|
139
|
-
- A task touches `> 5` files (escalate the rest of the list to /rihal
|
|
139
|
+
- A task touches `> 5` files (escalate the rest of the list to /rihal-add-phase)
|
|
140
140
|
- The user types stop / cancel / pause
|
|
141
141
|
|
|
142
142
|
At the end of the loop, summarise:
|
|
@@ -191,12 +191,12 @@ No next-step suggestions. No workflow routing. Just done.
|
|
|
191
191
|
- NEVER create SPRINT.md or SUMMARY.md files directly (add-phase will, when bulk-routed)
|
|
192
192
|
- NEVER run research or plan-checking inline
|
|
193
193
|
- If bulk_detection matches, auto-route silently — do not stop and ask
|
|
194
|
-
- If a single non-bulk task exceeds 3 file edits and the user did NOT pass `--force-inline`, redirect to /rihal
|
|
194
|
+
- If a single non-bulk task exceeds 3 file edits and the user did NOT pass `--force-inline`, redirect to /rihal-add-phase or /rihal-plan
|
|
195
195
|
</guardrails>
|
|
196
196
|
|
|
197
197
|
<success_criteria>
|
|
198
|
-
- [ ] Bulk inputs are auto-routed to /rihal
|
|
198
|
+
- [ ] Bulk inputs are auto-routed to /rihal-add-phase without forcing the user to re-paste
|
|
199
199
|
- [ ] Trivial inputs are completed inline (single context, ≤3 files, conventional commit)
|
|
200
200
|
- [ ] STATE.md updated if it exists
|
|
201
|
-
- [ ] No self-referential redirects (the old quick.md redirected to /rihal
|
|
201
|
+
- [ ] No self-referential redirects (the old quick.md redirected to /rihal-quick — that infinite loop is closed)
|
|
202
202
|
</success_criteria>
|