Agents and MCP
Agent feedback log
Friction found while AI agents used Paprika through MCP, recorded during real work. Format: date · task · what the agent needed vs. what happened · proposal · priority.
#2026-11-21: drawing 5 icon + theme proposals (scripts/brand/draw-brand.mjs)
Task: an agent drew 5 flat paprika icons with increasing complexity (3 → ~20 shapes), each shown at 240/96/48/24 px next to a palette and a UI sample, using only MCP tools.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 1 | Organic shapes (a pepper silhouette) | Only rect/ellipse exist; the pepper had to be built from overlapping, rotated ellipses |
Add a path node (SVG d, fill/stroke) and boolean union of children (path with bezier curves done on 2026-11-21; MCP combine_paths / core boolean ops done in PAP-A-003 — canvas command still open) |
P1 |
| 2 | Put a stem on the tip of a rotated pod | Rotation pivots on the box center, so the agent had to do trigonometry; the calyx was misplaced twice and only caught by screenshot | Done (2026-11-22, PAP-A-001): get_bounds returns origin + rotated corners; path_info adds origin / transformOrigin |
— |
| 3 | Same icon at 4 sizes | No components/instances or scale: the script regenerated every shape with a scale factor (4× the nodes, edits don't propagate) | Components + instances with scale; duplicate_nodes with scale |
P1 |
| 4 | 5 themes side by side | Tokens are global, so they had to be namespaced by hand (p1.brand … p5.brand) and rewritten in every node |
Done (2026-11-21, see #45): theme modes (set_tokens with mode) and mode on a frame or page; named collections are still open |
— |
| 5 | Check the result visually on the user's machine | render_screenshot failed: Playwright 1.63 needs Chromium build 1243, only 1228 was installed |
Done (2026-11-22, PAP-B-062): a missing or mismatched browser is reported at startup and when a screenshot fails, with pnpm --filter @paprika/e2e exec playwright install chromium |
— |
| 6 | Catch visual mistakes without a screenshot | lint_design passed while the calyx floated off the pod |
Done (2026-11-22, PAP-B-066): detached-sibling, near-gap (under 4px) and fully-hidden |
— |
| 7 | Read structured results | Tools return JSON as text; the agent has to parse strings | Done (2026-11-21, see #48): outputSchema + structuredContent on every JSON tool |
— |
| 8 | Layout wrappers that don't clip | Every wrapper frame needed clip: false and fill: "transparent" |
A group node, or clip: false by default when a frame has auto layout |
P3 |
| 9 | Quiet lint | 21 raw-color infos for intentional literals (white handles, black text on buttons) |
Done (2026-11-22, PAP-B-066): per-node lintIgnore and minSeverity on lint_design |
— |
| 10 | See who did what | The actor name comes from the HTTP User-Agent (node, brand-agent), not from the MCP client |
Done (2026-11-21, see #48): agent:<clientInfo.name>, also over HTTP |
— |
| 11 | One undo step for "draw proposal 3" | 7 history entries for one script run (rename, tokens, 5 creates) | Done (2026-11-21, see #48): batch on every write tool |
— |
| 12 | Agent-facing language | Guide and errors are in Brazilian Portuguese; English prompts mix languages | Done (2026-11-21, see #48): guide, descriptions and errors in English; get_design_guide {language: "pt-BR"} |
— |
| 13 | Several boards | Everything shares one canvas; proposals had to be stacked by hand with fixed y offsets |
Done (2026-11-22, PAP-B-061): pages already shipped; a new top-level frame with no x/y lands in free space (place: "free") |
— |
| 14 | Watch the agent draw after the server switched files | The open canvas tab reconnected to the new document but kept the old zoom/pan, so the new boards could be off-screen (fixed: the canvas now refits when the document id changes) | Done in this change | — |
#2026-11-21: bezier curves (path node, pen tool, path_info)
Task: add bezier curves so agents and humans can draw organic shapes, then redraw the pepper with paths only (packages/server/scripts/bezier-demo.mjs, removed with the TypeScript server).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 15 | A node box that matches the drawing | Without width/height the box runs from the node origin to the far edge of the curve, so a d that starts at (40,30) leaves empty space at the top left, and overflow lint measures that box |
Done (2026-11-22, PAP-A-001): normalize: true on create_nodes / create; path_info.origin reports the gap |
— |
| 16 | Layer several paths as one shape (body, shadow, highlight, calyx) | Each part repeats the same x/y; moving the pepper means moving 5 nodes |
group node (see #8) or a paths: [] list on one node |
P2 |
| 17 | Edit one control point | Changing a curve means rewriting the whole d string |
Done (2026-11-24, PAP-B-076, https://github.com/leonardo-moraes360/paprika/pull/170): edit_path moves one anchor or its handles; path_info.anchors lists the same points |
— |
| 18 | Know the drawn size before placing a part | path_info with canvasBounds answered it in one call; it also caught a typo (d inválido: número esperado na posição 12) |
Keep: return position-accurate parse errors for every string field | — |
#2026-11-21: Go server with SQLite (server/)
Task: reimplement the server in Go with the same contract, storing data in SQLite.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 19 | Know what the server promises to agents | The tool list and instructions only existed as TypeScript code; a second implementation would drift | Done: server/scripts/gen-contract.mjs dumps tools/list and the instructions into server/contract/mcp.json, and the parity suite checks both servers return the same contract. Since the TypeScript server was removed, mcp.json is the contract itself, edited by hand and checked by packages/e2e |
— |
| 20 | Undo after a restart | With the file server, the history lived in memory and was lost on restart | Done in the Go server: both stacks are committed to SQLite with each change | — |
| 21 | Query the design without loading it all | Agents had to call get_document/query_nodes |
The Go server's nodes table can be read with plain SQL (type, name, parent_id); an MCP sql_query tool (read-only) could expose it |
P3 |
| 22 | Same actor name everywhere | Still taken from the HTTP User-Agent (see #10); kept identical in Go for parity | Switch both servers to clientInfo.name together |
P3 |
#2026-11-21: canvas renderer in Rust/WASM (ADR 0002)
Task: prototype the canvas in Rust/WASM (vello on WebGPU, vello_cpu fallback) and benchmark it against the DOM canvas (ADR 0002). No MCP calls; the friction is about what agents rely on.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 23 | Load an example document outside the server | packages/e2e/fixtures/bezier.paprika.json omits defaults (visible, opacity…); a renderer that read it without parseDocument drew nothing in every mode, and only a screenshot showed it |
Write examples normalized, or say in AGENTS.md that every reader must go through parseDocument |
P3 |
| 24 | Check a GPU-rendered canvas from an agent's headless browser | Headless Chromium without a GPU loses the WebGPU device when a canvas is presented (plain JS too), so pixels come back empty | If the canvas ever moves to WebGPU, keep render_screenshot on the HTML path, or render offscreen and read pixels back (as gpu-readback-check.cjs does) |
P2 |
| 25 | Pick the fast path automatically | Headless Chromium offers a software WebGPU adapter (SwiftShader) that is 45–220× slower than vello_cpu; a naive "WebGPU if available" picks it | Treat DeviceType::Cpu adapters as no GPU (done in the prototype) |
— |
| 26 | One geometry source for agents and renderers | The prototype re-derives boxes (and measures a hidden DOM for auto layout) because core exposes no resolved geometry | Done (2026-11-22, PAP-A-001): core layout(doc) (+ Go port / goldens); MCP get_bounds |
— |
#2026-11-21: WASM canvas integration (crates/render, ADR 0002)
Task: wire the Rust/WASM renderer into the canvas as an opt-in hybrid (WASM draws shapes, DOM keeps text and hit testing). No MCP calls.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 27 | Check the WASM canvas the way an agent checks the DOM | render_screenshot renders the HTML export, so it never shows what the WASM layer draws; only a browser screenshot of the live canvas does |
Keep screenshots on HTML (deterministic), and rely on the E2E parity test; if agents need it, a renderer: "wasm" option on render_screenshot that loads the canvas page |
P3 |
| 28 | Know which renderer a human is looking at | The choice lives in the browser (localStorage), so an agent cannot tell whether the human sees DOM or WASM output | Report the active renderer and backend over the WebSocket hello, and expose it in get_document_outline metadata |
P3 |
#2026-11-21: landing page drawn in Paprika (apps/site)
Task: design the project's landing page in Paprika over MCP (desktop and mobile, English and Portuguese, ≈300 nodes) and publish it as a web page built from the document.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 29 | Check a page whose height follows its content | render_screenshot of a root frame with height: "hug" returned a 1280×1 px image (rootBounds turns hug into 1 px), so the agent had to check the page in its own browser |
Done (2026-11-22): render_screenshot measures a hug/fill root in the browser and sizes the image to it |
— |
| 30 | Buttons and nav items that link somewhere | Nodes have no link field; the site build reads a naming convention (name: "link:<href>") and turns those nodes into <a> |
Done (2026-11-23, PAP-B-087): optional href on frames and text, exported as <a> |
— |
| 31 | One page for every screen width | Root frames have a fixed width and export_code sets the body to that size, so the page was drawn twice (1280 and 390) and the build stretches roots to the viewport |
Done (2026-11-23, PAP-B-087): minWidth/maxWidth on a root frame; export uses width 100% between those bounds |
— |
| 32 | Reuse the same image | The icon's data URI is repeated in 8 image nodes (≈200 KB document) | Done (2026-11-23, PAP-B-087): document assets via set_assets and image src $name |
— |
| 33 | Mark an image as decorative | lint_design warns missing-alt on alt: "", which is correct HTML for a decorative image |
Done (2026-11-23, PAP-B-087): decorative: true skips the missing-alt lint and exports alt="" |
— |
#2026-11-21: multi-select, groups and pages (backlog slice 1)
Task: add group and page nodes to the core (TS and Go), the MCP tools group_nodes, ungroup_nodes and create_page, and multi-select, marquee and pages in the canvas. Addresses #8, #13 and #16.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 34 | Group or ungroup from a client that may be behind | The canvas first expanded group/ungroup into primitive ops on its own copy of the document; when an agent wrote in between, ungroup used a stale group position and children jumped |
Done: group, ungroup and add_page are real ops, expanded inside applyOps against the current document, so every client and agent sends intent, not coordinates |
— |
| 35 | Know the size of a group | A group's box is derived from its children at the end of each transaction, so writing width/height on it is rejected with a message that says why |
Keep the rule; describe_node already shows the fitted box |
— |
| 36 | Put content on a page in one call | Once a document has pages, every top-level node must be a page; the check runs at the end of the transaction, so create_page + create_nodes with parentId works, but a loose top-level node fails with a message naming it |
A pageId default on create_nodes (the page the human is looking at) would save agents a lookup |
P3 |
#2026-11-21: components and instances (backlog slice 1, item 2)
Task: components (component: true) and instances (instanceOf, scale, overrides) in the core (TS and Go), the MCP tools create_component, create_instance and detach_instance, and inspector panels for instances and copies. Addresses #3.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 37 | Override a copy without knowing its generated id | Copy ids are derived (instance + source id), so an agent can't guess them | Done: create_instance returns copies (source id → copy id), and overrides can be written on the instance by source id |
— |
| 38 | Scale an icon set | The same icon at 4 sizes is now 1 component + 4 instances with scale; a token fontSize is not scaled |
Typed tokens (backlog E) would let scale multiply size tokens too |
P3 |
| 39 | Put a button instance inside a card component | Instances inside components were rejected, so nested design systems needed detach or flat components | Done (2026-11-23, PAP-B-086): nested instances, overrides addressed by path (instance/copy), plus component props and slots |
— |
#2026-11-21: paste SVG/HTML and export SVG (backlog slice 1, item 3)
Task: importSVG, importHTML and exportSVG in the core (TS and Go), the MCP tools import_svg and import_html, export_code format svg, GET /api/svg, and paste plus an export button in the canvas.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 40 | Bring an icon from an SVG set | Before, an agent had to translate each <rect>/<circle>/arc by hand into d; import_svg now does it in one call and says what it dropped in warnings |
Done (2026-11-24, PAP-B-078): <use>/<symbol> sprites expand and <text> becomes a text node. Images, gradients, masks and <style> stay warnings |
— |
| 41 | Export SVG of a node with auto layout without a browser | The core can't place hug/fill/row/column children by itself, so exportSVG without a measure fails with a message that points to export_code |
Done (2026-11-22, PAP-A-002): exportSVG / export_code svg / GET /api/svg use layout(doc) boxes; text splits on \n; gradients and background images stay out |
— |
| 42 | Reuse a component from a live web page | import_html reads inline style="" only; HTML copied from most sites relies on classes, so the result is plain |
Done (2026-11-24, PAP-B-078): import_html computed: true renders in the server's Chromium and inlines computed author styles. The pure importer stays inline-only. A missing Chromium is an error, not a silent fallback |
— |
#2026-11-21: point-by-point path editing (backlog slice 1, item 4)
Task: core helpers that turn d into anchors with handles and back (pathToSubpaths, moveAnchor, moveHandle, insertAnchor, removeAnchor, toggleSmooth, pathEditProps), and a point-editing mode in the canvas.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 43 | Nudge one point of a path an agent drew | The human can now drag it on the canvas; an agent still rewrites d, and after a human edit the d it reads back has new numbers (quadratics and arcs become cubics, the box is renormalized) |
Done (2026-11-24, PAP-B-076, https://github.com/leonardo-moraes360/paprika/pull/170): edit_path uses the canvas helpers, and path_info.anchors lists the same points |
— |
| 44 | Edit a path inside an auto-layout frame | The node's position comes from the layout, so when an edit moves the top-left of the drawing the box grows in place and the shape shifts by that amount | Keep, or adopt "ignore layout" children (backlog A) and place edited paths absolutely | P3 |
#2026-11-21: theme modes and tokens as CSS variables (backlog slice 1, item 5)
Task: document.modes and mode on frames and pages in the core (TS and Go), set_tokens with mode, export_code with cssVariables, a theme section in the inspector, the unknown-mode lint rule. Addresses #4.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 45 | Show the same screen light and dark | Before, an agent duplicated the frame and rewrote every color; now it writes the dark values once (set_tokens with mode) and sets mode on a copy |
A duplicate_nodes tool that takes overrides (mode here) would make the side-by-side one call |
P2 |
| 46 | Know which value a node really gets | get_nodes shows $fg; the value depends on the nearest mode above. The outline prints mode= on frames and the modes with their tokens |
A resolve flag on get_nodes that adds the resolved paint per node |
P3 |
| 47 | Use a token only one mode defines | It resolves inside that mode and is an unknown-token error elsewhere; in a CSS-variables export it becomes var(--x) with no base value |
Keep the error; agents should set a base value too | — |
#2026-11-21: agent layer (backlog slice 1, item 6)
Task: outputSchema + structuredContent on the JSON tools, batch on every write tool (one undo step), the actor from clientInfo (stdio and stateless HTTP), and the guide, tool descriptions, errors, warnings and lint messages in English, with the pt-BR guide on request. Addresses #7, #10, #11 and #12.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 48 | Read results without parsing text | structuredContent now matches each tool's outputSchema; get_nodes and get_history keep the plain array as text and wrap it ({ nodes }, { entries }) in structuredContent, because MCP requires an object there |
In the next breaking change, make the text the same object | P3 |
| 49 | One undo step for a long script | batch merges consecutive writes of the same agent; any human edit or undo in between closes it, and the next call starts a second entry |
Show an open batch in the canvas activity list, so the human knows an edit will split it | P3 |
| 50 | Same actor name after a server restart | Over HTTP the name lives in an in-memory map keyed by Mcp-Session-Id; after a restart the client keeps its old session id and the actor falls back to the User-Agent until it initializes again |
Accept unknown session ids with a 404, as the spec suggests, so clients re-initialize | P3 |
| 51 | One language in the activity list | Default history labels from the tools are now English (create 1 node(s)) while the canvas's own labels and UI stay in pt-BR |
Translate the canvas UI or localize both by a setting | P3 |
#2026-11-21: workspace overview
Task: an overview of the workspaces as the home page, with list_workspaces, open_workspace and create_workspace on both servers.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 52 | Work in a second workspace without moving the human | The active workspace is shared on purpose, so open_workspace also switches the human's canvas; the guide asks the agent to check with the human first |
Done (2026-11-22, PAP-B-063): optional workspaceId on document tools, read and write, without switching the canvas |
— |
| 53 | Know that someone else switched the workspace | A later call just sees another document; nothing in the result says the active workspace changed since the agent's last call | Done (2026-11-22, PAP-B-063): the outline's first line and every write result carry the workspace id and name | — |
| 54 | Undo after a switch (TypeScript server) | History is in memory, so a workspace opened again starts with an empty undo stack; the Go server restores it from SQLite | Done (2026-11-22, PAP-B-063): one history per workspace for the life of the process, including undo of a workspace that is not the active one | — |
#2026-11-21: diagrams (shapes, connectors, draw_diagram)
Task: shape and connector nodes, canvas tools, and draw_diagram for agents, with TS/Go parity. Notes from drawing flowcharts through MCP while building it.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 55 | Delete a shape and its arrow in one call | delete_nodes with the shape first and then its connector failed: the shape's delete had already taken the connector. Fixed: a connector removed that way earlier in the same transaction is skipped (deleting it twice is still an error) |
— | — |
| 56 | Know the ids of the arrows draw_diagram made |
They default to <from>-to-<to> (with -2, -3 for repeats) and come back in edges, in input order |
— | — |
| 57 | Say what an arrow means ("yes", "no") | Connectors have no label yet; agents put a small text node next to the arrow, which does not follow it | Done (2026-11-22): label on connectors and on draw_diagram edges, drawn halfway along the route in the stroke color with a halo of the background |
— |
| 58 | Move one shape of a drawn diagram without crossing others | Elbow routes ignore obstacles, so a moved shape can make an arrow cross another shape | Done (2026-11-24, PAP-B-077): elbow and rounded routes leave an 8px gap around other shapes that share the connector's parent; draw_diagram relayout: true updates existing shape ids and routes those connectors again in one undo step. PR: https://github.com/leonardo-moraes360/paprika/pull/174. |
— |
#2026-11-21: rename and delete workspaces
Task: rename and delete on the overview (double click on the name, delete with a confirmation) and as rename_workspace / delete_workspace on both servers.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 59 | Keep an agent from deleting work on its own | delete_workspace has destructiveHint and the guide asks for the human's confirmation, but nothing enforces it; the canvas asks, MCP does not |
Two steps: the first call returns what would be lost and a token, the second call with the token deletes | P2 |
| 60 | Undo a rename | Renaming the active workspace is a rename_document write (undoable); renaming another one changes it in place, with no undo |
A per-server activity log for workspace operations, or a trash that keeps deleted workspaces for a while | P3 |
| 61 | Tell the human why the canvas moved | Deleting the active workspace opens the most recently updated other one for everyone; the canvas follows, with no message | A short notice on the canvas ("workspace X deleted by agent:Y") | P3 |
#2026-11-21: workspace covers
Task: a cover image on the overview cards (upload, drop, remove; no cover = first letter) and set_workspace_cover for agents.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 62 | Give a workspace a cover without leaving it | set_workspace_cover with rootId screenshots a frame of any workspace, active or not, so an agent can dress up the overview after drawing |
— | — |
| 63 | Keep the cover in sync with the design | The cover is a snapshot: later edits to the frame do not update it | An optional live cover that re-renders the chosen frame when the workspace changes (debounced) |
P3 |
| 64 | Take the cover along in an export | Covers live in SQLite next to the document, not in .paprika.json, so paprika export drops them |
Export/import the cover as a data URL in an optional top-level field | P3 |
#2026-11-21: P2P team screens (Iroh + CRDT)
Task: draw the team screens (team panel with people, remote agents and connection state; invite with link and QR; join with progress and an expired-invite error; team keys; the top-bar sync states) on a new page "Time P2P" of the "Paprika" workspace, from a script over MCP HTTP (about 900 nodes in 9 create_nodes calls).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 65 | Text that fits its content inside auto layout | A text created without width/height is 100×100, so every label in a row/column took a 100 px square and the first draft was unusable; the nodes drawn by hand in the same workspace are all hug×hug. Cost a full delete and redraw |
Done (2026-11-22): a new text without width/height is hug×hug (with width only, height: "hug") |
— |
| 66 | Use the id create_page returned |
create_page answers {page, created} while create_nodes answers {created}; the script read created[0] the wrong way and passed the whole object as parentId |
Partly done (2026-11-22): create_page keeps {page, created, version} (extras first, like group_nodes), and its description now says page is the new page and created also lists "Página 1" the first time |
— |
| 67 | Know what delete_nodes removed |
It answers {"created": []} |
Done (2026-11-22): delete_nodes answers {deleted, version} with every id removed (subtrees and attached connectors) |
— |
| 68 | A frame without layout that hugs its text | A frame with height: "hug" and no layout (mode none) collapses to 0, so the text inside it vanishes; table cells were empty with no warning |
Done (2026-11-22): lint_design warns hug-without-layout on a frame without layout that has children and a hug side |
— |
| 69 | See the problems that matter in lint_design |
140 issues on the page, mostly one warning per 11 px label, with the few real overflows mixed in | Done (2026-11-22, PAP-B-066): groups (count + first maxIds ids per rule, ordered by severity), minFontSize, minSeverity |
— |
| 70 | Catch a row wider than its frame before the screenshot | Three 400 px cards plus gaps overflowed a 1320 px board; only the screenshot showed it | Done (2026-11-22, PAP-B-066): layout-overflow when row/column children leave the frame |
— |
Simpler for the next agent:
- Text defaults to
hug×hug(#65): the single change that would have saved a redraw. - One result shape for create/delete tools (#66, #67).
- Lint that groups and points at layout overflow (#68–#70).
- Nested
create_nodesbuilt a whole proposal (≈60 nodes) in one call, atomically. lint_designcontrast checks drove the token choices (brand.darkfor white text on buttons).get_document_outlinewithdepth: 0was enough to confirm the result cheaply.lint_designcaught every literal color in the landing page (raw-color), which led to anon.brandtoken.- One style engine: the screenshots the agent checked come from the same
nodeStylethe canvas uses.
#2026-11-22: accessibility round (contrast proposal)
Task: draw a before/after board of the contrast fixes (white text on the accent, agent tag colors) over MCP HTTP, from a cloud session, and screenshot it for the user's decision.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 71 | A screenshot of a board that hugs its content | render_screenshot of a root frame with width/height: "hug" returned a 2×2 PNG, with no error or warning; the canvas showed the board at full size (it measures in the browser), the screenshot uses the stored size. The workaround was to measure the board in the canvas and set a fixed width and height |
Done (2026-11-22): hug/fill roots are measured in headless Chromium before the screenshot (same change as #29) |
— |
| 72 | Draw in the user's own Paprika from a cloud session | The design-first rule points at 127.0.0.1:4777 on the user's machine; a cloud session cannot reach it, so the board lives in a throwaway server in the container and only its PNG reaches the user |
paprika export --root <id> of a single frame plus an import_nodes tool, or let the team sync carry a shared "proposals" workspace |
P2 |
- Nested
create_nodesbuilt the whole board (≈100 nodes) in one call; withwidth/height: "hug"on every text there was no 100×100 text problem this time (#65 still holds for the default).
#2026-11-22: second backlog batch (arrow labels, team removal and key rotation)
Task: draw the arrow-label and team screens over MCP before building them (design-first), first in a server in the cloud container, then in the user's own Paprika.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 73 | Put a label in the middle of an arrow (before label existed) |
Had to read the connector's derived d, find the middle of the first subpath by hand and place a text there; it drifts when the arrow moves |
Done (2026-11-22): label on connector and on draw_diagram edges, drawn at the middle with a halo |
— |
| 74 | Tell a diagram's history label from an edge label | draw_diagram already takes a top-level label (the history entry); edges now take label too, so the same word means two things in one call |
Rename the top-level one to historyLabel in a future contract version (keep label as an alias), or say it in both descriptions |
P3 |
| 75 | Copy a board into the user's own Paprika | Same as #72: the cloud session drew in its own server; to put it in the user's Paprika it exported the workspace, turned it into nested create_nodes (dropping the derived x/y/width/height/d of connectors, which create_nodes refuses) and ran that script on the user's machine through Remote Control. create_workspace + open_workspace also switched the active workspace of the user's server, and putting the previous one back by id missed once (the active one changed under it) |
An import_document MCP tool (a .paprika.json in, a new workspace out, without switching the active one), and create_nodes ignoring derived connector fields instead of refusing them |
P1 |
- #69 and #70 came back on the team panel:
lint_designflagged the app's own 11 px labels (22 warnings) and missed a "Remover" button that overflowed its row. - #71 is fixed by the same change as #29 (hug roots are measured in the browser before the screenshot).
#2026-11-22: flat bell pepper illustration (bezier paths)
Task: draw a flat red bell pepper (three lobes, thin white curved gaps, olive stem) on a new page "Pimentão" of the "Paprika" workspace, first from a text description and then from the user's picture, with path nodes sharing one 400×400 viewBox, and save the PNGs to design/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 76 | Cut thin gaps out of a shape | No boolean ops or masks, so the gaps are white strokes painted over the red body; that only reads right on a light background and the export has no real holes | combine_paths (subtract/union/…) in MCP/apply_ops done (PAP-A-003); canvas command and optional mask on group / stroke knockout still open |
P2 |
| 77 | Restyle a node and keep it on top | Turning two filled lobes into gap strokes left them under the body; needed a separate move_nodes (no index = end) to fix the z-order |
Accept index (or "front"/"back") in update_nodes props |
P3 |
| 78 | Trace a reference image | The user's picture reached the agent only as an image; there was no easy way to place it under the drawing, so every bezier point was estimated by eye and mapped with a hand-computed scale, which took three screenshot rounds | Done (2026-11-24, PAP-B-094): place_reference puts a locked image at 50% opacity at the back of a frame, and render_screenshot compare draws that image to the right |
— |
| 79 | Save the screenshot as a file | render_screenshot only returns the image to the agent; writing the PNG to the repo meant copying the client's cached blob |
Done (2026-11-22, PAP-B-062): optional path under the screenshot directory, and url /api/screenshot/<id> |
— |
- One shared
viewBoxon every path made iteration trivial: each layer is in the same 400×400 coordinates, so redrawing the silhouette was a singleupdate_nodes. render_screenshotwithscale: 2was enough to judge curve quality.
#2026-11-22: shadcn component sheet on the Interfaces page (PAP-B-030, design first)
Task: draw, over MCP, the sheet of every shadcn primitive with its states (hover, focus, disabled, open) in light and dark on the Interfaces page of the Paprika workspace, before installing any dependency; then implement the primitives in web-legacy. Five root frames, ~570 nodes, five create_nodes calls.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 80 | A screenshot of a subtree that keeps its theme mode | render_screenshot { rootId: <frame inside a frame with mode: "light"> } painted the subtree with the base (dark) tokens: the mode of an ancestor does not travel to a subtree capture. Two close-ups I compared side by side were not comparable, and the workaround (capture the whole root frame, crop locally) costs bytes and time |
Done (2026-11-22, PAP-B-062): a subtree keeps the theme mode it inherits, and mode on render_screenshot overrides it |
— |
| 81 | Knowing that a nested layout frame took the default box | A frame with no width/height gets 100×100, and the children laid out inside it then disappear from the render: the first sheet came out showing one button, with no error and no warning, and lint_design stayed silent. The guide documents hug/fill but not that default |
Done (2026-11-22, PAP-B-066): hug-was-meant on a 100×100 layout frame whose children leave the box |
— |
| 82 | Small text on a component sheet | lint_design returned 31 small-text warnings for the 10 and 11 px captions of a sheet that mirrors the app, whose own type scale (ADR 0003) is text-2xs 10px and text-xs 11px — the same ground #69 and #70 were filed on |
Done (2026-11-22, PAP-B-066): minFontSize on lint_design (and scaledMock on a frame) |
— |
| 83 | Tokens in every style field | radius: "$radius.md" was refused ("expected number, received string") while fill and color take $token. Every radius in the sheet ended up a literal, so the sheet's radii cannot follow a token change the way its colors do |
Done (2026-11-22, PAP-B-065): a length field accepts a numeric token ($radius.*, $space.*, $text.* or any other); a color token there is refused; changing the token re-lays out every frame that uses it |
— |
| 84 | The same result shape from the read tools | get_nodes answers JSON ({"nodes": […]}) and find_nodes answers text lines (frame#id "name" …); a script that walks a tree by name has to handle two shapes, and the first pass failed exactly there |
Keep the text rendering (it reads well in a chat) and accept format: "json", or return structuredContent from every tool, as the guide already promises for the JSON ones |
P3 |
- Theme modes did exactly what this sheet needed:
set_tokens {mode: "light"}plusmode: "light"on the frame gave one drawing in two themes, and the light values are now the valuesweb-legacy/src/styles.cssships in.ui-light— the board and the code were decided once, not twice. lint_designafter the fix reports 0 errors on all five frames; the onecontrasterror it did catch (a 4.24:1 link on a light surface) was a real mistake in the palette, and it is now a different token in the code.- Redrawing was cheaper than patching:
delete_nodeson the five roots plus a freshcreate_nodes, all in onebatch, undone by a singleundo.
#2026-11-22: team panel and agent roster, before and after (PAP-B-034, design first)
Task: draw the team panel and the agent roster as they are today and as they become on the primitives, in both
theme scopes, then migrate web-legacy/src/Team.tsx and the roster in web-legacy/src/AgentCursors.tsx. Five root
frames on the Interfaces page, ~560 nodes, then the real app in --team mode captured for the record.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 85 | The app's own screenshot inside the design document, as the "before" reference | Image nodes do not size the way the box says: the same 280×856 PNG painted correctly into a 190×581 fit: "contain" box in one frame and as a ~60×12 sliver in another where the box equalled the source; a 1440×900 source in a 560×350 box painted nothing at all. lint_design stayed clean and no error came back, so I only found it by looking at render_screenshot. The captures ended up committed next to the board instead of inside it |
Document what width/height do for an image node (scale, crop, or neither), and make a source larger than its box either scale down or report it |
P2 |
| 86 | A board whose token names are the code's token names | The sheet's tokens are ui.card and ui.mutedFg (dots, abbreviations), while web-legacy/src/styles.css ships --color-ui-card and --color-ui-muted-foreground. Nothing links the two, so "compare the board with the code" is a human step and I typed the same values in both places |
Let a token carry an alias or source (e.g. ui.card → --color-ui-card), or let set_tokens read the names from a CSS file |
P3 |
| 87 | A document token for the red the app actually paints | --color-accent-strong: #c8401f is in the CSS, but the brand tokens in the document are $accent (#e04a2b) and $accent.dark. Every primary button on the sheet is a literal, and lint_design returns raw-color infos on them |
Add $accent.strong (and its ink) to the document's brand tokens so board and CSS call the same color by the same name |
P3 |
- One builder, two modes: the same panel function drew
antesanddepoisand then the light frame, so the three sheets are the same geometry and only the token pairs and the control sizes differ. That made the comparison readable. lint_designon the five frames: 0 errors, the samesmall-textwarnings as the PAP-B-030 sheet (the panel's own 11 and 12 px type), plus theraw-colorinfos of item 87.- The frame heights had to be fixed by hand again (item 81 still stands): a
hugcolumn inside ahugrow clipped the second panel until the outer frame got an explicit height.
#2026-11-22: four-corner resize handles (PAP-B-029, design first)
Task: draw before/after selection handles and an NW-drag demo on the Interfaces page, then add NW/NE/SW/SE handles in web-legacy/src/Canvas.tsx.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 88 | Token lengths in create_nodes without a second pass | radius: "$radius.md" and fontSize: "$text.2xs" were refused (expected number); the measure label started at 10px/$select on $canvas and failed contrast until a follow-up update_nodes |
Done (2026-11-22, PAP-B-065): same as #83; radius and fontSize take $token on create |
— |
- Three root frames, one
create_nodescall;lint_design0 after fixing measure/note sizes; screenshots indocs/en-US/assets/boards/PAP-B-029.
#2026-11-22: numeric inspector fields (PAP-B-027, design first)
Task: draw the Opacidade field states (normal, focused, invalid with message) in light and dark on the Interfaces page of the Paprika workspace before fixing Field/setNum; six fixed-height root frames, one create_nodes call, then screenshots under docs/en-US/assets/boards/PAP-B-027/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 89 | layout.padding as [0, 8] (two values) |
create_nodes answered layout.padding: Invalid input; only a scalar or a 4-tuple is accepted. Had to switch every padding to a single number |
Done (2026-11-22, PAP-B-065): the guide states padding is one number or [top, right, bottom, left], not two values. Each value may be a length token |
— |
| 90 | radius: "$radius.md" on a sheet that already uses $ui.* fills |
Same refusal as #83 (expected number, received string); the board used literal 6 / 8 again |
Done (2026-11-22, PAP-B-065): same as #83 | — |
| 91 | Know which ids in created are the roots |
create_nodes returns a flat DFS list of every nested id; the six board roots were not the first six entries, so the first screenshot pass hit titles and labels |
Done (2026-11-22, PAP-B-064): create_nodes, duplicate_nodes and imports return {ids, roots, created} (roots names each top-level node and its box; created is {id, name, type, parentId}; ids keeps the old list) and one readable line per root |
— |
- Fixed heights on the six roots avoided the hug screenshot pitfall called out in the ticket;
render_screenshotwithscale: 2was enough to judge focus ring and invalid message. find_nodes {name: "PAP-B-027 field", type: "frame"}was the reliable way to map board name → id after the flatcreatedlist.
#2026-11-22: danger button and confirmation dialog (PAP-B-026, design first)
Task: draw the danger button (states, light and dark) and the confirmation dialogs (workspace delete with the typed name, empty and filled; remove member) on the Interfaces page, then add the dialog and the danger tokens in web-legacy. Eight fixed-height root frames, ~190 nodes, one create_nodes call. The active workspace on the maintainer's server was not Paprika, so the board was drawn on a throwaway paprika serve (renamed Paprika) and the PNGs went to the PR.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 92 | Drawing in a workspace that is not the active one | The ticket says to draw in Paprika without calling open_workspace, but every tool works on the active workspace, so the only options were to ask the human to switch or to run a second server |
Done (2026-11-22, PAP-B-063): optional workspaceId on the document tools (read and write), so an agent can draw in a named workspace without moving the human's canvas |
— |
| 93 | A fontFamily that the renderer does not have |
fontFamily: "Inter" rendered in a serif in render_screenshot (the app falls back to the system sans in its CSS stack), so the first sheet did not look like the app until the family became sans-serif |
Fall back to the generic sans-serif when the family is missing, or accept a stack ("Inter, sans-serif") in fontFamily |
P3 |
| 94 | A mode: "dark" frame on a document whose base tokens are the dark ones |
lint_design answered unknown-mode for dark until the same tokens were also written with set_tokens {mode: "dark"}, which is a duplicate of the base values |
Treat a mode with no tokens as the base without a warning when the document defines only one other mode, or let set_tokens alias a mode to the base |
P3 |
lint_designon the eight frames: 0 errors; thesmall-textwarnings are the app's own 11 px type (item 82).- A focus ring drawn as a wrapper frame with
layoutand nomodecollapsed to a dot (hug-without-layout); the lint named it, andlayout: {mode: "row", padding: 2}fixed it. - Contrast was computed before drawing, so the red landed once: white on
#cc2f50is 5.13:1 and the ink#ff9fb2is 7.01:1 on#272d45.
#2026-11-22: two-step delete and the operations log (PAP-B-015, server)
Task: delete_workspace in two calls (summary + short-lived token) and a readable log of workspace
operations. No design sheet: the change is server-side; the UI half (the canvas notice) is PAP-B-026.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 95 | One place for the agent guide | The guide lives twice — instructions in server/contract/mcp.json (en) and server/contract/guide.pt-BR.md — and a sentence about a tool has to be edited in both by hand. Nothing checks that the two agree, so a tool can be described in one language and not the other |
A test that every tool name in the contract appears in both guide texts (the same way TestToolsMatchContract pins tool names to the handlers) would catch it; the sentence for delete_workspace was edited twice here on purpose |
P2 |
| 96 | Contract and handler stay in step | Adding list_workspace_ops failed only TestToolsMatchContract at first, which is the right forcing function; but the tool-name list in packages/e2e/test/api.test.ts is a third copy that fails separately, with a diff that does not say which side moved |
Keep both checks, and print in the api failure whether the server, the contract or the test list is the one that changed | P3 |
- The store's
muis not reentrant, andDeleteWorkspacealready callsOpenWorkspace: the successor'sopenentry is logged before thedeleteentry, so reading the log newest-first gives the delete first and the takeover below it. Worth knowing for whoever writes the notice that is still missing. - The design document at
127.0.0.1:4777disappeared once that endpoint moved to the compose stack with a fresh volume: theInterfacespage with the PAP-B-030 and PAP-B-034 sheets is gone, and only the PNGs committed underdocs/en-US/assets/boards/survived. PAP-B-026's sheet was redrawn on a local server. Whatever lands of the "keep the boards in the repository" proposal, a server reset should not cost a redraw.
#2026-11-22: destructive language and the confirmation pattern (PAP-B-026, design first)
Task: draw the danger button (before and after, both theme scopes) and the confirmation pattern before
changing any code, then apply them in web-legacy. Five root frames, ~330 nodes, plus the real overview
captured before and after.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 97 | The design boards to survive a server change | 127.0.0.1:4777 went from the host-run server to the compose stack with a fresh volume: the Paprika document that holds the Interfaces page — the PAP-B-030 sheet, the PAP-B-034 sheet, and the PAP-B-026 frames I had drawn minutes earlier — was no longer listed by list_workspaces. Only the PNGs committed under docs/en-US/assets/boards/ survived, and the sheet had to be drawn a second time from the script on a paprika serve I started myself |
Export the board document into the repository (design/boards.paprika.json, the way design/landing.paprika.json carries the landing page) and refresh it as sheets land; a server reset would then cost a reload, not a redraw |
P1 |
| 98 | A contrast check that does not lie | The first hover measurement returned the resting color because transition-colors had not landed, so the assertion passed without ever testing the hover state; a manual probe with a 300 ms wait showed the hover wash was darker and the light text had fallen to 4,39:1 |
Nothing for the tool to change. Recorded because it is easy to repeat: wait for the transition, then read, and assert both states — which the suite now does | P3 |
lint_designreported the light destructive text at 4,05:1 on the first sheet, before a line of code was written — the same class of mistake it caught on the PAP-B-030 sheet, and the token alphas are what they are now because of it.
#2026-11-22: double-click an arrow to edit its label (PAP-B-028, design first)
Task: draw the arrow label in three states (no label, editing with caret and halo, with label), light and dark, before the inline editor on the canvas. Six root frames, ~40 nodes.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 99 | A text field state with a dashed focus outline | The editor draws a dashed select outline, but stroke on rect and frame has only color and width, so the sheet shows it solid; the caret is a 1.5 px rect on top of a text node |
A dash field on stroke for rect, ellipse and frame (connectors already have dashed) would let a sheet match what nodeStyle paints |
P3 |
| 100 | Exporting the board document from a containerised server | paprika export --db <db> needs the database file, which lives in the compose volume; the doc is reachable only through GET /api/export |
Mention curl http://127.0.0.1:4777/api/export in docs/en-US/design-boards.md next to the CLI form |
P3 |
#2026-11-22: renaming the only page (PAP-B-020, design first)
Task: draw the pages panel before, while and after renaming the placeholder "Página 1" of a workspace with no
pages, then wire the rename in web-legacy. Six root frames (three states, light and dark), ~60 nodes.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 99 | A page to draw on in an empty document | The active workspace had no nodes, so the Interfaces page did not exist and create_page had to be the first call; the board document in the repository (docs/en-US/design/boards.paprika.json) holds a different page, so nothing to import without --replace wiping the sheets other tickets draw in parallel |
Done (2026-11-22, PAP-B-064): create_page with ensure: true returns the existing page of that name instead of creating a second one |
— |
| 100 | A screenshot as a file | render_screenshot returns the PNG only as base64 inside the JSON-RPC result, so saving it under docs/en-US/assets/boards/ takes a decoding script on every ticket |
Done (2026-11-22, PAP-B-062): optional path inside the screenshot directory writes the file and returns its location |
— |
lint_designflagged the 11 px caption (small-text) on all six frames; 12 px fixed it, so captions stay at the app's smallest legible size.- Mode
lighton the frame plus the samepg.*tokens overridden underset_tokens {mode: "light"}rendered both themes from one set of nodes with no per-frame color edits.
#2026-11-22: canvas notice when an agent deletes or switches a workspace (PAP-B-037, design first)
Task: draw the non-blocking notice (delete with counts, open, rename; light and dark) before wiring
WorkspaceNotice and the workspaceOp WebSocket broadcast. Six root frames.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 101 | Hearing workspace ops on the canvas without polling HTTP | list_workspace_ops exists, but the live canvas only saw document patches; a delete of the active workspace left the human on a dead editor until a refresh |
Broadcast each new op log entry as {type:workspaceOp, op} over the existing WebSocket hub (poll the log; skip entries that predate the subscriber) |
P2 |
- Fixed-height roots; PNGs under
docs/en-US/assets/boards/PAP-B-037/. - Notice uses
role=statusand never steals focus; overview mount shows delete notices after the canvas route is gone.
#2026-11-22: side panels collapse into a floating button (PAP-B-024, design first)
Task: draw the collapsed panels (left only, both) next to the expanded layout, light and dark, and check that
the floating buttons clear the toolbar and the agent roster, before writing the UI. Six root frames on
Interfaces, drawn from one script in a single create_nodes call.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 101 | Screenshots as files | render_screenshot only returns base64 inside the JSON result, so each PNG had to be decoded by hand in a script before it could land in docs/en-US/assets/boards/ |
Done (2026-11-22, PAP-B-062): optional path writes the PNG under the screenshot directory and returns its location |
— |
| 102 | A mock at a smaller scale lints as tiny text | The boards are the real layout at two thirds of its size, so every label is 8–9px and lint_design returns a small-text warning per label, which buries the findings that matter |
Done (2026-11-22, PAP-B-066): scaledMock on a frame, or minFontSize on lint_design |
— |
| 103 | Free space for a new frame | Nothing says where the next top-level frame can go without overlapping a parallel ticket's: the outline had to be scanned for coordinates and the boards went to x=2000 by hand |
Done (2026-11-22, PAP-B-061): get_document_outline and get_bounds (no ids) return the page content box and the next free spot; create_nodes defaults to place: "free" when x and y are omitted |
— |
| 104 | Icons by name | The floating buttons use PanelLeftOpen and PanelRightOpen from lucide, and the board had to carry their path data typed in by hand, which is how an icon on the sheet can drift from the one in the app |
import_svg already exists; a way to import a lucide icon by name would close the loop |
P3 |
- The collapsed right panel puts its button where the agent roster sits (top right of the canvas); the sheet showed it before any code did, and the roster moves down under the button only while that panel is collapsed.
#2026-11-22: overview and dialogs on shadcn (PAP-B-031, design first)
Task: draw the workspace overview (grid, new-workspace form, delete confirmation) in both theme scopes on
127.0.0.1:4777, then migrate Overview.tsx onto Card, Button and Input, and add card.tsx. Six frames
are in docs/en-US/assets/boards/PAP-B-031/; the board export in docs/en-US/design/boards.paprika.json already carries
the PAP-B-031 sheets from an earlier draw (/tmp/b031/draw.mjs).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 105 | Reuse an earlier draw without redrawing | The PNGs and boards.paprika.json nodes were already committed from a prior session; this ticket only copied shots and applied the markup |
Nothing new — the board-in-repo pattern from item 97 paid off here | — |
ConfirmDialogwas already onAlertDialogwithvariant: "destructive"on the confirm action (PAP-B-026); overview only consumes it.- Workspace cards keep
outlineinstead ofborderso the cover cannot clip the active edge;Cardships withborder-ui-borderbut the overview overrides withborder-0plus the existing outline classes.
#2026-11-22: shell, toolbar, layers and pages on shadcn (PAP-B-033, design first)
Task: draw the editor shell (expanded, left collapsed, both collapsed) in both theme scopes on
127.0.0.1:4777, then migrate App / toolbar / Layers / Pages / InlineName / PanelResizer onto the
primitives. Six frames are in docs/en-US/assets/boards/PAP-B-033/; the board export in
docs/en-US/design/boards.paprika.json carries them.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 108 | ToggleGroup that keeps role=button + aria-pressed |
Radix type="single" turns items into a radiogroup (role=radio, aria-checked, aria-pressed cleared). The toolbar E2E (getByRole("button") + aria-pressed + class is-active) would fail |
Use type="multiple" with a controlled single value and rovingFocus={false} so Tab still walks every tool; keep the outer <nav aria-label="Ferramentas"> |
P2 |
| 109 | Inactive tab label on a night strip in light mode | The right-panel tab strip stays bg-night in both scopes; $pg.muted under mode=light is #5d6478 and linted at 2.99:1 on night |
Board (and app) keep night muted ($muted / text-muted) for labels that sit on the night strip |
P3 |
- E2E hotspots (
is-active,layer-name,page,data-panel-toggle,treeitem,add-page) stayed as plain class/hooks. ui.iconBtnleftui.ts; Inspector/Team/Overview still own the remaining entries.
#2026-11-22: compact inspector (PAP-B-022, design partial)
Task: redesign the scene inspector into collapsible sections before implementing web-legacy/src/inspector/**. Two design frames (PAP-B-022 texto escuro / claro) already live in docs/en-US/design/boards.paprika.json; a full MCP redraw on :4777 was skipped when the shared server was slow, and the app before/after PNGs under docs/en-US/assets/boards/PAP-B-022/ carry the measurement case instead.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 106 | Inspector height that proves the compact layout | aside.right.scrollHeight stayed 856 px before and after because the grid area forces a tall scroll container; #right-tabpanel height dropped 759 → 303 px (~60%) for the demo text node at 1440×900 (packages/e2e/b022-measure.mjs) |
Use panel / panelScroll in the measure script (and in acceptance notes), not only aside.scrollHeight |
P3 |
| 107 | Boards on the shared MCP server | :4777 answered slowly during the ticket, so only the existing design frames plus runtime screenshots were committed; no new fixed-height frames were drawn over MCP in this pass |
Same as #97: a boards document in git that agents can load without depending on whichever volume is mounted on the maintainer's port |
P2 |
#2026-11-22: ghost preview while drawing (PAP-B-043, design first)
Task: draw the ghost of the real node (fill/outline/defaults) inside the draft area while dragging a
creation tool, light and dark, then paint it from nodeStyle in Canvas.tsx with no document write
until release. Eight fixed-height frames on Interfaces (docs/en-US/assets/boards/PAP-B-043/).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 108 | Screenshots as files | Same as #100/#101: render_screenshot returns PNG only as base64 in the JSON-RPC content, so a small client script had to decode each shot into docs/en-US/assets/boards/PAP-B-043/ |
Done (2026-11-22, PAP-B-062): optional path on render_screenshot writes the file |
— |
| 109 | Free space for new boards | Top-level frames already fill y≈0…8320 and x≈0…3000; the outline depth-1 listing was enough to pick y=9000, but parallel tickets still race for the same band |
Done (2026-11-22, PAP-B-061): same as #103 — content box, next free spot, and place: "free" |
— |
- Active workspace was already
Paprika - UI/ pageInterfaces; noopen_workspace. - Ghost is
aria-hiddenandpointer-events: none(data-testid="draft-ghost"); connector arrow ghost left out of this ticket's draft-only scope.
#2026-11-22: inspector on shadcn (PAP-B-032, design first)
Task: draw the inspector (compact fields, collapsible sections, selects, secondary actions) in both theme
scopes on 127.0.0.1:4777, then migrate Inspector.tsx + inspector/* onto Input, Textarea, Label,
Select, Button and Collapsible. Four frames in docs/en-US/assets/boards/PAP-B-032/; boards export refreshed.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 110 | Screenshots as files | Same as #108: render_screenshot returns PNG only as base64; a client script decoded into docs/en-US/assets/boards/PAP-B-032/ |
Done (2026-11-22, PAP-B-062): optional path on render_screenshot |
— |
| 111 | Free band without racing parallel tickets | Outline depth 1 listed frames through y≈11820 (B-023/B-033/B-043); this ticket picked y=12400 / 13160 | Done (2026-11-22, PAP-B-061): place: "free" on create_nodes (same as #103/#109) |
— |
lint_designwithrootIdsstill walks the whole document for counts; our four frames had 0 errors of their own.- Compact field shell kept (B-022 density): primitives sit inside
bg-ui-mutedwith bare borders; RadixSelectreplaced native<select>(E2E theme-mode test updated to click the option). - Layers/Pages left alone (PAP-B-033 owns that chrome).
#2026-11-22: triangle shape (PAP-A-004, design first)
Task: draw toolbar / inspector / canvas states for ShapeKind triangle on Interfaces (light+dark, fixed height), then ship schema, outline, connectors, toolbar G, inspector picker and draw_diagram.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 110 | Toolbar tool lives in App.tsx |
Ticket paths listed only Canvas.tsx for the toolbar+shortcut, but TOOLS[] and the keydown handler are in App.tsx; edited that file for the G / Triangle entry and queried agent:leonardo |
Keep toolbar registry next to the buttons, or move TOOLS into Canvas.tsx so lane paths match |
P3 |
| 111 | shapeDefaults gate in ops |
ops.ts / ops.go only apply defaults for a hard-coded kind list; triangle needed the same one-line branch (not in the ticket paths) |
Drive the gate from ShapeKind / shapeDefaults so new kinds do not touch ops |
P3 |
- Six frames at
docs/en-US/assets/boards/PAP-A-004/; boards re-exported viaGET /api/exportintodocs/en-US/design/boards.paprika.json(noopen_workspace). wasmPaintablestays false forshapenodes (DOM paints the triangle outline).
#2026-11-22: custom color picker (PAP-B-023, design first)
Task: draw the closed, open and alpha states of the inspector color field (light and dark) on Interfaces
before replacing the native input type=color with a popover. Six fixed-height root frames; PNGs under
docs/en-US/assets/boards/PAP-B-023/; board export refreshed via GET /api/export.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 110 | Free Y for parallel board frames | Several tickets share Interfaces; the outline is prose, so placing PAP-B-023 required exporting the document and scanning top-level y values by hand (landed at y=11000) |
Done (2026-11-22, PAP-B-061): page content box and place: "free", same as #103 |
— |
- Active workspace was already
Paprika - UI; noopen_workspace. lint_designon the page still reports one unrelated contrast error from an older sheet; the new frames added no errors.
#2026-11-22: aspect-ratio lock shortcuts while resizing (PAP-B-042, design first)
Task: draw free / keep-ratio / square selection states (light and dark) on the Interfaces page of Paprika - UI, then wire Shift and Shift+Alt locks plus a canvas hint in web-legacy/src/Canvas.tsx. Six fixed-height root frames; screenshots in docs/en-US/assets/boards/PAP-B-042/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 110 | lint_design scoped to the ticket's roots |
Calling lint_design with rootIds for the six PAP-B-042 frames still returned hundreds of warnings and one contrast error from older sheets on the same page (nodeId outside the requested roots) |
Done (2026-11-22, PAP-B-066): rootIds is a hard subtree filter (a missing id is an error) |
— |
- Active workspace was already
Paprika - UI;Interfacesexisted (interfaces-pap020); noopen_workspace. - Fixed 360 px frame heights avoided the hug screenshot pitfall;
render_screenshotwithscale: 2was enough to judge the hint badges.
#2026-11-22: better activity history (PAP-B-025, design first)
Task: draw the activity feed (actor color+name, action, relative time, batch grouping, undo/redo marker) light and dark before extracting Activity.tsx from the Inspector. Four root frames on Interfaces (PAP-B-025 feed|undo × light/dark), fixed height 320; PNGs under docs/en-US/assets/boards/PAP-B-025/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 110 | Agent name color that passes contrast on the panel | Putting the agent blue (#3b82f6) on both the dot and the name failed WCAG AA on $pg.panel2 (3.69:1); the sheet kept the color on the dot only and used $pg.fg for the name |
Document that presence colors are for fills/dots, not for body text on panel surfaces, or ship text-safe variants next to AGENT_COLORS |
P3 |
layout.padding: [6, 8](two values) is rejected; four values or a single number work. Same class of friction as other tickets.- Undo/redo position is derived client-side from leading
desfazer:/refazer:labels in the existing WS activity feed — no server change.
#2026-11-22: title attributes → accessible tooltips (PAP-B-051, design first)
Task: replace every HTML title in web-legacy with the shadcn Tooltip (Hint helper: hover + focus, Esc dismisses) while icon buttons keep aria-label. Three frames on Interfaces (Paprika - UI): before/after dark, before/after light, focus/Esc states. PNGs in docs/en-US/assets/boards/PAP-B-051/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 112 | Text paint vs fill on boards |
Setting fill on a text node left color at the default #111111; lint compared color to the node's own fill and reported ~1:1 contrast on the light sheet |
Document that text ink is color (not fill) in the design-guide / create_nodes examples agents copy |
P2 |
| 113 | Export of the live boards DB | The maintainer's :4777 store is a Docker volume; this agent had no approved path to paprika export from the container, so only the PNGs were committed |
Keep refreshing docs/en-US/design/boards.paprika.json from a host-mounted DB, or add an MCP export_document |
P2 |
| 114 | Disabled controls and Tooltip | Radix does not open a tooltip on a disabled button (no pointer/focus events); the overview delete-when-alone and idle agent pills need a focusable wrapper span |
Note the span-wrapper pattern next to Hint in ADR 0005 or the gallery |
P3 |
TooltipProvidermoved tomain.tsxso Overview, Editor and/uishare one delay; the floating toolbar dropped its local provider.- App-level Esc no longer clears the selection while a tooltip is open (
[data-slot=tooltip-content]). - a11y E2E: zoom + Retângulo open on focus, Esc closes, no native
title; agent roster asserts tooltip instead oftitle.
#2026-11-22: Internationalization en + pt-BR (PAP-B-052, design first)
Task: web UI + default names follow the chosen language; detect from the browser, switch in the app, remember; HTTP API errors → English like MCP. Six frames (overview and language switch × en/pt-BR × dark/light) drawn over MCP; PNGs in docs/en-US/assets/boards/PAP-B-052/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 115 | Boards export from Docker volume | Same as #113: :4777 holds the drawn sheets; this agent committed PNGs from render_screenshot and left docs/en-US/design/boards.paprika.json for a host-mounted export |
MCP export_document or a host-mounted DB path for agents |
P2 |
| 116 | Wire every remaining Inspector/Team string | Shell, overview, pages, layers, zoom, arrange and multi-select are on the dict; many Inspector field labels and Team copy are still Portuguese literals while keys already exist in web-legacy/src/i18n/messages.ts |
Finish the field-by-field pass (or generate labels from the catalog) in a follow-up | P2 |
| 117 | MCP create_page default name in the pt-BR guide | Core/MCP empty-name fallback is now English (Page 1); guide.pt-BR.md still describes "Página 1" |
Align the Portuguese guide with the English default (or say the UI localizes when it passes name) |
P3 |
- Lightweight dict modules (no i18next):
LocaleProvideroutside the singleTooltipProviderso language switches do not remount tips. - E2E:
pinLocale(page, "pt-BR")in a11y/canvas/drag;i18n.e2e.test.tssmokes both languages and the switcher. - Hotspots (
is-active,add-page,data-testid, roles) stay language-stable.
#2026-11-22: layer order shortcuts and Ordem section (PAP-B-021, design first)
Task: draw the inspector Ordem section and the Z-order shortcut map (light and dark, fixed height) on the Interfaces page of Paprika - UI before wiring Page Up/Page Down (+ Ctrl/Cmd for front/back) in Canvas.tsx and the four arrange actions in Inspector.tsx. Four root frames, one create_nodes call; PNGs under docs/en-US/assets/boards/PAP-B-021/; boards export refreshed in docs/en-US/design/boards.paprika.json.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 110 | Draw on Paprika - UI without open_workspace |
The workspace was already active (list_workspaces), so the sheet landed without switching; if another ticket had left a different active doc, the only options would still be asking the human or a second server (same as #92) |
Done (2026-11-22, PAP-B-063): optional workspaceId on document tools |
— |
lint_designon the four frames: 0 errors;small-textwarnings are the 11 px section/chip labels matching the app.- Shortcut map chosen and documented in
docs/en-US/canvas.md:Page Up/Page Down= forward/backward,Ctrl+Page Up/Ctrl+Page Down(Cmd on macOS) = front/back.
#2026-11-22: three arrow line styles (PAP-B-045, design first)
Task: draw elbow / rounded / curve connector states and the inspector Traço picker on Interfaces before coding route: "rounded"|"curve". Four frames on a new Interfaces page; PNGs under docs/en-US/assets/boards/PAP-B-045/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 112 | Preview rounded / curve on the live :4777 server |
The maintainer binary still only accepts straight|elbow, so draw_diagram refused the new routes; the sheet used path mocks for the three styles |
Ship the schema before asking agents to redesign against production, or run a ticket-local paprika serve for design |
P3 |
- Active workspace was
Paprika - UI; a secondInterfacespage (interfaces-pap045) was created because the outline was large — prefer reusinginterfaces-pap020when present.
#2026-11-22: several border types (PAP-B-044, design first)
Task: extend stroke with style (solid|dashed|dotted) and position (inside|center|outside) for frame/rect/ellipse/path/shape, then inspector Estilo/Posição. Four fixed-height frames on Interfaces (docs/en-US/assets/boards/PAP-B-044/); boards export refreshed.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 113 | Stable Interfaces page id across parallel tickets |
Active workspace flipped to Paprika - UI mid-ticket; the old interfaces page was gone and a new empty Interfaces page had to be created (id: interfaces) while other tickets used interfaces-pap020 / interfaces-pap045 |
create_page that reuses an existing page by name (same as #99) |
P2 |
| 114 | Screenshots as files | Same as #100/#101: render_screenshot returns base64 only |
Done (2026-11-22, PAP-B-062): optional path on render_screenshot |
— |
- Default
style/positionstay omitted in the document (helpers treat missing as solid / type-aware position) so round-trips and goldens do not grow astyle: "solid"on every stroke. - WASM cannot dash or reposition strokes:
wasmPaintablereturns false and the DOM paints them (crates/render untouched). - Closes the friction in #99 (dashed stroke on boxes) via
stroke.style.## 2026-11-22: numeric inspector steppers (PAP-B-046, design first)
Task: draw pure-numeric fields with ± (opacity / weight / stroke), hug/fill and $token without steppers, focus ring and clamp-at-min states in light and dark before wiring Field steppers; six fixed-height root frames; screenshots under docs/en-US/assets/boards/PAP-B-046/; local paprika serve on :4799 because the shared :4777 workspace was crowded by parallel tickets.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 113 | render_screenshot param name |
Passing id silently screenshots the whole canvas (identical PNGs for every frame); the contract expects rootId |
Reject unknown id or alias id → rootId in the tool schema / handler |
P2 |
| 114 | Quiet local server for parallel boards | Shared :4777 had other agents' sheets and returned confusing stacked frames at (0,0); a throwaway paprika serve --port 4799 was the reliable path (same class as #92) |
Done (2026-11-22, PAP-B-063): optional workspaceId on document tools so tickets do not fight for the active doc |
— |
lint_designsmall-text warnings for 12 px labels match the inspector density; no new contrast errors on the six roots.- Step sizes chosen to match the ticket: opacity
0.05, weight100, else1, Shift×10; validation/clamp reused from PAP-B-027.
#2026-11-22: dockable toolbar (PAP-B-048, design first)
Task: draw toolbar docked top/left/right/bottom (light and dark) on Interfaces of the active Paprica · UI workspace, then implement grip-drag docking, localStorage, keyboard menu, and clearance for PAP-B-024 collapsed-panel buttons. Eight fixed-height (720×420) root frames; PNGs under docs/en-US/assets/boards/PAP-B-048/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 112 | render_screenshot argument name |
Passing id is silently ignored (schema only has rootId); the tool screenshots something else (here a 280×220 unrelated frame) and every PNG comes back identical |
Reject unknown args, or accept id as an alias of rootId, and say so in the tool description |
P2 |
| 113 | Light mode with $pg.* tokens |
Frames with mode: "light" still rendered the dark $pg.* palette because modes.light on this server only carried $ui.*; had to redraw the light boards with literal colors |
Document which token prefixes participate in theme modes, or seed $pg.* into light when the boards workspace is created |
P2 |
| 114 | Screenshots as files | Same as #101: base64 only; a local script wrote docs/en-US/assets/boards/PAP-B-048/ |
Optional path on render_screenshot |
P3 |
- Active workspace was already
Paprica · UI(empty of prior boards until recovered); used existingpage#interfaceswithoutopen_workspace. - Collapsed-panel buttons shift with
[&_[data-panel-toggle=left]]:left-14fromApp.tsxwhen the toolbar shares that edge — no change toPanelResizer.tsx(outside the ticket paths).
#2026-11-22: system fonts combobox (PAP-B-047, design first)
Task: draw the closed and open FontPicker states (light and dark) on Interfaces, then replace the free-text fontFamily field on text nodes with a shadcn combobox. Four fixed-height frames; PNGs under docs/en-US/assets/boards/PAP-B-047/; boards export refreshed.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 115 | Screenshots as files | Same as #108: render_screenshot returns base64 only; scripts/draw-pap-b-047.mjs decoded into docs/en-US/assets/boards/PAP-B-047/ |
Done (2026-11-22, PAP-B-062): optional path on render_screenshot |
— |
| 116 | Free band on a crowded Interfaces page | Outline depth 1 bottoms out near y≈13580 (A-004 / B-032); this ticket used y=13800 | place: "free" on create_nodes (same as #103/#109/#111) |
P3 |
- Local Font Access is gated behind an explicit button — opening the popover never calls
queryLocalFonts. cmdk1.1.1 pinned for the Command primitive (ADR 0005 dependency list).
#2026-11-22: drag and drop reparent + file drop (PAP-B-049, design first)
Task: draw reparent / auto-layout insertion / Layers reorder / file-drop states (light and dark) on Interfaces, then wire canvas DnD + Layers row DnD + OS file import in web-legacy. Eight fixed-height root frames; PNGs under docs/en-US/assets/boards/PAP-B-049/; boards export refreshed via GET /api/export.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 110 | Active workspace name match | Ticket said Paprika - UI; the live server had Paprica · UI (typo/rename) with parallel tickets already drawing on page interfaces |
Treat close names as the UI board workspace, or pin the id in the assign payload | P3 |
| 111 | create_page race on Interfaces |
Calling create_page while another agent also ensured Interfaces produced empty duplicate pages (38ktwolyd1, qhf8mcdwke) alongside page#interfaces |
Idempotent create_page by name (same as #99) |
P2 |
| 112 | Free Y among parallel boards | PAP-B-051 frames already sat at y≈40; PAP-B-049 had to be moved after create to y=1100+ | Outline bbox / place: "free" (same as #103 / #110) |
P3 |
| 113 | Screenshots as files | render_screenshot still returns base64 in MCP content; local decode into docs/en-US/assets/boards/PAP-B-049/ |
Done (2026-11-22, PAP-B-062): optional path on render_screenshot |
— |
| 114 | Broken main typecheck | ui.ts lost activity*/actions in merge 3f0bda1; Inspector still referenced ActivityEntry/Bot; ColorField had undefined hex |
Guard merge of ui.ts / restore Activity wiring; this PR restored the missing pieces so pnpm check can run |
P1 |
- Drew on active
Paprica · UI/ pageinterfaceswithoutopen_workspaceafter querying the maintainer about the name mismatch. - Canvas DnD only touches
Canvas.tsx; Layers HTML5 DnD inLayers.tsx; E2E indrag.e2e.test.ts.
#2026-11-23: absolute child in auto-layout (PAP-B-069, design first)
Task: draw the inspector "Ignorar layout" switch (off, on, dark) and a row with a badge sitting on its own x/y, on page interfaces of workspace Paprica · UI (cmio9n368k), before adding layoutPositioning. Four fixed-size frames; PNGs in docs/en-US/assets/boards/PAP-B-069/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 117 | Brand red as text on the night background | $ui.primary (#c8401f) on $ui.bg is 3.54:1, so the dark kickers failed lint_design until the ink became #ffd2c9 |
A light ink token for the brand red on night surfaces (the light mode already passes) | P2 |
| 118 | Screenshot files land in the repo | render_screenshot path writes under the server volume (/data/screenshots/...) and returns that path plus /api/screenshot/<id>; the PR still copies the PNG with curl |
Document that path is relative to the server screenshot directory, or accept a path inside an allowlisted host directory |
P3 |
- Addressed the workspace by id from
list_workspaces. Did not callopen_workspace. Used the existing pageinterfaces(a second page is also named Interfaces). - The behavior frame is a mock: the live server does not accept
layoutPositioningyet, so the badge is a sibling placed by x/y, not a real absolute child of the row. lint_designon the four roots: 0 errors and 0 warnings after shortening the on-state hint and letting the field mocks hug.
#2026-11-23: corner radius per corner (PAP-B-070, design first)
Task: draw the linked and unlinked corner controls, plus a sample card, on page Interfaces of workspace Paprica · UI (workspaceId, no open_workspace) before implementing radius as one length or [tl, tr, br, bl].
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 117 | Screenshot one frame | render_screenshot takes rootId. Passing id is ignored and the tool returns the first page (here, the PAP-B-046 "clamp dark" frame) with no error |
Reject unknown argument names, or document rootId in the error when the caller sends id |
P3 |
| 118 | Preview four different corners on the live server | create_nodes with radius: [1, 2, 3, 4] failed: expected number, received array. The sample had to be a path until this change shipped |
The running server only learns the new radius after this build | — |
#2026-11-23: agent pins design (design first, cloud thread)
Task: draw the proposal for "point at an element or area and tell the agent what to do" (5 boards: canvas, composer, panel, MCP contract, flow), first on a cloud paprika serve, then on the maintainer's local Paprika in Paprica · UI (new page, workspaceId on every write, active workspace untouched). PNGs in docs/en-US/assets/boards/agent-pins/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 118 | Know that lineHeight is a ratio |
Sent lineHeight: 18 (px); create_nodes refused with "Too big: expected number to be <=10". The guide only says lineHeight (n | "$token") |
Say "multiplier of fontSize (1.4)" in the guide and in the error | P3 |
| 119 | Screenshot of one frame | render_screenshot {nodeId} returned the whole page: the right name is rootId and the unknown argument was silently ignored, so five "frame" shots were the same image |
Reject unknown arguments (or warn), as the write tools do | P2 |
| 120 | Use the Chromium the environment has | PAPRIKA_CHROMIUM=/opt/pw-browsers/chromium-1243/.../chrome was still refused ("build 1243 is installed, but Playwright expects build 1255"); a symlink without the revision in its path worked |
An explicit PAPRIKA_CHROMIUM skips the revision check (warn instead) |
P2 |
| 121 | Draw in a workspace without touching its tokens | Writing boards into Paprica · UI meant inlining every color, because set_tokens there could overwrite the maintainer's tokens with the same names |
set_tokens {onlyMissing: true} or a warning listing overwritten tokens |
P3 |
workspaceIdoncreate_page/create_nodesworked well: the boards went intoPaprica · UIwhile the canvas stayed on the maintainer's active workspace.create_page {ensure: true}+place: "free"placed five boards with no overlap and no manual coordinates.
#2026-11-23: archive workspaces (PAP-B-071, design first)
Task: draw the overview archive action and the Archived filter (dark English, dark archived, light Portuguese) on Interfaces of Paprica · UI (cmio9n368k, page interfaces) before implementing archive/unarchive. Four fixed-height frames at x=6400; PNGs under docs/en-US/assets/boards/PAP-B-071/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 122 | The UI board named in the ticket | The assign payload said Paprika - UI. The live workspace is Paprica · UI. A supervisor correction arrived after the claim |
Pin the workspace id in the assign payload (same as #110) | P3 |
| 123 | A free spot on Interfaces |
get_document_outline of page#interfaces reported content 0×0 and next 0,0 even though the page already holds many frames, so place: "free" was not usable |
The page content box should include its child frames | P2 |
| 124 | MCP during a server restart | The first calls returned an empty body while :4777 was restarting; a short retry then listed the workspaces |
Keep the restart note on the ticket; clients should retry an empty response | P3 |
- Addressed the board by
workspaceIdand did not callopen_workspace. lint_designflagged a Portuguese action row overflowing a 300px card (layout-overflow); widening that card to 360 cleared it.
#2026-11-23: agent pins implementation
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 125 | Add tools to the contract with a script | server/contract/mcp.json is hand-formatted (stray , lines, mixed layouts), so re-serializing it rewrites thousands of lines; four tools and an openPins field on 22 output schemas had to be inserted as text |
Normalize the file once (one JSON formatter, checked in CI) so later edits are small diffs | P3 |
| 126 | Know the human left a request | Before pins, a human's "do this here" only reached an agent through the chat | Done here: list_pins and openPins on write results |
— |
#2026-11-23: blank canvas under parallel writes (PAP-B-067, design first)
Task: draw the error-boundary shell (dark and light) on page interfaces of workspace Paprica · UI (cmio9n368k, frames che1eu41kh and ushnfauvoy) before keeping the editor shell when a render throws.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 127 | layout.padding as a 2-number tuple |
create_nodes refused it with op[0]: invalid node: layout.padding: Invalid input. The error did not say that only one number or four values are valid. Every padding became a single number |
Name the accepted shapes in that error (one number, or [top, right, bottom, left]). The guide already says this (#89); the refusal still does not |
P2 |
#2026-11-23: inspector section collapse (PAP-B-088, design first)
Task: draw the open, mid-slide, closed and reduced-motion states of an inspector section on page interfaces of workspace Paprica · UI (cmio9n368k) before fixing the flicker. Four fixed-height frames at y=3600 (b088-open, b088-mid, b088-closed, b088-reduce). PNGs in docs/en-US/assets/boards/PAP-B-088/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 128 | The page named Interfaces |
find_nodes returned two pages with that name: page#interfaces (the boards) and an empty page#h6jut017rv |
Disambiguate duplicate page names in find_nodes, or return the page id in the outline header only for the one that has children |
P3 |
| 129 | The screenshot file on the host | render_screenshot path wrote /data/screenshots/PAP-B-088/*.png inside the server container. The host repo never saw the file; the PNG had to be downloaded from url (/api/screenshot/<id>) |
Return a host path when the server runs in Docker, or document that path is inside the server filesystem and url is the way out |
P2 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123, still open:
get_document_outlineofpage#interfacesreportedcontent0×0 andnext0,0, so the frames were placed by scanning depth-1y(landed at y=3600). lint_designon the four frames was clean after the chevrons moved to 12px. A clipped mid-slide body neededlintIgnore: ["layout-overflow"]because the clip is the frame.
#2026-11-23: hierarchy and the layer menu (PAP-B-090, design first)
Task: draw the right-click layer stack (light Portuguese, dark English) on page interfaces of workspace Paprica · UI (cmio9n368k) before Enter / Tab / Ctrl+click and the menu. Frames b090light and b090dark at y=4800. PNGs in docs/en-US/assets/boards/PAP-B-090/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 130 | Ink on a text node | fill painted the text box. The glyph color stayed the default #111111, so contrast reported 1.07:1 and did not say the glyph field is color |
Name both colors in the contrast message, and say that text glyphs read color |
P2 |
| 131 | The screenshot URL from the text block | render_screenshot text was only 1520×884px. The URL lived in structuredContent.url (and the image block, when the path is omitted) |
Repeat url in the text block |
P3 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #128, still open:
find_nodesstill returns two pages namedInterfaces. - The full-document outline's trailing
contentbox belonged to another page. The free spot was the y under the PAP-B-089 frames (4200 + 460), so these landed at y=4800. lint_designon both frames was clean at warning and above after the glyphs moved tocolorand the dark card title used#141827on the white card.
#2026-11-23: rotation-aware handles (PAP-B-091, design first)
Task: draw the selection before and after it follows a rotated box, light and dark, on page Interfaces of workspace Paprica · UI (cmio9n368k). Frames b091-before-light, b091-after-light, b091-before-dark, b091-after-dark. PNGs in docs/en-US/assets/boards/PAP-B-091/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 132 | The page named Interfaces |
The outline lists page#iutnyc26zo ("Página 1") before page#interfaces. Taking the first page# put the four frames on the wrong page; move_nodes to interfaces fixed it |
Put the page name on the same line as the id in a way a depth-1 scan cannot confuse, or reject a parent that is not the named page | P2 |
| 133 | Corners that match the painted rotation | get_bounds rotated a box with the opposite sign of CSS rotate() and of the vello renderer, so a handle placed on those corners sat off the pixels |
Done in this change: layout corners use the CSS matrix in TypeScript and Go |
— |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123, still open: the content box of
page#interfacesis 0×0, soycame from a depth-1 scan (11880). - Same as #129, still open:
render_screenshotpathis inside the server. The PNGs were decoded from the image bytes in the tool result. lint_designwas clean afterlintIgnoreon the size badge (contrast, the badge is a sibling the text does not see) and on the floating handles (detached-sibling).
#2026-11-23: multiple shadows, outline and filters (PAP-B-080, design first)
Task: draw the effects inspector and a preview (dark and light) on page interfaces of workspace Paprica · UI (cmio9n368k) before adding shadow lists, inner shadow, outline, filter and backdropFilter. Frames b080-fx-dark, b080-pv-dark, b080-fx-light, b080-pv-light at y=7760. PNGs in docs/en-US/assets/boards/PAP-B-080/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 134 | A design script in a fresh worktree | @modelcontextprotocol/sdk is not installed at the repo root, so the script cannot import the client. Raw JSON-RPC over HTTP worked |
Document a zero-dependency MCP snippet, or depend on the SDK at the repo root | P3 |
| 135 | The MCP handshake | notifications/initialized returned method not found. initialize alone was enough for tools/call |
Clients should tolerate a missing initialized notification |
P3 |
| 136 | Section titles at 11px | lint_design on b080-fx-dark reported small-text on the section titles (Sombras, Contorno, Filtro, Filtro de fundo) |
Inspector mocks should use at least 12px | P3 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #128: two pages named Interfaces. The script prefers
page#interfaces. - Same as #123, still open: placement scanned depth-1
y(first pass max bottom 6680, redraw at 7760 after shortening labels). WithrootId, the outline did include coordinates. render_screenshotwithoutpathreturned the PNG as a base64 image block, so the host files were written directly (#129).- Labels at 12px and width 52 fit (Exp, Tipo, Sat). The 11px section titles still warn.
#2026-11-23: align, wrap and reveal (PAP-B-089, design first)
Task: draw the multi-selection inspector (align, distribute, wrap in a frame) and the layers reveal actions (show all, unlock all, per-row lock) on page interfaces of workspace Paprica · UI (cmio9n368k) before implementing them. Two frames at y=4200 (pap089lroot, pap089droot). PNGs in docs/en-US/assets/boards/PAP-B-089/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 137 | Primary-colored text on a dark card | The locked-state label used $ui.primary (#c8401f) on $ui.card and lint_design reported contrast 3.12:1 |
Keep $ui.primary for fills; use $ui.destructiveText or $ui.fg for text on $ui.card in the dark theme |
P3 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123 and #128, still open:
get_boundsonpage#interfacesreturned an empty content box, and a second empty page is also namedInterfaces(h6jut017rv). Frames were placed by reading depth-1x/y(landed at y=4200). lint_designon both frames was clean after the locked label switched to$ui.destructiveText.
#2026-11-23: structured gradients and OKLCH (PAP-B-081, design first)
Task: draw the fill inspector, the on-canvas handles and the OKLCH picker, light and dark, on page interfaces of workspace Paprica · UI (cmio9n368k) before implementing gradient and the color parser. Frames at y=5400 and y=5960. PNGs in docs/en-US/assets/boards/PAP-B-081/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 137 | A free spot under the existing boards | get_bounds on page interfaces returned a 0×0 content box and next spot 0,0, while the children extend past x 8000 and y 5200 |
Return the union of the page's children when the page itself has no box | P2 |
| 138 | An ellipse knob inside an auto-layout frame | create_nodes rejected the whole batch: unknown fields for ellipse: layoutPositioning |
The error is right; the guide should say the field is only on nodes that flow | P3 |
| 139 | A dark mode on the mock | mode: "dark" linted as unknown-mode. The base tokens are already the dark theme; only light exists |
Document that the base set is the dark theme in Paprica · UI |
P3 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #128: two pages named Interfaces. Used
interfaces(the one with children), not the empty page. - Same as #129:
render_screenshotwrote under the server's/data/screenshots. The PNGs were copied from the returned URL. - Eight 11px labels warned as small-text. The boards were not redrawn at 12px.
#2026-11-23: typed tokens and detach (PAP-B-082, design first)
Task: draw token collections (light and dark) and detach (light and dark) on page interfaces of workspace Paprica · UI (cmio9n368k) before typed tokens, named collections and detach_tokens. Frames b082tokl, b082tokd, b082detl, b082detd at y=6680. PNGs in docs/en-US/assets/boards/PAP-B-082/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 140 | The screenshot file on the host | render_screenshot path wrote inside the server filesystem (/data/screenshots/PAP-B-082/*.png). The host copies were downloaded from url (/api/screenshot/<id>) |
Same as #129: document that path is inside the server, and that url is the way out |
P2 |
| 141 | A kickoff color on a dark frame | $ui.primary on the dark background was 3.54:1. lint_design reported contrast on the kickers |
Keep the known swatch (#ffd2c9) in the guide for text on the dark canvas |
P3 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #128, still open:
find_nodesreturns two pages namedInterfaces. The frames went onpage#interfaces. - Same as #123, still open:
get_document_outlineof that page reportedcontent0×0 andnext0,0, so y=6680 came from a depth-1 scan under the frames already on the page. lint_designon the four frames was clean after the kickers moved to#ffd2c9.
#2026-11-23: constraints when the parent resizes (PAP-B-084, design first)
Task: draw the inspector constraint axes (dark: right/top, light: scale/center) and a before/after of a parent growing, on page interfaces of workspace Paprica · UI (cmio9n368k) before adding constraints. Three frames at y=9120 (papb084-inspector-dark, papb084-inspector-light, papb084-behavior). PNGs in docs/en-US/assets/boards/PAP-B-084/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 142 | A free spot on Interfaces |
Still open: get_document_outline of page#interfaces reported content 0×0 and next 0,0. Depth-1 boxes bottomed near y=8960, so the frames went to y=9120 |
Same as the open row: the page content box should include its child frames | P2 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - The behavior frame is a mock: the live server does not accept
constraintsyet, so the before/after rectangles are placed by x/y. lint_designon the three roots: 0 errors and 0 warnings.
#2026-11-23: web semantics and convert to path (PAP-B-087, design first)
Task: draw the root inspector (link, min width, max width), a decorative image with a $asset, and the context menu item "Converter em caminho" on page interfaces of workspace Paprica · UI (cmio9n368k) before implementing. Frames at y=11360. PNGs in docs/en-US/assets/boards/PAP-B-087/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 147 | Section labels at 11px | lint_design on the three boards reported small-text on labels and notes at 11px |
Inspector mocks should use at least 12px (same as #136) | P3 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #128: two pages named Interfaces. The script used
page#interfaces. - Same as #123, still open: the content box of
page#interfacesis 0×0, soycame from a depth-1 scan (11360). - Same as #129:
render_screenshotpathis inside the server. The PNGs were decoded from the image bytes in the tool result.
#2026-11-23: rich text runs (PAP-B-085, design first)
Task: draw painted text, the canvas editor and the inspector hint on page interfaces of workspace Paprica · UI (cmio9n368k) before runs on text nodes. Frames b085-painted, b085-editor, b085-inspector at y=10840. PNGs in docs/en-US/assets/boards/PAP-B-085/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 143 | create_nodes text as JSON |
The tool text is JSON plus one readable line per root, so JSON.parse of the whole text throws after the nodes already exist |
Return one JSON value, or document that callers must parse the first value | P2 |
| 144 | Draw runs and italic on the live board |
The server on :4777 still rejects runs and italic, so the board fakes them with separate text nodes, a Georgia face and a 1px underline |
Expected until this build is the one serving MCP | — |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123, still open: the content box of
page#interfacesis 0×0, soycame from a depth-1 scan (10840). - Same as #129:
render_screenshotbytes were written to the PNGs from the tool result. - The price line wrapped until the frame was 720 wide and the price node was 160×40. The workspace name is
Paprica · UI.
#2026-11-23: component props, slots and nested instances (PAP-B-086, design first)
Task: draw props, a slot, an instance with values and a nested button inside a card, on page interfaces of workspace Paprica · UI (cmio9n368k) before the model change. Four frames (papb086-props-dark, papb086-props-light, papb086-instance, papb086-nested). PNGs in docs/en-US/assets/boards/PAP-B-086/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 145 | Labels that stay inside the frame | The first screenshots clipped size because the row texts sat at x=0 inside a radius-12 frame |
Inset the row texts (x=16) before shooting | — |
| 146 | One page named Interfaces | find_nodes still returns two pages named Interfaces. The frames went on page#interfaces; h6jut017rv is empty |
Same open row: one page per name, or the outline should say which is empty | P2 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123, still open:
get_document_outlineofpage#interfacesreportedcontent0×0 andnext0,0. The frames went to y=9800, below the content that a depth-1 scan already showed.
#2026-11-23: condensed agent roster (PAP-B-073, design first)
Task: draw the collapsed pill and the expanded active/idle list, light and dark, on page interfaces of workspace Paprica · UI (cmio9n368k) before changing AgentCursors.tsx. Frames b073dark and b073light at y=12760. PNGs in docs/en-US/assets/boards/PAP-B-073/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 148 | White label ink on a blue badge | The word sat in a text node next to a blue rect. lint_design measured it against the light canvas (1.21:1) and ignored the rect underneath |
Contrast for text should use the topmost painted fill under the glyphs, not only the parent | P3 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123 and #128, still open: the content box of
page#interfacesis empty, and a second page is also named Interfaces. Depth-1 bottoms put the frames at y=12760. - Nesting the label inside the badge frame cleared the contrast error.
lint_designon both frames then reported no errors or warnings.
#2026-11-24: gap and padding handles (PAP-B-092, design first)
Task: draw the spacing bars on a selected auto-layout frame before coding them, on page Interfaces of workspace Paprica · UI (cmio9n368k). Four frames (b092-before-light, b092-after-light, b092-before-dark, b092-after-dark) at y=13600. PNGs in docs/en-US/assets/boards/PAP-B-092/. lint_design on those roots: 0.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 147 | paprika export --db of the board the script just drew |
The database is the compose volume, not a file on the host. The active workspace was already Paprica · UI, so GET /api/export is that document and was written to docs/en-US/design/boards.paprika.json |
Same as #100 / #113: an export_document tool with workspaceId, or a host path for the volume |
P2 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123, still open:
get_document_outlineofpage#interfacesreported a 0×0 content box, soycame from a depth-1 scan (max bottom 13440, frames at 13600). - Same as #129:
render_screenshotbytes were written to the PNGs from the tool result.
#2026-11-24: live build on the canvas (PAP-B-074, design first)
Task: draw the working label, the outline-then-content step and the code toggle (off and on), light and dark, on page interfaces of workspace Paprica · UI (cmio9n368k) before BuildCode and the replay. Frames b074dark and b074light at y=14440. PNGs in docs/en-US/assets/boards/PAP-B-074/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 149 | White ink on the agent blue #3b82f6 |
The label sat inside the blue badge and lint_design reported 3.68:1. Nesting did not change it: white on that blue really is below 4.5:1 |
Keep using agentInk (the night #141827 wins on #3b82f6) for text on an agent color |
P3 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123, still open: the content box of
page#interfacesis 0×0, soycame from a depth-1 scan (14440). - Same as #129: the PNGs were written from the image bytes in the tool result.
raw-colorstayed info. The mocks were not redrawn onto tokens.- After the badge, the cursor tag and the open toggle moved to
#141827,lint_designon both frames reported no errors or warnings.
#2026-11-24: eyedropper, connector ends, new shapes (PAP-B-093, design first)
Task: draw the pipette, the connector-end handles and the three new outlines before coding them, on page Interfaces of workspace Paprica · UI (cmio9n368k). Four frames (b093-shapes-light, b093-shapes-dark, b093-interact-light, b093-interact-dark) at y=15240. PNGs in docs/en-US/assets/boards/PAP-B-093/. lint_design on those roots: 0. The cylinder, parallelogram and cloud were drawn with rect/ellipse/path because those ShapeKinds did not exist yet.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 150 | paprika export --db of the board the script just drew |
Same as #147: the database is the compose volume. The active workspace was already Paprica · UI, so GET /api/export was written to docs/en-US/design/boards.paprika.json |
Same as #100: an export_document tool with workspaceId |
P2 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123, still open: the content box of
page#interfacesis 0×0, soycame from a depth-1 scan (max bottom 15060, frames at 15240). render_screenshotbytes were written to the PNGs from the tool result.
#2026-11-24: paste and drop a raster image (PAP-B-078, design first)
Task: draw paste and drop of a photo onto the canvas, light and dark, before coding them, on page Interfaces (interfaces) of workspace Paprica · UI (cmio9n368k). Four frames (b078-paste-light, b078-drop-light, b078-paste-dark, b078-drop-dark) at y=15720. PNGs in docs/en-US/assets/boards/PAP-B-078/. After a contrast and small-text fix (#fff7f2 on the dark captions, alt at 12px), lint_design on those roots reported 0 errors and 0 warnings.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 151 | Open the design board Paprica · UI on the server at 127.0.0.1:4777 |
list_workspaces returned only PAP-B-052 i18n (imo442j45j). The board was missing from that database |
import_document of docs/en-US/design/boards.paprika.json restored workspace cmio9n368k without open_workspace. The active canvas stayed imo442j45j, and later calls addressed the board by workspaceId |
P2 |
list_workspacesplusworkspaceIdworked.open_workspacewas not called.- A depth-1 outline of
page#interfacesreported a real bottom (15560), so the frames went at y=15720. A second page is still also named Interfaces (h6jut017rv); the frames are oninterfaces. render_screenshotbytes were written to the PNGs from the tool result.update_nodesfixed the lint without redrawing the frames.
#2026-11-24: folders, live thumbnails and a reference layer (PAP-B-094, design first)
Task: draw the overview with folders and live thumbnails, and a locked reference under a frame next to a side-by-side compare, before coding them, on page Interfaces of workspace Paprica · UI (cmio9n368k). Four frames (b094-overview-light, b094-overview-dark, b094-reference-light, b094-reference-dark) at y=16400. PNGs in docs/en-US/assets/boards/PAP-B-094/. lint_design on those roots: 0 after the fix below.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 151 | A dark "Novo workspace" label that passes contrast, and a card that stays inside the frame | The first pass used #fffaf7 on #e07a5f (2.85:1) and placed the loose card at y=368 in a 520-tall frame, so it clipped |
Ink #141827 on that accent, and a 560-tall frame. Same as #123: the page content box is 0×0, so y came from a depth-1 scan (max bottom 16240, frames at 16400) |
— |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. render_screenshotbytes were written to the PNGs from the tool result.
#2026-11-24: pin thread and leaving a team (PAP-B-075, design first)
Task: draw the pin thread (human and agent replies, composer) and the leave-team row, light and dark, on page interfaces of workspace Paprica · UI (cmio9n368k) before the canvas change. Frames b075-light and b075-dark. PNGs in docs/en-US/assets/boards/PAP-B-075/. After nesting the labels, lint_design on both frames: 0 errors, 0 warnings, raw-color info only.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 151 | scaledMock to drop contrast on a mock |
scaledMock: true on the root did not drop contrast. Nine errors at 1.00:1: white and accent text sat as siblings of the colored badge, so the checker measured them against the card |
Contrast should use the topmost painted fill under the glyphs (same as #148). scaledMock should say so when it does not apply |
P3 |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123, still open: the content box of
page#interfacesis 0×0, soycame from a depth-1 scan (first pass max bottom 15760, frames at 15920; the contrast redraw landed at 16240 because the old frames were still in that scan). - Same as #129: the PNGs were written from the image bytes in the tool result.
- Nesting the number, initials and "Responder" inside a frame filled
#141827cleared the contrast errors. The board was not exported.
#2026-11-24: stable renderer label (PAP-B-098, design first)
Task: draw the toggle label before keeping the WASM renderer alive, on page interfaces of workspace Paprica · UI (cmio9n368k). Two frames (b098-light, b098-dark) at y=17600: idle DOM, loading DOM with a busy dot and aria-busy, ready GPU or CPU. lint_design on those roots: 0 after the dark GPU word moved off #c8401f. The frames stay on that board; the task paths do not include docs/en-US/assets, so the PNGs go on the PR.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 151 | Lint only the new frames | lint_design was called with ids. That key is not in the schema, so the call reviewed the whole document (24 contrast errors and hundreds of warnings from other tickets) |
Unknown keys should fail the call. The field that scopes the lint is rootIds |
P2 |
| 152 | GPU on the dark chip |
#c8401f on #1e2336 is 3.12:1. The dark label is now #ffb4a6 |
The live control stays on text-accent over the light zoom chip |
— |
- Addressed the board by
workspaceIdcmio9n368kand did not callopen_workspace. - Same as #123 and #146, still open: the content box of
page#interfacesis 0×0, and a second page is also named Interfaces (h6jut017rv, empty).ycame from a depth-1 scan (max bottom 17380, frames at 17600). - Same as #129:
render_screenshotbytes were taken from the tool result.pathwould write inside the server. - Same as #150:
docs/en-US/design/boards.paprika.jsonwas not refreshed. The database is the compose volume, and that file is outside this task's paths.
#2026-11-24: marketing landing traced from a wireframe (PAP-B-101)
Task: draw a 1280 desktop landing and a 390 mobile variant for a fictional product (Nimbo, an indoor-air monitor) in a new workspace, trace a self-drawn wireframe with the reference layer, and compare the screenshot to that wireframe. Workspace Estabilização · Média (cursor-2) (3o3plhdq15), page nimbo, frames desk and mob. open_workspace was not called. Undo then redo of the last batch both returned true (version 14 then 15).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 153 | A text line-height in pixels | Same as #118, still open. create_nodes with lineHeight: 22 on a 16px text failed the whole batch: lineHeight: Too big: expected number to be <=10. The guide only says lineHeight (n | "$token"). A ratio of 1.1 was accepted |
Say in the error and the guide that line-height is a unitless ratio capped at 10 | P2 |
| 154 | place: "none" to pin the hero photo and an imported chip |
import_image {parentId:"desk-hero", place:"none", x:720, y:48} and import_html {parentId:"desk-hero", place:"none", x:48, y:36, html:"<div style=\"display:flex\">…</div>"} both joined the column. The photo sits under the paragraph and the chip under the photo. Export uses position:relative for both |
place: "none" with x/y should set layoutPositioning: "absolute" inside an auto-layout frame |
P1 |
| 155 | Look at my own workspace on the canvas without stealing the maintainer's file | Opening http://127.0.0.1:4777/w/3o3plhdq15 POSTed /api/workspaces/3o3plhdq15/open. list_workspaces then showed that workspace active: true (it had been false). The page stayed on "Abrindo workspace…" and never painted the 90 nodes. Restored cmio9n368k with the same POST |
/w/<id> should view a workspace without OpenWorkspace, and the shell should leave the loading state |
P0 |
| 156 | Padding of two numbers, and an error that says so | layout.padding: [24, 28] failed the batch with layout.padding: Invalid input. The guide already says not two values |
The error should say one number or [top, right, bottom, left] |
P2 |
| 157 | Exported HTML as tall as the frame | export_code {rootId:"desk", format:"html"} writes body{…;width:1280px;height:1px}. The frame screenshot is 1280×1492. Opened in Chromium at 1280 and the mobile export at 390: nothing is clipped, because overflow stays visible |
Size the body to the frame's box | P2 |
render_screenshotofdeskis 1280×1492, ofmobis 390×1682, andcomparewith the wireframe PNG returns a side-by-side image. Rich-text runs (bold, italic, link) and footerhrefs survived the export.- A two-value padding is rejected as documented; only the error text is the finding.
- The mobile frame has the same sections stacked, without a second copy of the hero raster.
#2026-11-24: Feira, end to end (PAP-B-099)
Task: design a fictional farmers-market app, Feira, across brand, tokens, components, a user flow, mobile and desktop screens, pins, export and a handoff page. Own workspace Estabilização · Ponta a ponta (cursor-4) (alfobm5s83). No product code was changed. lint_design on the whole document: 0 errors, 0 warnings, 0 infos. PNGs in docs/en-US/assets/boards/PAP-B-099/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 153 | Boxes for screens that are not on the first page | get_bounds {workspaceId:"alfobm5s83", ids:["fe-screen-catalog","fe-screen-onboard","fe-screen-detail","fe-screen-cart"]} with no rootId returned only nodes on the first page and omitted the screen ids, with no error. The dark copies were then placed at y=80 and overlapped the light screens. rootId:"fe-page-screens" returned the boxes |
Return every requested id, or an error for the ones that were dropped. Do not answer with a partial map | P1 |
| 154 | A copy of the token board to the right, in dark mode | duplicate_nodes {ids:["fe-token-light"], place:"right", props:{mode:"dark"}, workspaceId:"alfobm5s83"} put the copy (3408ri0b0i) at x=0 y=0, on top of the source at 48,48. The page content box in the outline was 0×0, so "right" had no anchor |
place:"right" should use the source bounds, not the page content box |
P2 |
| 155 | A button whose label and pressed overlay are bound in the same create as the master | create_nodes of a frame whose child has bind:{visible:"pressed"} (or bind:{text:"label"}), before create_component, failed the whole batch: op[0]: "fe-btn-press" has a bind outside a component. The bind had to be a second update_nodes after create_component |
Accept a bind on a node that becomes a component in the same transaction, or say which child and which prop in the error | P2 |
| 156 | A wrapping row of swatches to grow in height | A row with layout.wrap:true that cannot fit its children (11 chips of 88px, gap 12, in a row narrower than that) exports flex-wrap, but get_bounds keeps a single-row height and lint_design reports layout-overflow. Widening the frame to one row cleared the lint |
The layout engine should honour wrap the same way the CSS export does |
P2 |
| 157 | A PNG of a screen whose clear fill is a color token | color.clear was #00000000. export_image {rootId:"fe-screen-catalog", format:"png", workspaceId:"alfobm5s83"} failed: svg rasterize: color string 00000000 is not length 3 or 6 as required by SVG specification. The named value transparent exported. Shadow tokens #1a21142e and #00000080 did not fail that later export |
Accept #RRGGBBAA, and emit transparent (or a 6-digit color) for zero alpha in the SVG the rasterizer parses |
P2 |
| 158 | The canvas of /w/alfobm5s83 on the first navigation |
POST /api/workspaces/alfobm5s83/open returned 200 in about 7ms, and the tab stayed on "Abrindo workspace…" (WebSocket already connected). A second navigation to the same URL rendered Feira (pages Marca, Entrega, Tokens, Componentes, Fluxo, Telas, v74). A later navigation showed the boot screen again and then the editor of whichever workspace had become active |
After a successful open, apply that document on the tab that requested it, even if another client opens a different workspace during the boot screen | P2 |
| 159 | export_image PNG to match render_screenshot of the same frame |
Both of fe-screen-catalog are 390×844. Comparing pixels, 38376 of 329160 (11.7%) differ by more than 12 in a channel. The difference sits on glyphs, row strokes and the badge edge; the layout and the words are the same. The HTML from export_code (fe-screen-catalog, fe-screen-desk-cart), opened in Chromium, matches the screenshot: header, search, four rows, badge "3", and on the cart the Pix pill, the three lines and the summary. The HTML body background is #ffffff, and transparent fills are written as #00000000 |
Rasterize text and strokes with the same engine as render_screenshot, or document that export_image is a different rasterizer |
P2 |
| 160 | The first create_page on an empty workspace to also create Page 1 |
create_page {name:"Marca", id:"fe-page-brand", workspaceId:"alfobm5s83"} returned created: ["fe-page-brand"] only. The tool text says the first call also creates Page 1 |
Create Page 1 as documented, or stop saying that it does | P3 |
| 161 | An SVG file from export_image |
export_image {format:"svg", rootId:"fe-screen-catalog", workspaceId:"alfobm5s83"} is rejected: expected png, jpeg, webp, avif or pdf. SVG came from export_code {format:"svg"} instead |
Accept svg on export_image, or point the error at export_code |
P3 |
| 162 | An empty result for a node undo just removed | After undo of a batch that created fe-prova, get_nodes {ids:["fe-prova"], workspaceId:"alfobm5s83"} is an error: nodes do not exist: fe-prova. redo brought the node back |
Return the ids that exist and list the missing ones, instead of failing the whole call | P3 |
- Addressed the board by
workspaceIdalfobm5s83.open_workspacewas not called. The browser was opened at/w/alfobm5s83(that HTTP open does switch the active canvas) and then sent back to/w/cmio9n368k(Paprica · UI). - On the canvas, after the second load: the layer tree matched the outline (logo paths, imported SVG, palette, type scale). The renderer toggle (
data-testid="renderer-toggle") went from DOM to GPU (aria-pressed, one<canvas>). Zoom went from 100% to 125%. Undo restored the deleted header labelfe-dc-placeand enabled Redo; Redo removed it again. Three pins on the screens were claimed, replied and resolved (Revisão 3). layout.wrapwas avoided by widening the library and the token boards.color.clearis the nametransparentin both modes soexport_imagecan run.
#2026-11-24: seven reference boards, one page each
Task: recreate seven reference images, one per page, in a new workspace and record what the tool cannot match. Workspace Réplicas · cursor-4 (a35c3kh2su). Pages: Anel, Docker, Criatura, Grade clara, Kweeks, Ave, Grade escura. Addressed only by workspaceId. open_workspace was not called.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 163 | A CSS linear-gradient() string in fill to be rejected or painted |
The structured gradient field ({type:"linear", angle, stops:[{color, offset}]}) paints on a path. fill: "linear-gradient(90deg, #e4f57a, #9fd0ff, #b9a6ff)" is accepted with no error. On an ellipse and a rect it paints (anel-disc). On a path (anel-path, a lens) render_screenshot is a black shape |
Reject a CSS gradient string in fill, and point the error at the gradient field |
P1 |
| 164 | The guide to point at combine_paths for a hole |
The ring was drawn as an ellipse, a navy ellipse on top, and a second ellipse below. combine_paths already has subtract, union, intersect and exclude, and it accepts rect, ellipse and path: subtract cuts the hole, union joins the disc and the lower arc. The tool list and the guide did not lead there |
Name combine_paths next to path drawing in the MCP guide, with subtract for a hole |
P3 |
| 165 | The guide to point at combine_paths for a mark built from parts |
The whale was left as a rounded rect, an ellipse, a tail path and five boxes, with gaps, and the eye as a dot in the page color. combine_paths union already joins rect, ellipse and path, and subtract cuts the eye. The guide does not say so |
Same as 164: one guide sentence for union and subtract | P3 |
| 166 | render_screenshot of a stroke-only path to keep a transparent ground |
A path with only a stroke renders without a fill. render_screenshot {rootId:"ave-sketch"} (a path, not a frame or a page) comes back with an opaque black background, so the wing reads as a solid black shape. ScreenshotMode already sets bg to transparent when the root is not a page |
Capture that root on a transparent ground, so a bare stroke is not read as a filled shape | P2 |
| 167 | The footer texts not to land on each other | The first write put Nov '26 and All Rights Reserved on overlapping boxes. There is no width until after the write. A second update_nodes with props.x separated them |
get_bounds of text that was just created in the same call, or hug that reports the advance width in the create result |
P3 |
| 168 | Contours from a bitmap | The creature, the crane and the twenty monograms were rebuilt from ellipses, rects and a few paths. Rotation of an ellipse works (the kweeks petals, after each box was moved off the hub). There is no trace of a placed image | An image-trace that returns paths, even a coarse one, for this kind of study | P2 |
#2026-11-24: design system and responsive dashboard (PAP-B-100)
Task: dogfood a small design system and one analytics dashboard at 1440 and 1024, light and dark, before v0.1.0. Workspace Estabilização · Grande (cursor-3) (e0kui83c05). No product code was changed. open_workspace was not called. Typed tokens (color, length, font family, weight, size, line height, letter spacing, shadow lengths) with a dark mode. Components with props and variants: button, badge, KPI card, table row, sidebar item, chart card. The KPI section is a component whose grid holds four KPI instances. Charts are chart-card instances with a plot slot (bars as rects, the line as paths). lint_design on the library and the four frames: 0 errors, 3 layout-overflow warnings. export_code {rootId:"dash-1440", format:"react", cssVariables:true} is 70k characters, with var(--…) and a [data-paprika-mode="dark"] rule, and no undefined or NaN.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 169 | The 1024 dashboard to wrap four 256px KPI cards onto two rows | Same as #156, still open, now on a real screen. cmp-grid has layout.wrap: true and gap $space.8. get_bounds on the 1024 frame 69wsod1xtg (workspace e0kui83c05) gives grid 178qrl3f3i-13io2650aqwsir as 744×116.1 with all four KPI instances at y=1223.4 (sum of widths 1024). render_screenshot of that frame is 1024×1118 and shows two rows. The canvas DOM ([data-paprika-id]) at 19% zoom has a y spread of 25px between the first and third card. export_code writes flexWrap: "wrap". lint_design reports layout-overflow on cmp-grid, 178qrl3f3i-13io2650aqwsir and igulfg1rm3-00u2cvu0kr1qda: row children leave "KPI grid" (728×116.1) on width: Sessions, Conversion |
Make layout() honour wrap the same way the canvas CSS, the screenshot and export_code already do, so get_bounds matches the picture |
P1 |
| 170 | Detach an instance of a component that uses props | detach_instance {ids:["detach-button"], workspaceId:"e0kui83c05"} on an instance of cmp-button (text, variant and boolean props; children carry bind) failed: op[0]: "detach-button-06xwdad1t6497l" has a bind outside a component. get_nodes still showed instanceOf: "cmp-button", so the transaction rolled back. Expected the copies to become ordinary nodes and stop following the component |
When detaching, drop bind (the resolved values are already on the copies) before the "bind outside a component" check |
P1 |
| 171 | A control pinned to the right of a fill-width header to stay pinned when the root grows | On a duplicate of dash-1440 (750telt3uy at 4600,40, height set to the numeric 977), pin-root (absolute, constraints right/bottom) moved +200 x and +120 y when the frame became 1640×1097. pin-header, absolute in the header copy tnm6varz0h whose stored width is "fill" and whose constraints are right/center, stayed at x=6020. The header's computed width went from 1440 to 1640. undo put pin-root back at (6012, 989); redo applied the resize again |
Re-run constraints for absolute children when a fill ancestor's computed box changes because a numeric ancestor was resized | P1 |
| 172 | place: "below" and place: "right" to sit beside the duplicated frame |
duplicate_nodes {ids:["dash-1440"], place:"below", workspaceId:"e0kui83c05"} put 69wsod1xtg at (0, 1760). The source is at (1320, 40) and ends at y=1017; (0, 1760) is the page-content union's left and the library's bottom (1680) plus 80. place:"right" on that 1024 frame, which sat at (0, 1760), put 66yfqdahhh at (4360, 0), the right edge of the union at the union's top. The content box was 5384×2737, not empty (unlike #154). Omitting place uses {near, side:"right"}, which does track the source |
Make the string forms follow the source the way {near, side} does, or say in the duplicate_nodes description that "right" and "below" are page-union anchors |
P2 |
| 173 | Detach tokens on a component instance, and a sentence that says so | apply_ops {ops:[{op:"detach_tokens", ids:["detach-badge"]}], workspaceId:"e0kui83c05"} failed: layout of "detach-badge" come from the component "cmp-badge"; edit the component, change scale or detach it. The same op on a generated copy failed with the copy-override rule. A plain duplicate of a frame that uses $color.surface, $radius.md and $space.4 detached to #ffffff, radius 10 and gap 8; the source kept the $ refs, and dash-1440's fill stayed $color.bg. A copy with mode:"dark" detached to fill #18222d and text #e8eef6 |
Skip derived fields on an instance and say that, with "comes" not "come". Combined with #170, a variant instance cannot be detached and then have its tokens baked | P2 |
| 174 | Bind props in the same create_nodes as the component |
Same as #155, still open. The button tree failed with op[1]: "btn-primary" has a bind outside a component. create_component and then update_nodes {bind} worked |
Accept the bind when the component flag is set in the same transaction | P2 |
| 175 | A length token as a frame width | create_nodes {nodes:[{type:"rect", width:"$space.8", height:8, fill:"$color.brand"}], workspaceId:"e0kui83c05"} failed the batch: invalid node: width: Invalid input. Gap, padding, radius and shadow accept the same token |
Say the width must be a number, "hug" or "fill" |
P3 |
- Addressed the board by
workspaceIde0kui83c05. The browser was opened at/w/e0kui83c05(that route switches the active workspace) and then sent back to/w/a35c3kh2su(Réplicas · cursor-4).list_workspacesshoweda35c3kh2suactive again.Northstaranddash-1440were gone from that tab. - On the canvas: the layer tree listed the design system and the four dashboards. The renderer toggle went from DOM to CPU (
aria-pressed,data-wasm-active=1). Zoom went from 19% to 23% and Fit returned to 19%. Reload kept Northstar and the CPU renderer. Undo restored the deleted probe text "Source" (3 hits) and Redo removed it. - Theme mode on the frame works:
Dashboard 1440 darkandDashboard 1024 darkpaint the dark tokens. Root constraints and plaindetach_tokenswork, including dark-mode resolution. The fourrender_screenshotPNGs are 1440×984, 1440×984, 1024×1118 and 1024×1118.
#2026-11-25: brand concepts (four directions, one board each)
Task: draw 3–4 brand directions (symbol, wordmark, palette, pattern) from six user references, in a new workspace, without switching the user's active one. Script: desenhar-conceitos.mjs (MCP over HTTP, zero deps), run first against a cloud paprika serve and then, unchanged, against the user's Docker Paprika (workspace Marca · conceitos (nov/2026), covcq6swn3; active cmio9n368k before and after). Every call carried workspaceId; open_workspace was not called. Symbols are groups of path nodes sharing one viewBox [0,0,100,100]; the wordmark is a stroked path with strokeCap: "round".
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 176 | Rotate a group (a symbol made of several paths) | create_nodes with {type:"group", rotation: 8, …} failed the whole batch: op[0]: unknown fields for group: rotation. Workaround: put the same rotation on every child path (they share one box, so they turn together) |
Accept rotation on group (rotate children around the group's center), or name the workaround in the error |
P2 |
| 177 | Parse the create_nodes result from content |
content holds two text blocks: the JSON and one readable line per root. Joining them with \n and calling JSON.parse fails, so the script read roots[0].id as undefined and then linted the whole workspace four times. structuredContent has the clean object |
Say in the guide that structuredContent is the machine-readable result (or put the readable line in a separate field) |
P3 |
| 178 | lint_design on a big workspace to answer |
First run: 4 boards, 4,177 nodes (pattern tiles of 30+ paths each). lint_design {workspaceId} with no rootId did not answer in 300 s (client header timeout). Per board with rootId, groups: true, minSeverity: "warning" on 2,456 nodes: all four in under a second |
Bound the cost (index geometry for fully-hidden) or stream/cap; at least document that rootId is the fast path |
P1 |
| 179 | fully-hidden to look at ink, not boxes |
Each symbol layer is a path with the full 100×100 viewBox box. lint_design reported 361 (A), 854 (B), 81 (C) and 402 (D) fully-hidden warnings: fully hidden behind opaque "símbolo · 5". The screenshots show every layer visible (a yellow lobe behind a red one, a stem on top) |
Done (2026-11-25): only box-filling nodes cover (frame, rect, image, shape rect/note); a path, ellipse or other shape no longer hides a sibling that shares its box |
— |
| 180 | overflow to stay quiet for deliberate bleed in a clipping frame |
The pattern frame has clip: true; tiles that cross its edge are the point of a pattern. 44/29/9/22 overflow warnings: goes outside "Padrão" (1312×336) and will be clipped |
Report at info (or not at all) when the parent clips, or honour lintIgnore on the frame for its children |
P3 |
| 181 | export_image as fast as render_screenshot |
Same board, same server: render_screenshot 184 ms (C) and 928 ms (A, first call); export_image format:"png" 6.1 s (C) and 23.3 s (A). In the 4,177-node run, export_image of board A did not answer in 300 s. Screenshots were switched to render_screenshot |
Profile the pure-Go rasterizer on many small viewBox paths; say in the description which one to use for previews |
P2 |
| 182 | Re-running a drawing script not to leave empty twins | Two runs that failed after create_workspace left two Marca · conceitos (nov/2026) workspaces (one empty). create_page has ensure: true; create_workspace does not |
ensure: true on create_workspace (return the existing one by name) |
P3 |
- Fine:
place: "none"with exact x/y on four 1440×960 boards;strokeCap/strokeJoinon stroked paths;viewBoxscaling stroke width with the drawing;render_screenshotscale: 2(2880×1920) on both servers; the active workspace never changed.
#2026-11-24: redrawing six reference logos and scoring them (maintainer's replica pass, workspace "Veredito · Claude")
Task: redraw six reference images (a gradient ring, an orange burst, a whale wordmark, a crane, a 12-mark gradient grid and a 20-monogram grid) over MCP, partly by hand and partly from a Python script calling /mcp over HTTP, then score each replica against its reference. The findings drove section T of the backlog (PAP-A-005..021).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 183 | A number for "how close is my replica" | Scored by hand: raw pixel equality read 88–97 % for every replica (the background dominates), while IoU of the drawn shapes read 41–74 % (ring 74 %, burst 63 %, whale 43 %, crane 41 %). The whale looked the most faithful by eye and scored 43 % | Done (2026-11-25, PAP-A-015, #198): compare_reference scores ink IoU, missing/extra regions, per-node coverage and a global offset |
— |
| 184 | Rounded corners on polygonal petals | Wrote a Python helper that rounds polygon corners with quadratic curves before every create_nodes |
Done (2026-11-25, PAP-A-017, #194): round_path_corners, create_shape_path |
— |
| 185 | Gradient on a path | fill: "linear-gradient(...)" was accepted and painted black; the structured gradient field worked but the guide did not mention it |
Done (2026-11-25, PAP-A-007, #191; guide line in this change) | — |
| 186 | A hole in a gradient shape | combine_paths subtract worked, but took one call per pair and dropped the gradient each time (7 calls for one ring) |
Done (2026-11-25, PAP-A-018, #192): operations chain and style |
— |
| 187 | Organic contours (crane wing, monograms) | Every feather written as coordinates; no way to start from the reference's own contours | Done (2026-11-25, PAP-A-016, #197 and PAP-A-014, #195): trace_image, analyze_image |
— |
| 188 | The same picture in the canvas as in the screenshot | The whale board was blank in the maintainer's GPU mode and complete in DOM/CPU; "estaleiro" set in fontFamily: "Inter" painted serif on the canvas |
Fonts done (PAP-A-011, #190); GPU: hardening in #193, cause not reproduced | P1 |
| 189 | Open a workspace link without moving everyone | Opening /w/<id> to check the drawing made it the server's active workspace |
Done (2026-11-24, PAP-A-005, #185) | — |
- Fine: every board took one or two
create_nodescalls from a script talking to/mcpover HTTP (initialize,notifications/initialized,tools/call), with no errors or hangs;combine_pathsunion/subtract/intersect on rect, ellipse and path; the structuredgradientwith alpha stops on paths. - Simpler for the next agent: start from
analyze_imageortrace_image, draw the structure, runfit_to_reference, thencompare_referenceuntilpass.
#2026-11-25: the same six references again, with the new tools (workspace "Veredito 2 · Claude (ferramentas)")
Task: redo the six replicas of the previous section with analyze_image → trace_image into a frame filled with the detected background → compare_reference, one script, about 0.4 s per board. Shape IoU from compare_reference, first round (hand-drawn) → this round: ring 0.77 → 0.92, burst 0.63 → 0.97, whale 0.42 → 0.96, crane 0.31 → 0.85, 12-mark gradient grid 0.52 → 0.74, 20-monogram grid 0.41 → 0.87.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 190 | Gradients traced as gradients | trace_image quantizes a smooth ramp into flat bands: the ring became 19 flat patches, the gradient monograms became striped and lost their dark ends (IoU 0.65, 0.74 with maxColors: 16, 165 paths) |
Detect a blob whose colour varies smoothly and emit one path with a gradient (linear/radial fitted to the pixels) instead of one path per band |
P1 |
| 191 | Neighbouring traced shapes that touch | Adjacent paths of the ring leave hairline seams where the background shows through (anti-aliased edges on both sides) | Overlap shared edges by half a pixel, or trace touching blobs of one silhouette as one path with the bands as a gradient (#190) | P2 |
| 192 | Small features kept | With the default minArea the whale's container boxes (13 px squares) were dropped as noise; minArea: 0.00005 kept them and IoU went 0.92 → 0.96 |
Keep small compact blobs with strong contrast against their surroundings even below minArea, or lower the default |
P2 |
| 193 | Photo or sketch panels | The crane reference has a pencil sketch on paper; it traced as beige/grey noise blobs | Expected; colors or region already limit it. Worth one guide sentence |
P3 |
- Fine:
compare_referencescored the old hand-drawn boards close to the manual numbers (ring 0.77, whale 0.42);analyze_imagebackground andtrace_imageplacement put every board in the right place first try; no errors, no hangs, every board one undo step.
#2026-11-25: 20 Dribbble references traced and scored (workspace "Estudo Dribbble · Claude (20 referências)")
Task: 20 public Dribbble shots (11 logo marks and mark sheets, 6 app icons, a branding board, an illustration, a web hero) traced with analyze_image → frame filled with the detected background → trace_image (default, then maxColors: 12, minArea: 0.00005, best kept) → compare_reference. Under 0.5 s per image end to end. Shape IoU: mean 0.87, median 0.94; 13 of 20 at ≥ 0.90 (flat marks and icons 0.98–0.995), 4 below 0.80. Reference images are not committed.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 194 | A score that holds on gradient backgrounds | The "ranker" wordmark on a soft orange gradient traced well by eye but scored IoU 0.26 (extra 0.69): ink is "differs from the border colour", so most of the gradient background counted as ink on both sides | Model the background (per-pixel estimate, e.g. low-frequency fit of border-connected pixels) before building the ink masks; report a warning when the border is not uniform | P1 |
| 195 | Sheets with many marks | Mark sheets (40–140 blobs) hit maxPaths: whole marks and every wordmark went missing (IoU 0.58–0.68); truncated: true was reported but the dropped ones are the small ones, which are the text |
Raise or remove the default cap for dryRun: false with a per-call budget, drop by visual importance instead of area, and say which blob ids were dropped |
P1 |
| 196 | Small text | Wordmarks and UI copy under ~14 px traced as blobs that read as broken glyphs ("Ma imze Your Socia") | Detect text-like rows of small blobs and either keep them as one path group or hand them to import_html/text with a text hint |
P2 |
| 197 | Gradients and photos | App icons with soft gradients came out banded (same as #190); a photo became a posterized silhouette | Same as #190 for gradients; for photo regions, offer asImage: true to place the region as an image node instead of tracing |
P2 |
| 198 | pathCount vs maxPaths |
pathCount reported 96–660 while maxPaths defaults to 60 and truncated was true; unclear how many nodes were really created |
Report created and dropped counts separately |
P3 |
- Fine: every call succeeded, no hangs; flat logos and icons (fitness, B mark, rhino, task icon, Acquit) at IoU 0.98–0.995 with 2–12 paths; illustration (0.94) and branding board (0.94) usable as a starting point.
#2026-11-25: the same 20 references with a mix of tools (workspace "Estudo Dribbble · mix de ferramentas v4 (Claude)")
Task: same 20 Dribbble shots, but choosing a tool per region instead of tracing everything: photo regions placed as images (import_image of a local crop), shapes that analyze_image fits as a circle, ellipse, rect or polygon with IoU ≥ 0.93 created as primitives, everything else from trace_image (dryRun, then create_nodes). Mean IoU 0.907 (trace only: 0.871), median 0.964. 36 primitives, 1498 traced paths, 14 images. Photos now read as photos (the eye behind glasses, the watch strap, the poster) instead of posterized blobs, and the 140-icon sheet went from 0.68 to 0.91.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 199 | Know which tool fits which region | Nothing in Paprika says "this region is a photo, this one a gradient, this one flat shapes, this one text". The agent had to write its own classifier in Python (per-tile grain: share of pixels that differ from a 1.2 px blur; edge strength and colour count alone mistook gradients and icon sheets for photos) | analyze_image returns `regions: [{kind: photo |
gradient |
| 200 | Place a crop of the reference as an image | import_image takes a whole file; the agent cropped locally and sent a data URL |
import_image {src, crop: {x, y, width, height}} (in source or frame units) |
P2 |
| 201 | Trace only some blobs | To mix, the agent ran trace_image with dryRun, matched paths to analyze_image blobs by colour and box overlap, and created the subset itself |
trace_image {blobIds} (ids from analyze_image) and exclude: [boxes] to skip photo regions |
P2 |
| 202 | Primitives where they fit | Only 36 of ~1500 shapes fit a primitive at IoU ≥ 0.93 on real artwork (anti-aliased edges, rounded corners with uneven radii); a traced path of the same shape scores as well, so IoU alone never rewards the simpler node | Add nodeCount and an "editability" hint to compare_reference, and fit rounded rects with per-corner radius and polygons with rounded corners before falling back to freeform |
P2 |
| 203 | Guidance against using one tool for everything | The guide lists each tool on its own; nothing says when to prefer a primitive over a path, an image over a trace, or a gradient over bands | One decision table in the guide: flat geometric → primitives (create_shape_path, rect, ellipse); organic flat → trace_image; smooth ramp → gradient; photo → import_image/place_reference; text → text nodes |
P1 |
- Still open from the previous studies: gradient backgrounds break the score (#194, the "ranker" board stays at 0.26), gradients traced as bands (#190),
maxPaths200 cap on mark sheets (#195).
#2026-11-25: cover for the "Interface · marca" workspace (workspace m1nbvc1i13)
Task: new workspace, a page "Capa", a 1600×900 dark cover and a light one below it with the Trio Pixel symbol and wordmark, set as the workspace cover, a pin on the wordmark applied and resolved. All over MCP by workspaceId; the active workspace never changed. fully-hidden noise on the layered symbol (14 warnings) is #179, fixed in this change.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 204 | Know who undid an agent's write | 6 s after the script wrote the cover, an undo on the shared history removed it (likely Ctrl+Z on the canvas). get_history shows only the undo stack, so the vanished create (now on redo) and the undo were invisible over MCP; the SQLite file had to be read |
Done (2026-11-25, PR #226): get_history returns the redo stack and one entry per undo/redo with actor and time; Store.step persists the actor |
— |
| 205 | A human Ctrl+Z must not eat an agent's work silently | The canvas undo pops the shared history regardless of author | Per-actor undo on the canvas, or a toast "Undone: | P2 |
| 206 | Find a frame by name to replace it on a re-run | find_nodes answers text lines, not JSON; the script found nothing and drew a duplicate cover |
Done (2026-11-25, PR #229): structuredContent on find_nodes ({nodes: [{id, type, name, x, y, width, height}]}) |
— |
| 207 | Match one exact name | find_nodes {name} matches a substring; the dark cover's name is a prefix of the light one's |
Done (2026-11-25, PR #229): find_nodes {name, exact: true} |
— |
| 208 | Measure contrast, including non-text | lint_design reports only failures, with no ratio, and only for text: a marker border at 1.21:1 passed silently |
lint_design {report: "contrast"} with each pair's ratio, and a non-text-contrast rule (WCAG 1.4.11, 3:1) |
Done (2026-11-29, PAP-A-041) |
| 209 | Name the first page of a new workspace | create_workspace makes a document with no page, so there was no "page 1" to rename |
Done (2026-11-25, PR #229): the create_workspace description says a new workspace has no page and how to make the first one |
— |
| 210 | groups in lint_design |
The description reads like groups is an argument; passing it fails with unknown argument "groups" |
Done (2026-11-25, PR #229): the description now says the result carries groups |
— |
| 211 | Predict the overview card crop | The card is about 2:1 and center-crops a 16:9 cover; the footer is cut | Document the aspect in set_workspace_cover, or fit: "contain" |
P3 |
| 212 | Re-anchor a pin after its node is replaced | The script recreates the frame, so the pin points at a deleted node (nodeMissing: true) |
Done (2026-11-25, PR #227): update_pin and resolve_pin take a nodeId to move the pin to the replacement |
— |
| 213 | Screenshot of the editor at fit | render_screenshot renders nodes, not the editor; Playwright plus Shift+1 was needed, and the toolbar covers the top frame's label at fit |
render_screenshot {page, fit: true, chrome: true}, and fit padding below the floating toolbar. Done (2026-11-25, PRs #233 + #234): the renderer option only; fit and chrome stay open |
P3 |
- Fine: one
create_nodescall built each 35-node cover;set_workspace_cover,export_image {scale: 2},list_pins,claim_pinandresolve_pinworked first try.
#2026-11-25: brand guide, pages 2–9 (workspace "Interface · marca")
Task: 8 pages of the brand guide, each with a dark and a light 1600×900 frame, drawn by one re-runnable script (create_page {ensure} plus replace by exact frame name). 16 frames, no undo used.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 214 | Scale a path's stroke with its viewBox, knowingly | On a path with viewBox the stroke width is in viewBox units; the agent passed px and drew a selection frame about 4× too thick and a wordmark too thin. Nothing in the guide or the result says which |
Done (2026-11-25, PR #229): the guide and the create_nodes description say the stroke width is in viewBox units. A strokeScaling option stays open |
— |
| 215 | Stretch a path non-uniformly (a "do not stretch" example) | A path with viewBox 100×110 in a 184×99 box keeps its aspect ratio (meet); the d coordinates had to be rewritten by hand |
preserveAspectRatio: "none" on paths (as in SVG), or scale_path {sx, sy} |
P3 |
| 216 | Contrast lint for text on a chip drawn as a sibling rect | contrast looks only at ancestors' fills, so a label over a sibling rect is measured against the panel behind it; every chip, button and badge had to be a frame with the text inside |
Document it in the rule message ("background = ancestor fills; siblings below are ignored"), or count painted siblings that fully contain the text | Done (2026-11-29, PAP-A-042) |
| 217 | Text width: "fill" inside a height: "hug" column or a fixed-height row |
The frame's hug measured the text as 1 line, the text itself as 2, so lint_design reported a false layout-overflow (also on five component texts); numeric widths fixed it |
Done (2026-11-25, PR #228): hug measures fill text at the resolved inner width |
— |
| 218 | Show failing pairs on purpose (contrast table) | lintIgnore: ["contrast"] on each failing sample worked and kept the rest checked, but the lint result never suggests it |
Mention lintIgnore per rule in the lint_design result when a rule fires |
P3 |
| 219 | Contact sheet of all pages | No tool composes several frames into one image; done with an image library from the exported PNGs | export_image {rootIds: [...], layout: "grid", columns} |
P3 |
- Fine:
create_page {ensure: true}made the script re-runnable; whole nested trees in onecreate_nodesper frame;export_image {scale: 2}gave 3200×1800 PNGs;runsgave coloured prefixes without extra nodes.
#2026-11-25: brand guide, page 10 "Padrão" (a repeated pattern)
Task: a dark and a light frame with a checkerboard of the colored and monochrome symbol, merged into one path per color (about 130 symbols).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 220 | Draw a repeated pattern and know the d limits |
The merged monochrome d had 17 760 segments and 276 439 chars, and create_nodes refused the whole call (<=200000 characters, more than 10000 segments) only after the payload was built; the script now splits each color into paths of ≤9000 segments / ≤180 000 chars |
Done for the limits (2026-11-25, PR #229): both limits are in the d schema and the guide. A pattern/repeat fill (tile, step, offset) stays open |
P2 |
- Fine: a sheet-only run rebuilt the contact PNG without touching the document.
#2026-11-25: pins on "Cores" and "Componentes" (components with variants)
Task: two pins. Contrast of the light theme (new "for text" column, -ink tones, borders at 3:1) and 8 missing controls built as 11 components with props, variants and instances.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 221 | Show a component's default state on the canvas | A bind.variant node is filtered only in instances: the main component draws every variant at once (checkbox with 3 boxes, a field group per format), which also makes layout-overflow fire on its row; each main was hidden and replaced by an instance with the default props |
Done (2026-11-25, PR #230): the main component applies the default variants | — |
| 222 | A highlighted instance (different fill) | fill on an instance root in create_nodes was dropped silently on sync; it works as overrides: {[componentId]: {fill}} |
Done (2026-11-25, PR #230): fill on an instance root becomes that override |
— |
| 223 | Glyph coverage | ⋯ (U+22EF) in a caption rendered as a box in Inter; nothing warned |
lint_design rule missing-glyph (the font lacks a code point) |
P3 |
- Fine: component and instances in one
create_nodeswith explicit ids; props, booleans and variants throughpropValues;bind.visiblewith a boolean prop;layoutPositioning: "absolute"children for state borders;claim_pin/resolve_pin.
#2026-11-25: pins on "Componentes" (stepper, shortcuts, color picker, import and export)
Task: 4 pins claimed and resolved (number field with plus/minus icons, keycap shortcuts, color picker with a formato variant, agent work on the canvas).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 224 | A ring around the current swatch, a dashed "add" button in a row | outline on a rect or frame that is a child of a row layout rendered on one side only in the PNG; the same outline on absolutely placed nodes rendered whole |
Done (2026-11-25, PR #232): whole outline for layout children in export and screenshot | — |
| 225 | A 2x PNG of a tall frame | export_image {scale: 2} on a 1600×2460 frame returned 2664×4096 (scale ≈ 1.67) with no warning |
Done (2026-11-25, PR #232): the result reports the scale used and a warning when the 4096 cap applies | — |
- Fine: a variant with five bound groups switched cleanly;
bind.visibleon a nested frame from a boolean prop;overrideswith the root id for a highlighted row; 4 pins claimed and resolved in parallel.
#2026-11-25: pins 8–12 and a redraw of every page (alignment, lint output)
Task: the app icon sat 15 of 240 units off centre (the guide copied the SVG's offset), a stepper column was misaligned, and pages 3, 7 and 8 were redrawn; later every page was redrawn after the symbol was centred in its 100×100 box and 20 frames were linted to confirm.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 226 | A short lint result for many frames | groups was folded as promised, but issues still listed all 276 fully-hidden findings (372 over 20 frames, 49 KB, spilled to a file) even with minSeverity: "warning" and maxIds: 3 |
Done (2026-11-25, PR #229): issues: false and ignoreRules on lint_design |
— |
| 227 | A pin that refers to an earlier one | "Aqui também está desalinhado" pointed at a remark that is not in the pin thread; six pins with the same text carried only a node and a region, so the cause had to be guessed from other lockups | Let a pin link to another pin (relatedPinId), and keep a small render of its region at creation (snapshot) |
P3 |
| 228 | Keep a trailing child at the end of a row when a sibling text is shorter | "°" is narrower than "px", so the hug text moved the stepper left; fixed with a numeric width. No "push to end" in row layout | Done (2026-11-25, PR #228): layoutGrow (flex-grow) on a child |
— |
| 229 | Check that a vector symbol is centred in its tile | get_bounds of the symbol group returns the path boxes (the 100×100 viewBox frame), not the painted ink; the gaps were measured on the PNG by eye |
get_bounds {painted: true}: bounds of the painted geometry (fill + half stroke) |
Done (2026-11-29, PAP-A-047) |
- Fine: re-runnable scripts replaced frames by exact name without touching the other variant;
claim_pin/resolve_pin/reply_pinon 12 pins.
#2026-11-25: pins 13–19 (import and export components, lockups below 32 px)
Task: a new "Importar e exportar" section with four components, and the small lockups redrawn without the cyan selection.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 230 | Show a node in three of four variant options | bind.variant takes one option per prop (an array is refused), so the choice was one node per option or no bind |
Done (2026-11-25, PR #230): bind: { variant: { estado: ["importando", "pronto"] } } |
— |
- Fine: components with instances referencing ids fixed per theme; text
runswith colours for a code preview; the official lockup gap (LOCKUP_GAP) imported by the guide script, so guide and SVG cannot drift.
#2026-11-25: wordmark "paprika" audit (a single source of geometry)
Task: "the wordmarks regressed". Both scripts rebuilt the wordmark by hand and its viewBox differed from the official one (876.2 × 236 instead of 872.2 × 232), so every board was 1.7 % smaller; now one helper takes everything from wordmark(). Covers and five pages redrawn, lint clean.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 231 | Read the SVG of a node to compare it with the official file | Over the MCP client export_image {format: "svg"} shows only {width, height, format}; the SVG sits in the text block and a custom client was needed |
Put the SVG in structuredContent.svg too |
P3 |
| 232 | Pixel-compare a node with a reference SVG at the same height | No tool for it: the official SVG was rasterised in a browser, the node exported with export_image {scale} and the two diffed with an image library; compare_reference needs a placed reference image |
compare_reference {svg | file, rootId, height}: renders both at one size and returns diff stats and a diff image |
Done (2026-11-29, PAP-A-049) |
| 233 | Keep a half-pixel position (y: 12.5) in the raster |
SVG export keeps translate(113 12.5), but the PNG of the same group puts the wordmark about 0.5 unit lower: the raster snaps the child to whole pixels before scaling |
Done (2026-11-25, PR #232): position at the scaled value, no rounding before the scale | — |
| 234 | Know that two boards use the same brand geometry | Nothing in the document says a path came from wordmark(); drift shows only by reading the scripts |
The wordmark as a component (create_component plus instances) in the guide |
P3 |
- Fine: replacing frames by exact name with
--page N;set_workspace_coverkept the dark cover;lint_design {minSeverity: "warning"}over 12 roots in one call returned an empty result.
#2026-11-25: small "paprika" wordmarks turn into blobs on the WASM renderer
Task: screenshots from the GPU renderer showed the small wordmarks as blobs while the big ones were fine; the nodes were coherent, ?renderer=dom and export_image drew them correctly and ?renderer=wasm (backend cpu) did not. Cause: parse_paths bakes the viewBox-to-box scale into the points, but encode_gpu and cpu.rs stroke with the raw stroke.width in px, while DOM and SVG scale the stroke with the viewBox (repro: d: "M0 50 H100", viewBox [0, 0, 100, 100], box 20 × 20, stroke 10 gives 2 px in DOM, 10 px in WASM). The big letreiros looked right only because they fall back to the DOM. Workaround in the brand helper: the d is scaled to px of the node, so the scale is 1 on every renderer.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 235 | The same stroke on every renderer when a path's box is smaller than its viewBox | The pixel parity test never hit it because its paths have box = viewBox | Done (2026-11-25, PR #235): scale stroke_width by the path's scale in encode_gpu, cpu.rs and the stroke outset of displayList; a parity case with box ≠ viewBox, small strokes and outline, run on every PR that touches the renderer |
— |
| 236 | Tell which renderer an agent sees when checking a board | get_document_outline says renderer: wasm, but render_screenshot and export_image always use the DOM/SVG path, so an agent cannot see a WASM-only bug |
Done (2026-11-25, PRs #233 + #234): render_screenshot with the WASM renderer |
— |
| 237 | Size a frame to its content without auto-layout | height: "hug" on a frame with no layout gives 0 px, so the script measures with get_bounds in a second pass and writes a fixed height that goes stale when the content changes |
Make hug on a no-layout frame wrap the children's bounds, or refuse it with an error that says so | P2 |
| 238 | Reveal hidden nodes without moving the layout | show_all reveals hidden main components inside auto-layout stacks and pushes the siblings down, with no warning; on the brand guide captions ended up over content |
Warn in the result when a revealed node is in an auto-layout flow (or offer show_all {skipLayoutFlow}); drawing scripts keep hidden mains layoutPositioning: "absolute" |
P2 |
| 239 | Check where a hidden node would land | get_bounds returns hidden nodes as unplaced, so there is no way to see their box before revealing them |
Return the box a hidden node would take, flagged hidden: true |
P3 |
#2026-11-25: drawing the new site (landing page and docs) before moving it to Astro
Task: an agent drew the new landing page (English and Portuguese, desktop and mobile) and six docs mockups (home and content page, dark and light, desktop and mobile) with apps/site/scripts/draw-landing.mjs and draw-docs.mjs, first on a fresh paprika serve in a cloud container, then in a new workspace of the maintainer's Docker Paprika without switching the active one.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 240 | Reuse one image (the lockup) in several frames | After set_assets and images with src: "$lockup", restarting the server failed with documento … inválido no banco: inconsistent document: image "…" src "$lockup" does not match an asset (set_assets) and the process exited. The SQLite store has no table for document assets, so they are lost on restart and one workspace takes the whole server down. Workaround: data URIs in src |
Persist assets in the store (and a migration test that restarts with assets); on load, report an invalid workspace without refusing to start the others |
P0 |
| 241 | Screenshots with the browser the container already has | With PAPRIKA_CHROMIUM set to /opt/pw-browsers/chromium-1243/…, render_screenshot still refused: "Chromium build 1243 is installed, but Playwright expects build 1255 … or set PAPRIKA_CHROMIUM", advice that had already been followed. Workaround: a symlink on a path without chromium-NNNN |
Skip the revision check when PAPRIKA_CHROMIUM is set explicitly |
P2 |
| 242 | Save a screenshot by absolute path inside the screenshot directory | path "/tmp/screenshots/x.png" is outside the screenshot directory (/tmp/screenshots); only a relative path works |
Accept absolute paths that resolve inside the directory | P3 |
| 243 | Trust the overlay warning | covered-by-overlay flagged 106 children placed with layoutPositioning: "absolute" inside a filled frame as covered by that same frame, their own parent |
Never count a node's ancestors as covering it | P2 |
| 244 | Trust the overflow warning | layout-overflow flagged cards with height: "fill" in a row with align: "stretch", while the render shows no overflow |
Measure with the same layout pass as the render, or lower it to info when the row stretches | P3 |
| 245 | A screenshot of a tall mobile frame at its real width | A 390 × 4300 frame came back as 332 × 4096 (and 321 × 4096 for Portuguese): the 4096 px cap shrinks the image without saying so | Say the applied scale in the result, or tile tall frames | P2 |
| 246 | Download the PNG on another machine | Without path, render_screenshot returns a relative URL (/api/screenshot/<hash>); the agent has to know the host |
Return an absolute URL (or the PNG in structuredContent) |
P3 |
| 247 | Set the cover of a workspace that is not active | set_workspace_cover refuses workspaceId ("unknown argument … valid arguments: clear, id, image, rootId"); every other tool calls it workspaceId |
Accept workspaceId as an alias of id |
P3 |
| 248 | Run the CLI inside the Docker container | The binary is /app/paprika, not on PATH, so docker exec … paprika export fails with "executable file not found in $PATH" |
Put the binary on PATH in the image (or document /app/paprika in docker.md) |
P3 |
| 249 | Read the CLI help in the docs' main language | paprika --help and the server's errors are in Portuguese while the docs and the MCP contract are in English |
English CLI help and errors, Portuguese where the user's locale asks for it | P3 |
#2026-11-27: "Links no texto" board (link rule proposal, dark and light)
Task: draw the link-in-text proposal (inherited colour + underline) in a new workspace with docs/en-US/design/draw-links.mjs, two 1600 px frames, on a fresh local paprika serve (port 5401).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 250 | A @2x screenshot of a tall board | A 1600 × 2894 frame came back as 2322 × 4096 (scale 1.41 instead of 2) with no word about the applied scale; same cap as #245 | Say the applied scale in the result, or tile frames taller than the cap | P2 |
| 251 | Measure the width of a hug text to size a drawn underline | get_bounds returns boxes.<id> keyed by id (not a list) and a fixed-width text returns its box, not its ink; the script had to set width: "hug" on a copy and read the box |
Document the boxes shape in the tool description; get_bounds {ink: true} for text |
P3 |
| 252 | See what the renderer does with a text run that has href |
There is no statement of it: the run is painted #0000EE and underlined by the renderer, an explicit run color wins and the underline follows it. Found by drawing a probe |
Say it in the guide, with the underline offset and thickness the renderer uses | P3 |
| 253 | Lint a contrast that depends on the nearest filled ancestor | lint_design contrast was right (it caught light text I had put on a white strip) but reports only node ids; I had to get_nodes each id to find out which pair it measured |
Put the two colours and the ratio in each issue (fg, bg, ratio) |
P3 |
| 254 | Re-run a drawing script on the same workspace | delete_nodes of ids that may not exist fails the whole call, so the script needs soft handling of the error |
delete_nodes {ignoreMissing: true} |
P3 |
- Fine:
create_nodes {place: "none"}with explicit coordinates on a page,create_workspaceandcreate_page {ensure: true}without touching the active workspace,lint_designclean at the end,render_screenshotwith the container's Chromium (noPAPRIKA_CHROMIUMneeded this time),paprika export --doc <id>for one workspace.
#2026-11-28: "PAP-A-093 · Exportar" board (export dialog with every format)
Task: draw the export dialog with the six image formats and the eight code formats using only components of the brand guide (page 07), with docs/en-US/design/draw-export-formats.mjs, in a copy of the guide export imported under another id into a fresh paprika serve in a cloud container.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 255 | A screenshot of a guide component to read it before using it | render_screenshot and export_image of p7d-io-imagem (280 × hug, inside a fill × 275 parent) came back as 560 × 2 px, and of its parent as 1 × 275, while get_bounds gave 280 × 238 for the same node. A nested node with a fill or hug side is laid out alone, without its ancestors. Workaround: a region crop of the top-level frame, placed with get_bounds |
Lay out a nested root inside its ancestors (the box get_bounds reports), or refuse with an error that says to crop the top-level frame |
P1 |
| 256 | Stretch a guide component to the width of a dialog | An instance root takes no width (override "width" … is not allowed (root: fill …)), so every guide component stays at its 280 px and the dialog was drawn 320 wide to fit them |
Allow width, height and layoutGrow on an instance root (size is placement, not content) |
P2 |
| 257 | A close button with an X from the guide's "Botão de ícone" | The component only draws "more" (…) and a path copy takes no d override, so another icon cannot be set on an instance; the X was drawn by hand and marked "novo" |
Allow d (and viewBox) on path copies, or give "Botão de ícone" an icon slot in the guide |
P2 |
| 258 | A @2x crop of a small region | render_screenshot {scale: 2, region: 360 × 500} returned 501 × 697 px (scale 1.39), far below the 4096 px cap, with no word about it |
Say the applied scale in the result and why it was lowered (#245, #250) | P2 |
| 259 | Read the id of what a tool created | create_page returns {page}, create_nodes returns created as a list of objects, create_instance another shape; each needs its own lookup in a script |
One shape for created ids across tools (created: string[]) |
P3 |
- Fine:
create_nodeswithinstanceOf,propValuesand partoverrides(text,visible) in one tree, so a whole dialog of guide instances is one call; variant props (formato,tipo,linguagem) switch the guide components exactly as the guide shows them;lint_designwith no errors;paprika importof the guide export under another id leaves the original untouched.
#2026-11-28 · PAP-A-071 page loading board (cloud session)
Task: draw the "page loading" state (page row and canvas, dark and light) with docs/en-US/design/draw-page-loading.mjs on a fresh paprika serve in a cloud container (port 4799).
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 260 | render_screenshot with the container's Chromium |
Refused: "Chromium build 1243 is installed, but Playwright expects build 1255", even with PAPRIKA_CHROMIUM set to that binary, because the revision check reads the number from the path. A symlink under a path without the revision made it work |
When PAPRIKA_CHROMIUM is set, trust it and skip the revision check (or turn it into a warning) |
P2 |
| 261 | Draw the app's spinner | No arc primitive: drew it as a path with an SVG arc A command and a stroke, which works but is not obvious |
Mention arcs in path examples of the guide |
P3 |
- Fine: the same script shape as
draw-links.mjs(create_workspace,create_page {ensure}, onecreate_nodesper theme),lint_designclean on the first run,paprika export --doc.
#2026-11-29 · PAP-A-108 stale panel board (cloud session)
Task: draw what the properties panel does when an agent writes to the selected node right before the person's click (two scenarios, dark and light), with docs/en-US/design/draw-stale-panel.mjs, using the guide's Menu dropdown and Campo numérico, on a fresh paprika serve with the guide export imported.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 262 | A warning toast with an action from the guide | The guide (page 07) has no toast or notice, nor a text button; the notice was drawn by hand from the app's StatusToast and marked "novo" |
Add a notice (status icon, title, description, action, close) and a secondary text button to the guide | P2 |
| 263 | Trust lint_design on a hug column with wrapped text |
layout-overflow says the toast text column (hug height) leaves its last child out, but the screenshot shows the column fits it: a false positive on a hug height whose text wraps |
Measure the hug height after text wrapping before reporting overflow | P2 |
| 264 | render_screenshot on a paprika serve started without PAPRIKA_CHROMIUM |
The first run failed with the build 1243/1255 message (#260); setting PAPRIKA_CHROMIUM needs a server restart, so the board had to be drawn twice |
Let a running server pick the browser up (or say at start-up that screenshots are off and how to turn them on) | P3 |
- Fine: one
create_nodesper theme with guide instances andpropValues; the screenshots matched the app's toast on the first try.
#2026-11-29 · PAP-A-069 contour picker board (local Paprika over Remote Control)
Task: draw the contour picker of the frame inspector (picker, path row, inspector notes, dark and light) and add its three components to the brand guide, over the MCP of the maintainer's local Paprika in Docker.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 265 | Keep the local server up while drawing | The container was killed by the kernel (OOM) on the first write under the mem_limit: 1g of compose.yaml: about 977 MiB idle, 1.42 GiB at peak. It only ran with a local override at 4g |
Tracked as PAP-A-118 (measure, fix what grows with the document, add a memory budget check, set a limit with margin) | P1 |
| 266 | bind a prop on a component created in the same call |
It needs component: true and componentProps on the node itself, and the error does not say so |
Say in the error which field is missing and where it goes | P2 |
| 267 | Silence a lint rule on one instance copy | lintIgnore is not accepted as an override on an instance copy |
Allow lintIgnore in instance overrides |
P3 |
| 268 | Know the ids of the copies made by duplicate_nodes |
Its map does not include the copies of instance parts |
List the part copies in map too |
P2 |
| 269 | Trust the size of a hug parent with wrapped text | Hug with wrapped text measures differently in the parent and in the child (the false positive of #263) | Measure the hug height after text wrapping, the same way in both | P2 |
| 270 | A menu item without its shortcut | The guide's menu item cannot hide the shortcut without an override on the part's inner id | Give the menu item a shortcut prop that can be empty |
P3 |
- Fine:
lint_designon both boards of guide page 07 gave no errors or warnings after the three components went in.
#2026-11-29 · Follow an agent board (local Paprika, Remote Control)
Task: draw "Follow an agent" in workspace "App · nova interface (nov/2026)" (page "4b · Seguir agente": roster with Follow, following, following on another page, idle, stopped; dark and light) with the guide's components, plus two new library components ("Linha do agente · seguir", "Chip de seguir"). Frames in docs/en-US/design/follow-agent/.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 271 | An instance of "Linha da equipe" (fixed 280 px) stretched inside a new fill component |
update_nodes {width: "fill"} on the instance is refused ("width … come from the component"); an instance cannot stretch in its parent's auto layout |
Allow width/height (fill, hug, a number) as instance overrides (#256) |
P2 |
| 272 | A "follow outline" component (2 px ring) laid over an 870 × 851 viewport | Same cause: an instance keeps its size and scale keeps its proportions. The ring became outline {width: 2, offset: -2} on the Canvas frame |
Same fix as #265; the error could point to a negative-offset outline when only a ring is wanted |
P3 |
| 273 | Change texts and colours of a nested instance (a team row inside the agent row) | No way for the outer component to pass props (name, tool, page) to the inner instance, and the nested-key format of overrides in create_instance is not documented; it took create_instance + find_nodes + update_nodes, 5 calls per row |
Bind an outer prop to a nested instance's prop; an example of a nested key in create_instance |
P2 |
| 274 | hug height of a notes card (rows with wrapping fill text) |
lint_design reported layout-overflow on all 10 cards while the PNG is right: the parent measures 399.6 px and the children reach ~690 px. #263 again; the height was fixed by hand from get_bounds |
Measure wrapped text the same way in parent and child (#263) | P1 |
| 275 | Know whether update_nodes takes propValues on an instance |
It does, but its description does not say so; found by trying, since create_instance has it |
Mention propValues (and slots) in the update_nodes description |
P3 |
| 276 | Find nodes by name in a 470-node copy of a board | find_nodes {exact: true} works, but one call per name (~25 per board) |
find_nodes with names: [...] returning {name: [ids]} |
P3 |
| 277 | Place a new instance at an index | create_instance has no index; a move_nodes followed |
index on create_instance, as on create_nodes |
P3 |
- Fine:
duplicate_nodes {parentId, place: "none"}copied a whole editor screen with its instances;bind.variant+bind.visibleon wrapper frames let a nested icon button switch between normal and pressed from the outer prop; slots took new lucide icons;export_imageat scale 2;lint_designon page + library frames at 0 after the fixes; a wrong source id gave a clear error and the re-runnable script recovered.
#2026-11-29 · Clickable activity and agents pill board (local Paprika, Remote Control)
Task: draw the clickable "Atividade" row (PR #293) and the agents pill that hugs its dots (PR #295) in workspace "App · nova interface (nov/2026)", page "4c · Atividade e pílula", dark and light, with three new library components. Full notes in docs/en-US/design/activity-go/mcp-feedback.md.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 278 | Call get_design_guide like every other tool |
It refuses workspaceId (unknown argument) |
Accept and ignore it | P3 |
| 279 | List the library's components | find_nodes has no component filter; read an export offline |
component: true and instanceOf filters returning componentProps |
P2 |
| 280 | Back up a whole workspace | GET /api/export returned only loaded pages (1,612 of 25,655 nodes) with no sign it was partial; paprika export in the container was needed |
Load every page on export (or ?full=1) and flag partial: true with the missing page ids |
P1 |
| 281 | A dot stack that hugs a variable count of overlapping dots | No negative gap, so invisible spacer rects bound per variant |
Allow a negative gap in row and column layout |
P3 |
| 282 | Pass a component prop to a nested instance | Each instance needed a second update_nodes on the nested copy |
bind a prop to a nested instance prop |
P2 |
| 283 | Override a nested chip colour back to its own default | An override equal to the inner default was dropped, so the outer component's override showed through (bug) | Store an override when it differs from the resolved value, or answer "no change" | P2 |
| 284 | Know whether a lintIgnore name is real |
Any name is accepted without a check | Refuse unknown rule names or list them in the guide | P3 |
| 285 | Know which component part failed contrast | The finding names only the deep copy id | Add the node name and the component part | P3 |
- Fine:
overlapping-boardscaught a 2,048 px board running under its notes card and suggested a free spot;contrastcaught a real 3.62:1 chip in a nested instance.
#2026-11-29 · PAP-A-037 measure with Alt board (cloud draft, local Paprika over Remote Control)
Task: draw the Alt measurement overlay (parent, ancestor, aligned sibling, diagonal, overlap, no Alt) in workspace "App · nova interface (nov/2026)", page "PAP-A-037 · Medir com Alt", dark and light, with docs/en-US/design/draw-measure.mjs. Iterated against a throwaway paprika serve in the cloud, then run once on the local Paprika.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 286 | Draw a mock of canvas chrome (selection ring, hover ring, measure lines) over a mock layout | lint_design (cloud run) flagged every overlay piece as covered-by-overlay and asked to bring the mock card front, which is the opposite of the intent |
A board-level lintIgnore for mock chrome, or skip the rule inside a frame named or tagged as a mock |
P3 |
| 287 | A dashed guide line that paints on WASM·GPU too | A dashed stroke is CSS only (non-solid-stroke-style sends it to the DOM), so the guide was drawn as 3 px segment rects |
Paint dashed and dotted strokes in displayList |
P3 |
| 288 | Find a guide component for a key cap or a value badge | The guide has none; the closest is the nested "Item de menu · atalho" row inside p7d-menu-item, which cannot be instanced alone |
Promote key cap and badge to library components | P3 |
| 289 | Draw in the local Paprika from a cloud session | The built-in browser was not available to the thread, so a Remote Control session had to fetch the branch into a worktree and run the script | Let the cloud reach the local /mcp through the linked device (or ship the board as an importable file) |
P3 |
- Fine:
create_nodeswith absolute children insidelayout: noneframes placed every measure line exactly;render_screenshotmatched the canvas.
#2026-11-30 · Transition screen logos board (cloud draft, local Paprika over Remote Control)
Task: draw the overview → canvas transition screen before and after (brand pattern symbols at most 38 × 38 px, no symbol cut in the middle row) in workspace "App · nova interface (nov/2026)", page "Transição · logos 38 px", dark and light, with docs/en-US/design/draw-transition-logos.mjs.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 290 | Bring the brand pattern (an SVG <pattern> of <use> symbols) onto a board as vectors |
import_svg skips <pattern> (and <symbol>), so the screens went in as PNG image nodes rendered by the component; drawing ~350 symbols by hand as nodes would be slow and heavy |
Expand a <pattern> fill into a clipped group of its tiles on import (with a node budget and a warning), or add a repeat/tile fill to frames |
P3 |
- Fine:
create_nodestookimagenodes with adata:PNGsrcinside an auto-layout card;render_screenshotmatched the canvas.
#2026-11-30 · Grid inspector and handles board (local Paprika over Remote Control)
Task: draw the grid inspector (tracks, linked gaps, child cell) and the canvas tracks and gap handles in workspace "App · nova interface (nov/2026)", page "Grid · inspector e alças", dark and light, with docs/en-US/design/draw-grid.mjs and only library components.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 291 | Line dashed guides up with the cells of a real grid frame | A stroke on the grid frame counts as a border, so the tracks moved 1 px and the guides drawn from the declared values missed them; the stroke had to go | Return the resolved tracks (start and size of each column and row) from get_bounds or a get_grid read for a grid frame |
P2 |
| 292 | Keep the order of instances inside an auto-layout frame | create_instance has no index, so each instance needed a wrapper frame to land in place |
Add index to create_instance, as create_nodes and move_nodes have |
P3 |
| 293 | Hide one part of an instance whose text prop is empty | lint_design still reports empty-text for the hidden part |
Skip hidden parts (and parts of a hidden branch) in empty-text |
P3 |
- Fine: the bento on the board is a real
layout.mode: "grid"frame, andget_boundsmatched the cells the dashed guides were drawn on.
#2026-11-30 · README hero screenshot (local Paprika over Remote Control)
Task: replace the README hero image with the current app, showing the cover of the default workspace "paprika". A fresh container (paprika:local at bbed2ed9, port 4788) got the dark workspace cover frame from "App · nova interface (nov/2026)" through import_document, retitled and renamed in English with update_nodes, then the editor was captured with Playwright.
| # | Needed | What happened | Proposal | Pri. |
|---|---|---|---|---|
| 294 | Fill the default workspace a fresh server creates | import_document always makes a new workspace, so the empty default "paprika" had to be deleted afterwards (two calls, with confirmToken) |
Let import_document take a target id (or replace: true) to load the file into an existing empty workspace |
P3 |
| 295 | Take a clean screenshot of the editor a minute after the last MCP write | The agent's cursor, its "working" badge, the tool label and the yellow frame highlight were still on the canvas after 45 s in a freshly opened tab; only a server restart cleared them | Expire agent presence on the server after a short idle time (and when the MCP session ends), and do not replay old presence to a tab that connects later | P2 |
| 296 | Run a second server next to the user's on another host port | With -p 4788:4777 every request got Host/Origin not allowed, because the check uses the port the server listens on; it took serve --port 4788 |
Name the expected host and port in the 403 body, or accept extra origins through a flag | P3 |
| 297 | Guess argument names from other tools | update_nodes wants {id, props} (not the fields at top level) and render_screenshot wants rootId (not nodeId); both errors said so clearly, which made the fix quick |
Fine as it is; noting it only because the "did you mean" hint saved a round trip | — |
- Fine:
set_workspace_coverwithrootIdgave the overview card the cover frame in one call.