Skip to content

rascal step 6: router (/rascal:go) and the routing note - #6

Merged
intelligentrascal merged 5 commits into
mainfrom
rascal-step-6-router
Oct 7, 2026
Merged

intelligentrascal merged 5 commits into
mainfrom
rascal-step-6-router

Conversation

@intelligentrascal

Copy link
Copy Markdown
Owner

Build step 6 of the rascal pack (docs/rj-skills-pack-design.md Q35): the router and the always-on routing note.

  • Generator: scripts/routing-note.mjs builds the 23-line note (cap 30, enforced) from plugins/rascal/workflows.json, each workflow's "Use when" sentence and rules/routing.md. It holds the just-do-it rule word for word, the canonical table, the Superpowers 1%-rule override and the ~/.rascal/preferences.md line. Output: plugins/rascal/routing-note.md, plus the same routes inside rascal-go. Pre-commit runs --check.
  • Router: the rascal-go skill and a commands/go.md that makes /rascal:go <task> work in Claude Code. It picks just-do-it, a workflow, a canonical skill or a chain, says which in one line, runs it, and nudges when the retro is overdue.
  • Install: install-rascal.sh writes the note between markers into the instruction file of Claude Code, Codex, OpenCode and Pi, backing each file up to .rascal-bak first. Also adds --no-note and --remove-note, and rejects unknown arguments. OpenCode is skipped while its CLAUDE.md fallback carries the user's own rules.
  • Q36 probe: all four agents followed the note, Claude Code with the Superpowers SessionStart bootstrap loaded. The record is in docs/superpowers/verification/2026-10-07-routing-probe.md.
  • Docs: README routing section, the step-6 rulings in docs/rascal-v1-design.md, plugin 0.3.0.

Tests: 347 passing. A fresh-context review found no Critical issues. All its Important and Minor findings are fixed.

🤖 Generated with Claude Code

Rahil and others added 5 commits October 7, 2026 14:12
scripts/routing-note.mjs builds the <=30-line note from workflows.json,
each workflow's description and rules/routing.md, writes
plugins/rascal/routing-note.md and the router's copy, and can install or
remove it in an instruction file between markers (with a backup).
/rascal:go is a plugin command that loads rascal-go. Pre-commit checks drift.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
For each agent whose config directory exists (Claude Code, Codex,
OpenCode, Pi, honouring their dir overrides) the note goes between
markers in its global instruction file, with a .rascal-bak backup.
--no-note skips it, --remove-note takes it out. Warns when an
AGENTS.override.md would shadow it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Strict install-rascal.sh arguments (typos exit 2, nothing written);
OpenCode skipped while its ~/.claude/CLAUDE.md fallback carries the
user's own rules; CRLF-preserving install/remove; generator enforces the
30-line cap; tagged marker errors; override warning Codex-only; the
plugin hint prints before the note step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@intelligentrascal
intelligentrascal merged commit 589b9c7 into main Oct 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant