From 4a73655491fdb00240a6ef6ea8cbfb37939465d5 Mon Sep 17 00:00:00 2001 From: Dylan Piercey Date: Fri, 25 Sep 2026 11:21:47 -0700 Subject: [PATCH] docs: fix misparses in the parser and treat event changes as breaking Co-Authored-By: Claude Opus 5.5 (1M context) --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 338fbab..f6cda94 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,6 +2,10 @@ An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values +## Conventions + +When the parser misreports a structure, fix it here rather than working around it in prettier, the compiler, or language-tools. Changing which events existing input produces breaks every consumer: treat it as a breaking change. + ## Agent feedback Anything actionable but out of scope for the current task (suspected bug, cleanup, perf or size win, tooling friction, confusing code) must be filed in [`agent-feedback/`](agent-feedback/README.md) before finishing. Never drop it silently. Never fix it inside an unrelated diff.