@hanzlaa/rcode 3.6.14 → 3.6.16

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 (127) hide show
  1. package/AGENTS.md +1 -1
  2. package/CONTRIBUTING.md +1 -1
  3. package/README.md +3 -3
  4. package/cli/index.js +5 -1
  5. package/cli/lib/manifest.cjs +51 -43
  6. package/dist/rcode.js +32 -35
  7. package/package.json +3 -2
  8. package/rihal/bin/rihal-tools.cjs +20 -0
  9. package/rihal/commands/add-todo.md +1 -1
  10. package/rihal/commands/check-implementation-readiness.md +18 -0
  11. package/rihal/commands/create-architecture.md +18 -0
  12. package/rihal/commands/debug.md +1 -1
  13. package/rihal/commands/edit-prd.md +18 -0
  14. package/rihal/commands/execute-milestone.md +2 -2
  15. package/rihal/commands/memory-audit.md +1 -1
  16. package/rihal/commands/memory-distill.md +1 -1
  17. package/rihal/commands/memory-init.md +1 -1
  18. package/rihal/commands/memory-update.md +1 -1
  19. package/rihal/commands/plan-milestone.md +2 -2
  20. package/rihal/commands/progress.md +1 -1
  21. package/rihal/commands/resume-work.md +1 -1
  22. package/rihal/commands/retrospective.md +18 -0
  23. package/rihal/commands/review-edge-case-hunter.md +18 -0
  24. package/rihal/commands/scaffold-milestone.md +2 -2
  25. package/rihal/commands/scaffold-project.md +18 -0
  26. package/rihal/commands/validate-prd.md +18 -0
  27. package/rihal/references/agent-contracts.md +46 -20
  28. package/rihal/references/model-profile-resolution.md +41 -5
  29. package/rihal/references/phase-argument-parsing.md +31 -7
  30. package/rihal/references/revision-loop.md +36 -9
  31. package/rihal/references/universal-anti-patterns.md +56 -12
  32. package/rihal/skills/SKILLS_INDEX.md +34 -5
  33. package/rihal/skills/actions/1-analysis/research/rihal-domain-research/SKILL.md +1 -0
  34. package/rihal/skills/actions/1-analysis/research/rihal-market-research/SKILL.md +1 -0
  35. package/rihal/skills/actions/1-analysis/research/rihal-technical-research/SKILL.md +1 -0
  36. package/rihal/skills/actions/1-analysis/rihal-document-project/SKILL.md +1 -0
  37. package/rihal/skills/actions/1-analysis/rihal-prfaq/SKILL.md +1 -0
  38. package/rihal/skills/actions/1-analysis/rihal-product-brief/SKILL.md +1 -0
  39. package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/SKILL.md +1 -0
  40. package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/workflow.md +12 -0
  41. package/rihal/skills/actions/2-plan/rihal-create-milestone/SKILL.md +1 -0
  42. package/rihal/skills/actions/2-plan/rihal-create-prd/SKILL.md +1 -0
  43. package/rihal/skills/actions/2-plan/rihal-create-story/SKILL.md +1 -0
  44. package/rihal/skills/actions/2-plan/rihal-create-ux-design/SKILL.md +1 -0
  45. package/rihal/skills/actions/2-plan/rihal-edit-prd/SKILL.md +1 -0
  46. package/rihal/skills/actions/2-plan/rihal-frontend-design/SKILL.md +1 -0
  47. package/rihal/skills/actions/2-plan/rihal-validate-prd/SKILL.md +1 -0
  48. package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/SKILL.md +1 -0
  49. package/rihal/skills/actions/3-solutioning/rihal-create-architecture/SKILL.md +1 -0
  50. package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/SKILL.md +1 -0
  51. package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/SKILL.md +1 -0
  52. package/rihal/skills/actions/4-implementation/rihal-code-review/SKILL.md +1 -0
  53. package/rihal/skills/actions/4-implementation/rihal-correct-course/SKILL.md +1 -0
  54. package/rihal/skills/actions/4-implementation/rihal-debug/SKILL.md +3 -17
  55. package/rihal/skills/actions/4-implementation/rihal-dev-story/SKILL.md +1 -0
  56. package/rihal/skills/actions/4-implementation/rihal-dev-story/workflow.md +13 -0
  57. package/rihal/skills/actions/4-implementation/rihal-qa-generate-e2e-tests/SKILL.md +1 -0
  58. package/rihal/skills/actions/4-implementation/rihal-retrospective/SKILL.md +1 -0
  59. package/rihal/skills/actions/4-implementation/rihal-retrospective/workflow.md +12 -0
  60. package/rihal/skills/actions/4-implementation/rihal-scaffold-project/SKILL.md +1 -0
  61. package/rihal/skills/actions/4-implementation/rihal-sprint-planning/SKILL.md +1 -0
  62. package/rihal/skills/actions/4-implementation/rihal-sprint-planning/workflow.md +12 -0
  63. package/rihal/skills/actions/4-implementation/rihal-sprint-status/SKILL.md +1 -0
  64. package/rihal/skills/agents/ahmed-hassani-director/SKILL.md +1 -0
  65. package/rihal/skills/agents/dalil-scout/SKILL.md +1 -0
  66. package/rihal/skills/agents/fatima-qa/SKILL.md +1 -0
  67. package/rihal/skills/agents/haitham-frontend/SKILL.md +1 -0
  68. package/rihal/skills/agents/hanzla-engineer/SKILL.md +1 -0
  69. package/rihal/skills/agents/hussain-pm/SKILL.md +1 -0
  70. package/rihal/skills/agents/hussain-sm/SKILL.md +1 -0
  71. package/rihal/skills/agents/layla-designer/SKILL.md +1 -0
  72. package/rihal/skills/agents/majlis-council/SKILL.md +1 -0
  73. package/rihal/skills/agents/mariam-marketing/SKILL.md +1 -0
  74. package/rihal/skills/agents/nasser-eng-manager/SKILL.md +1 -0
  75. package/rihal/skills/agents/noor-writer/SKILL.md +1 -0
  76. package/rihal/skills/agents/raees-orchestrator/SKILL.md +1 -0
  77. package/rihal/skills/agents/rihal-cross-platform-auditor/SKILL.md +1 -0
  78. package/rihal/skills/agents/rihal-dep-auditor/SKILL.md +1 -0
  79. package/rihal/skills/agents/rihal-deviation-analyzer/SKILL.md +1 -0
  80. package/rihal/skills/agents/rihal-i18n-auditor/SKILL.md +1 -0
  81. package/rihal/skills/agents/rihal-observability-auditor/SKILL.md +1 -0
  82. package/rihal/skills/agents/sadiq-analyst/SKILL.md +1 -0
  83. package/rihal/skills/agents/waleed-architect/SKILL.md +1 -0
  84. package/rihal/skills/agents/yousef-backend/SKILL.md +1 -0
  85. package/rihal/skills/agents/zahra-branding/SKILL.md +1 -0
  86. package/rihal/skills/agents/zayd-ml/SKILL.md +1 -0
  87. package/rihal/skills/core/rihal-init/SKILL.md +1 -1
  88. package/rihal/skills/core/rihal-memory-audit/SKILL.md +5 -5
  89. package/rihal/skills/core/rihal-memory-distill/SKILL.md +5 -5
  90. package/rihal/skills/core/rihal-memory-init/SKILL.md +7 -7
  91. package/rihal/skills/core/rihal-memory-update/SKILL.md +4 -4
  92. package/rihal/team.yaml +56 -0
  93. package/rihal/templates/UAT.md +69 -18
  94. package/rihal/templates/memory/INDEX.md +2 -2
  95. package/rihal/templates/memory/distillates/project.distillate.md +2 -2
  96. package/rihal/templates/memory/distillates/stack.distillate.md +2 -2
  97. package/rihal/templates/memory/project/stack.md +1 -1
  98. package/rihal/templates/summary.md +54 -37
  99. package/rihal/templates/verification-report.md +72 -17
  100. package/rihal/workflows/autonomous.md +2 -2
  101. package/rihal/workflows/create-prd.md +1 -1
  102. package/rihal/workflows/diagnose-issues.md +75 -22
  103. package/rihal/workflows/discuss-phase.md +1 -1
  104. package/rihal/workflows/edit-prd.md +1 -1
  105. package/rihal/workflows/health.md +6 -6
  106. package/rihal/workflows/help.md +0 -1
  107. package/rihal/workflows/memory-audit.md +2 -2
  108. package/rihal/workflows/memory-distill.md +2 -2
  109. package/rihal/workflows/memory-init.md +2 -2
  110. package/rihal/workflows/memory-update.md +2 -2
  111. package/rihal/workflows/research-phase.md +1 -1
  112. package/rihal/workflows/scaffold-project.md +1 -1
  113. package/rihal/workflows/validate-prd.md +2 -2
  114. package/rihal/workflows/verify-work.md +1 -1
  115. package/server/lib/html/client/components/App.js +56 -19
  116. package/server/lib/html/client/components/Sidebar.js +13 -0
  117. package/server/lib/html/client/components/Topbar.js +6 -3
  118. package/server/lib/html/client/store.js +30 -0
  119. package/server/lib/html/client/util.js +0 -10
  120. package/server/lib/html/client/views/FilesView.js +4 -1
  121. package/server/lib/html/client/views/KanbanView.js +15 -4
  122. package/server/lib/html/client/views/MemoryView.js +6 -6
  123. package/server/lib/html/client/views/OrchestrationView.js +12 -2
  124. package/server/lib/html/client/views/OverviewView.js +44 -4
  125. package/server/lib/html/client.js +7 -0
  126. package/server/lib/html/css.js +16 -0
  127. package/server/lib/scanner.js +7 -2
