You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The composer's menus and insertText hand strings to the editor as HTML: a model-written name or a site's title arrives in the draft with markup and line breaks #739
Three places put a string into the composer's draft by handing it to the editor as HTML, so markup and raw line breaks inside the string are parsed rather than inserted as text:
the @ menu's skill rows and the slash palette insert /<name> (src/renderer/src/composer/mentions/AtMenu.tsx, src/renderer/src/composer/SlashPalette.tsx);
insertText on the composer's handle (src/renderer/src/composer/editor/controller.ts, reached through insertComposerText in src/renderer/src/stores/composer.ts), whose callers pass: a skill's name ("Use in chat"), an agent's name, a design system's "ask to adopt" line built from an artifact's title, and the mark-up tool's "Add to chat" line built from a page's title or address.
A skill's or a command's name comes from a file a model can write; an artifact's title is written by a model; a page's title and address are written by a site. Each can hold <br>, <p> or a raw line break, which then become structure in the person's draft that the person did not type.
Found by the review of the grant reader's rule on the UX wave's U1c link (the builder's table of every way text enters the draft). It forges no grant: since that link, the serialiser writes no line that reads as a consent outside a pasted frame, whatever put it in the draft. What is left is hygiene: text of another party's wording arriving in the draft with structure of its choosing.
Wanted
insertText and the two menus insert text nodes, never an HTML string.
A name or a title that is by its nature one line has its control characters replaced before it is inserted (the mention's writer already does this for a path and an agent's name).
The @ menu leaves out a path that holds a control character (today its mention is written with a replacement character and names no file).
Acceptance
A unit case per inserter: a name or title holding <br>, <p>x</p> and a raw line break arrives in the draft as one line of literal text.
No change to what a person sees for ordinary names and titles.
Activity
Composer inserters: red cases, names and titles enter the draft as ma…
SSFSKIM commentedon Nov 20, 2026
[board] in-progress: batch 7, group A
Composer inserters: text nodes, names and titles on one line, no path…
Tests: type the draft's JSON nodes the new cases read (#739)
Red cases: Edit prompt offered for a turn an answer opened alone (#714)…
Edit prompt: not offered, and never answered, for a turn an answer op…
SSFSKIM commentedon Nov 20, 2026
[board] in-review: batch 7, PR #804