Repository navigation
Description
Audit status
Validated against main and open PR #476 on 2026-07-13. Valid and not duplicated.
PR #476 fixed the concrete validate_transcript defect in commit 7dbd4b6. This issue owns only the review-skill gap.
Current sumo-qa-reviewing-before-merge has a sibling-PR combined-tree rule, but no rule requiring a changed shared default/registry behavior to be checked through sibling public entry points. Its general blast-radius and coverage guidance did not catch that tests passed known_entry_skills explicitly while the omitted-argument path remained stale.
This is distinct from:
- [Quality]: verify fallback postconditions and assertion strength for sharpened contracts #474: fallback final-postcondition closure and weak assertions for sharpened contracts;
- [Quality]: detect resolver over-match and composed-artifact invariant defects during review #456: resolver/matcher negative partitions and composed-artifact invariants;
- [Quality]: review identifier-adjacent counts and generated-artifact relation contracts #420: producer/artifact relation contracts.
Required review behavior
Add a concise public API/default-path consistency probe.
Trigger it when a diff:
- changes a shared default, registry, resolver, sentinel, or capability lookup;
- fixes one public wrapper/entry point by changing how that shared behavior is obtained; or
- changes an optional parameter's omitted-argument semantics.
For a triggered change:
- Identify public functions, methods, CLI/tool handlers, and wrappers that expose the same behavior. Use exports, callers, registrations, and same-abstraction references; do not assume every function in the module is related.
- Compare each entry point's omitted/default call path and explicit-override path.
- If the fix changes only one entry point, name any sibling that still binds, copies, or constructs the old default.
- Re-run this discovery sweep after a review fix; verifying only the originally named finding is insufficient when the fix changes the shared surface.
- Route each concrete stale sibling/default path through the existing risk ledger.
- A test that injects the desired value explicitly does not cover omitted-argument behavior. Default-path coverage must call the API without that override and assert the externally observable result.
No finding is required when every public entry point delegates to one corrected implementation, the changed behavior is intentionally entry-point-specific, or no sibling exposes the same contract. Record the reason rather than inventing a sweep blocker.
Required eval corpus
Add a focused reviewing-before-merge blocker/control corpus.
Blocker: a shared registered surface is adopted by one public validator, while a sibling public validator retains a fixture-only default. New tests pass the registered surface explicitly and never call the sibling with the argument omitted. Expected result: identify the exact stale sibling/default path, mark it UNCOVERED, and require an omitted-argument test.
Control: both public validators delegate to the corrected shared default, with one fresh test per externally distinct default route. Expected result: SAFE-eligible on this axis.
Include a true negative where two same-module functions intentionally have different documented defaults.
Use a pre-change skill fixture as A0 only if an actual run proves the miss. Follow #427 for calibration; otherwise label the corpus a regression guard.
Acceptance criteria
- Review guidance has an explicit trigger for shared-default/registry changes and fixes applied to one public entry point.
- The blocker identifies the stale sibling by symbol and default path, not merely “check callers.”
- Explicit-parameter tests are not credited as coverage for omitted-argument behavior.
- The required test invokes the sibling API with the argument omitted and asserts the changed observable behavior.
- A post-fix review repeats the sibling/default sweep over the resulting change surface.
- Centralized delegation with exercised distinct public routes is SAFE-eligible.
- Intentionally different documented defaults do not over-trigger.
- Findings reuse the existing coverage ledger and verdict taxonomy.
- Existing reviewing-before-merge evals, conformance tests, and token budgets remain green without rubric weakening.
- If [Task]: split reviewing-before-merge into a compact root and lazy modules #451 lands first, detailed guidance and corpus routing live in the appropriate lazy review module.
Boundaries
- Do not modify
conformance.pyor reopen [Task]: Add cross-model conformance checks for QA routing and outputs #214; PR feat(conformance): add cross-model conformance checks for QA routing and outputs (#214) #476 already fixes the product defect. - Do not require tests for every same-module function. Establish a shared contract or data source first.
- Do not treat an explicit override test as proof of default semantics.
- Do not duplicate [Quality]: verify fallback postconditions and assertion strength for sharpened contracts #474's assertion-implication rule; this ticket owns which public/default routes must be exercised.
Evidence
On PR #476, validate_all(..., known_entry_skills=None) was changed to use registered_entry_skills(), while sibling validate_transcript retained a fixture-only default. Tests exercised the new value only through explicit injection. Multiple review rounds returned SAFE; the post-PR GitHub review found the stale default, which was then fixed in 7dbd4b6.
Activity
sumithr commentedon Jul 5, 2026
Backlog refinement note:
Problem: the review skill missed a sibling-public-entry-point defaulting gap after the fix path updated only
validate_all; the defaultvalidate_transcriptpath still used the fixture-only skill surface until the PR review caught it.Expected outcome:
sumo-qa-reviewing-before-mergeshould include an API-surface consistency probe for fixes that change a shared default, resolver, registry, or public helper path. A re-review should check sibling entry points and default call paths, not only the function named in the original finding.Implementation boundaries:
Acceptance criteria:
Test plan: run the focused reviewing-before-merge eval/conformance target and the relevant skill-body guard tests such as
uv run pytest tests/test_skill_conformance.py tests/test_skill_tool_crossref.py tests/test_token_weight_regression.py.[-][Quality]: review gate missed validate_transcript's fixture-only default entry-skill surface (PR #476; caught by codex-connector after PR-open)[/-][+][Quality]: sweep sibling public default paths after shared behavior changes[/+]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
contract-vs-implementation. Recorded on the review-miss ledger: #752 (comment)It is absorbed by the category issue #755, which strengthens the review lens for contract-vs-implementation 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).