@@ -3,6 +3,19 @@
3
3
  **Goal:** Execute story implementation following a context filled story spec file.
4
4
 
5
5
  **Your Role:** Developer implementing the story.
6
+
7
+ ## State-sync rule (NO EXCEPTIONS)
8
+
9
+ After this workflow writes any SUMMARY.md, updates a story status in epics.md, or marks a phase complete:
10
+
11
+ ```bash
12
+ node .rihal/bin/rihal-tools.cjs state sync --from-disk
13
+ ```
14
+
15
+ This keeps `.rihal/state.json` in sync with disk — `/rihal:progress`, `/rihal:status`, and `/rihal:execute` all read state.json. Skipping the sync silently drifts them. See `../../_shared/state-sync-rule.md`.
16
+
17
+ ---
18
+
6
19
  - Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}
7
20
  - Generate all documents in {document_output_language}
8
21
  - Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List, Change Log, and Status
@@ -15,6 +15,7 @@ triggers:
15
15
  - "qa this
16
16
  feature"
17
17
  - "generate integration tests"
18
+ user-invocable: true
18
19
  ---
19
20
  @.rihal/references/karpathy-guidelines.md
20
21
 
@@ -14,6 +14,7 @@ triggers:
14
14
  - "sprint retrospective"
15
15
  - "review completed work"
