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

Merge pull request #410 from atomantic/claim/voice-controlled-stage-advancement-register

[._.]/ Adam Eivy52b1166b6bff
diff --cc PLAN.md
index 63d5f32837,38a6257b27..c25e04833d
--- a/PLAN.md
+++ b/PLAN.md
@@@ -14,9 -14,10 +14,8 @@@ _Nothing currently parked — pick the
### Better-audit residue
-- [ ] [feeds-ssrf-aaaa-record-blindness] **[LOW][SECURITY]** `server/services/feeds.js#isHostSafe` only calls `dns.resolve4`, so a hostname with a public A record + private AAAA record passes the guard but Node's fetch (happy-eyeballs) may prefer the AAAA and reach a private IPv6. Fix: `Promise.all([dns.resolve4, dns.resolve6])`, treat empty-both as fail, require *every* address across both families to pass `isPrivateIP`. Update the test mock to also intercept `resolve6`. Same fix unlocks AAAA-only feeds (currently rejected as "no A records") as a side effect. Skipped from `[feeds-ssrf-ipv6-bracket-hostname-gap]` to keep that PR scoped to the bracket-stripping bug.
-
### Pipeline — deferred
- - [ ] [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.