Skip to content

chore: sync upstream main - #67

Open
github-actions[bot] wants to merge 5291 commits into
Hylouis233:mainfrom
pingdotgg:main
Open

github-actions[bot] wants to merge 5291 commits into
Hylouis233:mainfrom
pingdotgg:main

Conversation

@github-actions

Copy link
Copy Markdown

Import pingdotgg/t3code:main at 6bbb2d8.

This PR tracks upstream main, including PRs already merged there, not arbitrary open PRs. Its source branch can move; every run validates an exact head, base, and merge SHA again. Fork history is preserved through a merge commit. Conflicts, maintenance-file changes, failed validation, review objections, or repository protection rules block automatic merging.

Prepared by the OpenT3Code upstream sync workflow.

@github-actions github-actions Bot added vouch:unvouched New or unvouched contributor; contributions are welcome. size:XXL 1,000+ effective changed lines. labels Oct 27, 2026

Copy link
Copy Markdown
Owner

OpenT3Code sync review — 2026-10-30 (immutable audit snapshot)

The existing sync workflow was re-run against fork b6653f1f247344851eb99b71202353d5f2ce1a4a and upstream f58fad04162165653bf06f0c987bbfb0074a8a4b (merge base becf853defb6127dbe4447860383777d69346b6f). The audit reports 408 upstream-only commits, 55 overlapping paths, and 16 actual merge conflicts. prepare and diagnose succeeded; validate and merge were skipped because no exact merge candidate exists. This PR is not ready to merge.

New deployment/security boundary requiring explicit review: Upstream commit f58fad0 adds .github/workflows/mobile-eas-preview-fork.yml with pull_request_target, a deployment label, checkout of an external fork PR's commit, and EXPO_PREVIEW_TOKEN. It also changes mobile-eas-preview.yml, where the existing OpenT3Code job-level guard github.repository == 'pingdotgg/t3code' must not be lost. Do not import or enable the new fork-preview deployment workflow in OpenT3Code without a separate, explicitly reviewed, repository-scoped policy and credential threat model. Keep upstream production/preview EAS, relay, web, and desktop deployment restrictions inert in the fork. Never deploy or approve secrets as part of this sync.

Other conflicting areas include ci.yml, desktop macOS preview publishing, mobile fingerprinting, README branding, Codex Adapter, EventSink, ProjectionStore, ProviderEventIngestor, runtime recovery/session management, provider metadata, Knip, and Settings contracts. Preserve MCode/DSH, orchestrationProtocolVersion compatibility tags, and the fork's independent maintenance/preview behavior. Resolve on a focused fork branch, then run all applicable checks on the exact merge candidate, verify its two immutable parents and real checkout logs, and recheck reviews and current refs before any normal merge. Do not overwrite the upstream branch or create another generic sync tracker.

Copy link
Copy Markdown
Owner

OpenT3Code sync delta review — 2026-10-31 (new immutable audit snapshot)

I re-ran the existing sync workflow run 41028736223, attempt 2 without creating a second tracker. Its trusted conflict diagnostic captured fork b6653f1f247344851eb99b71202353d5f2ce1a4a, upstream be5a887b939dadf74e62a477bbe2c805d561fe9e, and merge base becf853defb6127dbe4447860383777d69346b6f. It reports 680 upstream-only commits, 65 overlapping paths, and 17 actual text conflicts. Artifact 13023595784, SHA-256 e452c9042e6dc68bedad1ba78ad2b6de67a337885ec8b93ddf209243edaaed88.

Delta versus the 2026-10-30 review: apps/server/src/orchestration-v2/ProviderEventIngestor.ts is now also conflicted (16 → 17). Resolve semantically, not by taking the upstream file: the fork's provider-runtime lifetime ownership/isolation is still present, while current upstream routes publish failures through ProviderEventPublishError after lock-timeout retry. Preserve both relevant behaviors and add focused regression coverage.