16
16
  - "extract learnings from this sprint"
17
+ user-invocable: true
17
18
  ---
18
19
  @.rihal/references/karpathy-guidelines.md
19
20
 
@@ -3,6 +3,18 @@
3
3
  **Goal:** Post-epic review to extract lessons and assess success.
4
4
 
5
5
  **Your Role:** Scrum Master facilitating retrospective.
6
+
7
+ ## State-sync rule (NO EXCEPTIONS)
8
+
9
+ After this workflow writes any `.planning/` artifact (ROADMAP.md, epics.md, sprint-*.md, SUMMARY.md, etc.) or updates phase/story status:
10
+
11
+ ```bash
12
+ node .rihal/bin/rihal-tools.cjs state sync --from-disk
13
+ ```
14
+
15
+ This keeps `.rihal/state.json` in sync with disk — `/rihal:progress`, `/rihal:status`, and `/rihal:execute` all read state.json. Skipping the sync silently drifts them. See `../../_shared/state-sync-rule.md`.
16
+
17
+ ---
6
18
  - No time estimates — NEVER mention hours, days, weeks, months, or ANY time-based predictions. AI has fundamentally changed development speed.
7
19
  - Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}
8
20
  - Generate all documents in {document_output_language}
@@ -18,6 +18,7 @@ triggers:
18
18
  - "create from template"
19
19
  - "rihal new project"
20
20
  - "start a new rihal project"
21
+ user-invocable: true
21
22
  ---
22
23
  @.rihal/references/karpathy-guidelines.md
23
24
 
@@ -25,6 +25,7 @@ triggers:
25
25
  - "أنشئ خطة السباق"
26
26
  - "السباق التالي"
27
27
  - "جدولة السبرنت"
28
+ user-invocable: true
28
29
  ---
29
30
  @.rihal/references/karpathy-guidelines.md
30
31
 
@@ -4,6 +4,18 @@
4
4
 
