Skip to content

Add per-task runtime selection to task create/edit#20

Open
masonjames wants to merge 1 commit intocline:mainfrom
masonjames:feature/task-runtime-assignment
Open

Add per-task runtime selection to task create/edit#20
masonjames wants to merge 1 commit intocline:mainfrom
masonjames:feature/task-runtime-assignment

Conversation

@masonjames
Copy link

Summary

  • add per-task agentId support to task create/edit flows
  • default new/edit task runtime selection to the current global runtime setting
  • persist the assigned runtime on each task and use it when starting task sessions
  • make task-start setup prompts runtime-aware so prompt content and acknowledgements match the task’s assigned agent

Testing

  • npm test -- test/runtime/trpc/runtime-api.test.ts test/runtime/terminal/agent-registry.test.ts test/integration/workspace-state.integration.test.ts
  • npm --prefix web-ui test -- src/hooks/use-task-start-service-prompts.test.ts src/hooks/use-task-editor.test.tsx src/hooks/use-task-sessions.test.tsx
  • npm run typecheck
  • npm run web:typecheck

- add per-task agent assignment to task create/edit flows
- default task runtime selection to the current global runtime
- persist task agentId and use it when starting sessions
- make task-start setup prompts agent-aware
@masonjames masonjames marked this pull request as ready for review March 17, 2026 17:06
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