Skip to content

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

docs: defer nav-route manifest-coverage guard to PLAN.md

[._.]/ Adam Eivy507bb94de1c0
diff --git a/PLAN.md b/PLAN.md
index eaee54167d..3a69062ed2 100644
--- a/PLAN.md
+++ b/PLAN.md
@@ -184,6 +184,7 @@ Surfaced while building the sync-hygiene feature. Consciously scoped out of v1.
- [ ] [llm-playground-preserve-partial-output] **A timed-out / aborted playground run discards everything the model already streamed.** `streamChatCompletion` (`server/services/localLlmPlayground.js`) accumulates `output` locally; on an `AbortError` it throws, the `runLocalLlmTest` catch returns `text: ''`, and `ResultPanel` (`client/src/pages/LocalLlmPlayground.jsx`) shows only the error (the `result.error ? <error> : <pre>{result.text}</pre>` branch hides text whenever error is set). Surface the partial stream: thread the accumulated text out of the throw (or accumulate it in `runLocalLlmTest`'s `onChunk`) and render it alongside the timeout error. Deferred — needs a UI change to show partial-text-plus-error, not just a server tweak. (local-review SS, 2026-05-31).
- [ ] [llm-playground-cancel-in-flight] **No way to cancel an in-flight playground run (up to a 10-minute timeout).** The Run button only locks via `busy`; there's no client `AbortController` / Cancel affordance. Add a Cancel button wired to a client-side `AbortController` passed into `testLocalLlmModel`/`compareLocalLlmModels` (the request options already spread through `apiCore`); aborting the client fetch also closes the server reader early. Deferred as a UX feature, not a bug. (local-review CT, 2026-05-31).
+- [ ] [nav-route-manifest-coverage-guard] **Add a guard asserting every client `<Route path>` has a matching `NAV_COMMANDS` entry.** This PR shipped a page (`/local-llm/playground`) reachable only via in-page links because the route was added to `client/src/App.jsx` without a `server/lib/navManifest.js` entry — the existing fail-fast guard validates entry *shape* but can't catch a *missing* entry for an added route. Add a test (or boot-time check) that parses the `<Route path=…>` list out of `App.jsx` and asserts each non-param, non-redirect route resolves to a `NAV_COMMANDS` path. Must allow an explicit opt-out list for routes intentionally kept out of nav (param/detail sub-routes like `/shell/:sessionId`, `settings` → redirect) to avoid false positives. Deferred from the playground review: cross-cutting and carries real false-positive risk, so it deserves its own change rather than riding along. (local-review encoding, 2026-05-31).
- [ ] [llm-playground-shared-target-key] **The `${backend}\n${modelId}` compare-target key is hand-inlined ~5×.** It appears in `LocalLlmTab.jsx` (compareTargetKeys, toggleCompareTarget, the delete-prune, the checkbox `checked`) and is re-implemented as `targetKey()` in `LocalLlmPlayground.jsx`. Extract a single `localLlmTargetKey({backend, modelId})` helper both files import, so the URL round-trip can't desync on a delimiter change. Deferred only because a new `client/src/lib` module triggers the barrel + README maintenance rule; fold it in next time either file is touched. (local-review SQ, 2026-05-31).
## Deferred