@hanzlaa/rcode 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
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:
|
package/rihal/commands/health.md
CHANGED
package/rihal/commands/help.md
CHANGED
package/rihal/commands/import.md
CHANGED
package/rihal/commands/inbox.md
CHANGED
package/rihal/commands/init.md
CHANGED
package/rihal/commands/next.md
CHANGED
package/rihal/commands/note.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
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
|
|
3
|
-
description: Create all phases necessary to close gaps identified by `/rihal
|
|
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
|
|
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>
|
package/rihal/commands/plan.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
3
|
-
description: Convert council follow-ups or task descriptions into executable SPRINT.md files. Spawns rihal-planner to produce structured plans that /rihal
|
|
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,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
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
|
|
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
|
---
|
package/rihal/commands/prfaq.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
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
|
|
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
|
|
3
|
-
description: Alias of /rihal
|
|
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
|
|
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>
|
package/rihal/commands/quick.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
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
|
package/rihal/commands/replay.md
CHANGED
package/rihal/commands/rerun.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
3
|
-
description: "Research how to implement a phase before planning. Spawns rihal-phase-researcher with phase context. Standalone tool — /rihal
|
|
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
|
---
|
package/rihal/commands/review.md
CHANGED
package/rihal/commands/scan.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
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
|
package/rihal/commands/ship.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
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
|
|
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
|
|
package/rihal/commands/show.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
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
|
package/rihal/commands/stats.md
CHANGED
package/rihal/commands/status.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
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
|
|
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
|
package/rihal/commands/undo.md
CHANGED
package/rihal/commands/update.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
2
|
+
name: rihal-validate-phase
|
|
3
3
|
description: Audit Nyquist validation gaps for a completed phase. Generate missing tests. Update VALIDATION.md.
|
|
4
4
|
argument-hint: "<phase-number>"
|
|
5
5
|
allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion, Agent
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rihal
|
|
3
|
-
description: "Goal-backward audit — does the codebase actually deliver what the phase promised? Produces VERIFICATION.md with pass/fail. Required before /rihal
|
|
2
|
+
name: rihal-verify-phase
|
|
3
|
+
description: "Goal-backward audit — does the codebase actually deliver what the phase promised? Produces VERIFICATION.md with pass/fail. Required before /rihal-ship. Run after /rihal-execute completes."
|
|
4
4
|
argument-hint: "<phase-number>"
|
|
5
5
|
allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion, Agent
|
|
6
6
|
---
|
package/rihal/commands/why.md
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
**Honest scope declaration.** When investigating, declare what you searched, what you skipped, and what you couldn't see. Empty blind-spot lists are usually a tell that the agent didn't honestly account for what it skipped.
|
|
56
56
|
|
|
57
|
-
**Refuse out-of-lane work explicitly.** State which peer agent owns it and how to hand off. *"That's an architecture call — Waleed's lane. `/rihal
|
|
57
|
+
**Refuse out-of-lane work explicitly.** State which peer agent owns it and how to hand off. *"That's an architecture call — Waleed's lane. `/rihal-discuss waleed`."* Never silently take work that belongs to a peer.
|
|
58
58
|
|
|
59
59
|
---
|
|
60
60
|
|
|
@@ -4,14 +4,14 @@ Shared reference for all agents and workflows when they suggest the user run a d
|
|
|
4
4
|
|
|
5
5
|
## The rule
|
|
6
6
|
|
|
7
|
-
**When suggesting a `/rihal
|
|
7
|
+
**When suggesting a `/rihal-*` command, print it on a single line for copy-paste.**
|
|
8
8
|
|
|
9
9
|
The user's terminal-style interface benefits from one-line commands they can select and paste without touching line-wrap issues. Never split a suggested command across multiple lines, never bullet it, never break arguments onto separate rows.
|
|
10
10
|
|
|
11
11
|
## Good format
|
|
12
12
|
|
|
13
13
|
```
|
|
14
|
-
Run: /rihal
|
|
14
|
+
Run: /rihal-council I'm in Pakistan, USD 1000 budget, want to dropship Gaming + Creator accessories to UAE. Should I build a Next.js custom app or use Shopify?
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
One line. User selects the whole line, pastes, presses enter.
|
|
@@ -19,7 +19,7 @@ One line. User selects the whole line, pastes, presses enter.
|
|
|
19
19
|
## Bad format — do NOT do this
|
|
20
20
|
|
|
21
21
|
```
|
|
22
|
-
Run /rihal
|
|
22
|
+
Run /rihal-council with the new question:
|
|
23
23
|
"I'm in Pakistan, USD 1000 budget, want to dropship Gaming + Creator accessories to UAE. Should I build a Next.js custom app or use Shopify?"
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@ Two lines, with quotes, with a lead-in sentence. The user has to reconstruct the
|
|
|
29
29
|
|
|
30
30
|
Agents and workflows redirect when:
|
|
31
31
|
- An agent receives a question outside its domain (Sadiq gets a technical question → Waleed)
|
|
32
|
-
- A workflow gets an input type it doesn't handle (`/rihal
|
|
32
|
+
- A workflow gets an input type it doesn't handle (`/rihal-plan` gets a decision question → `/rihal-council`)
|
|
33
33
|
- The user's intent would be better served by a different command
|
|
34
34
|
|
|
35
35
|
## Template
|
|
@@ -39,7 +39,7 @@ Agents and workflows redirect when:
|
|
|
39
39
|
|
|
40
40
|
Copy-paste this instead:
|
|
41
41
|
|
|
42
|
-
/rihal
|
|
42
|
+
/rihal-<command> <exact arguments from user's original input>
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
The third line — the full command — is a single physical line, regardless of length. No wrapping. No quotes around the arguments unless the command itself requires them.
|
|
@@ -55,8 +55,8 @@ If multiple commands could fit, list each on its own line as a complete single-l
|
|
|
55
55
|
```
|
|
56
56
|
Could be either — pick one:
|
|
57
57
|
|
|
58
|
-
/rihal
|
|
59
|
-
/rihal
|
|
58
|
+
/rihal-discuss waleed <your question>
|
|
59
|
+
/rihal-council <your question>
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
Not with lead-in prose for each option.
|
|
@@ -59,7 +59,7 @@ Estimation rule: **1 token ≈ 4 characters**. Use this to predict token cost of
|
|
|
59
59
|
- 🚨 **Emergency mode**
|
|
60
60
|
- 🛑 Read ONLY what's strictly required to unblock next action
|
|
61
61
|
- 🛑 No exploratory reads, no documentation
|
|
62
|
-
- 🛑 Suggest `/rihal
|
|
62
|
+
- 🛑 Suggest `/rihal-pause-work` if task requires more context
|
|
63
63
|
- 🛑 Warn user: **"Context critical ({percent}%). Resume work to continue."**
|
|
64
64
|
|
|
65
65
|
**Behavior:** Survival — preserve tokens for final output only.
|
|
@@ -76,7 +76,7 @@ def check_budget(current_tokens, config):
|
|
|
76
76
|
used_pct = (current_tokens / budget) * 100
|
|
77
77
|
|
|
78
78
|
if used_pct >= 80:
|
|
79
|
-
return 'POOR', "Context critical. Suggest /rihal
|
|
79
|
+
return 'POOR', "Context critical. Suggest /rihal-pause-work"
|
|
80
80
|
elif used_pct >= 60:
|
|
81
81
|
return 'DEGRADING', "Context at {used_pct}%. Read frontmatter only."
|
|
82
82
|
elif used_pct >= 30:
|