feat(sim+engine): lock alteration calibration + fix psychedelic dark grade #8

Merged
benstull merged 1 commits from feature/lock-alteration-calibration into main 2026-06-08 06:20:53 +00:00
Owner

Session 0010. Tunes the alteration look by eye in the simulator and locks the knob→strength calibration, closing the open session-0006 decision.

What changed

  • Dark-grade fix (the key by-eye finding): the sim's dark mood pole rendered a full-frame hue-rotate(-200deg) — rock orange, trees purple: the disorienting look rejected in session 0008, not the peaceful POC dark_frame. Replaced with darken + slight desaturate on the video filter plus a multiply-blended deep-blue wash (#tint, below the SVG HUD so the overlay stays legible). Dark now reads cool/somber with natural greens. Light / Left / Right unchanged and confirmed peaceful (verified via headless-Chrome screenshots across all axes).
  • Calibration LOCKED: with full tilt now tasteful on every axis, DEFAULT_CALIBRATION is pinned to unity gains + linear variant map as a deliberate by-eye choice (not placeholders). Convention: knobs run 0=off..4=max, equal Dark/Light = identity, the 5 notches map 1:1 to the 5 discrete Right bakes. Guarded by test_default_calibration_is_locked.
  • Design §8 updated: marks the calibration-curve and grade-vs-overlay questions resolved and records the dark-grade fix.

Verification

  • pytest -q: 193 passed / 2 skipped (+1 lock test).
  • Sim boots; /api/alteration correct; screenshots confirm the look on every axis.

Spec: docs/superpowers/specs/2026-06-07-reconciled-simulator-alteration-slice-design.md §8.

🤖 Generated with Claude Code

Session 0010. Tunes the alteration look by eye in the simulator and **locks the knob→strength calibration**, closing the open session-0006 decision. ## What changed - **Dark-grade fix (the key by-eye finding):** the sim's dark mood pole rendered a full-frame `hue-rotate(-200deg)` — rock orange, trees purple: the disorienting look rejected in session 0008, not the peaceful POC `dark_frame`. Replaced with darken + slight desaturate on the video filter plus a `multiply`-blended deep-blue wash (`#tint`, below the SVG HUD so the overlay stays legible). Dark now reads cool/somber with natural greens. Light / Left / Right unchanged and confirmed peaceful (verified via headless-Chrome screenshots across all axes). - **Calibration LOCKED:** with full tilt now tasteful on every axis, `DEFAULT_CALIBRATION` is pinned to unity gains + linear variant map as a deliberate by-eye choice (not placeholders). Convention: knobs run 0=off..4=max, equal Dark/Light = identity, the 5 notches map 1:1 to the 5 discrete Right bakes. Guarded by `test_default_calibration_is_locked`. - **Design §8 updated:** marks the calibration-curve and grade-vs-overlay questions resolved and records the dark-grade fix. ## Verification - `pytest -q`: **193 passed / 2 skipped** (+1 lock test). - Sim boots; `/api/alteration` correct; screenshots confirm the look on every axis. Spec: `docs/superpowers/specs/2026-06-07-reconciled-simulator-alteration-slice-design.md` §8. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
benstull added 1 commit 2026-06-08 06:20:40 +00:00
Tuning the look by eye in the simulator (design §8) surfaced that the dark
mood pole rendered a full-frame hue-rotate(-200deg) — rock orange, trees
purple: the disorienting look rejected in session 0008, not the peaceful POC
dark_frame. Replace it with darken + slight desaturate on the video filter
plus a multiply-blended deep-blue wash (#tint, below the SVG HUD so the
overlay stays legible). Dark now reads cool/somber with natural greens, like
the approved POC look; light/left/right unchanged and confirmed peaceful.

With full tilt now tasteful on every axis, LOCK DEFAULT_CALIBRATION to unity
gains + linear variant map as a deliberate by-eye choice (not placeholders),
closing the open session-0006 knob->strength decision: knobs run 0=off..4=max,
equal Dark/Light = identity, the 5 notches map 1:1 to the 5 discrete Right
bakes. Guard the locked constants with test_default_calibration_is_locked.

Resolves design §8 open questions (calibration curve shape; grade-vs-overlay
ordering) and records the dark-grade fix. Full suite 193 passed / 2 skipped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
benstull merged commit 638cf5808f into main 2026-06-08 06:20:53 +00:00
Sign in to join this conversation.