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
Merge remote-tracking branch 'origin/main' into claim/issue-1596
[._.]/ Adam Eivy17967a031e13
diff --cc .changelog/NEXT.mdindex 0d6d93cc51,a9cefad53f..7ff0522640--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@@ -57,8 -57,8 +57,10 @@@## Editorial checks+- **[issue-1596] Override any editorial check's severity to match a series' house style — without touching code.** Every check ships a fixed default severity (e.g. `prose.adverb-density` defaults to `low`), but a literary-fiction series may want adverb density flagged `high` while an action series wants it `low`. Each check in the catalog now has a **Severity** selector: leave it on **Default** to use the registry value, or pin it to `high` / `medium` / `low`. A pin is **authoritative** — every finding that check raises is stamped with the chosen level, consistently across deterministic *and* LLM checks (a pin overrides both a check's escalation-from-default and an LLM's own per-finding severity, so "pin this check to low" actually means low everywhere). On the next run the pin also re-grades the check's *existing* open findings — even ones a sampled LLM pass doesn't re-surface — so the editorial-health score and any severity-based autopilot gating reflect the pinned level immediately rather than lagging on stale severities. Leaving a check on **Default** preserves its native per-finding nuance untouched. The override is backward-compatible and additive (absent → the check's `severityDefault`), and the catalog badge shows the effective level with a `*` marker when it's been overridden. (`server/lib/editorial/checkRegistry.js`, `server/routes/pipeline/editorial.js`, `server/services/pipeline/editorial/checkRunner.js`, `server/lib/validation.js`, `client/src/components/pipeline/editorial/EditorialCheckCard.jsx`, `client/src/pages/PipelineEditorialChecks.jsx`)++ - **[issue-1604] The findings triage now shows each check's kind and documented purpose, so you can tell a hard rule from an LLM judgement while triaging.** A finding listed its check's label and problem text but never the check's documented description — and custom checks were especially opaque, since you had to recall your own prompt to know what the check even looks for. Each check group header now carries a **rule / LLM** kind badge (the same badge the catalog card uses, now a shared `CheckKindBadge` component) plus an **info toggle** that expands the check's registry description inline — pulled from the catalog manifest the page already fetched, so it works even when the check is disabled. The toggle is only offered when the check actually ships a description; the kind badge always shows. Knowing whether a finding came from a deterministic heuristic or a model judgement makes false-positive triage faster. (`client/src/components/pipeline/editorial/EditorialFindingsTriage.jsx`, `client/src/components/pipeline/editorial/CheckKindBadge.jsx`, `client/src/components/pipeline/editorial/EditorialCheckCard.jsx`, `client/src/lib/editorialChecks.js`)+- **[issue-1602] You can now mute a noisy check straight from the findings triage — no round-trip to the catalog.** When a check is generating false-positive spam, silencing it used to mean leaving the triage view, scrolling the catalog to find the check, toggling it off, and coming back. Each finding group now carries a **Disable** action: one click turns the check off (so it's skipped on future runs) and immediately hides its findings group, with an **undo** toast if you change your mind. It's only offered for currently-enabled checks (an already-disabled check has nothing to mute), and disabling never deletes existing findings — it's a sync-safe enabled-flag flip, so re-enabling (via undo, or from the catalog) brings the group back. A hidden group's findings also drop out of the bulk-action selection so nothing gets accepted/dismissed unseen, and the count line + empty-state copy reflect the muted groups. (`client/src/components/pipeline/editorial/EditorialFindingsTriage.jsx`, `client/src/pages/PipelineEditorialChecks.jsx`)- **[issue-1601] Opening an editorial finding now scrolls the manuscript to the flagged passage and flashes it, instead of leaving you to hunt for the text.** A finding anchors to manuscript text by a verbatim quote, but opening it (from the findings triage deep-link, the sidebar index, a pin chip, or stepping prev/next through a triage pass) only ever scrolled the note *card* into view — the offending words themselves weren't called out, so on a long scene you still re-read paragraphs to find what the note was about. The editor now scrolls the anchored text to center and plays a brief tint **flash** over the exact words on open and on every prev/next step, in both view modes: **Review** mode reveals + flashes the highlighted span, and **Live** mode reveals + flashes the underlined text (and keeps it tinted while its card stays open). When the anchor quote isn't found verbatim in the current draft (the section was edited since the review), it falls back gracefully to the previous behavior of scrolling the note card into view — no jump, no flash. The scroll-and-flash is a small reusable hook (`useAnchorReveal`) and honors `prefers-reduced-motion`. (`client/src/hooks/useAnchorReveal.js`, `client/src/components/pipeline/manuscript/ManuscriptHighlightedProse.jsx`, `client/src/components/pipeline/manuscript/ManuscriptLiveSection.jsx`, `client/src/components/pipeline/manuscript/AnnotatedManuscriptSection.jsx`, `client/src/index.css`)diff --cc client/src/components/pipeline/editorial/EditorialCheckCard.jsxindex adebda51e6,f1ff5989b1..3020827367--- a/client/src/components/pipeline/editorial/EditorialCheckCard.jsx+++ b/client/src/components/pipeline/editorial/EditorialCheckCard.jsx@@@ -117,14 -104,9 +114,12 @@@ function EditorialCheckCard(<div className="min-w-0 space-y-1"><div className="flex flex-wrap items-center gap-1.5"><span className="text-sm font-medium text-gray-100">{check.label}</span>- <span className={`text-[10px] uppercase tracking-wide px-1.5 py-0.5 rounded border ${KIND_BADGE[check.kind] || KIND_BADGE.deterministic}`}>- {check.kind === 'llm' ? 'LLM' : 'rule'}- </span>+ <CheckKindBadge kind={check.kind} />- <span className={`text-[10px] px-1.5 py-0.5 rounded ${SEVERITY_BADGE[check.severityDefault] || SEVERITY_BADGE.low}`}>- {check.severityDefault}+ <span+ className={`text-[10px] px-1.5 py-0.5 rounded ${SEVERITY_BADGE[effectiveSeverity] || SEVERITY_BADGE.low}`}+ title={check.severityOverride ? `Overridden — default is ${check.severityDefault}` : 'Default severity'}+ >+ {effectiveSeverity}{check.severityOverride ? '*' : ''}</span>{isCustom ? (<span className="text-[10px] uppercase tracking-wide px-1.5 py-0.5 rounded border border-emerald-500/30 bg-emerald-500/15 text-emerald-300">