@hanzlaa/rcode 2.3.2 → 2.3.3

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/README.md CHANGED
@@ -37,8 +37,8 @@ Rihal Code packages a lot. To keep things approachable, everything is organized
37
37
 
38
38
  Most AI tools give you one assistant pretending to be everything. **Rihal Code gives you Rihal's team — and Rihal's brain — inside every project.**
39
39
 
40
- - **44 agents** with clear roles, cultural identity (Arabic names), and hard scope boundaries
41
- - **98 slash commands** covering research, planning, execution, verification, and recovery
40
+ - **43 agents** with clear roles, cultural identity (Arabic names), and hard scope boundaries
41
+ - **99 slash commands** covering research, planning, execution, verification, and recovery
42
42
  - **3 execution modes**: parallel debate (`/rihal:council`), sequential pipelines (`/rihal:chain`), and quick-sync (`/rihal:discuss`)
43
43
  - **File-based state** in `.rihal/` that every workflow reads and updates
44
44
  - **Intent guards** on every workflow — catch wrong commands early with copy-paste redirects
@@ -65,8 +65,8 @@ npx @hanzlaa/rcode install
65
65
  One unified installer. Pure file shipping, no runtime dependencies. Installs into:
66
66
 
67
67
  - `.rihal/` — config, workflows, references, bin (Rihal infrastructure)
68
- - `.claude/agents/` — 44 first-class subagents
69
- - `.claude/commands/rihal/` — 98 slash commands
68
+ - `.claude/agents/` — 43 first-class subagents
69
+ - `.claude/commands/rihal/` — 99 slash commands
70
70
  - `.claude/skills/` — 56 phrase-activated skills (scaffold-project, create-prd, prfaq, retrospective, etc.)
71
71
  - `rihal/brain/` — Rihal standards pulled from upstream (PR / commit / architecture docs)
72
72
  - `.planning/` — where your artifacts land (council sessions, plans, chains, summaries)
@@ -309,7 +309,7 @@ Recent additions in this session:
309
309
 
310
310
  ---
311
311
 
312
- ## Full command surface (98 commands)
312
+ ## Full command surface (99 commands)
313
313
 
314
314
  ### Router + lifecycle
315
315
  `init` · `do` · `help` · `status` · `stats` · `health` · `forensics` · `update`
@@ -446,8 +446,8 @@ Every install runs 5 automated smoke tests before exiting:
446
446
  ✓ rihal-tools.cjs runs — syntax ok
447
447
  ✓ .rihal/config.yaml present — 412 bytes
448
448
  ✓ .rihal/state.json parses — valid JSON
449
- ✓ agents installed — 44
450
- ✓ skills + commands installed — 56 skills + 98 commands
449
+ ✓ agents installed — 43
450
+ ✓ skills + commands installed — 56 skills + 99 commands
451
451
  ```
452
452
 
453
453
  A failed check prints the debug command and returns exit code 1 so CI catches broken installs.
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@hanzlaa/rcode",
3
- "version": "2.3.2",
4
- "description": "Rihal Code (rcode) — installable context-brain for Rihalians. 44 agents, 98 slash commands, 56 skills, pullable Rihal standards. Unified install for Claude Code, Cursor, and Gemini.",
3
+ "version": "2.3.3",
4
+ "description": "Rihal Code (rcode) — installable context-brain for Rihalians. 43 agents, 99 slash commands, 56 skills, pullable Rihal standards. Unified install for Claude Code, Cursor, and Gemini.",
5
5
  "main": "cli/index.js",
6
6
  "bin": {
7
7
  "rcode": "dist/rcode.js",
8
+ "rihal": "dist/rcode.js",
8
9
  "rihal-code": "dist/rcode.js"
9
10
  },
10
11
  "scripts": {
@@ -0,0 +1,22 @@
1
+ {
2
+ "version": "1",
3
+ "project": "__PROJECT_NAME__",
4
+ "created": "__INSTALL_DATE__",
5
+ "updated": "__INSTALL_DATE__",
6
+ "current_phase": "01",
7
+ "current_plan": 0,
8
+ "current_sprint": null,
9
+ "milestone": "M1 — Initial Delivery",
10
+ "phases": [
11
+ { "id": "01", "name": "Setup & Scaffolding", "status": "planned" }
12
+ ],
13
+ "executions": [],
14
+ "decisions": [],
15
+ "blockers": [],
16
+ "council_sessions": [],
17
+ "chains": [],
18
+ "workstreams": [],
19
+ "active_workstream": null,
20
+ "last_session": null,
21
+ "velocity_history": []
22
+ }
@@ -185,4 +185,4 @@ Silent on failure — state tracking is optional.
185
185
  - **state.json missing or corrupted:** continue without error — chain artifacts are mandatory, state tracking is optional.
186
186
  - **Stage fails to produce artifact:** print stage number, allow `/rihal:chain --continue` to resume.
187
187
  - **Agent returns empty output:** print "Agent produced no output. Check input and retry."
188
- - **`rihal-tools.cjs` missing:** tell user to run `rihal-code install-v2`.
188
+ - **`rihal-tools.cjs` missing:** tell user to run `npx @hanzlaa/rcode install` (or `rcode install` if installed globally).
@@ -558,7 +558,7 @@ node .rihal/bin/rihal-tools.cjs state record-session
558
558
 
559
559
  - **Empty arguments or --help:** print usage block (Step 0), stop.
560
560
  - **Single-agent question detected:** redirect to `/rihal:discuss` (Step 0.5).
561
- - **`rihal-tools.cjs` not found:** user has v1 installed or package broken. Tell user to run `rihal-code install-v2`.
561
+ - **`rihal-tools.cjs` not found:** user has v1 installed or package broken. Tell user to run `npx @hanzlaa/rcode install` (or `rcode install` if installed globally).
562
562
  - **Panel contains unknown agent:** print the installed-agent list and exit.
563
563
  - **state.json missing or corrupted:** continue without error — session artifact is mandatory, state tracking is optional.
564
564
  - **All panelists return empty responses:** likely subagents were spawned without proper prompts. Re-check Step 4 prompt construction.
@@ -219,8 +219,8 @@ This records the discuss session in `.rihal/state.json` as `last_session`.
219
219
  - **Empty arguments:** print usage block and stop (Step 0).
220
220
  - **Question redirects to council:** print redirect message (Step 0.5).
221
221
  - **state.json missing or corrupted:** continue without error — session artifact is mandatory, state tracking is optional.
222
- - **`rihal-tools.cjs` not found:** tell the user to run `rihal-code install-v2`.
223
- - **No installed agents:** print "No agents installed. Run `rihal-code install-v2`."
222
+ - **`rihal-tools.cjs` not found:** tell the user to run `npx @hanzlaa/rcode install` (or `rcode install` if installed globally).
223
+ - **No installed agents:** print "No agents installed. Run `npx @hanzlaa/rcode install`."
224
224
  - **Agent id not in installed list:** print available agents and ask the user to pick one.
225
225
  - **Agent returns empty response:** print "Agent responded empty. Check question clarity and retry."
226
226
 
@@ -30,7 +30,7 @@ cat .rihal/templates/settings-hooks.json
30
30
  Parse the JSON. If file does not exist, print error and stop:
31
31
 
32
32
  ```
33
- Error: .rihal/templates/settings-hooks.json not found. Run 'rihal-code install-v2' to reinstall.
33
+ Error: .rihal/templates/settings-hooks.json not found. Run 'npx @hanzlaa/rcode install' to reinstall.
34
34
  ```
35
35
 
36
36
  ## Step 2 — Load or create settings.json