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
Check a sub-agent's final report against reality (PR head, CI state, comments, leftovers) instead of trusting it #810
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
Goal: a sub-agent's final report is checked against reality by a tool, not trusted by the orchestrator reading it.
Today: T3 itself says when a child's run ends (the parent is woken; no guessing there). Merges only happen on green CI for the exact head commit (the merge helper waits for that head's result). Reviewers and the orchestrator read diffs. But the report's facts are taken on its word until someone checks: the PR number and head commit, the CI state, "these tests fail on the old code", "removing this line turns a test red", "worktree removed, nothing left running", "comment posted and read back".
Proposal: a small check that runs when a delegated child finishes and reports a fixed last line (PR <url> head <sha> CI <state> or branch <name> head <sha>):
the PR or branch exists and its head is that exact commit; the CI state matches GitHub's for that head;
the named comment exists and is the child's;
no worktree, server or background process the child started is still alive on its machine;
optional: CI re-runs the named "fails on old code" tests against the base commit (a job that checks the claim, not the agent).
A mismatch is shown to the orchestrator as "report does not match" with the facts, so the orchestrator never acts on a wrong report.
General, not project-specific: the report line format and checks are the same for every project; project facts (repo) come from its config.
Addition (11-21): the check should also compare the report with the brief. A brief has numbered items, and the report must give one line per item (done / not done and why). A missing item is shown as "brief item N not reported". Part of the trusted fork roadmap.
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
Activity
scuttletoby commentedon Nov 21, 2026
Addition (11-21): the check should also compare the report with the brief. A brief has numbered items, and the report must give one line per item (done / not done and why). A missing item is shown as "brief item N not reported". Part of the trusted fork roadmap.
🤖 Generated with Claude Code