Skip to content

chore(fork): absorb upstream through f5d86e31e8 (DO NOT MERGE) - #746

Closed
lukemaj wants to merge 63 commits into
proof-base/744from
integration/744
Closed

lukemaj wants to merge 63 commits into
proof-base/744from
integration/744

Conversation

@lukemaj

@lukemaj lukemaj commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

What: DO NOT MERGE. Proof PR for absorbing upstream pingdotgg/t3code through f5d86e31e8 (382 commits) into the Chromeria fork stack, for #744; head is consolidated candidate C 33bfd9ecfd.
Why: Daily absorption keeps the fork current; this PR runs exact-head CI on C with upstream's native ancestry (base proof-base/744 = T).
So what: The coordinator runs exact-head reviews and the guarded landing. Merging or squashing this PR would discard upstream history.

Identities

SHA
B (absorbed upstream) cbdf35f2f0bcee887abc7736236293a67658a45e
T (target, base proof-base/744) f5d86e31e82ff5db595426c06598493a6d587f2b
S0 (live main at freeze) 772fa1610c25004dc15723bb975a2095bdcc95f4
Fork fix merged after S0, carried 26ba8aaf23 (#745)
S (integrated source, branch source/744) 315cf29efbb467dfc8a3237cc6aaed17abe2055d
C (candidate, branches candidate/744 and integration/744, this head) 33bfd9ecfd05b7b375d4ccdff840897d5fdbc79b

Proof on C

Overlap decisions

Original report: #744 parts 1-5; per-row decisions: #744 decisions parts 1-5. 1142 rows: 203 keyword-only (178 mechanical keep ours with the upstream change verified present, 25 adjudicated); 939 path rows (833 merge both by script, 106 rows = 34 commit/file pairs adjudicated by hand). Decisions worth review:

  • Grok steering (upstream f82162f/#37335): keep ours. Native _x.ai/interject steering is not enabled; routine auto/steer and human Steer keep S0's interrupt-restart (standing chore(fork): absorb upstream through cbdf35f2f0 on 14 November #709 decision). CommandPolicy.test.ts asserts the fork path.
  • Grok background commands (7f6e403) and early task ends (649d9fc/#37162): keep ours. The fork's backgroundTools registry owns post-settle rows and running commands hold the run; an unread pre-settle task end still offers a continuation. Upstream's "later failure corrects a sparse end" is restored on the fork shape; upstream dev-server tests pass.
  • Codex status-bearing network codes (#30639): keep ours. They stay retryable transport_error for the fork's capacity recovery.
  • Outside-client tool hiding (f28c74a/#32764): merge both. Upstream's build-time check is adopted; fork tools device_commands, device_execute, t3_attachment_acquire, t3_attachment_inspect, link_issue/unlink_issue/list_thread_issues are annotated, so clients outside a T3 thread no longer see them. Linked peers keep the tools (hiddenFromOutsideClients allows client.linked) and still get S0's thread_credential_required without a thread.
  • Unaccepted-prompt resend (#32413): adopt upstream. A delegated follow-up cut before the provider accepted it is resent instead of getting the fork's restart-cut note; the fork test now records the accepted provider turn.
  • Queue start on a stale run end: fork fix. startNextQueuedRun ignores an endedRunId of an executed run that is not the thread's latest, so a queued completion stays held through startup.
  • Delegated-task reads (#34551): merge both (fork resolveSubagentFollowup narrowed to the task row and its own run).
  • Peer results (#37332) and link access (#27334): keep ours where they conflict: fork peer task results carry no executed model, and the over-access refusal names the link rather than "expired".
  • Restart continuation cancelled before start (11c425b): keep ours (the continuation, carrying the restart note, is the latest finished run).
  • Scratch-project delete (#33773): merge both (the fork's isSharedScratch guard is stronger). Text-only snapshots (#30305), pinned-first threads, lastRunError, clamped list limits: merged into the fork's split tools.
  • DeviceHubProxy: keep ours (fork response-header allowlist already drops set-cookie). Windows shell probe (#30667): merge both (fork 5 s at startup via budget.windowsTimeout, upstream's 2 min retries).

Not carried / notes

  • Evals: skipped by user decision (lukemaj/promachos#42).
  • Local-only: provider-grok driver test "Homebrew node keg" fails locally and on S0 too; provider-opencode driver tests fail locally only because of this machine's OpenCode binary. CI's Test job passes both packages.

browser doc: no user-visible change

Elon record

  • Requirements and who asked: chore(fork): absorb upstream through f5d86e31e8 on 15 November #744 coordinator brief (user's standing daily absorption authority): replay S0's stack onto T preserving every fork behavior, carry fork fixes merged since S0, consolidate to one commit per owner, prove on exact C.
  • Deleted: scoped model evals (lukemaj/promachos#42); local repo-wide sweeps (CI shards ran the suites); a per-commit rebase (one snapshot merge, then generate rebuilt the owner commits).
  • Bottleneck: semantic resolution of 66 conflicted files and the follow-on server test failures, then exact-head CI.
  • Checked myself: identities via git merge-base/rev-list; conflict list via git merge-tree; CI job logs for every failure fixed; consolidation and fork-check exit codes on C; git diff --quiet S C; range-diff pairing.

Refs #744

🤖 Generated with Claude Code

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL labels Nov 15, 2026
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

This PR changes the test suite by +2568 test cases (browser +46, unit +675, server +1847).

New browser test files: apps/mobile/src/features/browser/preview-stream.browser.test.ts, apps/web/src/components/ScheduledCommandNotifications.browser.test.tsx, apps/web/src/components/chat/RemotePendingRequest.browser.test.tsx, apps/web/src/components/chat/ThreadRelationshipsControl.agents.browser.test.tsx, apps/web/src/components/chat/V2LifecycleRow.remote.browser.test.tsx, apps/web/src/components/cloud/CloudEnvironmentConnectList.routes.browser.test.tsx, apps/web/src/components/device/DeviceDiscovery.browser.test.tsx, apps/web/src/components/device/deviceStreamSession.browser.test.ts, apps/web/src/components/featureMap/featureMap.mermaid.browser.test.tsx, apps/web/src/components/settings/ColorPicker.browser.test.tsx, apps/web/src/components/settings/ForkPageHeadings.browser.test.tsx, apps/web/src/components/settings/ForkSearchResultMarks.browser.test.tsx, apps/web/src/components/settings/IntegrationsSettings.mirror.browser.test.tsx, apps/web/src/components/settings/PrismSettings.list.browser.test.tsx, apps/web/src/components/settings/SpectrumSettings.browser.test.tsx, apps/web/src/components/ui/menu.focus.browser.test.tsx, apps/web/src/state/previewStream.browser.test.tsx.
Each browser test file costs CI seconds of module loading before its first test runs; a unit test costs milliseconds.

Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing.

@github-actions github-actions Bot added the 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. label Nov 15, 2026
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire — 5.0 KiB — 6.8 KiB ✅
Codex Thread snapshot wire — 3.8 KiB — 4.9 KiB ✅
Codex Live turn WebSocket wire — 1.2 KiB — 2.0 KiB ✅
Codex Live turn WebSocket decoded — 21.5 KiB — 24.4 KiB ✅
Codex Live turn messages — 1 — 8 ✅
Claude Total thread wire — 5.0 KiB — 6.8 KiB ✅
Claude Thread snapshot wire — 3.8 KiB — 4.9 KiB ✅
Claude Live turn WebSocket wire — 1.2 KiB — 2.0 KiB ✅
Claude Live turn WebSocket decoded — 21.9 KiB — 24.4 KiB ✅
Claude Live turn messages — 1 — 8 ✅

Other scenarios

No main baseline exists yet for these 64 scenario measurements.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded — 10.5 KiB — 12.7 KiB ✅
Codex short turn resume WebSocket messages — 2 — 2 ✅
Codex long turn running, cold open HTTP decoded — 281.7 KiB — 302.7 KiB ✅
Codex long turn running, cold open rows — 75 — 75 ✅
Codex long turn running, history page HTTP decoded — 92.4 KiB — 107.4 KiB ✅
Codex long turn running, history page rows — 75 — 75 ✅
Codex long turn finished, cold open HTTP decoded — 381.5 KiB — 410.2 KiB ✅
Codex long turn finished, cold open rows — 151 — 151 ✅
Codex long turn finished, socket cold open WebSocket decoded — 381.6 KiB — 410.2 KiB ✅
Codex long turn finished, socket cold open WebSocket messages — 2 — 2 ✅
Codex long turn finished, socket cold open rows — 151 — 151 ✅
Codex long turn finished, work page HTTP decoded — 186.2 KiB — 200.2 KiB ✅
Codex long turn finished, work page rows — 150 — 150 ✅
Codex idle thread resume WebSocket decoded — 65 B — 200 B ✅
Codex idle thread resume WebSocket messages — 1 — 1 ✅
Codex fleet shell snapshot HTTP decoded — 45.8 KiB — 53.7 KiB ✅
Codex fleet shell snapshot rows — 27 — 27 ✅
Codex fleet shell subscribe WebSocket decoded — 65 B — 200 B ✅
Codex fleet shell subscribe WebSocket messages — 1 — 1 ✅
Codex fleet shell resume check HTTP decoded — 18 B — 100 B ✅
Codex fleet shell resume check rows — 0 — 0 ✅
Codex stale shell reload HTTP decoded — 45.8 KiB — 53.7 KiB ✅
Codex stale shell reload rows — 27 — 27 ✅
Codex stale shell resume WebSocket decoded — 140 B — 400 B ✅
Codex stale shell resume WebSocket messages — 2 — 2 ✅
Codex stale todo list cold open HTTP decoded — 72.4 KiB — 83.0 KiB ✅
Codex stale todo list cold open rows — 75 — 75 ✅
Codex stale todo list cold open nodes — 2 — 4 ✅
Codex stale todo list cold open subagents — 2 — 4 ✅
Codex stale todo list cold open plans — 1 — 2 ✅
Codex stale todo list cold open providerTurns — 1 — 2 ✅
Codex stale todo list cold open checkpoints — 1 — 2 ✅
Claude short turn resume WebSocket decoded — 10.6 KiB — 12.7 KiB ✅
Claude short turn resume WebSocket messages — 2 — 2 ✅
Claude long turn running, cold open HTTP decoded — 283.3 KiB — 302.7 KiB ✅
Claude long turn running, cold open rows — 75 — 75 ✅
Claude long turn running, history page HTTP decoded — 93.4 KiB — 107.4 KiB ✅
Claude long turn running, history page rows — 75 — 75 ✅
Claude long turn finished, cold open HTTP decoded — 384.2 KiB — 410.2 KiB ✅
Claude long turn finished, cold open rows — 151 — 151 ✅
Claude long turn finished, socket cold open WebSocket decoded — 384.3 KiB — 410.2 KiB ✅
Claude long turn finished, socket cold open WebSocket messages — 2 — 2 ✅
Claude long turn finished, socket cold open rows — 151 — 151 ✅
Claude long turn finished, work page HTTP decoded — 188.1 KiB — 200.2 KiB ✅
Claude long turn finished, work page rows — 150 — 150 ✅
Claude idle thread resume WebSocket decoded — 66 B — 200 B ✅
Claude idle thread resume WebSocket messages — 1 — 1 ✅
Claude fleet shell snapshot HTTP decoded — 46.4 KiB — 53.7 KiB ✅
Claude fleet shell snapshot rows — 27 — 27 ✅
Claude fleet shell subscribe WebSocket decoded — 66 B — 200 B ✅
Claude fleet shell subscribe WebSocket messages — 1 — 1 ✅
Claude fleet shell resume check HTTP decoded — 18 B — 100 B ✅
Claude fleet shell resume check rows — 0 — 0 ✅
Claude stale shell reload HTTP decoded — 46.4 KiB — 53.7 KiB ✅
Claude stale shell reload rows — 27 — 27 ✅
Claude stale shell resume WebSocket decoded — 140 B — 400 B ✅
Claude stale shell resume WebSocket messages — 2 — 2 ✅
Claude stale todo list cold open HTTP decoded — 73.4 KiB — 83.0 KiB ✅
Claude stale todo list cold open rows — 75 — 75 ✅
Claude stale todo list cold open nodes — 2 — 4 ✅
Claude stale todo list cold open subagents — 2 — 4 ✅
Claude stale todo list cold open plans — 1 — 2 ✅
Claude stale todo list cold open providerTurns — 1 — 2 ✅
Claude stale todo list cold open checkpoints — 1 — 2 ✅

Baseline: unavailable · PR result: 33bfd9e · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

Fork-owner: direction
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: glossary
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: data-foundation
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: branding
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: query-interrupt-retry
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: partial-clone-remotes
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: macos-temp-realpath-tests
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: secret-store-atomic-create
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: launcher-test-fixtures
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: legacy-terminal-labels
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: login-shell-capture
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: grok-reasoning-effort
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: grok-background-command-end
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: provider-auto-update
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: bounded-stored-event-replay
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: settings-mark
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: thread-people
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: issues-browse
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: issues-links
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: issues-status
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: issues-open-links
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: no-project-sidebar
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: rejected-connect-link
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: paired-session-renewal
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: network-routes
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: promachos-mode
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: thread-tool-policy
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: thread-parent-crumbs
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: feature-map
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: menu-escape-focus
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: preview-chrome-identity
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: chrome-login-mirror
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: usable-secret-requests
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: outside-agent-oauth-grants
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: preview-credential-fill
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: preview-chrome-for-testing
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: agent-web-research
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: remote-secret-requests
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: preview-tab-settlement
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: page-subscriptions
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: tool-instructions
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: stacked-merge-worktree-cleanup
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: project-restore-guard
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: eval-spend-cap
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: sidebar-thread-sort-order
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
Fork-owner: fork-maintenance
Fork-source: 315cf29
Fork-base: f5d86e3
Fork-registry: 315cf29
@lukemaj

lukemaj commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Review (web/desktop) of 33bfd9e

Verdict: PASS. C keeps every fork behavior from B..S0 (plus #745 carried) and every upstream B..T change in apps/web and apps/desktop; the five merged files are sound and match their recorded #744 decisions.

Method

Findings (none blocking)

  1. apps/desktop/src/shell/DesktopShellEnvironment.ts:37,137,143,409,605-606: merge both, correct. Upstream's ProbeBudget/STARTUP_PROBE/RETRY_PROBE retry loop (abc0fde) is kept. The fork's 5 s Windows startup probe now flows through the new optional windowsTimeout (budget.windowsTimeout ?? budget.timeout), so Windows retries get upstream's 2 min. The fork's login-shell-only prepared = answeredBy !== undefined and LOGIN_SHELL_CAPTURE_TIMEOUT_MS are kept. The decision's premise matches the code. prepared being stricter only makes upstream's settled retry more often after a launchctl-only PATH, which is the fork's intent.
  2. apps/desktop/src/shell/DesktopShellEnvironment.test.ts: the only difference is the fork's effect/Duration import, which T already has (line 5). Not a loss.
  3. apps/web/src/authBootstrap.test.ts:~469: upstream's new "retries the desktop bootstrap while the backend is still unreachable" test gets getLocalEnvironmentEnabled: () => true. That adapts upstream's test to the fork's local-environment gate. The fork's own line at ~411 is kept.
  4. apps/web/test/environmentHttpTest.ts:26-30,160-167: merge both, correct. Upstream's typed PrimaryHttpEffectRunner run (it is returned, and upstream's retry test uses it) runs inside the fork's SessionRenewal-aware runtime, with __setRenewalRunnerForTests set and reset.
  5. apps/web/src/components/chat/ThreadRelationshipsControl.tsx:680-694: merge both, correct. Same-environment opens go through upstream's resolveThreadOpenRoute (4fa5f0e: a side chat's subagent opens its parent as a side chat). Cross-environment rows keep the fork's direct scopeThreadRef(environmentId, threadId). The self-navigation guard now also compares environmentId, which is correct for same-id remote children. Upstream's hasInstanceBadge/anyInstanceBadge props survive (:85,276,316,354,413,1152,1175). openSideChatTab has no remaining callers in apps/web/src.

Not checked

  • No tests run locally. CI on C at review time: 23 pass, 2 pending, 5 skipping.
  • No browser pass. Semantic overlap that no text change shows (upstream behavior that fork-only files depend on) was not audited beyond these 5 files.

Reviewed by Claude Opus 5.5 (Claude Code), read-only.

@lukemaj

lukemaj commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Review (mobile/shared/stack) of 33bfd9e

Verdict: PASS. No blocking or non-blocking defects found in apps/mobile, packages/client-runtime, packages/shared, scripts/fork-*, docs, .github or the stack model on exact C 33bfd9ecfd05b7b375d4ccdff840897d5fdbc79b.

Stack model (exact C)

  • T f5d86e31e8 is an ancestor of C and S; git rev-list --merges T..C = 0; 63 commits, each non-empty, 63 distinct chore(fork): consolidate <owner> subjects with Fork-owner/Fork-source: 315cf29efb/Fork-base: f5d86e31e8 trailers.
  • git diff --quiet S C: identical trees.
  • In a fresh git worktree add --detach at C (removed afterwards): node scripts/fork-consolidate.mjs check T S exit 0 (1291 paths, 63 owners incl. eval-spend-cap, sidebar-thread-sort-order); bash scripts/fork-check.sh --base T exit 0; bash scripts/fork-check.sh --upstream upstream exit 0 (fork-check: OK.).

Carry of B..S0 and #745

In-scope hunks (222 paths)

  • Fork +/- line sets of git diff B S0 vs git diff T C are identical for 221 paths. The one difference is scripts/fork-consolidate.mjs, which adds exactly "eval-spend-cap" and "sidebar-thread-sort-order" to the consolidation order (expected, per the PR body).
  • 28 in-scope paths were also changed upstream in B..T (mobile ThreadRouteScreen, ThreadDetailScreen, threadListV2, HomeScreen, McpAppWebView, use-thread-composer-state, vite.config.ts; client-runtime connection/supervisor, state/threadSort, state/server, state/device, device/stream, work-log/itemDetail; packages/shared/package.json; 5 docs). For each: every non-blank upstream-added line (B..T) and every fork-added line (B..S0) is present in C's file (whitespace-insensitive), and no line upstream deleted in B..T (25+ chars, absent from T) reappears in C. So no upstream change was dropped and no removed upstream code was revived on these paths.

CI on this head

24 pass, 5 skipping (preview deploy/EAS jobs), only review/independent pending.

Not checked

Semantics of server/web/desktop resolutions (other area reviews); no mobile device run (fork hunks on mobile are byte-identical to S0); no test sweeps.

@lukemaj

lukemaj commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Review (server/provider) of 33bfd9e

Verdict: PASS. I found no lost fork behavior, no lost upstream fix and no broken merge in the server and provider area. Three non-blocking notes follow.

Scope: apps/server, packages/contracts, packages/shared, packages/provider-*, packages/effect-*, exact head 33bfd9ecfd05b7b375d4ccdff840897d5fdbc79b. Identities checked: B cbdf35f2f0, S0 772fa1610c, T f5d86e31e8, C 33bfd9ecfd. git diff --quiet S C holds, so this verdict also covers S 315cf29efb.

Method

  • Untouched files: every in-scope path in git diff T C is also in git diff B S0. Files the fork never touched match T exactly.
  • Dropped fork lines: for each in-scope file in git diff B S0, I listed fork-added lines missing verbatim from C. That gave 32 files and 130 lines, and I read each against C. All are formatter or wrapping noise, moves onto upstream's shape, or recorded decisions:
    • The threadNotFound "Did you mean mcp:" hint moved to apps/server/src/mcp/threadAccess.ts:42, merged with upstream's links hint.
    • The new-worktree startFromOrigin default and the fork's caller-less project defaults now share one projectSettings read (toolkits/project/handlers.ts).
    • The fork's getThreadRecords parent reads were narrowed onto upstream's readDelegatedCompletionPlanRecords (Orchestrator.ts:2209). The Run group path still reads every member (:16562), and resolveSubagentFollowup reads only the task's own run (:10755). Its only consumer is parent.runs.find(run.id === original.runId).
    • The Codex tests "settles unfinished compaction…", "Stop ends a background command no Codex process tracks…" and the full-access approvalPolicy "never" assertion exist in B. Upstream removed them in T with #32177, #37325 and #37104, so they are not fork losses.
  • Reverted upstream lines: I ran the same scan on B..T, limited to fork-touched files. That gave 30 files and 145 lines, and each maps to a merge or a recorded chore(fork): absorb upstream through f5d86e31e8 on 15 November #744 decision:
    • Text-only snapshots (#30305) are merged with the fork's save and receipt path. pixelsRequired: false is sent only when neither includeImage nor save is set (toolkits/preview/handlers.ts:446). A metadata-only reply to a save fails loudly (McpHttpServer.ts:1012), and fullScreenshot survives in ServerBrowserPage.capture.
    • The 413 handling is merged with the fork's network rule (provider-core/src/server/failure.ts:339).
    • The restart-continuation Stop check is shared as restartStopRequested, and processLossCount is carried.
    • The RunExecutionService earlier-plan adoption is merged with ownsChildThread.
    • The scratch-project delete guard is covered by the fork's fork/projectDeleteGuard.ts isSharedScratch.
    • t3_queue's clamp test became four rows across the fork's split tools.
  • Conflict-heavy files read in full: I read the whole S0..C diff for Orchestrator.ts (305 lines), McpToolAccess.ts, McpHttpServer.ts, RunExecutionService.ts, RestartContinuation.ts, ProviderRuntimeRecoveryService.ts, project/handlers.ts, provider-grok/adapter.ts and provider-core/failure.ts, plus the ACP background-command paths. The per-file churn of S0..C minus B..T is within ±40 lines everywhere except Orchestrator.ts (+65, the fork queue guard and Run group read), the ACP adapter (−91) and its test (−137, the keep-ours rows). No file shows duplicated old and new logic.
  • fix(desktop): mirror Chrome profiles with extension-partitioned cookies #745: desktop only. ChromeCookieSource.ts and its test are byte-identical in C.
  • CI: every exact-head check on C passes, including Test Server 1-8, Test, Build and Typecheck, Fork Stack Model and Agent context budget. I ran no local tests.

Adjudicated decisions in this area

  • Grok steering (f82162f), keep ours: sound, and the premise is now stated correctly. supportsActiveSteering stays false, so steerTurn and _x.ai/interject are unreachable. Human Steer still interrupt-restarts, which matches S0. The chore(fork): absorb upstream through cbdf35f2f0 (DO NOT MERGE) #710 finding (a human Steer kills a running foreground tool) is still the standing user choice.
  • Grok background commands (7f6e403) and early task ends (649d9fc), keep ours: sound. Upstream's three dev-server tests (AcpAdapterV2.test.ts:12450-12530) are byte-identical to T and green on C, so #32109's user-facing fix holds on the fork mechanism. The sparse-end correction is restored as richerEnd (provider-acp/src/server/adapter.ts:5347).
  • Outside-client tool hiding (#32764), merge both: sound. The fork's threadBound flag (McpToolAccess.ts:88) plays the role of upstream's remote === undefined, and it is enforced at layer build (:486). hiddenFromOutsideClients keeps the tools for client.linked (McpInvocationContext.ts:214-219). The handler still refuses with thread_credential_required behind discovery (new McpToolAccess.test.ts case).
  • Codex status-bearing network codes (#30639), keep ours: sound as a fork choice. makeProviderFailure reclassifies a provider_error as retryable transport_error when network diagnostics match, which overrides upstream's httpStatusCode != null → provider_error. That is S0 behavior, so nothing regresses.
  • Unaccepted-prompt resend (#32413), stale queue start, delegated-task reads (#34551), peer results and link access, restart continuation (11c425b), DeviceHubProxy: I checked each against C, and each is implemented as recorded.

Findings (non-blocking)

  1. apps/server/src/orchestration-v2/Orchestrator.ts:2778-2785: new fork behavior, no focused test found. The stale-run-end guard in startNextQueuedRun returns early for any endedRunId that is not latestExecutedRun, unless it was cancelled before start. Upstream's latestRunEnded path (:17834) bypasses it, and I found no failure path that leaves a queue stuck. I did not find a test in S0..C that pins "a late update to an older executed run does not start the queue", though. Add one when convenient.
  2. packages/provider-grok/src/server/adapter.ts:385: dormant wiring. steering: grokSteering is installed while the capability keeps it unreachable. That is harmless. It is worth one line in the comment at :140 so a later absorption does not read it as enabled.
  3. Outside clients lose fork tools at discovery. device_*, t3_attachment_acquire/inspect, the issue-link tools and the preview tools are hidden from outside clients now (for example, preview_act returns "Tool not found" instead of "needs an agent running inside T3 Code"). Those clients could never complete these calls, so no capability is lost. This is a visible change for outside MCP clients, and it is recorded on chore(fork): absorb upstream through f5d86e31e8 on 15 November #744.

Unchecked: model evals (skipped per lukemaj/promachos#42). Client and web code is outside this area.

Reviewed with Claude Opus 5.5 (Claude Code), read-only.

@lukemaj

lukemaj commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Landed via the guarded path: live main = 33bfd9e (02:14:11 Warsaw), backup tag pre-absorb-744-20261116T021406CET-26ba8aaf23. Closing this DO NOT MERGE proof PR; #744 tracks the rollout.

@lukemaj lukemaj closed this Nov 16, 2026
@lukemaj

lukemaj commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Agent work on this PR

Estimated cost $80.70 · 1,204 responses · 10 sessions · 3.9 h wall time (whole sessions)

Model Responses Tokens Estimated cost
claude-opus-5-5 (claude, medium) 1,204 260,755,588 $80.70

Flags: 1 large tool output · 1 repeated command

Details: snapshot, prices, coverage, counters
  • Task toolboxmd/chromeria#746: outcome unknown (recorded acceptance only; a finished process never implies it).
  • Proof: chore(fork): absorb upstream through f5d86e31e8 (DO NOT MERGE) #746
  • Snapshot be48f7370ce89dfe32098c53cac0c7552b52798b692fd9c7a6a16c3368da66bc, records up to 2026-11-16 02:25 UTC.
  • 10 sessions on claude; AgentsMD 17.4.6.
  • Totals reconcile with the measured sessions: yes. Evidence complete: yes.
  • Prices: list-price estimate from T3 local rate table (path withheld) as of 2026-11-15, schedule dcab23bd6e20d99d21d874217ee6cf2912412ecd73888e37f5bc68115c0874f4. Unknown prices stay unknown, never zero.
    • T3 LiteLLM rate table when present; bundled schedule covers the rest.
    • Model price sources: T3 local rate table (path withheld).
  • Harness-reported cost: none reported.
  • Usage totals are not billing. Subscription spending is separate and is never posted as spend.
  • Crashed runs are counted separately: 0.

Token counters by model (native counter semantics; never added across semantics):

  • claude-opus-5-5 (claude, medium), claude counters: input excludes cache, output includes thinking: input 2,430; cache-read 257,930,550; cache-write 2,279,385; output 543,223; reasoning 137,022; harness total 260,755,588.

Generated tokens (reasoning and other output are disjoint; other output includes code, tool calls and replies):

Model Reasoning Other output Reasoning share Split known for
claude-opus-5-5 (claude, medium) 137,022 406,201 25.2% 1,204 of 1,204

Usage by work phase (this task's own responses):

Phase Model Responses Input Cache read Cache write Output Reasoning Total Priced part
unclassified claude-opus-5-5 (claude, medium) 1204 2,430 257,930,550 2,279,385 543,223 137,022 260,755,588 $80.695370

Recorded activity by phase (observations, not separate token bills):

Phase Tool calls MCP results Reads Skill invocations File changes Failed tool results
unclassified 1175 0 4 2 0 25

Selected rates (USD per million tokens). These rates value the report at the selected schedule date; they do not establish historical prices or subscription spending.

Model Input tier Input Cache read Cache write Other output Reasoning
claude-opus-5-5 all 4 0.2 5m: 5; 1h: 8 20 20

Other output and reasoning are priced without double counting inclusive native output. Missing rates remain unknown.

Local measurement from native records; usage totals are not billing. Updated in place by agent-observer publish.

@lukemaj
lukemaj deleted the integration/744 branch November 16, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:XXL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant