feat(api): implement phase 3 comprehensive control endpoints

This commit is contained in:
2026-03-11 23:14:09 -04:00
parent e88f0f1831
commit 4777dd957a
4 changed files with 132 additions and 9 deletions

View File

@@ -23,15 +23,15 @@
- [x] Task: Conductor - User Manual Verification 'Phase 2: Expanded Read Endpoints' (Protocol in workflow.md)
## Phase 3: Comprehensive Control Endpoints (POST)
- [ ] Task: Implement worker and pipeline control.
- [ ] Add `/api/mma/workers/spawn` to manually initiate sub-agent execution via the API.
- [ ] Add `/api/mma/workers/kill` to programmatically abort running workers.
- [ ] Add `/api/mma/pipeline/pause` and `/api/mma/pipeline/resume` to control the global MMA loop.
- [ ] Task: Implement context and DAG mutation.
- [ ] Add `/api/context/inject` to allow programmatic context injection (files/skeletons).
- [ ] Add `/api/mma/dag/mutate` to allow modifying task dependencies through the API.
- [ ] Task: Update `api_hook_client.py` with corresponding methods for all new POST endpoints.
- [ ] Task: Write integration tests for all new control endpoints using `live_gui`.
- [x] Task: Implement worker and pipeline control.
- [x] Add `/api/mma/workers/spawn` to manually initiate sub-agent execution via the API.
- [x] Add `/api/mma/workers/kill` to programmatically abort running workers.
- [x] Add `/api/mma/pipeline/pause` and `/api/mma/pipeline/resume` to control the global MMA loop.
- [x] Task: Implement context and DAG mutation.
- [x] Add `/api/context/inject` to allow programmatic context injection (files/skeletons).
- [x] Add `/api/mma/dag/mutate` to allow modifying task dependencies through the API.
- [x] Task: Update `api_hook_client.py` with corresponding methods for all new POST endpoints.
- [x] Task: Write integration tests for all new control endpoints using `live_gui`.
- [ ] Task: Conductor - User Manual Verification 'Phase 3: Comprehensive Control Endpoints' (Protocol in workflow.md)
## Phase 4: Headless Refinement & Verification