Repository navigation
feat(t3): schema-driven T3 options, muse pool selection, T3 tools, and t3:setup live gate - #319
Conversation
Merge Protections🟢 All 2 merge protections satisfied — ready to merge. Show 2 satisfied protections🟢 Queue ready pull requestsAutomatically queue non-draft pull requests targeting main after verify and live-gate pass on the head and every review thread is resolved.
🟢 🚦 Auto-queueWhen all merge protections are satisfied and these conditions match, this pull request will be queued automatically.
|
Live evidence: Open Pstack
|
🛑 22 blocking findings🔴 Critical · T3 setup can overwrite a file outside the restoration snapshot 🔴 High · A successful Luna retry can hide a failed setup probe 🔴 High · The setup gate can credit a runner outside the reviewed candidate 🔴 High · Setup can certify a sheet written before the T3 probe finishes 🔴 High · Exact T3 model pins can fall back before model discovery 🔴 High · Setup does not verify the external probe's result 🔴 High · A settled T3 task can pass setup without passing the probe 🟡 Medium · The sheet-write detector misses ordinary script writes 🟡 Medium · The feature classifier blocks T3 setup proof for changes to its inputs 🟡 Medium · A rolled-back setup can pass as a successful configuration write 🟡 Medium · The receipt scan rejects valid paths under the probes directory 🟡 Medium · Capability evidence can arrive after the action it is supposed to justify 🟡 Medium · T3 setup rejects a model sheet kept through an existing symlink 🟡 Medium · The runner matcher rejects valid flag spellings 🟡 Medium · A successful T3 continuation is rejected after a wait timeout 🟡 Medium · The import check accepts the wrong sheet and counts unrelated imports 🟡 Medium · The operator-settings assertion has no retained comparison evidence 🟡 Medium · The unregistered-model rule contradicts T3 default-effort routing 🟡 Medium · The T3 merge mapping does not preserve Shipping's expected-head guard 🟡 Medium · An existing Claude import can prevent the planned headless rerun 🟡 Medium · The T3 merge-loop mapping sends Origin users to a GitHub-only watcher 🟡 Medium · The exact-sheet assertion accepts a non-identical rerun WalkthroughThis PR changes how a T3 Code parent picks where to send each pstack lane. Instead of fixed instance names, it reads Advisories (2)
Since the last review
Repair promptRead the
Details
Reviewed the whole pull request. @unfret review · @unfret status · @unfret help |
There was a problem hiding this comment.
🛑 17 blocking findings
🔴 Critical · T3 setup can overwrite an unsnapshotted file in the publisher checkout
🔴 High · The T3 setup gate accepts a runner from outside the reviewed candidate
🔴 High · T3 dispatch can skip the capability search for exact model IDs
🔴 High · Setup does not verify the external probe's result
🔴 High · The live gate hides failed attempts on the wrong T3 route
🔴 High · Setup accepts a completed T3 task as a passing model probe
🔴 High · Setup can certify a sheet write that happened before the T3 probe finished
🟡 Medium · The Muse instance check can use capabilities fetched after dispatch
🟡 Medium · A successful T3 continuation is rejected after a wait timeout
🟡 Medium · The sheet-write detector rejects valid writes made through a script
🟡 Medium · The T3 settings assertion is published without retained evidence
🟡 Medium · The import check counts unrelated files as the active model sheet
🟡 Medium · The setup fixture can conflict with a supported existing Claude import
🟡 Medium · T3 setup rejects valid receipt paths that contain spaces
🟡 Medium · The T3 merge-loop mapping sends Origin users to a GitHub-only watcher
🟡 Medium · The T3 merge mapping conflicts with Shipping's expected-head guard
🟡 Medium · The new unregistered-model rule contradicts T3 default-effort routing
Check
…riable commands match
Live evidence: Open Pstack
|
There was a problem hiding this comment.
🛑 21 blocking findings
🔴 Critical · T3 setup can overwrite a file the verifier never snapshots
🔴 High · The setup gate can credit a runner outside the reviewed candidate
🔴 High · Exact T3 model pins can fall back before model discovery
🔴 High · Setup can certify a sheet written before the T3 probe finished
🔴 High · Setup does not verify the external probe's result
🔴 High · A settled T3 task can pass setup without passing the probe
🔴 High · A successful Luna retry can hide a failed setup probe
🟡 Medium · The classifier prevents T3 setup proof for changes to its inputs
🟡 Medium · A rolled-back setup can pass as a successful configuration write
🟡 Medium · T3 setup rejects a model sheet kept through an existing symlink
🟡 Medium · The Muse instance check can use capabilities fetched after dispatch
🟡 Medium · The sheet-write detector misses ordinary script writes
🟡 Medium · A successful T3 continuation is rejected after a wait timeout
🟡 Medium · The Claude import check mistakes unrelated or misdirected imports for the active sheet
🟡 Medium · The receipt scan rejects valid paths inside the probes directory
🟡 Medium · The operator-settings assertion has no retained comparison evidence
🟡 Medium · An existing Claude import can prevent the planned headless rerun
🟡 Medium · Ordinary shell quoting can hide a valid runner call from the gate
🟡 Medium · The T3 merge-loop mapping sends Origin users to a GitHub-only watcher
🟡 Medium · The T3 merge mapping does not preserve Shipping's expected-head guard
🟡 Medium · The unregistered-model rule contradicts T3 routing for default effort
Check
Live evidence: Open Pstack
|
✅ Merged into
|
There was a problem hiding this comment.
🛑 22 blocking findings
🔴 Critical · T3 setup can overwrite a file outside the restoration snapshot
🔴 High · A successful Luna retry can hide a failed setup probe
🔴 High · The setup gate can credit a runner outside the reviewed candidate
🔴 High · Setup can certify a sheet written before the T3 probe finishes
🔴 High · Exact T3 model pins can fall back before model discovery
🔴 High · Setup does not verify the external probe's result
🔴 High · A settled T3 task can pass setup without passing the probe
🟡 Medium · The sheet-write detector misses ordinary script writes
🟡 Medium · The feature classifier blocks T3 setup proof for changes to its inputs
🟡 Medium · A rolled-back setup can pass as a successful configuration write
🟡 Medium · The receipt scan rejects valid paths under the probes directory
🟡 Medium · Capability evidence can arrive after the action it is supposed to justify
🟡 Medium · T3 setup rejects a model sheet kept through an existing symlink
🟡 Medium · The runner matcher rejects valid flag spellings
🟡 Medium · A successful T3 continuation is rejected after a wait timeout
🟡 Medium · The import check accepts the wrong sheet and counts unrelated imports
🟡 Medium · The operator-settings assertion has no retained comparison evidence
🟡 Medium · The unregistered-model rule contradicts T3 default-effort routing
🟡 Medium · The T3 merge mapping does not preserve Shipping's expected-head guard
🟡 Medium · An existing Claude import can prevent the planned headless rerun
🟡 Medium · The T3 merge-loop mapping sends Origin users to a GitHub-only watcher
🟡 Medium · The exact-sheet assertion accepts a non-identical rerun
Check
Summary
Deepens Open Pstack's T3 Code parent support and live verification across criteria 1, 2, 4, and 5 of #311 (with criterion 3, Antigravity and Grok as T3 parent runtimes, split to #316 per operator decision):
#283,#311):provider-dispatch.mdreads each model's effort option (effort,reasoningEffort, orthought_level) and supported values directly fromorchestrator_capabilities, uses the catalog model ID (never an effort-suffixed CLI variant), handlesdefaultwithoptions: {}, and validates the response's{id, value}.musedriver row & instance pool rule (#280,#311): Addsmuse -> museto the T3 driver table, matches strictly bydriverKind(socodexnever intercepts Muse or Gemini lanes), picks the inherited instance when it qualifies and otherwise the first enabled qualifying instance in snapshot order (such asmuse_poolorantigravity_pool), and extends unregistered-pair handling to the T3 route.#311): Adds### T3 toolsinprovider-dispatch.mdand pointers incodex-tools.mdmappingpull_request_*,ci_logs/ci_rerun,watch_pull_request,schedule_task/delete_scheduled_task,html_preview/html_render, andpreview_*. Updatessetup-pstackstep 5 to use the instance rule.t3:setupand cross-provider Muse dispatch (#280,#311): Extendst3:dispatchto exercise bothclaudeAgent(claude-haiku-5-5@low) andmuse_pool(muse-spark-1.3@low), addst3:setupexercising T3 native probing alongside external runner fallback whencodexis disabled in the disposable server, checks everydelegate_taskcall including failed attempts so wrong-instance retries fail closed, reads runner probe receipts fromprobes/directly, addst3-operator-settings-unchangedhashing around every T3 case, and addsscripts/t3.test.tstable tests fort3Pick,sheetWrite, andt3Dispatch/t3Setupfailure gating.Closes #283
Closes #280
Closes #311
Evidence
c11ca605:bun run test: 494 pass, 0 fail (exit 0)FORCE_COLOR=1 bun run test: 494 pass, 0 fail (exit 0)bun run typecheck: exit 0bun run static: all invariants pass, 242 verifier tests pass (includingscripts/t3.test.ts), verifier stricttscexit 0claude plugin validate plugins/pstack: Validation passed (exit 0)bun plugins/pstack/skills/poteto-mode/scripts/runner/registry/render.ts --check: exit 0--self-test --feature t3:dispatch --feature t3:setup, 4 sessions) running onstudio1from candidate checkoutc11ca605.Merge Danger
Low. Docs changes are additive to T3 host dispatch and tool mappings; verifier changes isolate disposable T3 servers, copy only non-secret
driver/enabled/binaryPathinstance config, snapshot/restore real~/.claude/pstack-models.mdandCLAUDE.mdduringt3:setup, and verify~/.t3/userdata/settings.jsonstays byte-identical.Not verified
thought_leveland multi-pool (antigravity_poolvsantigravity_helium) dispatch are verified viat3Picktable tests (scripts/t3.test.ts) rather than a disposable T3 server because Antigravity OAuth tokens are per-instance and cannot be copied underAGENTS.md.pull_request_*,watch_pull_request,schedule_task,html_*,preview_*) are prose rules with no standalone live case; both T3 live cases exercise the updated T3 host section.t3:dispatch/t3:setupassertion scope:instance-rule:musechecks the picked instance againstt3Pickover recorded capability snapshots without enforcing pre-dispatch ordering;t3:setupchecks the T3 probe request target and settled status without asserting T3 response fields or marker text;runner-probeverifies the runner command plus completepinned-argvreceipt inprobes/without checking probe stdout marker text; andsheet-writtenverifies tool-call order in the message stream without independently verifying a non-sequential write-after-probe barrier.