The previously identified mobile-eas-preview-fork.yml pull_request_target/deployment-credential boundary remains unresolved; this comment does not supersede the security review above. prepare and diagnose succeeded; validate and merge were skipped, so no exact merge candidate or passing candidate checkout exists. PR #67 must remain unmerged pending conflict/security resolution and full exact-SHA validation.

Copy link
Copy Markdown
Owner

OpenT3Code sync delta review — 2026-11-02 (new immutable diagnostic snapshot)

I re-ran the existing sync workflow run 41293046411, attempt 2, without opening a second upstream tracker. The diagnostic independently captured fork main b6653f1f247344851eb99b71202353d5f2ce1a4a and upstream main fa31b66bbb2ae5234205a8628a78e038d917202f (merge base becf853defb6127dbe4447860383777d69346b6f). There are 1,153 upstream-only commits, 67 overlapping paths, and 18 text conflicts. Artifact 13107666566, SHA-256 24e8b1094fa79bf88b99d0676b7b945b2fea6d7454c1477282e68ba05500f274.

New 18th conflict: .github/workflows/pr-vouch.yml. The fork currently uses its own .github/scripts/opent3code-pr.cjs trust-label policy, trusted-default-branch checkout, and accompanying policy tests. Upstream has switched to mitchellh/vouch/action/check-user@v1 with issue_comment command handling, repository label writes, and .github/VOUCHED.td. This is a contribution-policy and privileged-workflow change, not a safe take-theirs resolution. Preserve the fork's independent vouch policy and review any adopted upstream behavior, permissions, event filtering, and trust assumptions explicitly before merging.

The previously identified EAS fork-preview pull_request_target / EXPO_PREVIEW_TOKEN isolation issue also remains a merge blocker. prepare and diagnose succeeded; validate and merge were skipped because no candidate merge SHA exists. No exact-candidate checkout, two-parent verification, or applicable candidate test suite has passed. Keep this PR open and unmerged until conflicts are resolved on a reviewed branch and a fresh immutable candidate passes every gate.

Copy link
Copy Markdown
Owner

OpenT3Code sync delta review — 2026-11-03 (immutable diagnostic snapshot)

The existing upstream-sync run 41422534978, attempt 1, captured fork b6653f1f247344851eb99b71202353d5f2ce1a4a, upstream 47f2c8d29e981c7723467efe137ee19e91df924e, and merge base becf853defb6127dbe4447860383777d69346b6f. The complete git-based audit reports 1,183 upstream-only commits, 67 overlapping paths, and 20 text conflicts (previous snapshot: 18). Audit artifact 13130861245, uploaded ZIP SHA-256 255ad7488c6f265df3fe4cadb18ee3c267a0258841c8427d661e5f0acfe9e242.

Two newly conflicted paths:

  • apps/server/src/orchestration-v2/ProviderEventIngestor.test.ts: upstream now uses ProviderUsageAnalytics.ProviderTurnAnalytics with structured turnCompleted reports; fork tests exercise lifetime-scoped ingestion. Retain coverage of both behaviors, including stale-event rejection.
  • apps/server/src/orchestration-v2/RunExecutionService.ts: upstream adds ProviderUsageAnalytics run-started/run-settled reporting, child/continuation segmentation, and database error presentation. Fork currently forwards input.session.runtimeLifetime to ingestion and discards buffered requests for that lifetime. Any reconciliation must preserve runtime isolation and explicit teardown, not simply replace the fork implementation.

The previously reviewed pull_request_target EAS fork-preview credential boundary and independent PR-vouch policy remain unresolved. prepare and diagnose succeeded; validate and merge were skipped, and PR #67 has merge_commit_sha=null / is not mergeable. The upstream main branch has moved beyond this diagnostic snapshot, so the 20-conflict count is not asserted as a fresh count for its later SHA. Do not merge until conflicts/security policy are resolved, both immutable candidate parents match the then-current refs, and the exact candidate's real checkout logs and every applicable check succeed. No separate upstream tracker or release/deployment action is needed.

Copy link
Copy Markdown
Owner

OpenT3Code sync delta review — 2026-11-05 (exact immutable snapshot)

I re-ran the existing OpenT3Code upstream-sync run 41808037086, attempt 2, without creating a duplicate sync PR. The diagnostic captured:

  • Fork main: b6653f1f247344851eb99b71202353d5f2ce1a4a
  • Upstream main: 4b87a45770d24a47f7e6bc40e3f19011e41c7724
  • Merge base: becf853defb6127dbe4447860383777d69346b6f
  • 1,526 upstream-only commits, 199 fork-only commits, 43,327 upstream changed paths, 125 fork changed paths, 68 overlapping paths, and 22 text conflicts (previous exact snapshot: 20).

Complete diagnostic artifact 13376727364, uploaded ZIP SHA-256 910e003b8421fcfa8ce198eb65d083159e646fb990aff99185171912c412dff5.

Two newly conflicted test files:

  1. apps/server/src/mcp/OrchestratorMcpService.activity.test.ts: upstream adds caller-access failure propagation, Unicode-safe activity-text pagination, and secret-request outcome tests. Preserve the fork's existing task/child-thread access and runtime assertions while integrating these cases; verify that denial paths never expose target-thread data or secrets.
  2. apps/server/src/mcpApps/McpAppRequests.test.ts: upstream adds a stopped-provider-session regression test. Keep the fork's runtime-lifetime/session-stream test infrastructure and check the combined behavior against the merged ProviderSessionManager implementation.

The existing EAS fork-preview token/PR trust boundary, PR Vouch policy, MCode/DSH, orchestrationProtocolVersion compatibility tags, and other fork maintenance rules remain mandatory merge blockers until explicitly reviewed. The current PR is mergeable=false, with no candidate merge SHA. prepare and diagnose succeeded, but validate and merge were skipped. No passing candidate checkout or parent-SHA verification exists; do not merge based on a green diagnostic or historical main CI.

Copy link
Copy Markdown
Owner

OpenT3Code upstream sync delta review — 2026-11-07 (exact immutable snapshot)

I re-ran the existing upstream sync run 42195777526, attempt 2, without opening another tracker. The read-only audit captured fork b6653f1f247344851eb99b71202353d5f2ce1a4a and upstream d5fc29fe5cb62db68bfbf824cfabe0ae94ac6ac4, merge base becf853defb6127dbe4447860383777d69346b6f. It reports 1,786 upstream-only commits, 199 fork-only commits, 43,837 upstream changed paths, 125 fork changed paths, 70 overlapping paths, and 27 text conflicts. Immutable diagnostic artifact 13551708415, SHA-256 c36a7cbbaabea85b8d52f57ba5fa3cd7f7761e07507ed1328de86bf9e3739529.

Five paths newly conflict compared with the previously reported 22:

  • .github/SECURITY.md: keep OpenT3Code's own security-reporting scope and private-contact guidance. Do not replace it with upstream T3 Tools' security@t3.codes channel or imply upstream safe-harbor/support covers this fork.
  • .github/workflows/desktop-macos-preview.yml: preserve the credential-free, exact-head, unsigned JS-bundle-only fork preview. Do not enable upstream's signed/notarized macOS publisher or its privileged publish half.
  • .github/workflows/release.yml: preserve explicit github.repository == 'pingdotgg/t3code' release/publishing guards on the fork. Upstream's revised preflight and quality jobs differ in job-level guards; do not activate upstream release infrastructure, secrets, packages, or distributions here.
  • apps/web/src/components/settings/ProviderSettingsForm.test.ts: combine upstream's typed SettingsSecretValue / secret-reference coverage with the fork's MCode/DSH preview, instance-only, official-CLI-settings assertions.
  • packages/provider-opencode/src/server/v2/adapter.ts: reconcile upstream's error mapping, step/model usage accounting and digest API changes with fork-specific orchestration/runtime semantics; require focused adapter and regression tests rather than wholesale replacement.

The earlier EAS fork-preview pull_request_target/token isolation risk, independent PR-vouch policy, MCode/DSH integrations, and orchestrationProtocolVersion tags also remain mandatory review boundaries. The workflow reports prepare=success and diagnose=success, but validate=skipped and merge=skipped: there is no candidate merge SHA or validated pair of candidate parents. Current fork and upstream refs were separately rechecked, and this PR remains mergeable=false. Keep it open and unmerged until all conflicts and security/compatibility issues are resolved on a focused working branch, with real exact-candidate checkout logs, passing applicable checks, and fresh ref/parent verification. No deployment, publishing, force push, or upstream write is authorized.

Copy link
Copy Markdown
Owner

OpenT3Code sync delta review — 2026-11-10 (immutable audit snapshot)

I re-ran the existing upstream sync run 42597252056, attempt 2, without opening another sync PR. Its read-only diagnostic independently captured:

  • Fork main: b6653f1f247344851eb99b71202353d5f2ce1a4a
  • Upstream main: bbdc7dca320ee4fbc7131498aaffef2fa1eb3d41
  • Merge base: becf853defb6127dbe4447860383777d69346b6f
  • 2,006 upstream-only commits; 199 fork-only commits; 44,222 upstream changed paths; 125 fork changed paths; 70 overlapping paths; 29 text conflicts (up from 27 in the prior diagnostic).

Complete audit artifact 13723058487; uploaded ZIP SHA-256 3284377932f648c3f56d5f1e0a5d6b7d220be83a62902cfd26452156f1cfef92.

Two newly conflicted paths (27 → 29):

  1. .github/workflows/mobile-eas-production.yml: upstream now adds local Android builds, optional local iOS builds, related dispatch/reconciliation logic and EXPO_PRODUCTION_TOKEN. Keep the fork's production/deployment boundary and do not activate upstream credentials or publishing. The upstream production job currently checks github.repository == 'pingdotgg/t3code'; the newly introduced downstream android and ios jobs depend on needs.production.outputs but should also be explicitly reviewed for repository identity, token permissions and fail-closed behavior before any adoption. No production deployment is authorized.
  2. apps/mobile/package.json: upstream has significant Expo/React Native and native-module dependency changes, new build/source-map scripts, and a typecheck command change. Resolve together with the lockfile and native/mobile build configuration; validate the resulting exact candidate, rather than wholesale-replacing the fork's dependency and script configuration.

The earlier 27 conflicts and the EAS fork-preview credential-isolation concern remain unresolved. In this run prepare and diagnose succeeded, while validate and merge were skipped because no merge candidate exists. PR #67 remains open, mergeable=false, with merge_commit_sha=null. An old successful main CI check is not candidate validation. Do not merge, cherry-pick, force-push, or deploy until the conflicts and security/compatibility review are resolved and the exact candidate passes all required checks with independently verified parents.

Copy link
Copy Markdown
Owner

OpenT3Code sync delta review — 2026-11-12 (immutable audit snapshot)

I re-ran the existing OpenT3Code upstream-sync run 42996653475, attempt 3; no new sync tracker was created. Its trusted, read-only audit captured:

  • Fork main: b6653f1f247344851eb99b71202353d5f2ce1a4a
  • Upstream main at the captured snapshot: 1e25ef9e5747c321af91b81ab3492b22c65a91da
  • Merge base: becf853defb6127dbe4447860383777d69346b6f
  • Upstream-only commits: 2,544; fork-only commits: 199; upstream changed paths: 44,560; fork changed paths: 125; overlapping paths: 72; text conflicts: 31 (previous audit: 29).

