0.84.0
本頁內容尚未翻譯。
Released 2026-11-23. A feature release on 0.83.0: review threads, plus the fixes of 0.83.1, which was tagged but never published. Design: lite B2, D, E, F §2 (the boss’s decisions: d_where=sb, d_attach=main_pairs, d_rounds=per_thread).
- Review threads: a worker and its reviewer talk directly. A main calls
boss_pair {worker, reviewer, rounds?}before it dispatches the two, writes both briefs, and dispatches both with the lineThread: T<n>in their tasks. The two children post to each other on that thread through the sb server withthread_post {thread, to, tag, text, refs?}andthread_wait {thread, since?}, and the main is woken only by their two results when the thread closes. A reviewed change with r repair rounds used to cost the main 2r+3 turns and every finding twice in its context; now it costs one or two turns. See Review threads.- The server numbers the posts
#nand writes who sent each. Only the worker postsreview; only the reviewer postsfix(one repair round each) anddone(its approval, which closes the thread); either postsblocked, which closes it too.roundsis 1 to 3, default 3: afixpast it is refused, and the server closes the threadblockedwith “N repair rounds used”. The main may be named only withdoneorblocked, so a child cannot wake it early; a member’s wait returns only the posts that name it. - The server also closes a thread
blockedafter 2 hours without a post, 24 hours after the pair, or when a member’s run ended without a close. - The server sends the main nothing: the children’s results, delivered by pi-herdr-agents as for any subagent, are the wake. A revived main keeps its threads (same session id) and picks up results through orphan pickup; a handover adds no wake path.
board_readlists a main’s threads in sectionthreads, andboard_read {thread}shows one thread’s posts, newest last within 16 KB, framed with|so a child’s text cannot pass for sb’s;<owner8>/T<n>reads another main’s thread on this computer.- The threads live in
threads/<owner8>/T<n>.jsonl(the posts, mode 600) andT<n>.jsonin the server’s folder, so a server restart keeps them; a closed thread’s files go 7 days after its close.
- The server numbers the posts
- Who may. Only a tab’s main or a train pairs, never in a teammate’s turn; members and towers are refused, and a tower run has no
boss_pair. Only the pairing main’s two children speak on a thread: each child is tied to the main that dispatched it by pi-herdr-agents’ launch script, session file, and activity file (src/server/childtie.ts, the tie the 0.80.0 watchdog used), and its script’s name must be the thread’s worker or reviewer. Another child of the same main, a child of another main, and a child whose run is done are refused. The control socket carries no peer credentials, so a process of the same user can still post a false message to one thread.
Changed
Section titled “Changed”- The tool sets stay put.
boss_pairis registered with the net tools at the join, so a main has it from its session start.thread_postandthread_waitare registered in every child, inactive; at the child’s first run, before its first model call, sb asks the server whether its main paired it, and only a member gets the two in its active set. Any other child has them taken out, even with the reviewer role’stools:line, which now names them. The answer holds for the session. roles/worker.mdandroles/reviewer.mdeach gain a## Review threadsection;prompts/main.mdsays how to dispatch a reviewed change.- The long poll the retired
watch_readran issrc/holdpoll.ts, whichthread_waitruns: progress updates keep pi-herdr-agents’ hang advisory quiet, an abort or an arriving message ends it, and a server that does not answer is asked again.
On a promoted main with no Straw Link and no train (tests/tools-budget.test.ts): 12 tools and 9,601 characters, from 11 and 8,753: boss_pair is 698, and board_read grows from 680 to 830 for thread and section threads. A child carries the two thread tools inactive; only a paired one sends them to the model.
Upgrade notes
Section titled “Upgrade notes”- A session that has not reloaded has no
boss_pairuntil its next/reloador pi start, and a child launched by an older build has no thread tools. - A reviewer role in a global or project folder that should take part in threads needs
thread_postandthread_waitin itstools:line;/boss roles-checkknows both as child-only names.