diff --git a/AGENTS.md b/AGENTS.md index fbaf5ba..cc1c546 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,11 +20,20 @@ watches from outside. Run this session as a long-lived **interactive** session with `--remote-control` so the operator can check in on the loops and steer/restart things from **claude.ai/code** (or the Claude mobile app) -without being at the terminal: +without being at the terminal. -```bash -claude --remote-control 'cc-ci-orchestrator' --dangerously-skip-permissions -``` +- **Already in the session?** Just run `/remote-control` — it attaches claude.ai/code to the live + conversation (no exit, no resume needed). +- **Starting fresh:** `claude --remote-control 'autonomous-orchestrator' --dangerously-skip-permissions` +- **Resuming this orchestrator later (history preserved):** + ```bash + claude --resume autonomous-orchestrator --remote-control "autonomous-orchestrator" --dangerously-skip-permissions + ``` + Note the two names are different: `--resume ` restores *this conversation* (the name set + via `-n/--name`, shown in the `/resume` picker); the `--remote-control [name]` value is only the + web display label and resumes nothing. The conversation persists on disk across exits; remote + control itself only stays "connected" while the local process is alive (resume + re-enable to get + it back after a full exit). Use it to: tail loop logs (`cc-ci-plan/launch.sh logs builder|adversary|watchdog`), inspect `STATUS.md`/`REVIEW.md` in the cc-ci repo, edit the plan or prompts, restart a stuck loop, or