Skip to content

feat(tasks): an agent's task waits for a person before it joins the board (v0.436.0) - #809

Merged
vikasprogrammer merged 1 commit into
mainfrom
feat/task-proposals
Sep 10, 2026
Merged

feat(tasks): an agent's task waits for a person before it joins the board (v0.436.0)#809
vikasprogrammer merged 1 commit into
mainfrom
feat/task-proposals

Conversation

@vikasprogrammer

Copy link
Copy Markdown
Owner

Why

Agents file essentially every task (instapods, 14 days: 140 of 140, none by a human); half are board items nobody agreed to (engineer alone: 31 unassigned todos). Real findings, but they skip triage and read as committed work.

What

  • New proposed task status for agent-filed, non-dispatching tasks: never dispatched (canDispatch code proposed, every path), never claimed, excluded from goal progress.
  • One task.proposed Inbox card per run (not per task), addressed to the run-as human, else admins; no DM. Per-task Accept/Dismiss + Accept all/Dismiss all; live status hydrated at read time; card closes however tasks get decided (card, board, drag, delete).
  • "Proposed by agents" strip above the Tasks board; POST /api/tasks/proposals/decide; board PATCH out of proposed gated identically (run-as human or owner/admin).
  • Human assignee's "assigned to you" is held until accept.
  • Not held: auto-dispatch hand-offs (a task_wait caller would hang), goal: plan runs, human-filed tasks.
  • Cap: 25 open proposals per agent. Off switch: Settings → Runtime → Agent-filed tasks.
  • task_create tells the agent plainly it's awaiting review (MCP schema change → takes effect on session relaunch).

Validation

npm run typecheck, web build, npm run test:governance green incl. new scripts/task-proposals-test.cjs (48 assertions).

🤖 Generated with Claude Code

https://claude.ai/code/session_01DhrGcimwmAypei3a25oq71

…oard (v0.436.0)

A task an agent files without dispatching it now lands `proposed`: never
dispatched or claimed, grouped onto ONE Inbox card per run for the run-as
human (else admins) to accept (-> todo) or dismiss (-> cancelled). Auto-dispatch
hand-offs and goal-plan runs are never held. Capped at 25 open proposals per
agent; switchable in Settings -> Runtime.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DhrGcimwmAypei3a25oq71
@vikasprogrammer
vikasprogrammer merged commit 2332899 into main Sep 10, 2026
1 check passed
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