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([versioning-diff-view-per-stage-persist-last-n]): remove from PLAN.md, log to changelog, capture list-payload follow-up
[._.]/ Adam Eivy12cd47bc2855
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex ed07de7a31..93343b3f1e 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -2,6 +2,8 @@## Added+- **[versioning-diff-view-per-stage-persist-last-n] Pipeline text stages now keep a version history.** Each regenerate snapshots the prior draft (up to five back) and a new "History" button on the Idea / Prose / Comic Script / Teleplay editors opens a side-by-side word diff against the current version with one-click restore.+## 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.diff --git a/PLAN.md b/PLAN.mdindex 2e6bb8753e..73254e2e34 100644--- a/PLAN.md+++ b/PLAN.md@@ -18,8 +18,8 @@ _Nothing currently parked — pick the next item from the Backlog._### Pipeline — deferred-- [ ] [versioning-diff-view-per-stage-persist-last-n] **Versioning / diff view per stage.** Persist last N `lastRunId` snapshots; offer a diff modal.- [ ] [voice-controlled-stage-advancement-register] **Voice-controlled stage advancement.** Register pipeline stage navigation actions in `voice/tools.js`.+- [ ] [strip-stage-runhistory-from-list-payloads] **[LOW][PERF]** Strip `stages.*.runHistory` from list-shaped pipeline payloads. `sanitizeIssue` now returns the full per-stage history (up to 5 × ~600KB per text stage ≈ 12MB per maxed-out issue) on every read, including the sidebar (`listRecentIssues`) and per-series list (`listIssues`). Those views never render history, so the payload + sanitize cost is pure waste. Fix: add a `withHistory: false` flag (or a parallel `sanitizeIssueSummary`) that nulls out `runHistory` for list endpoints; detail reads (`GET /api/pipeline/issues/:id`) stay on the full sanitizer. Surfaced 2026-05-20 by /simplify during the runHistory diff-modal PR; deferred because the cap-at-5 keeps memory bounded for single-user and no list view paginates that many issues today.- [ ] [backport-pre-023-migrations-to-_lib] **Back-port pre-023 prompt-replace migrations onto `scripts/migrations/_lib.js`.** 003 / 004 / 005 / 006 / 010 / 013 / 019 all clone the inline `applyMigration` + per-file scan + customized-skip warning pattern that `_lib.js` now centralizes. Wrap any `OLD_SHIPPED_MD5: string` entries (003 / 004 / 006) into single-element arrays to match the `accepted[filename]: string[]` shape. Drop ~70 LOC per migration; nothing changes behaviorally so the only risk is mis-typed hashes — review each diff alongside a re-run of its test against the `_testHelpers.js` `runPromptMigrationTests`. Settled-history migrations have a higher rewrite-bar than active code, so a separate PR with focused review is appropriate. Surfaced by /simplify during `[pipeline-idea-stage-character-detail-plumbing]`.- [ ] [per-panel-scene-image-progress-in-the-pipeline-ui] **Per-panel/scene image progress in the Pipeline UI.** ComicPages and Storyboards record `jobId` but don't subscribe to the media-job SSE for live preview.