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

lsm / neokai / 22804708783
84%

Build:
DEFAULT BRANCH: dev
Ran 07 Mar 2026 06:29PM 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

pending completion
  cancel
22804708783

push

github

web-flow
fix(runtime): build leader init lazily with current room config (#235)

* fix(runtime): build leader init lazily with current room config

Previously, the leader AgentSessionInit was built at spawn() time and stored
in pendingLeaderInits. If room config changed before the leader started,
the leader used stale config (e.g., missing agentSubagents.leader reviewers).

Now:
- DeferredLeaderConfig stores config params instead of pre-built init
- routeWorkerToLeader() builds init with current room from RoomRuntime
- RoomRuntime passes this.room to routeWorkerToLeader()

This ensures room config changes made after spawn() are respected
when the leader session starts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(test): set maxFeedbackIterations: 5 in flow tests

The test comment incorrectly stated maxFeedbackIterations = 5
was set in test helpers but but it option wasn't actually passed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(runtime): read room from DB for leader init instead of caching

Previously, room config was passed from RoomRuntime.this.room (cached).
Now, TaskGroupManager uses getRoom(roomId) to fetch the current room
directly from the database when building the leader init.

This ensures room config changes are always respected, even if:
- Config changes after spawn() but before leader starts
- Daemon restart (pending config lost → task re-queued)

Changes:
- Add getRoom to RoomRuntimeConfig and TaskGroupManagerConfig
- RoomRuntimeService passes roomManager.getRoom to RoomRuntime
- routeWorkerToLeader() fetches room from DB via getRoom(roomId)
- Updated tests to pass getRoom function

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(runtime): fetch task/goal from DB for leader init instead of caching

Extends the lazy leader init pattern to also fetch task and goal from DB
at route time, not just room. This ensures all config/data changes made
after spawn() are respected when the leader start... (continued)
Source Files on build 22804708783
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #22804708783
  • 830b0aed on github
  • Prev Build on dev (#22803889463)
  • Next Build on dev (#22805294789)
  • 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