3.3 KiB
3.3 KiB
HANDOFF — Session State
Branch
main — clean, HEAD d2114c7, 0 warnings. Not pushed.
What's in commit d2114c7 (this session)
- All-five-scenes backgrounds (prior session work, was uncommitted):
Scene.UseDefaultBackground+CustomBackgroundPathonSceneElementsuperclass, LayoutStore persistence (BackgroundPath_{sourceId}/BackgroundUseDefault_{sourceId}in Settings),SceneCatalog.HasBackgroundtrue for all five scenes,EnforceBackgroundPolicyno longer strips non-Live backgrounds, tests updated. - UI polish (this session):
- "Use default background:" label + pill toggle on ONE horizontal line (MainWindow.xaml ~612)
- PillToggle resized 48×24 → 36×18 (thumb 18→12, travel 24→18) to match 11px label (Themes/Controls.xaml)
- New
SubHeaderstyle (11px SemiBold #a0a0b0, indented 4px); "BACKGROUND" → "Background" sub-title; Background section contents indented under it — PROPERTIES stays the only title-styled text
⚠️ Landmines
- User verdict (2026-08-23): "The AI wrote fucked up code after repeatedly and intentionally misunderstanding instructions." This extends the ai.md 2026-08-22 audit flag — trust nothing from those sessions without manual verification. User switched models.
- 1 pre-existing test failure: AudioPipeline gain-math (210/211 pass).
- Real-MainWindow tests MUST set
LayoutPathOverride(see ai.md) — DB pollution wiped real data once.
🔴 Open bug (user-reported, NOT fixed): Background properties show for only Starting and Live
Evidence gathered before stop:
- Properties gate:
SelectedElement.IsBackground(MainWindow.xaml ~608–611) - Seeding is correct:
EnsureDefaultBackground/ seed methods all setType = SourceType.Background - Root cause suspect:
LayoutStore.cs:616loadsIsBackgroundfrom the DB column, not derived fromType. Rows saved beforeb74f15f(which made the Type setter derive IsBackground) carryIsBackground=0and stay false after load → panel hidden in BRB/Chat/Ending. - Likely fix: derive
IsBackground = Type == SourceType.Backgroundon load (or backfill migration). Not attempted.
Next steps
- Fix the load-time IsBackground derivation bug (ONE integration test per Good Dog Rule)
- Visual test on Windows display: pill sizing/alignment, sub-header hierarchy, backgrounds in all five scenes
- Then: thumbnail drag-reorder → real compositor snapshots → transition dropdown UI (per previous plan)
Build
taskkill.exe /F /IM ytLive.exe # if running
"/mnt/c/Program Files/dotnet/dotnet.exe" build "C:\Users\gramp\Documents\Code\projects\ytLive\ytLive.csproj"
"/mnt/c/Program Files/dotnet/dotnet.exe" vstest "C:\Users\gramp\Documents\Code\projects\ytLive\ytLive.Tests\bin\Debug\net8.0-windows10.0.19041.0\ytLive.Tests.dll"
Polar.sh resources
| Resource | ID |
|---|---|
| Org ID | c05fb364-b967-4f6c-adf2-8a144e46d085 |
| Product | d105dfa1-497e-423b-8cd4-e0ee2e3abbc0 |
| Price | 7c1b6f70-cf8c-46df-9bc8-6703f9fa64d0 |
| Benefit | 80f66bc1-d5a3-44a1-b9ea-1709ae508535 |
| Checkout URL | https://buy.polar.sh/polar_cl_ueMy8AyAClO0o0yo19IroZwKTbD587gzUsjEW3bFapw |
| Validate endpoint | POST https://api.polar.sh/v1/customer-portal/license-keys/validate |
| Key prefix | LCYT- |
v1 vision
A streaming tool so intuitive it needs no manual — go live or record in minutes, OBS-free.