Diagnostic artifact 13905136575, uploaded ZIP SHA-256 4004272db853f9c4632d41c7b22834d7090657894b284210dd31dd73f7075ea3.

Two newly conflicting files require manual semantic resolution:

  1. .github/workflows/pr-size.yml: retain the fork's trusted-base labeler and safe pull_request_target permissions model. Review the upstream PR-size implementation for any reusable behavior, but do not execute untrusted PR code with a write token or weaken incomplete-diff handling. A separate PR Size run 43129379834 for upstream head fd64128014f2513a5d3d7ccbdf71febb74423e86 failed with Incomplete file list (100/32848); this is not a green check and must not be papered over with a guessed size.
  2. CONTRIBUTING.md: preserve OpenT3Code's independent, inclusive, source-first contributor policy. Do not import upstream-only model, approval, auto-triage, closure, or support-channel restrictions as fork policy.

The first rerun briefly hit a GitHub compare API 404 for the newly advanced upstream SHA; a single focused retry completed prepare successfully. prepare still reports the existing conflict, diagnose succeeded, and validate / merge were skipped because no candidate merge commit exists. This evidence applies only to the two immutable snapshot SHAs above; upstream may have advanced since capture.

Please keep this PR open. The existing provider-runtime, deployment, release, and fork-branding protections remain review gates. Do not merge until all conflicts are resolved, a fresh exact candidate and both parents are independently verified, and every applicable candidate check has completed successfully.

Copy link
Copy Markdown
Owner

OpenT3Code sync delta review — 2026-11-13 (immutable audit snapshot)

I reran the existing upstream-sync workflow 43196125623, attempt 2, without creating or reopening a tracker. The read-only audit captured:

  • Fork main: b6653f1f247344851eb99b71202353d5f2ce1a4a
  • Upstream main at capture: 587deab7d315612d88f9db5df26ec264a1047b76
  • Merge base: becf853defb6127dbe4447860383777d69346b6f
  • Upstream-only commits: 2,964; fork-only commits: 199; upstream changed paths: 44,750; fork changed paths: 125; overlap: 78; text conflicts: 34 (31 in the previously reported audit).

Audit artifact 13997043746, ZIP SHA-256 fa23cc55dc550dce47418c5c32c8bc3d1d9ad7f4e437e3d7ee57cd38045292b2.

Three additional conflicts relative to the earlier 31-path snapshot require targeted review:

  1. packages/contracts/src/orchestrationV2.ts: preserve the fork-only OrchestrationV2ExternalAcpResume versioned schema and optional externalAcpResume persisted-session field. The upstream revision adds linked-environment origin/access fencing, delegated/side-chat semantics, and substantial protocol fields. Merge the schemas rather than overwriting the fork's ACP resume identity; validate persisted-session round trips, MCode/DSH native resume, and link-origin permission isolation.
  2. .github/workflows/windows-tests.yml: retain the fork's GitHub-hosted windows-2025 runner, token-free exact-ref checkout, sparse/no-submodule traversal, and validated package/files input handling. Do not silently restore the upstream-specific Blacksmith runner or interpolate untrusted workflow-dispatch inputs into PowerShell source.
  3. docs/operations/development.md: retain the OpenT3Code-specific installation link and fork identity. The upstream guide introduces additional dev/replay/profiling instructions; review these against actual fork functionality before incorporating them, and avoid instructions that redirect this fork's origin to the upstream GitCafe mirror.

The existing PR remains open and unmergeable; the workflow's prepare and diagnose succeeded, while validate and merge were skipped because no merge candidate exists. No candidate's two immutable parents or current candidate checks could be validated. Upstream may have advanced after this snapshot. Please keep the existing PR open until all conflicts and fork security/compatibility gates are resolved and a fresh exact merge candidate passes its complete applicable checks.

Copy link
Copy Markdown
Owner

OpenT3Code upstream sync delta review — 2026-11-14 (immutable diagnostic snapshot)