5
5
  **Your Role:** You are a Scrum Master generating and maintaining sprint tracking. Parse epic files, detect story statuses, and produce a structured sprint-status.yaml.
6
6
 
7
+ ## State-sync rule (NO EXCEPTIONS)
8
+
9
+ After this workflow writes any `.planning/` artifact (ROADMAP.md, epics.md, sprint-*.md, SUMMARY.md, etc.) or updates phase/story status:
10
+
11
+ ```bash
12
+ node .rihal/bin/rihal-tools.cjs state sync --from-disk
13
+ ```
14
+
15
+ This keeps `.rihal/state.json` in sync with disk — `/rihal:progress`, `/rihal:status`, and `/rihal:execute` all read state.json. Skipping the sync silently drifts them. See `../../_shared/state-sync-rule.md`.
16
+
17
+ ---
18
+
7
19
  ---
8
20
 
9
21
  ## CRITICAL RULES (NO EXCEPTIONS)
@@ -13,6 +13,7 @@ triggers:
13
13
  - "generate status report"
14
14
  - "sprint progress"
15
15
  - "where are we in the sprint"
16
+ user-invocable: true
16
17
  ---
17
18
  @.rihal/references/karpathy-guidelines.md
18
19
 
@@ -38,6 +38,7 @@ triggers:
38
38
  - "معايير الهندسة"
39
39
  - "تنسيق الفرق"
40
40
  - "مقاييس التسليم"
41
+ user-invocable: true
41
42
  ---
42
43
  @.rihal/references/karpathy-guidelines.md
43
44
 
@@ -37,6 +37,7 @@ triggers:
37
37
  - "استكشف الكود"
38
38
  - "خريطة الكود"
39
39
  - "ما هو في المستودع"
40
+ user-invocable: true
40
41
  ---
41
42
  @.rihal/references/karpathy-guidelines.md
42
43
 
@@ -39,6 +39,7 @@ triggers:
39
39
  - "تغطية الاختبارات"
40
40
  - "خطة الاختبار"
41
41
  - "ضمان الجودة"
42
+ user-invocable: true
42
43
  ---
43
44
  @.rihal/references/karpathy-guidelines.md
44
45
 
@@ -39,6 +39,7 @@ triggers:
39
39
  - "تصميم RTL"
40
40
  - "صفحة Next"
41
41
  - "مكون React"
42
+ user-invocable: true
42
43
  ---
43
44
  @.rihal/references/karpathy-guidelines.md
44
45
  @.rihal/references/design-tokens.md
@@ -38,6 +38,7 @@ triggers:
38
38
  - "ابني هذه الميزة"
39
39
  - "أصلح الخطأ"
40
40
  - "إعادة هيكلة"
41
+ user-invocable: true
41
42
  ---
42
43
  @.rihal/references/karpathy-guidelines.md
43
44
 
@@ -40,6 +40,7 @@ triggers:
40
40
  - "قصص المستخدم"
41
41
  - "معايير القبول"
42
42
  - "خارطة المنتج"
43
+ user-invocable: true
43
44
  ---
44
45
  @.rihal/references/karpathy-guidelines.md
45
46
 
@@ -37,6 +37,7 @@ triggers:
37
37
  - "مراجعة السباق"
38
38
  - "إزالة العوائق"
39
39
  - "حالة السباق"
40
+ user-invocable: true
40
41
  ---
41
42
  @.rihal/references/karpathy-guidelines.md
42
43
 
@@ -37,6 +37,7 @@ triggers:
37
37
  - "مراجعة التصميم"
38
38
  - "تجربة الاستخدام"
39
39
  - "نظام التصميم"
40
+ user-invocable: true
40
41
  ---
41
42
  @.rihal/references/karpathy-guidelines.md
42
43
 
@@ -41,6 +41,7 @@ triggers:
41
41
  - "استشارة جماعية"
42
42
  - "ما رأي الفريق"
43
43
  - "قرار جماعي"
44
+ user-invocable: true
44
45
  ---
45
46
  @.rihal/references/karpathy-guidelines.md
46
47
 
@@ -41,6 +41,7 @@ triggers:
41
41
  - "محتوى تسويقي"
42
42
  - "السوق الخليجي"
43
43
  - "تحديد الجمهور"
44
+ user-invocable: true
44
45
  ---
45
46
  @.rihal/references/karpathy-guidelines.md
46
47
 
