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([issue-1333]): log issue #1333 to changelog

[._.]/ Adam Eivy03abcfe564af
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 616b043b69..3e907b4353 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -46,6 +46,8 @@
- **Unify the three pipeline editorial batch runners onto one shared SSE lifecycle.** The manuscript-completeness, editorial-analysis, and editorial-checks runners each carried a near-identical copy of the in-memory run-tracking machinery (active-run map, late-client terminal-frame replay, cancel, and the fire-and-forget coordinator); they now share a single `createSseRunner` factory, so a future fix to the streaming/replay/cancel behavior applies to all three at once. No user-visible behavior change. (`server/lib/sseUtils.js`, the three `server/services/pipeline/*Runner.js` modules, #1338)
+- **Harden the test-runner database write-guard against less-obvious write forms.** The backstop that stops a misconfigured test run from mutating the real database was anchored on a single leading verb, so data-modifying CTEs (`WITH … DELETE …`), `COPY … FROM` imports, `MERGE`, and a write hidden after a leading read in a multi-statement batch slipped past it. It now matches those verbs anywhere (after stripping comments) while still allowing `COPY … TO` exports and `SELECT … FOR UPDATE` row locks. No store used those forms, so this was latent; the guard is billed as the last line of defense, so it now lives up to it. No user-visible behavior change. (`server/lib/db.js`, #1333)
+
## Fixed
- **The "Claim Issue" scheduled CoS task no longer reports an empty queue when there are claimable issues.** The task's prompt skipped any issue carrying the `plan` label, calling them "tracking/umbrella" issues. But `do-replan --issues` labels *every* migrated backlog item `plan` — atomic bug-fixes included — so that rule discarded the entire actionable backlog and the task always exited with "no eligible issue" even with dozens of ready-to-work issues open. The prompt now treats `plan` as the claimable-queue label (matching the `/do:next --issues` flow) and skips only true epics (an `epic` label or a "(epic)" title, which need per-slice shipping). Non-customized installs auto-upgrade to the corrected prompt on the next schedule load. (`server/services/taskPromptDefaults/`)