I re-ran the existing upstream-sync workflow 43196125623, attempt 3; no duplicate tracker or merge candidate was created.

The read-only audit captured:

  • Fork main: b6653f1f247344851eb99b71202353d5f2ce1a4a
  • Upstream main at capture time: cbf0f0a83f2e107f0859c37b02cbbe32debe92d6
  • Trusted audit tool SHA: b6653f1f247344851eb99b71202353d5f2ce1a4a
  • Upstream-only commits: 3,251; fork-only commits: 199
  • Complete upstream changed paths: 44,895; fork changed paths: 125
  • Overlapping paths: 78; textual conflicts: 36 (previous snapshot: 34).

Two newly conflicted paths require a reviewed resolution:

  1. .gitignore: retain the fork-only .opent3code-preview/ runtime-state exclusion while accepting relevant upstream ignores for artifacts/mobile-behavior/, scripts/.e2e/, and /packages/ssh/.ssh-launcher-test-*/. Do not discard either side's exclusions.
  2. apps/server/src/orchestration-v2/ProjectionControlReads.test.ts: the fork exercises both SQLite and memory projection layers and uses ProviderEventIngestor with session lifetime activation; upstream now uses SQLite-only fixtures and adds queue/fiber/test-clock assertions for durable request/turn completion. Preserve the fork's session-lifetime and storage coverage where still supported, and incorporate upstream durability/ordering coverage only after checking API compatibility. This needs a focused test run; selecting either file wholesale would lose regression coverage.

The separate PR Size run 43536041138 failed closed at Incomplete file list (100/33187); a successful PR Vouch run does not override that failure. Neither the existing main CI nor a skipped validate represents verification of a merge candidate. Current PR #67 remains conflicted and there is no immutable merge SHA with verified parents.

Audit evidence: artifact 14090027193, SHA-256 b3edc1ceea7f1ae688b0e78061abe91eca11d67745f1727f0efbc4615fc80d6d.

This snapshot is not a claim about subsequent upstream ref movement. Keep PR #67 open for conflict resolution and review; do not merge or bypass protection.

Copy link
Copy Markdown
Owner

OpenT3Code upstream sync delta review — 2026-11-15 (immutable audit snapshot)

I reran the existing upstream-sync run 43579009065, attempt 2 without creating another tracker. The read-only audit captured:

  • Fork main: b6653f1f247344851eb99b71202353d5f2ce1a4a
  • Upstream main at capture: 47e24f6cc2fc9a45a44f71ce0fc5bfd5abb01ceb (the live source branch may advance again)
  • Merge base: becf853defb6127dbe4447860383777d69346b6f
  • Upstream-only commits: 3,694; fork-only commits: 199
  • Complete upstream changed paths: 45,139; fork changed paths: 125; overlap: 78
  • Text conflicts: 38 (36 at the preceding exact snapshot)

Complete diagnostic artifact 14139890319; uploaded ZIP SHA-256 4eb5562d56c40eaafd7068d59b3f47efc576b30cef2de61b1fb77a33ed2a9b5d.

Two newly conflicting contracts paths:

  1. packages/contracts/src/orchestrationV2.test.ts: keep the fork's MCode/DSH externalAcpResume persisted-native-session round-trip and invalid-empty-session rejection. Upstream adds OrchestrationV2CheckpointFileSummary checks that preserve leading/trailing whitespace in checkpoint file paths. Integrate both sets of tests and run the contracts suite against the actual resolved schema; neither side's test file is a safe wholesale replacement.
  2. packages/contracts/src/orchestratorMcp.ts: retain the fork-only OrchestratorMcpTaskProviderRetry schema and optional providerRetry field, including rate-limit retry timing/status metadata. Upstream expands the MCP contract with linked-environment targeting and access controls, remote-child identity, client-request-id Unicode checks, PR watching, background task state, and thread pagination. Merge these semantics with explicit authorization/isolation and retry-serialization regression coverage; do not silently drop the fork's retry contract.

