/caddis:digress reason for the detourfrom caddis
Park the current workstream on the stack and switch to a new task — without losing the original
Ships in caddis. Installing the plugin adds it to Claude Code.
You are about to leave the current task for a related-but-different one (a design decision, a sub-feature,
or a blocker that must be fixed first). This command saves the original task as a workstream relay (.caddis/relay/<name>.md) so
neither you nor the user has to remember and re-state it later — /catchup <name> loads it back with its exact
resume point, and every SessionStart lists it in the workstream index. Loading never removes it.
The reason for the detour is $ARGUMENTS (if empty, derive a one-line reason yourself from what the user just asked for).
Determine the active plan, in this order:
.caddis/plans/*.md this session has been executing..caddis/relay.md's ## Next step.Read that plan's ## Tracker (or its phase headings) to find the current phase (the in-progress or
next-not-started one).
resumePointerThe single next concrete action for the parked task — copy it from the plan's Tracker or from relay.md's
## Next step. Example: next: wire the parser to the staging table (see plan Tracker row 2).
.caddis/relay/<name>.mdWrite it through the locked script, never with a plain file edit (that would skip the conflict
check another session relies on). Scripts are in ${CLAUDE_PLUGIN_ROOT}/scripts/ (source
checkout: scripts/).
Your session id is printed at session start as [caddis] this session's id: <id>; use it for
session_id and --session-id, never a guess.
caddis_workstreams.py hash <name> — note the printed hash (none for a new workstream).caddis_workstreams.py write <name> <temp-file> --expected-hash <hash>. Exit 1 prints the diff
against what another session saved and writes nothing: show it, merge, retry with the new hash.caddis_workstreams.py render-index --session-id <id> --branch <branch> refreshes .caddis/relay.md.
If it refuses a legacy .caddis/relay.md, or an old .caddis/workstreams.json stack exists, run
caddis_workstreams.py migrate-legacy once (it backs up both), then retry.Relay content, with the standard frontmatter:
---
type: relay
workstream: <name>
branch: <branch>
session_id: <session_id>
plan: <plan>
generated:
at: <now, ISO-8601 UTC>
---
# Relay — <name>
## Current workstream
<Active plan path + phase>
## Next step (exact)
<the one-line next action from Step 2>
Tell the user: Parked workstream: <name>. Saved to .caddis/relay/<name>.md. Now switching to: <the new task>. Then proceed with whatever the
user asked — the digression IS the new work.
git checkout, git reset, git stash,
branch switches). Parking is metadata-only; the working tree is untouched."?" —
never invent one.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub saajunaid/caddis-plugin --plugin caddis44 commands in this plugin
/add-rules/add-rules — add canonical rules to a folderCreate canonical rules for ANY folder — write <folder>/AGENTS.md (from the folder template) + a <folder>/CLAUDE.md @import shim. For folders the stack-map generator doesn't cover./catchup/catchup — where are we?Where were we? A quick list of what this session was doing and what is still open/cloud-phases/caddis:cloud-phases — run plan phases in the cloud, then take them backRun plan phases in Claude Code cloud sessions — write one prompt per phase, push, hand out paste lines, then take the PRs back/coordinate/coordinate — the coordinator session for one repoRun this session as the repo's coordinator — one merge queue for all sessions, one merge at a time, a deploy check after each merge, routine approvals in the ledger./cross-review/caddis:cross-review — a second-vendor set of eyes on your diffCross-vendor code review of the current diff — a second-vendor model (agy Carbon by default; DeepSeek, GLM or any OpenAI-compatible endpoint) reviews your changes to catch bugs a same-vendor reviewer misses/data-lineage/data-lineage (deprecated): use /lldDeprecated: use /lld. Redirects to /lld, which publishes through caddis_confluence.py