• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 25646115400 / 17
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 11 May 2026 01:51AM UTC
Files 292
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 May 2026 01:48AM UTC coverage: 37.774% (-0.07%) from 37.845%
25646115400.17

push

github

web-flow
feat: add update_task MCP tool for space agent and task agent (#1852)

* feat: add update_task MCP tool for space agent and task agent

Add an update_task tool to two MCP servers:

1. space-agent-tools — space agent can edit any task in the space
2. node-agent-tools (task agent variant only) — Task Agent can edit tasks it manages

NOT added to node agents (coder, reviewer, etc.) — task mutation is restricted
to coordination-level agents.

Implementation:
- Add UpdateTaskSchema + UpdateTaskInput to node-agent-tool-schemas.ts
- Add update_task handler to space-agent-tools.ts (look up task, verify space,
  call taskManager.updateTask, emit space.task.updated, log audit)
- Add conditional update_task handler to node-agent-tools.ts (gated by onUpdateTask
  callback; tool invisible when callback absent)
- Wire onUpdateTask callback in TaskAgentManager.buildNodeAgentMcpServerForSession
  so Task Agent sessions get the tool; regular node agents do not

Fields supported: title, description, priority, depends_on.
Excluded (runtime-managed): status, workflowRunId, activeSession, result, labels.

Tests:
- Space agent: update title/desc/priority/deps, multi-field, not-found,
  cross-space guard, event emission, MCP registration
- Node agent: delegates to callback, error when absent, MCP registration gating
- Task agent manager: onUpdateTask callback is wired and delegates to updateTask

* fix: restrict update_task to Task Agent, remove from node-agent path

- Remove onUpdateTask callback from NodeAgentToolsConfig and
  buildNodeAgentMcpServerForSession — this builder is used for ALL
  workflow node-agent sub-sessions (coder, reviewer, etc.), so passing
  the callback unconditionally broke the permission boundary.
- Add update_task directly to task-agent-tools.ts with taskId scoping:
  the handler rejects any task_id that does not match the session's
  bound task, preventing cross-task mutation.
- Emit space.task.updated event on successful updates (consistent with... (continued)

27221 of 72062 relevant lines covered (37.77%)

20.52 hits per line

Source Files on job daemon-1-core - 25646115400.17
  • Tree
  • List 292
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25646115400
  • 886d0521 on github
  • Prev Job for on dev (#25642120700.11)
  • Next Job for on dev (#25646971668.17)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc