bc218dfbbe
* feat: add workspace sources from files panel * fix: preserve worktree identity during recovery * feat: unify workspace source actions * fix: validate recovered workspace repositories * fix: harden workspace source filesystem boundaries * test: split workspace repository chip coverage * fix: restrict repository rescan recovery paths * fix: stabilize workspace source CI checks * test: canonicalize workspace source paths * test: align workspace source container paths * fix: populate direct workspace repository names * test: preserve git fixture rewrites across restarts * test: isolate backend git fixture config * fix: resume remote workspace executions before creation * fix: preserve ssh agent identity during resume * fix: preserve SSH workspace across backend restart * fix: simplify workspace actions trigger * fix: refine add workspace repositories UX * docs: narrow workspace source UX updates * fix: avoid phantom turn on session resume * test(web): normalize workspace source request headers * feat(web): streamline workspace source picker * docs: remove trailing spaces from workspace source plan * fix: prevent resume status from creating phantom turns * fix(web): stabilize workspace source attachment * refactor(web): extract workspace source store contract * fix: avoid phantom turns on idle agent resume * fix: address backend static analysis findings * fix: preserve agentctl readiness status value * fix: preserve resume messages without active turns * fix: resume agents from promoted workspace root * chore: merge origin/main into feature/add-new-repo-folder-d97 * feat(web): explain workspace source consequences * test(websocket): count session activity subscription
1.7 KiB
1.7 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 03-protocol-surfaces | Protocol surfaces | done | 3 |
|
plan.md | ../../specs/tasks/attach-workspace-sources.md |
Task 03: Protocol Surfaces
Acceptance
- HTTP accepts the documented mixed batch, maps typed failures to the documented status codes, and returns the durable source/session projection.
add_workspace_sources_kandevdefaults to the current task and reaches the same service;add_branch_to_task_kandevremains wire-compatible.- Task and session source-update events are routed through the gateway only after successful materialization, with handler/MCP/event tests covering payloads and failure truthfulness.
Verification
cd apps/backend
rtk go test ./internal/task/handlers/... ./internal/mcp/... ./internal/gateway/websocket/... ./pkg/websocket/...
Files likely touched
apps/backend/internal/task/handlers/task_handlers.goapps/backend/internal/task/handlers/task_http_handlers.goapps/backend/internal/task/handlers/*workspace_sources*_test.goapps/backend/internal/mcp/server/server.goapps/backend/internal/mcp/server/handlers_test.goapps/backend/internal/mcp/handlers/handlers.goapps/backend/internal/mcp/handlers/handlers_test.goapps/backend/internal/events/types.goapps/backend/pkg/websocket/actions.goapps/backend/internal/gateway/websocket/task_notifications.go
Dependencies
Task 02.
Inputs
- Spec: API surface and error codes.
- Existing create-task repository union and add-branch MCP forwarding tests.
Output contract
Summary, files changed, tests run, blockers, risks, divergence, and task/plan status updates.