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-1595]): log distant-payoff editorial check to changelog

[._.]/ Adam Eivy4b2ae441dcca
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 9196740304..38490b1ea5 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -77,6 +77,8 @@
- **[issue-1592] The adverb check no longer flags invisible reporting dialogue tags like "said quietly" — only emotion-telling ones like "said angrily".** `prose.adverbs` treated *every* adverb on a dialogue tag as a weak attribution, but "said quietly / softly / sharply" is a near-invisible stage direction that tells the reader *how* a line was voiced, while "said angrily / happily / sorrowfully" *names the feeling* the dialogue itself should carry. Lumping them together produced false positives on legitimate reporting adverbs — which trains writers to ignore the check. The check now classifies each tag adverb as **reporting** (a curated manner/volume/pace allow-list) or **emotion-telling** (everything else, so a novel emotion adverb still gets caught) and flags only the emotion-telling bucket by default; the bulk per-1000-word adverb-density signal (the prose-body flagging) is unchanged. A new per-series **"Also flag reporting tags"** toggle restores the old flag-every-tag behavior for anyone who wants the strict pass. (`server/lib/editorial/proseTics.js`, `server/lib/editorial/checkRegistry.js`)
+- **[issue-1595] The setup/payoff check now catches distant payoffs — a thread paid off so many issues after its setup that the reader has likely forgotten the plant.** `chekhov.setups-payoffs` already flagged a setup that never fires and a payoff that arrives with no setup, but it missed a subtler failure: an element that *is* both planted and paid off, only the payoff lands so far from the plant (setup in issue 1, payoff in issue 8) that it reads as unearned anyway. The check now classifies every setup↔payoff thread into one of four classes — **paired** (healthy, never flagged), **false setup** (planted, never fired — cut or pay it off), **orphaned payoff** (fired, never planted — unearned), and **distant payoff** (paid off too late) — and tracks the issue each element is planted in so it can measure the setup→payoff gap across the whole series. A new per-series **Distant-payoff issue gap** threshold (default 4 issues) tunes how far a payoff may stray from its plant before it's flagged, and a distant-payoff finding suggests re-seeding a brief reminder near the payoff rather than cutting it; setting the gap to 0 disables the distant check and keeps the original two-mode behavior. Existing installs auto-upgrade the prompt via a hash-driven migration (customized copies are left intact and warned about). (`server/lib/editorial/checkRegistry.js`, `data.reference/prompts/stages/pipeline-editorial-chekhov.md`, `scripts/migrations/138-editorial-chekhov-setup-payoff-taxonomy.js`)
+
- **[issue-1594] The cast representation check now catches per-character dialogue imbalance, not just one dominant voice.** `cast.representation-balance` already flagged the *top* speaker hogging the page, but a lopsided cast can fail two other ways it never saw: a **major character who appears in the prose yet barely speaks** (a lead reduced to a passenger in their own story) and a **minor character who dominates the conversation** (a walk-on whose page time doesn't match the bible). The check now adds a per-character distribution signal that compares each character's attributed dialogue share against their **stated canon role** — classifying the free-text `role` field into a coarse *major* (protagonist, lead, antagonist, …) / *minor* (background, cameo, walk-on, …) / *unknown* tier, and flagging the silent-major and dominant-minor outliers. It reuses the same dialogue attribution the share signal already runs (no extra pass), gates the silent-major case on the character actually appearing in the prose (a major who never appears is *absent*, a different signal — not "oddly silent"), and stays silent on any character whose role is blank, ambiguous, or contradictory ("minor antagonist") rather than guessing — the same absent-vs-empty discipline the gender inference uses. Two new per-series thresholds tune it: a max dialogue share for a minor character (default 35%) and a min share for a major (default 5%), each independently disable-able. It stays a default-on, deterministic, advisory (low-severity) series signal. (`server/lib/editorial/checkRegistry.js`)
## Series Autopilot