customized is this fork's branch and upstream is pingdotgg/t3code. The difference
is not a patch file: an agent merges upstream/main and has to keep the intent below,
so this page is the inventory a merge resolves against. Keep it current when the fork
gains or drops a change — a merge that cannot find a change here treats it as upstream's
and can drop it.
- The Sparrow provider (
packages/provider-sparrow), a full ACP provider with its driver, adapter, skills, status probe, settings and client entry. Upstream has no such provider, so every file under it is ours. - Fork releases (
.github/workflows/fork-release.yml), dispatch-only, taggingv<manifest version>-fork.<n>from the manifests plus this fork's tags. It never runs on push and never writes a version into a tracked file. The Android APK takes the release version as itsversionNameand its fork tag count asversionCode, so it is told apart on the device and installs over the previous build. t3 updatereads this fork's releases:packages/shared/src/cliRelease.tspointsCLI_RELEASE_REPOSITORYat657kbps/t3code, andapps/server/src/cli/update.test.tsasserts the same URL.- Mobile APK updates (
apps/mobile/src/features/updates/): Android builds made byfork-release.ymlcheck this fork's releases from Settings → About → Updates, downloadT3-Code-<version>-arm64-v8a.apk, and open the Android installer. The workflow setsT3CODE_MOBILE_APK_UPDATES=1, which addsREQUEST_INSTALL_PACKAGESand the About section; store builds keep both out.
A fix here exists only until upstream lands its own. When a sync finds upstream's fix, take upstream's code for the whole change and delete the fork's version and this entry; never re-apply the fork's code on top of it. If upstream has no fix yet, keep this one.
- Stopping the macOS launch agent — upstream
#11995, fix
PR #26088. macOS 15 rejects
launchctl bootout --waitwith a usage error (exit 64) and stops nothing, so the old job kept the label and the followingbootstrapfailed with EIO (exit 5);t3 update,t3 service installandt3 service restartall failed and left the old service running.apps/server/src/cloud/bootService.tsboots the agent out with a plainlaunchctl bootoutand pollslaunchctl printuntil the label is gone, within the stop timeout. The launchd tests inapps/server/src/cloud/bootService.test.tsmodel those exit codes. When upstream merges its fix, take upstream'sbootService.tsand tests.
Registering a provider touches shared files, so a sync conflicts there. Each seam keeps upstream's shape and the fork's behavior:
- Contracts —
packages/contracts/src/{providerPolicy,model,settings,server,managedPolicy,auth}.tscarry the Sparrow provider id, its model options and its managed-policy plumbing. - Server provider plumbing —
apps/server/src/provider/{builtInDrivers,providerStatusCache,settingsSecrets}.ts,model-manifest.json, and the driver registration the provider needs.agentContextBudget.jsonis not hand-edited:apps/server/src/provider/AgentContextBudget.test.tsmeasures it, so a merge writes the values that test reports. - Policy and runtime modes —
apps/server/src/policy/{managedProviders,managedSettings}.tsandapps/server/src/orchestration-v2/RuntimePolicy.ts(with the Claude and Codex adapters beside it) map the fork's runtime modes onto the provider. - MCP surface —
apps/server/src/mcp/{McpInvocationContext,delegatedTaskModes}.tsandmcp/toolkits/project/handlers.tsexpose it to delegated tasks. - ACP policy reuse —
packages/provider-acp/src/server/clientPolicy.tsexports and renames the policy helpers so Sparrow can reuse them instead of copying them. - Clients —
packages/client-runtime/src/{contractLabels,providerClients}.ts, the web composer and settings screens underapps/web/src/components/{chat,settings,auth}, and the mobile thread and settings screens withapps/mobile/src/lib/modelOptions.ts. - Translations —
apps/{web,mobile}/src/i18n/translations/*.json. Both sides' keys stay; where both changed one key, this fork's text wins. - Workspace wiring — the
packages/provider-sparrowentries inpackage.json,apps/server/package.json,packages/client-runtime/package.jsonandpnpm-lock.yaml. A lockfile conflict takes upstream's file, thenvp irelinks the fork's package. A merge that resolved the lockfile by itself can still leave pnpm's "Broken lockfile" error; it takes the same recovery. - Workflows —
customizedkeeps upstream's.github/workflows/*.ymlso a sync merges them instead of reporting a modify/delete conflict for each one. They are disabled through the GitHub API, not deleted; only.github/workflows/fork-release.ymlstays enabled. A workflow upstream adds arrives active, so disable it after the sync.
scripts/notify-discord-release.{ts,test.ts}, which upstream keeps and this fork does not run.
main stays an exact mirror of upstream/main and never carries a commit of ours, so
pushing it is a fast-forward. GitHub runs a push's workflows from the pushed tree, so the
upstream workflows are switched off through the API before any push and any run that
started anyway is cancelled. They exist on both branches, so a sync only needs to disable
a workflow upstream newly adds. gh resolves this repository to its parent, so every
call passes -R 657kbps/t3code. Fork release is the one workflow that stays enabled;
check that it still is after the sweep, since a disabled one cannot be dispatched.
Every step of a sync runs inside this checkout and needs no wider sandbox: the pnpm
store lives at node_modules/.pnpm-store, and gh and git only read ~/.config and
~/.ssh, which the sandbox already allows. A step that would have to write outside the
checkout is one to leave for a human rather than a reason to widen the sandbox.