Boards sent to H3 carry their Annotation layer #133
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio#133
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#24
What to build
Boards sent to H3 carry their Annotation layer, as User Stories 88 and 89 and the spec say. In the spec's Architecture section, Boards are "flattened from the stored sketch and annotation layers".
CONTEXT.mdsays the Annotation layer "is composited on top by default".Today no Annotation marks reach H3.
Session::board_images(crates/studio-core/src/boards.rs:724) returns only the stored Sketch PNG. If the Panel is barred, it is fitted with bars first. The testboards.rs::a_panel_on_the_shots_canvas_flattens_to_its_sketchasserts this behaviour. As a result, the per-Shot "send clean sketch" toggle (board_clean) only changes the prompt text (prompt.rs:524drops the "arrows are directions" phrase), and every Board is already sent clean. The Notation read-backs still reach the prompt through the detailed description, so no direction text is lost. Only the image lacks the marks.Annotations are stored as structured JSON per Panel (Notation symbol, subject, direction), not as pixels. So the flattening has to draw each Notation glyph in its entry's colour onto the canvas. The draw has to be byte-stable, like Atlases, so a rebuilt Board doesn't cause false staleness.
Acceptance criteria
board_imagesdraws each Panel's Annotation layer over its Sketch, unless the Shot's clean toggle is ona_panel_on_the_shots_canvas_flattens_to_its_sketchwith tests for the composited image, the clean image, and byte stability