Skip to content

chore(fork): merge upstream T3 Code v0.1.6 - #10

Open
agiontheway wants to merge 3073 commits into
fork/same-instance-agent-spawnfrom
upgrade/0.1.6
Open

agiontheway wants to merge 3073 commits into
fork/same-instance-agent-spawnfrom
upgrade/0.1.6

Conversation

@agiontheway

Copy link
Copy Markdown
Owner

Merges upstream T3 Code v0.1.6 into the fork. Stacked on #9 (which is stacked on #8).

What this is

  • 6b754c582d chore(fork): merge upstream T3 Code v0.1.6. A real merge: v0.1.0 is an ancestor of v0.1.6, so this is the first fork upgrade that does not re-apply the fork delta by hand. 49 files had conflicts (106 hunks).
  • 73c3eb40ea chore(fork): stamp release version 0.1.6. The v0.1.6 tag still carries 0.1.5 in the release manifests, because upstream sets versions in its release workflow.

Fork behaviour kept

  • agent_* cross-provider agent tools, including same-instance spawns (feat(fork): allow agent_spawn to target the caller's own provider instance #9).
  • Depth cap, allowOrchestration, route allowlists, output cap and agent_wait clamps.
  • Heartbeat toolkit and start_if_idle.
  • Signal integration and its environment HTTP endpoint.
  • Delegated-task usage on the Lineage hover card, and the sidebar usage line, which moved with upstream's extracted row file.
  • Settings → Integrations → Agents and Signal sections.
  • The fork migration ledger, the Connect-required build check and the fork-installers workflow.

Main resolutions

  • Upstream mechanics kept: reworked completion delivery and acknowledgement, secret requests and remote delegation. The fork's local admission (DelegationPolicy), wake text and usage refresh are re-applied on top.
  • Credentials: credential reuse now requires both upstream's subagent bit and the fork capability set to match.
  • Projection store: upstream removed layerMemory, so the fork's in-memory additions went with it. The SQL usage projections and countThreadNodes are kept.
  • Dependencies: taken from upstream, which now pins patched dependencies itself. All 33 patchedDependencies entries have exact override pins.
  • Remote delegation: delegate_task to a linked environment (upstream feat(server): delegate_task to a linked environment pingdotgg/t3code#16719, a Labs toggle that is off by default) is left exactly as upstream ships it. It does not pass through the fork's depth or allowlist gates, and agent_* stays local-only. This was a deliberate choice for this round.
  • MCP schema budget: measured at 52,797 bytes (was 46,109), so the recorded budget was updated. No tool descriptions were shortened.

Verification

  • Typecheck: passes for server, contracts, shared, client-runtime, web, desktop and scripts.
  • Builder's tests: 1,602 pass, 1 fails. The failure is a Windows cross-arch desktop-build test that fails the same way on plain v0.1.6.
  • Independent review: 0 must-fix findings, and 215 tests across 13 suites pass. It accounted for every changed // fork: marker; the fork's own comment lines are unchanged at 126.
  • Localhost and real Chrome: a 0.1.0 fork sandbox database ran upstream migrations 63–76 without error, and old threads open. Checked in the browser:
    • the Agents, Signal and Labs settings
    • Claude→Claude, Codex→Codex and Claude→Codex spawns
    • talking to a child directly
    • Lineage and sidebar token lines
    • depth_exceeded at max depth 1
    • a one-shot heartbeat firing
  • Installers: fork-installers run 41389383735 (version 0.1.6-preview.20261102.11) built the macOS arm64 and x64 dmg and the Linux deb and AppImage. Checksums, embedded Connect configuration and product name are verified, and the leak scan is clean.

Known, not changed

  • Messaging a finished delegated child directly creates upstream's follow-up task on the parent, so the parent receives that reply under a new task id. This is unchanged since v0.1.0.
  • New upstream lint rules flag 32 retained fork constructs. Lint is not part of the installer workflow.

🤖 Generated with Claude Code

PixPMusic and others added 30 commits October 30, 2026 21:04
…gg#24193)

Co-authored-by: eboye <624357+eboye@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…d queue send (pingdotgg#24248)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…link as a change (pingdotgg#24358)

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…g#24402)

Co-authored-by: Zayd <iam@zayd.wtf>
Co-authored-by: maria-rcks <maria@kuuro.net>
…ks (pingdotgg#24434)

Co-authored-by: Zayd <iam@zayd.wtf>
Co-authored-by: maria-rcks <maria@kuuro.net>
…ced (pingdotgg#24480)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…ed (pingdotgg#24488)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ree (pingdotgg#24489)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…an (pingdotgg#24713)

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

Co-authored-by: chief-archivist <thecradlearchives@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…#25014)

Co-authored-by: tsukaska <16710830+tsukaska@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…dotgg#25030)

Co-authored-by: Dara Adedeji <76637177+SunkenInTime@users.noreply.github.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…25052)

Co-authored-by: Aditya Garud <153842990+yashranaway@users.noreply.github.com>
…g#25131)

Co-authored-by: Aatman Jain <lives@MacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…ngdotgg#25197)

Co-authored-by: oliver <97427849+flamboh@users.noreply.github.com>
Co-authored-by: Yukun Shan <92423096+nateEc@users.noreply.github.com>
)

Co-authored-by: Yukun Shan <92423096+nateEc@users.noreply.github.com>
…g#25236)

Co-authored-by: Alex Southwell <4596216+saphid@users.noreply.github.com>
only21mil and others added 29 commits October 31, 2026 08:44
…otgg#24928)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…gdotgg#24982)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…otgg#27016)

Co-authored-by: tsmith165 <16846767+tsmith165@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…ingdotgg#25240)

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
…oid (pingdotgg#23748)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…r ticks (pingdotgg#22116)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
…6798)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ject option appears (pingdotgg#23391)

Co-authored-by: jdlar18 <215521440+jdlar18@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…tgg#24744)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
…ingdotgg#24689)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
… of asking to install it (pingdotgg#21606)

Co-authored-by: maria-rcks <maria@kuuro.net>
…otgg#25200)

Co-authored-by: Aditya Garud <153842990+yashranaway@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…28057)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…otgg#26633)

Co-authored-by: PR Batch Tester <agent@local.test>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ck (pingdotgg#24688)

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>
…ow (pingdotgg#28076)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Keep upstream remote delegation, completion acknowledgement, secret requests and settlement mechanics. Restore local admission, alias completion caps, usage refresh and start-if-idle admission.

Combine subagent credential identity with fork capabilities. Move sidebar telemetry with the extracted row and retain Agents and Signal in the upstream settings layout.

Use the SQL projection store, retain the fork migration ledger and installer checks, regenerate the lockfile with exact patched-dependency pins, and relocate fork coverage from deleted suites. Record the measured MCP schema budget without shortening tool descriptions.
The v0.1.6 tag still carries 0.1.5 in the release package manifests because upstream stamps versions in its release workflow. Set 0.1.6 so fork installer builds carry the upstream release they are based on.

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.