DashboardcliSIXEL measured canvas dimensions

SIXEL measured canvas dimensions

Category: gotcha
Confidence: 0.90
ID: 01a0269b-e279-7eec-8539-fc2a6330eaa9
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 1
Source session: 1Y3CCMeLLwbVclKR7
Created: 2026-08-21 22:40:24
Updated: 2026-08-21 23:15:45

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 1 11h ago

Content

Trap: passing a measured dashboard canvas to the generic image encoder looks sufficient because it accepts maxWidth. Fix: use its explicit preserve-dimensions/allowWide path only after dashboard MAX_CANVAS_PIXELS validation, or return complete ASCII. The normal encoder safety caps must remain for arbitrary attachments, but silently downscaling a valid dashboard width or height breaks its cell-derived grid geometry; Sixel geometry must use actual positive terminal columns, never the ASCII 80-column minimum.

Move to: