Skip to content

bug: Parlor light ships wrong window_hint/ext_pink/accent_pink color (#e24394 vs spec #e2438e)#18

Merged
Antawari merged 1 commit into
mainfrom
catrina/2026-06-13/w1-candyfactory-cosmic-parlor-window-hint-pink
Jun 14, 2026
Merged

bug: Parlor light ships wrong window_hint/ext_pink/accent_pink color (#e24394 vs spec #e2438e)#18
Antawari merged 1 commit into
mainfrom
catrina/2026-06-13/w1-candyfactory-cosmic-parlor-window-hint-pink

Conversation

@Antawari

Copy link
Copy Markdown
Contributor

What

CLAUDE.md §5 documents the Parlor (light) window_hint as deepened pink #e2438e (blue channel byte 0x8e = 0.556863). The shipped RON instead set window_hint, ext_pink, and accent_pink all to blue: 0.580392 (0x94#e24394), and themes/candyfactory-accent-palette-light entry 1 (pink) copied the same wrong value.

0.580392 is byte-identical to the mint/success blue channel (success: / palette green:) — a copy-paste artifact: it deepened pink toward mint's blue instead of the documented pink blue. The focused-window outline on the Parlor theme therefore rendered a different pink than spec.

Falsifiable claim it satisfies

Oracle: python3 -c "print('%02x'%round(0.580392*255))" yields 94, not 8e. Refutable: shipped blue channel != 0.556863.

Before: all four pink sites carried blue: 0.5803920x94#e24394 (REFUTED).
After: all four carry blue: 0.5568630x8e#e2438e (matches spec).

Change

  • themes/candyfactory-parlor-light.ron lines 49 (ext_pink), 60 (accent_pink), 92 (window_hint): blue 0.580392 → 0.556863.
  • themes/candyfactory-accent-palette-light entry 1 (pink): same. Kept in lockstep with the parlor-light window_hint role — the existing accent-palette suite pins entry 1 to that role, so both files must move together.
  • tests/test_theme_rons.sh: new spec-anchored guard test_parlor_pink_matches_claudemd_spec. It extracts the #e2438e hex from CLAUDE.md §5's Parlor (light) window_hint row (the unfoolable oracle), converts its blue byte to the repo's 6-decimal float convention, and asserts all four pink sites carry it and that none collide with the live mint blue channel.

TDD

  • RED: new test failed on 0.580392ext_pink blue 0.580392 != spec pink blue 0.556863 (#e2438e); mint-blue copy-paste artifact?
  • GREEN: passes on 0.556863.
  • Teeth re-proven via the suite's THEME_DIR scratch indirection against buggy copies → FAIL, on the fixed files → PASS.

Full gate (per .github/workflows/checks.yml)

  • shellcheck install.sh tests/*.sh — clean
  • tests/test_accent_palettes.sh — 14/14 (incl. test_light_palette_pink_matches_window_hint, the lockstep guard)
  • tests/test_theme_rons.sh — 14/14 (new test green)
  • tests/test_install.sh — 7/7

No existing test weakened, skipped, or deleted. No exemptions added.

DO NOT MERGE — fleet quality burn; the user gates merge.

🤖 Generated with Claude Code

…438e

The Parlor (light) theme documented its window_hint as "deepened pink
#e2438e" (CLAUDE.md §5), whose blue channel byte is 0x8e = 0.556863.
The shipped RON instead set window_hint, ext_pink, and accent_pink all
to blue: 0.580392 (0x94 = #e24394), and the light accent-palette pink
entry copied the same value.

0.580392 is byte-identical to the mint/success blue channel — a
copy-paste artifact that deepened pink toward mint's blue instead of
the documented pink blue, so the focused-window outline rendered the
wrong pink.

Fix: blue 0.580392 -> 0.556863 on all three parlor-light lines (49,
60, 92) and accent-palette-light entry 1, keeping the two files in
lockstep (the accent suite pins entry 1 to the window_hint role).

Adds a spec-anchored RON guard test that extracts the #e2438e hex from
CLAUDE.md §5, converts its blue byte to the repo's float convention,
and asserts all four pink sites carry it and none collide with the
mint blue channel. Verified RED on the old value, GREEN on the fix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Antawari Antawari changed the title DO-NOT-MERGE · bug: Parlor light ships wrong window_hint/ext_pink/accent_pink color (#e24394 vs spec #e2438e) bug: Parlor light ships wrong window_hint/ext_pink/accent_pink color (#e24394 vs spec #e2438e) Jun 14, 2026
@Antawari Antawari merged commit a625a20 into main Jun 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant