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

lsm / neokai / 26363417010

24 May 2026 02:06PM UTC coverage: 81.63% (+0.02%) from 81.615%
26363417010

push

github

web-flow
Promote Space sessions to agents (#2007)

* feat: promote space sessions to agents

Add promotion draft and create flows so ad-hoc Space sessions can become reviewed long-horizon agents without copying raw chat history wholesale.

* fix: preserve promotion draft session settings

Keep explicit empty setting sources during promotion and gather the requested number of text-bearing context messages for drafts.

* fix: tighten promotion draft behavior

Preserve session tool presets, keep newest standing context, bound draft message scans, and remount promotion editors when drafts change.

* fix: harden promotion draft review flow

Ignore stale promotion draft responses, validate spaces before promotion, and preserve disallowed tool restrictions when drafting agents.

* fix: protect promotion message parse and hide promote for task agents

Wrap JSON.parse in try/catch in getRenderableTextMessages so a single
corrupted row does not discard previously collected messages. Hide the
Promote button on space_task_agent sessions to avoid opaque backend errors.

* test: stabilize SpaceGoals selection order

Pin updatedAt values so goal sorting keeps goal-1 first instead of depending on Date.now() ties.

9317 of 13703 branches covered (67.99%)

Branch coverage included in aggregate %.

206 of 234 new or added lines in 8 files covered. (88.03%)

3 existing lines in 2 files now uncovered.

76895 of 91910 relevant lines covered (83.66%)

296.37 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

74.06
/packages/web/src/components/MessageInput.tsx


Source Not Available

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