@@ -41,6 +41,7 @@ triggers:
41
41
  - "خطة التوظيف"
42
42
  - "صحة الفريق"
43
43
  - "نمو الموظفين"
44
+ user-invocable: true
44
45
  ---
45
46
  @.rihal/references/karpathy-guidelines.md
46
47
 
@@ -39,6 +39,7 @@ triggers:
39
39
  - "اكتب README"
40
40
  - "دليل المستخدم"
41
41
  - "ملاحظات الإصدار"
42
+ user-invocable: true
42
43
  ---
43
44
  @.rihal/references/karpathy-guidelines.md
44
45
 
@@ -38,6 +38,7 @@ triggers:
38
38
  - "توجيه المهمة"
39
39
  - "ترتيب التنفيذ"
40
40
  - "من يتولى"
41
+ user-invocable: true
41
42
  ---
42
43
  @.rihal/references/karpathy-guidelines.md
43
44
 
@@ -26,6 +26,7 @@ not-for:
26
26
  - Docker / container portability (use rihal-khalid for infra)
27
27
  - browser compatibility (use rihal-haitham)
28
28
  allowed-tools: Read, Bash, Write
29
+ user-invocable: true
29
30
  ---
30
31
 
31
32
  ## Overview
@@ -26,6 +26,7 @@ not-for:
26
26
  - license compliance audits
27
27
  - bundle size analysis (use rihal-perf)
28
28
  allowed-tools: Read, Bash, Write
29
+ user-invocable: true
29
30
  ---
30
31
 
31
32
  ## Overview
@@ -22,6 +22,7 @@ triggers:
22
22
  - "deviation analyzer"
23
23
  - "انحراف الخطة"
24
24
  - "تحليل الانحراف"
25
+ user-invocable: true
25
26
  ---
26
27
  @.rihal/references/response-style.md
27
28
 
@@ -27,6 +27,7 @@ not-for:
27
27
  - RTL CSS flipping (use rihal-haitham for frontend RTL)
28
28
  - content translation (use a human translator)
29
29
  allowed-tools: Read, Bash, Write
30
+ user-invocable: true
30
31
  ---
31
32
 
32
33
  ## Overview
@@ -28,6 +28,7 @@ not-for:
28
28
  - performance monitoring (use rihal-perf)
29
29
  - log aggregation setup (use rihal-khalid)
30
30
  allowed-tools: Read, Bash, Write
31
+ user-invocable: true
31
32
  ---
32
33
 
33
34
  ## Overview
@@ -36,6 +36,7 @@ triggers:
36
36
  - "تحليل تنافسي"
37
37
  - "استراتيجية المنتج"
38
38
  - "ماذا نبني"
39
+ user-invocable: true
39
40
  ---
40
41
  @.rihal/references/karpathy-guidelines.md
41
42
 
@@ -39,6 +39,7 @@ triggers:
39
39
  - "اختر التقنية"
40
40
  - "قرار معماري"
41
41
  - "مراجعة معمارية"
42
+ user-invocable: true
42
43
  ---
43
44
  @.rihal/references/karpathy-guidelines.md
44
45
 
@@ -39,6 +39,7 @@ triggers:
39
39
  - "صمم API"
40
40
  - "قاعدة البيانات"
41
41
  - "خدمة خلفية"
42
+ user-invocable: true
42
43
  ---
43
44
  @.rihal/references/karpathy-guidelines.md
44
45
 
@@ -44,6 +44,7 @@ triggers:
44
44
  - "خطوط عربية"
45
45
  - "إرشادات العلامة"
46
46
  - "صوت العلامة"
47
+ user-invocable: true
47
48
  ---
48
49
  @.rihal/references/karpathy-guidelines.md
49
50
 
@@ -42,6 +42,7 @@ triggers:
42
42
  - "نموذج ذكاء اصطناعي"
43
43
  - "هندسة الموجهات"
44
44
  - "معالجة اللغة العربية"
45
+ user-invocable: true
45
46
  ---
46
47
  @.rihal/references/karpathy-guidelines.md
47
48
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: rihal-init
3
3
  internal: true
4
- description: "INTERNAL config loader called by other skills, not by users directly. Loads module config vars from .rihal/. Install puts this in .rihal/skills/, not .claude/skills/."
4
+ description: "INTERNAL config loader for skills. Loads .rihal/ vars; lives in .rihal/skills/ not .claude/skills/."
5
5
  argument-hint: "[--module=module_code] [--vars=var1:default1,var2] [--skill-path=/path/to/calling/skill]"
