feat(linkedin-studio): N9 — randsone-gates (krok/carousel/tittel) + deterministisk fakta-recheck + WebFetch [skip-docs]

C-4/C-9: Step 9 (post-lock) gets a scoped fact-reviewer (F1/F3) + language-reviewer
(L1/L2) pass over the four feed-facing surfaces — delingstekst hook, samle post,
carousel slide text, edition title — plus a title-strength gate, before the hook
conversion binary. Placed at Step 9 (first phase where all four exist; operates on
distribution copy only, never the locked body — body/canonical-title defect = pivot).

C-6: deterministic post-factcheck fact-invariant after Step 5 — any later fold-in
whose diff touches a sentence with numbers, names, or quotes fires a mandatory scoped
fact-reviewer mini-recheck (not a judgment call), closing the pivot-heuristic blind
spot; enforced at the 6.5 + 7 fold-in sites.

C-7: WebFetch added to fact-checker + fact-reviewer (verbatim source text for quote
precision / exact-figure attribution).

TDD RED→GREEN: test-runner Section 16p (8 unconditional greps + non-vacuity
self-test), anti-erosion floor 129 → 137. Suite 146 → 154/0. Domain-general.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014bE7VbkmR3cqHFEeGfzgwb
This commit is contained in:
Kjell Tore Guttormsen 2026-07-24 01:45:45 +02:00
commit 34c6c854c0
5 changed files with 239 additions and 41 deletions

View file

@ -22,7 +22,7 @@ description: |
"number attribution", "headless review", "fact-reviewer".
model: opus
color: gold
tools: ["Read", "WebSearch"]
tools: ["Read", "WebSearch", "WebFetch"]
---
# Fact Reviewer Agent
@ -211,6 +211,12 @@ source's exact wording and attribution and compare verbatim (F2). For figures,
trace to a named source and confirm the source's precision matches the draft's
(F3/F4 — "around a third" does not verify "37 %").
**Fetch the verbatim source, do not grade off a snippet (WebFetch).** F2 (quote
precision) and F3 (number attribution) cannot be settled from a search *snippet*
`WebFetch` the located source and read the original wording/number in context, then
compare verbatim. A quote or figure marked 🟢 must have been checked against the
source's actual text, never a preview line.
### Step 3 — Score on the five dimensions
Score each claim 0100 across the five dimensions. A contradicted claim is 🔴