refactor(skills): rename tmux-agent-orchestrate-delete -> stop (step 1)
User decision: 2-step approach (Step 1 = simple rename, Step 2 = option redefinition in a separate round). Changes (mechanical, history preserved): - skills/tmux-agent-orchestrate-delete/ -> skills/tmux-agent-orchestrate-stop/ (git mv) - scripts/delete_session.sh -> scripts/stop_session.sh (git mv) - sed s/orchestrate-delete/orchestrate-stop/g + delete_session.sh->stop_session.sh across 7 files (0 residual of either pattern) - SKILL.md frontmatter 'name' -> tmux-agent-orchestrate-stop - related_skills / companion refs in create/status/monitor/resume SKILL.md updated NOT in this commit (deferred to step 2): - Option redefinition (--purge-conversation, --mode soft clarification) - Deprecation shim (external consumers = 0, no need) 6-route surface preserved (create/resume/stop/status/monitor + delegate-job). Verified on isolated server -L claude-rename-step1-test (kill-server after): - syntax PASS (all .sh + py_compile) - E2E via renamed stop_session.sh: capture-id records id + status=stopped, status.sh renders it (DRIFT=-), idempotency exit 0 - 0 stale 'tmux-agent-orchestrate-delete' / 'delete_session' references - git history preserved (rename detected as R) - Global skill untouched; real YAML + main canary -L multi-agent-canary untouched Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -9,13 +9,13 @@ environments: [terminal, tmux]
|
||||
metadata:
|
||||
hermes:
|
||||
tags: [agent, tmux, claude, antigravity, agy, multi-agent, context, resume, session-id]
|
||||
related_skills: [tmux-agent-orchestrate-create, tmux-agent-orchestrate-delete, tmux-agent-orchestrate-monitor, claude-code]
|
||||
related_skills: [tmux-agent-orchestrate-create, tmux-agent-orchestrate-stop, tmux-agent-orchestrate-monitor, claude-code]
|
||||
prereq_skills: [tmux-agent-orchestrate-create]
|
||||
---
|
||||
|
||||
# Multi-Agent Resume — Reattach to a Saved Conversation
|
||||
|
||||
> **Companion skills**: `tmux-agent-orchestrate-create` (start a fresh agent), `tmux-agent-orchestrate-delete` (terminate), `tmux-agent-orchestrate-monitor` (live status).
|
||||
> **Companion skills**: `tmux-agent-orchestrate-create` (start a fresh agent), `tmux-agent-orchestrate-stop` (terminate), `tmux-agent-orchestrate-monitor` (live status).
|
||||
> **Tmux Isolation**: `TMUX_SERVER_NAME` env var를 create에서 설정한 경우, 동일 서버에서 동작합니다. 자세한 격리 패턴은 [tmux-agent-orchestrate-create/SKILL.md](../tmux-agent-orchestrate-create/SKILL.md) 참조.
|
||||
> **Single source of truth**: `./.hermes/agent-sessions.yaml`.
|
||||
|
||||
@@ -31,7 +31,7 @@ Three cases this skill handles:
|
||||
|
||||
### Resuming a `stopped` session (`stopped → running`)
|
||||
|
||||
When a session was ended via `tmux-agent-orchestrate-delete --capture-id` (STOP
|
||||
When a session was ended via `tmux-agent-orchestrate-stop --capture-id` (STOP
|
||||
mode), its row is `status: stopped` with `resumable: true` and the conversation id
|
||||
already recorded in `claude_session_id_own` / `agy_conversation_id_own`. This is the
|
||||
ideal resume path:
|
||||
@@ -143,5 +143,5 @@ tmux capture-pane -t "$SESSION_NAME" -p -S -30
|
||||
## When NOT to use this skill
|
||||
|
||||
- **No saved session yet** → `tmux-agent-orchestrate-create`
|
||||
- **Killing an existing session** → `tmux-agent-orchestrate-delete`
|
||||
- **Killing an existing session** → `tmux-agent-orchestrate-stop`
|
||||
- **Just attaching** → `tmux attach -t <name>` (no skill needed)
|
||||
|
||||
Reference in New Issue
Block a user