Goal: the annotation workflow works for HTML-dialect scenarios — today it is explicitly skipped (editor/annotations.rs:87-94).
Design: persist annotations in a <name>.annotations.json sidecar next to the HTML source; loader/studio merge them on read; apply-annotations skill updated to look there.
Invariants: JSON scenarios keep inline annotations; sidecar is created lazily.
Acceptance: adding a comment on an HTML scenario persists across reload; .claude/skills/apply-annotations documents the sidecar.
Files: crates/rustmotion-studio/src/editor/annotations.rs, scenario/*, crates/rustmotion/src/loader.rs, skill doc.
Verify: cargo test --workspace && cargo check -p rustmotion-studio
Goal: the annotation workflow works for HTML-dialect scenarios — today it is explicitly skipped (
editor/annotations.rs:87-94).Design: persist annotations in a
<name>.annotations.jsonsidecar next to the HTML source; loader/studio merge them on read; apply-annotations skill updated to look there.Invariants: JSON scenarios keep inline annotations; sidecar is created lazily.
Acceptance: adding a comment on an HTML scenario persists across reload;
.claude/skills/apply-annotationsdocuments the sidecar.Files:
crates/rustmotion-studio/src/editor/annotations.rs,scenario/*,crates/rustmotion/src/loader.rs, skill doc.Verify:
cargo test --workspace && cargo check -p rustmotion-studio