Back to Codexbar

Codex single-quota status badge proof

docs/screenshots/codex-single-quota-status-badge-proof.md

0.56.31.5 KB
Original Source

Codex single-quota status badge proof

These screenshots use a fixed synthetic input: one full quota, no secondary quota or credits, and a minor provider-status indicator. They contain only pixels from IconRenderer plus the generic labels shown in the cards. No live provider, account, Keychain, desktop, username, email, or filesystem data is read or displayed.

BeforeAfter

The before image was regenerated with the main renderer at c3a25fd85ff0; the after image uses this fix integrated with the same base. Both images are byte-identical to the contributor's original proof. The images are attached to PR #3354.

The harness also writes a 120-case pixel matrix covering ten quota layouts, six status indicators, and the provider-specific and combined icon styles. Exactly twelve single-quota minor/maintenance cases change; all 108 other renders remain byte-identical, including reserved lanes and severe-status glyphs.

Generate the after proof with:

sh
CODEXBAR_STATUS_ICON_PROOF_DIR=/tmp/codexbar-status-proof \
  swift test --filter IconRendererScreenshotRenderTests.test_renderSyntheticSingleQuotaStatusBadge

The opt-in screenshot test is skipped during normal test runs.