GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(sync): merge pingdotgg/t3code main and new adopted heads by Yarden-zamir · Pull Request #361 · Yarden-zamir/t3code

Conversation

@Yarden-zamir

@Yarden-zamir Yarden-zamir commented Oct 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

Cause

Fork Sync run 40262460560 stopped on merge conflicts in 16 files.

  • The batch has 61 upstream commits. About 40 of them turn lint and Effect diagnostic rules on or off.
  • The rest: terminal sessions keep one driver per mode (refactor(client): terminal sessions keep one driver per mode pingdotgg/t3code#25186), the mobile terminal lifecycle moves into a session store (refactor(mobile): terminal lifecycle runs in a session store, not screen effects pingdotgg/t3code#25071), the mobile thread detail and feed reset by key (refactor(mobile): thread detail and feed reset by key and share one follow owner pingdotgg/t3code#25148), and cloud account transitions move into a shared service (refactor(mobile): cloud account transitions run in the shared account service pingdotgg/t3code#25150). Upstream also refactored the browser panel and preview sessions (refactor(web): browser panel tabs follow preview sessions without ChatView effects pingdotgg/t3code#25006, refactor(web): preview tab sync subscribes to the preview store instead of its own listener sets pingdotgg/t3code#25196, fix(desktop): hidden preview tabs throttle instead of running at full speed pingdotgg/t3code#25184), added previews for more file types, and turned the working section on by default (feat(sidebar): working section is on by default pingdotgg/t3code#25190).
  • After the upstream merge, all 7 adopted upstream pull requests had new heads, rebased onto newer upstream.

Conflicts and resolution

18 hunks in 15 files:

  • appInit.tsx: the fork theme fonts, plus upstream's new startAgentOpenedPreviews.
  • CommandPalette.tsx: the fork guard (find does nothing in a terminal thread), plus upstream's thread key check.
  • ThreadNotificationCoordinator.tsx, ServerBrowser.ts: imports from both sides. ServerBrowser.test.ts: both tests.
  • StorageSettings.tsx: the fork reclamation summary with upstream's nowMs.
  • client-runtime/state/terminal.ts: the fork resumable attachStream, inside upstream's new atoms object.
  • projectScriptEditor.tsx: upstream now remounts the form per request and starts each field from request.initial. The fork fields (global, preview overlay, run in background, global shortcut) do the same.
  • ProjectSetupScriptRunner.ts: upstream's simpler stripTerminalControl, still exported for the fork terminal provider.
  • DesktopBrowserHost.ts: upstream's dropRelay(tab), then the fork presentation replay.
  • Mobile:
    • CloudAuthProvider.tsx: took upstream's cloud account service. It attaches once and has no unmount teardown. So the fork mounted-bridge counter, which kept the Android assistant panel from ending the app's session, is no longer needed.
    • ThreadFeed.tsx: upstream's render-time jump to a message, plus the fork message link target and its note.
    • ThreadDetailScreen.tsx, ThreadTerminalRouteScreen.tsx, ConnectionsNewRouteScreen.tsx: the fork imports with upstream's.
  • pnpm-lock.yaml: rebuilt with lockfile.py. The added integrity lines equal upstream's. Upstream also dropped 12 packages that fork dependencies still use, so they stay at their old integrity.

Adopted upstream pull requests

Each new head is a rebase onto newer upstream with lint and API fixes. Compared with git range-diff, they bring no new behavior. They are merged with merge commits, and mergedHead follows:

Pull request New head
pingdotgg#16653 /mcp narrows a client's modes 56f88be
pingdotgg#16654 t3_thread_launch takes clientRequestId 8a5f64e
pingdotgg#16655 link to another environment 25835af
pingdotgg#16684 agents use linked environments through any T3 tool 7c2dfcb
pingdotgg#16695 work a linked environment starts stays within its link 47ede02
pingdotgg#16698 linked environments in Connections ab3252d
pingdotgg#16719 delegate_task to a linked environment 8674123
  • The fork kept its own side where it adapts the adopted code: machine-map links, fork test files, and the tool text from earlier syncs.
  • Adopted files that the fork does not change take the new head's version, with its fixes (decodeEffect, asSome, dropped unused parameters, readOnly reads).
  • Migration rule: the heads renumber their migrations to 070_PeerLinks and 071_PeerLinkFence. Fork main still registers neither.
  • The heads' test additions are left out where the fork keeps the same tests in its own *.fork.test.ts files, or where upstream deleted the test.

Fork fixes

  • Fork right panel (useThreadRightPanel.tsx): it still passed three inputs that upstream's useAgentOpenedPreviews dropped. It also repeated two effects that upstream moved into followPreviewSessions. Both are removed, as upstream did in ChatView.

  • useRelativeTimeTick was removed upstream: ForkChangelogDialog and LinkedEnvironmentsSettings now use useNowMinute.

  • New lint and Effect rules in fork code:

    • succeedSome/succeedNone, orElseSucceed and forEach.
    • Unused imports and variables are gone. DocumentText is provided in the fork test layers that now need it.
    • Array index keys:
      • The machine map process table now has a real key.
      • Lists with no identity keep their index key, with a stated reason: slot layout rows, chart segments, and change lists that never reorder.
  • Upstream's new file preview browser test (AttachmentFilePreview.browser.test.tsx, 130 tests):

    • It failed in Fork CI: 7 tests ran past their 15-second limit or the 1-second vi.waitFor default.
    • Upstream runs it on 8-vCPU Blacksmith runners: 96 seconds for this file, 107 seconds for the whole web suite. Fork CI uses the standard 4-vCPU ubuntu-24.04 runner, which took about 6 minutes for the suite.
    • Pure upstream fails the same way on the VPS. The fork does not change the preview code.
    • Fork runs now skip this one file through apps/web/src/forkExcludedUpstreamTests.ts, as the server list already does for its tests. The entry names its reason and when to remove it. docs/fork/operations.md says so.
    • Owner decision: a larger runner for Fork CI's Test Web job would bring these tests back.

Upstream changes in fork areas

83 files changed on both sides. A review of the behavior changes found the right panel fix above. Checked and fine:

  • Mobile terminal threads: they still start, attach and redirect with upstream's session store, including pending launches and read-only terminals.
  • Mobile message links, read-aloud and outbox: still wired.
  • Assistant panel: it keeps the app's cloud session.
  • Browser capture: the fork capture sits next to upstream's new hidden-tab painting. Both take counted surface activity.
  • Fork settings panels: the fork slots and additions are intact.
  • Working section on by default: fork code follows the new default.

Checks

  • checks.py: typecheck, migration check, adopted pull request check, format and lint on all fork files pass.
  • fork_tests.py: 176 fork test files pass locally (117 root and 59 web).
  • Server: the touched server tests pass (80 tests). The other apps/server fork test files are left to Fork CI.

Fork repair skill changes

  • lockfile.py accepts a rebuild that keeps packages upstream dropped, when fork dependencies still use them. It names how many stay. Tested in test_scripts.py.
  • SKILL.md: compare a new adopted head with git range-diff, and take the head's version of adopted files that the fork does not change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
flamboh and others added 30 commits October 25, 2026 18:10
@flamboh
feat(mobile): composer placeholder reads "Ask anything" (pingdotgg#25176
0bf4d16
)
@juliusmarminge @claude
refactor(mobile): shared AppState, reduce-motion and back-button help…
c8c6deb
…ers (pingdotgg#25011)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(web): settings panels derive state instead of syncing it with eff…
e14d08c
…ects (pingdotgg#25070)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
refactor(mobile): terminal lifecycle runs in a session store, not scr…
5786e12
…een effects (pingdotgg#25071)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
refactor(web): branch toolbar and dialogs stop syncing through effects (
9f7b8ad
pingdotgg#25072)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
refactor(web): thread find state lives in one store instead of event …
f16ae12
…buses and mirrors (pingdotgg#25073)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
refactor(web): browser panel tabs follow preview sessions without Cha…
9296c20
…tView effects (pingdotgg#25006)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge
chore(lint): enforce effectSucceedWithVoid (pingdotgg#25074)
11bd26e
@juliusmarminge
chore(lint): enforce preferSucceedSomeOrNone (pingdotgg#25080)
9c02109
@juliusmarminge
chore(lint): enforce unnecessaryFailYieldableError (pingdotgg#25083)
312a12d
@juliusmarminge
chore(lint): enforce catchToOrElseSucceed (pingdotgg#25084)
9ae08d5
@juliusmarminge
chore(lint): enforce allOfMapToForEach (pingdotgg#25085)
16573c4
@juliusmarminge
chore(lint): enforce unnecessaryEffectGen (pingdotgg#25086)
ef005d6
@juliusmarminge
chore(lint): enforce catchToIgnore (pingdotgg#25087)
f4ba6ae
@juliusmarminge
chore(lint): enforce optionMatchToFromOption (pingdotgg#25088)
f5ad87d
@juliusmarminge
chore(lint): enforce redundantMapError (pingdotgg#25091)
a0f3606
@juliusmarminge
chore(lint): enforce raceFirstWithSleepToTimeout (pingdotgg#25092)
269deb8
@juliusmarminge
chore(lint): enforce catchUnfailableEffect (pingdotgg#25093)
686e394
@juliusmarminge
chore(lint): enforce preferTypedSchemaDecoder (pingdotgg#25094)
a8b692b
@juliusmarminge
chore(lint): enforce schemaStructWithTag (pingdotgg#25095)
c4dbf19
@juliusmarminge
chore(lint): enforce tryCatchInEffectGen (pingdotgg#25097)
a0b246d
@juliusmarminge
chore(lint): enforce eslint/no-unused-vars (pingdotgg#25100)
a320762
@juliusmarminge
chore(lint): enforce unicorn/no-useless-spread (pingdotgg#25104)
6f21f01
@juliusmarminge
chore(lint): enforce eslint/no-new (pingdotgg#25107)
3a1b3a7
@juliusmarminge @claude
fix(web): theme editor returns to its spot after the window shrinks a…
4e43779
…nd grows back (pingdotgg#25076)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
refactor(mobile): cloud account transitions run in the shared account…
06e80ac
… service (pingdotgg#25150)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
refactor(client): drop the VCS wake and dispatcher element scope opti…
7a95549
…ons nobody uses (pingdotgg#25152)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
feat(mobile): mobile:install --session installs into an agent-device …
d9abfdd
…session

For devices opened elsewhere (a device pool, cloud, or remote host), install
the cached dev client for this checkout's fingerprint through the caller's
agent-device session, from the caller's workspace (agent-device scopes
session ownership to it). It never builds; without a shared build it names
the next step. --abi picks the Android build, --metro opens it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@maria-rcks
fix(server): make document attachments readable to agents (pingdotgg#…
888a3d4
…21458)
@juliusmarminge @claude
fix(mobile): native client fingerprints match across macOS and Linux
e856833
Generated android/ios projects and the Expo config's extra section (env-
specific values a dev client reads from Metro) changed the hash per machine,
so a Linux VM never found a Mac's build in the shared cache.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
juliusmarminge and others added 26 commits October 25, 2026 19:53
@juliusmarminge @claude
feat(server): a full-access link is not fenced
47ede02
A link's agents run as the receiving environment's user, so at full access
the fence only ever stopped T3's own tools, never what the agent could do.
It also kept a host from driving machines it fully trusts: answering a
pending question or steering a thread the user started there, updating a
project, or running the project's setup script in a worktree it launched.

The stamp now records the access the link was paired with, and only a link
below full access is fenced. Its work still carries linkOrigin, so clients
keep showing where it came from. Stamps from before access was recorded stay
fenced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
feat(server): delegate_task to a linked environment
df0f50b
delegate_task takes target.environmentId (and optionally target.projectId).
The child then runs as an ordinary thread in the linked environment,
launched through the link with a key derived from the caller's
clientRequestId, in the project there with this thread's repository unless
one is named.

The parent here records the task with delegated_task.remote.request: its
node, subagent row and turn item, with remoteChild instead of a local child
thread. RemoteDelegation follows the thread there and completes the task
with delegated_task.remote.complete, which reuses the parent half of a local
finalize, so the parent wakes as it would for a local child. Open remote
tasks are followed again at startup. A revoked or expired link fails the
task with that reason; any other error backs off, up to five minutes.

task_status and mode=wait answer from the row, task_cancel interrupts the
thread there and completes the task as cancelled, and restart recovery no
longer treats a remote task as abandoned provider work.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@Lenoridev @juliusmarminge
fix(server): report the failed remote run's provider error
d0888a1
Read failed-run activity and prefer that run's error over an earlier assistant
reply. Keep successful replies unchanged and retrieve long errors in full
without taking diagnostics from a later run.

Add failed-run, pagination, run-isolation and successful-recovery regressions
for the existing review on pingdotgg#16719.

Implemented with GPT-6.1-Sol through Codex in T3 Code on behalf of Lenoridev.
@juliusmarminge
test(client-runtime): exercise permitted peer link lifecycle
370c4c7
@juliusmarminge @claude
fix(server): a remote task waits for its thread's delegated work
ef771ab
When the task's run on the linked environment ended, the follower completed
the task with that run's reply, even while the thread there still waited on
its own subagents, background tasks or a completion delivery that would wake
it for the real answer. A local task waits for that work and takes its
result from the run that answered after it.

t3_thread_wait takes an optional untilDelegatedWorkSettled. With it, the wait
also blocks until delegatedTaskProgress reports result_available for the
thread, waking on task, provider-thread and run updates, and reports that
result run as resultRun. The follower passes it and reads the result from
resultRun. Both fields are optional: an older peer ignores the input and
answers as before, and the follower then falls back to the launched run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge
fix(connections): reset pairing forms and refresh mobile link status
ab3252d
@juliusmarminge @claude
fix(server): stopping a parent stops a finished remote task's thread …
5a124a9
…there

Stop on a parent skipped a remote task that already had its result, so
follow-up work on its thread in the linked environment (a message sent
there with t3_thread_send, or a run that started after the result) kept
running. A local child is stopped on every Stop, result or not, and
cancelling a finished remote task already stops its thread there.

Stop now records the owed stop with an internal
delegated_task.remote.stop command: it sets remoteChild.stoppedThere to
false and counts the stop, leaving the status, result and completion
delivery alone. The follower, restarted from the live event tail or by
the startup scan, sends that stop under a key per count and records it
as "stopped"; a "ran-out" report never clears it. One follower runs per
task, and a request while it runs makes it look once more.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Lenoridev @juliusmarminge
fix(server): acknowledge only the matching remote stop generation
4ba7042
@juliusmarminge @claude
fix(server): a remote task refuses worktree isolation, and its failur…
8ea91ab
…es keep the cause

delegate_task with environmentId launched in the linked project's checkout even when
isolation "worktree" was asked for. A worktree there would branch from a commit this
checkout has and the other may not, so the call is refused before launching, pointing
at t3_thread_launch with a worktree workspaceStrategy.

Recording the task or its cancellation no longer builds the caller's message from the
dispatch error; the cause goes to the log and the caller gets a fixed message.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(web,mobile): a task a linked environment runs shows under its parent
49e1c91
delegate_task to a linked environment launches an ordinary thread there,
marked delegatedFrom, so a client connected to both machines listed it in
the sidebar as well as in the parent's lineage panel. Its approvals and
questions also never reached the parent here.

Lists now treat such a thread as a subagent when the client also lists
the thread that delegated it: the web sidebar and its project ordering,
mobile's thread lists, and notifications leave it out. A parent here is
flagged, and shows the "subagent needs input" banner, when the task or
one of its own subagents there asks. A task whose parent the client
cannot list (that machine switched off, or the parent gone) stays listed
on its own, so its work is never out of reach.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): a remote task with no project there says how to bring one
69183bc
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): remote task followers read only their own task
8674123
RemoteDelegation.start resumes every open remote task at once, and each
follower read its parent's whole subagent list to find one task, then held
it across a wait of up to ten minutes. A parent with 1,441 tasks (35 MB of
payload) and 122 open ones made every restart decode ~170k records and hold
8 GB, so the server ran out of heap seconds after starting and crash-looped.

getThreadRecords now takes a subagentIds filter. Followers, and task_status
waits that re-read on every parent subagent.updated, read just their task.
Against a copy of the affected database the startup fan-out drops from 8.2 GB
retained over 21.6 s to 8 MB over 61 ms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(web): thread find exports the timeline fields type its context na…
f88b33a
…mes (pingdotgg#25260)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@Yarden-zamir
chore(sync): merge pingdotgg/t3code main
befc68a
@Yarden-zamir
chore(fork-repair): lockfile.py keeps packages that upstream dropped …
cb8357f
…but fork dependencies use
@Yarden-zamir
chore(sync): merge pingdotgg#16653 at 56f88be
6f04a18
@Yarden-zamir
chore(sync): merge pingdotgg#16654 at 8a5f64e
76e9068
@Yarden-zamir
chore(sync): merge pingdotgg#16655 at 25835af
4969bec
@Yarden-zamir
chore(sync): merge pingdotgg#16684 at 7c2dfcb
6bdfaba
@Yarden-zamir
chore(sync): merge pingdotgg#16695 at 47ede02
5b900a2
@Yarden-zamir
chore(sync): merge pingdotgg#16698 at ab3252d
71df130
@Yarden-zamir
chore(sync): merge pingdotgg#16719 at 8674123
db36732
@Yarden-zamir
fix(server): adopted linked-environment code keeps the fixes of its n…
c6eea0c
…ew heads
@Yarden-zamir
fix(web): the fork right panel and time labels follow upstream's prev…
eeabbe7
…iew and clock hooks
@Yarden-zamir
style: fork code follows upstream's new lint and Effect rules
ab2bb5d
@Yarden-zamir
docs(fork-repair): compare a new adopted head with the listed one bef…
64e1351
…ore keeping the fork side
@Yarden-zamir
Yarden-zamir enabled auto-merge October 26, 2026 04:18
@Yarden-zamir
test(web): fork runs skip upstream's file preview browser test that n…
9c7454a
…eeds larger runners
@Yarden-zamir
Yarden-zamir merged commit 1c46a3b into main Oct 26, 2026
19 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Yarden-zamir
Yarden-zamir deleted the fork-sync/2026-10-26-0308 branch October 26, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@Yarden-zamir @flamboh @juliusmarminge @maria-rcks @AKolenda @t3dotgg @Lenoridev
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.