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

lsm / neokai / 24867623707
83%

Build:
DEFAULT BRANCH: dev
Ran 24 Apr 2026 01:32AM UTC
Jobs 0
Files 0
Run time –
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

Canceled at 26 Apr 2026 08:16PM UTC via web
24867623707

push

github

web-flow
fix(space): re-attach space-agent-tools on workflow sub-session reuse (Task #99) (#1615)

Generalize `ensureNodeAgentAttached` to enforce both `node-agent` AND
`space-agent-tools` on every workflow sub-session before its first turn.
The reuse branch of `createSubSession` previously re-injected only
node-agent, so a Coder/Reviewer session that had lost space-agent-tools
(e.g. via a stale deprecated `setRuntimeMcpServers` path or a race with
`attachSpaceToolsToMemberSession`) would fail `write_gate`/`read_gate`
with "No such tool available" and the workflow stalled at the first
gate.

Changes:
- Add `REQUIRED_WORKFLOW_SUBSESSION_MCP_SERVERS = ['node-agent',
  'space-agent-tools']` and make `ensureNodeAgentAttached` verify and
  self-heal both servers (with `ensureRequiredMcpServersAttached` as a
  clearer alias).
- Add `reinjectSpaceAgentToolsMcpServer` primitive + shared
  `buildSpaceAgentToolsMcpServerForSubSession` helper; refactor spawn,
  eager-spawn, and rehydrate paths to build via the helper so all
  produce identical server shape (including `onRestoreNodeAgent`).
- In `createSubSession` reuse path, call
  `ensureRequiredMcpServersAttached` after `reinjectNodeAgentMcpServer`
  so space-agent-tools is also restored on session reuse.
- Expand `task-agent-manager-mcp.test.ts`: update existing invariant
  tests for the new required-servers contract and add new cases covering
  space-agent-tools-only-missing, both-missing self-heal, and the
  `reinjectSpaceAgentToolsMcpServer` + `buildSpaceAgentToolsMcpServerForSubSession`
  primitives.
Source Files on build 24867623707
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #24867623707
  • d73db092 on github
  • Prev Build on dev (#24834671252)
  • Next Build on dev (#24867891157)
  • 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