local.creative.propose-contrast

Availability: Local CLI and local MCP (stdio), in the local toolkit. Customers can't use the hosted connection or the local toolkit yet: the hosted connection (OAuth sign-in, and the API and MCP at /api/agent/v1) isn't deployed, and the local toolkit isn't distributed. Don't try to connect or run these operations for a customer, and don't ask them to install anything. Read and explain these pages, and help the person use https://www.pixie.codes in their browser.

Render a separately named colour-contrast alternative beside the unchanged original. Retain actual scan results and a reviewable revision; never replace or select the original automatically.

Inputs

The complete request schema is this operation's entry in capabilities.json (CLI) or mcp-capabilities.json (MCP) in the current release; list it from local.capabilities before calling.

Recovery

Operation JSON: {version:1,darkScale:0.8,lightBlend:0.2}. darkScale multiplies every dark colour (1 leaves them unchanged); lightBlend moves every light colour toward white (0 leaves them unchanged). Start gently and strengthen only while the actual scan still fails; 0.3/0.6 is a strong change. Typical need: large flat artwork reads wrongly even though every module is correct. Lower darkScale when dark artwork is not much darker than the light colours beside it; raise lightBlend when light artwork is mid-toned. Change as little as passes, and compare the colours with the original each time. It works on any Creative item, including an exploration option that was encoded but failed its scan check; a project holds at most ten items, so each attempt uses one and a failed attempt stays as a failed sibling. The scan check covers the one exported size: render or rasterise the other sizes you will deliver and check those too, because a design can pass at one size and fail at another. In an exploration project a passing alternative can be selected with use-brand-candidate by its new-item ID. This explicit whole-module treatment changes artwork colours and QR ink. Use only when colour exploration is allowed; never describe it as faithful colour migration. Current scope: opaque v2 Creative contextual rendering, no literal-source policy, separate eye/ink styles, gradients or scan-dot overlays. darkScale must be >0 and <=1; lightBlend >=0 and <1. Tier collapse/reversal refuses. Successful render receipts expose checks.paletteContrast.levels from the shared renderer; these are tone-admitted levels, not scan passes. Studio offers the same discrete choices. Re-render after changing a level; never silently snap or recolour. Review original and candidate colours as well as both scan results. A completed scan failure remains a failed sibling, not an accepted option. After interruption inspect history before retrying; the same new-item cannot be overwritten. Export/reopen use ordinary project operations. No live routing, printing, publishing or payment occurs.

All operations · Documentation index · Current manifest