Skip to content

Merge upstream v0.1.11 into t4 (AI-126) - #24

Merged
Supermaxman merged 2576 commits into
t4from
ai-126-upstream-v0-1-11
Nov 21, 2026
Merged

Supermaxman merged 2576 commits into
t4from
ai-126-upstream-v0-1-11

Conversation

@Supermaxman

@Supermaxman Supermaxman commented Nov 21, 2026 •

Copy link
Copy Markdown

Merges upstream T3 Code release v0.1.11 (v0.1.10 + v0.1.11, 2,567 commits past v0.1.9) into the fork. Upstream's value for t4: long threads open ~10x faster, sends read ~5x less history, turn start no longer scans the thread, restart recovery skips idle threads, slow SQLite writes no longer freeze the server, failed Claude wakes no longer drop later wakes, background tasks survive settings changes and failed turns, Codex stops forcing detailed reasoning summaries, Claude MCP registration timeouts fixed.

48 files conflicted (103 hunks).

Where upstream now does what the fork did, upstream's version is kept and the fork's copy is dropped:

t4 behaviour kept over upstream's:

  • Upstream's Issues toolkit is not registered. Its link_issue/unlink_issue/list_thread_issues clash by name with t4's ownership tools, and its tracker tools need a token t4 never connects.
  • pull_request_merge is refused for anyone but the project's release manager.
  • t3_thread_launch with an existing branch gets a -<4 hex> suffix (upstream refuses, fix(server): t3_thread_launch refuses an explicit branch that already exists pingdotgg/t3code#31279).
  • Secret cards don't wait and outlive their run. Compact thread and scheduled-task rows. Wakes. Per-repo worktree lock and flat issue-id paths, now on top of upstream's sparse-checkout createWorktree. Fair SQLite lock on upstream's writer worker and reader admission. Claude accounts and limit carry-over.
  • t3_handoff, watch_workflow_run and release_queue are hidden from outside clients (upstream now requires that of tools acting as the calling thread). send_to_user joins the always-loaded tools.

Also merged: AI-124's a8c8be81f1 and AI-125 #20-#23 (on top of upstream: Monitors are already awaited upstream; checks and tests now are too).

Checks: typecheck clean (server, web, mobile, contracts, shared, source-control-github). Targeted tests pass: 127 server test files (t4, MCP, recovery, adapters, projection, scheduled tasks, git driver), plus shared, source-control-github and web scheduled tasks. Lint and format are clean on the 164 fork-changed files. The agent context budget is re-measured: tool list 67.2 KB (was 60.6 KB).

Dry run of this image on a read-only copy of usa-rs's database (8.5 GB): t3 doctor --fix 1 s, 21 migrations (082-102) 15 s, serving 18 s after start.

Claude Opus 5.5 via Claude Code (T3)

shethshlok and others added 30 commits November 19, 2026 02:59
…d of the portable archive (pingdotgg#35268)

Co-authored-by: Felix Mrak <180021770+felixleopold@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…g#27896)

Co-authored-by: Omar <76748259+omar9848492@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tgg#38837)

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

Co-authored-by: user <user@qubes-os.org>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…9239)

Co-authored-by: GPT-6.1 Sol at high effort <noreply@openai.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 at medium effort, merge integration <noreply@anthropic.com>
…gg#32213)

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

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
…rough MCP tools (pingdotgg#26751)

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

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

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

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
pingdotgg#38980)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…laced (pingdotgg#38978)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…th (pingdotgg#24683)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ished states (pingdotgg#38986)

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

Co-authored-by: DominikScholz <12826585+DominikScholz@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ady loaded (pingdotgg#39000)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ails (pingdotgg#38995)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
juliusmarminge and others added 20 commits November 19, 2026 19:46
…erseded ones (pingdotgg#39502)

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

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ents that failed (pingdotgg#39536)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
48 conflicting files. Upstream overlaps taken where it now covers fork code:
worker-thread process launches (pingdotgg#30209) replace the spawn broker; the
non-git launch refusal (pingdotgg#34279); Claude steer tracking (pingdotgg#39018/pingdotgg#38831),
keeping only t4's re-send after Stop (T4UnreadSteerReactor); the PR sweep
interval (discovery stays off on t4 clients).

Kept t4's: secret cards that wait on the user, compact thread rows, wakes,
issue ownership tools (upstream's Issues toolkit is not registered),
existing-branch launches get a -<4 hex> suffix, per-repo worktree creation
lock and flat issue-id paths, Claude accounts and limit carry-over.
pull_request_merge is refused for anyone but the release manager.
…rk (AI-126)

- Restart re-send: upstream resends unstarted agent messages and wakes with its
  stop/snooze/crash-loop guards; t4 only adds its own system notices to that list.
- Commands of a run whose runtime restarted: upstream pingdotgg#37325 ends them; AI-73's copy goes.
- t3_handoff, watch_workflow_run and release_queue are hidden from outside clients
  (upstream now requires it of tools that act as the calling thread).
- Tests follow t4's own defaults (50 x 1,500-char reads, secret cards that don't wait,
  existing branches get a suffix); agentContextBudget.json set to the measured size.
Upstream's new rules on fork code: cron labels and the copy block's button are
translated (catalogs regenerated), long comments trimmed, unused secret-wait
constants removed.
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. labels Nov 21, 2026
@Supermaxman Supermaxman added the agent-context-increase Accept a larger agent context label Nov 21, 2026
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

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 ✅

Baseline: unavailable · PR result: c58ecce · 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.

@Supermaxman
Supermaxman merged commit b3ea763 into t4 Nov 21, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-context-increase Accept a larger agent context 📱 Native Change Changes the native fingerprint; merging blocks production OTAs until a new store build ships. size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.