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

lsm / neokai / 25646115400
83%

Build:
DEFAULT BRANCH: dev
Ran 11 May 2026 01:49AM UTC
Jobs 28
Files 522
Run time 2min
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: 82.446% (+0.02%) from 82.426%
25646115400

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)

8347 of 11648 branches covered (71.66%)

Branch coverage included in aggregate %.

114 of 120 new or added lines in 3 files covered. (95.0%)

65408 of 77811 relevant lines covered (84.06%)

289.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
84.27
0.59% packages/daemon/src/lib/space/tools/task-agent-tools.ts
2
73.44
1.42% packages/daemon/src/lib/space/tools/space-agent-tools.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-agent - 25646115400.1 11 May 2026 01:50AM UTC 170
28.26
GitHub Action Run
2 daemon-online-coordinator - 25646115400.2 11 May 2026 01:49AM UTC 287
7.42
GitHub Action Run
3 daemon-online-rpc-4 - 25646115400.3 11 May 2026 01:51AM UTC 287
23.59
GitHub Action Run
4 daemon-online-mcp - 25646115400.4 11 May 2026 01:49AM UTC 287
18.2
GitHub Action Run
5 daemon-online-rewind-1 - 25646115400.5 11 May 2026 01:51AM UTC 287
22.49
GitHub Action Run
6 daemon-online-rpc-1 - 25646115400.6 11 May 2026 01:50AM UTC 287
19.24
GitHub Action Run
7 daemon-online-rewind-2 - 25646115400.7 11 May 2026 01:50AM UTC 287
23.03
GitHub Action Run
8 daemon-0-shared - 25646115400.8 11 May 2026 01:49AM UTC 29
84.15
GitHub Action Run
9 daemon-5-space-workflow - 25646115400.9 11 May 2026 01:49AM UTC 107
31.33
GitHub Action Run
10 daemon-5-space-runtime - 25646115400.10 11 May 2026 01:50AM UTC 148
40.22
GitHub Action Run
11 daemon-4-space-storage - 25646115400.11 11 May 2026 01:51AM UTC 132
55.74
GitHub Action Run
12 daemon-online-sdk - 25646115400.12 11 May 2026 01:50AM UTC 287
22.19
GitHub Action Run
13 daemon-online-features-2 - 25646115400.13 11 May 2026 01:50AM UTC 287
22.71
GitHub Action Run
14 web - 25646115400.14 11 May 2026 01:50AM UTC 222
76.55
GitHub Action Run
15 daemon-5-space-other - 25646115400.15 11 May 2026 01:50AM UTC 126
30.95
GitHub Action Run
16 daemon-online-components - 25646115400.16 11 May 2026 01:49AM UTC 287
17.75
GitHub Action Run
17 daemon-1-core - 25646115400.17 11 May 2026 01:50AM UTC 292
37.77
GitHub Action Run
18 daemon-2-handlers - 25646115400.18 11 May 2026 01:49AM UTC 129
56.94
GitHub Action Run
19 daemon-online-websocket - 25646115400.19 11 May 2026 01:50AM UTC 287
17.87
GitHub Action Run
20 daemon-online-lifecycle - 25646115400.20 11 May 2026 01:50AM UTC 287
22.74
GitHub Action Run
21 daemon-online-git - 25646115400.21 11 May 2026 01:50AM UTC 287
18.88
GitHub Action Run
22 daemon-online-convo - 25646115400.22 11 May 2026 01:50AM UTC 287
22.18
GitHub Action Run
23 daemon-online-rpc-2 - 25646115400.23 11 May 2026 01:50AM UTC 287
23.68
GitHub Action Run
24 daemon-online-agent-sdk - 25646115400.24 11 May 2026 01:50AM UTC 287
22.31
GitHub Action Run
25 daemon-online-features-1 - 25646115400.25 11 May 2026 01:50AM UTC 287
23.05
GitHub Action Run
26 daemon-online-space-2 - 25646115400.26 11 May 2026 01:51AM UTC 287
32.11
GitHub Action Run
27 daemon-online-rpc-3 - 25646115400.27 11 May 2026 01:50AM UTC 287
19.98
GitHub Action Run
28 daemon-online-space-1 - 25646115400.28 11 May 2026 01:50AM UTC 287
32.25
GitHub Action Run
Source Files on build 25646115400
  • Tree
  • List 522
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25646115400
  • 886d0521 on github
  • Prev Build on dev (#25642120700)
  • Next Build on dev (#25646971668)
  • 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