rules/chat-message-indicators.md
The <dyad-status> tag in chat messages renders as a collapsible status indicator box. Use it for system messages like compaction notifications:
<dyad-status title="My Title" state="finished">
Content here
</dyad-status>
Valid states: "finished", "in-progress", "aborted"
moduleId: 'vs/editor/editor.main' or offline cdn.jsdelivr.net failures. For pure helper logic, extract the helper into a small .ts module and test that directly; when testing DyadMarkdownParser, mock ../preview_panel/FileEditor.<dyad-status> body XML, remember escapeXmlContent escapes element text such as </> but leaves quote characters unchanged. Expect <tag attr="value">, not <tag attr="value">, unless the value was escaped as an XML attribute.