Skip to content

chore: merge train 20261030-1548 - #5145

Merged
tale-code-bot merged 31 commits into
mainfrom
train-20261030-1548
Oct 30, 2026
Merged

tale-code-bot merged 31 commits into
mainfrom
train-20261030-1548

Conversation

@tale-code-bot

@tale-code-bot tale-code-bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Cut: 86345dc

The stable line's merge train: the commits that landed on train since #5134 departed, each squashed behind the fast gate (formatting, typecheck, build), one commit per task. Since the two lines split on 2026-10-30, train carries the stable line (main, 0.5.x) only: fixes, and the tests, docs and CI about what main ships; TALE-136, TALE-140 and TALE-118 moved to feature-train before this departure. This pull request runs the full CI once for the whole train and rebase-merges when green (auto-merge). The Coder's merge-train role works it until it is green; while it is open no other stable-line train departs.

Changed on this branch since departure (merge-train role, 2026-10-30 16:02 and 16:17 UTC; head 8d178a1d5335618f5acb454b4cf0981e46f1b46d):

  • Added test(platform): give the List drag-cancel walk a 30s ceiling. Checks › Browser failed on the cut (run 41084158949, job 124160783119): only tasks-list.browser.test.tsx:520, the List variant of "hands focus back to a task carried out of its window and into another status when the drag is cancelled", timed out at 15 s (20,668 ms; the Board variant passed in 8,985 ms), the same failure as on main's Checks 41029274876. The List walk is 32 keys, each awaiting a live-region line; it now carries the 30 s ceiling board-column's 25-step Tab walk has. Fast gate on the fix: format and hooks passed; typecheck and build 24/26, no error TS; @tale/cli#build and @tale/web#build failed only on their unreachable downloads, and turbo run build --dry=json lists the changed test file among neither one's inputs.
  • Added test(platform): give the version compare node test room to settle. On b307f24ef, Browser passed but UI (platform 2/4) failed (Checks run 41086189702, job 124168210054): only version-compare-page.test.tsx "opens what changed in a node picked on the graph", Test timed out in 5000ms at 5,019 ms, with the code under test unchanged since it passed on the cut. The test waits up to 10 s for the node panel to settle but kept the UI project's 5 s ceiling; it now has 15 s. The file passes locally (11/11); fast gate on 8d178a1d5: format and hooks passed, typecheck and build 24/26, no error TS, and neither @tale/cli#build nor @tale/web#build (download failures only) takes either changed test file as input.