6
6
  triggers:
7
7
  - "init"
@@ -4,7 +4,7 @@ description: >
4
4
  Audit the Memory Bank for stale entries, contradictions, missing sections,
5
5
  and content that should be archived. Produces a report with severity-tagged
6
6
  findings and one-line fix suggestions. Activates when the user says
7
- "audit memory bank", "check memory bank", "/rcode:memory-audit",
7
+ "audit memory bank", "check memory bank", "/rihal-memory-audit",
8
8
  "memory bank ka audit", "find stale entries", "is my memory bank healthy".
9
9
  Optional --fix flag patches trivial items (typos, stale dates, broken paths)
10
10
  atomically; non-trivial findings always report-only.
@@ -19,7 +19,7 @@ triggers:
19
19
  - "auto-fix memory bank"
20
20
  - "memory bank --fix"
21
21
  - "patch trivial memory drift"
22
- - "/rcode:memory-audit"
22
+ - "/rihal-memory-audit"
23
23
  - "/rihal-memory-audit"
24
24
  # Roman Urdu / Hindi
25
25
  - "memory bank ka audit"
@@ -72,7 +72,7 @@ CRITICAL (1)
72
72
  WARN (3)
73
73
  milestones/current.md
74
74
  └─ Milestone target close was 2026-02-01 (84 days ago) but file still says "active"
75
- Fix: archive via /rcode:memory-update or move to milestones/archive/
75
+ Fix: archive via /rihal-memory-update or move to milestones/archive/
76
76
 
77
77
  incidents/known-issues.md
78
78
  └─ Issue "SSO Safari 16 fails" — real fix was planned for M2 (closed)
@@ -80,14 +80,14 @@ WARN (3)
80
80
 
81
81
  distillates/project.distillate.md
82
82
  └─ Source digest stale — 4 source files modified since last regenerate
83
- Fix: /rcode:memory-distill
83
+ Fix: /rihal-memory-distill
84
84
 
85
85
  INFO (2)
86
86
  project/glossary.md
87
87
  └─ Empty — no terms recorded yet
88
88
  people/team.md
89
89
  └─ Coverage table contains 3 unfilled cells
