{"slug": "eight-threads-one-pr-how-to-trace-a-multi-agent-coding-job", "title": "Eight Threads, One PR: How to Trace a Multi-Agent Coding Job", "summary": "A developer, drawing on accounts from Theo, Codez and meow, outlined a workflow for tracing multi-agent coding jobs in which each role—lead, builder, playtester, copywriter and dispatcher—returns inspectable artifacts such as a reviewed SPEC.md, changed files with checks run, and launched thread IDs. The approach pairs stable team rules in TEAM.md with issue-specific BRIEFs that pin down file ownership, acceptance criteria and what not to touch, and recommends a small per-provider model check before dispatching work. The author tested one planning decision on November 24, 2026, but did not run the multi-machine T3 Code workflow or implement the example feature.", "body_md": "A bot can say “sent” while no agent has started. A builder can say “done” while the change sits in the wrong repository. And eight clean worktrees can still collide when their branches change the same interface.\n\nThe workflow discussed by Theo, Codez, and meow is more useful when each transition leaves something that the next person can inspect. Theo proposed dividing implementation, playtesting, and writing among different models.\n\nCodez added a T3 Code lead, file ownership, review loops, and a Grok Bot demonstration that routed work to eight machines and eight threads. Meow brought that demonstration to Chinese developers. The eight-thread view shows dispatch, not an eightfold speed measurement.\n\nAn AI agent drafted this article from those accounts, T3 Code documentation, and a recorded API call. I tested one planning decision on November 24, 2026. I did not run the multi-machine T3 Code workflow, implement the example feature, or create a PR.\n\nCodez's example maps specific models to jobs: Fable 5.2 leads, Opus 5.5 builds, GPT-6.2 Astra playtests, Gemini 4 Neon writes copy, and Grok Bot dispatches. Theo's starting point was the implementation, testing, and writing split; the lead, builder, and remote dispatcher are later additions to the process.\n\nThe model choices are examples from the posts. The useful part is what each role must return.\n\n| Role | Output needed by the next step | \n|---|---|\n| Lead | A reviewed specification, task boundaries, file owners, and unresolved decisions | \n| Builder | Changed files, checks actually run, observed results, and remaining failures | \n| Playtester | Reproduction steps, expected behavior, observed behavior, and impact | \n| Copywriter | Documentation that matches the reviewed behavior | \n| Dispatcher | Target environment, project, launched thread ID, and its returned status | \n\nBefore sending an issue, open a tiny thread for each planned provider and ask only which model is responding. This catches a missing login or unavailable model before it is mixed with repository permissions and code failures. Repeat the check on every machine that will host work; one machine's login tells you nothing about another's.\n\n*The interface can display several agents. A task boundary still has to be supplied.*\n\nCodez puts stable team rules in TEAM.md: roles, file ownership, approval points, and areas such as secrets, migrations, or CI configuration that need a person. An issue-specific BRIEF carries the details that will change next time.\n\nTake an offline topic board. Its UI, filter state, localStorage, and CSS all live in index.html; README.md explains usage. The issue asks for CSV export of **the currently visible topics**, with title, platform, and done status. Commas, quotes, and line breaks must survive. The file needs a UTF-8 BOM; no matching topics should produce a header-only CSV. No network dependency may be added.\n\nA useful BRIEF for that issue can be short:\n\n**To:** one builder with write access to index.html.\n\n**Goal:** export the filtered view, not the entire stored collection.\n\n**Known state:** index.html owns the UI and filter; README.md is documentation.\n\n**Done when:** special characters, BOM, empty results, and offline use have been checked against an actual file.\n\n**Do not:** change unrelated filtering, secrets, network behavior, or deployment settings; do not create a PR.\n\n**Return:** touched files, exact checks, observed output, failures, and questions for the human owner.\n\nThe recipient and role can be two separate fields when the brief is handed across tools. “Add export” loses the most important fact here: whether export means visible rows or all rows. A new thread may not carry the conversation that settled it.\n\nIn Codez's sequence, the lead reads the repository and writes SPEC.md before delegating. The spec names affected files, the desired behavior, risks, and checks. A person resolves the open choices before builders start writing.\n\nInside T3 Code, a lead can delegate to subagents. The posts also show model selection, an Agents view for the child threads, and side conversations for questions that should not interrupt the main task. Those are conversation controls. A Git branch records commits; a worktree separates working directories. Neither a second thread nor a second worktree settles ownership of a shared function.\n\n*Side conversations preserve the main thread's flow; file ownership is a separate decision.*\n\nFor the CSV issue, the button and serializer both touch index.html and its state. Give that file to one builder. Have a reviewer prepare edge cases without writing the production file. Update README.md after the behavior has passed review. If a later issue has two independent modules and disjoint writable files, then two builders and two worktrees may help.\n\nCodez's Grok Bot example adds a route before the lead or builder can work. Each host must be running and reachable through T3 Connect. The bot needs a specific environment, project, and repository target. The returned thread ID identifies the work to read later.\n\nThe setup sequence in the demonstration is concrete: enable T3 Connect on the host, copy that environment's MCP URL from Settings → Environments, add the remote MCP server to the bot, and approve the OAuth sign-in. Link the environments when the bot needs to see more than one host. Confirm each host's model login and project mapping before issuing a code task.\n\n*A project name becomes ambiguous when more than one machine contains the same name.*\n\nThere is a practical distinction between an agent started inside T3 Code and one entering through MCP. The [Outside agents documentation](https://github.com/pingdotgg/t3code/blob/main/docs/user/outside-agents.md) says an internal agent can delegate a subagent.\n\nAn external bot should use t3_thread_launch with an explicit project target, then t3_thread_wait or t3_thread_read to collect the result. It cannot assume the project from a person's currently selected tab.\n\n*The launch call and the subsequent read are separate checkpoints.*\n\nI would record these transitions for every remote issue:\n\n| Checkpoint | Evidence to keep | If it is missing | \n|---|---|---|\n| Route | Machine, environment, project ID, repository path | Resolve duplicate names before dispatch | \n| Launch | Thread ID in the intended project | Check connectivity, OAuth, and target selection | \n| Execution | Thread state and permission requests | Clear the blocked approval or provider problem | \n| Handoff | Files changed and checks observed | Inspect the real diff; do not accept “done” alone | \n| Integration | Full branch diff against its base | Resolve shared interfaces and unrelated edits | \n\nThis turns “the bot sent it” into a question with a specific answer: which host received it, which thread started, and what file changed? It also gives a place to see when a task is waiting on a person instead of silently appearing idle.\n\nI sent the CSV issue as an English prompt through Crazyrouter's OpenAI-compatible API to deepseek-v4.1-flash. The prompt asked whether parallel builders were safe, which files each role could own, what a reviewer should check, and where a human should approve. The response returned single-builder: implement index.html first, review it, then document the settled behavior in README.md. Total usage was 816 tokens.\n\nThe recorded HTTP endpoint was [https://api.crazyrouter.com/v1/chat/completions](https://api.crazyrouter.com/v1/chat/completions). With an OpenAI-compatible SDK, the base URL is [https://api.crazyrouter.com/v1](https://api.crazyrouter.com/v1) and the client appends the chat route.\n\nTo compare the same planning prompt with another model, check the [coding model directory](https://crazyrouter.com/en/models/task/coding) for its ID and the [integration guide](https://crazyrouter.com/en/integrations?utm_source=devto&utm_medium=article&utm_campaign=offsite_article&utm_content=cr_d37fceb9a872_mid_text) for client configuration.\n\nThat response is a planning result. It did not produce a CSV file, start a T3 thread, or establish that this workflow improves speed or reliability.\n\nThe playtester should inspect the actual diff and run the page. For this issue, the evidence to bring back is concrete: filtered rows only; a CSV field containing a comma, quote, and newline that reopens intact; a BOM at the start of the file; a header-only export for no matches; and offline operation without a new dependency.\n\nFor each failure, record reproduction, expected result, observed result, and impact. A “read-only reviewer” instruction is not an access control. Check the agent's actual permissions if it must not edit.\n\nBefore a PR, compare the **whole branch** with its base, not only the last agent turn. The reviewer should see every file touched by builders and the documentation writer, the tests or manual checks, unresolved failures, and any interface conflict between worktrees. Commit, push, PR creation, and merge are distinct decisions for the repository owner.\n\nCodez closes the workflow from a phone through T3 Connect. The phone is a client to a host that must remain running and reachable; it is not where the coding agent executes. A mobile approval can be convenient, but it does not turn a dispatch notification into a reviewed change.\n\nThe discussion around the original workflow raised three useful warnings: a vague machine name can send work to the wrong environment; worktrees do not eliminate shared-interface conflicts; and a user reported higher token use after adding an external bot. That last report is one person's experience, not a general measurement. It is a reason to start with the smallest role set that produces inspectable work.\n\nThe posts mention scheduled tasks and webhooks, but the visible six-step text available on November 24, 2026 ended during the bot-connection section. I would not treat the missing setup steps as a reproducible recipe. For the next issue, the practical starting point is simpler: name the target, approve the spec, give each file an owner, read the returned thread, and inspect the branch before opening a PR.", "url": "https://wpnews.pro/news/eight-threads-one-pr-how-to-trace-a-multi-agent-coding-job", "canonical_source": "https://dev.to/buluo/eight-threads-one-pr-how-to-trace-a-multi-agent-coding-job-1mh6", "published_at": "2026-11-24 09:41:09+00:00", "updated_at": "2026-11-24 09:42:41.109652+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "large-language-models"], "entities": ["T3 Code", "Grok Bot", "Theo", "Codez", "meow", "Fable 5.2", "Opus 5.5", "GPT-6.2 Astra"], "also_reported_by": [], "takeaway": "Require each agent role to return a specific artifact—a reviewed SPEC.md from the lead, changed files plus checks actually run from the builder, and target environment with launched thread ID and status from the dispatcher—and run a per-machine model-availability check before dispatching work.", "recommendation": {"advice": "Have each role return a defined artifact and verify model availability on every host machine before dispatching, so missing logins are caught before they mix with repository permissions and code failures.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/eight-threads-one-pr-how-to-trace-a-multi-agent-coding-job", "markdown": "https://wpnews.pro/news/eight-threads-one-pr-how-to-trace-a-multi-agent-coding-job.md", "text": "https://wpnews.pro/news/eight-threads-one-pr-how-to-trace-a-multi-agent-coding-job.txt", "jsonld": "https://wpnews.pro/news/eight-threads-one-pr-how-to-trace-a-multi-agent-coding-job.jsonld"}}