The latest PR Size workflow 43658685345 concluded successfully, but its log explicitly warns that GitHub returned 3,000/33,431 files and applied size:XXL from an observed non-test lower bound. This is not a complete change-file review or candidate validation.

The existing sync run's prepare and diagnose succeeded, while validate and merge were skipped because PR #67 remains conflicted and merge_commit_sha=null. No exact candidate or immutable two-parent candidate checkout exists. Preserve OpenT3Code branding, MCode/DSH, protocol compatibility tags, the independent PR Vouch/security policy, GitHub-hosted CI and upstream-only EAS/release/deployment boundaries. Do not merge, deploy, or treat skipped or historical checks as passing the candidate.

Copy link
Copy Markdown
Owner

OpenT3Code upstream sync delta review — 2026-11-17 (immutable audit snapshot)

I re-ran the existing upstream-sync workflow 43844162566, attempt 2; no duplicate tracker or merge candidate was created. The audit independently captured:

  • Fork main: b6653f1f247344851eb99b71202353d5f2ce1a4a
  • Upstream main at capture: 4b758f49ec52ab58a0bd9647e28c9e2911945c88
  • Merge base: becf853defb6127dbe4447860383777d69346b6f
  • Upstream-only commits: 4,153; fork-only commits: 199
  • Complete upstream changed paths: 45,313; fork changed paths: 125
  • Overlapping paths: 78; textual conflicts: 39 (38 in the previous exact audit).

Immutable diagnostic artifact 14285432285, GitHub-reported artifact SHA-256 13e3bf6db42e1f1a1f15000a2805fd5c461717d948cb2c803a468d700bc1bfd9.

One newly conflicted path: apps/server/src/mcp/OrchestratorMcpService.ts. The fork's active delegated-task retry projection (taskProviderRetry, providerRetry, active turn-item loading, and terminal-state suppression) must not be lost while integrating upstream's expanded MCP delegation, remote task status, scheduling, provider/model discovery, and authorization semantics. A focused resolution should preserve the fork's retry visibility, avoid exposing stale/terminal retry state, and maintain correct local/remote task acknowledgement, idempotent replay, and runtime/interaction-mode ceilings. Add focused regression coverage for active-to-terminal retry transitions, remote task behavior, replay authorization, and the MCode/DSH preview integrations.

Separately, upstream PR #37822 is still open; its exact-head CI passed but its review has unresolved major security/correctness findings about stale parent-mode snapshots and cross-project retry races. It is not part of a separately authorized cherry-pick and must not be imported as an approved fix.

Gate: prepare and conflict diagnosis succeeded; validate and merge were skipped because there is no candidate merge SHA. PR #67 remains open and unmergeable. Prior main CI and same-tree checks are not candidate validation. No authorization to bypass fork-specific integrations, security restrictions, or repository protections.

Copy link
Copy Markdown
Owner

Upstream sync audit — immutable 2026-11-19 snapshot (not merge validation)

The conflict count increased from 39 to 40 while overlap remains 78 paths. The newly conflicting path is apps/server/src/orchestration-v2/ProviderTurnControlService.test.ts. Upstream now exercises steering a running turn with the thread's MCP app model context and uses updated projection/session mocks, while OpenT3Code adds ProviderRuntimeLifetime lifecycle setup to the historical session interruption test. Resolution must preserve the fork-specific lifetime invariant and the new upstream MCP app-context steering regression; update test fixtures for the current service interfaces rather than selecting either file wholesale.

The existing PR remains unmergeable. prepare and conflict diagnosis passed, but validate and merge were skipped because there is no merge candidate. No candidate SHA, immutable candidate parent pair, or candidate-specific complete CI is available. Do not treat the earlier successful main CI as evidence for this unvalidated upstream integration. Preserve the fork's brand, MCode/DSH adapters, PR gate, and deployment/release isolation when resolving the remaining conflicts. No merge or deployment is authorized on this evidence alone.

