PaprikaPaprikaDocs
HomeGitHubPortuguês

Contribute

Feature backlog

Imported on 2026-11-21 from a capability list the maintainer collected from public sources about design tools built for AI agents. Work starts after the Go server and the WASM canvas evaluation are done.

Originality rule. The list is a reference for capabilities, not a spec to copy. Paprika keeps its own name, brand, look, document format, tool names and keyboard map. It doesn't copy proprietary fonts, assets or product names, and nothing here is reverse-engineered (see the invariant in .toolbelt/invariants.yaml).

Status: ✅ done · 🟡 partial · ⬜ missing. Priority: P1 next slice · P2 after · P3 later · Out out of scope for a local tool. fb#N points to an item in the agent feedback log.

#Batches

Batch 1 (the six items below) shipped on 2026-11-21 (PRs #16–#32), batch 2 on 2026-11-22 (PRs #71–#77). Batch 3 is on the local tb bus (docs/en-US/agent-bus.md, channel paprika): its ids (PAP-A-001…003 for cloud threads, PAP-B-013…026 for bus workers) are written in the rows they cover. "Batch 4" marks what was left for the next one. Rows with no batch are not planned yet.

  1. Multi-select, group and pages (A, B).
  2. Components and instances (H).
  3. Paste SVG and HTML as nodes, export SVG (F, G, J).
  4. Point-by-point path editing (F).
  5. Theme modes and tokens exported as CSS variables (E).
  6. Agent layer: structuredContent, English guide, grouped transactions, actor from clientInfo (I).

#Priority order (reconciled 2026-11-28)

Checked against main fc2284e, right after #262. #262 replaced web-legacy with the new apps/web. Paths to web-legacy/ in done rows are historical. The features those rows describe were ported to apps/web, and their E2E suites now run against it (packages/e2e), except where a row says otherwise. This pass's changes are listed under Reconciliation of 2026-11-28.

The goal is to stabilize and cut v0.1.0. The release is manual, cut only with the maintainer's explicit ok. DOM×GPU parity goes first because it keeps coming back.

  1. v0.1.0 gate, in this order:
    1. ✅ PAP-A-012 + PAP-A-096: GPU parity on real hardware (needs the maintainer's machine). Run on 2026-11-28 (#270, merged): GPU = vello_cpu in 88/88 after the premultiplied-alpha fix. PAP-A-012 closed as not reproducible (it was this same machine; maintainer, 2026-11-29). pnpm test:gpu is step 4 of the release checklist (PAP-A-097).
    2. ✅ PAP-A-097: release process and checklist (releases).
    3. ✅ PAP-A-095: ADR for the new web app (ADR 0009).
    4. ✅ PAP-A-025, PAP-A-055, PAP-A-026: cheap fixes to the agent-facing contract (annotations, the apply_ops node schema, the drawing loop in the guide).
    5. ✅ PAP-A-093: export dialog with every format (#268).
    6. ✅ PAP-A-071: open a workspace one page at a time (ADR 0008, #267).
    7. ✅ PAP-A-108: the inspector never writes over a newer change from an agent (#274; the server-side remainder is PAP-A-117, P2).
    8. ✅ Cut v0.1.0 (maintainer's ok, 2026-11-29): tag v0.1.0 on 09cb1974.
  2. Right after v0.1.0: ✅ PAP-A-068 (closed: both tab budgets met and enforced, #280); what is left of PAP-A-060 (cost of a component-master edit); ✅ PAP-A-069 (any shape owns children: ADR 0010, #283–#286 and #291).
  3. P2 pool, no fixed order: ✅ I "Serve both MCP protocol eras", ✅ PAP-A-031, ✅ PAP-A-088, PAP-A-089, ✅ PAP-A-041, ✅ PAP-A-042, ✅ PAP-A-047, ✅ PAP-A-049, ✅ PAP-A-027, ✅ PAP-A-029, ✅ PAP-A-036, ✅ PAP-A-032, ✅ PAP-A-072, ✅ PAP-A-073, M "approval roles", I "Comments for humans and agents", the section Z styles (✅ PAP-A-099, ✅ PAP-A-100, ✅ PAP-A-101, ✅ A "CSS Grid layout").
  4. Parked by the maintainer, kept until asked: the cancelled batch-4 work (PAP-B-053..060: canvas chat, design system page, published library, fonts in exports, version notice, OTA, richer animations, vector PDF import) and the batch-4 P3/TBD rows.
  5. P3: everything else.

#Maintainer's decisions (2026-11-28)

  1. v0.1.0 waits for the GPU check (PAP-A-012, PAP-A-096), run on the maintainer's local Paprika.
  2. PAP-A-093 (every export format in the app's dialog) goes in before v0.1.0.
  3. PAP-A-071 (one page at a time) is no longer deferred: it gets drafted and implemented now, as part of the v0.1.0 gate.
  4. MCP 2026-07-28 support stays P2, after v0.1.0.

#Reconciliation of 2026-11-28

#A. Document model and layout

Capability Paprika today Status Pri.
Frames with flex-like layout (row/column, gap, padding, align, wrap) frame.layout ✅ —
Pages inside a file page nodes, page list in the canvas, create_page (2026-11-21) ✅ —
Group / wrap selection in a frame, unwrap group node, Ctrl+G/Ctrl+Shift+G, group_nodes/ungroup_nodes (2026-11-21). Wrap in a frame: Ctrl+Alt+G, inspector button, wrap_nodes (2026-11-23, PAP-B-089, #152). ✅ —
Absolute child inside an auto-layout frame ("ignore layout") layoutPositioning: "auto"|"absolute" on a child (omit = auto). "absolute" keeps x/y relative to the parent and is skipped by flow, gap and hug. Inspector toggle on children of row/column frames (2026-11-23, PAP-B-069). PR: https://github.com/leonardo-moraes360/paprika/pull/144. ✅ —
Corner radius per corner radius on frame, rect and image is one length or [tl, tr, br, bl] (each a number or $token). The inspector links or unlinks the corners (2026-11-23, PAP-B-070). PR: https://github.com/leonardo-moraes360/paprika/pull/147. ✅ —
Z-order (forward, backward, front, back) update_nodes/move_nodes take index: a number from 0, or front/back/forward/backward, one undo step (2026-11-22). Canvas: Page Up/Page Down step, Ctrl+Page Up/Ctrl+Page Down front/back; inspector Ordem section (2026-11-22, PAP-B-021). ✅ —
Hide, lock, unlock all Eye and lock on each layer row. Show all / Unlock all on the current page (show_all / unlock_all, optional pageId; one undo step) (2026-11-23, PAP-B-089, #152). ✅ —
Align and distribute selection Inspector icon row and align_nodes / distribute_nodes. One undo step. Siblings only; rotated nodes use the axis-aligned box (2026-11-23, PAP-B-089, #152). ✅ —
Constraints (behavior when the parent resizes) constraints: { horizontal: left|right|center|scale, vertical: top|bottom|center|scale } on a child (omit = left/top). Applied when the parent frame's numeric width or height changes, for children that are not in the flow (free frames, or layoutPositioning: "absolute"). Inspector toggles on those children (2026-11-23, PAP-B-084, #158). ✅ —
Gap and padding handles on the canvas Selected auto-layout frame: drag a bar on each padding edge (Alt sets all four) and a bar in each gap (layout.gap). One undo per drag (2026-11-24, PAP-B-092). PR: https://github.com/leonardo-moraes360/paprika/pull/167. ✅ —
Container and breakpoint tokens, responsive frames — ⬜ P3
CSS Grid layout — Raised 2026-11-28 for the bento grid style (section Z): cells that span rows and columns. ADR 0011 accepted (option A); step 1 done: layout.mode: "grid" in both cores, exports and parity with Chromium. Step 2 done: bento recipe in the MCP and styles guides, grid-span-overflow lint. Step 3 done: grid mode, tracks, linked gaps and child cell in the inspector; tracks, gap bars and child area on the canvas (board in docs/en-US/assets/boards/grid/). Follow-ups: clicking a track label focuses its row in the inspector, "Wrap in grid" from a selection ✅ P2

#B. Selection and canvas navigation

Capability Paprika today Status Pri.
Multi-select (shift-click, marquee), select all, select siblings Shift/Ctrl-click, marquee, Ctrl+A selects siblings (2026-11-21) ✅ —
Move down/up the hierarchy, deep select, cycle siblings Esc selects the parent. Enter selects the direct children of the selected frames and groups (in the new app only Space arms pan; Enter with no children does nothing, kept as the tested behavior in #262). Tab / Shift+Tab cycle siblings. Ctrl-click selects the node under the cursor through groups and instances; double-click still does too. Documented in docs/en-US/canvas.md (2026-11-23, PAP-B-090). PR: https://github.com/leonardo-moraes360/paprika/pull/155. ✅ —
Layer tree under the cursor (context menu) Right-click on the canvas lists the layers under the cursor, front to back; choosing a row selects that node. Same change as the hierarchy row (2026-11-23, PAP-B-090). PR: https://github.com/leonardo-moraes360/paprika/pull/155. ✅ —
Rotation-aware hit testing and handles Outline, corner handles and the rotate handle follow get_bounds corners; marquee hits that box. Corner drags keep the opposite corner fixed in the node's axes (2026-11-23, PAP-B-091, https://github.com/leonardo-moraes360/paprika/pull/157). ✅ —
Configurable nudge step Arrows 1px, Shift 10px 🟡 P3
Eyedropper (sample a color from the canvas) Pipette on every color field. Uses the EyeDropper API when the browser has it; otherwise the next click on the canvas reads the color of the node under the pointer (2026-11-24, PAP-B-093). PR: https://github.com/leonardo-moraes360/paprika/pull/169. ✅ —
Duplicate by modifier-drag Ctrl+D duplicate 🟡 P3
Hide UI (focus mode), rename shortcut, collapse layer tree Double-click a layer or a frame title on the canvas to rename it in place (Enter confirms, Esc cancels, undoable) (2026-11-21); layer tree collapses; no focus mode 🟡 P3
Drag and drop elements in the canvas Reading recorded on 2026-11-22 (the request only says "drag and drop the elements inside the canvas"): (1) drag a node to move it and reparent it: dropping it inside a frame or group, or onto another layer, makes that its parent, and inside an auto-layout frame the drop point picks its position among the children; (2) drop external files (images, SVG, HTML) from the OS onto the canvas, using the import row in G. Canvas drop uses move/create through applyOps (one undo); auto-layout shows an insertion marker; Layers rows drag to reorder/reparent; OS files import as image (data URI), SVG or HTML. MCP already reparents with move_nodes (parentId, index). Relates to A "Z-order", B "Duplicate by modifier-drag", O "Re-attach or detach an arrow end by dragging". Requested 2026-11-22. Batch 4. ✅ PAP-B-049
Resize handles on all four corners Four corner handles on the selection (web-legacy/src/Canvas.tsx); dragging a corner keeps the opposite corner in place (2026-11-22). Relates to B "Rotation-aware hit testing and handles". Batch 3: PAP-B-029. ✅ —
Aspect-ratio lock shortcuts while resizing, with a visual hint Four-corner resize keeps the opposite corner fixed. Shift keeps the current ratio (the larger drag axis leads); Shift+Alt locks 1:1; a canvas hint names the active lock. Documented in docs/en-US/canvas.md. Batch 4: PAP-B-042. ✅ —
Preview of the element itself while drawing it, not only its area While dragging a creation tool, web-legacy/src/Canvas.tsx paints a semi-transparent ghost with the same nodeStyle defaults as the final node (aria-hidden, pointer-events: none); a plain click shows the default-size ghost before release. No document write until pointer up. Connector arrow ghost still open. Batch 4: PAP-B-043 (2026-11-22). ✅ —

#C. Styling

Capability Paprika today Status Pri.
Fill, border, shadow, opacity, rotation Base fields ✅ —
Multiple shadows, inner shadow, outline shadow is one object or a list of up to 8 with optional inner; outline is {color, width, style, offset}. A list, an inner shadow or an outline stays on the DOM. On a path or shape an inner shadow paints as an inset box; SVG warns and skips it (PAP-B-080). PR: https://github.com/leonardo-moraes360/paprika/pull/156. ✅ —
CSS filters (blur, saturate, grayscale, brightness, sepia, invert, hue-rotate) and backdrop filters filter and backdropFilter take those functions. An empty object is refused. WASM falls back to the DOM (PAP-B-080). PR: https://github.com/leonardo-moraes360/paprika/pull/156. ✅ —
Structured gradients (linear, radial, conic) with on-canvas handles and angle Optional gradient {type, angle, cx, cy, radius, stops} on paintable nodes and on a page. It wins over a solid fill. Handles move the angle, center, radius and stops while the node is not rotated. Linear and radial export as SVG gradients; conic uses a foreignObject. WASM leaves the node on the DOM (PAP-B-081). PR: https://github.com/leonardo-moraes360/paprika/pull/159. ✅ —
Modern color: oklch(), color-mix(), Display P3, OKLCH picker Lint parses oklch(), color(srgb|display-p3) and color-mix() in srgb, oklch and display-p3, plus the basic CSS color names. The picker toggles sRGB and OKLCH. Those colors stay on the DOM so the WASM picture matches (PAP-B-081). PR: https://github.com/leonardo-moraes360/paprika/pull/159. ✅ —
Blend modes — ⬜ P3
Selection colors panel (all colors used in the selection) — ⬜ P3
Several border types for elements stroke has optional style (solid|dashed|dotted, dash from width) and position (inside|center|outside) for frame/rect/ellipse/path/shape; inspector Estilo/Posição; WASM falls back to DOM when non-default. Per-side borders still out. (2026-11-22, PAP-B-044). ✅ —
Custom color picker Custom popover (SV, hue/alpha, hex/rgb, document token swatches → $token, recent colors, keyboard). Replaces the native color input (2026-11-22, PAP-B-023). ✅ —

#D. Typography

Capability Paprika today Status Pri.
Font family, size, weight, line height, letter spacing, alignment text node ✅ —
Rich text (style per character/word, editable by agents) runs on text nodes (weight, color, size, italic, href), canvas editor and export (2026-11-23, PAP-B-085). PR: https://github.com/leonardo-moraes360/paprika/pull/163. ✅ —
Font tokens (family, weight, size, line height, letter spacing) Typed on set_tokens (fontFamily, fontWeight, fontSize, lineHeight, letterSpacing). Untyped numbers still work. The inspector accepts $ on those fields. PAP-B-082. PR: https://github.com/leonardo-moraes360/paprika/pull/160. ✅ —
Variable font axes and OpenType features — ⬜ P3
Text shortcuts (bold, italic, size/weight steps), auto line height — ⬜ P3
CJK word-keep, combining marks, multi-codepoint emoji checks Browser default 🟡 P3
System fonts on any element with text A font picker that lists the fonts installed on the machine (e.g. Local Font Access API, with a fallback list) for text, shape and every node that has fontFamily. Today fontFamily is a free text field. Relates to D "Font tokens". Requested 2026-11-22. Batch 4: PAP-B-047 — inspector Fonte on text is a shadcn combobox (FontPicker): common stacks + fonts already in the document; Local Font Access API only on Usar fontes do sistema… (never at load); custom typing still commits; list rows preview in their face. In apps/web the same picker (components/frontends/font-picker) serves text and shape, the nodes that carry fontFamily (checked 2026-11-28). ✅ —
Import and export fonts in several formats E.g. TTF, OTF, WOFF, WOFF2: fonts embedded in the workspace (as assets) and carried in exports (@font-face in HTML/CSS, embedded in SVG/PDF). Also over MCP. Respect each font's license when embedding. Relates to the export rows in J. Requested 2026-11-22. Batch 4. Parked with the cancelled batch-4 work (PAP-B-053..060); returns when the maintainer asks. ⬜ TBD

#E. Tokens and themes

Capability Paprika today Status Pri.
Global tokens ($name) for colors and sizes, set by agents set_tokens ✅ —
Theme modes (light/dark/compact) and token collections document.modes + set_tokens with mode, inspector, SQLite. A collection is a name on tokenMeta (set_tokens collection), grouped in the inspector, not a second value map. PAP-B-082. PR: https://github.com/leonardo-moraes360/paprika/pull/160. ✅ —
Frame-scoped token overrides mode on a frame or page applies a mode to its subtree (2026-11-21) ✅ —
Tokens exported as CSS variables in HTML/React export export_code cssVariables (2026-11-21): :root plus [data-paprika-mode] rules; React exports tokensCss ✅ —
Typed tokens (color, radius, spacing, font…) with validation set_tokens type (color, length, fontFamily, fontWeight, fontSize, lineHeight, letterSpacing), checked on set and on use. No type leaves the string/number behavior. Persisted in SQLite token_meta. PAP-B-082. PR: https://github.com/leonardo-moraes360/paprika/pull/160. ✅ —
Detach a token from a node detach_tokens in MCP and the inspector replaces $name with the literal resolved in the node's mode. PAP-B-082. PR: https://github.com/leonardo-moraes360/paprika/pull/160. ✅ —
Generate tokens from an existing codebase via MCP propose_tokens turns CSS variables, a Tailwind theme or JSON tokens (the text the agent passes) into set_tokens operations (2026-11-23, PAP-B-083). PR: https://github.com/leonardo-moraes360/paprika/pull/162. ✅ —
Tokens with calc() / color-mix() Token chains only ⬜ P3
Copy tokens between files — ⬜ P3
Design system as a concept in the canvas A place for the workspace's tokens, components and rules that agents and people draw from (relates to E and H). Requested 2026-11-22. Batch 4. Parked with the cancelled batch-4 work (PAP-B-053..060); returns when the maintainer asks. ⬜ TBD

#F. Vector

Capability Paprika today Status Pri.
Vector node from SVG path data (lines, bezier, arcs) path node, path_info ✅ —
Pen tool to create paths P, bezier handles, close on first point ✅ —
Edit points and handles of an existing path Double-click a path: drag points and handles, add, remove, corner/smooth (2026-11-21); d in the inspector ✅ —
Import/paste SVG as editable path layers import_svg, Ctrl+V in the canvas (2026-11-21): paths, shapes (axis-aligned rect/ellipse stay native), groups, transforms, inherited paint. PAP-B-078: <text> becomes a text node and <use>/<symbol> sprites expand. Images, gradients, masks and <style> CSS stay in warnings ✅ —
Boolean operations (union, subtract, intersect, exclude) — (fb#1, fb#76; see Q). Batch 3: PAP-A-003 — MCP combine_paths + core op; one call for several operations in PAP-A-018 (#192). The canvas command is PAP-A-094. ✅ —
Convert rect/ellipse to path convert_to_path (MCP and the canvas context menu). Same id, radius baked into d, one undo restores the rect or ellipse (2026-11-23, PAP-B-087). PR: https://github.com/leonardo-moraes360/paprika/pull/165. ✅ —
Snapping and guides for points, half-pixel snapping — ⬜ P3
Mirror, repeat, shape builder, vector networks — ⬜ P3

#G. Paste and import

Capability Paprika today Status Pri.
Paste HTML with inline styles as nodes (inverse of nodeStyle) import_html, Ctrl+V (2026-11-21): Paprika's own HTML comes back the same; other HTML is approximated (flex → row/column, blocks → column); classes and stylesheets are not applied ✅ —
Paste SVG Ctrl+V with SVG markup (see F) ✅ —
Paste or drop images (stored as data URI or local asset) Paste (Ctrl+V) and drop of PNG, JPEG, WebP, AVIF or GIF on the canvas create an image node with a data:image/ src (view center inside the selected frame, or the drop point). Same bytes path as import_image. .fig and PDF are refused. PR: https://github.com/leonardo-moraes360/paprika/pull/172 ✅ PAP-B-078
Capture an element from any web page into nodes (browser extension) — ⬜ P3
Import from other design tools' clipboards — ⬜ Out
Import PNG, JPEG, WebP, AVIF, GIF, .fig and other formats, besides SVG and HTML Also as MCP tools. Extends G: today only SVG and HTML are imported (import_svg/import_html, Ctrl+V) and an image node is created only over MCP (G, "Paste or drop images"). Raster files become image nodes (data URI or local asset; decide whether animated GIFs keep moving). Dropping files on the canvas is in B, "Drag and drop elements in the canvas". .fig is out (maintainer, 2026-11-22): it is an undocumented proprietary format and reading it would mean reverse engineering, which the originality rule forbids; files from that tool come in through their SVG/PDF exports, as G already does for other design tools' clipboards. "etc." in the request: other formats (e.g. PDF) to be listed when planned. Requested 2026-11-22. Batch 3: PAP-B-019 (import_image for the raster formats; animated GIF/WebP/AVIF kept). PAP-B-078: paste and drop of those rasters on the canvas (data URI), and import_image refuses .fig and PDF with an actionable error. PDF import stays out of scope. PR: https://github.com/leonardo-moraes360/paprika/pull/172 ✅ PAP-B-078

#H. Components and reuse

Capability Paprika today Status Pri.
Components and instances with overrides and scale component/instanceOf/scale/overrides on frames, create_component, create_instance, detach_instance (2026-11-21). Nested instances landed with PAP-B-086. PR: https://github.com/leonardo-moraes360/paprika/pull/164. ✅ —
Component props and slots A component declares componentProps (text, boolean, variant). Nodes inside it bind text, visible or a variant, and a frame or group can name a slot. An instance sets propValues and slots (node ids cloned into the slot). create_component takes props; create_instance takes propValues and slots (2026-11-23, PAP-B-086). PR: https://github.com/leonardo-moraes360/paprika/pull/164. ✅ —
Code components (render real components from the user's repo) — ⬜ P3
Icon packs / UI kit starters — ⬜ P3
Components reusable across pages and across workspaces Today component/instanceOf only work inside one document (H); missing: a library shared by workspaces, instances that point to another workspace, and how updates reach them. The cross-workspace library proposal (linked copy, ADR 0007) is waiting for the maintainer's ok. Requested 2026-11-22. Batch 4. Parked with the cancelled batch-4 work (PAP-B-053..060); returns when the maintainer asks. ⬜ TBD

#I. Agent layer (MCP and CLI)

Capability Paprika today Status Pri.
Embedded MCP server (stdio + HTTP), read and write, CLI paprika serve/mcp, 71 tools (contract server/contract/mcp.json) ✅ —
Server CLI on Cobra (github.com/spf13/cobra) Today server/cmd/paprika/main.go parses by hand: a switch on the first argument (serve, mcp, import, export, list, help, version) and one shared flag.FlagSet with every flag of every command, a loop so flags may come before or after positionals, and a hand-written help text (pt-BR). With Cobra each command declares its own flags and help, gets paprika <cmd> --help, shell completion and suggestions for typos; flags, $PAPRIKA_DB/$PAPRIKA_WEB_ROOT and exit codes stay the same. Fits the i18n row (help text in the chosen language) and room for future commands such as team. Requested 2026-11-22. Batch 3: PAP-B-035. Done in PAP-B-035: one Cobra command per subcommand (serve, mcp, import, export, list, version) with its own flags and --help, `paprika completion bash zsh fish` and typo suggestions; flags, defaults, environment variables and exit codes are locked by golden and parsing tests.
HTTP and MCP layer on Gin (github.com/gin-gonic/gin) Gin route groups for /api, team, /mcp, /ws and the static canvas; Host/Origin + panic recovery as middleware; /ws keeps coder/websocket; MCP protocol and stdio stay outside Gin. Contract unchanged (PAP-B-036). ✅ —
Token-efficient reads get_document_outline ✅ —
Structured results (outputSchema + structuredContent) Every JSON tool declares outputSchema and returns structuredContent (2026-11-21) ✅ —
Guide and errors in English (pt-BR optional) Guide, tool descriptions, errors, warnings and lint in English; get_design_guide {language: "pt-BR"} (2026-11-21). The canvas UI is still pt-BR ✅ —
Group several writes into one undo step batch on every write tool (2026-11-21) ✅ —
Actor name from MCP clientInfo agent:<clientInfo.name> on stdio and HTTP (session id carries the name) (2026-11-21) ✅ —
Agent presence on the canvas (cursor, what it is editing) Own cursor, outline, name and color per agent session, roster; implicit from every tool call (2026-11-21) ✅ —
Move a board between Paprika servers paprika export --root ID writes one frame plus the components and tokens it needs as a standalone .paprika.json; MCP import_document stores it as a new workspace without switching the active one, and create_nodes tolerates a connector's derived fields with a warning (2026-11-22) ✅ —
Comments for humans and agents (create, resolve, filter) notes field only; first slice: agent pins (row below) 🟡 P2
Point at an element or area and tell the agent what to do there ("agent pins") Requested 2026-11-23 ("a kind of laser or arrow with a comment"). Design: boards in docs/en-US/assets/boards/agent-pins/ (also drawn on the local Paprika, workspace Paprica · UI, page "Apontar para a IA (design)"). Canvas: new tool Point for the AI (I): click a node to pin it (outline + numbered pin), or drag to mark an area (dashed region); a composer opens next to the pin (target chip, text, "To: any agent", Ctrl+Enter sends). Pins show their state on the canvas (open = brand red, claimed = agent color + name, resolved = ✓ and hidden from the canvas); a Pins panel (Shift+I) lists open/resolved, jumps to a pin, shows the agent reply and can reopen. MCP: list_pins {status?, pageId?, workspaceId?} → {id, n, text, author, status, pageId, target: {nodeIds[], region{x,y,w,h}}, createdAt}; claim_pin {id} (refused if another agent holds it); resolve_pin {id, reply, historyId?}; wait_for_pins {timeoutMs ≤ 60000, since?} (long-poll). Agents learn about pins without polling: write results carry openPins: n and the guide says to read list_pins first. Storage: own SQLite table per workspace, outside the node tree (not exported, not in the design undo), broadcast over /ws; team sync over Loro later. Relation: it is the first slice of "Comments for humans and agents" (same model: anchor + text + status + replies; human-to-human threads later) and stays apart from the cancelled canvas chat (PAP-B-053..060), which is an unanchored conversation; a chat message may later cite a pin. Open questions: name in the UI ("Apontar para a IA" / "Point for the AI"), whether a pin can target several nodes, whether a free-hand "laser" stroke is needed besides the rectangle. Done (2026-11-23, approved by the maintainer): decisions: UI name "Apontar para a IA" / "Point for the AI", one target per pin (one node or one area), no free-hand laser for now. Go: pins table (server/internal/server/pins.go), /api/pins + {type:"pins"} on /ws (pins_http.go), MCP tools + openPins (pins_mcp.go, contract + guide). Web: web-legacy/src/Pins.tsx (tool I, composer, pins on the canvas, panel Shift+I, top bar chip), pins.ts. Tests: pins_test.go, api.test.ts, pins.e2e.test.ts. Done in PAP-B-075 (PR #173): replies from humans and agents on a thread (replies; resolve_pin appends the agent's reply; reply_pin adds more), and pins sync between team instances over Loro (not as canvas nodes). ✅ —
Manage files via MCP (list, create, open, rename, archive), several files at once Workspaces over MCP: list_workspaces, create_workspace, open_workspace, rename_workspace, delete_workspace (2026-11-21, see M). Reading and writing another workspace without switching the active one landed in PAP-B-063 (Q). Archive without deleting: archive_workspace / unarchive_workspace, list_workspaces hides archived unless includeArchived, and the overview has an Archived filter that restores (PAP-B-071). PR: https://github.com/leonardo-moraes360/paprika/pull/143. ✅ —
"Connect your agent" panel with ready configs per client README snippets 🟡 P2
Geometry help for agents (rotated bounds, origin, geometry lint) Done: get_bounds and path_info origin (PAP-A-001, fb#2); geometry lint in lint_design (detached-sibling, near-gap, fully-hidden) (PAP-B-066, fb#6) ✅ —
Visual diff between versions (for CI) — ⬜ P3
Serve both MCP protocol eras (2025-11-25 and 2026-07-28) Today the server negotiates up to 2025-11-25 (supportedProtocolVersions in server/internal/server/mcp.go). The current spec is 2026-07-28 (GA 2026-07-28). 2026-07-28 clients only work through fallback: a stateless request with MCP-Protocol-Version: 2026-07-28 gets HTTP 400 with the legacy code -32000, and the client falls back to initialize (checked 2026-11-25 on main f38bb10). Wanted: keep the initialize/Mcp-Session-Id path for legacy clients and add the stateless path: server/discover; per-request _meta (io.modelcontextprotocol/protocolVersion, clientCapabilities, clientInfo); UnsupportedProtocolVersion -32022 with data.supported/data.requested instead of -32000; Mcp-Method and Mcp-Name headers with HeaderMismatch -32020; resultType on every result; ttlMs/cacheScope on tools/list; batches rejected and ping kept only on the legacy path; serverInfo in result _meta. Same pass, 2025-11-25 gaps: batches are still accepted (removed in 2025-06-18), an unknown tool returns isError instead of a -32602 protocol error, tools.listChanged: true is announced with no channel to send it (GET is 405), and 2024-10-07 (never a published spec version) is in the list. Cover both eras in packages/e2e. Extensions (skills, SEP-2640; tasks; input-required results) stay separate rows. Requested 2026-11-25. Done (2026-11-29): both eras on /mcp and stdio (server/internal/server/mcp_modern.go), and the four 2025-11-25 gaps closed. Not done: subscriptions/listen (nothing to notify: the tool list is fixed) and SSE responses (every answer is a single JSON object, which the spec allows) ✅ P2
Remote MCP (server outside the user's machine) Local by design ⬜ Out
Assisted adversarial verification in the canvas Port to Rust or Go. Prove with numbers that each app screen matches the approved board, light and dark: a generator tunes the app until pixel similarity reaches ≥ 95 % per screen and mode, and an independent discriminator redoes the build, references, captures and comparison and fails it on score, cheating (edited references, unjustified masks, comparator changes), regression or contrast; at most 3 rounds, then a human decides. Pieces to port: comparator (pixelmatch, threshold 0.1, magenta padding on size mismatch, masks with a reason), references rendered from the boards, capture, contrast gate, cheat guard. Spec supplied by the maintainer (TS/Playwright harness from another project). Requested 2026-11-22. Batch 3: PAP-B-018 (image comparator in Go, first piece). PAP-A-015 (compare_reference, #198) and PAP-A-019 (fit_to_reference, #200) shipped the comparator and the tuning loop for references; the app-screen loop (generator, discriminator, cheat guard) is still open. 🟡 TBD

#J. Export and handoff

Capability Paprika today Status Pri.
Standalone HTML, React (inline styles), PNG export_code, render_screenshot ✅ —
SVG export (frame or selection) export_code format svg, ⇩ in the toolbar, GET /api/svg (2026-11-22, PAP-A-002): boxes from core layout(doc), no headless Chromium; text splits on \n (glyph wrap stays approximate); gradients and background images are left out ✅ —
Video export of animated frames — ⬜ P3
Export to PDF, HTML, CSS (Tailwind or CSS Modules), React, Angular or Svelte Also as MCP tools. Extends J (today: HTML, React with inline styles, SVG). Requested 2026-11-22. Batch 3: PAP-B-016 ✅ (export_code formats tailwind, tailwind-html and css-modules, built from nodeStyle; the Tailwind page renders like the HTML export within 1% on the example boards, checked in Chromium against a Tailwind v4 build); Batch 4: PAP-B-041 ✅ (angular standalone .ts+template+styles and svelte single file; static markup of both matches the HTML export within 1% on the example boards); PDF: PAP-B-050 ✅ (export_image format pdf, vector from the same ExportSVG path, no Chromium). Replaces the older rows "Tailwind classes export" and "React + CSS module / CSS variables" (CSS variables are done, see E). PR: https://github.com/leonardo-moraes360/paprika/pull/96 (PAP-B-016), https://github.com/leonardo-moraes360/paprika/pull/110 (PAP-B-041), https://github.com/leonardo-moraes360/paprika/pull/130 (PAP-B-050). ✅ —
Export to SVG, PNG, JPEG, AVIF, WebP Also as MCP tools. No headless Chromium: in the canvas (TS) or in the Go server. SVG: PAP-A-002 ✅ (export_code/GET /api/svg from layout(doc)). Raster + PDF: PAP-B-050 ✅ (export_image formats png/jpeg/webp/avif/pdf in pure Go from ExportSVG; ≥98% visualdiff vs render_screenshot on the example boards). Requested 2026-11-22. Replaces the older row "WebP/AVIF, PDF". ✅ PAP-B-050
Resize images to qHD ("semi HD"), HD, 2K, 4K Also as MCP tools. No headless Chromium: in the canvas (TS) or in the Go server. Requested 2026-11-22. Batch 4. ✅ PAP-B-040

#K. Generative features in the canvas

Paprika's stance: the connected agent does generation through MCP, so the tool stays model-agnostic and needs no API keys.

Capability Paprika today Status Pri.
Generate SVG/vector from a prompt Agent writes path nodes 🟡 P3
Generate or edit images from a prompt — ⬜ P3
"Remix" a selection (variations, palettes, font pairs) — ⬜ P3
Embeds (Lottie, Rive, video) — ⬜ P3

#L. Effects and shaders

Capability Paprika today Status Pri.
Procedural effect layers (mesh gradient, noise, grain, dithering, halftone, warp) — ⬜ P3
Image filters (texture, glass, distortion) — ⬜ P3

Decision pending: write our own effects (WebGL/WebGPU, ties into the WASM evaluation) instead of embedding third-party shader packages, to keep the originality rule simple. Only reuse an open-source package after a license check and under its own name.

#M. Files and collaboration

Capability Paprika today Status Pri.
Workspace with several files, folders, thumbnails Done (2026-11-24, PAP-B-094, PR #175): overview at / lists, creates, opens, renames and deletes workspaces; folders via create_folder, rename_folder and move_workspace (empty folderId is the root); a card without a cover draws a live thumbnail of the page, and a cover still wins ✅ —
Tabs for open files — ⬜ P3
Live data in designs (fetch from an API or sheet) — ⬜ P3
Real-time multi-user editing (CRDT) Peer-to-peer team sync: Iroh + Loro sidecar, paprika serve --team, signed operations, expiring invites (ADR 0004, PRs #61–#69); remove a member and rotate a key (2026-11-22); team mode in Compose (compose.team.yaml). Leaving on your own: done in PAP-B-075 (PR #173) for a member who is not the founder (POST /api/team/leave, a self-signed removal). The founder still cannot leave. Still missing: approval roles 🟡 P2
Script / plugin pane — ⬜ P3
Sharing settings, SSO, organizations, hosted CDN assets, plans and quotas — — Out
Multiplayer LLM chat in the canvas Floating, centered at the bottom of the canvas; shared by the people (and agents) of the workspace. Requested 2026-11-22. Batch 4. Parked with the cancelled batch-4 work (PAP-B-053..060); returns when the maintainer asks. ⬜ TBD

#N. Code health (SonarCloud)

Open SonarCloud issues imported on 2026-11-21 (project leonardo-moraes360_paprika; filter: Security + Reliability, impact Blocker/High/Medium, status Open/Confirmed; code at main 21841f7). 40 issues, none Blocker. Fix in code; don't change issue status in SonarCloud by hand.

Update 2026-11-22: every issue below is fixed in code (the fix(sonar) commits on main, plus S7773 in packages/core and S2077 in store.go in the second backlog batch). SonarCloud closes them on its next analysis of main.

Rule Impact Where Fix Status Pri.
S8707 path traversal from CLI args (3) Security High bench/tasks/lib.mjs:17 (packages/server/scripts/bezier-demo.mjs:8, 31 went away with the TypeScript server) Resolve the path and require it to stay under process.cwd() before reading, rm or writing ✅ —
S6506 HTTPS not enforced on redirects (2) Security Medium .github/workflows/ci.yml:377; .github/actions/setup-rust-wasm/action.yml:23 curl --proto '=https' --proto-redir '=https' (the sha256 check stays) ✅ —
S2077 dynamically formatted SQL (1) Security Medium server/internal/server/store.go:332 Table names come from a fixed list (likely false positive); write the three DELETEs as literals ✅ —
S7688 [ instead of [[ (10) Reliability High .claude/hooks/session-start.sh:27, 34, 43, 46, 68, 80 (×2), 98 (×3) Use [[ … ]] (the script is bash) ✅ —
S2871 sort() without a compare function (1) Reliability High .github/scripts/check-actions-pinned.mjs:105 Explicit code-point comparator, so the order stays the same ✅ —
S8786 regex with super-linear backtracking (3) Reliability Medium apps/site/scripts/build.mjs:287; web-legacy/src/Inspector.tsx:380; .github/scripts/check-actions-pinned.mjs:27 Remove ambiguous adjacent quantifiers (e.g. /^# +(\S.*)$/m) and cover with a test ✅ —
S7773 global parseInt/parseFloat/isNaN (10) Reliability Medium bench/tasks/lib.mjs:126 (×4); packages/core/src/lint.ts:26, 31 (×2), 121; web-legacy/src/Inspector.tsx:373, 383 Number.parseInt / Number.parseFloat / Number.isNaN ✅ —
S9383 floating promises (5) Reliability Medium experiments/canvas-wasm/bench/webgpu-canvas-probe.cjs:4, 11; main.ts:177; run.cjs:12; gpu-readback-check.cjs:7 .catch() that logs and exits 1 (or exclude experiments/ from analysis) ✅ —
S6848 non-native interactive element (1) Reliability Medium web-legacy/src/Layers.tsx:32 role, tabIndex={0} and Enter/Space in onKeyDown, or a <button> ✅ —
S9379 autoFocus (1) Reliability Medium web-legacy/src/Pages.tsx:54 Focus through a ref + useEffect when editing starts ✅ —
S3923 ternary with identical branches (1) Reliability Medium apps/site/scripts/draw-landing.mjs:161 Use "link:./" directly ✅ —
Input without label (2) Reliability Medium experiments/canvas-wasm/bench/index.html:16, 17 <label for> or aria-label ✅ —

Not from SonarCloud: simplifications that gopls suggests in the editor (screenshot from the maintainer, 2026-11-22).

Rule Impact Where Fix Status Pri.
gopls modernize hints, e.g. errorsastype ("errors.As can be simplified using AsType[usageError]") Maintainability server: 6 errors.As calls (cmd/paprika/main.go, internal/server/http.go, internal/server/mcp.go, internal/core/ops.go) plus whatever else the analyzer flags Run modernize -fix ./... (golang.org/x/tools) across server and review the diff (go.mod is already go 1.26.0, which errors.AsType needs). Then enable the modernize linter in server/.golangci.yml so CI (go-lint, golangci-lint v2.15.0) keeps it clean. Keep math rewrites out, like the -QF* exclusion, to keep parity with the TypeScript core. Requested 2026-11-22. Not in a batch yet. ✅ —

#O. Diagrams

Simple diagrams (flowcharts, architecture sketches, mind maps) drawn by the human on the canvas or by an agent over MCP. Excalidraw and Whimsical are references for the kind of feature only; the look follows Paprika's own theme.

Capability Paprika today Status Pri.
Shapes with text inside (box, ellipse, diamond) and sticky notes shape node, S/D/N tools, text edited in place (2026-11-21) ✅ —
Arrows that stick to shapes and follow them, straight or elbow connector node, A tool, geometry derived from the ends (2026-11-21) ✅ —
Agent draws a whole diagram in one call, with automatic layout draw_diagram (2026-11-21) ✅ —
Labels on arrows label on connector and on draw_diagram edges, drawn at the middle of the line with a halo, edited in the inspector (2026-11-22, fb#57) ✅ —
Arrows that route around other shapes Elbow and rounded routes leave an 8px gap around other shapes that share the connector's parent (2026-11-24, PAP-B-077). Straight and curve stay as they are. PR: https://github.com/leonardo-moraes360/paprika/pull/174. ✅ —
More shapes (cylinder, parallelogram, cloud) ShapeKind cylinder, parallelogram and cloud in the schema (TS+Go), outlines in nodeStyle, toolbar C/B/U, inspector picker and draw_diagram. WASM leaves shape nodes on the DOM (2026-11-24, PAP-B-093). PR: https://github.com/leonardo-moraes360/paprika/pull/169. ✅ —
Re-attach or detach an arrow end by dragging it on the canvas A selected connector shows a handle on each end. Dragging onto a shape sets nodeId; dragging onto empty canvas stores a free x/y. One undo step (2026-11-24, PAP-B-093). PR: https://github.com/leonardo-moraes360/paprika/pull/169. ✅ —
Hand-drawn style — ⬜ P3
Three arrow line styles: square, rounded, free curve connector.route: elbow (square), rounded (elbow + radius), curve (cubic with draggable control); inspector picker + canvas handle; MCP / draw_diagram. Batch 4: PAP-B-045. ✅ —
Double-click an arrow to add, edit or remove its label Double-click an arrow on the canvas opens an input at the middle of its route (ConnectorLabelEditor), like shape text: Enter or blur commits through applyOps, Esc cancels, clearing the text removes the label (one undo step; straight and elbow routes, inside frames too). Requested 2026-11-22. Batch 3: PAP-B-028. ✅ —
Triangle as a simple shape New ShapeKind next to rect, ellipse, diamond, note (O), with a toolbar tool, in the inspector shape picker and over MCP (draw_diagram too). Requested 2026-11-22. Batch 3: PAP-A-004. Done (PAP-A-004): triangle in schema (TS+Go), outline/connectors via diagram, toolbar G, inspector picker, draw_diagram. ✅ —

#P. Maintainer requests (2026-11-22)

The maintainer's requests of 2026-11-22 were moved on 2026-11-22 into the thematic sections (A, B, C, D, E, G, H, I, J, M, O) and the new sections R (app interface) and S (releases); each moved row says "Requested 2026-11-22". The constraints in each row are part of the request.

#Q. From the agent feedback log (2026-11-22)

Every item still open in the agent feedback log (fb#1 to fb#79), grouped into implementation work. Each row names the feedback it closes; when a row ships, mark those fb# items "Done" in the log. Priorities come from the log, raised where several agents hit the same wall.

Work item What to build Feedback Status Pri.
Move a board between Paprika servers Done (2026-11-22, PAP-B-013, PR #92): paprika export --root <id> writes one frame plus the components and tokens it needs as a standalone .paprika.json; MCP import_document stores that file as a new workspace without switching the active one; create_nodes ignores derived connector fields (x, y, width, height, d) with a warning. Tests: TestExportFrameStandalone and TestImportWorkspaceKeepsActive (server/internal/server/workspace_test.go); TestCreateNodesIgnoresDerivedConnectorFields (same file); CLI subtest "export with root and short out" of TestExistingInvocationsParseToTheSameOptions (server/cmd/paprika/cli_test.go); e2e "mover um board entre servidores: export --root no A, import_document no B, outline igual (PAP-B-013)" (packages/e2e/test/api.test.ts). fb#72, fb#75 ✅ —
Core geometry: absolute boxes for agents A core layout(doc) returning absolute boxes (Go port held by fixtures), a get_bounds tool with rotated corners, an origin field, and normalize on path create (or the offset in path_info); the core export uses the same boxes, so SVG of auto-layout nodes needs no browser Batch 3: PAP-A-001. fb#2, fb#15, fb#26, fb#41 ✅ P1
Boolean operations and cut-outs union/subtract/intersect/exclude producing a new path (MCP op + canvas command), or a mask on group; same item as F "Boolean operations" Batch 3: PAP-A-003 — MCP combine_paths done; canvas command split out as PAP-A-094 (2026-11-28). fb#1, fb#76 ✅ —
Trace a reference image Done (2026-11-24, PAP-B-094, PR #175): place_reference puts an image (data URL or import path) at the back of a frame, locked and semi-transparent (default opacity 0.5). render_screenshot compare draws that image to the right of the screenshot, at the same height fb#78 ✅ —
Lint that points at what matters Done (2026-11-22, PAP-B-066): lint_design takes rootIds, minSeverity, minFontSize and maxIds. groups is one row per rule (count + first N ids), ordered by severity. Per-node lintIgnore and frame scaledMock. New rules: layout-overflow, hug-was-meant, detached-sibling, near-gap, fully-hidden. overlapping-boards and covered-by-overlay stay. fb#6, fb#9, fb#69, fb#70, fb#81, fb#82, fb#102 ✅ —
Agents edit path points Done (2026-11-24, PAP-B-076): MCP edit_path moves one anchor or its handles through the canvas helpers (moveAnchor, moveHandle, pathEditProps); path_info.anchors lists the same flat indexes. PR: https://github.com/leonardo-moraes360/paprika/pull/170. fb#17, fb#43 ✅ —
Duplicate with changes duplicate_nodes with scale and overrides (for example mode: "dark" for a light/dark pair). duplicate_nodes {ids, offset?, parentId?, scale?, props?} copies the whole subtree in one undo step, keeps instances as instances of the same component, re-points connectors between duplicated nodes to the copies and returns copies and map (2026-11-22, PAP-B-017). Batch 3: PAP-B-017. fb#3, fb#45 ✅ —
Work on another workspace without moving the human Optional workspaceId on every document tool, read and write (outline, nodes, bounds, create/update/delete/move/group, tokens, lint, screenshot, export, imports, undo/redo). The outline's first line and every write result carry the workspace id and name. One history per workspace for the life of the process; a write to another workspace does not switch the canvas, and viewers of the active workspace still get live updates. Unknown id returns an error that lists the workspaces. Done (PAP-B-063). fb#52, fb#53, fb#54, fb#92 ✅ —
Z-order without an extra call index as a number or front/back/forward/backward in update_nodes props and move_nodes (2026-11-22, PAP-B-014); canvas shortcuts in A "Z-order" fb#77 ✅ —
Agents place and layer elements on purpose (no boards on top of each other, no text above a modal) Seen 2026-11-22 (screenshot from the maintainer): agents created the light/dark frames of PAP-A-004 and PAP-B-032 at overlapping positions, so one board hides the other. Today nothing steers placement: the design guide (server/contract/mcp.json instructions, contract/guide.pt-BR.md) covers x/y and layout but says nothing about where a new top-level frame goes, and no tool or lint warns about overlap. Fix over MCP: (1) a placement rule in the guide and in the create_nodes/duplicate_nodes descriptions: a new top-level frame goes in free space (to the right of or below what is on the page, with a gap), check get_bounds/get_document_outline first, and stack on purpose only (z-order via index); (2) a warnings entry in the write result when a new top-level node overlaps another one on the same page, with the free spot nearest to it; (3) maybe a lint_design rule for overlapping top-level frames, and an optional place: "auto" on create_nodes that picks the free spot itself. Second case, inside a frame (screenshot from the maintainer, 2026-11-22, PAP-B-031): an agent drew a delete modal over the workspace cards, but the cards' texts ("L", "Landing page", "Sistema de ícones") sit later in the layer order and show on top of the modal. Add a check for it: a lint_design rule (e.g. covered-by-overlay, next to overflow and contrast) and a warnings entry in write results when a text node is painted above an opaque node that overlaps it and should cover it (a modal or overlay: an opaque frame placed over other content); the warning names both nodes and the fix (index: "front" on the overlay, or move the texts under it). Guide rule: draw overlays (modals, menus, toasts) last, or move them to the front with index. Other overlap inside a frame (layout children) is not touched. Done (2026-11-22, PAP-B-061): guide rule, place on the write tools, overlap warnings, overlapping-boards and covered-by-overlay. create_page ensure stays with PAP-B-064. fb#13, fb#103, fb#109, fb#110, fb#111 ✅ —
Screenshots agents can rely on PAP-B-062 (2026-11-22): render_screenshot takes optional path (written under <data>/screenshots, or PAPRIKA_SCREENSHOTS; traversal refused) and returns {path, width, height} plus /api/screenshot/<id>; optional mode, and a subtree keeps the theme mode it inherits; a missing or mismatched browser is reported at startup and on failure with pnpm --filter @paprika/e2e exec playwright install chromium. Done (PAP-B-068): the open tab reports wasm or dom on the WebSocket hello, and the outline lists one value per connected tab, or none when no tab is connected (the screenshot stays on the HTML path). PR: https://github.com/leonardo-moraes360/paprika/pull/154. fb#5, fb#24, fb#27, fb#28, fb#79 ✅ —
Safer deletes The MCP half landed 2026-11-22 (PAP-B-015): delete_workspace is two calls — the first returns what would be lost and a short-lived token bound to the workspace, the second deletes — and workspace operations (create/rename/open/delete, with the actor) are readable over list_workspace_ops, a delete entry keeping its summary. Canvas notice landed with PAP-B-037: WebSocket workspaceOp broadcast + WorkspaceNotice (actor, counts, overview action; role=status). fb#59, fb#60, fb#61 ✅ —
Nested components Instances inside components, overrides addressed by path (instance/copy). A cycle is rejected. Done (2026-11-23, PAP-B-086). PR: https://github.com/leonardo-moraes360/paprika/pull/164. fb#39 ✅ —
Import fidelity import_svg expands <use>/<symbol> sprites and turns <text> into text nodes. import_html computed: true renders in the server's Chromium and imports computed author styles (server-side only; a missing Chromium is an error, not a silent fallback). Images, gradients, masks and <style> stay warnings on the pure path. PR: https://github.com/leonardo-moraes360/paprika/pull/172 ✅ PAP-B-078
Web semantics in the document href on frames and text (exported as <a>), root minWidth/maxWidth (export width 100% between those bounds; the canvas keeps the design width), decorative images, document image assets via set_assets (2026-11-23, PAP-B-087). PR: https://github.com/leonardo-moraes360/paprika/pull/165. fb#30, fb#31, fb#32, fb#33 ✅ —
Diagram routing around shapes Obstacle-aware elbow routes, and relayout: true on draw_diagram for existing shape ids (2026-11-24, PAP-B-077). PR: https://github.com/leonardo-moraes360/paprika/pull/174. fb#58 ✅ —
Contract cleanups for the next breaking version Text and structuredContent as the same object; historyLabel with label as an alias; unknown session ids answer 404 so clients re-initialize; one actor name in both transports fb#22, fb#48, fb#50, fb#74 🟡 P3
Small conveniences pageId default on create_nodes (the page the human sees); typed size tokens scaled by scale; resolve on get_nodes; read-only sql_query; open batch shown in the activity list; one UI language (or a setting); live cover and cover in export; normalized examples; edited paths as "ignore layout" children (A) fb#21, fb#23, fb#36, fb#38, fb#44, fb#46, fb#49, fb#51, fb#63, fb#64 ⬜ P3
Write results agents can use as-is create_nodes, duplicate_nodes and imports return {ids, roots, created} (ids keeps the old id list; roots is {id, name, type, x, y, width, height} for each new node whose parent was not created in the call; created is {id, name, type, parentId} for every new node) and one readable text line per root. create_page with ensure: true returns the existing page of that name. Done (PAP-B-064). fb#91, fb#99 ✅ —

| Tokens in every length field | Radius, gap, padding (one number or four; not two), stroke width, fontSize, lineHeight, letterSpacing and shadow x/y/blur/spread accept a token whose value is a length. Resolved like colors (canvas, screenshot and export match); cssVariables writes var(--token), line-height as calc(var(--token) / 1px). A color token in a length field is refused. Changing a $space token re-lays out every frame that uses it (2026-11-22, PAP-B-065). | fb#83, fb#88, fb#89, fb#90 | ✅ | — | Already covered by shipped work, to mark "Done" in the log: fb#8 and fb#16 (group node), fb#13 (pages; auto-stacking top-level frames landed in PAP-B-061 as place: "free").

#R. App interface (shell, panels, inspector)

The editor's own interface, apart from what is drawn on the canvas. Every row here is a UI change: draw it in a local Paprika over MCP first (AGENTS rule 6, design-first).

Capability Paprika today Status Pri.
Bug: the first page of a workspace cannot be renamed while it is the only one Cause found: a workspace without pages shows a placeholder "Página 1" row (web-legacy/src/Pages.tsx) that is not a real page node, so double-click does nothing; renaming it should create the page and name it. Requested 2026-11-22. Batch 3: PAP-B-020. Done (PAP-B-020): double-click or F2 on the placeholder opens the inline rename; committing creates the page with that name, moves the content into it and opens it, in one undo step. ✅ —
Bug: numeric fields accept non-numeric text Screenshot from the maintainer: "Opacidade" shows 1aaaaa. Cause: Field with type="number" renders a text <input> with only inputMode="decimal" (web-legacy/src/Inspector.tsx), and setNum silently drops a value that does not parse. Numeric fields should refuse non-numeric input (and say why when a pasted value is rejected). Requested 2026-11-22. Batch 3: PAP-B-027. Done (PAP-B-027): numericInput.ts filters typing (comma as decimal), rejects bad paste with aria-live / aria-invalid, and clamps out-of-range values (opacity 2 → 1) with a message that includes the range (Use um número entre 0 e 1.). Size fields still accept hug/fill; token text fields unchanged. ✅ —
Compact inspector Today it is one long scroll area with a lot of information. Requested 2026-11-22. Batch 3: PAP-B-022. Done (PAP-B-022): collapsible inspector sections with aria-expanded, two-column numerics, and localStorage for open state; default collapsed sections cut #right-tabpanel height ~60% for a selected text node (1440×900, packages/e2e/b022-measure.mjs). Boards in docs/en-US/assets/boards/PAP-B-022/. ✅ —
+ and − buttons on every purely numeric field A stepper in the inspector for fields such as opacity, weight, stroke width and position; fields that accept tokens ($name) or text keep a plain input. Relates to B "Configurable nudge step". Requested 2026-11-22. Batch 4: PAP-B-046. Done (PAP-B-046): ± on pure numeric Fields (opacity step 0.05, weight 100, else 1; Shift×10; ArrowUp/Down); hug/fill and token/text stay plain; reuses PAP-B-027 clamp/ranges. Boards in docs/en-US/assets/boards/PAP-B-046/. ✅ —
Better-looking activity history Today it is a block of poorly formatted information. Requested 2026-11-22. Batch 3: PAP-B-025. Done (PAP-B-025): Activity.tsx rows with actor color+name, action, relative time, batch grouping, undo/redo "agora" marker; long labels truncate with aria-label; boards in docs/en-US/assets/boards/PAP-B-025/. ✅ —
Side panels collapse into a floating button when shrunk past their minimum Top-left or top-right corner; clicking the button expands that panel. Dragging a panel more than 32px below its minimum (or pressing the shrink arrow on its handle while it sits at the minimum) collapses it; the button restores the width it had before the drag, and each panel's state is remembered in localStorage (paprika.panel.left.collapsed, paprika.panel.right.collapsed) (2026-11-22). Requested 2026-11-22. Batch 3: PAP-B-024. ✅ —
Drag the toolbar and dock it left, top, right or bottom Drag the grip (or pick a side in the toolbar menu) to dock left/top/right/bottom; left/right go vertical; side remembered in localStorage (paprika.toolbar.dock). Collapsed-panel buttons from PAP-B-024 shift past the bar when they share an edge. Requested 2026-11-22. Batch 4: PAP-B-048. ✅ —
Destructive actions A danger palette (--color-danger*, apart from the brand red) behind the destructive button, ui.dangerBtn for the row-level delete/remove triggers, and one ConfirmDialog on the alert-dialog primitive (names what is lost, focus on Cancel, Esc cancels, typed name for a workspace delete) used by the overview delete and the team remove-member dialog (2026-11-22). The canvas notice when an agent deletes or switches the workspace stays in Q "Safer deletes", waiting for PAP-B-015. Batch 3: PAP-B-026. ✅ —
Turn title attributes into accessible tooltips Follows the accessibility review (thread "Revisar acessibilidade do Paprika", PR #70). Requested 2026-11-22. Batch 4: PAP-B-051. Done (PAP-B-051): every HTML title in web-legacy replaced with shadcn/Hint Tooltip (hover+focus, Esc dismisses); icon buttons keep aria-label; TooltipProvider at app root; a11y E2E covers zoom + toolbar. Boards in docs/en-US/assets/boards/PAP-B-051/. ✅ —
Internationalization (i18n) Reading recorded on 2026-11-22 (the request only says "add i18n"): translate the web app UI, at least English and pt-BR to match the bilingual docs, with a way to pick the language. Today the canvas UI, HTTP API messages and default names ("Página 1") are pt-BR only (I, "Guide and errors in English"); the agent-facing text is English with get_design_guide {language: "pt-BR"}, and the site already has en and pt-BR pages. Decided (maintainer, 2026-11-22): the UI and default names ("Página 1" / "Page 1") follow the chosen language; HTTP API messages move to English, like MCP. Still open: which languages come after en and pt-BR. Requested 2026-11-22. Batch 4: PAP-B-052. Done (PAP-B-052): lightweight dicts in web-legacy/src/i18n/ (en + pt-BR), browser detect + in-app switch + localStorage; default page/untitled names via @paprika/core helpers (UI passes locale; MCP/HTTP English fallback); HTTP API errors in English; E2E pins pt-BR and smokes both languages. Boards in docs/en-US/assets/boards/PAP-B-052/. ✅ —
Migrate the UI to shadcn components Superseded (2026-11-28): the new apps/web (#259, #262) builds on the UI SDK (headless) styled with Tailwind on the brand tokens, with no shadcn (maintainer's decision, 2026-11-26); web-legacy and its shadcn layer were removed in #262; PAP-A-095 writes the ADR. History: keep Paprika's own theme (ADR 0003, Tailwind without Preflight); how it fits: ADR 0005. Requested 2026-11-22. Batch 3 is done: PAP-B-030 foundation (primitives in web-legacy/src/components/ui/ on ui-* tokens, gallery on /ui, ConnectionStatus); PAP-B-034 team panel; PAP-B-031 overview and dialogs; PAP-B-032 inspector (Field/ModeField/SelectField on Input+Label+Textarea+Select, sections on Collapsible, actions on Button; compact density from B-022 kept); PAP-B-033 shell, floating toolbar on ToggleGroup+Tooltip, layers/pages/InlineName/PanelResizer/floating panel buttons and the zoom strip in Canvas (ui.iconBtn freed; statusDotVariants on the top bar). PR: https://github.com/leonardo-moraes360/paprika/pull/87 (PAP-B-030), https://github.com/leonardo-moraes360/paprika/pull/89 (PAP-B-034), https://github.com/leonardo-moraes360/paprika/pull/104 (PAP-B-031), https://github.com/leonardo-moraes360/paprika/pull/121 (PAP-B-032), https://github.com/leonardo-moraes360/paprika/pull/118 (PAP-B-033). Superseded —
Better on-screen animations with tailwind-animate tw-animate-css 1.4.0 came in with PAP-B-030 (enter/exit utilities plus a scoped prefers-reduced-motion guard, used by the primitives), so part of this row was done. tw-animate-css left with web-legacy in #262; apps/web has only the transitions of its own components (components/ui/). Parked with the cancelled batch-4 work (PAP-B-053..060, "richer animations"). Requested 2026-11-22. Batch 4. ⬜ TBD
Condensed agent roster Seen 2026-11-22 (screenshot from the maintainer): with many agents the roster in the top-right corner of the canvas (AgentCursors.tsx, data-testid="agent-roster") grows to 15+ pills, one per MCP session, with names numbered by session (cursor-composer to cursor-composer 11, pap-b-051 2, from applyPresence in agents.ts), and covers the canvas. Condense it: group sessions of the same client into one pill with a count (cursor-composer ×11) that expands on click or hover; show the busiest few (writing first, then reading) and a "+N" for the rest; fade idle sessions sooner than the 2-minute TTL; keep each session's color and cursor on the canvas. Respect the side panels (collapsed or not) and the toolbar docking row. Requested 2026-11-22. Batch leva-6: PAP-B-073. Done (PAP-B-073): one pill in the top-right groups a client's sessions, lists the busiest (writing, then reading) and "+N", and fades idle sessions out of the roster after 60 s while the cursor stays until 2 min. It sits clear of the side panels and the toolbar dock. PR: https://github.com/leonardo-moraes360/paprika/pull/161. ✅ —
Agent work on the canvas that looks like live building Reference: a 23 s screen recording from the maintainer (2026-11-23) of another canvas tool, where an agent builds a dark music-app UI (three phone frames, then a desktop playlist screen). What it shows, frame by frame: (1) above the frame being worked on, a small animated dot-matrix label in blue pulses, like a "working…" sign, and the frame's border turns blue while the agent is on it; (2) a screen is built top to bottom in front of the viewer: each new element first appears as an empty placeholder with a thin blue outline at its final size (header bar, text lines, list rows, image square), then its content fades in (text goes from dim to full, images appear) and the blue outline moves on to the next element, so there is always one "current" element; a list grows one row at a time with the next empty row already outlined; (3) a translucent code panel scrolls behind the left edge with the markup being written (flex, text-, data, playlists/3); (4) when a screen is redone, the old one dims to almost black before the new build starts; (5) no mouse cursor shows: activity is told by the outline, the label and the build order. The recording is a reference for the kind of feedback only: the look, motion and timing are Paprika's own (theme, agent colors), nothing copied from that tool (invariant: original tool). Paprika today (I, "Agent presence on the canvas"; AgentCursors.tsx, agents.ts): one cursor per MCP session glides to the last nodes the agent touched, with an outline, name and color, and fades after 15 s; a write lands all at once. Wanted: (a) a per-agent "working" label over the top-level frame the agent is writing to, in the agent's color, animated while calls keep coming and gone when idle; (b) nodes created by an agent appear in order, outline first and then content fading in, with the agent's outline stepping from node to node (client-side only, from the ids in each write and the next doc; never delays or reorders the document); (c) a translucent code panel, off by default behind a toggle, that shows the HTML/React export of the frame being edited and updates live as the agent writes (reuses the core export; decided 2026-11-23); (d) keep the current cursor and name tag, and let the outline and the working label lead (decided 2026-11-23). Respect prefers-reduced-motion (no fades, outline only), always replay the full build node by node, even for a large write (decided 2026-11-23: no time cap; the document is already saved, only the display trails), so keep each step short and the replay cheap, the "canvas goes blank" bug below is done (PAP-B-067), so this row no longer waits on it. UI change: draw it in a local Paprika first (AGENTS rule 6). Requested 2026-11-23. Build with the condensed roster; the blank-canvas bug it waited on is done (PAP-B-067, decided 2026-11-23). Batch leva-6: PAP-B-074. Done (PAP-B-074): a per-agent working label sits on the top-level frame being written, in the agent's color, and leaves when that agent is idle. Nodes an agent creates replay in tree order, outline then content, without delaying or reordering the document; prefers-reduced-motion keeps the outline and skips the fade. A code toggle, off by default, shows the React export of that frame and follows the write. The cursor and the name tag stay. Boards in docs/en-US/assets/boards/PAP-B-074/. PR: https://github.com/leonardo-moraes360/paprika/pull/168. ✅ —
See at a glance which agents are active on the canvas Requested 2026-11-23 with the recording above. Today the roster in the top-right corner lists every session seen in the last 2 minutes (data-testid="agent-roster"), active or idle, and only the cursor's fade tells them apart. Wanted (decided 2026-11-23): the roster in the top-right corner becomes one pill, "3 active" with the agents' color dots, that expands on click into who they are (color dot + name, "writing" or "reading" from the last tool), apart from the idle ones; active = any call, read or write, in the last 15 s; the same state on the frame being edited (label from the row above) and in the page list (a dot on each page where an agent is working); click keeps today's "take me to the agent". Build it with the "Condensed agent roster" row (same component, AgentCursors.tsx), not as a second list. UI change: draw it first. The blank-canvas bug it waited on is done (PAP-B-067). Batch leva-6: PAP-B-073. Done (PAP-B-073): the pill reads "3 ativos" with color dots and opens into active versus idle; active is any call in the last 15 s, labeled writing or reading from the last tool. The same state sits on the frame being edited, and each page with an agent at work gets a dot. Click still jumps to the agent. Boards in docs/en-US/assets/boards/PAP-B-073/. PR: https://github.com/leonardo-moraes360/paprika/pull/161. ✅ —
Bug: with many agents writing at once, the canvas goes blank (background only) Seen 2026-11-22 (screenshot from the maintainer, /w/<id> at 19:30): the whole page shows only the dark background, no toolbar, panels or canvas. Done (PAP-B-067): root cause of the blank page is a render exception with no React error boundary, so #root unmounts and only the dark body background remains (the canvas itself is light). Every agent write still broadcasts the whole document (docMessage); the tab used to parse and render each one. A stress e2e (packages/e2e/test/e2e/parallel-write.e2e.test.ts, 6 parallel MCP sessions, tab open, console recorded) kept the shell and saw no page error on a fast machine; the failure shows up when that burst blocks the main thread. Incoming doc messages are coalesced per animation frame (only the latest is parsed and applied), and an error boundary keeps the toolbar and panels and shows the error with Reload. Patches instead of the whole document stay later. PR: https://github.com/leonardo-moraes360/paprika/pull/149. ✅ —
Bug: collapsing (or expanding) an inspector section flickers Seen 2026-11-23 (screen recording from the maintainer, right panel with a frame selected): opening or closing a section such as "Fill and stroke", "Theme mode", "Auto layout" or "Order" does not slide smoothly. Over a few frames the sections below jump and briefly overlap the body that is still animating, and at the end of the animation the body shows clipped (half a row) before it settles. Where it lives: web-legacy/src/inspector/InspectorSection.tsx on CollapsibleContent (web-legacy/src/components/ui/collapsible.tsx, Radix Collapsible 1.2.1 + animate-collapsible-up/down from tw-animate-css, height from --radix-collapsible-content-height); the section open state is in localStorage (sectionState.ts, PAP-B-022). Not diagnosed yet; suspects to check first: the grid gap-1 pb-1 on the animated element itself (padding and gap inside the measured height), the closing animation not holding its end state for the frame before Radix unmounts the content, and the inspector re-rendering on every document message while the section animates. Plan: reproduce in an e2e that records the section's box and its next sibling every frame during a toggle (no backward jump, no frame with the body taller than its final height); fix; keep prefers-reduced-motion with no animation. Earlier flicker fixes to follow as reference: the WASM layer while resizing the side panels (PR #60, render inside the ResizeObserver callback, with a per-frame e2e) and the jump on workspace card hover (PR #58). Requested 2026-11-23. Batch leva-6: PAP-B-088. Done (PAP-B-088): the jump was the height animation on the collapsible element itself. grid and pb-1 sat on the node Radix measures, and the close let height fall back to auto for a frame, so the next section stepped backward and the last row clipped. The section now slides with grid-template-rows (0fr/1fr); padding and gap stay on an inner wrapper, and the body leaves the document only after the close animation ends. prefers-reduced-motion still closes in one step (styles.css). A per-frame e2e records the section box and the next sibling (packages/e2e/test/e2e/inspector-collapse.e2e.test.ts): no backward jump, no frame taller than the settled height. Boards in docs/en-US/assets/boards/PAP-B-088/. PR: https://github.com/leonardo-moraes360/paprika/pull/151. ✅ —
Bug: the WASM renderer paints layers in the wrong order (switching DOM ↔ WASM/GPU changes the picture) Seen 2026-11-23 (12 s screen recording from the maintainer, "Paprica · UI" at 88 %, the renderer toggle next to the zoom clicked about ten times): every capture frame is either the DOM picture or the GPU picture, and the two differ in most of the canvas, so each click reads as a flick. Cause: the WASM <canvas> sits under the whole DOM world (Canvas.tsx, wasmLayer.ts), so every node the DOM still paints (text, images, diagram shapes, connectors, and frames/rects that wasmPaintable rejects: dashed or dotted strokes, center/outside strokes, gradients, uneven corners) lands above every WASM shape, whatever the document order. Three cases reproduced in headless Chromium (vello_cpu) with a 9-node fixture: (1) a dashed rect inside a back frame shows over the opaque frame in front of it; (2) a solid child of a frame with a dashed border disappears under the parent's DOM background; (3) a text shows over the rect drawn after it in the same frame. The recording shows (1) and (3) on real content: the PAP-B-051 board under the PAP-B-044 boards bleeds through. wasm.e2e misses it because the bezier fixture has no DOM-painted node under a WASM one. PAP-B-096: decide WASM eligibility in paint order: a shape stays on the WASM layer only when no node the DOM paints comes before it in paint order and overlaps its painted bounds (ancestors with their own paint, stroke, shadow, rotation and clip included); everything else goes back to the DOM, cascading. displayList returns the final painted set and RenderNode hides only those ids (one source of truth, no second call to wasmPaintable). Acceptance: the three cases as a fixture in examples/, DOM vs WASM diff < 0.5 % in wasm.e2e; AGENTS rule 3 and ADR 0002 say that parity covers overlap. No UI change. Done (PAP-B-096): a shape stays on WASM only when no earlier DOM-painted node overlaps its painted bounds (stroke, shadow, rotation and clip); the rest go back to the DOM, cascading. Fixture packages/e2e/fixtures/wasm-layers.paprika.json; DOM vs WASM diff under 0.5% in wasm.e2e. PR: https://github.com/leonardo-moraes360/paprika/pull/171. ✅ —
Bug: switching the renderer can show a frame with shapes painted by neither layer Same recording. Today the DOM stops painting shapes when the renderer is ready, and the first WASM draw waits for the next requestAnimationFrame. With vello_cpu the handoff landed in the same frame (per-frame sampling during two DOM → WASM → DOM rounds: DOM background and canvas pixel switch together at frame 3, back to DOM in one commit), but on WebGPU the present is asynchronous and was not measured (headless has no GPU). A render that throws sets backend: "error" and keeps active true, so the DOM stays hidden over an empty canvas. PAP-B-097: hand over only after a successful first render: draw synchronously when the scene is first set, flip active after it, and drop back to the DOM (active false) on any render error. Acceptance: an e2e that samples every frame during toggles (no frame where the DOM paint is off and the canvas pixel is empty) and one that injects a render error and still sees the shapes; a manual check on the maintainer's GPU with a screen recording. Follow PR #60 (render inside the callback, never defer to rAF). No UI change. Done (PAP-B-097): the first scene is drawn in that same turn, and active flips only after that render returns. Any render error sets active false so the DOM paints the shapes again. The e2e samples every frame across two DOM → WASM → DOM rounds (no frame with the DOM paint off and an empty canvas) and injects a render error that still shows the shapes. The screen recording on the maintainer's GPU was requested and is not part of this change. PR: https://github.com/leonardo-moraes360/paprika/pull/176. ✅ —
Switching the renderer rebuilds the WebGPU device and the label hops DOM → WASM → GPU Same recording: each click to WASM mounts a new <canvas>, creates a new renderer (WebGPU adapter and device) and frees it on the way back; while it loads the button reads "WASM" for a few frames before "GPU". PAP-B-098: keep the module and the renderer alive across toggles (hide the canvas instead of unmounting it, or one renderer per tab), and keep the button label stable while it loads (current label plus a loading state, aria-busy). Acceptance: toggle latency measured before and after; no new device per toggle; label change drawn first in "Paprica · UI" (AGENTS rule 6). After PAP-B-096 and PAP-B-097. Done (PAP-B-098): the module and the renderer stay for the life of the canvas. Switching back to the DOM hides the canvas instead of freeing the adapter. While the first load runs, the button keeps the current label (DOM) with a spinner and aria-busy, then reads GPU or CPU. Headless Chromium (vello_cpu; the software adapter is rejected, so requestDevice stays 0): before, each createRenderer called requestAdapter (16 ms, then 4 ms). After, the first toggle is 23 ms and one adapter; the next toggle is 8 ms and the adapter count does not move (data-creates stays 1). Frames b098-light and b098-dark on page Interfaces of Paprica · UI. PR: https://github.com/leonardo-moraes360/paprika/pull/177. ✅ —

#S. Releases and updates

From the maintainer's "OTA update?" question (2026-11-22): smaller steps first, full OTA only with a standalone binary or desktop app.

Capability Paprika today Status Pri.
New version notice in the app Smaller first step of the OTA request (agreed with the maintainer on 2026-11-22). The app checks the GitHub releases and shows "a new version is available" with the update command (git pull + docker compose up -d --build). Needs published releases first: the repo has no tags or releases yet, and releases are cut by hand only when the maintainer asks, not on every merge (decided 2026-11-22); paprika --version already reports server.Version. Requested 2026-11-22. Batch 4. Parked with the cancelled batch-4 work (PAP-B-053..060); returns when the maintainer asks. ⬜ TBD
Version check between team peers The real risk today: two instances on different versions can diverge in the CRDT or in signed operations. The sidecar's ALPNs are versioned (paprika/sync/1, paprika/join/1), but peers do not compare app or document-format versions; the check should warn or refuse sync on an incompatible peer (M, "Real-time multi-user editing", ADR 0004). Requested 2026-11-22. Batch 4. ✅ PAP-B-039
Full OTA update (signed download, rollback) Future, only once there is a standalone binary or desktop app. Under Docker an update means replacing the image: a binary that replaces itself inside the container fights that and is lost on the next up --build. Depends on the two rows above and on published releases. Requested 2026-11-22. Batch 4. Parked with the cancelled batch-4 work (PAP-B-053..060); returns when the maintainer asks. ⬜ TBD

#T. Stabilization and reference parity (2026-11-24)

From the leva-8 design dogfood (PRs #180–#183: Feira end to end, design system + dashboard, landing page, seven reference boards), the maintainer's own replica pass ("Veredito · Claude" workspace, six reference logos redrawn over MCP and scored against the originals) and the open rows of the agent feedback log. Lane A: worked by Claude subagents from the maintainer's thread, one branch and pull request per row. Row numbers in parentheses are agent feedback log rows.

Fixes first (waves 1 and 2), then the parity tools (waves 3 and 4). The parity tools move numeric work from the agent to the tool: the agent decides the structure, the tool measures, traces and fits. A replica scored on raw pixels reads 88–97 % "equal" because the background dominates; scored on the drawn shapes only (IoU) the same six replicas read 41–74 %, which is the number an agent can act on.

Ticket Capability Paprika today Status Pri.
PAP-A-005 Opening /w/<id> shows a workspace without making it active The SPA POSTs /open, so a link or a second tab switches the server's active workspace for every client, and the first navigation can stay on "Opening workspace…" (#155 P0, #158) ✅ #185 P0
PAP-A-006 The layout engine honours layout.wrap; get_bounds covers every page Wrap is emitted to CSS but ignored by layout(), so get_bounds and layout-overflow disagree with the canvas; ids on a second page are dropped silently (#169, #156, #153) ✅ #187 P1
PAP-A-007 Strict MCP inputs with errors that name the valid shapes fill accepts linear-gradient() and paints black; layout.padding [v, h], lineHeight as px and width: "$token" fail with opaque messages; unknown args (id, ids) are ignored; get_nodes fails whole on one missing id; export_image rejects #RRGGBBAA and svg (#163, #156, #175, #113, #119, #151, #162, #157, #161, #160) ✅ #191 P1
PAP-A-008 Placement that follows the agent's intent place: "none" with x/y joins the auto-layout flow; duplicate_nodes right/below anchor to the page union (or 0,0) instead of the source; the page content box reports 0×0 (#154, #172, #123, #137, #142) ✅ #189 P1
PAP-A-009 Components: bind in one transaction, detach with binds and tokens bind is refused in the same create_nodes as the component; detach_instance rolls back when children bind; detach_tokens fails on instances (#155, #174, #170, #173) ✅ #186 P1
PAP-A-010 Constraints reach children of fill-width frames A child pinned right inside a fill-width header does not move when a numeric ancestor resizes (#171) ✅ #188 P1
PAP-A-011 Canvas, screenshot and export agree on fonts and backgrounds fontFamily: "Inter" paints serif on the canvas (no font loaded, no generic fallback); render_screenshot of a non-frame node comes back on opaque black; export_image PNG differs from the screenshot by ~12 %; exported HTML body is 1px tall (#93, #166, #159, #157) ✅ #190 P1
PAP-A-012 Shapes disappear under the WebGPU renderer Seen 2026-11-24 on the maintainer's GPU: in "Veredito · Claude" the whale board (rounded rects + filled paths) is blank in GPU mode and complete in DOM and CPU. Needs a GPU check by the maintainer Hardening only: device loss and uncaptured wgpu errors now hand painting back to the DOM. Not reproduced on an RTX 5090 or SwiftShader; waiting for the maintainer to retry on the machine where it happened. Checked again on 2026-11-28 on the RTX 5090 with pnpm test:gpu (headed Chrome 158, real WebGPU adapter): the whale fixture, 18 scenes and 4 real workspaces are painted completely on the GPU. The run found and fixed a different GPU bug (edges lighter than the shape, straight alpha on a premultiplied canvas), which does not explain a blank board. Closed as not reproducible (maintainer, 2026-11-29): the blank board was seen on this same RTX 5090, so there is no other machine to retry on. The whale fixture (wasm-gpu-blank) stays in pnpm test:gpu, which runs before every release (PAP-A-097), and #193 hands painting back to the DOM on a device loss or wgpu error. Reopen if it shows up again (report) ✅ #193, #270 P1
PAP-A-013 Guide points agents at the tools they missed The guide does not mention the gradient field, combine_paths for holes and unions, place_reference, or that text ink is color (#164, #165, #112, #130) ✅ P2
PAP-A-014 analyze_image: a reference image as structured data The agent reads a reference by eye. Proposed: segment the image into blobs and return JSON (box, centroid, colour, area, holes, symmetry, best-fit primitive: circle, ellipse, rounded polygon, curve) plus the palette ✅ #195 P1
PAP-A-015 compare_reference: parity as numbers place_reference and render_screenshot {compare} are visual only. Proposed: scores on the drawn shapes (IoU, missing, extra) and colour (ΔE of dominant colours), missing and extra regions as boxes in frame coordinates, per-node coverage, global offset (dx, dy, scale), a diff image, a target score and a history of rounds. First slice of the "assisted adversarial verification" row (I) ✅ #198 P1
PAP-A-016 trace_image: contours to editable paths No image trace (#168). Proposed: vectorize the reference or a region into path nodes (smoothed bezier), reusing the segmentation of PAP-A-014 ✅ #197 P1
PAP-A-017 Fewer numbers to write: corner radius on paths and parametric shapes Rounded petals and rings need hand-made geometry. Proposed: per-vertex or global corner radius on path, parametric star, polygon, ring (with thickness), arc and sector, stroke-to-outline, and radial repeat round_path_corners and create_shape_path shipped in #194; outline_stroke and repeat_nodes in #206. ✅ #194, #206 P2
PAP-A-018 Boolean operations in one call combine_paths works but takes one call per pair and keeps the bottom node's style (#1, #76). Proposed: a list of operations in one call and a chosen result style ✅ #192 P2
PAP-A-019 fit_to_reference: the tool tunes the numbers Proposed: given node ids and a reference, optimise position, scale and path control points to maximise IoU, one undo step. After PAP-A-015 ✅ #200 P2
PAP-A-020 Screenshots that are easier to read Proposed: optional ruler or numbered grid overlay, and a crop + zoom on a region in frame coordinates ✅ #202 P3
PAP-A-021 Boolean ops: Go matches TS on coincident edges Found while building PAP-A-018: Go started each ring from the smallest vertex key, TS from the first inserted, so shapes sharing or touching an edge gave different paths (or an "empty path" error) in Go. Fixed with 28 coincident-edge golden cases ✅ #201 P2
PAP-A-022 analyze_image regions: which tool for which part of a reference Photo (grain measured at source size), gradient (one fitted ramp per background), flat and text regions, each with suggest and why; per-blob suggest; per-corner rounded rects and rounded polygons; nodeCount/byKind in compare_reference; "Choosing tools for a reference" in the guide. 20-image study: mixed tools mean IoU 0.876 / median 0.959 with fewer nodes vs trace only 0.857 / 0.935 ✅ #209 P1
PAP-A-023 Execute the mix inside Paprika crop on import_image/place_reference; trace_image blobIds (same ids as analyze_image) and exclude; drawn/dropped/droppedIds, cut by area × contrast so small text survives ✅ #208 (via #209) P2
PAP-A-024 compare_reference on gradient and vignette backgrounds Ink was "differs from the border colour"; now a per-image background model (smooth border-connected pixels, 12×12 OKLab grid), flat sheets keep the old rule. Icon on a dark vignette 0.49 → 0.99 ✅ #212 P1

#U. Agent ergonomics and reference follow-ups (2026-11-25)

From the Paper 0.5.19 study (research, proposals 1–3 and 5–8) and the open rows of the 20-image Dribbble study (agent feedback 190–203). PAP-A-033, PAP-A-034 and PAP-A-035 are done; the rest is not started.

Ticket Capability Paprika today Status Pri.
PAP-A-025 MCP annotations on every tool 23 of 71 tools carry readOnlyHint/destructiveHint/idempotentHint (checked 2026-11-28); none of the write, import or workspace tools added since section T do. Annotate all, add the column to both MCP tables. Done: all 71 tools carry them (18 read-only; the writing ones set destructiveHint and idempotentHint), TestEveryToolCarriesAnnotations fails on a tool without them, and the rule plus a table per hint combination is in the MCP page (one table instead of a column, because the tool table groups tools with different hints in one row) ✅ P1
PAP-A-026 The drawing loop and review criteria in the server instructions The guide ships the reference workflow, but not "one visual group per write, screenshot after each section, six named review criteria". Done: a "Drawing loop" paragraph in the server instructions and the pt-BR guide (ask for the brief, one visual group per call, screenshot after each section, review by spacing, typography, contrast, alignment, frame fit and repetition); TestGuideShipsTheDrawingLoop holds both ✅ P1
PAP-A-027 Per-domain change tokens Only a document version; an agent cannot tell whether tokens, nodes or pages moved since its last read. Done 2026-11-29: every write result carries changes {tokens, nodes, pages, assets} (content hashes, cached per node, about 1 ms per write at 5,000 nodes) and the outline has a changes: line ✅ P2
PAP-A-028 Token ordering advice set_tokens accepts anything; the guide could say semantic tokens first, then palettes, smaller values first ⬜ P3
PAP-A-029 Release what an agent is working on Presence clears on a TTL; add release_nodes (or done: true on the last write). Done 2026-11-29: release_nodes clears the agent's presence at once (a released presence message the web app and team peers act on); done: true was left out so the 40 write schemas stay as they are ✅ P2
PAP-A-030 Child order in structure results move_nodes, group_nodes, ungroup_nodes do not return the new order of affected parents ⬜ P3
PAP-A-031 Opt-in token on /mcp No authentication; recommended with --host or --team. Done: PAPRIKA_MCP_TOKEN makes /mcp require Authorization: Bearer (401 + WWW-Authenticate otherwise, constant-time compare), off by default, a startup line says the mode and warns beyond localhost or with --team; /api and /ws keep the Host/Origin check only ✅ P2
PAP-A-032 Region detection on hard references Silk gradient backgrounds not detected as gradients (traced as bands, IoU 0.08); a glow becomes a gradient region that spills onto white (0.80 vs 0.93 traced); smooth photos split into fragments (feedback 190–197) ✅ P2
PAP-A-033 Traced edges hold up when zoomed Contours from the source (≤ 2000 px) as a sub-pixel level of a soft coverage field, anti-aliasing slivers absorbed, neighbours overlap 1–4 px so no seams, straight sides stay straight; compare_reference adds an edge metric (chamfer mean/p95) and optional edgeTarget. Runners: edge mean 10.5 → 0.39 px, seam pixels 2445 → 30 ✅ #215 P1
PAP-A-034 A path's box follows its ink Paths created or updated without a size are normalized by default (selection box hugs the drawing); normalize_paths repairs old documents without moving the ink ✅ #214 P1
PAP-A-035 Canvas crash with fractional path boxes in WASM mode React #185: WASM-painted paths were measured with rounded offsets and DOM-painted ones exactly, so the paint-order overlap test flipped the painter on every commit; paths are now measured from their style ✅ #218 P0

#V. From the brand work friction batch (2026-11-25)

What stayed open after the batch of fixes for the friction logged in the agent feedback (rows 214–236 and the cover rows 204–213). Rows marked UI are interface changes: draw them in a local Paprika over MCP first (AGENTS rule 6, design-first). PAP-A-039, PAP-A-051 and PAP-A-052 are done; the rest is not started.

Ticket Capability Paprika today Status Pri.
PAP-A-036 Insert or alter in a drawing without recreating the frame Re-runnable scripts delete and recreate the whole frame, which also orphans pins and grows the history. Proposed: upsert by a stable key, update by path, insert into an existing frame. Done 2026-11-29: create_nodes {upsert: true, prune?} keyed by node id (ids are already stable and chosen by the script, so no second key); inserting into an existing frame was already parentId; update by name path was left out, since ids cover re-runs ✅ P2
PAP-A-037 Measure distances with Alt (UI) With one or more nodes selected, holding Alt shows in red the distances from the selection to the node under the pointer, in document px: to the parent or any ancestor (the four insets), to an aligned sibling (one gap), to something diagonal (one gap per axis with dashed guides) and to something overlapping (matching edges). Alt over the selection itself or empty parent space measures to the direct parent; Alt+Ctrl measures to the deepest node. Drawn from the shared overlay layer so it works the same in DOM and WASM·GPU; off during drags, resizes and text editing. Asked again on 2026-11-29 with the case of a text inside a section header. Design-first: board in docs/en-US/assets/boards/PAP-A-037/ ✅ #303 P2
PAP-A-038 The brand wordmark as a component in the guide Both guide scripts place the wordmark path by hand, so a change has to be redrawn on every board (fb#234) ⬜ P3
PAP-A-039 Canvas Ctrl+Z per actor (UI) The canvas undo popped the shared history of any author (fb#204, #205). Now Ctrl+Z undoes only the human's own latest step (selective undo with conflict detection), a toast says what happened, and a History panel (Ctrl+H) groups steps by author and undoes an agent's step after a destructive confirmation ✅ #255 P2
PAP-A-040 Warn about a glyph missing from the font ⋯ rendered as a box in Inter and nothing warned (fb#223). Proposed: a missing-glyph lint rule ⬜ P3
PAP-A-041 Contrast report and a non-text contrast rule lint_design reports only failing text, with no ratio; a marker border at 1.21:1 passes (fb#208). Proposed: report: "contrast" with each pair's ratio, and a non-text-contrast rule (WCAG 1.4.11, 3:1). Done: both, for borders and strokes of frames, rects, ellipses, paths and shapes ✅ P2
PAP-A-042 Contrast sees painted siblings below contrast uses ancestors' fills only; a label over a sibling rect is measured against the panel behind (fb#216). Document it, or count painted siblings that contain the text. Done: a rect, frame, image or rect/note shape below that holds the whole box counts (an image or gradient skips the measure) ✅ P2
PAP-A-043 Cover crop aspect on the overview card The card is about 2:1 and center-crops a 16:9 cover (fb#211). Document the aspect in set_workspace_cover, or add fit: "contain" ⬜ P3
PAP-A-044 A pin linked to another pin, and a region snapshot A pin that says "here too" has no link to the earlier one, and a redraw leaves only a node and a region (fb#227). relatedPinId and a small snapshot of the region ⬜ P3
PAP-A-045 preserveAspectRatio: "none" on paths A path in a box of another aspect keeps its ratio; stretching needs rewriting d by hand (fb#215) ⬜ P3
PAP-A-046 Export a grid or contact sheet export_image takes one root; a contact sheet needs an image library (fb#219). rootIds, layout: "grid", columns ⬜ P3
PAP-A-047 get_bounds {painted: true} get_bounds returns path boxes, not the painted ink, so "centred in its parent" cannot be checked in one call (fb#229). Done: painted with geometry plus outer stroke, children unioned ✅ P2
PAP-A-048 export_image svg in structuredContent The SVG is only in the text block; MCP clients show just {width, height, format} (fb#231) ⬜ P3
PAP-A-049 compare_reference with an SVG or file reference It needs a reference image placed on the canvas; comparing a node with an official SVG took a browser and an image library (fb#232). Checked 2026-11-28: reference now takes a data URL, raw base64, a path under PAPRIKA_IMPORT_DIRS or an image node id; PNG, JPEG, GIF and WebP only, so an SVG reference is still refused. Done 2026-11-29: SVG markup, data:image/svg+xml and .svg paths are rasterized (no text or filters, with a warning) ✅ P2
PAP-A-050 lint_design suggests lintIgnore per rule An intended failure is silenced with lintIgnore, but the result never says so (fb#218) ⬜ P3
PAP-A-051 The overview card and set_workspace_cover report the node count A card that said "1 nó" after an undo was read as a count bug; a node count in the result would show the document had changed (fb#204). Checked 2026-11-28: the card shows the count (CardMeta in apps/web) and set_workspace_cover returns workspace.nodes ✅ —
PAP-A-052 An explicit wasmPaintable rule list, with a test What the WASM renderer does not paint like the DOM falls back to the DOM by an explicit rule, covered by a test. Follow-up of R1(d); PR #235 covers the stroke scaling and the parity E2E but not an explicit rule list ✅ #242 P1
PAP-A-053 htmlImport maps flex-grow to layoutGrow layoutGrow exists on nodes, but pasted or imported HTML drops flex-grow ⬜ P3
PAP-A-054 Inspector control for layoutGrow (UI) Only settable over MCP; the inspector has no control. Design-first ⬜ P3
PAP-A-055 apply_ops node schema lists layoutPositioning, constraints and layoutGrow The node schema in the apply_ops contract omits these fields, so agents cannot discover them. Done: the node schema of create_nodes and apply_ops lists the three, with the same enums and bounds as packages/core/src/schema.ts; TestNodeSchemaListsLayoutChildFields holds it ✅ P2
PAP-A-056 History steps cleared on re-import Re-importing a document leaves the recorded steps (actor, redo) of the old one. Cause (2026-11-28): ImportDocument with replace (server/internal/server/store.go) deletes history but not history_steps ⬜ P3

#W. Canvas performance and stabilization (2026-11-25)

Measured on the maintainer's real workspace (14,752 nodes, 7.2 MB) on main 17c9fac; the plan and the numbers are in docs/en-US/performance.md. PAP-A-052, PAP-A-012, PAP-A-036, PAP-A-047 and PAP-A-039 ride with this batch (rows elsewhere). Rows marked UI are interface changes: draw them in a local Paprika over MCP first (AGENTS rule 6, design-first). Each row that makes a perf budget pass flips that budget to enforcing in the same PR. PAP-A-059 and PAP-A-066 landed in #243, PAP-A-065 and PAP-A-052 in #242; the rest is not started.

Ticket Capability Paprika today Status Pri.
PAP-A-057 WebSocket sends changes, not the whole document Every write sends the full document (docMessage): 7.23 MB per write on a 14,752-node workspace, 578 MB for 80 writes by 4 agents. Opening a workspace sends 2 snapshots. Proposed: ops with the version; a snapshot only on open and resync; one snapshot on open ✅ #247 P0
PAP-A-058 Guaranteed delivery to a slow tab The per-connection queue holds 64 messages and drops with select/default, so a slow tab never learns the latest state: it ended at version 481 of 485. Proposed: never drop the latest doc message; the client detects a version gap and asks to resync ✅ #245 P0
PAP-A-059 set_assets persisted; a bad stored document does not stop the server set_assets has no table in the store, so a restart drops the assets, and an invalid stored document stops the server for every workspace. Proposed: persist assets in SQLite; skip and report the invalid document so other workspaces keep opening ✅ #243 P0
PAP-A-060 Server write cost proportional to the change A one-prop update_nodes takes 1.08 s on the worst case (SyncInstances 0.46 s, syncRows 0.35 s, serialize 0.2 s). Proposed: SyncInstances only for affected instances, persistence by touched ids, no full stringify to diff. Done for paint-only updates of plain nodes (3 ms over baseline) and for history persistence; every op kind now writes copy-on-write, persists by touched ids and scopes the derived passes (create/delete of 200 nodes about 15 ms, was 450 ms); remaining: documents with connectors or groups inside components or slot references keep the full derived passes, import, reload and remote ops keep the full write, and a component-master edit still costs 0.29–0.34 s (the 1,000 copies are rebuilt and their rows written; limit 50 ms not reachable without building copies lazily). Done on 2026-11-29: a rebuilt copy keeps its place in the node map (both cores), so the edit is no longer a reordered map; it persists only the copies that changed and /ws sends a delta of 384 KB instead of the whole document (5.9 MB); the copy of a component found in slot content drops componentProps (it made the document invalid on the next full check) 🟡 #249 #252 #281 P1
PAP-A-061 Client applies a change without diffing the whole document changedIds serializes every node. Proposed: use changedIds/createdInOrder from the change and keep the identity of untouched nodes Done: the canvas applies deltas keeping node identity and reads the changed ids from the message; the script-time budget stays known-failing and moves to PAP-A-068, because the cost left is not the delta. ✅ #247 P1
PAP-A-062 Pan, scroll and zoom without re-rendering every node setView re-renders all nodes: 32 fps panning a 3,506-node page on a 180 Hz machine. Proposed: apply the view to a transform, memoize RenderNode, no hit testing or DOM measuring during the gesture (2026-11-26: the view lives in a store applied to the world element in requestAnimationFrame, RenderNode is memoized by node version, overlays read the view through useSyncExternalStore; p95 frame 83 ms → 17 ms on the synthetic worst case) ✅ #246 P1
PAP-A-063 Panel resize without re-render, virtualized layers list One resize step takes 750 ms and the layers list renders 60k DOM elements. Proposed: panel width as a CSS variable, contain on the canvas, a virtualized layers list ✅ #248 P1
PAP-A-064 Agent build replay does not hide content (UI) Nodes appear one by one at BUILD_STEP_MS and wait with opacity 0: 200 nodes took 28.6 s to become visible, which reads as "nodes vanish" and "reload needed". Proposed: nodes appear at once, only the agent outline walks the queue, capped at about 2 s per write. Maintainer decision 2026-11-25; replaces "always complete, no time limit" of 2026-11-23. Design-first Done: created nodes show at once in their final form (DOM and WASM); only the agent outline walks them, one walk per agent, capped at about 2 s per write, none under prefers-reduced-motion; the agentNodeVisibleSmallMs budget (1 s) is enforced, the heavy page stays report-only under PAP-A-061. ✅ #250 P1
PAP-A-065 WASM renderer positions shapes with exact DOM geometry measureBoxes sums offsetLeft/offsetTop, which ignore the offsetParent's border and round to integers. Measured on WebGPU: median 0.86 px, p90 2.17 px, max 5.6 px off; adding the ancestor borders leaves 0.15/0.41 px. Proposed: exact geometry, and a parity E2E with nested bordered fractional layout ✅ #242 P1
PAP-A-066 Shift + wheel pans horizontally The canvas wheel handler does not swap the axis with Shift ✅ #243 P2
PAP-A-067 Center content inside simple shapes from the interface (UI) No control centers the text or content of a rect or ellipse; it needs MCP or manual offsets. Design-first Done: the inspector has a Content section (summary, Horizontal and Vertical icon toggles, Center with Alt+C) for a frame with children, and the canvas context menu has Center content; both write the frame's auto-layout (layout row or column, justify/align, padding 0 on Center) with ops that already exist, one undo step each. A rect or ellipse cannot hold children in the model, so for one with text or icons drawn over it the same controls first turn the shape into a frame in place (same id, geometry and style; an ellipse must be a circle and becomes a frame with radius half its size), adopt the content that sits fully inside it above it in z-order, and then center, all in one undo step that restores the original shape; new ops convert_to_frame and convert_to_shape (inverse) in both cores, reachable through apply_ops. A shape with nothing over it keeps the hint. ✅ #253 #254 P2
PAP-A-068 An incoming write costs the tab in proportion to the change Profile on the worst case: with nothing selected the inspector ran lintDocument (quadratic in text and node count) on the main thread for every document version, 11.5 s of the 12 s of script per write (2.5 s measured on the one-prop write, 24 s until a 200-node frame was visible). Done: the lint runs in a Web Worker that receives only the changed nodes and is coalesced; RenderIndexer bumps the affected chain instead of recomputing every version; UiStore notifies only when its value changed; frame labels are measured only for frames whose node changed. Closed on 2026-11-29, measured on main 3502274 (11 runs of pnpm test:perf): the new apps/web (#262) never runs the packages/core layout() on a delta (the canvas reads boxes from the DOM; only the pins overlay lays out one top-level node) and the tab only holds the pages it opened (PAP-A-071, #267). The one-prop write costs 7–26 ms over the small document (limit 50 ms) and the 200-node frame is visible in 106–146 ms on the heavy page (limit 1 s), so both budgets are now enforced. The incremental layout in packages/core is no longer needed for this item; the copy of the node map on each delta is still O(loaded nodes) but stays inside the budget ✅ #251 #280 P1
PAP-A-069 Any shape can own children (core) Today only frame, group and page hold children, so a rect or ellipse with text drawn over it needs the conversion to a frame. Proposed: let any shape own children, with one reasonable maximum nesting depth that applies to every container. Decided on 2026-11-29 in ADR 0010 (maintainer's choice): only frames, groups and pages keep children; a frame gets contour (rect, ellipse, path with d) that paints and clips it, the conversion covers every case below and path, and every container shares one nesting limit of 64 levels. Steps: core (a: contour: "ellipse", done in #283; b: depth limit, #284; c: contour: "path", #285), conversion and MCP (#286), interface (contour picker in the inspector and "Convert to frame" in the layers menu, design approved on 2026-11-29, #291). Scheduled after v0.1.0. The shape-to-frame conversion of PAP-A-067 is the interim answer and covers rect and ellipse only. The conversion leaves these cases out, and this item must cover them: (1) a non-circular ellipse does not convert, because a frame radius is in pixels and an oval would turn into a stadium, so it keeps the empty hint; (2) shapes that are rotated, inside an auto-layout parent or inside an instance are also refused ✅ #283 #284 #285 #286 #291 P2
PAP-A-070 The first load travels compressed The snapshot on open went out as one uncompressed WS message (8.4 MB for a 17,139-node workspace) and the hashed app assets were sent without gzip and with no-store. Done: /ws negotiates permessage-deflate (8.4 MB → 1.25 MB on the wire, 50.7 MB → 7.6 MB on a 103k-node copy); /assets/* is gzipped and cached as immutable; wsOpenWireRatio budget enforced ✅ P1
PAP-A-071 Open a workspace one page at a time The first load still grows with the whole workspace. Proposed (ADR 0008): the snapshot on open carries the open page, the component masters it uses and stubs for the other pages; other pages load on demand; additive to the WS contract, MCP and team sync unchanged. Measured: 0–33% of the document per page on the real workspace. Done: implemented behind pages in hello, which the app announces by default; loading state drawn in docs/en-US/assets/boards/PAP-A-071/ ✅ P1
PAP-A-072 Opening a large workspace right after the server starts is fast The first open after a restart spent 4.4 s in the server (SQLite read) for a 51k-node workspace before sending anything ✅ P2
PAP-A-073 Reopening a workspace sends only what changed (cache in the tab) The tab keeps the last document it saw in IndexedDB, keyed by workspace and version; on open, view says which version it has and the server answers with the deltas since then, or "unchanged", falling back to the full snapshot when that version is too old. Contract change: goes with ADR 0008 as a "reopen from cache" section. To check first: whether the server can build the delta from version N to head from the history it keeps in SQLite ✅ P2
PAP-A-074 Serialize the snapshot once per version on the server Several tabs, reconnects and reloads re-serialize the same document; cache the serialized snapshot per (workspace, version). No contract change ⬜ P3
PAP-A-075 Evaluate QUIC between the browser and the server (HTTP/3, WebTransport) Today the canvas talks to the server over HTTP/1.1 + WebSocket on TCP, so on lossy or high-latency links one lost packet stalls every message behind it, and a network change drops the socket. Evaluate HTTP/3 for the app assets and WebTransport next to /ws (with WS as fallback), e.g. with quic-go. To check first: browser support (WebTransport is not in every browser), the TLS certificate it needs on localhost and on a LAN, whether Gin and the MCP clients keep working, and measured gain on a throttled, lossy link versus PAP-A-070. Team sync between instances already runs on QUIC through Iroh (ADR 0004) and is out of scope ⬜ P3

#X. New web app: overview and export follow-ups (2026-11-27)

What the overview design (03-overview-claro.png / 03-overview-escuro.png) shows and the new app (apps/web) does not, plus three items found while wiring it to the server. The first nine rows were left out because the server does not offer what they need (or the design does not exist yet); nothing here is started and none has a priority beyond "to plan", so each takes the lowest one (P3). Rows marked UI are interface changes: draw them in a local Paprika over MCP first (AGENTS rule 6, design-first).

Ticket Capability Paprika today Status Pri.
PAP-A-076 Overview top header: brand, team badge, version · MCP (UI) The design has a bar above the sidebar with the brand, the team badge ("North studio · 2 online") and "v0.9.2 · MCP at /mcp". The new overview has no header, which is why theme and language went to the sidebar footer. Left out because the server gives the overview nothing to fill it: /api/health returns the document version (a number), not the app release; the team status and the MCP address reach the page only on the open document's WebSocket, not on /. Needs: the release version and the MCP address on an HTTP endpoint (or in /api/health), the team status readable without opening a workspace, and the design deciding whether the editor's theme and language controls move up there ⬜ P3
PAP-A-077 Sidebar navigation: Recent, Favorites, Libraries (UI) The design lists three entries above Projects, with counts. The sidebar has Workspaces, Archived and Projects. Left out because the server keeps no "last opened" time per workspace (only updatedAt, which an agent edit also moves), no favorites and no libraries (shared component sets). Needs: lastOpenedAt on /api/workspaces, the favorite flag (next row) and a library model, each with its own design ⬜ P3
PAP-A-078 Overview filter: All / Favorites / Archived (UI) The design has a three-way control next to "New workspace". The overview filters by view in the sidebar (Workspaces, Archived, project) and by search. Left out because "Favorites" needs the flag in the next row; "All" and "Archived" are the sidebar views today. Needs the favorite flag, and the design deciding whether the control replaces the sidebar's Archived entry or sits beside it ⬜ P3
PAP-A-079 Favorite a workspace The card menu in the design has "Favorite". Nothing in the server marks a workspace as a favorite: no field in the workspaces table, no favorite_workspace MCP tool, no HTTP route. Needs: a persisted boolean per workspace (SQLite migration), POST /api/workspaces/:id/favorite (and the inverse, or a body), the field in the /api/workspaces list and the workspaceOp broadcast, an MCP tool or a list_workspaces field (AGENTS rule 4 if a tool), and team sync deciding whether it is per person or per team ⬜ P3
PAP-A-080 "Change cover" in the card menu, as drawn (UI) The design's card menu has "Change cover" as one entry (between "Favorite" and "Move to project"). The new overview already has "Add cover" / "Change cover" and "Remove cover" (a file picker, PUT/DELETE /api/workspaces/:id/cover), so this row is only the check that the entry and its position match the design once "Favorite" exists; it needs no server work ⬜ P3
PAP-A-081 Profile at the foot of the sidebar (UI) The design shows the user's avatar, name and team ("Leonardo, North studio") with a menu. The Profile component and the profile prop exist in the frontend, but the container passes none. Left out because the server has no notion of a user: no name, no avatar, no sign-in; agents are named by clientInfo and the team by the sidecar. Needs: where the name comes from (a local setting in the server, or the team identity), a route to read and change it, and the design of the profile menu (what it opens) ⬜ P3
PAP-A-082 "Import…" in the overview (UI) The design has "Import…" at the foot of the sidebar. The frontend has onOpenImport and the item, and the editor has its Import dialog, but the container passes no handler. Left out because importing today acts on the open workspace (the editor's Import dialog writes through the live document); from / it must either create a workspace from the file or ask which one to import into. Needs: the choice (new workspace from a .paprika.json, SVG or HTML, or pick the target), a server route that creates the workspace from the file in one step if the first is chosen (today it takes two steps, create then import, and a failure between them leaves an empty workspace), and the design of the dialog opened from / ⬜ P3
PAP-A-083 ?workspaceId= on /api/screenshot and /api/svg Both routes render the active workspace only (store.Doc()), so the overview cannot export the PNG or SVG of a card's workspace without opening it first (which changes the active workspace the agents see). /api/screenshot/:id is the archive of a past capture, not a workspace. MCP already reads another workspace without switching (PAP-B-063). Needs: the optional workspaceId query (same lookup as the WebSocket view, 404 for an unknown id, 422 for an invalid one, as /api/workspaces/:id/open does), a Go test per route and a case in packages/e2e/test/api.test.ts, and the line in the HTTP API table of the docs ⬜ P3
PAP-A-084 Card for an invalid workspace (UI) A workspace whose stored document fails validation is listed, but opening it answers 422 and the app shows a toast ("This workspace is damaged in the database and cannot be opened."); the card looks like any other. Needs: a design (a card state: damaged badge, no preview, actions limited to export of the raw document, archive and delete), a flag in the /api/workspaces list (to confirm: whether the list can know without parsing every document), and the decision of what the user can do with it (repair, export the stored JSON, delete) ⬜ P3
PAP-A-085 Layer tree with 5,000 nodes: fewer re-renders and no long task on open In apps/web the UI SDK Tree re-renders every visible item when a layer is renamed, a row is collapsed and while scrolling, and opening the editor on a 5,000-node page blocks the main thread in a long task of 60–90 ms (development build, ?perf=1; to be measured again on the production build before choosing a fix). The commit-count tests (apps/web/src/perf/editor.perf.test.tsx) show the regions do not commit on a one-node delta; the cost is inside the tree. Needs: a profile of the Tree render (which props change per item), then either a memoized item renderer fed by stable per-row props, or a fix upstream in @ui-sdk (the vendored skill is not edited: AGENTS rule 8); the worst-case scenario with its budget goes in the same change (AGENTS rule 7b) ⬜ P3
PAP-A-086 Port the E2E suites to the new app and remove web-legacy The server now serves apps/web by default, but every browser suite in packages/e2e (test/e2e/*, test/perf) still drives web-legacy, so the harness pins it with --web web-legacy/dist and CI still builds both apps. Needs: port each suite to the new selectors and routes (or retire the ones the unit tests in apps/web already cover), run them against apps/web/dist/client, then delete web-legacy/, its CI artifacts and Docker leftovers, and the web-legacy/dist fallback in the server's web-root detection. Done (2026-11): the browser suites of packages/e2e drive apps/web/dist/client; web-legacy/ is gone, with its CI build, artifact and trigger, its Dependabot/Sonar/ignore entries, the WASM output and the web-legacy/dist candidates in the web-root detection (the --web flag and $PAPRIKA_WEB_ROOT still accept any SPA build with _shell.html or index.html). Docker leftovers are handled with the image work ✅ —
PAP-A-087 HTML export of a block with href that holds text with a link nests anchors renderHTML (TS and Go, identical) writes <a href=block>…<a href=run>…</a>…</a> when a frame/block has href and a text inside it has a run with href. The HTML parser closes the outer anchor at the inner one, so in render_screenshot with the DOM renderer the text leaves the block and the block background repeats; the canvas (WASM) draws it right. Not a regression of the link rule (same output before). Options: (1) inner links come out as <span> with the same style (the inner link is lost); (2) the block comes out as <div> with its link as an absolute <a> covering it (the clickable-card pattern); (3) keep the export and have the lint warn "link inside a block with href". Needs a decision, then the same change in packages/core and server/internal/core with golden fixtures Done (2026-11-27, option 2 chosen by the maintainer): a block with href that holds another link (a text run, a text or a frame with href, at any depth) is exported as a <div> with its link as the first child, an empty <a aria-label="<node name, else the text, else the href>" style="position:absolute;inset:0;z-index:N"> covering the block; links inside it get position:relative and a higher z-index, recursively, so no output (HTML, React, Tailwind, CSS Modules, Angular, Svelte) nests <a>; a block without an inner link is unchanged, byte for byte. SVG export has no block href, so it never nested. Same change in server/internal/core, golden cases, and packages/core/test/linkNested.test.ts (property: no nested anchor in any export). ✅ —
PAP-A-088 Fonts from Google Fonts in render_screenshot The runtime image ships Liberation, Droid Sans Fallback and Noto for Arabic, Devanagari, Thai and emoji; Korean Hangul and every other script or family are not covered, and a document that names a Google Fonts family falls back. Requested by the maintainer (2026-11-27) instead of growing the image: the server fetches the families a document uses from Google Fonts before the capture (cache in /data, an allowlist of hosts, a timeout and a visible fallback when offline), so the image keeps a minimal set. Needs: the fetch and cache in server, the egress rule in the hardened compose, a case in docker-smoke.sh and the docs Done: server/internal/server/webfonts.go fetches the primary family of each text in the captured subtree (weights used plus 400, only the unicode-range subsets its characters need), allowlists fonts.googleapis.com/fonts.gstatic.com over HTTPS, caches in <db dir>/font-cache, 8 s budget, a family that fails is listed in render_screenshot warnings and not retried for 10 min; PAPRIKA_WEB_FONTS=off; Korean case in docker-smoke.sh (skipped offline). The hardened compose needs no egress rule: it has no network restriction, and on an --internal network the fetch falls back with a warning ✅ P2
PAP-A-089 Remove Chromium from the image Decision of the maintainer (2026-11-27): Chromium leaves the image later. Options in ADR 0012 (accepted 2026-11-30: option C, a native Rust sidecar). It is most of the runtime size and the reason for --no-sandbox, the ldd closure and the fonts. Needs: render_screenshot and the HTML/DOM paths served by the Rust/WASM renderer on the server (text included, today drawn by the DOM), parity with the current captures, then one image instead of runtime + slim. Until then the cold build stays around 280 s (the release build of paprika-sync dominates) and the proposals PAPRIKA_CHROMIUM_SANDBOX and reusing the CI build artifacts in the docker job are not pursued ⬜ P2
PAP-A-090 Code button in the build replay (UI) The old app had a button that showed the JSX of the frame an agent was building; the new app has none and there is no design board for it, so its E2E test was removed with the legacy app (AGENTS rule 8 forbids keeping it as it.fails). Needs: the design of the button and its panel, the implementation in apps/web, and the E2E test back (build.e2e.test.ts, by role and name) ⬜ P3
PAP-A-091 Image and CI follow-ups of the Docker rebuild Left from the 2026-11-27 rebuild: apt packages are not pinned by version (DL3008 ignored; snapshot.ubuntu.com with a fixed date was proposed and not tested); a paprika health subcommand could replace the separate healthcheck binary; the warm gain of the type=gha layer cache was never measured (measure on a PR with two pushes) and docker-cache.yml has no weekly schedule to keep it warm ⬜ P3
PAP-A-092 Follow-ups of the E2E port Left from the 2026-11-27 port: a path-point test needed a 150 ms wait before Delete (the shortcut acted on a document without the insertion); the wait was removed and the test passed 3 of 3, but the root cause was not found; the overview card has no hover outline (the old one had; needs the design); linkNested.test.ts compiles JSX with the esbuild that comes with vite, which is not a declared dependency; the Tailwind HTML export (CDN) is only covered by the Go goldens, never opened in a browser; WebGPU and team mode in the browser were never exercised in CI (headless has no GPU) ⬜ P3

#Y. Reconciliation follow-ups (2026-11-28)

Found while checking the backlog against main fc2284e after #262. Rows marked UI are interface changes: draw them in a local Paprika over MCP first (AGENTS rule 6, design-first).

Ticket Capability Paprika today Status Pri.
PAP-A-093 The export dialog offers every format the server exports (UI) The server exports PNG, JPEG, WebP, AVIF, PDF and SVG (export_image) and React, HTML, Tailwind, Tailwind HTML, CSS Modules, Angular and Svelte (export_code), but apps/web lists only PNG, SVG and React (adapters/export.ts). The editor board (02-editor) draws PNG/JPEG/WEBP/AVIF/PDF/SVG. Needs: the formats in the adapter, the server path for the raster and PDF formats the canvas does not render itself, and a check against the board. Before v0.1.0 (maintainer, 2026-11-28). Done: the dialog lists PNG, JPEG, WebP, AVIF, PDF and SVG plus every code format; PNG and SVG render in the page, the others go through the server (serverImageFormats in adapters/export.ts) ✅ #268 P1
PAP-A-094 Boolean operations from the canvas (UI) Union, subtract, intersect and exclude exist only over MCP (combine_paths, PAP-A-003 and PAP-A-018); apps/web has no command, menu entry or shortcut for them. Needs: the design (context menu and multi-select section), the ops through applyOps, one undo step ⬜ P3
PAP-A-095 ADR for the new web app #259 and #262 moved the app to TanStack Start (SPA), i18next, TanStack Query/Store/DB/Hotkeys and the UI SDK (headless) on Tailwind with Preflight, with no shadcn. ADR 0003 (Tailwind without Preflight) and ADR 0005 (shadcn) describe the removed app, and no ADR records the new one. Needs: an ADR that supersedes 0005 and amends 0003, in both languages. Done: ADR 0009 (EN and pt-BR); 0005 is marked superseded, 0003 amended, and the ADR list in the architecture page updated ✅ P1
PAP-A-096 DOM×GPU parity checked on a real GPU before a release wasm.e2e compares DOM and WASM pixel by pixel on vello_cpu only: headless has no GPU, so WebGPU was never exercised in CI (PAP-A-092), and PAP-A-012 is waiting for the maintainer's retry. Needs: a script that runs the parity fixtures (packages/e2e/fixtures/wasm-layers.paprika.json, bezier, the bordered fractional layout of PAP-A-065) in GPU mode on the maintainer's machine and writes the diff per fixture, plus a step in the release checklist (PAP-A-097). Run on 2026-11-28 (#270): pnpm test:gpu (packages/e2e/test/gpu) runs these fixtures, 10 synthetic scenes and any exported workspace on a real GPU (headed Chrome, RTX 5090, WebGPU on Dawn/Vulkan), in DOM, CPU and GPU, light and dark, fit and about 195 % zoom, and writes the diff per fixture. It found one GPU-only divergence (straight alpha on a premultiplied canvas: lighter edges in 67 of 88 variants), fixed in #270; after the fix the GPU matches vello_cpu in 88 of 88. The step is in the release checklist (step 4 of releases, PAP-A-097). Report ✅ #270 P0
PAP-A-097 Release process for v0.1.0 There are no tags or releases yet, and server.Version is the constant "0.1.0" in server/internal/server/mcp.go instead of coming from the tag. Needs: the version injected at build time (-ldflags, Docker build arg), a changelog, the steps to cut a release by hand (tag, GitHub release, image), the gates it runs (full CI, pnpm test:gpu from PAP-A-096) and the rule that a release is cut only with the maintainer's explicit ok, in docs/en-US and docs/pt-BR. Done: server.Version is "dev" unless the build passes -ldflags -X …Version=<version>, the MCP serverInfo.version follows it, the Dockerfile's VERSION build argument sets it; CHANGELOG.md (+ pt-BR); releases has the checklist (gate, release PR with ci:full, pnpm check, pnpm test:gpu, pnpm test:perf, both images) and the cut. Open: publishing the images to a registry ✅ P1
PAP-A-098 Move workspaces between projects (UI) Requested 2026-11-28. A project is a server folder (create_folder, rename_folder, move_workspace with folderId, empty = root; POST /api/workspaces/:id/folder; PAP-B-094, #175), and moving one workspace already works: the card menu in apps/web lists Move to project as a radio group of the projects plus No project, and MCP agents use move_workspace. Missing: drag a card (or several) onto a project in the sidebar, move a multi-selection in one action, the menu entry as drawn (one item that opens the list, not an inline group: Fable parity review), a notice with undo after a move, and a project picker for a workspace being created. Design-first. Outside the v0.1.0 gate ⬜ P3
PAP-A-107 Change a frame's shape, size presets and device frames (UI) Requested 2026-11-28. Today a frame is a rectangle with per-corner radius and clip; only rect and circular ellipse convert to a frame in place (PAP-A-067, #254), and letting any shape own children is PAP-A-069 (ADR first, after v0.1.0). Neither apps/web nor the MCP has size presets or device frames (checked 2026-11-28). Wanted: (1) change a frame's outline beyond the rectangle: rounded, ellipse, and any path used as the frame's clip shape (builds on PAP-A-069 and F boolean ops); (2) presets for common screen sizes, picked from the frame tool and the inspector and accepted by create_nodes (preset: "android-phone" and similar): Android and iOS phones and tablets, Mac and PC desktop, notebook; (3) device frames: a bezel drawn around a frame for Android, iOS, Mac, PC and notebook, with safe-area and notch insets as guides. The bezels are Paprika's own generic drawings, not vendor assets or trademarks (originality rule); they are a decorative layer outside the frame's content, left out of code export and optional in image export. Design-first. Outside the v0.1.0 gate ⬜ P3
PAP-A-108 The inspector never writes over a newer change (stale panel) Requested 2026-11-28 ("as polished as possible"). The properties panel shows the document at most every 100 ms (PANEL_REFRESH_MS in apps/web/src/editor/regions/properties.tsx) so a burst of agent writes does not re-render it every frame. A click in that window acts on what the panel still shows: in center-content.e2e an agent had centered the content, the panel still showed the old alignment, and clicking Left wrote align: start over the center (1dbf565 fixed the test by waiting, not the app). The intermittent CI failure of the shape-type picker in canvas.e2e.test.ts (picked triangle, the document kept diamond, PR #266) is the same family, confirmed in f950bdaa (#270): since the page snapshots of PAP-A-071 an HTTP read can answer before the delta reaches the page (13 ms in a trace), so three canvas.e2e steps clicked on the old value; the commit made the tests wait for the page, the app still acts on the stale panel. Proposed: (1) on pointer down or focus inside the panel, flush the pending refresh before the control handles the event; (2) every control writes only the props the person changed, merged against the live document at commit time (never a whole layout or stroke object rebuilt from the shown state); (3) when the node's version moved since the value was shown and the field the person touched also changed, keep the newer value and say so in a toast ("An agent changed this a moment ago") with an action to apply the person's value anyway; (4) an E2E per compound control (alignment, auto layout, stroke, radius, shape type) with an agent write right before the click, plus the shape-picker case. Inside the v0.1.0 gate ✅ #274 P1
PAP-A-117 A panel edit that leaves before the agent write reaches the page still replaces the whole object Left over from PAP-A-108 (2026-11-29). The panel now rebases its ops on the live document, but an update still carries a whole layout, stroke, radius or fills value: when the person's op leaves the page before the agent's delta arrives (a few ms on loopback, more over the network or in team mode), the server applies it over the agent write and the sibling fields go back. Proposed: either an update that patches nested keys (layout.align) or a base version per op that the server checks per field, answering with the newer value the way the panel toast does. Core + Go port + contract ⬜ P2

#Z. Visual styles drawn natively (2026-11-28)

Requested 2026-11-28: the maintainer wants these twelve styles drawable natively in Paprika: glassmorphism, neumorphism, claymorphism, neubrutalism, bento grid, skeuomorphism, flat, material, aurora, dark mode, minimalism and spatial UI. What the model already has (checked on main a48b7d5): backdropFilter and filter (blur, saturate, brightness and others), up to 8 shadows with inner, outline, linear/radial/conic gradient, per-corner radius, stroke style and position, theme modes, auto layout, rotation in 2D, and controls for all of them in the inspector (effects-section, gradient-fields). On the canvas, nodes using filters, backdrop filters, shadow lists and gradients stay on the DOM (AGENTS rule 3), so canvas, screenshot and HTML export match.

Style Today Missing
Flat, minimalism, dark mode Drawable now (solid fills, layout, modes) PAP-A-099 (recipe in the guide)
Neubrutalism Drawable now: shadow with blur: 0, thick strokes, strong type PAP-A-099
Glassmorphism Drawable now: translucent fill + backdropFilter blur + thin stroke PAP-A-100 (image and PDF export), grain in PAP-A-103
Neumorphism, claymorphism Drawable now: light and dark shadow pairs, inner, large radius PAP-A-100, PAP-A-101
Material Shadows and layers drawable; elevation levels as shadow tokens PAP-A-101
Aurora Approximated with blurred ellipses (filter: {blur}) behind content PAP-A-102 (several fills), L "procedural effect layers" (mesh gradient)
Bento grid Drawable now: layout.mode: "grid" with spans (ADR 0011); "Bento grid" recipe in the styles guide ✅ A "CSS Grid layout"
Skeuomorphism Gradients and shadows only PAP-A-102, PAP-A-103, C "Blend modes"
Spatial UI Backdrop blur and shadows; 2D rotation only PAP-A-104
Ticket Capability Paprika today Status Pri.
PAP-A-099 A recipe per style in the guide, with a reference board Agents get no guidance on composing these looks from the existing fields. Proposed: one short recipe per style in the server instructions and get_design_guide (which fields, typical values, contrast cautions, such as glass text over busy backgrounds), plus a fixture board with one card per style that wasm.e2e and the export tests render, so DOM, WASM and export parity is checked on them ✅ get_design_guide {topic: "styles"} (EN and pt-BR) and the board packages/e2e/fixtures/styles.paprika.json, checked in wasm.e2e (DOM×WASM), export.e2e (Tailwind and frameworks against HTML), the Go PNG export against the screenshot (flat, minimalism, dark mode, material) and the import/export round trip. The board found and fixed two export bugs: an rgba() color made the PNG export fail, and a gradient fill vanished in the Tailwind export P2
PAP-A-100 Filters, backdrop filters and inner shadows in SVG, PNG and PDF export export_image and export_code svg are built from the core SVG export, which drops filter and backdropFilter and draws an inner shadow as a plain one with a warning (packages/core/src/svgExport.ts), so glass, neumorphic and clay cards lose their look in image and PDF exports (the screenshot and HTML export keep it). The PNG, JPEG, WebP and AVIF export (server/internal/export/raster.go) is worse: it strips every <filter> before rasterizing, so it drops all shadows, plain ones too; the neubrutalist card of the PAP-A-099 board (hard shadow, blur: 0) scores 0.93 against the screenshot and is left out of the similarity test until this lands. Proposed: SVG filter equivalents (feGaussianBlur, color matrices; backdrop blur through a blurred copy of what lies under the node, clipped to it), inner shadows through a clipped and inverted offset blur, the same in server/internal/core with goldens, and a visualdiff against render_screenshot ✅ Step 1 done: the raster export draws through its own Go compositor (server/internal/export/composite.go, filters.go): every element with filter, clip-path or opacity gets its own layer, which is filtered (blur, offset, flood, drop shadow, composite, merge, morphology, color matrix, component transfer), clipped and blended back, and stroke widths now follow the scale (oksvg drew them in device pixels, so a 3px border came out about 1px at 2×). On the way, both cores now lay out a frame's content inside its inside stroke, as the CSS border does. All 9 cards of the board are in the similarity test, each at 0.99 or more. Step 2 done: the core SVG export (TS and Go, same goldens, the styles board joined them) draws box shadows as CSS does (spread, inner shadow inside the stroke, outer shadow clipped outside the box), filter as an SVG filter on the node, and backdropFilter as a filtered copy of what lies behind the node clipped to its box; the compositor pads a filtered layer past the canvas so a blur that bleeds out keeps its glow. Found on the way: the rasterizer (rasterx ScannerGV) has no even-odd fill, so a user path or contour with fillRule: "evenodd" still fills non-zero in the image export; the shadow geometry avoids it by winding the hole the other way. Step 3 done: the PDF places a frame, rectangle or ellipse with a shadow, filter, backdropFilter or gradient as an image of that node from the compositor (core.ExportSVGLayers gives the node's layer, backdrop included, over a region grown by the effect's reach), keeps children and text as vectors, and paints colors with their alpha P2
PAP-A-101 Effect tokens: an elevation scale for shadows Typed tokens cover color, length and type (TokenTypeName), but not a whole shadow. Material elevation and neumorphic pairs repeat the same shadow list by hand on every node. Proposed: a shadow token type holding one shadow or a list, usable in shadow and in modes (a dark mode with other shadows), exported as CSS variables. Done: the token holds CSS box-shadow text ("0 4px 12px $ink, inset 0 1px 0 #fff") so token values stay scalar; nodes use it as shadow: "$name" ✅ P2
PAP-A-102 Several fills per node, each with its own blend mode A node has one fill or one gradient. Aurora backgrounds and skeuomorphic materials stack several gradients and a texture. Proposed: an ordered list of paint layers (solid, gradient, image) with opacity and blend mode per layer; joins C "Blend modes"; WASM keeps it on the DOM until the renderer supports it ⬜ P3
PAP-A-103 Image, pattern and noise fills Images are only image nodes; a shape cannot be filled with a picture, a repeating pattern or grain. Proposed: an image fill with cover/contain/tile, and a procedural noise fill (amount, scale, monochrome) drawn the same in canvas, screenshot and export; relates to L "Procedural effect layers" ⬜ P3
PAP-A-104 3D transforms and perspective for spatial UI Only 2D rotation. Proposed: rotateX/rotateY, perspective on a frame and depth order, with hit testing and handles that follow the projected box; needs an ADR (both cores, WASM, export, MCP schemas) ⬜ P3

#AA. GPU parity on real hardware (2026-11-28)

Run of pnpm test:gpu on the maintainer's RTX 5090 (driver 595.99.02, Chrome 158 headed, WebGPU on Dawn/Vulkan, not SwiftShader): 22 scenes (10 synthetic boards, the 8 fixtures, 4 exported workspaces) × light/dark × fit/zoomed, each captured in DOM, WASM · CPU and WASM · GPU. Report, numbers and screenshots. Result for PAP-A-096 (row in section Y): the script exists (packages/e2e/test/gpu, pnpm test:gpu) and writes the diff per fixture. One GPU-only divergence was found and fixed: vello's GPU output has straight alpha and the canvas surface is premultiplied, so antialiased edges over the empty canvas came out lighter than the shape (67 of 88 variants, up to 6.4 % of the viewport; 0 after the fix, crates/render/src/present.rs). After the fix the GPU matches vello_cpu in every variant; what still differs from the DOM is shared with vello_cpu. The step in the release checklist is done (PAP-A-097, releases).

Ticket Capability Paprika today Status Pri.
PAP-A-105 DOM × vello parity at fractional zoom At 180–195 % zoom, 1–2 px inside strokes, rotated shapes and fractional edges differ on up to 2.15 % of the pixels (0.9 % after a 3×3 blur), the same in vello_cpu and on the GPU: Chrome snaps borders to device pixels under the scale transform and vello covers them analytically. wasm.e2e checks only near 100 %. Proposed: decide which side moves (snap in displayList or accept and document), then a wasm.e2e case at a fractional zoom ⬜ P2
PAP-A-106 GPU parity in CI pnpm test:gpu needs a headed browser and a hardware WebGPU adapter; GitHub-hosted runners have neither, so it is manual. Proposed: a self-hosted runner with a GPU (or a cloud GPU runner) that runs it on changes to crates/render, apps/web canvas or packages/core/src/displayList.ts ⬜ P3

#AB. Pixel art and sprite animation (2026-11-28)

Requested 2026-11-28: the maintainer draws 2D game art in a dedicated pixel art editor and wants to do it in Paprika. Spike with the workflow, the comparison with main e4a1f5b, the architecture (a sprite node with sprite_layer children and a paint delta op), the MCP surface, the MVP, risks and effort: research. Outside the v0.1.0 gate. Originality: own names, look and keymap; .ase interop only from the public format specification.

Ticket Capability Paprika today Status Pri.
PAP-A-109 Crisp rendering of image nodes (pixelated) Images are scaled with smoothing on the canvas, in screenshots and in exports, so a 32×32 sprite imported with import_image blurs when zoomed. Proposed: an image field (rendering: "smooth" | "pixelated", default smooth) honoured by nodeStyle (image-rendering), HTML export and the pure-Go raster fallback (nearest neighbour), accepted by import_image; inspector toggle (design-first). Quick win, independent of the sprite model ⬜ P2
PAP-A-110 ADR: sprite model, paint and sprite_frames ops, cel encoding Nothing holds editable pixels. Proposed in the research: sprite (grid, palette with token refs, frames with durations, tags) + sprite_layer children holding sparse cels (RLE + base64, linked cels), paint op with runs/regions and an exact inverse, spriteRaster as the single raster source. ADR first, with measured sizes and the team-sync stance (LWW per layer in MVP) ⬜ P2
PAP-A-111 Sprite nodes and ops in both cores After PAP-A-110: schema, applyOps, inverse, spriteRaster in packages/core and server/internal/core, goldens, perf scenario (256×256, 8 layers × 24 frames, one 200-pixel stroke) ⬜ P2
PAP-A-112 Sprite rendering and export DOM <canvas> with pixelated scaling, wasmPaintable false, screenshot with frame, sprite sheet PNG (rows/columns/packed, padding, scale, per tag) + JSON (frames, durations, tags), animated GIF/WebP, per-frame PNG ⬜ P2
PAP-A-113 MCP pixel tools create_sprite, paint_pixels (rows + legend, points, primitives), get_pixels (rows or PNG, region cap), set_palette (with remap), edit_frames, export_sprite, import_sprite; pixel recipe in the server instructions and get_design_guide. Rule 4 for each tool ⬜ P2
PAP-A-114 Pixel edit mode (UI) Design-first board. Enter a sprite to edit: pencil, eraser, bucket, eyedropper, line, rectangle; palette panel; timeline (layers × frames, durations, tags, playback, onion skin); pixel grid; one paint op per stroke ⬜ P2
PAP-A-115 Import .ase/.aseprite and sliced PNG sheets Parser in Go from the public spec: RGBA/indexed/grayscale, layers, raw/compressed/linked cels, palette, durations, tags; tilemaps, blend modes and user data listed in warnings. PNG sheet sliced by cell size into frames ⬜ P2
PAP-A-116 Pixel art after the MVP Free selection and lasso, transform_pixels (shift, outline, recolor by map), symmetry, dithering and shading brushes, layer blend modes (joins C), layer groups, tilesets and tilemaps, slices with pivots and hitboxes, WASM/GPU painting with nearest sampling, per-tile CRDT merge, .ase export for round trips, palette ramps from tokens ⬜ P3

#AC. Local Docker run (2026-11-29)

Found on 2026-11-29 while rebuilding the maintainer's local container from main 0441ac27.

Ticket Capability Paprika today Status Pri.
PAP-A-118 Server memory under the Docker limit compose.yaml sets mem_limit: 1g and says the server alone stays under 100 MB, but with the maintainer's real database the server sits at about 977 MiB idle and the kernel killed it (OOM) on the first write; the MCP client only saw "other side closed". The peak in that session was 1.42 GiB. It runs today with a local, untracked override of 4 GB. Proposed: measure where the memory goes with that database (heap profile on open and on a write: loaded documents, snapshots, history, undo footprints), fix what grows with the document, add a perf/budget check for idle and write memory, then set a limit that holds with margin and log clearly when the server nears it Done (2026-11-29): measured with synthetic workspaces of 15,000 nodes (each read workspace stayed in memory for good: six of them reached 445 MiB of heap and 700 MiB RSS); the server now keeps the active workspace and the two read most recently, drops one idle for five minutes, sets a Go soft limit at 60% of the container limit and warns past 80% of it; TestAsideWorkspacesAreBounded guards it; compose.yaml allows 2 GiB. Left for later: the in-memory document itself costs several KB per node (the jsonv maps; 2.8 MB of JSON becomes about 75 MiB of heap), and the 500-entry undo history has no size cap; the maintainer's real database was not measured ✅ #296 P1

#AD. Side panel sections (2026-11-30)

Asked by the maintainer on 2026-11-30, with a screenshot of the right panel on the workspace view (Tokens, Theme modes, Review, Activity). Both are interface changes: draw them first (design-first, AGENTS rule 6) with the brand guide components.

Ticket Capability Paprika today Status Pri.
PAP-A-119 A collapsed section moves to the bottom of its panel Collapsing a section keeps it in place, so an open section below it stays where it was and the free space sits at the bottom. Proposed: on the left and the right panels, a collapsed section moves below the open ones (keeping its relative order among the collapsed), so the open sections take the space; opening it brings it back to its place. To settle in the design: whether the move animates (and what reduced motion does), and how keyboard focus follows the header that moved ⬜ P2
PAP-A-120 Resize a section by dragging its divider The horizontal dividers between sections are fixed; a section is as tall as its content. Proposed: on the left and the right panels, hovering a divider shows a resize cursor and dragging it down grows the section above, up to the bottom of the panel on screen (the panel itself does not scroll past the window); the size is kept per section like the open state, and a double click goes back to the content height. To settle in the design: the minimum height, how sections below are pushed or shrink, and a keyboard equivalent (a focusable separator with arrow keys) ⬜ P2

#AE. Canvas handles say what they move (2026-11-30)

Asked by the maintainer on 2026-11-30, with a screen recording of the canvas: the handles of a selected shape do not say what they will move, so it is hard to know what will happen until it happens. An interface change: draw it first (design-first, AGENTS rule 6) with the brand guide components.

Ticket Capability Paprika today Status Pri.
PAP-A-121 Handles show what they change before the drag A selected shape carries several kinds of handles (resize corners and edges, rotation, corner radius, padding and gap bars, path points, connector ends, grid gaps) that look alike, and only some change the cursor; what a handle moves (width, height, both, radius, which gap) shows only once the drag starts. Proposed, to draw before choosing: each kind gets its own shape and cursor; hovering a handle highlights what it will change (the edge or corner, the padding or gap band, the radius arc) and shows a short label with the property and its current value ("Width 320", "Radius 8", "Gap 12", "Rotate 0°"); the same on DOM and WASM·GPU (shared overlay layer) and in both themes. Out of scope: changing what the handles do ⬜ P2

Edit this page on GitHub