main (b2560c2d, the merge of #5134) is the train's base, so the commits apply to it unchanged. Before departing, the merge-train role ran the fast gate on 56803a01c (2026-10-30 14:52–14:59 UTC): install and format passed, typecheck and build 24 of 26 with no error TS; the two others are the @tale/cli and @tale/web builds, whose downloads the worker cannot reach. The Reviewer gated the two later landings (TALE-45, TALE-60) when it landed them.

main's own push runs on b2560c2d are red: Checks 41029274876 (Browser: tasks-list.browser.test.tsx:520, the List variant timing out at 15 s; Backend integration: a database statement timeout before any lane) and Build 41029274804 (image builds cancelled at their time limits).

Commits (31: 29 from the train, 2 fixes):

Task keys: TALE-145, TALE-151, TALE-71, TALE-38, TALE-91, TALE-88, TALE-16, TALE-148, TALE-35, TALE-188, TALE-68, TALE-97, TALE-184, TALE-86, TALE-110, TALE-149, TALE-185, TALE-233, TALE-103, TALE-92, TALE-34, TALE-238, TALE-45, TALE-60

5 commits carry no Task: line; yannickmonney committed them directly on train: 7f62ac2d6 (docs: delete a task branch once it lands on the merge train), 977b40365 (fix(platform): mend transcript sends, web fetch and gateway tool calls), fa075c343 (docs: name the merge train in the shared agent contract), b55c5b72d (docs: split the stable line from the feature line), 56803a01c (fix(platform): ask a gateway's Responses API for OpenAI tool models).

tale-code-bot and others added 29 commits October 30, 2026 09:03
When the composer roster read (chat/composer:listComposerModels) failed,
an llm step's Model picker and Use another model in all steps both
opened on "No models found", Use this model stayed off without a
reason, and nothing offered to load the list again (#4765).

- useLlmModelOptions also says how the read stands (readStateOf) and
  hands back a retry, as useProjects and useOrgTeams do.
- The Model picker and the dialog's With picker stay disabled until the
  roster answers, masked while the first read runs. After a failed
  read the shared CatalogLoadError says "Couldn't load the models."
  with Try again under the picker, keeps its focus through a retry, and
  hands the focus to the picker once the models come.
- The Model field keeps its free-text escape: the step's model stays in
  the Model id box, a model can still be typed (typing keeps the box),
  and nothing calls the model unserved while the list is unavailable.
- Use this model stays off with the failure as its disabledReason.
- en/de/fr messages, and the manual box AUTO-B47 with its
  component-half row.

Closes #4765
Task: TALE-145
A SCIM PATCH that set a user's or group's externalId, by path
("externalId") or inside a path-less value, answered 200 with the
resource as it was: parseUserPatch and parseGroupPatch never read the
attribute, the PATCH dispatchers never passed it on, and the group write
took no externalId at all (the shim's zod schema would have dropped the
key too). The same change sent as a PUT was stored, so a provider that
keeps its directory in step through PATCH left a stale externalId behind
on every later GET.

Both parsers now read externalId the way they read the other attributes,
the path matched case-insensitively. Both dispatchers hand it to the
write, and patchGroup stores it in the group's link row as replaceGroup
does, its shim schema widened to carry it. A PATCH that does not name
externalId leaves the stored one alone, and storing it alone emits no
invalidation hint, as on PUT.

http_actions.test.ts sends the issue's four PATCH shapes (user and group,
by path and path-less), which fail without the change; a PUT control and
a displayName-only PATCH pin the rest. mappers.test.ts, service.test.ts
and a new shim.test.ts hold the parsers, the link write and the shim. The
SCIM integration lane now PATCHes both externalIds over Postgres and
reads them back.

Closes #4773
Task: TALE-151
Home's stream and PROJECTS list rendered a plain list up to 60 rows and
a windowed one past them, so every crossing replaced the list: each row
remounted with its open rename field, menu, delete confirmation and
focus, and the list faded in again (#4414). Both lists are now drawn by
one engine, HomeWindowedList (6e283be), whose root and keyed rows stay
put in both modes, but only an open rename on the stream was tested
across the threshold.

- The browser suite takes the stream from 60 rows to 61 and back, with a
  chat arriving and leaving and with a fresh chat's draft row, and
  PROJECTS with a project arriving and leaving. The list element, every
  row drawn on both sides, the focus, a row's open menu or delete
  confirmation, a rename with its text or its validation error, and a
  project's open menu all survive, and neither list fades in again.
  Keying the list's root by mode, which replaces it at every crossing as
  the two elements did, fails six of the seven new tests and both older
  crossing tests.
- PERF-B9 says what a crossing does and how to cross by hand, and a pin
  says why. Its automation row now claims only what tests hold: work
  rows count only work rows in their positions, and the 60/61 PROJECTS
  and draft-row claims have tests now.

Closes #4414
Task: TALE-71
The Products list already filtered by category end to end: the route
accepted `category` and `listProducts` matched it. But the Filter panel
built only the Status facet, and nothing told the client which categories
exist, so a category could be chosen only by editing the address. Nor
could a deep-linked one be undone from the panel: no facet showed it, and
over an empty result the Filter button was disabled.

`GET /api/app/products/categories` now answers the distinct non-blank
categories the organization's products carry, sorted and capped at 100
(the inbox API-source facet's cap), behind the products read permission.
Its read, `products/queries:listProductCategories`, is keyed under the
product entity, so every product write refreshes it. The table offers its
values as a Category facet that drives `category` in the URL the way
Status drives `status`; a category the address chose is offered even when
no product carries it or the read failed, so it can always be cleared.

Closes #3866
Task: TALE-38
A shared chat link that failed to load for any reason said the share
was withdrawn. SharedChatView showed "This shared chat is no longer
available." for a failed read as for the door's 404, with no Try again.
A lost connection, a server fault or an ended session read like a link
its owner took down, and a refresh that failed after the snapshot had
loaded replaced it with the same sentence.

The view now reads the query through readStateOf and CatalogLoadError,
as the other failed reads do. A read that never answered shows
"Couldn't load this shared chat." with its cause (failureDetail) and Try
again, which holds through a retry with its button busy and hands the
focus to the shared chat once the read answers. A refresh that fails
keeps the snapshot under "Couldn't refresh this shared chat. The
messages shown may be out of date." Only the door's answers that the
link serves nothing read as no longer available: the 404, and now also
the organization door's 403 for a reader who is not a member, which
would otherwise be offered a Try again that cannot succeed.

The strings ship in en, de and fr; no de-CH override is needed. The
shared chats guide says what a recipient reads in each case (en, de,
fr). The chat suite gains CHAT-B28 for the blocked request in a real
browser, and its automation register names the component half.

Closes #4535
Task: TALE-91
The German guides now say Automatisierung(en) for "Automation(s)", also for
the plural "Automationen" and compounds such as "Testautomation", Inhaber for
"Owner", Wissen for "Knowledge" and Arbeitsbereich for a Tale workspace. The
French guides say automatisation(s) for "automation(s)", Connaissances for
"Knowledge" and Propriétaire and Développeur for the roles. Two page titles
per language change with them, in the regenerated frontmatter.json, and the
French site copy that said "automation" says "automatisation".

terminology-ui-label now catches the French loanword: feature_automation and
feature_automations list "automation(s)" under _avoid, as #4502 did for legal
hold, and the Markdown scanner masks the paths in a component's href and a
video's src, poster and captions, as it already masks link URLs. Names of
other things keep the English word and are allowed: Slack-Workspace, Dev
Workspace, the CLI's deployment workspace (allowed compounds, and an
i18nLintExclude on the three German pages it runs through), the
Workspace-Claim(s), Workspace-Mounts and Workspace-Pfade of a sandbox's
files, Home-Bildschirm, Vendor-App and the sample automation Approval check.

The docs report drops from 160 findings to 30 and stays in report mode: the
rest are English labels in the alt text of shared English screenshots, the
English verdicts a template writes, and "Home" for a home directory.

Closes #4513
Task: TALE-88
The accent audit (9b48c0d, 248f523, a300021) moved the
organization accent onto derived tokens and held three difficult picks
legible in both themes. Three marks the Branding guide names still
missed it:

- The upload progress bar of the Knowledge upload and replace dialogs
  was a fixed blue gradient, with its percentage and "Confirming
  upload..." figures in `text-blue-600` (3.8:1 on the dark row). They
  now wear `--primary`, the accent's text shade, as `ProgressBar` does.
- A switch showed keyboard focus only as a half-strength `--ring` halo,
  which an accent painted at 2.2-2.7:1 against the page. It now draws a
  full-strength ring set off by a gap in the page colour, as the
  checkbox does.
- A menu's checkbox-row switch drew a white knob on its `--primary`
  track, invisible on the dark theme (1:1 unbranded, 1.1:1 on a
  near-white accent). While on, the knob now takes
  `--primary-foreground`.

Each has a real-browser test that failed before, across a near-white, a
near-black navy and a magenta accent (and the unbranded theme) in light
and dark, and the manual layer's accent row names them.

Closes #2788
Task: TALE-16
A Settings > Account tab that still showed two-factor on kept offering
Regenerate backup codes after another tab had turned it off. Better
Auth refused with TWO_FACTOR_NOT_ENABLED, and the password prompt
showed its English "Two factor isn't enabled" in every language while
the section went on claiming two-factor was on. A tab that showed it
off, and a second /2fa-enroll tab once the first had enrolled, showed
"TOTP is already enabled" the same way. The four two-factor password
prompts fell back to the refusal's own message for anything other than
a wrong password, the sign-in lock or the session's authority, and the
status read keeps its answer for five minutes, so a second tab acts on
an old state.

The prompts now compare the refusal with Better Auth's own codes
(TWO_FACTOR_ERROR_CODES from better-auth/client/plugins, so a renamed
code fails typecheck instead of slipping through). Regenerate backup
codes refused with TWO_FACTOR_NOT_ENABLED closes its prompt, toasts
"Couldn't generate new backup codes." with "Two-factor authentication
was turned off while this page was open.", and invalidates
twoFactorStatusQuery, so the section shows two-factor off. Enable
two-factor refused with TOTP_ALREADY_ENABLED closes its prompt, toasts
"Two-factor authentication was turned on while this page was open."
and reads the status again, so the section shows it on. The enrollment
wall shows the same toast, waits for the status, and its guard leaves
for the page the person was headed to, as it does for anyone already
enrolled. The notice is a toast because the refetch swaps the
section's state component, which unmounts the prompt and anything
written in it. Any other refusal reads as the prompt's own
errors.*Failed sentence, or as the localized session-authority
sentence, which the wall now words as the section does. The refusal's
own message is never shown.

The two new strings ship in en, de and fr; no de-CH override is needed.
The two-factor guide says what a tab that was already open does after
a change in another tab (en, de, fr). The auth suite gains AUTH-B24 for
two real tabs, error-codes.md names both refusals, and the auth
automation register names the component half,
two-factor-section.stale-tab.test.tsx and 2fa-enroll.stale-tab.test.tsx.
They run a real query cache and toaster against a stubbed status door
and Better Auth client, in German and French.

Closes #4768
Task: TALE-148
Home's "waiting for your review" list reads GET /api/app/tasks with
reviewerId and status=in_review. That read used to match the stored
designation, reviewer_user_id. A task that names no reviewer asks its
creator for review, and so does one whose reviewer is set back to
Project default while its review is open: the creator's bell and the
board's Needs my review asked them, but their Home did not list or
count the task (#3790). #4076 made the read follow the pending review,
but the only listing check named the creator as reviewer, so it passed
under either rule.

The check now covers the issue's three cases. A creator assigns three
tasks to an editor, who moves them to In review. One names nobody. One
names a reviewer until the creator sets it back to Project default. One
names the creator. For each, the check reads whom the task names and
whom its pending review asks, then the creator's own Home read; for the
second, also the former reviewer's, which must not list it. The first
two assert that the task names nobody, so a read that follows
reviewer_user_id fails them. The third is the control, which either
read lists.

The comments on the reviewerId filter (TaskListFilters, the check, and
useTasksAcrossProjects) now describe what the server does.

Closes #3790
Task: TALE-35
What's new (/dashboard/changelog) waited for the person's changelog
state before reading the release feed. When that read failed, the wait
never ended: the hook reported only `stateLoaded`, which a failed read
never sets, so the page showed a spinner and nothing else. The hook now
also reports `stateFailed`; the page stops waiting then and reads the
feed without `from`, showing the current release's notes. A failed read
still shows no unread dot and no toast.

The feed is read from GitHub's releases page. When its first page parsed
to nothing (GitHub changed its markup, or answered something other than
the list), it came back as an empty list, was kept for an hour, and the
page said "You're up to date." over no notes. GitHub always lists its
newest releases on the first page, so an empty one now fails the read:
it is not kept, the door answers CHANGELOG_UNAVAILABLE, and the page
shows its error card with the link to GitHub. A later page that lists
nothing is still the end of the list (GitHub answers it 200), and the
page gives any empty feed the error card as well.

The changelog spec's CLOG-R4 now covers the unreadable first page, and
the new CLOG-R5 says such a page is read again on the next visit. NAV-F8
no longer says an offline stack shows "You're up to date.", and the
navigation automation register names the new tests.

Closes #4900
Task: TALE-188
The independent review of #4140 left the Playwright MCP launcher with
start-time paths that no test held, unit tests that inherited the
runner's launcher settings, and four open notes.

- New tests hold that a server answering the replayed start outlives the
  start deadline, that a notification sent before the start reaches the
  server after it, and that a request sent while the server starts
  reaches it after the one that started it. Each fails on its broken
  variant: deadline.cancel() removed, the hold or its replay removed,
  lines after the start dropped, or a ping answered by the launcher.
- The tests strip PLAYWRIGHT_MCP_*, TALE_PLAYWRIGHT_MCP_* and
  PLAYWRIGHT_BROWSERS_PATH from the environment they inherit. Exported
  in a developer's shell, one of them failed up to 8 of the 45 tests.
- A started server that refuses the replayed initialize is now logged
  as refusing it, instead of as speaking "None". The turn still goes on,
  because the client was already told that the start succeeded.
- The image check now also compares the lazy initialize answer with the
  real server's (LAZY_INITIALIZE_DIFFERS).
- configured_in_env keeps matching every PLAYWRIGHT_MCP_ name, and its
  docstring now says why.
- Codex 0.160.0's start, traced from its source, is answered without
  the server, and a test holds it. The start is an initialize for
  2025-06-18, notifications/initialized, and one tools/list carrying
  _meta.progressToken.

Closes #4160
Task: TALE-68
A document's version history that failed to load was a dead end. The
dialog checked isLoading and then folded a read that never answered, a
background refresh that failed (hiding the versions it had loaded) and
an answered null into one bare line, "Couldn't load version history",
with no way to load it again short of closing the dialog. It now reads
the versions query through readStateOf and names a failed read with
CatalogLoadError, the way the knowledge entry's history and the Files
tab do. An unavailable history says so with Try again, a failed refresh
keeps the loaded versions under its own notice, and a file the read
answers nothing for reads as having no stored versions. Try again stays
focusable and busy while the read runs, and focus moves onto the
Versions group first, so it never falls back to the dialog.

The Files tab's History deep link (?historyExternalItemId=) acted as
soon as its lookup stopped loading, so a lookup that had failed said
"That file has no version history yet." and stripped the parameter,
and a reload could not try again. Only an answer uses the link up now:
a failed lookup keeps the parameter and is named above the tree with
Try again, which opens the history once the lookup answers; a lookup
that answers no file still says so once.

The strings ship in en, de and fr (loadFailed reworded, refreshFailed
and linkLoadFailed new; the German has no ß, so de-CH needs no
override). The Files page in docs/{en,de,fr} says what the history and
the link do when they fail, and the projects suite gains PROJ-B35 and
PROJ-B36 with their component half in the per-suite automation
register.

Closes #4577
Task: TALE-97
The Reviewer deletes a task's branch after landing it on `train`, as GitHub
deletes a merged pull request's branch, so landed branches no longer pile up.
A commit the merge-train role takes out of a train gets its branch back at
that commit for the repair.
User preferences read the organization's custom_instructions default
apart from the person's own preferences, kept only its data, and took
an unanswered read for off. While the policy read ran, and after it
failed, a person who never chose saw an unchecked switch and
"Following organization default (off).", with their saved instructions
hidden while chat kept applying them. Switching it on would have stored
a choice they never meant to make.

The section now shows only once both reads have answered. It stays
under the skeleton while either runs, and a failed policy read is named
with Try again (new personalization.errors.orgDefaultLoadFailed in EN,
DE and FR), with no switch, hint, field or save path. Try again re-reads
only the reads that failed. An answered null policy still reads off.

The new read-failure test runs the real hooks, adapter rows and retry
policy against the synthetic transport. On the previous component it
finds the unchecked switch and the off hint in both cases.

Closes #4889
Task: TALE-184
Settings > Organization had no guide. Add platform/admin/organization in
en, de and fr: renaming and its name rule, what the agents' default
language changes, where the organization ID is used and how it differs
from the slug, and how an Owner deletes the organization - the typed
confirmation, what is removed and what stays, where you land, the
cleanup that follows, and the three refusals (legal hold, automation
runs held after an upgrade, a name that changed after the page loaded).

Link it from the branding guide's rename sentence, the admin overview,
the Owner row of members and roles, the task-language paragraph of the
task automation guide, and the organizations domain spec. List it in
nav.json after the admin overview and regenerate published.json and
the frontmatter manifest.

Closes #4508
Task: TALE-86
The software pricing page formatted every amount and user count with the
billing region's German locale (de-CH, de-DE), so with region DE the
English and French pages showed `1.000+` and `1.400 EUR`.

The region now picks only the currency; the page language picks the
separators. CHF amounts use the Swiss variant of the page language
(en-CH, de-CH, fr-CH), the rule the retired hardware page used (R2-B12).
EUR amounts use the page language itself, because en-DE groups counts
with `.` but amounts with `,`. The slider receives the resolved locale
instead of the region and formats with the shared `formatNumber`.

Closes #4678
Task: TALE-110
A database restart during an MCP tool call was reported to error
tracking at error level, once per failing call, and the agent got
INTERNAL_ERROR. The catch blocks of callTool (#4592) and of the settings
writer loop (#4685) answered every non-refusal as a fault without asking
db/unavailable.ts, which the REST and app doors have used since #3506.

Both now ask databaseUnavailableCause first, through one helper in
domains/mcp/refusals.ts: such a call writes one warning line, reports
nothing and answers DATABASE_UNAVAILABLE with data.retryAfterMs 5000,
the REST door's Retry-After. A settings write answers it beside what
landed; a resource read, the resource list and a prompt answer -32603
with the code and the wait, never "resource not found". It counts as a
refusal, not a failure. Any other failure keeps INTERNAL_ERROR and its
report, a bare socket error no database client stamped included.

The MCP spec gains MCP-R43 (MCP-R8's example used a database outage as
its fault), the manual suite MCP-B3 and the error-code rows, the Tale
skill, the settings reference and the docs the code, and the contract
moves to 3.50.0.

Closes #4771
Task: TALE-149
The ⌘K sources turned a failed search into `ready` with no rows, so the
palette said "No results" during an outage and a chat or project that
exists looked missing. The chat source did it on purpose ("a navigation
aid, not a health surface"); the read-state rule says a failed read is
the screen's to name and retry, and that exception goes.

The palette (`@tale/ui/search`):
- A source can say what failed and offer to ask again: `retry`,
  `retrying` and `partialFailure` on `SearchSourceState`.
- The error state gets Try again (`common.actions.tryAgain`), busy and
  focusable while the retry runs, as `CatalogLoadError`'s is. It hands
  the focus to the query when the answer replaces it, and a failure that
  outlives its retry is written afresh, so it is announced again. The
  alert stands outside the listbox, so its button is never an option.
- When part of a search failed, the results that loaded stay, and one
  status line outside the listbox says the rest could not load
  (`search.partialFailure`, en/de/fr), with its own Try again.
- A source without `retry` (the docs search) renders as before.

The platform sources:
- Projects, tasks, documents and contacts state their reads through
  `searchStateOf` (`lib/backend/search-read-state.ts`) over
  `readStateOf`: a read that never answered is `error` with a retry,
  held through that retry; a read that answered keeps its rows.
- Chat reports `unavailable` as `error`, with a retry of the chat search
  (`useChatSearchRetry`, beside `useChatThreadsRetry`), held until the
  retry settles so another query's rows never stand in for this one's.
- The combined source reports `error` when every source the scope asks
  failed. When some failed it keeps the rows that loaded and sets
  `partialFailure`. Its retry asks again only what failed.

Manual box NAV-B23 covers the real request block; its automated half is
recorded in the navigation automation reference.

Closes #4890
Task: TALE-185
Four reports from a deployment whose website requests leave through 100
Webshare proxies and whose OpenAI models come through a Bifrost gateway.

Sending a message with a transcribed video link was refused with
"attachments.0.fileSize: Invalid input: expected number, received
string". `app.file_metadata.size` is a bigint, which postgres.js hands
back as a string, and the video-link bind read it uncast; the chip view,
the documents' versions view and an approved record snapshot read it the
same way. Each now casts it to float8, and the record reader takes the
digit strings old snapshots hold. A bound transcript is also named so the
send door takes it: a title sanitizing left empty bound as "" and a long
emoji title could pass the door's 512 code units; it is now the title cut
a whole character at a time, or "Video link". The send and deferred-send
doors share one attachment schema, which the integration check applies
to the bound payloads.

The chat assistant's web fetch answered host_not_allowed for
www.mozilla.org's Firefox notes, which redirect to www.firefox.com: it
passed safeFetch no allowlist and no `credentialless`, so safeFetch
refused every hop onto another host. web_fetch sends no credential and
now asks as the email image proxy does, `credentialless`, with
`httpsOnly` on every hop; each hop is still resolved, checked and
pinned. The shared recognizer now also reads an IPv4-compatible IPv6
literal (`[::7f00:1]`) as the IPv4 it embeds, so a redirect onto one is
refused as a private address, as `[::ffff:7f00:1]` already was.

Through one proxy, wiki.mozilla.org served Fastly's "Client Challenge"
page, which web_fetch handed the model as the page. `botCheckOf` tells a
bot check from a page (Cloudflare's, AWS WAF's and Vercel's marker
headers, Fastly's own page). A check that came through a proxy is asked
for again through the next one, up to three attempts while less than 15
seconds have passed; one that still stands, or whose retry fails, is
reported as a page that cannot be read, never as its text. safeFetch
names the proxy a response came through, and the log names the entries a
check met. The chat docs and the environment reference say so in EN, DE
and FR.

Bifrost answers a Chat Completions request for GPT-5.6 from the
Responses API and numbers each tool call `output_index - 1`, so the
first two calls of an answer with nothing before them both arrive as
index 0. The decoder ran their arguments together into one invalid call.
A fragment that announces another call, another id with a function name,
at an index already holding one now starts a new call.

Verified on real PostgreSQL (the size and name checks fail with the
fixes reverted, with the reported messages), and live through the
owner's proxies: the Firefox notes and the release calendar are read,
the calendar after entry 1 met the check and entry 2 was served the page.
main lands each pull request on its own since 0da0820, and without a merge
queue GitHub never sends merge_group, so what was left of the queue goes.

- The eight validation workflows lose their merge_group trigger, and every
  CI ready job runs for a pull request only. Commitlint loses its group
  range, Build its merge-group scope branch and the best-effort SARIF
  upload, ci-scope the merge_group event, and ci-ready.ts judges pull
  requests only. The release-candidate contract is regenerated.
- The Forgejo port drops its merge train: the fast and full tiers and
  CI_TIER, the mq/** batch push and its alias in the folder, and the batch
  rules for Commitlint and Build. A Forgejo pull request owes its whole
  suite, is judged as a pull request and lands on its own. A push to main
  is validated as on GitHub: the build cache is written from main only,
  lint:links compares a push with the commit before it, trigger paths name
  the generated setup-turbo, and the README lists dorny/paths-filter among
  the mirrors.
- CI.md, the repo contract, RELEASING.md and the READMEs no longer
  describe merge groups.

Closes #5108
Task: TALE-233
A project's Default reviewer said its saved agent was unavailable, and
told the reader to choose another, whenever the project's agent list
failed to load. It showed the same verdict while the list was still
loading. Only a list that answered without the agent may say so.

While the list loads, or after it failed to load, the field keeps the
saved choice and cannot be changed. A failed list reads "Agent not
loaded" above the Agents tab's own notice with Try again, which reads
the list again and hands the focus to the picker, or to the field
where the picker stays read-only.

Closes #4644
Task: TALE-103
The docs entry renders with createRoot over the prerendered page once
router.load() has imported the page's Markdown chunk, and `load` does not
wait for that chunk. The CI preview (vite preview over the complete build)
answers a deep URL such as /platform/knowledge/documents with the root
page's prerender, whose first figure has a visible caption and an image
button without handlers. The keyboard zoom spec's readiness check passed
on it, so on the cold first page load of a CI worker (E2E run 37761883459)
Enter reached that inert button; the commit then replaced the page, focus
fell to body and no dialog opened. Holding the chunk past `load`
reproduces it: the unchanged spec failed 6 of 6 runs in EN/DE/FR with
retries off.

Route every docs spec through gotoClientPage, now shared from
@tale/e2e/client-page: it marks the document's #root and returns once the
client commit has removed the marker. It marks the document through
page.route, which cannot see a navigation the docs service worker serves
once it is active, so the docs suite blocks service workers through a new
createPlaywrightConfig option. The helper imports jsdom, which
Playwright's synchronous loader cannot load on the pinned Node 22.21.1
(E2E run 41022295908 found no docs spec), so the docs e2e scripts force
the asynchronous loader as web's do, and a unit test pins that. A new
spec holds the Markdown chunk past `load` and checks keyboard zoom,
Escape and focus restoration at 390 px in EN/DE/FR.

Closes #4536
Task: TALE-92
A member removed from the organization stayed on the tasks they touched,
and the task views printed their raw user id wherever they named them:
the dialog's Assignee, Reviewer and Author, their comments, the activity
lines, the board's review chip and the avatar's accessible name on the
card and the list row. The actor directory fell back to the id for a
person its member list no longer held (resolveActor, resolveAssigneeId),
and AssigneeAvatar labelled itself with the id.

The directory now follows the automations' useActorLabel: a person it
does not list reads as Former member once the member list has answered,
and as nobody until then. ResolvedActor carries that standing, so the
avatar draws a former member as a plain person, without initials, and
stays decorative while the name is pending. resolveAssigneeId waits for
the agents and automations too, and the activity resolves an id that ran
on the task as an agent (Deleted agent once it is gone), and a bare
reviewer id as a person.

Sentences get their own wording rather than a label in a name's place:
the card's chip reads "Waiting on a former member", an automation's
review line "…waiting on a former member." and a shared chat's byline
"Shared by a former member"; while the directory loads the chip says
Needs review and the byline holds a placeholder.

The label is one key, common.formerMember, in en, de and fr; the three
copies the competences page, the API key owner cell and the skill
attribution read are folded into it. The tasks manual suite gains
TASK-F96, its component half is listed in reference/automation/tasks.md,
and the members guide says what tasks show after a removal.

Closes #3788
Task: TALE-34
AGENTS.md is the contract every tale-project repository carries, and
tale-project/ops now lands its autonomous cycle's work on a merge train
as tale does. The shared file names the train as the one exception to
landing straight on `main` (a task branch off `train`, squashed onto it
once reviewed, and one pull request per train into `main`) and keeps
`train` and `train-*` for it. ops carries the same text since ed4b40f7.
A resumed Claude Code task conversation kept the agent's and the
project's instructions it recorded when it started. The pinned CLI
(2.1.285) records its whole system prompt, --append-system-prompt
included, as a prompt snapshot in the transcript, and a resumed process
sends that snapshot until the session compacts. The task host restated
the current instructions only on Codex, inferred from the instructions
slot's configKey, so a standing role followed superseded rules for
hours after a change.

Each harness's resume slot now states which instructions a resumed
conversation reads on its pinned CLI, recorded or current, and the
schema requires that fact wherever a harness delivers instructions.
Codex and Claude Code (with its compact variant) keep the recorded
ones, so their resumed turns open with the existing Tale instructions
update. Hermes, OpenClaw, OpenCode, Pi and Qwen Code read each exec's
instructions; each was observed against a local stand-in for its model
API. Cursor is handed no instructions, and Gemini never resumes.

Closes #5135
Task: TALE-238
From v0.5.94 on, Tale ships two lines at once. `main` is the stable
line (0.5.x, next 0.5.95) and takes fixes alone through the fix train
`train`. `release/0.6` is the feature line (0.6.x, next 0.6.0): `main`
plus everything else, landed through the feature train `feature-train`
and rebased onto `main` whenever `main` moves, so every fix reaches it
without a merge. The repo contract says which change goes where, the
CI guide how both trains land, and the release guide that only the
stable line is released until the release lane learns the second.
A gateway that serves an OpenAI reasoning model calls the vendor's
Responses API and converts the stream back into Chat Completions.
Bifrost's conversion turns the events that close a function call
(response.function_call_arguments.done, response.output_item.done)
into empty deltas, so a call whose arguments arrive only there, as the
OpenAI Codex backend sends them at times, reached the chat with no
arguments, and web_fetch answered that it needs a url.

Direct chat now asks a gateway (a custom OpenAI-format provider, or
one that lists its models from its own endpoint) on its own Responses
API for a model whose tools the vendor serves only there, outright or
with any reasoning effort. The closing events pass through that API
untouched, and the reader takes the complete arguments from them. The
top effort step is asked as xhigh, which GPT-5.5 and 5.6 take.

A gateway that refuses that request before streaming (400, 401, 403,
404, 405, 415, 422, 501) is asked on Chat Completions in the same
round; once Chat Completions takes it, later rounds go there for 15
minutes. A Chat Completions round that settles a call to a tool which
requires input with no argument bytes at all moves the model to the
Responses API for a day, which covers models the shipped catalogs do
not know yet; a Responses round only that picked, which then fails on
the stream, sends it back. Both memories are kept per organization,
provider, base URL and model.

Checked against a local Bifrost (the v2.2.4 gateway image Tale ships)
whose upstream sends arguments only on the closing events: Chat
Completions loses them, the Responses API keeps them, and the direct
call recovers either way.
The release runbook said a candidate receipt is "retained for 90 days"
and expires "after 90 days". 90 days is only what both uploads request
(retention-days: 90 in build.yml and release-candidate-receipt.yml).
GitHub set every receipt of the candidate validated on 2026-09-30 to
expire 30 days after its run was created, and within five hours of that
none of its runs listed one any more.

Step 2 now calls 90 days the requested retention, makes the artifact's
expires_at the deadline, and shows how to read it while a candidate
waits for its tag. The failure section says a missing or expired
receipt leaves the gate blocked, that an expired receipt can vanish
from its run ("kept no candidate receipt" for a run that passed), and
that the remedy is a fresh validation of the same SHA under the release
lease, after which the gate decides eligibility again.

The upload settings, artifact access and the gate are unchanged. Why
GitHub kept the receipts 30 days rather than 90 was not established.

Closes #3971
Task: TALE-45
A Destroy attempt now settles only the row it names. While it deletes, a
host's failed create or the watchdog's expiry can end that row without
either lock, and a turn may then open a fresh incarnation under the same
session id; the attempt's settle destroyed that one too and revoked its
tokens. markSessionDestroyed and revokeSessionGatewayKeys take an
optional rowId: with it only that row is settled and only its parked
gateway key cleared, and the session's tokens go only while that row is
still the newest under the id, checked in the same statement. Every
other caller keeps the session-wide settle.

The teardown takes the job's abort signal and stops, by throwing, once
the lifecycle lock is taken, before the delete and before the settle, so
an attempt pg-boss failed past its expiry no longer deletes or settles
under a turn that resumed the row meanwhile.

A start's activation after a fresh create moves its row only while it is
still creating, or active after a sibling turn's resume, in the agent
hosts' and the crawler's shim alike; a row settled during the create
fails the start instead of being revived.

The comment at the resume's compare-and-set names the real writers and
their locks, and SBX-R9 and SBX-R11 say what a Destroy leaves alone.
Real-Postgres regressions in lifecycle.integration.ts cover all three.

Closes #4106
Task: TALE-60
@tale-code-bot tale-code-bot added the merge-train A merge train's pull request into main label Oct 30, 2026
@tale-code-bot
tale-code-bot enabled auto-merge (rebase) October 30, 2026 15:48
The List variant of "hands focus back to a task carried out of its
window and into another status when the drag is cancelled" walks 32
keys (Space, then 31 ArrowDown), and each waits for a new live-region
line. The Board variant walks 14 keys in 8 to 9 s on CI, so the List's
walk outlasts vitest browser mode's 15 s default on a loaded runner: it
timed out on main's own Checks run (41029274876 on b2560c2) and on
this train's first Checks run (41084158949, job 124160783119), and
passed only once in the runs that executed it. It now carries the
30 s ceiling that board-column's 25-step Tab walk already has.
"opens what changed in a node picked on the graph" waits up to 10 s
for the node panel to settle, because the suite runs beside heavy ones,
but the test itself kept the UI project's 5 s default and so was ended
first: it timed out at 5,019 ms in UI (platform 2/4) on this train
(Checks run 41086189702, job 124168210054) with the code under test
unchanged since it passed on the cut, and the same way on #5134's
first head. Its ceiling is now 15 s, room for its own wait.
@tale-code-bot
tale-code-bot merged commit 49ce42f into main Oct 30, 2026
119 of 121 checks passed
@tale-code-bot
tale-code-bot deleted the train-20261030-1548 branch October 30, 2026 16:56
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.

2 participants