You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Re-add worktrees with tier: `POST /api/workspaces/add-mixed-worktree` (include `startTier`)
70
70
3. Start agent: send launch command + `\r`
71
71
4. Wait 3 seconds
72
-
5. Send FULL prompt (title + ENTIRE description + workflow)
73
-
6. Send `\r` to submit
72
+
5.**Accept the `--dangerously-skip-permissions` prompt**: Claude now shows a confirmation prompt on launch — send `1` + `\r` to accept it, then wait 2 seconds for Claude to fully initialize
73
+
6. Send FULL prompt (title + ENTIRE description + workflow)
74
+
7. Send `\r` to submit
74
75
7. Move Trello card to Doing list
75
76
76
77
**Add worktree with tier:**
@@ -169,6 +170,7 @@ curl -sS -X POST "http://localhost:$PORT/api/commander/send-to-session" \
169
170
- Two-request pattern: text first, then `\r` separately
170
171
- 3s sleep for Codex init (it initializes in ~2-3s, not 15)
171
172
- Use `\u0015` (Ctrl+U) before Codex command to clear line
173
+
-**Claude `--dangerously-skip-permissions` acceptance**: After launching Claude, send `1` + `\r` to accept the confirmation prompt, then wait 2s before sending the task prompt
172
174
173
175
## Codex CLI Reference
174
176
@@ -703,6 +705,7 @@ SERVICES: Modular service architecture with clear interfaces
16. **Repository name extraction**: For mixed-repo workspaces, use workspace config's terminal.repository.name, not session ID parsing
705
707
17. **ALWAYS check active workspace first**: Before adding worktrees or launching agents, call `GET /api/workspaces/active` to find which workspace the user currently has open. Add worktrees to THAT workspace — never guess or pick a workspace by name
708
+
18. **`remove-worktree` nukes ALL repos with matching worktreeId**: `POST /api/workspaces/remove-worktree` with just `worktreeId: "work1"` removes EVERY repo's work1 in the workspace. **ALWAYS scope with `repositoryName`** to remove only the intended repo's worktree
0 commit comments