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
fix: neutral finding wording when flagReportingTags includes reporting tags (#1592)
[._.]/ Adam Eivy6c5982db6fbd
diff --git a/server/lib/editorial/checkRegistry.js b/server/lib/editorial/checkRegistry.jsindex af0d84f15c..204e14b10f 100644--- a/server/lib/editorial/checkRegistry.js+++ b/server/lib/editorial/checkRegistry.js@@ -4917,13 +4917,19 @@ export const EDITORIAL_CHECKS = [const { number, location } = sectionIssue(s);// Emotion-telling dialogue-tag adverbs are flagged regardless of overall// density (one "said angrily" is already a tell); the bulk -ly density is- // gated on rate.+ // gated on rate. When `flagReportingTags` is on, the bucket also includes+ // reporting tags ("said quietly"), so the wording stays neutral rather than+ // claiming every match "names the feeling".if (tagHits.length) {+ const plural = tagHits.length === 1 ? '' : 's';+ const problem = flagReportingTags+ ? `${tagHits.length} adverb-laden dialogue tag${plural} (e.g. "${tagHits[0].anchor}") — a dialogue tag propped up by an adverb usually means the line itself should carry the tone.`+ : `${tagHits.length} emotion-telling dialogue tag${plural} (e.g. "${tagHits[0].anchor}") — a dialogue tag that names the feeling usually means the line itself should carry the tone.`;findings.push({severity: escalateSeverity(ctx.severityDefault, 1),category: 'style',location,- problem: `${tagHits.length} emotion-telling dialogue tag${tagHits.length === 1 ? '' : 's'} (e.g. "${tagHits[0].anchor}") — a dialogue tag that names the feeling usually means the line itself should carry the tone.`,+ problem,suggestion: 'Cut the adverb and let the dialogue + action beat convey the tone ("she said angrily" → "she slammed the cup down. “Fine.”").',anchorQuote: tagHits[0].anchor,issueNumber: number,diff --git a/server/lib/editorial/checkRegistry.test.js b/server/lib/editorial/checkRegistry.test.jsindex 987b2e9965..7d9f639878 100644--- a/server/lib/editorial/checkRegistry.test.js+++ b/server/lib/editorial/checkRegistry.test.js@@ -3995,6 +3995,10 @@ describe('copy-edit prose-tic bundle (#1306)', () => {const tag = findings.find((f) => /dialogue tag/i.test(f.problem));expect(tag).toBeTruthy();expect(tag.anchorQuote.toLowerCase()).toBe('quietly');+ // With reporting tags included the wording must stay neutral — it can not+ // claim a "said quietly" match "names the feeling".+ expect(/emotion-telling/i.test(tag.problem)).toBe(false);+ expect(/adverb-laden/i.test(tag.problem)).toBe(true);});it('prose.passive-voice flags above the rate threshold', () => {