Skip to content

chore: merge train 20261107-1551 - #5415

Merged
yannickmonney merged 9 commits into
mainfrom
train-20261107-1551
Nov 7, 2026
Merged

yannickmonney merged 9 commits into
mainfrom
train-20261107-1551

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Cut: 4ab1a0e

The stable line's merge train for v0.5.104: agents on Pi get Tale's tools, the Session Manager work of today, and the release notes. It departs ahead of its 8-hour slot because the owner asked for this release today, so that agents.tale.dev can run its agents on Pi.

Commits:

  • bf238c3dd fix(session-manager): stop a lost mouse event from freezing the browser. A mouse event that reached a tab while Firefox moved it to another process was never acknowledged, and Camoufox then took no mouse input in any tab. Before the first browser starts, the app changes the installed build's Juggler so that the renderer's answer is waited for one second at most (the original file stays beside it as omni.ja.orig).
  • 979df1085 fix(session-manager): pick only Windows or macOS for a random system (75 % and 25 %); Linux stays a choice of its own.
  • 631418d5f fix(session-manager): hide secret values without a checkbox, as their kind or label calls for, with the server's pattern shared in lib/private-label.ts.
  • a2b19b9c2 fix(session-manager): keep the proxy import to the list and its type; FormDialog of @tale/ui gains footerStart.
  • 57a2424b0 fix(session-manager): paint the first page once, finished.
  • 211c8941c fix(session-manager): show how far the browser download has come (browserInstallProgress in /api/meta).
  • 2c334d749 feat(session-manager): open each session in a window of its own. A session's browser is a Camoufox window on the screen of the computer the manager runs on; the in-page live view is gone, and Session Manager needs a screen from this release. A feat on the stable train: the owner pushed it to train this morning, and it travels as pushed.
  • 86d6cf840 fix(sandbox): give agents on Pi Tale's tools. Pi ran without Tale's MCP channel, so an agent on Pi reached none of the workspace tools that ride the capability bridge (task tools, knowledge, heavy-phase leases, image generation) while its instructions named them. Pi 1.0.1 reads <agent dir>/mcp.json itself: the harness now stages the browser and the bridge there with exposure: direct, the key as ${TALE_GATEWAY_TOKEN} from Pi's environment; the doc fragment gains serverFields; Hermes and Cursor are the harnesses left without the channel.
  • 4ab1a0e95 docs: write the v0.5.104 release notes, last, so that the rebase merge's merge commit is the release candidate.

Checked before departure (on this tree, on a Linux host):

  • The sandbox runtime image built from this tree passes container-sandbox-runtime-test.ts, 107 of 107, with two new proofs: Pi calls workspace_status over the bridge against a loopback model and a loopback platform that checks the session key, and reads the answer; and every harness the platform runs on a managed credential, run as a task turn runs it (a model and the bridge, through runnerd), gets the bridge's tools to its model: Claude Code, Codex, Gemini CLI, OpenCode, Pi and Qwen Code declared, OpenClaw found by its tool search, Hermes none.
  • turbo run typecheck build 28 of 28; oxfmt --check; the ruff format check; turbo run lint on @tale/platform, @tale/shared and @tale/sandbox-runtime-daemon; the platform's server unit project, 1524 of 1527 files before the three tests that used Pi as their harness without a bridge moved to Hermes, and those three green after; lib/harnesses with the re-frozen Pi golden execs; the wrapper exec tests (mcp.json staged only when a server is mounted).
  • Notes: bun tools/cli/scripts/release-notes.ts --version v0.5.104 validates (no migration; API contract unchanged at 3.53.0).

It rebase-merges when green (auto-merge). While it is open, no other stable-line train departs. After it lands, v0.5.104 is validated and tagged from the merge commit of the notes commit.

