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

lsm / neokai / 25517936748
82%

Build:
DEFAULT BRANCH: dev
Ran 07 May 2026 07:40PM UTC
Jobs 28
Files 511
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

07 May 2026 07:39PM UTC coverage: 82.533% (+0.05%) from 82.483%
25517936748

push

github

web-flow
feat: task observability — list_tasks, get_task, list_audit_entries tools and MCP audit trail (#1822)

* feat: add task observability with list_tasks, get_task tools and MCP audit trail

- Add list_tasks and get_task read tools to node-agent-tools (workflow sub-sessions)
- Add created_by and created_by_session columns to space_tasks (migration 120)
- Create mcp_audit_log table for MCP write operation traceability (migration 121)
- Add McpAuditLogRepository with createEntry, listBySpace, listByTask, listBySession
- Audit log create_standalone_task, approve_task, send_message (with gate data),
  and save_artifact across space-agent-tools and node-agent-tools
- Pass mySessionId and auditLogRepo through SpaceRuntimeService and TaskAgentManager
- Update space-test-db helper to match migrated schema

* fix: address PR review feedback on task observability

- Scope get_task lookups by space in node-agent-tools: verify task.spaceId
  matches the session's spaceId after UUID lookup to prevent cross-space
  task leakage.
- Preserve creator identity accuracy: use null instead of 'space-agent' fallback
  when myAgentName is unset (member sessions), so created_by is only set when
  the actual agent identity is known. createdBySession still captures the
  session ID for traceability.

* fix: add mcp_audit_log to db-query scope config and update test

- Register mcp_audit_log in SPACE_SCOPE_TABLES with space_id column filtering
- Update scope-config test to expect 15 space-scoped tables including mcp_audit_log

* fix: audit logging accuracy for create_standalone_task and approve_task

- node-agent-tools: move create_standalone_task audit log to AFTER the
  onCreateStandaloneTask callback succeeds, so failed creations (validation
  errors, dependency failures) are not logged as successful writes.
- node-agent-tools: stamp the newly created task ID in the audit entry,
  not the current session task ID, so listByTask(newTaskId) finds it.
- space-agent-tools: add option... (continued)

8231 of 11408 branches covered (72.15%)

Branch coverage included in aggregate %.

455 of 497 new or added lines in 11 files covered. (91.55%)

63799 of 75866 relevant lines covered (84.09%)

285.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
32
91.8
-2.31% packages/daemon/src/lib/space/tools/node-agent-tools.ts
10
81.18
-0.29% packages/daemon/src/lib/space/tools/space-agent-tools.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-5-space-agent - 25517936748.1 07 May 2026 07:40PM UTC 161
28.81
GitHub Action Run
2 daemon-5-space-other - 25517936748.2 07 May 2026 07:40PM UTC 125
30.58
GitHub Action Run
3 daemon-online-rpc-1 - 25517936748.3 07 May 2026 07:41PM UTC 278
19.17
GitHub Action Run
4 daemon-online-components - 25517936748.4 07 May 2026 07:40PM UTC 278
17.65
GitHub Action Run
5 daemon-online-mcp - 25517936748.5 07 May 2026 07:40PM UTC 278
18.11
GitHub Action Run
6 daemon-1-core - 25517936748.6 07 May 2026 07:40PM UTC 284
39.23
GitHub Action Run
7 daemon-5-space-runtime - 25517936748.7 07 May 2026 07:40PM UTC 147
39.24
GitHub Action Run
8 daemon-2-handlers - 25517936748.8 07 May 2026 07:40PM UTC 123
57.31
GitHub Action Run
9 daemon-4-space-storage - 25517936748.9 07 May 2026 07:41PM UTC 123
50.99
GitHub Action Run
10 daemon-online-agent-sdk - 25517936748.10 07 May 2026 07:40PM UTC 278
22.08
GitHub Action Run
11 daemon-online-features-2 - 25517936748.11 07 May 2026 07:40PM UTC 278
22.5
GitHub Action Run
12 daemon-online-rpc-4 - 25517936748.12 07 May 2026 07:41PM UTC 278
23.16
GitHub Action Run
13 daemon-0-shared - 25517936748.13 07 May 2026 07:40PM UTC 28
83.75
GitHub Action Run
14 daemon-online-rewind-2 - 25517936748.14 07 May 2026 07:41PM UTC 278
22.84
GitHub Action Run
15 daemon-online-features-1 - 25517936748.15 07 May 2026 07:41PM UTC 278
22.86
GitHub Action Run
16 web - 25517936748.16 07 May 2026 07:41PM UTC 222
77.01
GitHub Action Run
17 daemon-online-space-1 - 25517936748.17 07 May 2026 07:41PM UTC 278
31.8
GitHub Action Run
18 daemon-online-rewind-1 - 25517936748.18 07 May 2026 07:41PM UTC 278
22.28
GitHub Action Run
19 daemon-online-space-2 - 25517936748.19 07 May 2026 07:42PM UTC 278
31.95
GitHub Action Run
20 daemon-online-websocket - 25517936748.20 07 May 2026 07:40PM UTC 278
17.78
GitHub Action Run
21 daemon-online-rpc-3 - 25517936748.21 07 May 2026 07:40PM UTC 278
19.68
GitHub Action Run
22 daemon-5-space-workflow - 25517936748.22 07 May 2026 07:40PM UTC 106
30.53
GitHub Action Run
23 daemon-online-convo - 25517936748.23 07 May 2026 07:41PM UTC 278
21.96
GitHub Action Run
24 daemon-online-lifecycle - 25517936748.24 07 May 2026 07:40PM UTC 278
22.54
GitHub Action Run
25 daemon-online-sdk - 25517936748.25 07 May 2026 07:40PM UTC 278
21.97
GitHub Action Run
26 daemon-online-git - 25517936748.26 07 May 2026 07:40PM UTC 278
18.8
GitHub Action Run
27 daemon-online-rpc-2 - 25517936748.27 07 May 2026 07:41PM UTC 278
23.42
GitHub Action Run
28 daemon-online-coordinator - 25517936748.28 07 May 2026 07:40PM UTC 278
7.37
GitHub Action Run
Source Files on build 25517936748
  • Tree
  • List 511
  • Changed 12
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25517936748
  • 623bcf33 on github
  • Prev Build on dev (#25478454997)
  • Next Build on dev (#25523772485)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc