Repository navigation
Open
Labels
agent-readyMaintainer-approved for the Tale agent fleetimprovementImprovementpriority: lowLow priorityservice: platformPlatform service
Description
Summary
A coding agent can now be reached from the editor ("Edit with your coding agent", #4959), from a failed run ("Fix with your coding agent", #4965) and from the Create menu (#4966). The editor's Problems list, which shows what the engine finds in the document on screen, has no entry. The first design for the agent entry points had a per-problem action carrying the problem's code and JSON pointer; it was left out because of the points below. This issue records the evidence and the options. It states no preference.
What the repository says (main at 8a0732529c)
- What Problems checks.
services/platform/app/features/automations/components/automation-editor.tsx:708-723: "What the engine finds in the document on screen", throughuseAutomationValidation({ document: rawDocument, isDraft: draft !== null, … }). The draft is component state (:457), so the list reads the draft when there is one and the saved document otherwise. - Where it is shown. The dock under the canvas (
automation-dock.tsx:69-80, its filter is the panel'sactions), a sheet belowlg(automation-problems.tsx:130) and per node in the inspector (node-inspector.tsx:1278). - What a row is. In
IssueListeach row is a<li>holding a roving<button>that takes the reader to the problem, then anIssueDetail(packages/ui/src/components/feedback/issue-list.tsx:310-319,:497-531).IssueItem(:30-56) has no field for actions.IssueDetailhas anactionsslot (:126) thatIssueListdoes not fill. - What an agent reads.
get_automationreads a saved version: the latest, a number or "deployed" (services/platform/lib/mcp/args.ts:468-472).validate_automationtakes a document the agent passes in (:297-298).test_automationtakes a draft document or a saved name (:320-329). No tool reads the editor's unsaved draft, which lives in the browser. - What the dialogs can say.
PromptContextisgeneral | create | edit | run(services/platform/app/features/coding-agent/lib/prompts.ts:7-11); there is noproblemcontext. The edit prompt already tells the agent to check its work withvalidate_automation.
What was not examined
- How often the problems people see are in a saved version and how often only in an unsaved draft.
- How people use the Problems list while a coding agent is open.
- Whether a prompt could carry the draft's document, and the size it would reach.
Constraints any change would meet
- A problem that exists only in an unsaved draft cannot be seen by an agent that works from the saved version. A prompt would have to carry it (code, location, title), or the person would save first.
- A row is already a button. A second control per row needs an accessibility design for a roving list, and a new field or slot in
@tale/ui(stories, the design-system guide and tests). - For problems of a saved version, the editor's own button already reaches an agent whose first step validates that version.
Options (no preference stated)
- No entry. The editor's button and the agent's own
validate_automationcover it. - One action in the dock's header, beside the filter, that opens the edit dialog with a prompt listing the current problems (code, location, title).
- An action per row. This needs an
actionsslot onIssueItemorIssueListin@tale/ui. - Offer it only when the draft equals the saved version, so the agent sees what the person sees; otherwise say "save first".
- A prompt that carries the draft's document.
Questions
- Is a Problems entry wanted at all, given the edit button?
- For a draft with problems: save first, carry the problems in the prompt, or neither?
- Who should see it: the people who see the editor's button today (Owner, Admin, Developer)?
Related
Metadata
Metadata
Assignees
Labels
agent-readyMaintainer-approved for the Tale agent fleetimprovementImprovementpriority: lowLow priorityservice: platformPlatform service
Activity
yannickmonney commentedon Nov 14, 2026
Decision
The Problems list gets no coding-agent entry. The editor's Edit with your coding agent button stays the one way from the editor to an agent. Its prompt now asks the agent to check the latest version first and report its problems.
Rule: The Problems dock, its sheet below
lg, and the inspector's per-node problems offer no agent action:The edit prompt (
codingAgent.prompt.edit, en/de/fr) becomes:get_automation.validate_automationand report every error and warning with its code and location.save_automation, and ask before a deploy.The prompt always works from the latest version, because an agent saves on top of it.
@tale/uiIssueItem/IssueListget no actions slot.Answers
?version=n, the agent's check reports the latest version, which is intended.Rationale
validate_automationfinds, so an entry limited to saved versions repeats the edit button.@tale/uislot and an accessibility design for a roving list, for no new capability.Implementation
main):prompt.editin en/de/fr, keeping exactly one bracketed place.prompts.test.tscase. On the built prompt in each locale, it asserts thatvalidate_automationcomes before the bracketed place and that no{is left.CodingAgentButtondoc comment.pins.mdrow keyed by AUTO-F87.bun run checkis green.Cross-issue amendments (decisions taken together with #4976, #4975):