Skip to content

fix(kanban): complete agent-assigned runs when assignee is delegated agent - #2

Open
ngav1491 wants to merge 1 commit into
test-base/kanban-eve-fixfrom
test-pr/kanban-eve-fix
Open

fix(kanban): complete agent-assigned runs when assignee is delegated agent#2
ngav1491 wants to merge 1 commit into
test-base/kanban-eve-fixfrom
test-pr/kanban-eve-fix

Conversation

@ngav1491

@ngav1491 ngav1491 commented Mar 9, 2026

Copy link
Copy Markdown
Owner

Summary

This PR isolates the EVE-assignee stuck-running fix for testing.

  • Route gateway calls through the assignee session context in the Kanban poller
  • Align run label with the persisted run key to avoid label mismatches
  • Persist childSessionKey returned from spawn back into task run metadata
  • Keep proposal source/proposer attribution aligned with actual matched session + assignee

Why this fixes your case

Previously, a task assigned to agent:eve could complete in the EVE branch but the poller was checking the wrong context/identity path, so completeRun() was never triggered and the task stayed running forever.

Validation

  • pnpm test -- server/routes/kanban.test.ts --run
  • pnpm build

Route execute/poller through assignee session key, align run label with persisted run key, and persist gateway child session key so running tasks transition to review when assigned agents finish.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant