Repository navigation
feat(server): the board lead hands QA to a seat conversation that files receipts - #196
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…les it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nce when QA waits Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kimi QA findings: a hand-off the engine took is recovered instead of cancelled when its answer is lost, a settled hand-off is returned on retry unless the lead asks again, and the independence refusal names only seats that can be launched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…f tool passes its whole input Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Read QA holds from the engine card and notify the lead for each entry. Settle by filing ID and recover from the engine's receipt and stale-filing refusals. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
polymaniadeveloper-hub
marked this pull request as ready for review
November 24, 2026 07:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the T3 half of slice 3 and the server half of slice 4, QA stage only. It covers BOARD-REVAMP-UI-SPEC.md section 6a, "QA receipts" and "Seat hand-offs", and is PR A of the A/B/C split.
Draft. It merges only after the engine PR that adds the QA hold. Two field names are provisional until the engine pins them in the spec amendment:
handoffs:["qa"]on the claim body (C1)handoffHold {run, stage}on the lanes card (C3)Problem
The engine can now record seat attestations, stage hand-offs and QA receipts. T3 had no client for any of them, so a board task's lead could not hand QA to a seat conversation, and a QA seat could not file receipts.
What changed
delivery_qa_receipt(MCP): an attested QA seat thread files one receipt per acceptance item. The server, never the model, fills in the run, seat,seatThread(copied verbatim from council, inferred only on older engines) and the acceptance hash (sha256, first 16 hex characters). Engine refusals are decided bycode:independence: do not retry; the lead needs a seat on a different model.invalid-field: names the rejected field.moved,refusedandnot-foundeach get a plain message.delivery_seat_handoff {stage:"qa", seat?, again?}(MCP): only the task's linked lead thread can call it.delegateTask, using a durable request namespace so a retry recovers the same child.delivered, or a fallback with reasonno-receiptsorseat-failed.again: truefiles QA anew.seatProvider.ts), shared by BoardTaskThreads, NativeBuildExecution and the hand-off.T3 pieces reused: the
delegateTaskandtaskStatussubagent path (so seats show in the relationships panel), the native-build request-namespace pattern,boardThreadActwith its key and coded refusals,boardTaskOfMarkerlineage, and the slice 5 message dispatch path.Out of scope:
/api/native-builds.Agent context budget
The
mcpToolListJsonBytesbudget goes from 62636 to 63387 (+751). Claude system text and Codex context are unchanged. Two necessary new tools account for it.What was trimmed to get there:
delivery_native_build_stepdescription ("Read-only flows stay legacy. No caller-supplied results."). Its schema already takes no results.TrimmedNonEmptyStringcheck were dropped from the input schemas. The engine validates both and refuses them by field.acceptanceIndexdescription was shortened.Before the trim the tools added +900 bytes. The
againinput then added a little back. This needs theagent-context-increaselabel.QA findings (Kimi K3.1 Pro, independent review, after a canary turn)
Verdict: pass with fixes. All three findings are fixed in 418a420, with tests.
seat-failed. Now only a coded refusal cancels. An unknown outcome re-reads the engine and recovers the hand-off, or returns a retryable error.again.Kimi also checked authority, the server-computed receipt fields and hash, coded refusal handling, notice idempotency and the provider-resolution refactor against the engine sources, and found no further problems.
Verification
vp run typecheckis clean locally inapps/server,packages/contractsandpackages/client-runtime. CI's "Build and Typecheck" stops with no diagnostics (25 of 29 tasks pass, and the apps never start), and that is being reproduced on another host. See the thread.evals/mcp-tool-use. It needs an API key, so it was not run.🤖 Generated with Claude Code
Model: Claude Opus 5.5 (lead) with Codex gpt-6.2-sol (builder) and Kimi K3.1 Pro (QA), in Claude Code under T3 Code.