Files
xscapes/internal/scape
donlucasandClaude Fable 5 a38c67c5c4 Lock the sand fade at full, and delete the test that could not fail
'Proceed with your recommendation.' DefaultSandFade = 1.0.

The measured case for full over 0.8 is that every hour converges on the
same contrast, 204, because a black bottom row is black at noon and at
midnight. The flat beach was always a compromise between the two. Full
also matters for where this is going: with the agent rendered inside the
scape, a beach ending in true black merges into the agent's own
background instead of stopping at a seam.

Deleted internal/scape/sandfade_test.go. It asserted a MIRROR of
drawSand's ink rule rather than running drawSand, so when the painted
beach diverged from the palette's nominal sand it kept passing while the
real thing lost contrast -- the precise failure its own comment warned
about, one level up. sand_ink_test.go replaces it end to end: render a
real frame, read back the glyph colour against the background actually
painted, assert every line is readable and that age dims rather than
brightens. Writing it caught my own inverted assumption about tail order
before it caught anything else.

Checked on 256 rather than assumed, since the brief says the cube has
almost no resolution in the darks: the descent quantises monotonically,
every index stays >= 16, and the fade ADDS depth -- with it off, the
bottom half of a tall beach was a single colour repeated eleven times.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PsdMUTHxbXJ8hud6jedByL
2026-09-01 09:28:22 -07:00
..