@hanzlaa/rcode 3.6.8 → 3.6.15
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/AGENTS.md +1 -1
- package/CONTRIBUTING.md +1 -1
- package/README.md +3 -3
- package/cli/generate-command-skills.cjs +5 -12
- package/cli/index.js +5 -1
- package/cli/lib/manifest.cjs +51 -43
- package/dist/rcode.js +32 -35
- package/package.json +3 -2
- package/rihal/bin/rihal-tools.cjs +45 -24
- package/rihal/commands/add-todo.md +1 -1
- package/rihal/commands/check-implementation-readiness.md +18 -0
- package/rihal/commands/create-architecture.md +18 -0
- package/rihal/commands/debug.md +1 -1
- package/rihal/commands/edit-prd.md +18 -0
- package/rihal/commands/memory-audit.md +1 -1
- package/rihal/commands/memory-distill.md +1 -1
- package/rihal/commands/memory-init.md +1 -1
- package/rihal/commands/memory-update.md +1 -1
- package/rihal/commands/progress.md +1 -1
- package/rihal/commands/resume-work.md +1 -1
- package/rihal/commands/retrospective.md +18 -0
- package/rihal/commands/review-edge-case-hunter.md +18 -0
- package/rihal/commands/scaffold-project.md +18 -0
- package/rihal/commands/validate-prd.md +18 -0
- package/rihal/references/agent-contracts.md +46 -20
- package/rihal/references/continuation-format.md +5 -6
- package/rihal/references/model-profile-resolution.md +41 -5
- package/rihal/references/phase-argument-parsing.md +31 -7
- package/rihal/references/research-synthesis-playbook.md +1 -1
- package/rihal/references/revision-loop.md +36 -9
- package/rihal/references/universal-anti-patterns.md +56 -12
- package/rihal/skills/SKILLS_INDEX.md +34 -5
- package/rihal/skills/actions/1-analysis/research/rihal-domain-research/SKILL.md +1 -0
- package/rihal/skills/actions/1-analysis/research/rihal-market-research/SKILL.md +1 -0
- package/rihal/skills/actions/1-analysis/research/rihal-technical-research/SKILL.md +1 -0
- package/rihal/skills/actions/1-analysis/rihal-document-project/SKILL.md +1 -0
- package/rihal/skills/actions/1-analysis/rihal-prfaq/SKILL.md +1 -0
- package/rihal/skills/actions/1-analysis/rihal-product-brief/SKILL.md +1 -0
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/SKILL.md +1 -0
- package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/workflow.md +12 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/SKILL.md +1 -0
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-06-phase-stubs.md +1 -1
- package/rihal/skills/actions/2-plan/rihal-create-milestone/steps/step-10-complete.md +1 -1
- package/rihal/skills/actions/2-plan/rihal-create-prd/SKILL.md +1 -0
- package/rihal/skills/actions/2-plan/rihal-create-story/SKILL.md +1 -0
- package/rihal/skills/actions/2-plan/rihal-create-ux-design/SKILL.md +1 -0
- package/rihal/skills/actions/2-plan/rihal-edit-prd/SKILL.md +1 -0
- package/rihal/skills/actions/2-plan/rihal-frontend-design/SKILL.md +1 -0
- package/rihal/skills/actions/2-plan/rihal-validate-prd/SKILL.md +1 -0
- package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/SKILL.md +1 -0
- package/rihal/skills/actions/3-solutioning/rihal-create-architecture/SKILL.md +1 -0
- package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/SKILL.md +1 -0
- package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/SKILL.md +1 -0
- package/rihal/skills/actions/4-implementation/rihal-code-review/SKILL.md +1 -0
- package/rihal/skills/actions/4-implementation/rihal-correct-course/SKILL.md +1 -0
- package/rihal/skills/actions/4-implementation/rihal-debug/SKILL.md +4 -16
- package/rihal/skills/actions/4-implementation/rihal-dev-story/SKILL.md +1 -0
- package/rihal/skills/actions/4-implementation/rihal-dev-story/workflow.md +13 -0
- package/rihal/skills/actions/4-implementation/rihal-qa-generate-e2e-tests/SKILL.md +1 -0
- package/rihal/skills/actions/4-implementation/rihal-retrospective/SKILL.md +1 -0
- package/rihal/skills/actions/4-implementation/rihal-retrospective/workflow.md +12 -0
- package/rihal/skills/actions/4-implementation/rihal-scaffold-project/SKILL.md +1 -0
- package/rihal/skills/actions/4-implementation/rihal-sprint-planning/SKILL.md +1 -0
- package/rihal/skills/actions/4-implementation/rihal-sprint-planning/workflow.md +12 -0
- package/rihal/skills/actions/4-implementation/rihal-sprint-status/SKILL.md +1 -0
- package/rihal/skills/agents/ahmed-hassani-director/SKILL.md +1 -0
- package/rihal/skills/agents/dalil-scout/SKILL.md +1 -0
- package/rihal/skills/agents/fatima-qa/SKILL.md +1 -0
- package/rihal/skills/agents/haitham-frontend/SKILL.md +1 -0
- package/rihal/skills/agents/hanzla-engineer/SKILL.md +1 -0
- package/rihal/skills/agents/hussain-pm/SKILL.md +1 -0
- package/rihal/skills/agents/hussain-sm/SKILL.md +1 -0
- package/rihal/skills/agents/layla-designer/SKILL.md +1 -0
- package/rihal/skills/agents/majlis-council/SKILL.md +1 -0
- package/rihal/skills/agents/mariam-marketing/SKILL.md +1 -0
- package/rihal/skills/agents/nasser-eng-manager/SKILL.md +1 -0
- package/rihal/skills/agents/noor-writer/SKILL.md +1 -0
- package/rihal/skills/agents/raees-orchestrator/SKILL.md +1 -0
- package/rihal/skills/agents/rihal-cross-platform-auditor/SKILL.md +1 -0
- package/rihal/skills/agents/rihal-dep-auditor/SKILL.md +1 -0
- package/rihal/skills/agents/rihal-deviation-analyzer/SKILL.md +1 -0
- package/rihal/skills/agents/rihal-i18n-auditor/SKILL.md +1 -0
- package/rihal/skills/agents/rihal-observability-auditor/SKILL.md +1 -0
- package/rihal/skills/agents/sadiq-analyst/SKILL.md +1 -0
- package/rihal/skills/agents/waleed-architect/SKILL.md +1 -0
- package/rihal/skills/agents/yousef-backend/SKILL.md +1 -0
- package/rihal/skills/agents/zahra-branding/SKILL.md +1 -0
- package/rihal/skills/agents/zayd-ml/SKILL.md +1 -0
- package/rihal/skills/core/rihal-init/SKILL.md +1 -1
- package/rihal/skills/core/rihal-memory-audit/SKILL.md +5 -5
- package/rihal/skills/core/rihal-memory-distill/SKILL.md +5 -5
- package/rihal/skills/core/rihal-memory-init/SKILL.md +7 -7
- package/rihal/skills/core/rihal-memory-update/SKILL.md +4 -4
- package/rihal/team.yaml +56 -0
- package/rihal/templates/UAT.md +69 -18
- package/rihal/templates/memory/INDEX.md +2 -2
- package/rihal/templates/memory/distillates/project.distillate.md +2 -2
- package/rihal/templates/memory/distillates/stack.distillate.md +2 -2
- package/rihal/templates/memory/project/stack.md +1 -1
- package/rihal/templates/summary.md +54 -37
- package/rihal/templates/verification-report.md +72 -17
- package/rihal/workflows/analyze-dependencies.md +4 -4
- package/rihal/workflows/audit-fix.md +3 -3
- package/rihal/workflows/audit-milestone.md +12 -11
- package/rihal/workflows/audit-worktrees.md +163 -0
- package/rihal/workflows/audit.md +18 -3
- package/rihal/workflows/autonomous.md +2 -2
- package/rihal/workflows/correct-course.md +3 -3
- package/rihal/workflows/create-architecture.md +3 -3
- package/rihal/workflows/create-epics-and-stories.md +3 -3
- package/rihal/workflows/create-prd.md +1 -1
- package/rihal/workflows/diagnose-issues.md +75 -22
- package/rihal/workflows/discuss-phase-power.md +1 -1
- package/rihal/workflows/discuss-phase.md +1 -1
- package/rihal/workflows/document-project.md +3 -3
- package/rihal/workflows/edit-prd.md +3 -3
- package/rihal/workflows/execute-milestone.md +3 -3
- package/rihal/workflows/execute-sprint.md +1 -1
- package/rihal/workflows/execute-waves.md +27 -2
- package/rihal/workflows/forensics.md +3 -3
- package/rihal/workflows/health.md +19 -4
- package/rihal/workflows/help.md +0 -2
- package/rihal/workflows/memory-audit.md +2 -2
- package/rihal/workflows/memory-distill.md +2 -2
- package/rihal/workflows/memory-init.md +2 -2
- package/rihal/workflows/memory-update.md +2 -2
- package/rihal/workflows/new-project-roadmap.md +2 -2
- package/rihal/workflows/plan-research-validation.md +2 -2
- package/rihal/workflows/plan.md +7 -7
- package/rihal/workflows/research-phase.md +1 -1
- package/rihal/workflows/retrospective.md +3 -3
- package/rihal/workflows/review-adversarial.md +8 -6
- package/rihal/workflows/review.md +2 -2
- package/rihal/workflows/scaffold-project.md +3 -3
- package/rihal/workflows/secure-phase.md +4 -4
- package/rihal/workflows/session-report.md +1 -1
- package/rihal/workflows/status.md +6 -10
- package/rihal/workflows/validate-prd.md +4 -4
- package/rihal/workflows/verify-phase.md +3 -3
- package/rihal/workflows/verify-work.md +1 -1
- package/rihal/workflows/workstream.md +3 -3
- package/server/lib/html/client/views/MemoryView.js +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rihal-debug
|
|
3
|
-
description:
|
|
3
|
+
description: Scientific-method debugging: investigate first, test hypotheses, escalate at 3 failures.
|
|
4
4
|
triggers:
|
|
5
5
|
# English
|
|
6
6
|
- "debug this"
|
|
@@ -31,7 +31,6 @@ user-invocable: false
|
|
|
31
31
|
---
|
|
32
32
|
@.rihal/references/karpathy-guidelines.md
|
|
33
33
|
|
|
34
|
-
|
|
35
34
|
## The Iron Law
|
|
36
35
|
|
|
37
36
|
```
|
|
@@ -44,6 +43,7 @@ If you have not completed Phase 1, you cannot propose a fix. "It seems to work"
|
|
|
44
43
|
|
|
45
44
|
Debugging is investigation, not pattern-matching. Each iteration narrows the problem space — never widens it. The skill enforces a written hypothesis, an experiment that distinguishes "yes" from "no", and a captured observation. Random fixes are not allowed — the bug must be understood before the fix is written.
|
|
46
45
|
|
|
46
|
+
## Workflow
|
|
47
47
|
## Phase 1 — Root Cause Investigation
|
|
48
48
|
|
|
49
49
|
**BEFORE attempting ANY fix:**
|
|
@@ -135,7 +135,6 @@ If the project has Sentry (`@sentry/*` in `package.json` or `sentry-sdk` in Pyth
|
|
|
135
135
|
- Read breadcrumbs for the chain of events leading to the error
|
|
136
136
|
- Check "first seen / last seen" — recurring or one-off matters
|
|
137
137
|
- Cross-reference with deployment timestamps to identify regressions
|
|
138
|
-
|
|
139
138
|
## Red Flags — STOP and return to Phase 1
|
|
140
139
|
|
|
141
140
|
If you catch yourself thinking any of these:
|
|
@@ -151,17 +150,6 @@ If you catch yourself thinking any of these:
|
|
|
151
150
|
|
|
152
151
|
**ALL of these mean: STOP. Return to Phase 1.**
|
|
153
152
|
|
|
154
|
-
## Common Rationalizations
|
|
155
|
-
|
|
156
|
-
| Excuse | Reality |
|
|
157
|
-
|--------|---------|
|
|
158
|
-
| "Issue is simple, don't need process" | Simple bugs have root causes too. Process is fast for simple bugs. |
|
|
159
|
-
| "Emergency, no time for process" | Systematic debugging is FASTER than guess-and-check thrashing. |
|
|
160
|
-
| "Just try this first, then investigate" | First fix sets the pattern. Do it right from the start. |
|
|
161
|
-
| "Multiple fixes at once saves time" | Can't isolate what worked. Causes new bugs. |
|
|
162
|
-
| "I see the problem, let me fix it" | Seeing symptoms ≠ understanding root cause. |
|
|
163
|
-
| "One more fix attempt" (after 2+) | 3+ failures = architectural problem. Escalate, don't fix again. |
|
|
164
|
-
|
|
165
153
|
## Output Format
|
|
166
154
|
|
|
167
155
|
```
|
|
@@ -207,5 +195,5 @@ Do NOT include: "tried X and it seems to work" · speculative "maybe it's cachin
|
|
|
207
195
|
|
|
208
196
|
## Memory Bank Hooks
|
|
209
197
|
|
|
210
|
-
- **Reads:**
|
|
211
|
-
- **Writes:** append
|
|
198
|
+
- **Reads:** `known-issues.md`, `stack.md`
|
|
199
|
+
- **Writes:** append to `post-mortems/YYYYMMDD-<slug>.md`; remove from `known-issues.md` once fixed in production
|
|
@@ -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
|
|
@@ -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}
|
|
@@ -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)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rihal-init
|
|
3
3
|
internal: true
|
|
4
|
-
description: "INTERNAL config loader
|
|
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", "/
|
|
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
|
-
- "/
|
|
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 /
|
|
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: /
|
|
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: /
|
|
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", "/
|
|
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
|
-
- "/
|
|
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: /
|
|
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: `/
|
|
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: `/
|
|
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", "/
|
|
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
|
-
- "/
|
|
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 `/
|
|
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 /
|
|
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: `/
|
|
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: `/
|
|
83
|
-
Skill: refuses to overwrite. Lists files, shows which are still empty, suggests `/
|
|
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", "/
|
|
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
|
-
- "/
|
|
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 (`/
|
|
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 /
|
|
67
|
+
Tip: run /rihal-memory-distill to refresh the project distillate.
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
## Examples
|