Skip to content

P1: Worker-finished notice sends leads into 164 useless thread_status calls — fix the false "full details" line and polling advice #1436

Closed

Description

@currentbits

Found during the third T3 Orchestrator V2 research pass, from mining 10,498 coder-threads tool calls in the live store (2026-08-13 to 2026-10-04). Report: reports/T3 orchestrator ACP UX and repros.md; evidence: research_notes/T3 orchestrator ACP UX and repros/agent_tool_surface.md (both on branch coder/i-want-you-to-research-t3-codes-orchestr-fae77a).

Evidence

  • The worker-finished notice and the INSTRUCTIONS both say thread_status "has full details". It doesn't: it returns the first line of the last reply, which the notice already contains.
  • Leads follow the text anyway. On 164 notice turns, a lead called thread_status on the exact worker the notice named. They then fall back to git diff/log/show (666 git calls), and 9 times they read Solenta's own messages/<worker>.json directly.
  • The INSTRUCTIONS also invite polling ("thread_status still has full details if you need them before the wake-up", and "if one goes quiet check thread_status for awaitingInput"). That produced 387 repeat checks on workers already seen as working in the same run, plus sleep 300 loops. The worst run made 49 status calls in 27 minutes.
  • The stall advice has been stale since Sidebar: nest forks under their parent and keep a delegating family on Working #1421. The sidebar now shows a worker blocked on a permission prompt as needing the user, and the advice was useful in only 15 of 1,267 status results.

Change (before → after)

  1. Notice tail (runner queueOrchNotice):
    • Before: "Continue orchestrating; thread_status has full details."
    • After: "Its final reply is above. Review its branch with git (log/diff against your branch) before reporting; do not call thread_status for this worker."
    • Ideally the notice also carries the worker's full final reply, capped at ~4,000 chars, instead of the first line. That overlaps P2: Structured worker result in the lead's wake notice, rendered as a card #1427, so coordinate.
  2. INSTRUCTIONS (electron/orchServer.js ~89-101):
    • Before: the "Runs are asynchronous… thread_status still has full details… if one goes quiet check thread_status for awaitingInput…" passage.
    • After: "Runs are asynchronous. After thread_fork or thread_send, end your turn: each worker's finish (done or failed) wakes you with its final reply. Do not poll thread_status, sleep, or start watchers while workers run. A worker blocked on a permission prompt shows as needing the user in the sidebar."
  3. thread_status description: append "Do not call it in a loop; finished workers wake you."

Caveats

  • Update the fold matcher in the same diff. src/workerActivity.ts:51-62 exact-matches the runner's canned notice text to fold routine worker activity. Changing the tail without updating that matcher silently un-folds every notice.
  • "End your turn" is only as reliable as the wake. A crash still loses wakes until P1: Durable crew notices and honest restart recovery with consent-gated resume #1426 lands. The September polling spike suggests leads didn't trust the wake.
  • It's unverified whether Grok, Cursor and Kimi show MCP server-level instructions to the model. Grok is the most common worker and lead-side provider mix. If they don't, put the key sentence in a per-turn note for those providers too.

Test

Update the notice-text assertions in electron/test/crew-notices.test.js, and add a renderer test showing the new tail still folds.

Size: S.

Activity

  1. added
    plan:todo
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Oct 4, 2026
  2. currentbits commented on Oct 4, 2026

    @currentbits
    OwnerAuthor

    Landed from Solenta thread "P1: Worker-finished notice sends leads into 164 useless thre". Closed on merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions