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

lsm / neokai / 25686166199 / 23
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 11 May 2026 05:30PM UTC
Files 288
Run time 12s
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 05:27PM UTC coverage: 17.835% (-0.1%) from 17.931%
25686166199.23

push

github

web-flow
feat(daemon): normalize Space runtime notifications via InternalEventBus (M6) (#1860)

* feat(daemon): normalize Space runtime notifications via InternalEventBus (M6)

Define Space runtime domain events as typed channels with dot-separated
camelCase names (space.task.blocked, space.workflowRun.completed, etc.)
and publish them through InternalEventBus on all Space runtime state transitions.

- Add SpaceEvents interface to internal-event-bus.ts with 16 event types
  covering task, agent, and workflowRun lifecycle events.
- Add SpaceEvents to DaemonInternalEventMap intersection.
- Wire SpaceRuntime.safeNotify() to dual-publish: legacy NotificationSink
  path plus new InternalEventBus path via mapNotificationEventToInternalEvent().
- Add internalEventBus field to SpaceRuntimeConfig.
- Implement SpaceAgentNotificationService as an InternalEventBus subscriber
  that turns selected Space events into agent-facing [TASK_EVENT] messages.
- Mark NotificationSink, NullNotificationSink, setNotificationSink(), and
  getNotificationSink() as @deprecated with M6 removal plan.
- Add tests for SpaceAgentNotificationService (23 tests) and dual-publishing
  integration in space-runtime-notifications.test.ts.

The legacy NotificationSink path remains functional for backward compatibility;
all existing tests continue to pass.

* fix(daemon): address M6 review feedback on production wiring and types

- Wire internalEventBus through SpaceRuntimeService → SpaceRuntime
- Instantiate SpaceAgentNotificationService per-space in setupSpaceAgentSession
- Pass internalEventBus to ChannelRouter for workflow_run_reopened dual-publish
- Add type-safe publishToInternalEventBus helper to avoid unsafe casts
- Extract shared SessionFactory interface to runtime/types.ts
- Document 4 reserved but unemitted event types in DaemonInternalEventMap
- Add barrel exports for SpaceAgentNotificationService and SessionFactory
- Update tests for service-level autonomy in task_awaiting_approval

* feat... (continued)

13975 of 78359 relevant lines covered (17.83%)

9.24 hits per line

Source Files on job daemon-online-websocket - 25686166199.23
  • Tree
  • List 288
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25686166199
  • f5a06819 on github
  • Prev Job for on dev (#25672010875.18)
  • Next Job for on dev (#25693850745.4)
  • 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