90
- Fix: /rcode:memory-update with team coverage info
90
+ Fix: /rihal-memory-update with team coverage info
91
91
  ```
92
92
 
93
93
  ## Examples
@@ -5,7 +5,7 @@ description: >
5
5
  compressions of Memory Bank source files for fast LLM context loading.
6
6
  Produces `distillates/project.distillate.md` and `distillates/stack.distillate.md`.
7
7
  Activates when the user says "distill memory bank", "regenerate distillates",
8
- "refresh distillates", "/rcode:memory-distill", "compress memory bank",
8
+ "refresh distillates", "/rihal-memory-distill", "compress memory bank",
9
9
  "memory bank ko compress karo". Do NOT use for: bootstrap (use rcode-memory-init),
10
10
  surgical updates (use rcode-memory-update), or finding stale entries (use
11
11
  rcode-memory-audit). For non-Memory-Bank document compression, use the
@@ -16,7 +16,7 @@ triggers:
16
16
  - "refresh distillates"
17
17
  - "compress memory bank"
18
18
  - "memory bank ko compress karo"
19
- - "/rcode:memory-distill"
19
+ - "/rihal-memory-distill"
20
20
  user-invocable: false
21
21
  ---
22
22
  @.rihal/references/karpathy-guidelines.md
@@ -39,7 +39,7 @@ Read the Memory Bank source files and produce two LLM-optimised distillates: a f
39
39
  ---
40
40
  generated: true
41
41
  do-not-edit: true
42
- regenerate-with: /rcode:memory-distill
42
+ regenerate-with: /rihal-memory-distill
43
43
  source-digest: <hash>
44
44
  generated-at: <ISO datetime>
45
45
  source-files: [list of files included]
@@ -69,14 +69,14 @@ Skip notice: source files unchanged since last run — no rewrite was needed.
69
69
  ## Examples
70
70
 
71
71
  **Happy path**
72
- User: `/rcode:memory-distill`
72
+ User: `/rihal-memory-distill`
73
73
  Skill: reads sources, regenerates both distillates, prints summary. ~10 seconds for a typical project.
74
74
 
75
75
  **No-op skip**
76
76
  User runs distill twice in a row without changing source files. Second run reports "source files unchanged" and exits without rewriting.
77
77
 
78
78
  **Force refresh**
79
- User: `/rcode:memory-distill --force`
79
+ User: `/rihal-memory-distill --force`
80
80
  Skill: regenerates regardless of digest match. Useful when distillate format itself changes.
81
81
 
82
82
  **Negative — used on non-memory docs**
@@ -5,7 +5,7 @@ description: >
5
5
  `rihal/templates/memory/` into `.rihal/memory/`, then asks 5 questions to
6
6
  populate the most-used files (stack, current milestone, primary stakeholder).
7
7
  Activates when the user says "init memory bank", "bootstrap memory",
8
- "set up memory bank", "/rcode:memory-init", "create memory bank",
8
+ "set up memory bank", "/rihal-memory-init", "create memory bank",
9
9
  "memory bank initialise", "memory bank kaise banayen". Do NOT use for:
10
10
  updating an existing Memory Bank (use rcode-memory-update), regenerating
11
11
  distillates (use rcode-memory-distill), or finding stale entries (use
@@ -17,7 +17,7 @@ triggers:
17
17
  - "set up memory bank"
18
18
  - "create memory bank"
19
19
  - "memory bank initialise"
20
- - "/rcode:memory-init"
20
+ - "/rihal-memory-init"
21
21
  - "/rihal-memory-init"
22
22
  # Roman Urdu / Hindi
23
23
  - "memory bank kaise banayen"
@@ -49,7 +49,7 @@ Initialise the `.rihal/memory/` directory in the current project. Copies the tem
49
49
  3. Current milestone name → seeds `milestones/current.md` Milestone Name
50
50
  4. Primary external stakeholder (name + role) → seeds `people/stakeholders.md`
51
51
  5. Any known production issue today → seeds `incidents/known-issues.md`
52
- 5. **Print the summary.** Show the file tree, where to add more, and recommend running `/rcode:memory-distill` once `project/stack.md` is fleshed out.
52
+ 5. **Print the summary.** Show the file tree, where to add more, and recommend running `/rihal-memory-distill` once `project/stack.md` is fleshed out.
53
53
  6. **Update `.rihal/state.json`** to record `memory_bank.initialised_at` so the dashboard shows it as live.
54
54
 
55
55
  ## Output Format
@@ -69,18 +69,18 @@ Files still empty (fill as you go):
69
69
  • people/team.md
70
70
  • change-records/
71
71
 
72
- Next step: run /rcode:memory-distill to generate fast-load distillates.
72
+ Next step: run /rihal-memory-distill to generate fast-load distillates.
73
73
  ```
74
74
 
75
75
  ## Examples
76
76
 
77
77
  **Happy path**
78
- User: `/rcode:memory-init`
78
+ User: `/rihal-memory-init`
79
79
  Skill: asks 5 questions, populates files, prints summary, updates state.json. Total time: under two minutes.
80
80
 
81
81
  **Already initialised**
82
- User: `/rcode:memory-init` on a project that already has `.rihal/memory/INDEX.md`.
83
- Skill: refuses to overwrite. Lists files, shows which are still empty, suggests `/rcode:memory-update` for surgical edits.
82
+ User: `/rihal-memory-init` on a project that already has `.rihal/memory/INDEX.md`.
83
+ Skill: refuses to overwrite. Lists files, shows which are still empty, suggests `/rihal-memory-update` for surgical edits.
84
84
 
85
85
  **Negative — wrong skill**
86
86
  User wants to "update the stakeholder list". Do not use this skill. Use `rcode-memory-update`.
@@ -5,7 +5,7 @@ description: >
5
5
  Adds an entry to decisions.md, appends a known issue, updates the current
6
6
  milestone, or extends the stakeholder list — without rewriting whole files.
7
7
  Activates when the user says "remember this decision", "log this decision",
8
- "add this to memory bank", "update memory bank", "/rcode:memory-update",
8
+ "add this to memory bank", "update memory bank", "/rihal-memory-update",
9
9
  "save this to memory", "yeh memory mein add karo", or after a council
10
10
  session that produced a clear decision. Do NOT use for: initial bootstrap
11
11
  (use rcode-memory-init), regenerating distillates (use rcode-memory-distill),
