Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Commit 0ec8d53

Browse files
z23ccclaude
andcommitted
refactor: remove daemon references and clean up approval flow
Remove daemon transport from approval CLI, daemon heartbeat from status, daemon hooks, and two obsoleted design docs. Simplify approval protocol labels (daemon-preferred → API path, fallback → SendMessage path). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d383adc commit 0ec8d53

17 files changed

Lines changed: 26 additions & 1188 deletions

File tree

agents/worker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ SendMessage(to: "coordinator", summary: "Blocked: <TASK_ID>",
8080

8181
4. **File access request** — when you need a file not in OWNED_FILES:
8282

83-
**Preferred path (daemon running):** use the approval API instead of SendMessage:
83+
**Via approval API:**
8484
```bash
8585
APPROVAL_ID=$($FLOWCTL approval create --task <TASK_ID> --kind file_access \
8686
--payload '{"files": ["<path>"], "reason": "<why needed>", "current_owner": "<task-id>"}' \
@@ -91,7 +91,7 @@ SendMessage(to: "coordinator", summary: "Blocked: <TASK_ID>",
9191
- On `status: rejected` → emit a `Blocked:` summary and skip the file.
9292
- On timeout → note in completion evidence and continue with alternative approach.
9393

94-
**Fallback (no daemon, non-Teams mode):**
94+
**Via SendMessage (non-Teams mode):**
9595
```
9696
SendMessage(to: "coordinator", summary: "Need file access: <file>",
9797
message: "Access request for <TASK_ID>.\nFile: <path>\nReason: <why needed>\nCurrent owner: <task-id>")
@@ -100,15 +100,15 @@ SendMessage(to: "coordinator", summary: "Blocked: <TASK_ID>",
100100

101101
5. **Mutation request** — when the task should be split, skipped, or dependencies changed:
102102

103-
**Preferred path (daemon running):**
103+
**Via approval API:**
104104
```bash
105105
APPROVAL_ID=$($FLOWCTL approval create --task <TASK_ID> --kind mutation \
106106
--payload '{"type": "split|skip|dep_change", "details": "<why>", "action": "<suggested>"}' \
107107
--json | jq -r .id)
108108
$FLOWCTL approval show "$APPROVAL_ID" --wait --timeout 600 --json
109109
```
110110

111-
**Fallback (no daemon, non-Teams mode):**
111+
**Via SendMessage (non-Teams mode):**
112112
```
113113
SendMessage(to: "coordinator", summary: "Need mutation: <TASK_ID>",
114114
message: "Task <TASK_ID> needs structural change.\nType: split | skip | dep_change\nDetails: <why the mutation is needed>\nSuggested action: <split into N parts | skip because X | remove dep on Y>")

docs/designs/web-platform-fullstack.md

Lines changed: 0 additions & 115 deletions
This file was deleted.

docs/ralph.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,6 @@ scripts/ralph/ralph.sh --watch verbose # Include model responses
8888
scripts/ralph/ralph.sh --config alt.env # Use alternate config file
8989
```
9090

91-
### 5. Monitor (Optional)
92-
93-
```bash
94-
bun add -g flow-code-tui
95-
flow-code-tui
96-
```
97-
98-
Real-time TUI for task progress, streaming logs, and run state.
99-
100-
![flow-code-tui](../../../assets/tui.png)
101-
10291
### Uninstall
10392

10493
Run manually in terminal:

0 commit comments

Comments
 (0)