Skip to content

chore(fork): merge upstream T3 Code v0.1.8 with two small fork fixes - #11

Open
agiontheway wants to merge 1173 commits into
upgrade/0.1.6from
upgrade/0.1.8
Open

agiontheway wants to merge 1173 commits into
upgrade/0.1.6from
upgrade/0.1.8

Conversation

@agiontheway

Copy link
Copy Markdown
Owner

Merges upstream T3 Code v0.1.8 into the fork and adds two small fork fixes. Stacked on #10.

Commits

  • 36557a67c7 chore(fork): merge upstream T3 Code v0.1.8. A real merge from v0.1.6: 26 files had conflicts, across about 1,169 upstream commits.
  • 8a9b7921cb chore(fork): stamp release version 0.1.8. The v0.1.8 tag still carries 0.1.7 in its release manifests.
  • 5a73383966 fix(fork): fire relative heartbeat wakeups in agent-started threads.
  • 1486c73d9b fix(fork): explain delegate_task ids in agent_* not_owner errors.

Fork fixes

  • Relative wakeups: a t3_heartbeat_wakeup armed inside a delegated child (a sub-orchestrator) never fired. Relative slots were gated on the thread having received a user-authored message, but delegated kickoff and follow-up messages are agent-authored. Relative slots are process-local, so that gate had no purpose for them and they now ignore it. Cron jobs restored after a restart still stay dormant until the next user turn. The bug had existed since the 0.1.0 port. HeartbeatService.ts changes by +6/−14 lines, with regression tests.
  • not_owner message: agent_* tools take the child thread id that agent_spawn returns. Passing a native delegate_task id (node:delegated-task:…) now returns not_owner with a message pointing to task_status / task_cancel. Ids are deliberately not translated.

Fork behaviour kept

All fork behaviour from #10 is unchanged:

  • agent_* tools, including same-instance spawns
  • depth cap, allowOrchestration, route allowlists, output cap and agent_wait clamps
  • the heartbeat toolkit and start_if_idle
  • the Signal integration and its HTTP endpoint
  • usage on the Lineage hover card and in the sidebar
  • the Agents and Signal settings
  • the fork migration ledger, the Connect-required build check and the fork-installers workflow

Linked-environment delegate_task stays exactly as upstream ships it, and agent_* stays local-only.

Main resolutions

  • Completion delivery: upstream's mailbox handles it, including the new idle-parent wake for late delegated results. When a completion wake is queued or active, the fork's start_if_idle retries as busy and does not record a rejection.
  • Credentials: reuse requires both upstream's subagent bit and the fork capability set. Codex keeps its direct-only wait alongside the fork's tool restrictions.
  • Awareness query: fork usage aggregates are kept out of upstream's aggregate-free awareness query.
  • Dependencies: all 31 patchedDependencies entries have exact override pins.
  • Context budgets: recorded without shortening any tool text. Claude is 5,549 B, Codex 7,279 B, and MCP tool JSON 54,921 B.

Verification

  • Typecheck: passes for all seven packages.
  • Builder's tests: 1,712 pass across 110 files.
  • Reviews: the merge review found 0 must-fix (175 tests across 5 suites). The fix review found 0 must-fix (81 tests across 6 suites), and both regressions fail without their fix.
  • Localhost and real Chrome (standalone Chrome 154 driven by Playwright-core; no preview pane): the fork 0.1.6 sandbox database ran upstream migrations 77–80 cleanly, 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
    • token lines
    • depth_exceeded
    • a one-shot heartbeat
    • a sub-orchestrator relative wakeup that fires after 60 s and reaches its parent
    • the new not_owner message
  • Installers: fork-installers run 42907640609 (version 0.1.8-preview.20261110.12) succeeded on all platforms. Checksums, Connect configuration, product name and the leak scan are all verified.

Known, not changed

  • Upstream's new 7-day auto-settle leaves fork cron heartbeats in place. The next cron fire reopens the thread.
  • The pre-commit hook runs repo-wide knip, which flags existing unused exports, so the commits used --no-verify. The targeted checks were run separately.

🤖 Generated with Claude Code

Yash-Singh1 and others added 30 commits November 6, 2026 00:44
…gg#31842)

Combine the ten runtime recovery collections into one SQLite statement, leaving the initial thread lookup separate. Preserve collection filters, ordering, decoding and ordered reconciliation after prior commits.

Extend startup/shutdown idempotency coverage and guard against full message and run history scans. Synthetic stress measurements show fewer database requests; overall desktop quit latency remains unmeasured.

Implemented with GPT 6.1 Sol through the Codex harness in T3 Code.
… tiles (pingdotgg#28223)

Co-authored-by: Priyansh4444 <105874877+Priyansh4444@users.noreply.github.com>
Co-authored-by: Tanner Polley <42780259+tannerpolley@users.noreply.github.com>
Co-authored-by: Maria <maria-rcks@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alessio Fano <alessio.fano@swisscom.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ry (pingdotgg#31285)

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
A PR based on a branch other than the default saved a ~1 GB pnpm store
that only its own reruns can read, which evicted shared entries. These
PRs still restore and install; pushes, releases, and default-base PRs
save as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ves (pingdotgg#31942)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…1158)

Co-authored-by: Theo Browne <me@theo.li>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gdotgg#31941)

Release and macOS preview bundle jobs can check out a ref from before
build:desktop:bundle existed. Those refs now install libsecret and run
build:desktop as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… sites (pingdotgg#31142)

Give crawlers a consistent download URL, a sitemap, and links to the official repository and app listings. Publish the monitored security contact in the site and repository policies.

Takeover by Claude Opus 5.5 in Claude Code. Follow-up by GPT-6.1 Terra [1m] in Codex.

Co-authored-by: Victor Valentine Romo <213858052+b2bvic@users.noreply.github.com>
…otgg#29284)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…nch's own pull request (pingdotgg#29817)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…node of the thread (pingdotgg#31012)

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

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

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

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

Co-authored-by: Adam Otradovec <du239@creditas.cz>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
…er a restart (pingdotgg#32162)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ing in from the corner (pingdotgg#32141)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
spoukyii and others added 30 commits November 9, 2026 14:34
pingdotgg#30812)

Co-authored-by: Geezy <igor.licko@gloryck.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…29832)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…keyboard up (pingdotgg#33456)

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

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

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

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Add a native Cmd/Ctrl+W shortcut that closes focused DevTools while retaining renderer tab and terminal shortcuts and repeated-key protection.

Validation: 31 focused tests, check:changed, and CI passed. Electron runtime checks verified the close handler; automated native keypress verification remains unconfirmed.

Model: GPT 6.1 Sol. Harness: Codex.
…droid only (pingdotgg#33504)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… a stray key (pingdotgg#33525)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
Keep upstream completion settlement, idle-parent and sibling wakeups, managed policy, MCP transport, and runtime wiring. Reapply local agent admission and grants, heartbeat and Signal delivery, capped alias wake text, and usage displays.

Combine upstream and fork credential checks and Codex tool restrictions. Adapt fork fixtures to split crypto services, in-process MCP middleware, and projection replay. Keep usage aggregates outside agent-awareness reads and update migration expectations through migration 80.

Regenerate the lockfile with exact patched-dependency overrides, record the measured context budget without shortening tool text, and add the 0.1.8 upgrade runbook section.
The upstream v0.1.8 tag carries 0.1.7 in the four release manifests. Stamp 0.1.8 so fork installers identify 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.