Camoufox 152.0.4-beta.30 does every mouse event, wheel turn and tab
switch of a browser one after the other, and a mouse event's turn ends
only when the page's renderer acknowledges it. A mouse event that
reaches a tab while it moves to another process is never acknowledged:
Firefox gives some sites a process of their own (google.com, any page
that sends Cross-Origin-Opener-Policy), so a new tab whose start page is
Google, a link from Google to another site and the tabs a session opens
again all move. The browser then waited until the tab closed, with every
later mouse event of every tab behind it, and the live view's Enter and
+ behind those. v0.5.103 kept the pointer off the edge rows that lose an
event the same way; it could not reach this one. Holding the mouse while
a tab navigates does not either: leaving Google, events are lost for one
to three seconds after the new page has come.

Before the first browser starts, the app now changes the installed
build's Juggler (omni.ja), as later Camoufox builds that camoufox-js
cannot run yet do themselves: the renderer's answer and the compositor
flush before an event are waited for one second at most, a whole turn of
input 30 seconds. The file as it came stays next to it as omni.ja.orig.
Firefox runs compiled copies of these scripts from each profile's
startupCache instead of the changed files, so those are deleted first.
A build whose files are not the ones the change was written for starts
as it is, with a warning; v0.5.103's notice still covers it.

Measured in the Linux image with a Windows fingerprint: new tabs loading
Google while the pointer moved froze 9 times in 10 before, 0 in 10
after; tabs going from Google to example.com and back 2 in 10 before,
0 in 20 after. Each lost event now costs one second. The real-browser
lane reproduces it offline with a Cross-Origin-Opener-Policy page: the
build as it came stops at the first move, the changed one goes on.
A session whose system is left on Random drew Windows 60 %, macOS 20 %
and Linux 20 % of the time. So few people browse the web on Linux that
a Linux fingerprint stands out, and one session in five got one without
anybody asking for it. Random now draws Windows three times as often as
macOS (75 % and 25 %, the old ratio of the two) and never Linux; Linux
stays a choice of its own in the dialog and over MCP.

The option says what it draws: "Random (Windows or macOS)", in English,
German and French.
Every value of the form to add or change a secret had a "Keep hidden"
checkbox under it: three for a login, six for personal details, and
each one asked something the app already knows. The server hides a
password, a card number and a CVC, and any value whose label names
something private (PIN, token, API key, recovery codes, …) or that is a
payment card number.

The form now asks nothing about it. A starting row is hidden as its
kind has it; a row the person adds is masked as soon as its label sounds
private, with the same pattern the server uses (moved to
`lib/private-label.ts` so the two cannot drift); a value that merely
looks like a card number is hidden by the server once it is saved. A
stored value keeps whether it is hidden, as it was stored. A hidden value
in the form keeps its Show button; Copy is offered only for a stored
value, not for one typed a moment ago.

The rest of the form loses what said the same twice: the hint under the
type (its fields show what it holds) and the sentence about hidden values
above the values, which a thin rule now sets apart from the title and
the scope.
The dialog that imports a list of proxies said what it wanted three
times: a two-line description ("Paste one proxy per line, or choose a
.txt file. Blank lines and lines starting with # are skipped."), the
label of the list ("Proxies, one per line") and a row of Choose file
and the shortcut hint wedged between the list and the type.

The dialog is now the list and the type of the lines that name none.
Choose file and "⌘ Enter to import" sit in the footer beside Cancel and
Import, the row the platform's task dialog has; the name of a loaded file
and its number of lines stay under the list. An import opened for an
action (a session that needs a proxy) still says why it opened. What the
description told of blank lines and comments is in the README.

`FormDialog` of `@tale/ui` gains `footerStart` for it: what it is given
goes at the start of the footer, before Cancel and the submit button,
and a custom footer replaces it with the rest of the row. The dialog
guide says when to use it.
Opening the app painted it three times. First the frame the build bakes
into the page (the rail masked, the page empty), then the page itself a
tenth of a second later, then the highlight of the rail and of a
panel's row fading in over 150 ms: a flash of an empty frame on every
load, even from a server on the same computer (measured: frame at 67 ms,
page at 167 ms, highlight still fading at 330 ms; on sessions.tale.dev
frame at 490 ms, page at 733 ms). A heading also drew in the fallback
face for a frame before its weight of Inter came.

- The frame shows only once a load takes longer than 0.4 s (`locals.css`):
  a page that is ready sooner paints once, and a slow one still shows
  the frame meanwhile.
- Nothing transitions in the first frame: `main.tsx` marks the document
  as opening and the root route lets transitions run again once that
  frame is painted (`useOpeningDone`), so the highlights stand where
  they are instead of fading in.
- The first frame also waits for the lists the page asks for and does
  not hold a navigation back for (`readsSettled`, a second at most), so
  it opens with its rows.
- The build names the Latin Inter faces of the first frame (400, 500,
  600) as preloads in the page's head (`scripts/font-preloads.ts`).

Measured locally after: the page background at 60 ms, then the page,
finished, at 155-200 ms, and no animation running after it.
`first-paint.spec.ts` holds that the frame is never shown before 0.4 s.
The first start downloads the Camoufox browser, about 1.3 GB, and no
session can start until it is in. The page said only "The browser is
being installed", for a minute or more, with nothing that moved.

The install now reads the progress bar `camoufox-js fetch` prints (one
line every two seconds without a terminal) and keeps how far it has
come: downloading with its percentage, then the archive being checked
and unpacked once all of it is in. `/api/meta` carries it as
`browserInstallProgress`, the banner draws it as a bar named "Download
of the browser" with the percentage beside it, then says the browser is
being unpacked, and the MCP overview reports it too. The page already
asks for the state every 1.5 s while the download runs.
The browser of a session is now a Camoufox window on the screen of the
computer the manager runs on, where the person uses it as any browser.
The in-page live view is gone: its WebSocket, the picture, and the tab
strip, address bar, lists and dialogs the page drew.

- Camoufox launches with a window (headless only for the real-browser
  tests). A start, restart or rotation asked for over HTTP brings the
  window to the front once it is up (`window.ts`, AppKit by process id on
  macOS); a start over MCP leaves the screen as it is.
- POST /api/sessions/{id}/show and /type: the page's Show window, and a
  value of a secret typed into the field the person clicked in the window.
  New refusals: `no_field_focused`, `browser_error` (with `reason`) and
  `browser_not_responding`. MCP gains `show_window`, 43 tools in all.
- Camoufox shows every tab of a window to Playwright as visible and
  focused, so the remote follows the tab where a mouse button or a key
  was last pressed (an init script in Camoufox's isolated world), unless
  a tool chose another tab since; the tabs saved at a close use it too.
- Juggler opens every page Playwright asks for in a window of its own. A
  second change of the installed build (`openPagesInTabs`, on only for a
  browser with a window) adds a tab to the window instead, so the tabs a
  session reopens come back as tabs.
- The screen of a new fingerprint is at most the room for windows on the
  largest display (macOS), so that the window fits.
- The page of a running session is a card with Show window, Secrets and
  the details; the session menu leads with Show window.
- Gone with the live view: SHUTDOWN_MARKER_PATH, the https origin of a
  TLS-terminating proxy, the dev fleet's Bun floor and WebSocket proxy.

The e2e suite drops viewer.spec.ts for window.spec.ts, and the manual
layer replaces the viewer suite with windows.md (WIN-).
Pi ran without Tale's MCP channel (`capabilities.mcp: false`): its
adapter staged no MCP configuration, so an agent on Pi reached none of
the workspace tools that ride the capability bridge (the task tools, the
knowledge pair, the heavy-phase leases, image generation), while its
instructions still named them. Pi 1.0.1 is an MCP client itself: it
reads the servers of `<agent dir>/mcp.json` without asking for project
trust and starts them with its own environment.

- The harness stages that file as a third document: the browser and the
  bridge, each with `exposure: direct` (Pi's default keeps a server's
  tools inside its code-mode scripts, where an agent told to call the
  workspace tools by name never finds them), the bridge key as
  `${TALE_GATEWAY_TOKEN}`, which Pi resolves from its environment. No
  call timeout: Pi asks every call for progress, and the bridge's
  reports on a long one restart Pi's 60 s timer.
- The `mcpServers` doc fragment takes `serverFields`, merged into every
  mounted server. `tale-pi-run` writes `mcp.json` only when the turn
  mounts a server.
- Hermes and Cursor are now the harnesses without the channel: the
  tests that used Pi as their example of one use Hermes, and Pi joins
  the harnesses the leases and image generation are offered on. The
  runtime docs (en, de, fr) and the manual reference say so.

The runtime image test gains two proofs: Pi calls workspace_status over
the bridge against a loopback model and platform, which checks the
session key, and reads the answer; and every harness the platform runs
on a managed credential, run as a task turn runs it (a model and the
bridge, through runnerd), gets the bridge's tools to its model, declared
or found by its tool search (OpenClaw), and Hermes gets none.
@yannickmonney yannickmonney added the merge-train A merge train's pull request into main label Nov 7, 2026
@yannickmonney
yannickmonney enabled auto-merge (rebase) November 7, 2026 15:52
@yannickmonney
yannickmonney merged commit 06c91e6 into main Nov 7, 2026
94 checks passed
@yannickmonney
yannickmonney deleted the train-20261107-1551 branch November 7, 2026 16:12
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Release lease released: v0.5.104 is published

  • Holder: the operator, outside the hub (every dispatch is off).
  • Released: 2026-11-07 18:41 UTC, before the 20:41 UTC expiry.
  • Outcome: v0.5.104 is published from candidate 06c91e6405b4719fb55eae9b146d0f636f79769f and is GitHub's latest release. Everything RELEASING.md step 5 checks is verified.

Receipt (RELEASING.md, "A release that has to go out", step 4):

What Identity Result
Candidate 06c91e6405b4719fb55eae9b146d0f636f79769f, version v0.5.104 the merge commit of #5415, the notes commit; its tree equals the pull request's head 4ab1a0e95
Candidate runs Build 42397553926, Checks 42397553987, SAST 42397553944, Commitlint 42397553958, E2E 42397553964, CLI 42397553921, Security 42397553960 all success. Checks needed attempt 2, every job re-run: attempt 1 failed one of 2771 workspace unit tests, the session manager's proxies/parsing.test.ts "is read in a moment: closing brackets and colons" (fastest try 305 ms against its 300 ms budget); the same tree passed it on the pull request's run 42388454760 and on main's push Checks 42390089756. Attempt 2 passed at 18:14 UTC. It is the runner-timing class #5199 tracks (noted there)
Gate release-candidate-gate.ts --sha 06c91e64… --version v0.5.104, run at 18:14 UTC eligible, no reasons (arrival #5415 at 16:12:05 UTC)
Tag Release tag run 42400378163 ran the gate again and pushed v0.5.104 at the candidate pushed 18:16 UTC
Release Release run 42400458979 success; GitHub release published 18:27:49 UTC
Images all 12 services (tale-platform, -db, -proxy, -session-manager, -docs, -ui-docs, -web, -sandbox, -sandbox-runtime, -sandbox-buildkitd, -sandbox-llm-gateway, -sandbox-egress), :0.5.104 and :latest, linux/amd64 and linux/arm64 each org.opencontainers.image.revision is the candidate, each org.opencontainers.image.version is 0.5.104, and each :latest is the same index as :0.5.104
Publish packages run 42401417551 success; ui-v0.5.104 (8aa3bc282) and marketing-ui-v0.5.104 (d17bb7bec) both record from 06c91e6405b4719fb55eae9b146d0f636f79769f
CLI run 42401430796 on the tag success; tale_linux, tale_linux_arm64, tale_macos, tale_macos_x64 and tale_windows.exe attached with tale_checksums.txt by 18:38 UTC, and each binary's GitHub digest equals its line in tale_checksums.txt

Holds, read again before the tag at 18:15 UTC: only the lease comment on the hub's Decide task; no comment or open issue names a hold.

Other checks:

  • main's own runs at the candidate: push Build 42390089773 and push Checks 42390089756 both passed on attempt 1.
  • Workspace upgrade: the newest run on main, 42338321230 (scheduled, 04:24 UTC), passed; tools/cli has not changed since its source 673693988.
  • The fix in the image: tale-sandbox-runtime:0.5.104's /usr/local/bin/tale-pi-run stages mcp.json for Pi.

A published version is not a deployment elsewhere; Ops adopts it with its release adopter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-train A merge train's pull request into main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant