feat: reconciled simulator-first alteration slice (sessions 0007+0008) #7
Reference in New Issue
Block a user
Delete Branch "feature/reconciled-simulator-alteration-slice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Reconciles the two unmerged session-0007/0008 design threads and ships the first simulator-runnable alteration slice.
Design decision (operator-approved, session 0009): the Left analytical HUD is a runtime overlay (authored annotation track + per-language string tables, text shaped live — browser in the sim, Pango/HarfBuzz on the Pi), not baked pixels. Consequently the pre-baked variant set is 1-D over Right strength, not session-0007's 2-D 5x5 Left x Right grid; 0007's baked-HUD position is superseded. The merged slice-1 engine already kept a runtime
AnalyticalOverlay, so the engine change is surgical.Engine (
player/):Restyle.blend(continuous) ->Restyle.variant(discrete pre-baked Right strength; 0 = raw).AnalyticalOverlaygainslevel(Left knob) driving annotation selection.Calibration(+DEFAULT_CALIBRATION, behavior-preserving) parameterizes the grade/overlay/variant curves, tuned by eye in the sim.render_plan_to_dictfor the API.Simulator (
simulator/):/api/select,/api/catalog/meta, X-ray,fixtures.py).clips.pymanifest model;POST /api/alteration+GET /api/clips.right_flow.mp4), placeholder intermediate strengths; media gitignored, populated viasetup_sample_media.py.Docs: parent design §4.3/§10 pointer to the reconciliation; ROADMAP slice 2 marked done + deferred slices; USER_GUIDE simulator section rewritten.
Spec:
docs/superpowers/specs/2026-06-07-reconciled-simulator-alteration-slice-design.mdPlan:
docs/superpowers/plans/2026-06-07-reconciled-simulator-alteration-slice.mdTest Plan
pytest -q— 192 passed, 2 skipped/api/clips+/api/alterationreturn correct plans; realright4.mp4+ base served as video/mp4; index servedCo-authored with Claude Opus 4.8 (1M context). Session 0009.