Repository navigation
chore: feature train 20261031-1643 - #5221
Merged
Merged
Conversation
web_fetch read a page whose content a script builds in the browser (a TED notice, an app's empty mount point) as an explained "needs a browser" failure. It now retries such a page once through the crawler's render lane: one sandboxed browser session for that page, against the organization's render-session limit, created by the member who asked and introduced as the chat (TaleAssistant), never as the crawler's TaleBot. The rendered page is read for its main content and the result says "rendered": true. A spent render limit, a failed render, a lane that stopped before the page and a page still empty once rendered each return the explained failure with what the render met. A bot check, a site's empty refusal (blocked), an empty page and a page that reads as sent are never rendered; the plain GET's SSRF and redirect checks still decide whether a page may be read at all. The render lane's three session verbs move from the crawl shim into one table (domains/sandbox/render-lane-shim.ts) that the crawl and the chat shims both spread, and the chat reachability gate takes the crawl gate's session_exec exclusion. The render lane takes an optional creator and User-Agent; the crawl keeps system:crawler and TaleBot. Closes #5183 Task: TALE-274
A grant in the competence register can name a team instead of a member. The team's members hold its platform capability while they are in the team, members who join later included; leaving the team or the organization, revoking the grant or deleting the team ends it. Only a membership an owner or admin made carries a team's grants. The admin door (POST /api/app/teams/:teamId/members) records it in app.admin_added_team_members, keyed by the teamMember row, and every door that removes a membership drops the record. A membership that SCIM, SSO group sync or an invitation made carries no record and confers nothing, so an identity provider never confers a right. Migration 0226 makes competence_records.user_id nullable and adds team_id, with a check that exactly one holder is set and an index that keeps one live grant per team and competence, and it records the existing memberships except the identity provider's. holdsCapability, mayCreateApiKeys and mayConnectAgentIn resolve a member's own grant or a grant of a team they were added to by an admin through one SQL fragment, with the expiry checked in SQL, so an expired grant of a member's own no longer hides a live team grant. A team holds platform capabilities only, and a team the identity provider manages cannot be chosen (COMPETENCE_TEAM_CAPABILITY_ONLY, COMPETENCE_TEAM_SYNCED, COMPETENCE_TEAM_NOT_FOUND). The grant dialog offers a team. The register lists a team's grant with a Team badge, or as Deleted team once the team is gone, and says why it revoked a grant on its own. The team delete confirmation counts the team's grants, and the audit log records each grant and revocation with the team's id and name. The competences and teams docs (en, de, fr), the governance spec and the manual suite cover it, and the integration lane proves it against Postgres, migration included. Closes #5190 Task: TALE-280
The backend's metrics said nothing about agent runs that wait for room: how often a run parked and why, what woke it, which wakes failed, and which runs failed by failure code, so an out-of-memory kill could only be matched to a failed run by its timestamp. Each park, wake and failure now adds to a running total in app.agent_run_counters (migration 0227) once its own transaction has committed; a total that cannot be written is logged and never fails its event. The events happen in worker jobs, which serve no /metrics, so the API restates the totals on every scrape as tale_backend_agent_run_parks_total by waiting reason, tale_backend_agent_run_wakes_total and _wake_failures_total by source (release, scheduled, watchdog) and tale_backend_agent_run_failures_total by failure code (resource_exhausted for out of memory), and samples tale_backend_agent_runs_waiting by reason from the predicate the readers use. Every label comes from a closed set, never an organization, task or run id. A replica that cannot read the totals serves none of them: one scrape target can reach several replicas, and an older, lower total would read as a counter reset. The Prometheus and Grafana guide (en, de, fr) documents the series, four dashboard panels and an alert on runs that ran out of memory, and says to combine replicas with max, never sum, since every replica reports the same totals; the operations page names the new signal. The integration check proves the series on /metrics and that the run ledger's parks, wakes and failure add to the totals (TASK-R86). Closes #5150 Task: TALE-246
From Settings > Members an owner or admin opens a member's Rights: each platform right the member holds or lacks, and why. The reasons are the ones the server weighs, namely the model endpoints switch, the skill sharing policy, the role, the member's own grant in the register, and the grant of each team an admin added them to (who granted it, and until when). GET /api/app/governance/members/:userId/rights (owners and admins; 404 MEMBER_NOT_FOUND for a user who is not a member) asks each right's door with the member as the caller, so each verdict is the door's own answer, and reads each reason through the function that door decides by; the grants are the records holdsCapability reads. The four doors' role rules become exported role-standing functions that the doors themselves call, so nothing is decided twice (GOV-R21). Each right's switch is the member's own grant in the competence register: on opens the grant dialog with the member and the right fixed and asks for an expiry, off asks the revoke confirmation. Both go through the register's own routes, so the admin gate and the audit are unchanged. A team's grant stays the team's, named among the reasons. The members and roles and the competences docs (en, de, fr), the manual boxes and the references describe it. Closes #5191 Task: TALE-281
With "Process prompts only in the EU/EEA" on, every model chooser now offers only models whose endpoint the rule lets through. The endpoint judged is the one the call would reach: the credential's endpoint, else the provider's base URL, and on the model API the gateway's upstream. Part 1 (GOV-R17) still refuses each call at resolve time; this change narrows what people are offered, so nobody picks a model only to have it refused. - The governed chat-model walk drops refused models, so the chat composer, the arena columns, the agent, automation and standard-agent model selects and the voice-reply flag all follow it. Auto and the default-model pin choose only among the kept models, and chat titles and Improve with AI skip refused candidates. - The model API's listings (GET /api/v1/openai/models and the model endpoints page) leave out what the door would refuse. Asking for a refused model by name still answers part 1's 403 and audit entry. - /providers/catalogs marks each provider the rule refuses, and the default-models editor leaves its models out. The image and transcription settings list only kept models. The embedding recommendations carry the rule, and the data residency page refuses an embedding provider whose endpoint the rule refuses. - Each list says when it hid models (modelsHiddenBy: eu or unreadable), and each chooser shows one line saying why, in en, de and fr. While the policy cannot be read, the lists offer no model. - With the switch off, every list is what it was before. Spec rule GOV-R22, the content-models docs (en, de, fr) and manual box GOV-F78 describe it. The vision model setting is unchanged. Closes #5185 Task: TALE-275
The register under Settings > Governance holds two kinds of entry: the platform rights such as Call models over the API (the tale:* slugs) and the qualifications a review can require. Both were called competences, and the rights also platform capabilities. The UI, the API's refusal messages and the docs now call them Rights and Qualifications, an entry a grant, and the page Rights and qualifications (Rechte und Qualifikationen, Droits et qualifications). - The platform catalogs in en, de, de-CH and fr, including the strings of team grants and member rights, and the register's tests. - The refusals of the register, the model endpoints, the REST actor, the notification export, review qualifications, agent consent, the API key gate, MCP settings coverage and the workspace tools bridge, and six OpenAPI descriptions (the API fingerprint is unchanged). - The glossary gains feature_rights and feature_qualifications. A guard in messages.test.ts pins the title, nav entry and picker groups and refuses the retired names in every en, de and fr platform catalog. - The docs page moves to platform/admin/governance/rights-and-qualifications in en, de and fr, and the old slug redirects to it. Every page that linked it or named a competence says right or qualification, and the German API reference says Recht and Zuweisung. - The manual suites and references use the new names; box IDs stay. Message keys, the settings route, /api/app/governance/competences and its fields, the tale:* slugs, the COMPETENCE_* and REVIEW_COMPETENCE_REQUIRED codes, the competence_* audit actions, log lines and audit reasons stay as they are. The screenshots that still show the old name are retaken in #5200. Closes #5192 Task: TALE-282
The Cloud data-residency guide gains a section that shows, for each kind of model endpoint, where a prompt is processed and whether the EU/EEA processing switch of the model access policy lets a call to it through. It covers the EU endpoints of OpenRouter, OpenAI and Mistral, the other hosts of those vendors, Azure OpenAI by deployment type (Standard or Regional Provisioned in an EU/EEA region, Data Zone EU, Global or Developer) and a custom or self-hosted server. It walks an admin through moving the organization onto EU endpoints, attesting hosts and checking a reply's Region line in the message information dialog. It says that the model pickers offer only models the switch lets through, lists where a refused call shows (chat, automations, transcription and voice output, knowledge, the model API and the audit log), and names the three parts that do not follow the switch yet: the picker for the model that reads images, the model traffic of agent runtimes in a sandbox and the moderation provider of Guardrails. The self-hosted data-residency guide gains the operator's view: the model-access.yml file and its euProcessing block, how an attested host is written, that the file is read at every model call, and that an unreadable file refuses every model call and empties the pickers. The switch's reference in the content-models page now says it admits the vendors' EU endpoints and the attested hosts, and that those EU endpoints and Data Zone EU may also process in Switzerland, and OpenRouter's in the UK, with a link to the Cloud guide's table. Every change is made in en, de and fr. Closes #5187 Task: TALE-277
Opening a chat thread read every message it holds, and each turn read them all again: a settle, a turn's start and the idle after streaming each invalidated the whole message list. The thread's messages route now answers its newest 200 rows, or the page before a beforeOrder/beforeStep cursor, with the threads store's keyset; the tail reader takes the organization, every role and the columns chat shows, and a half, malformed or out-of-range cursor is refused. The threads spec states the reading rules its tests hold. The transcript opens on that page and walks back a page at a time with "Show earlier messages", the task history's way back: the row being read holds still while the older rows land above it, and the button keeps the keyboard's focus while it reads. A settle puts the row its event carries in the cached page instead of re-reading the thread; a settle without a row, or one racing a re-read, and the turn's own nudges re-read the newest page only. The older pages read stay in front of it when it reaches them; a page that no longer reaches them stands alone, so no row is skipped. Export and the task drafted from a chat read the whole thread, which a settle marks for a re-read. Rows read back are never spoken as fresh replies. Closes #5154 Task: TALE-250
The bell's unread count probed every notification of the organization and Read all wrote one read row per notification, so both grew with the organization's whole history. A watermark per person, organization and category (migration 0228) now names the newest notification read up to: Read all moves it, the count scans only what came after it, and notification_reads keeps only what was read one by one above it. Security notifications keep their own watermark, so a member's Read all never marks the alerts only admins see, and a member can no longer mark one by id. Read all leaves the last five minutes to read rows, so a notification still being written arrives unread. Erasure drops the subject's watermarks with their notifications. Spec cards NOTIF-R6..R8 name the rules; unit tests and an integration lane prove them. Closes #5157 Task: TALE-253
The guardrails' moderation provider receives the text it checks, prompts and replies alike, yet Process prompts only in the EU/EEA did not hold its endpoint. While the switch is on, each round now checks the endpoint against the rule a model call follows (GOV-R17) before anything is sent: an endpoint that is neither a vendor's EU endpoint nor an attested host gets no text, the step fails with the error class eu_processing, the chain applies the policy's fail behaviour, and the refusal is audited as model_access.denied with the surface moderation, once per chat turn or model API request. A refusal never opens the provider's circuit; while the policy cannot be read, every round is refused. Test connection answers with the same sentence and audits the admin who probed. Saving an enabled moderation provider with such an endpoint while the switch is on, from Settings or the settings tools, answers 400 MODERATION_ENDPOINT_OUTSIDE_EU, which the panel shows as a sentence naming the vendor's EU endpoint or saying to attest the host first. With the switch off, nothing changes. The governance spec states the rule as GOV-R23; the docs, the switch's description and the manual suite (GOV-B28) follow, and the residency guides no longer list the moderation provider as not covered. Closes #5188 Task: TALE-278
The document search, the create-task fallback and the chat hand-over read every project the caller may read with listProjects, then sent the ids back as ANY(<ids>) or picked and counted in memory. Each now joins readableProjectsSql in one statement. The document search left-joins the readable projects with archived ones included, so a project's files are reached through the join, an archived project's files sort last and say so (#2999), and hub files keep their team rule. The create-task fallback reads one row, the most recently updated active project open to the whole organization that the caller reads, else the most recently updated one. The hand-over facts read the names of the five most recently updated projects with an agent and count those with and without one; the note counts the ones it has no name for, and canAddAgents still follows the editor roles. Unit tests pin each statement for [PROJ-R1] and [PROJ-R2] viewers, and the project reads check proves the three readers for each viewer on Postgres. The automation readers, the knowledge scopes and the MCP and settings lists follow in #5201, #5202 and #5203. Closes #5193 Task: TALE-283
The chat pickers and the project breadcrumb switcher read every project the caller can read (GET /api/app/projects, no LIMIT), and Home's features saw only its page of 100 projects. They now offer Home's page of 100 projects, the pinned first, and while that page does not hold every project, the server's name search for what is typed (debounced, at most 20 hits, archived ones dropped). A selected project past the page is read by id: the move menu's current project, the chat header's project chip and the project Create task from chat starts in. The chat route no longer prefetches every project. Home reads the project of a chat past its page by id for the row's marker, finds a chat by the name of its project through the server search, keeps the open or remembered project's row in its list, and drops a remembered project only once its own read answers it gone. A task's identifier comes from the key the task read stamps. The automations and settings pickers follow in #5204 and #5205. Closes #5194 Task: TALE-284
An owner or admin can now change when an active grant of a right or a qualification expires and the evidence behind it from Governance > Rights and qualifications, instead of revoking the grant and granting it again. PATCH /api/app/governance/competences/:recordId takes expiresAt (a future epoch ms, or null for no expiry), evidence (null clears it), or both. It keeps the admin gate and audits a refused non-admin as competence_update_denied. It locks the row and refuses a revoked grant (COMPETENCE_ALREADY_REVOKED), an expired one (the new COMPETENCE_EXPIRED, 409), another organization's (404) and a past expiry. Each real change writes one competence_updated audit row with the old and the new expiry and the changed fields, never the evidence text; a save that changes nothing writes nothing. A team's grant changes the same way, and its audit row names the team as its grant does. The rule is GOV-R18 in the governance spec, and the real-Postgres check changes a member's grant and a team's. The register offers a Change button on each active grant, a member's or a team's. Its dialog keeps the current expiry or picks Never, 30 days, 90 days or 1 year from the save, edits or clears the evidence, and keeps a refusal beside the fields while the register reloads. The grant dialog shares its expiry choices. Messages are in en, de and fr. The rights and qualifications docs in en, de and fr describe the change instead of revoking and granting again, and the manual suite gains GOV-F73 and GOV-B24. Closes #5189 Task: TALE-279
With Process prompts only in the EU/EEA on, a coding agent in a sandbox now meets part 1's rule before it starts, on both lanes, and its sandbox gets no key or credential for an upstream the classifier refuses. The gateway provisioner judges every allowed model ref by the record the gateway would call it through, before any credential resolves: the built-in connection at the vendor's own endpoint for a gateway standard name, otherwise the connector's base URL, or its coding-agent endpoint on the Anthropic lane. The model API's door now judges by the same function. The task and automation hosts judge the endpoint a subscription credential names before the harness gets the secret. A refusal is audited as model_access.denied with the task or automation surface and settles without a retry, as agent_model_missing for a task and endpoint_refused for an automation step. The automatic vision model passes over providers the rule refuses. With the rule off nothing changes. The guard no longer exempts the provisioner or the agent hosts, the retained 0.5 agent flow keeps its released helpers, and GOV-R17, the docs in every locale, the policy schema and the manual suite (GOV-F79) describe the sandbox lanes. Closes #5186 Task: TALE-276
GET /api/app/chat/threads read every thread of the caller in one
unbounded query and, on every call, the thread ids of every generation
of the whole organization. Home and the chat surface read it on load and
again after each stream settles or idles.
The list now answers keyset pages ({page, isDone, continueCursor}):
pinned threads first (pinned_at_ms, thread_id; new partial index
thread_metadata_pinned), then the rest (updated_at_ms, id on
threads_org_user), 50 a page by default and 100 at most. Each row marks
itself generating with an EXISTS on app.generations for its own thread,
so a call reads one page of the caller's threads and only their
generations. A bad cursor or limit answers 400.
The client reads the list through the paginated adapter. Home asks for
the next page as the end of its stream comes into view, and again while
a search or project hides every chat loaded so far, with a spinner and
a status for screen readers; a refetch after a stream settles reads the
loaded pages only. A page that fails after the ones before it keeps
those listed, is named by the chats notice, and Try again asks for that
page alone. The chat surface falls back to the open thread's own read
for a thread no loaded page holds yet. An answer in the old {threads}
shape reads as one last page. The load tool reads the first page.
Closes #5153
Task: TALE-249
The automation readers read every project the caller may read, archived ones included (readableProjectIds, an unbounded listProjects), then sent the ids back as ANY(<ids>) or kept them in a set to filter runs, installations and templates. The run listings (the runs page, an automation's runs and the trigger panel's runs) and the catalog listings (the automations list, the app's list and the template usage) now join readableProjectsSql, archived projects kept, in the statement that reads their rows. A binding save keeps the bindings outside the caller's view through the same join. A check of named projects asks readableProjectsAmong for those alone: an automation's installations, a binding save's and a start's projects, and a template's project answer. readableProjectIds is gone. The two helpers move to projects/readable-projects.ts, so the automations store imports them without the projects service, whose imports lead back to the store; the service re-exports them. An owner or admin still reads every project's runs and installations, and a member those open to the organization or shared with a team of theirs, archived ones included. A disabled seat now reads no project's, where the id list gave it those open to the organization (PROJ-R2); the organization's runs and automations stay visible to it. Unit tests pin each joined statement and its grant for an owner, a member and a disabled seat. The real-Postgres check in project-visibility.integration.ts reads the runs and the catalog back for each of them. Closes #5201 Task: TALE-286
The knowledge routes' scope and the chat knowledge scope (chat tools, MCP door, sandbox bridge) read every project the caller may read and sent the whole id list to the knowledge database as ANY(<ids>). Both now read, in one statement through the readable relation, only the readable projects that hold a document (readableProjectsWithDocuments): a knowledge row's project is its document's, so a project without one reaches no row. The routes keep active projects; the chat scope keeps archived ones, labelled. A disabled seat or a gone member reads none. A chat check of one project (assertProjectAccessForChat, listForAgent, a project thread's own project) asks about that project alone. The chat's work legs, which read tasks and boards, keep their own project read (resolveWorkProjectsForChat) until they join the relation (#5207). Closes #5202 Task: TALE-287
list_projects read every project the key holder may read, filtered the names in memory and read every automation of the organization. It now reads one page of at most 50, newest first, through the readable relation, the name searched by the database with its LIKE characters escaped, and reads only the automations installed in that page's projects. A signed keyset cursor pages on (nextCursor, given back as cursor), redeemed only with the query and archived choice that answered it. The get_settings listings of project instructions and of the agents' instructions, tools and model read the caller's whole project list on every page, and the agents one project at a time. They now read one keyset page in one statement joined to the readable relation, archived projects still left out, cut by the size of the answer, with a signed cursor at the last resource answered. The configurations and hashes a listing answers are built by the helpers the single reads use. listProjectsPage joins readableProjectsSql instead of repeating the visibility clause, and likeContains moves to the shared SQL helpers. Unit tests pin each statement for an owner [PROJ-R1], a member and a disabled seat [PROJ-R2]; project-reads.integration.ts and the MCP integration lanes read them back on Postgres. The contract moves to 3.52.0. Closes #5203 Task: TALE-288
Knip fails Checks on this train: chatCatalogEndpoint in backend/core/lib/providers/chat_catalog.ts is exported, but only chatProviderRefusedBy and withoutRefusedChatHits in the same file call it and nothing imports it. CI ready (Checks) needs the knip job. The function is now private to its module. Its behaviour is unchanged: the EU/EEA gate still judges both callers on the endpoint it names.
Knip fails Checks on this train: countWokenAgentRuns and countFailedAgentRunWake in backend/domains/tasks/agent-run-counters.ts are exported, but only countedAgentRunWake in the same file calls them and nothing imports them. CI ready (Checks) needs the knip job. Both are now private to their module. Every wake is still counted through countedAgentRunWake, unchanged.
Lint fails Checks on this train: consistent-return flags say() in member-rights-dialog.tsx, whose switch over MemberRightReason has no default, so to the linter the function can end without a value. The switch gets the exhaustive default the app uses elsewhere: a reason kind added later fails the typecheck instead of rendering nothing. Every reason renders as before.
Knip fails Checks on this train: prependChatMessages and upsertChatMessage in app/lib/backend/chat.ts are exported, but only loadEarlierChatMessages and applySettledChatMessage in the same file call them and nothing imports them. CI ready (Checks) needs the knip job. Both are now private to their module. Loading earlier messages and applying a settled row behave as before.
The UI run fails on this train: member-rights-dialog.test.tsx (TALE-281) expects the register's admin refusal to say "grant or revoke rights and qualifications", but TALE-279 made that message name a change as well, in en, de and fr, now that a grant can be changed in place. CI ready (Checks) needs the UI job. The test expects the current English text. The dialog behaves as before, keeping the question and saying why when the register refuses the revocation.
Knip fails Checks on this train: THREAD_PAGE_DEFAULT in backend/domains/chat/threads.ts is exported, but only the thread list reader in the same file reads it and nothing imports it. CI ready (Checks) needs the knip job. The constant is now private to its module. The thread list still pages 50 rows by default, clamped to THREAD_PAGE_MAX as before.
The platform unit run fails on this train: spec.test.ts's project routes fake answers the installations read with a binding row that has no readable column. TALE-286 made that read, as the caller sees it, select whether each installation's project is readable, so the fake's one installation counts as unreadable and GET /projects/p-1/automations lists no automation where the test expects billing/dunning. CI ready (Checks) needs the Unit (platform) jobs. The fake's binding row says its project is readable, as the joined read answers for a project the caller may read. The route is unchanged.
Knip fails Checks on this train: resolveWorkProjects in backend/domains/chat/shim.ts is exported, but only the resolveWorkProjectsForChat handler in the same file calls it and nothing imports it. CI ready (Checks) needs the knip job. The function is now private to its module. The chat tools' work legs still read every project the turn user reads, archived ones included.
Backend integration fails on this train: the members list + me context check finds 3 members where it wants the owner alone. TALE-253's checkNotificationReadWatermarks signs up a throwaway admin and member in the shared organization and never removes them, and checkIdentityDomains runs after it. CI ready (Checks) needs the Backend integration job. The lane now deletes both memberships when it is done, as checkAuthAndSse does with its own, so the later lanes find the organization's members as before.
Backend integration on this train dies after the webhook redelivery check with an uncaught PostgresError (42601, syntax error at end of input). TALE-286 made listTriggerRuns build an empty sql`` fragment when no viewer narrows the read, and the lane's EXPLAIN-prefixing tag ran every call it got as a query of its own, so that fragment went to Postgres as "EXPLAIN " alone, and its rejection had no handler. The tag now builds each call as an ordinary lazy postgres.js query, so the store's nested fragment is inlined as before, and prefixes EXPLAIN only when a query is awaited: the store's outer read, with its values.
Backend integration fails on this train at the competences check that an active grant changes in place, one audit row per change. The lane read its two competence_updated audit rows ORDER BY chain_seq, but the sealer chains audit rows off the write path, so right after the edits both rows can still be unsealed with a NULL chain_seq, and Postgres returned the open-ended edit first. The lane now reads them oldest ts first, then by id, the order the sealer chains them in, so the check no longer races the sealer.
This was referenced Oct 31, 2026
Closed
Closed
Closed
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Cut: c3d2f00
The third feature train of the 0.6 line: the commits
feature-traincollected on top ofrelease/0.6(7afe2f10e1ca0059b3f7a01949296abc7198bcef, which holdsmainat8acb7b827d8a2ea96876105feaef2de1eba85cec), oldest first:Task keys of their
Task:lines: TALE-274, TALE-280, TALE-246, TALE-281, TALE-275, TALE-282, TALE-277, TALE-250, TALE-253, TALE-278, TALE-283, TALE-284, TALE-279, TALE-276, TALE-249, TALE-286, TALE-287, TALE-288.Known before departure, from the role's own runs on this cut: Knip finds seven exports nothing imports (
prependChatMessagesandupsertChatMessageinapp/lib/backend/chat.ts,chatCatalogEndpointinbackend/core/lib/providers/chat_catalog.ts,resolveWorkProjectsinbackend/domains/chat/shim.ts,THREAD_PAGE_DEFAULTinbackend/domains/chat/threads.ts,countWokenAgentRunsandcountFailedAgentRunWakeinbackend/domains/tasks/agent-run-counters.ts); the platform's lint finds one error (the member-rights reason switch inmember-rights-dialog.tsxis not exhaustive); and two unit tests fail (scripts/openapi/spec.test.tson '/projects/p-1/automations', andmember-rights-dialog.test.tsxon the refused revocation). All paths are underservices/platform/.The role pushes eight fix commits for them onto this branch right after departure. With them, Knip, lint, format,
lint:manual,lint:links, the affected unit and UI tests and the fast gate pass on the role's worker; the CLI and web builds could not run there (no network) and are left to this pull request's checks.The feature-train role lands this pull request by rebase once every check passed, so each task stays one commit on
release/0.6. It ships with 0.6.0.