← ClaudeAtlas

redolisted

Re-run a W-item with an optional prompt override and cascade to dependents
palginpav/orchestray · ★ 0 · AI & Automation · score 71
Install: claude install-skill palginpav/orchestray
# Re-run a W-item You are receiving this because the user invoked `/orchestray:redo`. This command re-runs a single W-item in the currently active orchestration, with an optional prompt override. Use `--cascade` to also re-run any downstream W-items that depended on the redone one. ## Redo Protocol ### Argument Parsing `$ARGUMENTS` has the form: ``` <W-id> [--prompt="<override text>"] [--cascade] ``` Examples: - `W4` - `W4 --cascade` - `W4 --prompt="Focus only on the auth module"` - `W4 --prompt="Focus only on the auth module" --cascade` Parse rules: 1. **W-id** — first whitespace-delimited token (e.g. `W4`, `W12`). Required. 2. **`--prompt="..."`** — optional; value is everything between the first `"` after `--prompt=` and the closing `"`. May contain spaces. 3. **`--cascade`** — optional flag; triggers transitive dependent re-run. ### Invocation Run the redo script: ```bash node bin/redo-wave-item.js <W-id> [--prompt=<file>] [--cascade] ``` **Prompt override handling:** to avoid shell-quoting hazards, write the override text to a temporary file and pass the path via `--prompt=<file>`: ```bash TMPFILE=$(mktemp /tmp/redo-prompt-XXXXXX.txt) printf '%s' "<override text>" > "$TMPFILE" node bin/redo-wave-item.js <W-id> --prompt="$TMPFILE" [--cascade] rm -f "$TMPFILE" ``` ### Cascade Behaviour When `--cascade` is supplied: - The script reads `.orchestray/state/task-graph.md` to compute the transitive closure of downstream dependents. - It prints the **full list*