audit-verbatim-anchor — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited audit-verbatim-anchor (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A static check that walks every JSON fixture under packages/evals/corpora/translation/ and confirms each ambiguous span's quoted text equals the substring transcript[start_char:end_char]. This is the schema invariant ADR 0005 calls "anti-hallucination armour" for meeting briefs; if a fixture drifts, the server's runtime VERBATIM_ANCHOR_FAILED check will reject it, but evals will fail opaquely. Catch it before it ships.
Authoritative references:
docs/decisions/0005-translation-tool-design.md (see"Verbatim quoting for clinical safety" and the VERBATIM_ANCHOR_FAILED rule).
packages/mcp-translation/schemas/brief_meeting.schema.json(AmbiguousItem.verbatim const true, quoted_span required).
translate_incoming.ambiguity.spans andcheck_tone.flagged_phrases.
packages/mcp-translation/ source,schemas, or prompts.
packages/evals/corpora/translation/.
neurodock-mcp-translation orneurodock-evals.
For every JSON / JSONL fixture under packages/evals/corpora/translation/:
transcript (or text) field that is the verbatimsource.
quoted_span object — typicallyambiguous_items[], ambiguity.spans[], flagged_phrases[].
fixture.transcript[span.start_char : span.end_char] == span.textactual span.text.
There is no scripted runner yet. Reference implementation in Python:
import json, pathlib, sys
failures = []
for path in pathlib.Path("packages/evals/corpora/translation").rglob("*.jsonl"):
for lineno, line in enumerate(path.read_text(encoding="utf-8").splitlines(), 1):
if not line.strip(): continue
f = json.loads(line)
transcript = f.get("transcript") or f.get("text") or ""
for item in (f.get("ambiguous_items") or []):
span = item.get("quoted_span") or {}
expected = transcript[span.get("start_char", 0):span.get("end_char", 0)]
if expected != span.get("text", ""):
failures.append((path, lineno, span, expected, span.get("text", "")))
for p, n, s, e, a in failures:
print(f"{p}:{n}: span {s['start_char']}..{s['end_char']}\n expected: {e!r}\n actual: {a!r}")
sys.exit(1 if failures else 0)The check belongs at scripts/audit-verbatim-anchor.py once written.
Clean run:
packages/evals/corpora/translation/incoming/v0.1.0/general.jsonl: 84 spans checked, all anchoredDrift:
packages/evals/corpora/translation/brief/v0.1.0/director.jsonl:12: span 142..168
expected: 'can we revisit the rollout'
actual: 'can we revisit the timeline'Exit non-zero on any drift.
The server enforces this at runtime:
if transcript[span.start_char:span.end_char] != span.text:
raise VerbatimAnchorFailed(...)This skill is the offline equivalent: confirm fixtures pass the same check before they reach the evals.
above handles ambiguous_items and the top-level ambiguity.spans case; extend it for check_tone.flagged_phrases when those fixtures land.
(emoji, accented letters) are valid; the offsets are character offsets, not byte offsets — Python slicing respects that, so the check works.
quoted_span (e.g. a negativefixture for VERBATIM_ANCHOR_FAILED), the walker skips it. Mark intentional negatives clearly in the fixture comment.
When a span fails, show the expected and actual substrings on adjacent lines so the human reviewer can spot the drift in one glance. Do not explain why verbatim anchoring matters every time the script runs — link to ADR 0005 once and move on.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.