Skip to content

fix(runner): answers never queue behind coding runs; a failed ticket split says so - #258

Merged
hoangsnowy merged 1 commit into
mainfrom
fix/runner-answer-lane
Oct 22, 2026
Merged

hoangsnowy merged 1 commit into
mainfrom
fix/runner-answer-lane

Conversation

@hoangsnowy

Copy link
Copy Markdown
Owner

Summary

Found while planning the VNChessAcademy chess library through New idea on the lab: the spec came back, but the ticket split fell back to ~20 raw drafts titled "FR-2", "FR-3"… The runner had a single 2-slot queue; both slots held 15-minute Autopilot coding runs, so the split waited past the server's 120 s deadline.

  • Runner lanes: answer-only requests (no scoped autonomy) run in their own lane (REMOTE_AGENT_MAX_ANSWERS, default 2), so a person waiting on the screen never queues behind background coding.
  • Deadline: specialist agents + the Decomposition agent request LlmRequest.AgentAnswerTimeout (5 min) — only RemoteAgent honours it.
  • Honest fallback: BootstrapPreview.Refined is false when the decomposer returned its seed; New idea shows "The AI couldn't split this into tickets this time" + Try again instead of passing the drafts off as the plan.

Test plan

  • IdeaBootstrapServiceTests: refined vs seed fallback.
  • Full suite green locally.
  • Lab: New idea while Autopilot runs two coding tasks → refined tickets.

🤖 Generated with Claude Code

https://claude.ai/code/session_018WAdQ7Rm24xss5QDSvXtJB

…split says so

New idea on the lab fell back to raw "FR-2"-style drafts: the runner ran every request through one 2-slot queue, so the
ticket split waited behind two long Autopilot coding runs and outlived the server's 120 s dispatch deadline.

- Runner: answer-only requests (no scoped autonomy) get their own lane (REMOTE_AGENT_MAX_ANSWERS, default 2).
- Specialist agents and the Decomposition agent ask for a 5-minute deadline (LlmRequest.AgentAnswerTimeout); HTTP
  providers ignore it.
- BootstrapPreview.Refined: when the split fell back to the deterministic drafts, New idea says so in plain language
  with Try again instead of presenting the drafts as the plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WAdQ7Rm24xss5QDSvXtJB
@hoangsnowy
hoangsnowy merged commit 38b18c2 into main Oct 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant