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
docs([cover-prose-input-idea-input-in-canonusage-corpus]): remove from PLAN.md and log to changelog
[._.]/ Adam Eivy37d2d94665bd
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 879a498baa..2bd9c8352a 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -4,6 +4,8 @@## Changed+- **[cover-prose-input-idea-input-in-canonusage-corpus] Universe canon cross-reference test suite now pins every stage the per-issue search reads** — a regression that silently drops a stage from the search now fails the test suite immediately.+## Fixed## Removeddiff --git a/PLAN.md b/PLAN.mdindex 9128d3728e..86c794ba6c 100644--- a/PLAN.md+++ b/PLAN.md@@ -12,10 +12,6 @@ _Nothing currently parked — pick the next item from the Backlog._### Code quality / dedup (from `/simplify` passes)-### v2.1.0 pre-release review residue (deferred from main→release multi-agent review, 2026-05-16)--- [ ] [cover-prose-input-idea-input-in-canonusage-corpus] **[LOW][TESTS]** **Cover `prose.input` + `idea.input` in canonUsage corpus aggregation test.** `server/services/canonUsage.js#corpusForIssue` (lines 25–36) aggregates 6 stage fields into the matcher corpus: `prose.output`, `prose.input`, `idea.output`, `idea.input`, `comicScript.output`, `teleplay.output`. Across the new describe block, 4 of those 6 fields are covered: the "aggregates corpus across idea / comicScript / teleplay stages" test seeds 3 (`idea.output`, `comicScript.output`, `teleplay.output`), and `prose.output` is covered by the sort / empty-corpus / bucket-wiring tests in the same block. `prose.input` and `idea.input` aren't pinned by any test. A regression that drops one of those two fields from the corpus list would slip past the suite silently. Extend the existing test or add a sibling test that seeds an issue with a unique character name in each of those two `input` fields. Surfaced by /simplify reuse-agent during `[med-canon-server-services-canonusage-js-zero-test]`; deferred to keep that PR scoped to the sort invariant + heavy-endpoint shape.-### Better-audit residue- [ ] [extract-shared-requiretoolkit-helper] **[LOW][CODE]** Three services now carry an identical private `requireToolkit()` helper that throws `ServerError('AI Toolkit not initialized', { status: 503, code: 'AI_TOOLKIT_NOT_INITIALIZED' })` — `server/services/providers.js`, `server/services/runner.js`, `server/services/promptService.js`. Three module-level `let aiToolkitInstance = null` declarations all receive the same toolkit object from `server/index.js` via per-service `setAIToolkit(toolkit)` setters. Candidate consolidation: extract to `server/lib/aiToolkitState.js` exporting `setAIToolkitInstance(toolkit)` + `requireToolkit()` so all three services import the same module-level state. Includes barrel + README row per `server/lib/` maintenance rule. Deferred from `[extract-requiretoolkit-pattern-to-runner-js]` — three callers crosses the threshold but the 8-line helper × 3 sites is low-maintenance enough that this can wait for a fourth caller or somebody actually wanting to consolidate.