Repository navigation
Description
Audit result
Valid, unique, and still unimplemented.
Current sumo-qa-reviewing-before-merge has a strong documented-inventory drift probe, but no general docs-only procedure that extracts each changed factual claim and verifies it against an authoritative source. The existing skill-reviewing-before-merge-doc-drift.yaml covers only a changed count with stale copies elsewhere.
Boundaries:
- [Quality]: review identifier-adjacent counts and generated-artifact relation contracts #420 owns identifier-adjacent count searches and generated snapshot vs live-producer freshness.
- [Quality]: add a whole-change consistency pass for generated-artifact bundles #380 owns consistency across a changed generated-artifact/documentation bundle.
- This issue owns factual claim extraction and source verification inside a docs review.
Trigger and scope
Run the claim check for a docs-only diff and for documentation files included in a mixed diff.
Inspect:
- every added/changed factual claim;
- unchanged claims that the edited passage now depends on for meaning;
- acceptance-criterion claims made by the documentation change.
Do not audit the entire pre-existing document unless the change republishes/restructures a section in a way that reasserts it.
A factual claim includes:
- command syntax, output, exit status, or side effect;
- install/configuration/file-creation mechanics;
- supported host/platform/version/dependency;
- count, inventory, enum, or “all/each/never/always” quantifier;
- capability, permission, safety, mutability, or confirmation-gate scope;
- precedence/default/fallback behavior;
- freshness, provenance, comparison base, or cache scope;
- path, filename, generated source, or ownership.
Generic positioning, opinion, examples clearly labeled hypothetical, and non-behavioral copy receive N/A (no concrete claim). Hedging such as “can”, “may”, or “typically” does not make a behavioral statement non-factual.
Authoritative-source rules
For each claim, locate the narrowest authoritative source in the supplied repository:
- generated schema/manifest/registry or canonical catalogue for a derived public surface;
- executable implementation plus its contract tests;
- the skill/instruction that directly governs agent behavior;
- configuration/default source;
- a designated canonical specification.
Do not verify one ordinary guide by citing another guide that may share the same error. A documentation file is acceptable only when the repository explicitly designates it as the canonical source for that fact.
Evidence strength:
- For safe deterministic CLI/file behavior, execute the documented path in an isolated temporary target and cite observed output.
- If execution is destructive, requires credentials/network/UI, or is platform-specific, inspect the implementation plus focused tests/fixtures and state that it was statically verified.
- Never run a destructive or externally mutating command solely to verify prose.
- If the source is absent or inaccessible, mark the claim UNVERIFIED rather than inferring it.
Claim ledger
Before the verdict, emit one row per claim:
Doc claim C<n>: <doc file:line> | Claim: <concise exact proposition> | Source: <authoritative file:line / command> | Evidence: <observed output, test/implementation condition, or NONE> | Status: <VERIFIED | CONTRADICTED — SAFE-blocker | UNVERIFIED — SAFE-blocker | N/A (no concrete claim)>
Rules:
- Split compound sentences when their propositions have different sources/statuses.
- Quote exact numbers, qualifiers, and scope words that affect meaning.
- One source can verify multiple claims only when each mapping is explicit.
- A broad “checked against current behavior” statement without rows is insufficient.
- CONTRADICTED names both documented and actual behavior plus the required correction.
- UNVERIFIED names the missing source/evidence; it is not silently rounded up to safe.
For docs-only changes, this claim ledger replaces invented runtime risks but does not replace required touched-files, change-shape, verification, AC, or documented-inventory rows.
Six regression classes from PR #417
The procedure must recognize these reusable classes without hardcoding the old wording:
- File-creation mechanic: a guide says a command emits a file/JSON when it only prints UI fields/instructions.
- Command-output quantifier: “each failure prints Fix” while only results carrying a fix render that line.
- Section/gate count: prose count differs from the enumerated canonical workflow.
- Capability-scope overstatement: “source is read-only” when source annotations are allowed even though behavior may not change.
- Public script/tool count: prose count disagrees with the package manifest/registry.
- Freshness-scope omission: “fresh” omits that comparison is only against recorded commit vs local HEAD.
Use these as examples of mechanics, quantifiers, counts, scope, and provenance. Do not bloat the skill with the full PR history.
Verdict semantics
- Any changed material claim that is CONTRADICTED or UNVERIFIED blocks SAFE.
- A typo/style/link-only change with no concrete claim can remain SAFE-eligible after its relevant formatter/link/build verification.
- An accurate factual claim is VERIFIED only with cited current evidence.
- Do not require source checks for pure positioning copy.
- Do not turn a pre-existing unrelated false claim outside the inspected scope into a blocker; report it separately if discovered.
- When the claim is a changed count/inventory/generated surface, also apply [Quality]: review identifier-adjacent counts and generated-artifact relation contracts #420's freshness checks.
- When several changed artifacts jointly express one claim, also apply [Quality]: add a whole-change consistency pass for generated-artifact bundles #380's whole-bundle consistency pass.
Acceptance criteria
- Docs review extracts all in-scope factual propositions before verdict.
- Every concrete claim gets an anchored ledger row and authoritative source or NONE.
- Compound claims split when statuses/sources differ.
- Ordinary sibling docs are not treated as authority unless explicitly canonical.
- Safe deterministic claims are exercised where practical; unsafe/external actions are not run just for verification.
- CONTRADICTED and material UNVERIFIED claims block SAFE.
- Pure positioning/non-factual copy is an explicit non-blocking N/A.
- The six docs: rework README and demo around outcome-led QA workflows #417 classes are represented compactly in the procedure/examples.
- [Quality]: review identifier-adjacent counts and generated-artifact relation contracts #420 and [Quality]: add a whole-change consistency pass for generated-artifact bundles #380 are invoked at their boundaries without duplicating their detailed probes.
- Existing docs-inventory behavior and trivial non-factual docs path remain correct.
- Output discipline does not expose internal classification names.
Eval design
Add skill-reviewing-before-merge-doc-claim-accuracy.ab.yaml with neutral raw docs diffs and authoritative repo facts.
Positive seeds:
- command/file mechanic: docs claim JSON output; implementation prints only settings fields;
- capability quantifier/scope: docs say “every” or “read-only”; implementation has a conditional/allowed annotation;
- freshness scope: docs say “fresh”; implementation compares only bundle SHA to local HEAD.
For each seed, PASS requires the specific contradiction, both doc/source anchors, a claim-ledger row, and NOT SAFE. “Docs may be inaccurate” fails.
True negatives:
- positioning copy with no concrete behavioral proposition → N/A and SAFE-eligible;
- changed factual claim exactly matching an observed command or authoritative source → VERIFIED and SAFE-eligible.
Candidate-visible context provides the raw diff, source, and fresh verification only. It must not say “contradiction”, name the expected finding, or pre-label the source as authoritative.
Use a real pre-edit skill fixture. Apply #427 calibration: reproduce issue-specific A0 failure and A1 success; if A0 reliably catches a seed already, keep it as regression coverage rather than claiming artificial load-bearing lift. Do not loosen grader conditions.
Verification
- Targeted new A/B config with declared funded provider/repeats.
- Existing
skill-reviewing-before-merge-doc-drift.yaml. - Reviewing-before-merge plain/A-B corpus affected by the skill edit.
- Token-budget, conformance, eval-config, and cross-reference tests.
Source
Gap from #86 / PR #417: the docs review missed six repository-verifiable factual errors that the later adversarial pass found.
Activity
docs: rework README and demo around outcome-led QA workflows (#417)
sumithr commentedon Jun 18, 2026
Backlog refinement (2026-06-18): ready as a docs-change review-quality fix.
Problem: the docs_change branch names accuracy against current behavior, but it did not force extraction and source-checking of each concrete doc claim.
Expected outcome: review output treats command-output claims, file-creation mechanics, counts/inventories, capability-scope claims, and freshness-scope claims as individually verifiable statements.
Scope: strengthen
sumo-qa-reviewing-before-mergedocs_change procedure and add an eval fixture where a docs claim contradicts live code or skill behavior.Acceptance boundary: the fix should make unsupported factual claims UNVERIFIED or NEEDS WORK; it should not require source checks for generic positioning copy that has no concrete behavioral claim.
Test plan: use the six miss classes from PR #417 as examples, add at least one true-negative docs fixture, and run the reviewing-before-merge eval plus token-budget/conformance tests.
[-][Task]: reviewing-before-merge — operationalise the docs_change "accuracy vs current behaviour" rule into per-claim cross-checks[/-][+][Quality]: verify changed documentation claims against authoritative sources[/+]sumithr commentedon Aug 4, 2026
#588 is duplicate evidence for this issue and adds a fresh PR #585 miss-log:
sumo-qa-reviewing-before-mergemissed four factual defects in a docstring-only diff.~/.claude/skills/symlink claims were false for plugin installs, pip+plugin additive installs, Claude/Copilot slash-menu behavior, and Windows copytree fallback behavior.No new owner issue is needed; this issue remains the canonical work item.
sumithr commentedon Sep 29, 2026
Triaged under the review-miss policy (epic #753): this is a pattern miss (a careful reviewer applying the generic lens reaches it), category
doc-or-comment-drift. Recorded on the review-miss ledger: #752 (comment)It is absorbed by the category issue #758, which strengthens the review lens for doc-or-comment-drift as a whole.
Closing as not planned in favour of that record. Reopen if this turns out to be a class gap (sumo-qa steered the run wrong or had no move for the step).