Copy link
Copy Markdown
Owner

OpenT3Code sync delta review — 2026-11-21 (immutable diagnostic snapshot, not merge validation)

The existing upstream-sync run 44717115785, attempt 2 was rerun without creating or reopening a tracker. Its read-only audit captured:

  • Fork main: b6653f1f247344851eb99b71202353d5f2ce1a4a
  • Upstream main at capture: 634ee43deb6d5fc0feae77153d33df1e97ffb303 (the live upstream branch may advance)
  • Merge base: becf853defb6127dbe4447860383777d69346b6f
  • Upstream-only commits: 4,872; fork-only commits: 199
  • Complete upstream changed paths: 46,062; fork changed paths: 125; overlapping paths: 79; text conflicts: 41, compared with 40 in the last reported audit.

Immutable diagnostic artifact 14683731058; GitHub-uploaded ZIP SHA-256: 096d560696956a1e0ee6308961c1a22990f77a0e48517d4bdb6107bedd256bcc.

New conflict: apps/server/src/provider/providerCompatibility.ts. The fork's version resolution deliberately excludes independently managed MCode/DSH previews and selects OpenCode/Pi policies using ORCHESTRATION_PROTOCOL_VERSION and explicit orchestrationProtocolVersion tags, not merely package semver. Upstream now adds per-policy versionPattern normalization and brokenRuntimeError to reject known broken runtimes. Integrate the upstream functionality without dropping the fork-specific protocol scoping and preview isolation. Update the manifest/policy tests for tagged OpenCode V1/V2, Pi, MCode/DSH, custom version formats, and broken-runtime rejection. Reconcile the version-normalization changes rather than selecting either file wholesale.

Upstream candidates to review when merged into upstream main, not to cherry-pick now:

  • #39529 at 784f6e29d0914b8d92f93b6385cd14cfe3702f96: protects T3's own state/secrets/SQLite from narrowly scoped filesystem:write in workspaces containing the state directory. The fork's current WorkspaceFileSystem.writeFile does not perform the corresponding internal-path rejection before directory creation/file open. Preserve read/write consistency and add negative-path regression coverage when integrating; do not claim an exploit was reproduced locally.
  • #40017 at 3c8496681faff89a631e62ddfdbdad4c2ee10d10: retains env_var authentication metadata in v1-shaped ACP initialize responses, including MiniMax Code MCODE_PROVIDER_API_KEY; its exact-head CI passed, but the PR remains open. Review against the fork's MCode preview auth boundary without claiming paid-account E2E validation.

PR #67 remains open and unmergeable. prepare and conflict inspection succeeded; validate and merge were skipped because no candidate exists. There is no immutable candidate SHA/two-parent pair or candidate-specific complete CI. No main update, deploy, release change, or upstream PR import is authorized by this diagnostic.

juliusmarminge and others added 14 commits November 21, 2026 11:02
…n character set (#40476)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…40490)

Co-authored-by: x0r <x0r@noreply.x0r.li>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…agent (#40496)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ettlement (#40489)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#40481)

Co-authored-by: Sean Kenneth Doherty <328402569+seankd3@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…entry separators (#40509)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…e separators (#40523)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
only21mil and others added 30 commits November 22, 2026 21:02
…41216)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ance (#41200)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…FDs) (#41228)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…uest regressions (#41159)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…er each request (#41238)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
… scrolls out (#41263)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Yukun Shan <92423096+nateEc@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…1256)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…story (#41264)

Co-authored-by: Cursor <cursoragent@cursor.com>
…26965)

Co-authored-by: jason chien <3936511+jason5545@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…24034)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
#41260)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ing reads (#41276)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ effective changed lines. vouch:unvouched New or unvouched contributor; contributions are welcome.

Projects

None yet

Development

Successfully merging this pull request may close these issues.