You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Park terminal polls (write_stdin) instead of holding a turn slot #324
An empty write_stdin waits for the terminal's output inside run_tool: 5 s by default, at most 30 s (MAX_YIELD_MS). Each poll keeps its turn's active slot for that time. With an active-turn limit set, bots that poll could keep other bots from starting.
This is the same cost as a foreground shell call, which holds its slot for the whole command, and the bound is lower. A long wait on a terminal already parks durably through wait proc:N. If it matters in practice, a poll past a threshold could go through the same parking as wait, with the terminal's output as the wake.
Logged so #322 can merge, per the "merge when green, log findings" rule.
Activity
Let a bot type into a running program: shell tty and write_stdin (#322)
Terminal polls past the bot's hold park their turn, as wait does
Sonny: tool_processes is one total, ¾ for the tool host and ¼ for the…
Daemon: bots filters by maker; the perf screen sees Sonny (#573)
Daemon: limits from [daemon] formulas, and a load gate for new comman…
Sonny: a lead keeps so many task windows open, closing the least rece…
Lookout: replies read on a pool of connections, so 1,000 tasks' ends …
Store: plan statements once, so cached joins stop being parsed again …
Plan audit: plan with the stability guarantee, as the daemon's connec…