Compare commits

...
Author SHA1 Message Date
poli0981andClaude Opus 5.5 0e0b429f6b docs: record spike #6, LibVLCSharp in WPF
In a Mica FluentWindow, LibVLCSharp's VideoView plays with D3D11VA
hardware decoding (1080p30 and 2160p60, no lost frames, under 1% CPU).
WPF overlay controls and Unicode subtitles draw above the video, and
fullscreen works by resizing the shell window over the monitor.
FlyleafLib is not needed.

Moving a playing player to another window needs a video-output restart
plus a seek; without the seek the picture stays corrupted until the
next keyframe. The pop-out's overlay was clipped once, so pop-out
waits for a P2 fix. The SPEC plugin set adds 86 MB raw, about 39 MB
compressed, to the installer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:16:39 +07:00
poli0981 e04c0778f5 Merge pull request #16 from poli0981/docs/spike-04-cdp-console
docs: record spike #4, CDP console capture
2026-10-30 14:05:28 +07:00
poli0981andClaude Opus 5.5 52f151d476 docs: add signed-in Gmail to spike #3
The Gmail ladder that the session loss had blocked was measured after
the sign-in re-test. It follows the same pattern: hiding frees 15% of
committed memory, and suspend + Low frees 8% more of it but trims 67%
of the private working set. Gmail stayed signed in across hibernate
and reopen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:00:30 +07:00
poli0981andClaude Opus 5.5 af0a3d30da docs: record spike #4, CDP console capture
Runtime.enable + Log.enable capture works with the DevTools UI
disabled. The common page-side check did not detect it, its memory and
CPU cost was too small to measure, and signed-in Discord and Gmail kept
working through a reload with capture on. Log.enable alone misses
console.* calls.

Capture stays on for every web app, with a 200-entry ring plus a small
errors-only ring so Discord's chatter cannot evict what a bug report
needs. Console lines carry personal data, so they go through the
scrubber.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:00:30 +07:00
poli0981 ade25e5ba4 Merge pull request #15 from poli0981/docs/spike-02-sign-in
docs: record spike #2, Google sign-in and SSO
2026-10-30 13:59:50 +07:00
poli0981andClaude Opus 5.5 68afcb0b97 docs: record spike #2, Google sign-in and SSO
Google, Spotify, Discord and Facebook sign-ins all complete inside
WebView2 with the default user agent, and one Google sign-in covers
the shared google profile. In a controlled re-test all five sign-ins
survived a restart, and Gmail kept working after a reload with CDP
capture on.

Conditions for P2: Google's cookie hop to its country-code domains
(accounts.google.com.vn here) is outside navAllow and loops, so the
proposal is a navAllowSets field for Google's account domains. One
earlier session lost every cookie it had set, for reasons still
unknown, so P2 checks sign-in health after restarts. Spotify's
third-party sign-in buttons remain untested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:55:22 +07:00
poli0981 0621f261a1 Merge pull request #14 from poli0981/docs/spike-03-memory
docs: record spike #3, memory and the governor metric
2026-10-30 13:40:19 +07:00
5 changed files with 233 additions and 7 deletions

No files matched your search

+67
View File
@@ -0,0 +1,67 @@
# Spike 02 — Google sign-in and SSO popups
**Question:** can users sign in to Google inside WebView2 with the default user agent, and do the SSO flows the catalog relies on work?
**Decision:** GO with conditions. Google, Spotify, Discord and Facebook sign-ins all completed inside WebView2 with the default user agent, one Google sign-in covered every app on the shared `google` profile, and in a controlled re-test all five sign-ins survived a restart. Two conditions remain for P2:
- Google's sign-in hops through country-code Google domains, and today's `navAllow` blocks that hop.
- One session lost every cookie it had set, and the cause is still unknown.
**Measured:** 2026-10-30. Two sessions where the maintainer signed in by hand, in WebLab on `spike/p0`: the first at `0fe4b12`, the re-test at `3eae21e` with Chromium logging on. Between them, the `--measure` run (`ec79454`) and the cookie probes (`6c60b86`). Issue [#3](https://github.com/poli0981/OmniDeck/issues/3).
## Environment
- **User agent:** WebView2 Runtime 156.0.4314.50 with its default user agent, `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36 Edg/156.0.0.0`. The string is identical to Edge's, but `navigator.userAgentData.brands` also lists **Microsoft Edge WebView2 156**, so sites can see the embedding through client hints.
- **Policy:** the catalog's `navAllow` / `popupAllow` were enforced. A navigation outside them was cancelled and logged; the product would hand it to the default browser.
- **Profiles:** one environment, one profile per catalog `profile` group.
- **Location:** Vietnam.
## Results
### Sign-in flows (main frame)
| App (profile) | Flow | Result |
|---|---|---|
| YouTube (`google`) | `youtube.com` → `accounts.google.com` sign-in → passkey-enrollment prompt → `CheckCookie` → Google's prompts (a home-address prompt the first time, identity verification by selfie on the re-test) → `accounts.youtube.com/accounts/SetSID` → **`accounts.google.com.vn/accounts/SetSID`** | The credentials were accepted. The main-frame hop to `google.com.vn` falls outside `navAllow` and was cancelled. Google retried it 15 times in about 40 s the first time and 6 times on the re-test, a loop the user can only leave by navigating away. The `.google.com.vn` sign-in cookies were set anyway, through subresource requests. |
| Gmail, Drive, Calendar, Maps (`google`) | `mail.google.com` → `accounts.google.com/ServiceLogin` → `<service>/accounts/SetOSID` → app | Signed in with no prompt. One sign-in covers the group. |
| Spotify (`spotify`) | `open.spotify.com` → `accounts.spotify.com/login` → back | Signed in with Spotify credentials; playback works (spike #1) |
| Discord (`discord`) | inside `discord.com/app` | Signed in |
| Facebook (`meta`) | `facebook.com` → `/checkpoint/…` → `/auth_platform/afad/` → home | Facebook's new-device checkpoint, completed in the app, both times |
Other observations:
- Google offered passkey enrollment. It was skipped, so WebAuthn was not exercised.
- YouTube and Facebook asked for the Notifications permission. P2 bridges these requests through `PermissionRequested`.
### Sessions across restarts
- **First session (12:35–13:01, 11 windows, about 25 minutes):**
- At the next start, Google, Spotify and Facebook were signed out. Not a single cookie set during that session was left in any of the four profiles: neither the auth cookies nor tracking cookies such as `datr`, `sp_t` and `__dcfduid`.
- Cookies set by an earlier scripted run in the same `google` profile were still there.
- Discord stayed signed in, because its token lives in localStorage, which survived.
- **Cookie probes:** a one-year cookie set from a lab page survived a clean exit, a window close, a host kill, and a hard kill of the whole WebView2 tree 55 s after it was set. How the host shut down does not explain the loss.
- **Controlled re-test** (Chromium logging on: sign in, wait, close with the window's X): the auth cookies were on disk right after closing: Google `SID`/`SAPISID`/`__Secure-*PSID`, Spotify `sp_dc`/`sp_key`, Facebook `c_user`/`xs`. On restart, `--check-signed-in` found **Gmail, YouTube, Spotify, Facebook and Discord all signed in**. Gmail was still signed in after a reload with CDP capture on (spike #4). The Chromium log shows no cookie-store or decryption errors.
- **One clue:** in the first session the `google` profile wrote nothing to its preferences diagnostics. The other profiles logged every 10 s. Not enough to name a cause.
### Not tested
Spotify's "Continue with Google / Facebook / Apple" buttons were not tried; the maintainer used Spotify credentials. `spotify`'s `navAllow` lists only Spotify's domains, so if those buttons move the main frame to `accounts.google.com`, `facebook.com` or `appleid.apple.com`, the product would hand them to the default browser and sign-in would fail. They must be tested in P2 before the entry's lists are final ([WEBAPP-CATALOG](../WEBAPP-CATALOG.md#2-review-rules-for-new-entries-pr-checklist) §2).
## Consequences
- **Google's account domains on every country-code TLD.** Google lists them at `https://www.google.com/supported_domains`. Enumerating about 190 domains in each `google` entry would be unreadable. The proposal is a catalog schema v2 field, `navAllowSets: ["google-account-domains"]`, which the app resolves from a list it bundles. A narrower rule in code would only allow `accounts.google.<ccTLD>/accounts/SetSID`. Either way this changes the catalog or its schema, so it is decided in P2 with the maintainer's approval.
- **Sessions must be checked, not assumed.** The P2 exit criterion "stays signed in across hibernation" makes the unexplained loss a real risk:
- P2 dogfoods with Chromium logging available;
- the web runner records whether each app comes back signed in after a restart. The `--check-signed-in` probes become a debug-only health check;
- the bug report includes per-profile cookie-store counts, never cookie values.
- If the loss comes back, it gets investigated before 0.2.0.
- **Default user agent only:** this works today, and there is no spoofing. Because client hints name WebView2, Google could block it later. The roadmap's mitigation still applies: document it as an upstream limitation.
- **New-device flows** (Facebook's checkpoint, Google's prompts including the selfie check) need full in-app navigation within the entry's domains, which works.
## Reproduce
On `spike/p0`:
```powershell
dotnet run --project spikes/WebLab -- "--wv2-args=--enable-logging --v=0" # sign in by hand, then close
dotnet run --project spikes/WebLab -- --check-signed-in # SIGNED-IN lines in weblab\*.log
dotnet run --project spikes/WebLab -- --cookie-set=probe1 # then --cookie-check
```
+15 -4
View File
@@ -2,7 +2,7 @@
**Question:** what do web apps really cost in each governor state, and which memory metric do the caps use?
**Decision:** GO. The governor measures **private commit** (`Process.PrivateMemorySize64`), summed over the shell and every WebView2 process. Suspension mostly trims the working set rather than freeing memory, so a working-set metric would reward exactly that trimming. The ladder's real memory saving comes from hibernation.
**Measured:** 2026-10-30 on `spike/p0` at `ec79454`: the `WebLab --measure` run (60 s phases, a sample every 2 s) plus the maintainer's own interactive session. Issue [#4](https://github.com/poli0981/OmniDeck/issues/4).
**Measured:** 2026-10-30 on `spike/p0`: the `WebLab --measure` run at `ec79454` (60 s phases, a sample every 2 s), the signed-in Gmail ladder at `3eae21e`, and the maintainer's own interactive session. Issue [#4](https://github.com/poli0981/OmniDeck/issues/4).
## Environment
@@ -51,9 +51,20 @@
| Disposed | 0 | 0 | 0 | 0 | 0 |
| Reopened | 180 | 164 | 263 | 123 | 3.1 |
**Gmail, signed in** (measured after the sign-in re-test in spike #2; still signed in after the reopen)
| State | App commit | App private WS | Shared commit | Shared private WS | CPU (ms/s) |
|---|---|---|---|---|---|
| Active | 253 | 234 | 269 | 130 | 19.4 |
| Hidden | 214 | 198 | 248 | 119 | 1.3 |
| Suspended + Low | 196 | 65 | 248 | 58 | 0.3 |
| Resumed | 221 | 148 | 261 | 39 | 17.6 |
| Disposed | 0 | 0 | 0 | 0 | 0 |
| Reopened | 255 | 236 | 254 | 122 | 25.7 |
- **Shell:** the WPF window itself used 93–130 MB of private commit throughout.
- **Suspend and resume:** `TrySuspendAsync` returned `true` in 0–4 ms, and resuming took 1–5 ms.
- **Reopen after dispose:** 155–165 ms until the controller was ready, and 590–900 ms until the first `NavigationCompleted`.
- **Reopen after dispose:** 155–176 ms until the controller was ready, and 590–900 ms until the first `NavigationCompleted` (2.5 s for signed-in Gmail).
- **One stall:** creating a controller while the previous browser process was still shutting down took 5.2 s once.
### Everything at once (MB)
@@ -73,7 +84,7 @@ In the maintainer's session:
## Analysis
- **Hiding** a web app already releases 18–31 % of its committed memory, because Chromium drops caches for hidden pages.
- **Hiding** a web app already releases 15–31 % of its committed memory, because Chromium drops caches for hidden pages.
- **Suspend + Low** cuts the private working set by 65–70 % but committed memory by only 5–15 %. The pages move to the standby list or the page file; they are not released. After resume the working set stays low until those pages are touched again.
A working-set metric would therefore read low exactly when nothing has been freed. That is the page shuffling [RAM-GOVERNOR](../RAM-GOVERNOR.md#4-cap-enforcement) §4 rejects.
@@ -91,7 +102,7 @@ In the maintainer's session:
## Open items
- **Gmail:** Gmail signed in was not measured, because the profile had lost its session (spike #2). It will be measured after the persistence check. This does not affect the metric decision.
- ~~**Gmail:** Gmail signed in was not measured, because the profile had lost its session (spike #2).~~ Done after the sign-in re-test; see the Gmail table above. The same pattern holds: hiding −15 % commit, suspend + Low −8 % more commit but −67 % private working set.
- **8 GB machines:** every number here comes from a 32 GB machine. Re-measure on a GA build of Windows 11 with 8 GB of RAM during P2 dogfooding.
## Reproduce
+58
View File
@@ -0,0 +1,58 @@
# Spike 04 — CDP console capture
**Question:** can the web runner keep a per-app console ring buffer through the DevTools Protocol, safely and cheaply?
**Decision:** GO. Capture through `Runtime.enable` + `Log.enable` works with the DevTools UI disabled. The widely used page-side check did not detect it, its cost was too small to measure, and signed-in apps kept working with it on. Capture stays on for every web app.
**Measured:** 2026-10-30 on `spike/p0`: the `WebLab --auto` run (`0fe4b12`), the `--measure` run (`ec79454`) and the `--check-signed-in` run (`3eae21e`). Issue [#5](https://github.com/poli0981/OmniDeck/issues/5).
## Environment
- WebView2 Runtime 156.0.4314.50, with `AreDevToolsEnabled = false` (the release setting) on every view.
- The capture subscribes to `Runtime.consoleAPICalled`, `Runtime.exceptionThrown` and `Log.entryAdded` through `GetDevToolsProtocolEventReceiver`, after `CallDevToolsProtocolMethodAsync("Runtime.enable" / "Log.enable")`.
- It feeds a 200-entry ring buffer per app.
## Method
- **Detection page** (`LabPages/cdp-detect.html`): logs an `Error` whose `stack` getter has a side effect. Only a DevTools client that serializes console arguments would read it. The page then emits `console.log`, `console.warn`, an uncaught exception and a failing fetch. It is checked with capture off, with Runtime + Log, and with Log only.
- **Signed-in apps:**
- Discord, Gmail and Spotify run with capture off for 60 s, on for 60 s, then reload with capture on;
- separately, signed-in Gmail reloads with capture on.
## Results
| Mode | Detected by the page? | Captured |
|---|---|---|
| off | no | nothing |
| Runtime + Log | **no** | `console.debug/log/warn/error`, uncaught exceptions (`Runtime.exceptionThrown`), network errors such as a 404 (`Log.entryAdded`) |
| Log only | no | network and browser messages only; **not** `console.*` calls |
- **DevTools UI:** capture works with it disabled. Turning capture on took 4–24 ms per app (230 ms once, on Spotify).
- **Signed-in apps:**
- Discord, signed in, reloaded fine with capture on;
- Gmail, signed in, reloaded with capture on and stayed signed in, with 12 entries captured;
- no captcha or sign-out appeared.
- **Cost:**
- Across the three apps, committed memory was 1,057 MB with capture off, 1,041 MB with it on, and 988 MB after the reloads. The difference is within noise.
- CPU was dominated by the apps themselves.
- The buffer itself is at most 200 short strings per app.
- **Volume:**
- Discord logged 86 entries in about 2 minutes, mostly debug lines styled with `%c` CSS arguments. A 200-entry ring holds about 4–5 minutes of Discord.
- Gmail and Spotify were far quieter: interventions, and Tracking Prevention warnings on Spotify's login page.
- **Personal data:** console lines carry it. Discord logs the user's numeric ID, for example.
- **Not the alternative:** Chromium's own `--enable-logging` also records console messages, but in one global file shared by every app, including personal data. It is a diagnostic switch, not the capture mechanism.
## Consequences
- **Always on:** the web runner enables `Runtime` + `Log` for each web app when its view is created, and keeps the DevTools UI disabled. Capture stops with the view when it is disposed.
- **Two buffers per app:** a 200-entry ring for everything, and a 50-entry ring for errors and uncaught exceptions only, so debug chatter cannot evict the lines a bug report needs.
- **Formatting:** apply `%c` / `%s` format arguments when rendering, and drop the CSS.
- **Privacy:** console lines go through the bug-report scrubber (SPEC §6) like the logs do. Nothing is captured to disk until the user starts a report.
- **Watch:** this held on runtime 156. If a provider starts flagging `Runtime.enable` (captchas, sign-outs), the fallback is to enable capture only while a bug report is being recorded.
## Reproduce
On `spike/p0`:
```powershell
dotnet run --project spikes/WebLab -- --auto # detection and capture modes
dotnet run --project spikes/WebLab -- --check-signed-in # signed-in Gmail reload with capture on
```
+90
View File
@@ -0,0 +1,90 @@
# Spike 06 — LibVLCSharp in WPF (airspace, fullscreen)
**Question:** does LibVLCSharp's `VideoView` work inside a WPF-UI `FluentWindow` with overlay controls and a fullscreen toggle?
**Decision:** GO with conditions. Inside a Mica `FluentWindow`, `VideoView` plays with hardware decoding, and WPF overlay controls and subtitles draw correctly above the video. Fullscreen works by resizing the shell window over the monitor. FlyleafLib is not needed. Three conditions:
- moving a playing player to another window (pop-out) needs a video-output restart plus a seek;
- the pop-out's overlay was clipped once;
- with the SPEC plugin set, libVLC adds about 39 MB compressed to the installer.
**Measured:** 2026-10-30 on `spike/p0` at `2a87046` (`spikes/MediaLab`): the `--auto` and `--auto-move` runs on the trimmed plugin build, with every screen capture checked by eye. Issue [#7](https://github.com/poli0981/OmniDeck/issues/7).
## Environment
- LibVLCSharp.WPF 3.10.2 and VideoLAN.LibVLC.Windows 3.0.24 (libVLC 3.0.24 "Vetinari"); WPF-UI 4.3.0; .NET 10.0.14.
- One 2560×1440 monitor at 100 % scale; RTX 5080 (D3D11VA); Windows Insider build 29648.
- Test media, generated locally with ffmpeg so nothing was downloaded:
- H.264/AAC 1080p30, 60 s;
- H.264/AAC 2160p60, 20 s;
- an external `.srt` with Vietnamese and Japanese text.
## Method
MediaLab is a `FluentWindow` (Mica, `ui:TitleBar`) holding a `VideoView`. The view's WPF content is a badge in the top-right corner and a control bar (`ui:Button`, `Slider`, time).
The `--auto` run:
1. plays the 1080p clip and adds the `.srt`;
2. toggles fullscreen in place;
3. opens a fullscreen window and a pop-out, each with and without restarting the video output;
4. hides and shows the main window;
5. plays the 2160p60 clip.
At every step it captures the screen as DWM composited it, because the video and the overlay are separate windows and only the screen shows how they combine. It also logs libVLC warnings, frame statistics, CPU and private commit. `--auto-move` repeats the hand-over to another window with a seek, capturing at 0.5 s and 2 s.
## Results
| Check | Result |
|---|---|
| WPF overlay above the video (airspace) | OK. LibVLCSharp's overlay window draws the WPF controls above the video, translucent backgrounds included |
| External subtitles (`.srt`, UTF-8, Vietnamese and Japanese) | OK |
| Fullscreen in place: shell window resized to the monitor, chrome hidden, corners square | OK, playback never interrupted |
| Hand-over to another window, as is | **No.** The video keeps drawing into the original window, and the new window stays black |
| … after re-selecting the video track | The new window shows video, corrupted until the next keyframe (several seconds) |
| … after re-selecting the track and seeking to the current time | **OK.** A clean picture within 0.5 s, in both directions |
| Pop-out into a second `FluentWindow` | Video OK. The overlay button was clipped on its right side once |
| Hide and show (tray) | Overlay and playback come back |
| Hardware decoding (D3D11VA) | 1080p30 and 2160p60 with 0 lost frames, at under 1 % CPU (of 28 logical cores) |
**Memory** (private commit; libVLC runs inside the shell process):
| Moment | Private commit |
|---|---|
| before libVLC loads | 45 MB |
| libVLC loaded | 116 MB |
| playing 1080p30 | 284 MB |
| playing 2160p60 | 522 MB |
| after `Stop` | 324 MB |
**Size**, x64 only. The package also copies its x86 and ARM64 builds unless `VlcWindowsX86Enabled` and `VlcWindowsArm64Enabled` are set to `false`.
| Plugin set | Raw | Zip (deflate, level 9) |
|---|---|---|
| Full (321 plugins) | 106 MB | 48 MB |
| SPEC set (267 plugins) | 86 MB | 39 MB |
The SPEC set keeps the plugin folders access, audio filter, audio mixer, audio output, codec, demux, packetizer, stream filter, text renderer, spu, video chroma, video filter, video output and misc. The largest files are `libavcodec` (18 MB), `access/srt` (4 MB; network streaming only, removable for local files), `libass` (3.4 MB) and `freetype` (3 MB).
## Consequences
- **Engine:** LibVLCSharp with libVLC 3.0.x, as [SPEC](../SPEC.md#36-media-player) §3.6 says. FlyleafLib stays unused.
- **Fullscreen:** the module's own window (main or pop-out) covers the monitor; the player never moves to a separate fullscreen window. This passes the fullscreen part of [WPFUI-CONVENTIONS](../WPFUI-CONVENTIONS.md#8-hard-rules) §8.
- **Pop-out:** move the player to the new `VideoView`, re-select the video track, and seek to the current time. Pop-out ships only after P2 fixes the overlay's sizing in a newly created window and re-tests it, as §8 requires.
- **Build:**
- set `VlcWindowsX86Enabled` and `VlcWindowsArm64Enabled` to `false` and use the SPEC include list;
- consider dropping the network access plugins (srt and others), since playback is local-file only;
- libVLC is the largest single component in the installer, at about 39 MB compressed. THIRD-PARTY-NOTICES gets its entry in P2, with approval.
- **Governor:** playback holds 280–520 MB committed in the shell process, and `Stop` alone kept 324 MB. `SuspendAsync` therefore stops and disposes the `MediaPlayer`, and `HibernateAsync` disposes the `LibVLC` instance as well.
- **Not tested:** a second monitor and per-monitor DPI changes, because only one monitor was available. Check them in P2 once the media module exists.
- **Log noise:** filter these harmless libVLC messages out of the app log:
- `option quiet does not exist`;
- `SetThumbNailClip failed` (a fullscreen window without a taskbar button);
- `not enough decoding slices`.
## Reproduce
On `spike/p0`, with the test clips from `spikes/README.md`:
```powershell
dotnet build spikes/MediaLab -c Release -p:TrimVlc=true
spikes\MediaLab\bin\Release\net10.0-windows\win-x64\MediaLab.exe --auto
spikes\MediaLab\bin\Release\net10.0-windows\win-x64\MediaLab.exe --auto-move --seek-on-move
```
+3 -3
View File
@@ -16,11 +16,11 @@ P0 runs from 2 to 15 November 2026 ([ROADMAP](../ROADMAP.md#1-phases)). Its job
| # | Spike | Blocks | Decision | Note |
|---|---|---|---|---|
| 1 | DRM / Widevine in WebView2 | P2: Spotify catalog entry | **GO:** the runtime ships Widevine and Spotify plays, with no flags | [01-drm-widevine.md](01-drm-widevine.md) |
| 2 | Google sign-in and SSO popups | P2: `google` profile group, Spotify sign-in | Pending ([#3](https://github.com/poli0981/OmniDeck/issues/3)) | `02-google-sign-in.md` |
| 2 | Google sign-in and SSO popups | P2: `google` profile group, Spotify sign-in | **GO with conditions:** sign-ins work and persist; Google's ccTLD hop needs `navAllow` support; one unexplained session loss is watched in P2 | [02-google-sign-in.md](02-google-sign-in.md) |
| 3 | Memory reality check and governor metric | **P1**: RAM governor ([§4](../RAM-GOVERNOR.md#4-cap-enforcement)) | **GO:** the metric is private commit; suspend trims, only hibernate frees memory | [03-memory.md](03-memory.md) |
| 4 | CDP console capture | P2: bug-report flow | Pending ([#5](https://github.com/poli0981/OmniDeck/issues/5)) | `04-cdp-console.md` |
| 4 | CDP console capture | P2: bug-report flow | **GO:** always on, works with the DevTools UI disabled, not detected, no measurable cost | [04-cdp-console.md](04-cdp-console.md) |
| 5 | Runtime preset swap | **P1**: theme engine | **GO with conditions:** `Od` styles for WPF-UI's static keys, motion driven from code, text size from the registry | [05-theme-swap.md](05-theme-swap.md) |
| 6 | LibVLCSharp in WPF (airspace, fullscreen) | P2: media player | Pending ([#7](https://github.com/poli0981/OmniDeck/issues/7)) | `06-libvlcsharp.md` |
| 6 | LibVLCSharp in WPF (airspace, fullscreen) | P2: media player | **GO with conditions:** overlay and fullscreen in place work; pop-out needs a vout restart + seek; about 39 MB compressed | [06-libvlcsharp.md](06-libvlcsharp.md) |
| 7 | Stock data providers | P3: stocks | **GO with conditions:** Twelve Data with the user's key is the only provider; Stooq NO-GO | [07-providers.md](07-providers.md) |
The two spikes that block P1 (#3 and #5) go first. A spike that only blocks P2 or P3 may run on into the first weeks of P1, but its note still has to land before the phase it blocks starts.