@@ -17,7 +17,7 @@ triggers:
17
17
  - "add this to memory bank"
18
18
  - "update memory bank"
19
19
  - "save this to memory"
20
- - "/rcode:memory-update"
20
+ - "/rihal-memory-update"
21
21
  - "/rihal-memory-update"
22
22
  # Roman Urdu / Hindi
23
23
  - "yeh memory mein add karo"
@@ -53,7 +53,7 @@ Append or update a single Memory Bank file based on the current conversation con
53
53
  3. **Append using the file's documented format.** Each Memory Bank file documents its own entry format at the top — follow it exactly.
54
54
  4. **Never overwrite.** If the user wants to *change* an existing entry, refuse and direct them to edit the file directly. This skill is append-only for safety.
55
55
  5. **Stamp with date** in `YYYY-MM-DD` format.
56
- 6. **Suggest distillate refresh** if the update was substantive (`/rcode:memory-distill`).
56
+ 6. **Suggest distillate refresh** if the update was substantive (`/rihal-memory-distill`).
57
57
 
58
58
  ## Output Format
59
59
 
@@ -64,7 +64,7 @@ Append or update a single Memory Bank file based on the current conversation con
64
64
  **Decision:** Upgrade primary database to Postgres 16.4.
65
65
  **Rationale:** ...
66
66
 
67
- Tip: run /rcode:memory-distill to refresh the project distillate.
67
+ Tip: run /rihal-memory-distill to refresh the project distillate.
68
68
  ```
69
69
 
70
70
  ## Examples
package/rihal/team.yaml CHANGED
@@ -85,6 +85,20 @@ agents:
85
85
  - backlog
86
86
  description: Scope, requirements, PRD writing, user stories, and backlog curation.
87
87
 
88
+ - id: rihal-hussain-sm
89
+ name: Hussain (حسين)
90
+ skill_path: rihal/skills/agents/hussain-sm
91
+ role: Scrum Master
92
+ authority_level: product
93
+ domain_keywords:
94
+ - sprint-planning
95
+ - story-preparation
96
+ - sprint-status
97
+ - retrospective
98
+ - course-correction
99
+ - agile-ceremonies
100
+ description: Sprint planning, story preparation, sprint status reporting, retrospectives, and mid-sprint course correction.
101
+
88
102
  - id: rihal-yousef
89
103
  name: Yousef (يوسف)
90
104
  file_path: rihal/agents/rihal-yousef.md
@@ -272,6 +286,48 @@ agents:
272
286
  - migrations
273
287
  description: Generalist engineer for implementation tasks spanning frontend and backend. Pairs with Hanzla on complex stories.
274
288
 
289
+ - id: rihal-dalil-scout
290
+ name: Dalil (دليل)
291
+ skill_path: rihal/skills/agents/dalil-scout
292
+ role: Codebase Scout
293
+ authority_level: analysis
294
+ domain_keywords:
295
+ - codebase-discovery
296
+ - repository-exploration
297
+ - topic-sweep
298
+ - architecture-mapping
299
+ - integrations-audit
300
+ - project-structure
301
+ description: Repository discovery, multi-root exploration, focused topic sweeps, and structured codebase documents.
302
+
303
+ - id: rihal-raees-orchestrator
304
+ name: Raees (رئيس)
305
+ skill_path: rihal/skills/agents/raees-orchestrator
306
+ role: Project Orchestration Director
307
+ authority_level: strategic
308
+ domain_keywords:
309
+ - orchestration
310
+ - dispatch
311
+ - work-routing
312
+ - phase-sequencing
313
+ - team-coordination
314
+ - handoffs
315
+ description: Dispatches work to the right specialists, sequences phases, identifies parallel vs sequential work, and coordinates handoffs.
316
+
317
+ - id: rihal-majlis-council
318
+ name: Majlis (مجلس)
319
+ skill_path: rihal/skills/agents/majlis-council
320
+ role: Multi-Agent Council
321
+ authority_level: strategic
322
+ domain_keywords:
323
+ - council
324
+ - team-consultation
325
+ - multi-agent-discussion
326
+ - crisis-mode
327
+ - incident-response
328
+ - cross-domain
329
+ description: Convenes the Rihal team to discuss any topic, collects perspectives from all relevant specialists, and delivers a synthesised answer with dissent noted.
330
+
275
331
  utility_agents:
276
332
  - id: rihal-planner
277
333
  name: Rihal Planner