Skip to content

Epic: projects and agents in chat — choose them, talk to them, set them up, and show generated images once #5371

Open
9 of 12 issues completed

Description

@yannickmonney

Summary

Five items from the check of 2026-11-04 (#5367), decided and built together because they meet in the same places: the chat composer, the turn engine both chats and agent runs use, and a project's agents. Priority high: every part lands on the stable train.

Issue What changes
#5358 A generated image shows once: the tools say files show under the reply, and a reply's storage refs render as the files they are, never as a broken placeholder
#5362 A project chip in the composer: choose, change or remove a chat's project, before the first message or later (a move)
#5361 A project chat answers as one of the project's agents: its instructions, equipped skills and model; runtime, connectors, tools and secrets stay on tasks
#5364 A project's Default chat agent on General: the first agent created unless changed, or the assistant
#5363 Create and change projects and agents from the chat: the assistant drafts a card, the person applies it

How the parts fit

Children

Each child holds its evidence, the decision (2026-11-05) and what "done" means.

Follow-ups

Left open by the children:

Found while testing them, older than this epic:

Related

Sub-issues

Sub-issues

9 of 12 Issues completed
Loading 12 sub-issues

Activity

  1. added
    priority: high
    service: platform
    epic
    on Nov 5, 2026
  2. yannickmonney commented on Nov 5, 2026

    @yannickmonney
    ContributorAuthor

    All five children landed on the stable train as two commits:

    They close when the train's pull request reaches main. Each child's comment says what changed and which rules, tests and manual boxes hold it.

    Proof (on the rebased head):

    • Full backend:integration passed 2397/2397 checks across 295/295 lanes, including the new checkChatProjectAgents lane for migrations 0236 and 0237.
    • chat-agents.spec.ts (e2e) passed 6/6 with 3 workers, run twice.
    • The full platform server suite and the packages/ui unit suite are green. The platform client suite is green except 3 API-key expiry tests in api-key-create-dialog.test.tsx, which fail the same way on unmodified main (c3e38dc).
    • The fast gate (format:check, turbo run typecheck build) passed on both commits.

    Reviews:

    • An independent code and security review, twice. The first round led to the app-only scope, project-chat scope, /skill with agents, localized card values and shared caps; the second to the arena hand-over, failed-step output and name-leak fixes.
    • A hands-on UI/UX, accessibility and acceptance pass in the browser, twice. It covered keyboard menus, the Assistant pick, cards for shared-chat readers, phone layout, contrast and announced outcomes.
    • A German and French language review of every new string and doc paragraph.

    Docs: platform/chat/basics, platform/chat/files-and-skills, platform/projects/concepts and platform/projects/project-agents, in en, de and fr.

    Rules: CHAT-R40 to CHAT-R46 and PROJ-R26 to PROJ-R28.

    Left open, recorded in the chat spec's Not yet: an organization switch for the chat's proposal tools.

  3. tale-review-bot commented on Nov 5, 2026

    @tale-review-bot
    Collaborator

    Decision (the Lead, on board task TALE-234, the merge-train role): the two commits pushed straight to train at 04:54:55Z stay on the stable line. Nothing moves to feature-train. They ship in v0.5.101, not v0.5.100.

    The two commits:

    Why they stay on the stable line.

    • This issue says that every part lands on the stable train. The Lead's decision of 01:38Z follows it: feat(platform): let a project chat work with the project's agents, chosen in the chat #5361 (comment)
    • The merge-train role has a rule that moves a feat from train to feature-train. That rule is for a commit that reached train by mistake, and this one did not.
    • Migrations 0236 and 0237 only add: three columns (the NOT NULL one has a default) and one new table. An image from before keeps working during a rolling deploy.

    Why they ship in v0.5.101.

    • The v0.5.100 notes, 5846038437b2dba8582957dc510053bf58e128c3, have been on train since 03:15Z. They were written before these commits and say that the release adds no migration.
    • The release gate takes the notes commit only as the last commit of its merge-train pull request. So the next departure, from 07:39:54Z, is cut at the notes commit, and v0.5.100 ships without these commits (2026-11-06 UTC at the earliest).
    • 08ba476777636a8886d7ebc07c6b091ac7b4f069, 9112f9a12 and ff29eea34 depart with the train after that one and ship in v0.5.101. The earliest is 2026-11-07 UTC, since Tale makes one release per UTC day.
    • The v0.5.101 notes will describe the feature, with migrations 0236 and 0237 in its upgrade notes.

    The issues.

    What would change this. Say so here if the feature should wait for 0.6, or should go out with v0.5.100. For v0.5.100, its notes would be amended first.

  4. yannickmonney commented on Nov 5, 2026

    @yannickmonney
    ContributorAuthor

    A correction to the proof above, and four commits since.

    • The 3 API-key expiry failures did not come from main. They came from the client project in services/platform/vitest.config.ts, which nothing runs (test(platform): the client project in vitest.config.ts is a second jsdom suite that disagrees with the one CI runs #5381). Under vitest.ui.config.ts, the jsdom suite CI runs, all 27 tests of that file pass.
    • That suite also covers app/routes/**, which the earlier run left out. 6 tests there failed on this change: overview.test.tsx mocks the project query hooks without useProjectChatAgents. Fixed on train in f163a9c90.
    • 90c765441 makes two exports private again: this change had added them, nothing imports them, and Knip refused them.
    • 2472e545c: the API reference (en, de, fr) and the OpenAPI descriptions now say that a chat answers its API sends as the agent its owner chose in the app.
    • a32fb1586: a test from the train commit before this epic linked a docs page that redirects, which lint:links refused.

    On train at a32fb1586, these pass: Knip, lint, lint:links, format:check, the type check, the docs prerender, the jsdom suite and the browser suite. In the last two, one test each failed during the full local run and passed when run alone: version-compare-page.test.tsx and automation-editor.browser.test.tsx. Neither is part of this epic.

    The children's commits were rebased with the train at 08:05Z: 38d214ea6 (#5358) and 8d37319dc (#5361–#5364). The follow-ups, #5378–#5384, are listed in the description.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicpriority: highservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions