MainViewModel is now a partial class — scaffold for the per-area split (Commit 0)

Zero behavior change: \`public class\` -> \`public partial class\`. Each functional area
(Scenes, Background, Webcam, Audio, Trax, Socials, Streaming, Chat, Overlays,
Account, License) will move to its own file next, one commit per partial — each
a roll-back point. Docs updated in the same commit: ViewModels/index.md (split
map), ai.md (architecture table), HANDOFF.md (state). verify.sh: build 0 warnings,
only the 2 known pre-existing test failures.
This commit is contained in:
2026-08-30 07:07:35 -07:00
parent b85092b85b
commit abc78cd071
4 changed files with 24 additions and 5 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
No feature branches pre-1.0: all work lands on `main` per work unit.
**Latest commit:** `6826786` — docs: add Distribution.md (IP protection plan with Polar.sh backbone).
**Latest commit:** `6031a56` — gear cleanup + Default Location for Recordings + single Start + socials hover glow.
## What's In Flight
@@ -35,7 +35,7 @@ Nothing — clean tree, ready for next task.
- TASK 22 (Audio sync offset): not started — required for v1.
- TASK 30: gear cleanup + record location + single Start + preview layout restructure — shipped across commits `6031a56` + `61b850f` + `455a409`.
- Monetization: deferred (creator rethinking price/subscription model).
- **File refactor (next):** MainViewModel.cs (3,900 lines) will be split into functional partials (Scenes, Background, Webcam, Audio, Trax, Socials, Streaming, Chat, Overlays, Account, License). MainWindow.xaml (1,681 lines) will be split into UserControls. Zero behavior change, tests stay green. Decided this session.
- **File refactor (in progress — Commit 0 done):** MainViewModel.cs (3,900 lines) will be split into functional partials (Scenes, Background, Webcam, Audio, Trax, Socials, Streaming, Chat, Overlays, Account, License). `MainViewModel` is now `public partial class` (scaffold commit). Remaining: one commit per partial, each a roll-back point, `verify.sh` + `scope-check.sh` before each, docs in the same commit. MainWindow.xaml (1,681 lines) will be split into UserControls after Phase 1. Zero behavior change, tests stay green.
## Session summary (2026-08-29)