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([issue-1513]): log idea-stage scope-discipline to changelog
Adam Eivya6d7a7a67ca8
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 37f79d661a..1698711532 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -21,6 +21,7 @@- **A usage-limited provider is no longer benched for up to a day.** When a CLI provider (e.g. Codex) hit its usage limit, PortOS parsed the provider's self-reported reset ("resets in 21h 52m") and benched it for that entire span — sidelining the primary for nearly a day even though usage limits reset on a rolling window (≈5h max) and capacity usually frees much sooner. The usage-limit bench is now a tight retry interval (default 10 minutes), hard-capped at the 5h reset window, and it still respects a genuinely *shorter* stated reset. The provider's stated reset is kept for display. (`server/lib/aiToolkit/providerStatus.js`)- **Autopilot editorial auto-fix now honors the run's chosen provider/model.** The editorial loop passed the run's provider override to the manuscript *review* but not to fix *generation*, so auto-fixes silently ran on the active/default provider (and its runtime fallback) instead of the model selected for the run — which, when the default was rate-limited, degraded fixes onto a weak fallback. Fix generation now threads the same override as the review. (`server/services/pipeline/seriesAutopilot.js`)- **Manuscript editorial review no longer reports a fully-drafted book as "empty."** The completeness pass injected the entire universe canon (characters + places + objects JSON, which for a large universe can be 800K+ chars / 200K+ tokens) as fixed context on every call. On any model whose context window the canon exceeded, the budgeter's usable-input budget collapsed to zero and the manuscript was sliced to an empty string — so the LLM "reviewed" a blank draft and returned a wall of identical "the drafted manuscript is empty" findings that could never be resolved, hard-pausing the autopilot at editorial review. The canon is now hard-capped to a reference-sized budget and window-aware-trimmed so the manuscript always keeps a budget floor (mirroring the editorial *check* runner's #1459 protection): a frontier-window model reviews the whole book in one pass, a smaller window chunks it — but the draft is never starved to empty.+- **[issue-1513] Adjacent issues no longer dramatize the same beat.** When expanding an issue's beat sheet, the model could run past the events the issue's synopsis assigns to it and pull in the *next* issue's climax — so two neighboring issues ended up staging (and climaxing on) the same arc beat. The beat-expansion prompt now treats each neighboring issue's synopsis as a hard scope boundary ("out of scope — stop at this issue's cliffhanger, not the next issue's climax") rather than as material to continue into. It also detects when an issue's synopsis is too thin for a long length profile (e.g. a one-line synopsis on a 44-page finale) — the pressure that makes the beat sheet pad by absorbing adjacent events — and tells the model to stay in scope and land fewer beats rather than overrun. Existing installs auto-upgrade the idea-stage prompt via migration 124 (customized prompts are left untouched).## Added