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
Sync with upstream nightly v0.1.10-nightly.20261116.4800, with a behavior replacement ledger #417
Plan step 1 of #416. See the findings comment on #416 for full detail.
Merge upstream pingdotgg up to v0.1.10-nightly.20261116.4800 into main as a real merge, following docs/operations/fork.md.
Keep a replacement ledger for every contested behavior, marking each one keep, replace (citing the upstream symbol), or retire (owner decision). Focus behavior proof on:
project organization;
issue admission and ownership;
delegated cancel, completion and questions;
Writer routing;
Codex/Claude recovery;
artifacts/PDF and notebooks.
Check migrations against a disposable seeded database, never the live one. Don't combine this with the architecture changes in the sibling sub-issues.
Target: v0.1.10-nightly.20261116.4800 (7d32075e3757ded707914e2450c3e392a9665765), merged into fork base d9c88282ab27d7e0bfa4d9fb1a9d68096c2e77ec on sync/upstream-2026-11-16. Initial merge-tree measurement: 129 files / 272 blocks; whitespace-aware reconciliation: 117 files / 262 blocks. rerere.enabled=true.
These are behavior decisions for this sync, not the #418–#422 refactors. No product behavior is retired. An upstream replacement below retains the behavior through the cited upstream implementation. Owner policy, issue admission and historical migrations remain in the fork.
Contested behavior
Decision
Resolution / upstream owner
Project sections, nested hierarchy, drag placement, expansion and activity filtering
Keep
Retain SidebarProjectSections, sidebar layout service, worker controls and section-aware command-palette entry points. Integrate upstream folder-drop wrapper and row accessibility.
Managed issues, admission, repository ownership, queue and handoffs
Keep
Retain issue services/commands and their transactional hooks. No migration to a different orchestration model in this sync.
Keep target policy and DelegatedRequestRouting; upstream generic task roles do not replace owner routing.
Delegated completion publication, cancelled/closed children, issue closeout and pending background work
Keep
Preserve ForkDelegatedCompletion, owner-visible routing and both cohort owners. The selective reader retains the spawning run and loads queued delivery records from completionCohort for ordinary and runless managed children. Broader execution consolidation remains #418.
Follow-up tasks await their descendants and completion wakes
Replace + Keep
Adopt upstream delegatedTaskRuns and delegatedTaskAwaitsWork before fork result selection and pending-result checks. Keep fork queue promotion, provider recovery, cohorts and delivery. Upstream pingdotgg#34958 (daed1dd327) is required sync behavior.
Selective projection reads and turn-item query planning
Replace
Upstream ProjectionStore.turnItemMatch and its type-index query replace the fork's bespoke recovery/conversation-index selection. Managed admission keeps its required subagent records.
Dead provider sessions' roster, tool-call and native-subagent endings
Preserve both ledgers, historical offset recovery and fork migration identities. Current-schema checks must remain read-only.
Historical fork turn-item count cache
Replace
Upstream 085_TurnItemCounts owns the new run_key table. Compatibility handles the old run_id cache without deleting source turn items; historical fork migrations 2/24 still load. This cache had already been retired by fork migration 24 before this sync.
SQLite writer responsiveness
Keep + Replace
Keep bounded writer-borrow yielding and incremental vacuum. Upstream nodeSqliteClient writer worker moves synchronous writes off the server thread and replaces the old checkpoint-worker setting.
Desktop fork updates, tray, startup/migration splash and zoom
Keep
Keep fork UI and local install source; upstream DesktopUpdates.runUpdaterCheck owns updater reservation/check mechanics.
Codex plugin/custom-model discovery and Claude plugin inventory
Keep + Replace
Preserve fork inventories/defaults and home-probe protection; integrate upstream Codex config facts and Claude inline-plugin precedence.
Manual/bulk title regeneration feedback
Replace
Upstream regenerateTitle, ThreadTitleRegenerationService.Outcome and threadTitleRegenerationToast own manual feedback. Keep the fork's automatic evaluation, user-title guards and failure bookkeeping.
PDF review comments and project artifacts
Keep
Preserve annotation selection/composer delivery, artifact persistence, sections and descriptions over upstream viewers.
File refresh after workspace edits and explicit reveal
Saved-notebook preview is not execution. Retain notebook service/toolkit; apply upstream McpSchema.EnabledWhen calling-thread visibility rule.
Composer issue references and content transfer
Keep + Replace
Retain issue context extension and reference repair, use upstream composerDraftContent / clearStaleFileUploadMetadata for content and cross-environment uploads.
MCP timeline paging and completion acknowledgement
Replace
Upstream OrchestratorMcpService.readThread defaults cursorless agent reads to the newest items. The fork prompt-read tests request afterPosition: -1 when they need the original prompt. Upstream pageIncludesTerminalTaskResult acknowledges the final text chunk; prompt-only and truncated-result reads remain unacknowledged.
Unadvertised-model refusal guidance
Replace
Use upstream advertisedModelsHint / requireAdvertisedModel formatting in both validation paths through shared unavailableModelMessage; retain fork role, provider and option policy.
MCP contract documentation
Replace
Upstream OrchestratorMcpDelegateTaskInput / OrchestratorMcpDelegateTaskResult type imports replace hand-copied interfaces; fork fields remain in the actual contracts.
Scheduled sync claim / merge ancestry
Replace
Correct the guide: syncs are manual, no daily task exists, last completed sync was Nov 12; sync PRs preserve the real upstream merge parent.
Other issue-host removal / architecture simplification
Keep for this sync
Leave #418–#422 work separate, including removing non-GitHub write support.
Delivered as draft PR #428, head 3f5fe1421f77058887ad672c040174f789c491b4. The initial sync merge 721ba11236c73ef1da0722bc4cff89fca5243716 retains fork base d9c88282ab27d7e0bfa4d9fb1a9d68096c2e77ec and nightly 7d32075e3757ded707914e2450c3e392a9665765 as its parents. The review fixes preserve both cohort owners, restore upstream follow-up holds, and make caller-bound fork tools satisfy upstream MCP registration and visibility checks. A subsequent normal merge integrates origin/main at 965235ad3c20c73cf919f4cfd7d5bd053b3903a7; the original upstream merge ancestry is preserved. Integrated client verification and independent review remain with the primary agent.
Main integration: normal merge commit 3f5fe1421f77058887ad672c040174f789c491b4 joins sync head b5a15b0991d1efd66a40a8ab9baad4c5e3319497 and origin/main at 965235ad3c20c73cf919f4cfd7d5bd053b3903a7. The sole agentContextBudget.json conflict is resolved from measurement of the combined tree. #427’s queueNote and limit-ask instruction are present; the sidebar effort fixes are included.
Completion review fixes, verified at 8d1140ebc53587560c9cef159483efe9f22428ed:
Keep, ordinary completion cohorts: retain the spawning run in the planner projection so child B joins child A's queued delivery without replacing its message, generation or reservation.
Keep, managed issue-worker completion cohorts: resolve the thread-owned cohort through completionCohort, load its queued message and reserved tasks, and include B's result before either child is marked delivered. Restart-recovery coverage includes two children.
Restore upstream follow-up hold:ForkDelegatedCompletion.delegatedTaskResultRun filtered only directly tagged task runs, omitting upstream's untagged grandchild-completion wake. It could publish the earlier terminal turn while the wake was running. It now starts with upstream delegatedTaskRuns, then applies the fork's promotion and provider-recovery mapping. The matching result-pending check also uses upstream delegatedTaskAwaitsWork.
The hold failure on initial merge 721ba11236 was a sync regression, not a pre-existing failure on fork main. Upstream fix(server): a follow-up delegated task waits for the subagents its child starts pingdotgg/t3code#34958 (daed1dd327) shipped in this nightly. Its test is byte-for-byte unchanged from the upstream tag and was demonstrated failing before this fix and passing afterward. No semantic conflict or retirement is needed.
All seven delegated-completion, recovery and Writer-routing files now pass: 128 tests / 7 files, including both cohort regressions. The earlier 127-pass/1-fail result at 02f797b95b is superseded.
The MCP registration failure exposed by that incremental check was another sync regression. The MCP follow-up below supersedes that failed agent-context gate.
The earlier full sync check against origin/main at 02f797b95b passed format, lint, both Knip passes, GraphQL, patches, 41 script tests and React Compiler coverage (697 files); it reported the three known mobile errors and a 900-second timeout for the 1,182-file adjacent-test batch. That broader batch remains unverified; the seven completion/recovery/Writer files above have completed successfully.
MCP registration follow-up, verified at b5a15b0991d1efd66a40a8ab9baad4c5e3319497:
Upstream fix(server): outside MCP clients stop being offered thread-bound tools pingdotgg/t3code#32764 (f28c74a7d04047afb5fa421815643f6db8ca23dd) adds a registration-time invariant in McpToolAccess.routed. Production server.ts builds McpHttpServer.layer, which includes layerTools / layerOrchestratorToolkit / McpToolAccess.toLayer; therefore the missing metadata aborts MCP-layer construction at runtime, not only in tests.
Add the same McpSchema.EnabledWhen / hiddenFromOutsideClients annotation upstream uses to t3_issue_post, t3_issue_inbox, three owner-decision tools, propose_issue_change, request_repository_handoff, t3_request_user_input, and t3_worktree_return_to_root. The invariant and all handler permission checks remain intact.
Existing budget tests demonstrated the registration failure before this fix. Production toolkit registration now succeeds. The fork outside-client test additionally confirms that t3_issue_post and delegate_task are unavailable to outside clients, matching upstream's own test. Replay-backed toolkit integration uses disposable databases and fake providers.
Refresh the measured context budget: Claude 6,729 bytes; Codex 8,122 bytes; MCP tool-list JSON 79,244 bytes. No tool descriptions or model-facing schemas were edited to fit the budget.
All 240 tests / 25 files pass in one consolidated run: AgentContextBudget.test.ts, every toolkit test (including toolkits/core.test.ts), both orchestrator toolkit integration suites, device toolkit, HTTP transport, tool access/races, invocation context and advertised JSON schemas.
vp run check:changed 8d1140ebc53587560c9cef159483efe9f22428ed --concurrency "$AGENT_HEAVY_CORES" passes every step for this follow-up: format, lint, both Knip passes, GraphQL, all three affected package typechecks and 11 tests / 4 files. The previous MCP registration/budget gate is resolved. The earlier full-sync adjacent-test timeout remains historical, broader unverified coverage.
Combined-tree verification at 3f5fe1421f77058887ad672c040174f789c491b4:
Measured budget: Claude 6,729 bytes; Codex 8,122 bytes; MCP tool-list JSON 79,439 bytes. These combined-tree values supersede the pre-main-merge measurement above.
The read-only admission test accepts starting or running for admitted readers; the fifth reader remains strictly queued, with the exact full-pool note checked. This matches the merged upstream task-status reporting without changing admission behavior.
Additional adjacent-test failures are resolved: two fixtures now implement the child-shell read used by fork completion progress, restoring all three wait-budget subscriptions. Upstream #31905 (35b88636d4) model-refusal guidance is shared by requireAdvertisedModel and the fork target validator; provider, role-order and option checks remain unchanged. The bounded suggested-model list and update-required CLI guidance are preserved.
The five requested files pass (82 tests); the expanded focused run passes 205 tests / 8 files, including both MCP service suites and project-handler tests. Server and web vp run typecheck both pass.
vp run check:changed b5a15b0991d1efd66a40a8ab9baad4c5e3319497 --concurrency "$AGENT_HEAVY_CORES" passes format, lint, both Knip passes, GraphQL, 165 adjacent tests / 12 files and React Compiler checks for both changed web files. Its broad package typecheck reports only the three known mobile errors; server and web are independently green. The five MCP service failures from the first combined-tree run are resolved.
Initial sync validation at 721ba11236c73ef1da0722bc4cff89fca5243716:
Server, web, contracts and desktop typechecking: 4/4 pass.
Frontend project sections, PDF review/viewer, notebook preview, composer transfer, title feedback and actions: 133 pass / 10 files.
Runtime wiring, provider sessions and usage-limit recovery: 140 pass / 4 files, including the fork release-cleanup suite. Total focused proof: 755 tests / 32 files.
Empty disposable worktree database: upstream migrations 1–96, fork 1–30; reopening at the current schema succeeds; PRAGMA integrity_check returns ok. The live database was not read, copied or written.
check:changed: format, lint, both Knip passes, GraphQL generation, dependency-patch installation, 41 script tests, and React Compiler coverage of 697 files pass. Package typechecking reports exactly the three known mobile errors. Its 1,181-file adjacent-test batch reaches the 900-second runner ceiling and is stopped. This broader batch is not verified; it is not represented as passing.
All heavy jobs have completed or been explicitly stopped before replacement; no development server or paid provider turn was started. Mobile and #418–#422 remain out of scope.
The only newly added workflow, issue-vouch.yml, has jobs.label.if: false in the merge. All 26 registered workflows remain disabled. GitHub returns 404 for gh workflow disable issue-vouch.yml because it is not on the default branch yet. Apply the GitHub disabled state after landing; the source guard prevents execution meanwhile.
Complete lost-fork-code audit: 82 hunks plus two replaced files
Command: scripts/fork-sync/lost-fork-code.py d9c88282ab27d7e0bfa4d9fb1a9d68096c2e77ec 7d32075e3757ded707914e2450c3e392a9665765 3f5fe1421f77058887ad672c040174f789c491b4; 390 shared-change files inspected, 82 hunks flagged, two replaced fork helpers, zero orphaned fork files. Each row below corresponds to one flag in script order. The hunk coordinates identify the fork-side diff from the common base, not current line numbers. Keep includes restyling/restoration; Replace identifies equivalent upstream responsibility. No retirement decision was made.
The fork role, isolation, Writer and question-routing description remains, extended by main #427 to report the full repository pool and occupied slots.
The upstream selective-reader pattern is adapted to preserve fork cohort data; it is not a complete behavioral replacement on its own. readDelegatedCompletionPlanRecords keeps the spawning run in runs and resolves both run-owned and thread-owned deliveries through fork completionCohort, loading the queued message, run and reserved tasks. Second-child regression tests cover both paths. Upstream source.
writeReleasedToolCallEvents and writeReleasedSubagentEvents replace endReleasedSessionWork; they retain cutoff-time and provider-thread checks. Upstream source.
The issue services and inbox layers remain. ProjectService is provided before dependent layers are built rather than as a parallel sibling, satisfying upstream worktree restoration dependencies.
Replace the stale snapshot with combined-tree measured values from upstream utf8Bytes / layerAdvertisedTools in AgentContextBudget.test.ts: Claude 6,729; Codex 8,122; MCP list 79,439 bytes. This refreshes the expected measurement and removes no model-facing text.
37
apps/server/src/storageCleanup.ts-1092,3 +1121,11
Keep
Managed-root bounds remain, with upstream scratch folders admitted only through the explicit scratch-root path.
38
apps/server/src/storageCleanup.ts-1095,0 +1133,2
Replace
isLinkedWorktree replaces a .git file-type check and handles valid symlinked metadata. Upstream source.
39
apps/server/src/storageCleanup.ts-1175 +1213
Keep
Issue retention still blocks removal until merged/integrated; upstream branch reconciliation also permits its merged-removal policy.
40
apps/server/src/storageCleanup.ts-1356,0 +1440,88
Keep
Deleted linked-worktree cleanup remains; branchless upstream scratch-folder cleanup is now included rather than filtered out.
41
apps/server/src/terminal/Manager.ts-2458 +2476,4
Replace
resolveShellCandidates became effectful upstream; inline-shell candidate filtering still receives the resolved candidates. Upstream source.
releaseWorktreeRegistration and onWorktreeClaimed add upstream ownership locks/cancellation handling around the fork placement function. Upstream source.
hasUnseenRunFailure replaces the fork local unseen-failure predicate in status presentation. Upstream source.
47
apps/web/src/components/Sidebar.tsx-2451,0 +2663
Replace
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
48
apps/web/src/components/Sidebar.tsx-2452,0 +2665
Replace
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
49
apps/web/src/components/Sidebar.tsx-2455 +2668
Replace
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
50
apps/web/src/components/Sidebar.tsx-2457 +2670,8
Replace
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
51
apps/web/src/components/Sidebar.tsx-2469,0 +2690
Replace
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
52
apps/web/src/components/Sidebar.tsx-2782,0 +3016
Replace
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
53
apps/web/src/components/Sidebar.tsx-2785 +3019
Replace
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
Upstream regenerateTitle and threadTitleRegenerationToast own command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.
73
apps/web/src/state/entities.ts-343,0 +344,15
Replace
Upstream regenerateTitle awaits the command outcome and threadTitleRegenerationToast reports it, replacing the fork shell-event waiter/feedback helper. Automatic title evaluation remains. Upstream source.
makeCodexAppServerPatchedProtocol wraps stream defects in upstream CodexAppServerTransportError with the same read-input-stream operation. Upstream source.
Fork repository orchestration, issue ownership, typed issue changes and independent pools remain; main #427 extends the instructions with explicit approval and root/application rules for pool limits.
82
packages/shared/src/agentAwareness.ts-99 +110
Keep
Owner visibility is still passed into resolveThreadAwarenessPhaseV2; upstream rolled-up subagent requests now supply its pending-request argument.
The unused ReleasedSessionWork.ts implementation is removed because upstream ProviderSessionManager.writeReleasedToolCallEvents and writeReleasedSubagentEvents now own all release cleanup. Upstream source.
Server, web, contracts and desktop typechecks passed.
The empty disposable database applied all 96 upstream and 30 fork migrations, reopened successfully, and returned integrity_check: ok. Live userdata was untouched.
check:changed passed format, lint, unused-code checks, GraphQL generation, patch checks, script tests and React Compiler coverage. It reported the three known mobile errors; its 1,181-file test batch timed out at 900 seconds and remains unverified.
All 26 registered workflows remain disabled. The new workflow has if: false; GitHub’s disable endpoint returns 404 until it reaches the default branch, so its remote disabled state remains a post-merge step. Independent review and the primary agent’s integrated client pass remain open.
PR #428, head 721ba11, checks and reviews focused checks pass; known mobile errors and broad test timeout documented; no hosted checks or reviews.
Fixed both defects and pushed commit 02f797b95b to draft PR #428.
Ordinary delegated completions retain the spawning run in the planner projection, so the second child joins the existing queued delivery.
Managed issue-worker completions load the thread-owned cohort and delivery records, so the queued message includes both results before either is marked delivered.
Each regression was demonstrated failing before its fix and passing afterward. The changes stay within the reader’s boundary.
The seven completion, recovery and Writer-routing files report 127 passed, 1 failed. The remaining “holds a follow-up open while the child's own subagent still runs” failure also reproduces with the original sync reader at 721ba11236.
check:changed passed format, lint, unused-code, GraphQL, script and React Compiler checks. Typechecking reports only the three known mobile errors; its 1,182-file test batch timed out after 900 seconds.
All background jobs finished. The checkout is clean. No force-push or merge of main was performed.
PR #428, head 02f797b, checks and reviews local verification has the open gates above; no hosted checks or submitted reviews.
The fork’s result selector filtered only directly tagged runs, omitting upstream’s untagged wake for a grandchild’s completion. It now uses upstream delegatedTaskRuns before applying fork promotion and recovery handling. The pending-result check also restores upstream delegatedTaskAwaitsWork. No semantic conflict or test change was needed.
All 128 tests in the seven requested files pass, including the unchanged upstream follow-up hold test and both cohort-delivery regressions.
Updated the ledger on #417, correcting the earlier failure classification to sync regression.
One separate gate remains: check:changed passes format, lint, unused-code, GraphQL and affected-package typechecks, but both AgentContextBudget.test.ts cases fail because tool registration rejects exposing t3_issue_post to outside clients. Those failures also reproduce at the previous PR head without this fix; they remain unresolved.
The checkout is clean, all background jobs finished, and main was not merged.
PR #428, head 8d1140e, checks and reviews completion tests pass; agent-context gate remains open; no hosted checks or submitted reviews.
Fixed and pushed b5a15b0991 to PR #428. The MCP registration and budget gate is resolved.
Upstream #32764, commit f28c74a7d0 added the check. It runs during production MCP layer construction, so the missing metadata causes a runtime registration failure, not merely a test failure.
Added upstream’s McpSchema.EnabledWhen: hiddenFromOutsideClients annotation to nine caller-bound fork tools, including t3_issue_post. The registration guard and handler permission checks remain intact. Tests confirm outside clients cannot access t3_issue_post.
Updated the measured budget to:
Claude system append: 6,729 bytes
Codex additional context: 8,122 bytes
MCP tool-list JSON: 79,244 bytes
Verification passed: 240 tests across 25 files, including the budget, core and MCP toolkit suites. check:changed also passed every step against the previous PR head. Updated the ledger on #417 and PR notes.
One integration gate remains: current main conflicts only in agentContextBudget.json. I left main unmerged as requested. The combined tree will need its budget remeasured when that conflict is resolved. All background jobs finished; the checkout is clean.
PR #428, head b5a15b0, checks and reviews local MCP checks pass; budget merge conflict remains; no hosted checks or submitted reviews.
Merged origin/main into the sync branch with normal merge commit 3f5fe1421f and pushed it to PR #428. GitHub now reports the draft PR as mergeable.
The combined tree retains #427’s queueNote and limit-ask instruction. Remeasured budget:
Claude: 6,729 bytes
Codex: 8,122 bytes
MCP tool-list JSON: 79,439 bytes
All five requested test files passed. The expanded focused run passed 205 tests across eight files, and both server and web typechecks passed. check:changed passed all 165 adjacent tests and its other checks except the three known mobile type errors.
The broader check also exposed incomplete MCP fixtures and lost upstream model-refusal hints; both are fixed and tested. Updated the ledger and PR evidence. The checkout is clean and all background jobs finished.
PR #428, head 3f5fe14, checks and reviews requested checks pass; known mobile errors only; no hosted checks or submitted reviews.
Activity
tannerpolley commentedon Nov 16, 2026
T3 Code status: Done
Issue: #417 Sync with upstream nightly v0.1.10-nightly.20261116.4800, with a behavior replacement ledger
Thread: thread:delegated-task:command%3Amcp%3Abb4592fc-a5b1-434a-94e6-fdbd212a677b%3Adelegate-task%3Aissue-417-upstream-sync-2026-11-16-b
Model: gpt-6.1-sol
Branch: sync/upstream-2026-11-16
Updated: 2026-11-17T00:11:32.773Z
tannerpolley commentedon Nov 16, 2026
Upstream sync behavior replacement ledger
Target:
v0.1.10-nightly.20261116.4800(7d32075e3757ded707914e2450c3e392a9665765), merged into fork based9c88282ab27d7e0bfa4d9fb1a9d68096c2e77econsync/upstream-2026-11-16. Initialmerge-treemeasurement: 129 files / 272 blocks; whitespace-aware reconciliation: 117 files / 262 blocks.rerere.enabled=true.These are behavior decisions for this sync, not the #418–#422 refactors. No product behavior is retired. An upstream replacement below retains the behavior through the cited upstream implementation. Owner policy, issue admission and historical migrations remain in the fork.
SidebarProjectSections, sidebar layout service, worker controls and section-aware command-palette entry points. Integrate upstream folder-drop wrapper and row accessibility.DelegatedRequestRouting; upstream generic task roles do not replace owner routing.ForkDelegatedCompletion, owner-visible routing and both cohort owners. The selective reader retains the spawning run and loads queued delivery records fromcompletionCohortfor ordinary and runless managed children. Broader execution consolidation remains #418.delegatedTaskRunsanddelegatedTaskAwaitsWorkbefore fork result selection and pending-result checks. Keep fork queue promotion, provider recovery, cohorts and delivery. Upstream pingdotgg#34958 (daed1dd327) is required sync behavior.ProjectionStore.turnItemMatchand its type-index query replace the fork's bespoke recovery/conversation-index selection. Managed admission keeps its required subagent records.writeReleasedRosterEvents,writeReleasedToolCallEvents,writeReleasedSubagentEventsown cleanup; keep fork process ownership metadata.restoreMissingWorktree,withTurnStartReservationandwithCheckpointRestoreReservation; retain fork managed-project-path checks.WorkspaceBinding; incorporate upstreamreleaseWorktreeRegistration/onWorktreeClaimedcancellation safeguards inGitVcsDriverCore.createWorktree.085_TurnItemCountsowns the newrun_keytable. Compatibility handles the oldrun_idcache without deleting source turn items; historical fork migrations 2/24 still load. This cache had already been retired by fork migration 24 before this sync.nodeSqliteClientwriter worker moves synchronous writes off the server thread and replaces the old checkpoint-worker setting.DesktopUpdates.runUpdaterCheckowns updater reservation/check mechanics.regenerateTitle,ThreadTitleRegenerationService.OutcomeandthreadTitleRegenerationToastown manual feedback. Keep the fork's automatic evaluation, user-title guards and failure bookkeeping.useAssetUrlState(..., workspaceMutationId)handles mutation re-signing; keep explicit reveal refresh and viewer revision keys.McpSchema.EnabledWhencalling-thread visibility rule.composerDraftContent/clearStaleFileUploadMetadatafor content and cross-environment uploads.toServerClock,formatWorkingTimerNowand narrowest-width sampling supply accurate remote clocks and resize bounds.McpToolAccess.routedregistration invariant andMcpInvocationContext.hiddenFromOutsideClientsfrom pingdotgg#32764. Keep all fork tool handlers and authority checks; nine missingMcpSchema.EnabledWhenannotations are restored. This prevents a production MCP-layer construction failure as well as hiding thread-only tools from outside clients.OrchestratorMcpService.readThreaddefaults cursorless agent reads to the newest items. The fork prompt-read tests requestafterPosition: -1when they need the original prompt. UpstreampageIncludesTerminalTaskResultacknowledges the final text chunk; prompt-only and truncated-result reads remain unacknowledged.advertisedModelsHint/requireAdvertisedModelformatting in both validation paths through sharedunavailableModelMessage; retain fork role, provider and option policy.OrchestratorMcpDelegateTaskInput/OrchestratorMcpDelegateTaskResulttype imports replace hand-copied interfaces; fork fields remain in the actual contracts.Delivered as draft PR #428, head
3f5fe1421f77058887ad672c040174f789c491b4. The initial sync merge721ba11236c73ef1da0722bc4cff89fca5243716retains fork based9c88282ab27d7e0bfa4d9fb1a9d68096c2e77ecand nightly7d32075e3757ded707914e2450c3e392a9665765as its parents. The review fixes preserve both cohort owners, restore upstream follow-up holds, and make caller-bound fork tools satisfy upstream MCP registration and visibility checks. A subsequent normal merge integratesorigin/mainat965235ad3c20c73cf919f4cfd7d5bd053b3903a7; the original upstream merge ancestry is preserved. Integrated client verification and independent review remain with the primary agent.Main integration: normal merge commit
3f5fe1421f77058887ad672c040174f789c491b4joins sync headb5a15b0991d1efd66a40a8ab9baad4c5e3319497andorigin/mainat965235ad3c20c73cf919f4cfd7d5bd053b3903a7. The soleagentContextBudget.jsonconflict is resolved from measurement of the combined tree. #427’squeueNoteand limit-ask instruction are present; the sidebar effort fixes are included.Completion review fixes, verified at
8d1140ebc53587560c9cef159483efe9f22428ed:Keep, ordinary completion cohorts: retain the spawning run in the planner projection so child B joins child A's queued delivery without replacing its message, generation or reservation.
Keep, managed issue-worker completion cohorts: resolve the thread-owned cohort through
completionCohort, load its queued message and reserved tasks, and include B's result before either child is marked delivered. Restart-recovery coverage includes two children.Restore upstream follow-up hold:
ForkDelegatedCompletion.delegatedTaskResultRunfiltered only directly tagged task runs, omitting upstream's untagged grandchild-completion wake. It could publish the earlier terminal turn while the wake was running. It now starts with upstreamdelegatedTaskRuns, then applies the fork's promotion and provider-recovery mapping. The matching result-pending check also uses upstreamdelegatedTaskAwaitsWork.The hold failure on initial merge
721ba11236was a sync regression, not a pre-existing failure on forkmain. Upstream fix(server): a follow-up delegated task waits for the subagents its child starts pingdotgg/t3code#34958 (daed1dd327) shipped in this nightly. Its test is byte-for-byte unchanged from the upstream tag and was demonstrated failing before this fix and passing afterward. No semantic conflict or retirement is needed.All seven delegated-completion, recovery and Writer-routing files now pass: 128 tests / 7 files, including both cohort regressions. The earlier 127-pass/1-fail result at
02f797b95bis superseded.The MCP registration failure exposed by that incremental check was another sync regression. The MCP follow-up below supersedes that failed agent-context gate.
The earlier full sync check against
origin/mainat02f797b95bpassed format, lint, both Knip passes, GraphQL, patches, 41 script tests and React Compiler coverage (697 files); it reported the three known mobile errors and a 900-second timeout for the 1,182-file adjacent-test batch. That broader batch remains unverified; the seven completion/recovery/Writer files above have completed successfully.MCP registration follow-up, verified at
b5a15b0991d1efd66a40a8ab9baad4c5e3319497:f28c74a7d04047afb5fa421815643f6db8ca23dd) adds a registration-time invariant inMcpToolAccess.routed. Productionserver.tsbuildsMcpHttpServer.layer, which includeslayerTools/layerOrchestratorToolkit/McpToolAccess.toLayer; therefore the missing metadata aborts MCP-layer construction at runtime, not only in tests.McpSchema.EnabledWhen/hiddenFromOutsideClientsannotation upstream uses tot3_issue_post,t3_issue_inbox, three owner-decision tools,propose_issue_change,request_repository_handoff,t3_request_user_input, andt3_worktree_return_to_root. The invariant and all handler permission checks remain intact.t3_issue_postanddelegate_taskare unavailable to outside clients, matching upstream's own test. Replay-backed toolkit integration uses disposable databases and fake providers.AgentContextBudget.test.ts, every toolkit test (includingtoolkits/core.test.ts), both orchestrator toolkit integration suites, device toolkit, HTTP transport, tool access/races, invocation context and advertised JSON schemas.vp run check:changed 8d1140ebc53587560c9cef159483efe9f22428ed --concurrency "$AGENT_HEAVY_CORES"passes every step for this follow-up: format, lint, both Knip passes, GraphQL, all three affected package typechecks and 11 tests / 4 files. The previous MCP registration/budget gate is resolved. The earlier full-sync adjacent-test timeout remains historical, broader unverified coverage.Combined-tree verification at
3f5fe1421f77058887ad672c040174f789c491b4:startingorrunningfor admitted readers; the fifth reader remains strictlyqueued, with the exact full-pool note checked. This matches the merged upstream task-status reporting without changing admission behavior.35b88636d4) model-refusal guidance is shared byrequireAdvertisedModeland the fork target validator; provider, role-order and option checks remain unchanged. The bounded suggested-model list and update-required CLI guidance are preserved.vp run typecheckboth pass.vp run check:changed b5a15b0991d1efd66a40a8ab9baad4c5e3319497 --concurrency "$AGENT_HEAVY_CORES"passes format, lint, both Knip passes, GraphQL, 165 adjacent tests / 12 files and React Compiler checks for both changed web files. Its broad package typecheck reports only the three known mobile errors; server and web are independently green. The five MCP service failures from the first combined-tree run are resolved.Initial sync validation at
721ba11236c73ef1da0722bc4cff89fca5243716:PRAGMA integrity_checkreturnsok. The live database was not read, copied or written.check:changed: format, lint, both Knip passes, GraphQL generation, dependency-patch installation, 41 script tests, and React Compiler coverage of 697 files pass. Package typechecking reports exactly the three known mobile errors. Its 1,181-file adjacent-test batch reaches the 900-second runner ceiling and is stopped. This broader batch is not verified; it is not represented as passing.All heavy jobs have completed or been explicitly stopped before replacement; no development server or paid provider turn was started. Mobile and #418–#422 remain out of scope.
The only newly added workflow,
issue-vouch.yml, hasjobs.label.if: falsein the merge. All 26 registered workflows remain disabled. GitHub returns 404 forgh workflow disable issue-vouch.ymlbecause it is not on the default branch yet. Apply the GitHub disabled state after landing; the source guard prevents execution meanwhile.Complete lost-fork-code audit: 82 hunks plus two replaced files
Command:
scripts/fork-sync/lost-fork-code.py d9c88282ab27d7e0bfa4d9fb1a9d68096c2e77ec 7d32075e3757ded707914e2450c3e392a9665765 3f5fe1421f77058887ad672c040174f789c491b4; 390 shared-change files inspected, 82 hunks flagged, two replaced fork helpers, zero orphaned fork files. Each row below corresponds to one flag in script order. The hunk coordinates identify the fork-side diff from the common base, not current line numbers. Keep includes restyling/restoration; Replace identifies equivalent upstream responsibility. No retirement decision was made.apps/desktop/src/shell/DesktopShellEnvironment.ts-699 +699,4apps/desktop/src/updates/DesktopUpdates.ts-567 +575,4runUpdaterCheckrestores upstream downgrade state;forkUpdates.checkremains the fork update source. Upstream source.apps/server/src/mcp/OrchestratorMcpService.ts-2575 +2710,2delegateTaskstill applieswithNoteto preserve workspace notes; main #427 stores that result before appending the full-poolqueueNote.apps/server/src/mcp/toolkits/orchestrator/tools.ts-91 +126apps/server/src/mcp/toolkits/orchestrator/tools.ts-145 +180BackgroundWaitToolupstream description documents the current background-task contract. The fork wait tool remains registered. Upstream source.apps/server/src/mcp/toolkits/orchestrator/tools.ts-359,0 +395,115apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts-12740 +12747apps/server/src/orchestration-v2/CheckpointRollbackService.ts-222,6 +223restoreMissingWorktreerestores missing checkouts; fork managed-path validation still receives the project root. Upstream source.apps/server/src/orchestration-v2/CheckpointRollbackService.ts-381 +380withCheckpointRestoreReservationreplaces a plain workspace lease and preserves exclusion against turn start. Upstream source.apps/server/src/orchestration-v2/Orchestrator.ts-6817 +7129dispatchProviderThreadselects the correct prior provider record instead of a direct array search. Upstream source.apps/server/src/orchestration-v2/Orchestrator.ts-10907 +11316apps/server/src/orchestration-v2/Orchestrator.ts-13666,10 +14131readDelegatedCompletionPlanRecordskeeps the spawning run inrunsand resolves both run-owned and thread-owned deliveries through forkcompletionCohort, loading the queued message, run and reserved tasks. Second-child regression tests cover both paths. Upstream source.apps/server/src/orchestration-v2/ProjectionControlReads.test.ts-347,3 +348,4layerSessionsand upstreamlayerEvents, preserving the session mock.apps/server/src/orchestration-v2/ProjectionStore.ts-3436,0 +3623,10turnItemMatchand upstream type-index selection replace the bespoke recovery-index selector. Upstream source.apps/server/src/orchestration-v2/ProjectionStore.ts-3455 +3651,3turnItemMatchand upstream type-index selection replace the bespoke recovery/conversation-index branch. Upstream source.apps/server/src/orchestration-v2/ProviderSessionManager.ts-881 +934,2writeReleasedRosterEventsuses conditional writes and rechecks so a replacement session cannot lose its roster. Upstream source.apps/server/src/orchestration-v2/ProviderSessionManager.ts-913 +967writeReleasedRosterEventsprocesses released identities through upstream retry-safe roster cleanup. Upstream source.apps/server/src/orchestration-v2/ProviderSessionManager.ts-977,0 +1034,14writeReleasedToolCallEventsandwriteReleasedSubagentEventsreplaceendReleasedSessionWork; they retain cutoff-time and provider-thread checks. Upstream source.apps/server/src/orchestration-v2/ProviderTurnStartService.ts-658,2 +659,3restoreMissingWorktreeowns missing-checkout recreation and project lookup. Upstream source.apps/server/src/orchestration-v2/ProviderTurnStartService.ts-663 +665,4restoreMissingWorktreeand still receivesproject.workspaceRoot.apps/server/src/orchestration-v2/ProviderTurnStartService.ts-1888 +1926withTurnStartReservationreplaces a plain workspace lease and coordinates with restore reservations. Upstream source.apps/server/src/orchestration-v2/ThreadTitleRegenerationService.ts-59,0 +73Outcomecarries failure status;completetranslates failed outcomes back into the fork failed-event field. Upstream source.apps/server/src/orchestration-v2/ThreadTitleRegenerationService.ts-67,0 +82completestill setsfailed: truewheninput.outcome.statusis failed.apps/server/src/orchestration-v2/ThreadTitleRegenerationService.ts-114,0 +130Outcomeuses upstream failed status/message rather than the old private failed variant. Upstream source.apps/server/src/orchestration-v2/ThreadTitleRegenerationService.ts-198 +218Outcomepropagates failure through upstream status and message; automatic evaluation failure bookkeeping remains. Upstream source.apps/server/src/orchestration-v2/ThreadTitleRegenerationService.ts-207 +227,4completemaps upstreamOutcometo the completion event, preserving title and failed fields. Upstream source.apps/server/src/orchestration-v2/runtimeLayer.ts-332,0 +353,30apps/server/src/orchestration-v2/testkit/ReplayRuntimeInstructions.ts-59,3 +107<runtime_info>; upstream expanded this to per-session model notes and compaction tracking.apps/server/src/orchestration-v2/testkit/ReplayRuntimeInstructions.ts-63 +109,18recordedNotesand the session-specificexpectednotes.apps/server/src/persistence/Sqlite.ts-110 +114enableIncrementalVacuumremains layered with setup; setup is now constructed for the database path.apps/server/src/persistence/Sqlite.ts-115 +119NodeSqliteClient.layeruses upstreamwriterWorker; the existing optional checkpointWorker switch is translated to it. Upstream source.apps/server/src/project/ProjectService.ts-431,2 +545,11sidebarLayout.withProjectChangealong with section and expansion metadata.apps/server/src/project/ProjectService.ts-520 +643withDeletionLockowns deletion locking; fork child deletion still uses the guarded service path. Upstream source.apps/server/src/provider/CodexProvider.ts-622 +724probeCodexAppServerProviderconsumes upstream config facts including service tier/native usage; fork custom models/plugins remain. Upstream source.apps/server/src/provider/Drivers/ClaudeSkills.ts-497 +522apps/server/src/provider/agentContextBudget.json-2,3 +2,3utf8Bytes/layerAdvertisedToolsinAgentContextBudget.test.ts: Claude 6,729; Codex 8,122; MCP list 79,439 bytes. This refreshes the expected measurement and removes no model-facing text.apps/server/src/storageCleanup.ts-1092,3 +1121,11apps/server/src/storageCleanup.ts-1095,0 +1133,2isLinkedWorktreereplaces a.gitfile-type check and handles valid symlinked metadata. Upstream source.apps/server/src/storageCleanup.ts-1175 +1213apps/server/src/storageCleanup.ts-1356,0 +1440,88apps/server/src/terminal/Manager.ts-2458 +2476,4resolveShellCandidatesbecame effectful upstream; inline-shell candidate filtering still receives the resolved candidates. Upstream source.apps/server/src/vcs/GitVcsDriverCore.ts-4506,5 +4541,6releaseWorktreeRegistrationandonWorktreeClaimedadd upstream ownership locks/cancellation handling around the fork placement function. Upstream source.apps/server/src/vcs/GitVcsDriverCore.ts-4543,2 +4582,2releaseWorktreeRegistrationcleans a cancelled registration before branch deletion; claimed worktrees survive later cancellation. Upstream source.apps/web/src/components/CommandPalette.tsx-674,0 +705,23getAddProjectInitialQueryreplaces directory-string formatting; the fork section-folder choice still supplies its input. Upstream source.apps/web/src/components/CommandPalette.tsx-1899,0 +2030,33getAddProjectInitialQueryalso handles the palette folder browse query; section-aware creation remains. Upstream source.apps/web/src/components/Sidebar.logic.ts-1260 +1444,6hasUnseenRunFailurereplaces the fork local unseen-failure predicate in status presentation. Upstream source.apps/web/src/components/Sidebar.tsx-2451,0 +2663regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/components/Sidebar.tsx-2452,0 +2665regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/components/Sidebar.tsx-2455 +2668regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/components/Sidebar.tsx-2457 +2670,8regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/components/Sidebar.tsx-2469,0 +2690regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/components/Sidebar.tsx-2782,0 +3016regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/components/Sidebar.tsx-2785 +3019regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/components/Sidebar.tsx-2786,0 +3021,2regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/components/Sidebar.tsx-2889,0 +3126,7apps/web/src/components/chat/ChatMarkdownMedia.tsx-405,0 +413,23apps/web/src/components/chat/ChatMarkdownMedia.tsx-426,8 +456apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx-162 +175apps/web/src/components/chat/MarkdownCodeBlock.tsx-189 +190MarkdownCodeBlock.handleCopyuses upstream trailing-newline normalization; fork run controls remain. Upstream source.apps/web/src/components/chat/ThreadRelationshipsControl.tsx-487,0 +556,23apps/web/src/components/chat/TimelineWorkGroupRows.logic.ts-10,6 +10formatWorkingTimerNowand sharedformatDurationreplace the local elapsed formatter. Upstream source.apps/web/src/components/chat/TimelineWorkGroupRows.logic.ts-19 +14formatWorkingTimerNowappliestoServerClockto its current time. Upstream source.apps/web/src/components/chat/canvasStore.test.ts-43 +43resolveThreadDetailsCardLayoutupstream lane measurements change the test width; the fork minimum chat width remains. Upstream source.apps/web/src/components/chat/threadDetailsCardLayout.ts-25 +30apps/web/src/components/chat/threadDetailsCardLayout.ts-33 +38apps/web/src/components/files/FilePreviewPanel.tsx-251,0 +261,8useAssetUrlStateowns workspace-mutation refresh separately.apps/web/src/components/files/FilePreviewPanel.tsx-258 +275apps/web/src/components/files/PdfViewer.browser.test.tsx-162,0 +205,137testPdfis the upstream shared PDF fixture; page/offset/zoom restoration assertions remain. Upstream source.apps/web/src/components/sidebar/SidebarThreadRow.tsx-731 +714resolveSidebarRowStatussupplies upstream acknowledgement-aware status, still wrapped by fork child-needs handling. Upstream source.apps/web/src/composerDraftStore.ts-4275,4 +4335,5apps/web/src/hooks/useThreadActionMenu.ts-255,2 +266,3regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/hooks/useThreadActionMenu.ts-258,3 +270,10regenerateTitleandthreadTitleRegenerationToastown command completion and manual/bulk feedback; fork automatic title evaluation remains. Upstream source.apps/web/src/state/entities.ts-343,0 +344,15regenerateTitleawaits the command outcome andthreadTitleRegenerationToastreports it, replacing the fork shell-event waiter/feedback helper. Automatic title evaluation remains. Upstream source.docs/orchestration-v2/orchestrator-mcp-server.md-242 +242OrchestratorMcpDelegateTaskInputis imported from contracts instead of a duplicated interface; fork role fields remain there. Upstream source.docs/orchestration-v2/orchestrator-mcp-server.md-247,0 +248OrchestratorMcpDelegateTaskInputretains isolation in the contracts-owned schema. Upstream source.docs/orchestration-v2/orchestrator-mcp-server.md-300,0 +324,2OrchestratorMcpDelegateTaskResultretains branch/worktreePath in the contracts-owned schema. Upstream source.docs/orchestration-v2/orchestrator-mcp-server.md-302,0 +328OrchestratorMcpDelegateTaskResultretains workspaceNote in the contracts-owned schema. Upstream source.packages/client-runtime/src/state/threadShell.ts-141 +152rolledUpRequestmarks user-only requests.packages/client-runtime/src/state/threadShell.ts-316 +332rolledUpRequest.packages/effect-codex-app-server/src/protocol.ts-478,0 +481,5makeCodexAppServerPatchedProtocolwraps stream defects in upstreamCodexAppServerTransportErrorwith the same read-input-stream operation. Upstream source.packages/provider-core/src/server/orchestrationInstructions.ts-31,0 +37,109packages/shared/src/agentAwareness.ts-99 +110resolveThreadAwarenessPhaseV2; upstream rolled-up subagent requests now supply its pending-request argument.apps/server/src/orchestration-v2/ReleasedSessionWork.tsReleasedSessionWork.tsimplementation is removed because upstreamProviderSessionManager.writeReleasedToolCallEventsandwriteReleasedSubagentEventsnow own all release cleanup. Upstream source.apps/web/src/components/titleRegenerationFeedback.tsregenerateTitleawaits the command outcome andthreadTitleRegenerationToastreports it, replacing the fork shell-event waiter/feedback helper. Automatic title evaluation remains. Upstream source.tannerpolley commentedon Nov 16, 2026
T3 Code closeout: done
Issue: #417 Sync with upstream nightly v0.1.10-nightly.20261116.4800, with a behavior replacement ledger
Thread: thread:delegated-task:command%3Amcp%3Abb4592fc-a5b1-434a-94e6-fdbd212a677b%3Adelegate-task%3Aissue-417-upstream-sync-2026-11-16-b
Model: gpt-6.1-sol
Branch: sync/upstream-2026-11-16
Completed: 2026-11-16T22:43:55.520Z
Opened draft PR #428 from
sync/upstream-2026-11-16. It contains a real merge preserving the nightly parent, and GitHub reports it mergeable.Posted the behavior replacement ledger and complete audit on #417: 77 flagged hunks and two replaced helpers, each judged. No product behavior was retired, and #418–#422 remain separate. The fork guide now correctly describes manual syncs.
Verification:
integrity_check: ok. Live userdata was untouched.check:changedpassed format, lint, unused-code checks, GraphQL generation, patch checks, script tests and React Compiler coverage. It reported the three known mobile errors; its 1,181-file test batch timed out at 900 seconds and remains unverified.All 26 registered workflows remain disabled. The new workflow has
if: false; GitHub’s disable endpoint returns 404 until it reaches the default branch, so its remote disabled state remains a post-merge step. Independent review and the primary agent’s integrated client pass remain open.PR #428, head 721ba11, checks and reviews focused checks pass; known mobile errors and broad test timeout documented; no hosted checks or reviews.
tannerpolley commentedon Nov 16, 2026
T3 Code closeout: done
Issue: #417 Sync with upstream nightly v0.1.10-nightly.20261116.4800, with a behavior replacement ledger
Thread: thread:delegated-task:command%3Amcp%3Abb4592fc-a5b1-434a-94e6-fdbd212a677b%3Adelegate-task%3Aissue-417-upstream-sync-2026-11-16-b
Model: gpt-6.1-sol
Branch: sync/upstream-2026-11-16
Completed: 2026-11-16T23:21:50.603Z
Fixed both defects and pushed commit
02f797b95bto draft PR #428.Updated the behavior ledger on #417 and PR verification notes.
Verification has open gates:
721ba11236.check:changedpassed format, lint, unused-code, GraphQL, script and React Compiler checks. Typechecking reports only the three known mobile errors; its 1,182-file test batch timed out after 900 seconds.All background jobs finished. The checkout is clean. No force-push or merge of
mainwas performed.PR #428, head 02f797b, checks and reviews local verification has the open gates above; no hosted checks or submitted reviews.
tannerpolley commentedon Nov 16, 2026
T3 Code closeout: done
Issue: #417 Sync with upstream nightly v0.1.10-nightly.20261116.4800, with a behavior replacement ledger
Thread: thread:delegated-task:command%3Amcp%3Abb4592fc-a5b1-434a-94e6-fdbd212a677b%3Adelegate-task%3Aissue-417-upstream-sync-2026-11-16-b
Model: gpt-6.1-sol
Branch: sync/upstream-2026-11-16
Completed: 2026-11-16T23:31:03.504Z
Fixed and pushed
8d1140ebc5to PR #428.The fork’s result selector filtered only directly tagged runs, omitting upstream’s untagged wake for a grandchild’s completion. It now uses upstream
delegatedTaskRunsbefore applying fork promotion and recovery handling. The pending-result check also restores upstreamdelegatedTaskAwaitsWork. No semantic conflict or test change was needed.All 128 tests in the seven requested files pass, including the unchanged upstream follow-up hold test and both cohort-delivery regressions.
Updated the ledger on #417, correcting the earlier failure classification to sync regression.
One separate gate remains:
check:changedpasses format, lint, unused-code, GraphQL and affected-package typechecks, but bothAgentContextBudget.test.tscases fail because tool registration rejects exposingt3_issue_postto outside clients. Those failures also reproduce at the previous PR head without this fix; they remain unresolved.The checkout is clean, all background jobs finished, and
mainwas not merged.PR #428, head 8d1140e, checks and reviews completion tests pass; agent-context gate remains open; no hosted checks or submitted reviews.
tannerpolley commentedon Nov 16, 2026
T3 Code closeout: done
Issue: #417 Sync with upstream nightly v0.1.10-nightly.20261116.4800, with a behavior replacement ledger
Thread: thread:delegated-task:command%3Amcp%3Abb4592fc-a5b1-434a-94e6-fdbd212a677b%3Adelegate-task%3Aissue-417-upstream-sync-2026-11-16-b
Model: gpt-6.1-sol
Branch: sync/upstream-2026-11-16
Completed: 2026-11-16T23:51:56.602Z
Fixed and pushed
b5a15b0991to PR #428. The MCP registration and budget gate is resolved.Upstream #32764, commit
f28c74a7d0added the check. It runs during production MCP layer construction, so the missing metadata causes a runtime registration failure, not merely a test failure.Added upstream’s
McpSchema.EnabledWhen: hiddenFromOutsideClientsannotation to nine caller-bound fork tools, includingt3_issue_post. The registration guard and handler permission checks remain intact. Tests confirm outside clients cannot accesst3_issue_post.Updated the measured budget to:
Verification passed: 240 tests across 25 files, including the budget, core and MCP toolkit suites.
check:changedalso passed every step against the previous PR head. Updated the ledger on #417 and PR notes.One integration gate remains: current
mainconflicts only inagentContextBudget.json. I leftmainunmerged as requested. The combined tree will need its budget remeasured when that conflict is resolved. All background jobs finished; the checkout is clean.PR #428, head b5a15b0, checks and reviews local MCP checks pass; budget merge conflict remains; no hosted checks or submitted reviews.
tannerpolley commentedon Nov 17, 2026
T3 Code closeout: done
Issue: #417 Sync with upstream nightly v0.1.10-nightly.20261116.4800, with a behavior replacement ledger
Thread: thread:delegated-task:command%3Amcp%3Abb4592fc-a5b1-434a-94e6-fdbd212a677b%3Adelegate-task%3Aissue-417-upstream-sync-2026-11-16-b
Model: gpt-6.1-sol
Branch: sync/upstream-2026-11-16
Completed: 2026-11-17T00:11:33.938Z
Merged
origin/maininto the sync branch with normal merge commit3f5fe1421fand pushed it to PR #428. GitHub now reports the draft PR as mergeable.The combined tree retains #427’s
queueNoteand limit-ask instruction. Remeasured budget:All five requested test files passed. The expanded focused run passed 205 tests across eight files, and both server and web typechecks passed.
check:changedpassed all 165 adjacent tests and its other checks except the three known mobile type errors.The broader check also exposed incomplete MCP fixtures and lost upstream model-refusal hints; both are fixed and tested. Updated the ledger and PR evidence. The checkout is clean and all background jobs finished.
PR #428, head 3f5fe14, checks and reviews requested checks pass; known mobile errors only; no hosted checks or submitted reviews.