Skip to content

feat(studio): annotations for HTML sources via sidecar file #16

Description

@LeadcodeDev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions