Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
[issue-880] PLAN: mark React 19 done, defer react-router HIGH advisory bump
Adam Eivy9ff041366cc9
diff --git a/PLAN.md b/PLAN.mdindex ea1e132787..f7adc2a0f9 100644--- a/PLAN.md+++ b/PLAN.md@@ -23,7 +23,8 @@ the tracker until one is promoted to a real, claimable issue.- **AI-assisted panel/scene prompt generation** — reserve `pipeline-comic-panel-image-prompt.md` and `pipeline-storyboard-image-prompt.md` for a future "turn script fragment into N image-gen prompts" button.- **Local LLM stream backpressure** — `POST /api/local-llm/test/stream` (`server/routes/localLlm.js`) ignores `res.write()`'s return value, so it never awaits `drain`. Fine under single-user/local trust + modest local-LLM token rates, but a fast model + slow client buffers NDJSON unbounded. Mirror `ask.js`'s drain-await if ever hardened. (Deferred from PR #872 review — NIT.)- **Reasoning-only models stream in one chunk** — in `server/services/localLlmPlayground.js`, reasoning deltas aren't forwarded to `onChunk` during the stream (only content is), so a reasoning-only model's playground panel shows "Waiting for the first token…" the whole run, then the full text lands at once via the terminal result frame. To stream live, forward `delta.reasoning` during the loop AND drop the end-of-stream `onChunk(resolved)` re-emit so it doesn't double — but that touches the shared non-streaming TTFT-timing contract, so it was left as-is. (Deferred from PR #872 review — NIT.)-- **Major Dependency Upgrades** — React 19, Zod 4, PM2 6, Vite 8.+- **Major Dependency Upgrades** — Zod 4, PM2 6, Vite 8. (React 19 + react-three fiber 9 / drei 10 shipped in issue-880.)+- **Bump `react-router-dom` for the pre-existing HIGH advisory** — `client/package.json` pins `[email protected]`; `npm audit` flags react-router 7.0.0–7.14.2 (HIGH: CSRF/XSS/open-redirect/turbo-stream RCE, GHSA-h5cw-625j-3rxh et al.). Fix is an in-major bump to `7.16.0+`. Left out of issue-880 (scoped to the react-three/React-19 coupling) to keep that PR focused; not introduced by it. Bump and re-run the full client suite (router is app-wide).- **Workflow tab Phase 2** — drag-and-drop ordering of stages, custom user-defined stages, per-app workflow overrides.- **Inspiration & Mood Board Canvas** — dedicated mood-board surface for collecting visual + textual references that feed into Universe Builder, Writers Room, and Creative Director (distinct from raw Media History). Items can be pinned from any media surface; canvas surfaces ref images when starting a new universe / scene / treatment. Documented as a Secondary Goal in GOALS.md but had no tracking.- **Generative regen path for SynthID defeat (image cleaner) — research/backlog, hardware-gated.** Current `cleanImageBuffer` (`server/lib/imageClean.js`) only strips the C2PA `caBX` chunk + runs `median(3).sharpen()` — SynthID survives by design. The only honest defeat path is to round-trip pixels through a generative model: short-step img2img (low step count + low–moderate denoise, ~0.35–0.5) on a local FLUX runner so composition holds but the per-pixel watermark signal is overwritten by fresh sampling. **Scope narrowed (2026-05-20):** post-hoc, history-only — a second button next to "Clean (aggressive)" on the image-settings/lightbox modal; never auto-applied, never wired into the active gen flow. Each run is ~5–15s on local mflux and GPU/unified-memory heavy; wants its own queue lane. Sidecar records `regenerated: true, regenSteps: N, regenStrength: 0.4, regenModelId: 'flux-v1'` so lineage stays honest. **Hardware-gated** — the 128GB unified-memory machine is now online, so this can be pulled in when the user wants to play with it. UX caveat: this is the only honest watermark-defeat path; the existing C2PA-strip-and-denoise will always be a no-op against SynthID.