Skip to content

[Quality]: sweep sibling public default paths after shared behavior changes #487

Closed as not planned

Description

@sumithr

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:

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:

  1. 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.
  2. Compare each entry point's omitted/default call path and explicit-override path.
  3. If the fix changes only one entry point, name any sibling that still binds, copies, or constructs the old default.
  4. Re-run this discovery sweep after a review fix; verifying only the originally named finding is insufficient when the fix changes the shared surface.
  5. Route each concrete stale sibling/default path through the existing risk ledger.
  6. 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

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

  1. added
    ux
    enhancement
    priority: next
    on Jul 4, 2026
  2. sumithr commented on Jul 5, 2026

    @sumithr
    OwnerAuthor

    Backlog refinement note:

    Problem: the review skill missed a sibling-public-entry-point defaulting gap after the fix path updated only validate_all; the default validate_transcript path still used the fixture-only skill surface until the PR review caught it.

    Expected outcome: sumo-qa-reviewing-before-merge should 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:

    • The review guidance explicitly requires sibling public entry point/default-path sweeps when a fix changes shared defaulting or registry behavior.
    • A focused eval or conformance fixture fails when a changed helper is fixed but a sibling public default path remains stale.
    • The fixture proves tests must exercise the default path, not only explicit parameter injection.

    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.

  3. changed the title [-][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[/+] on Jul 13, 2026
  4. added
    priority: later
    and removed
    priority: next
    on Jul 13, 2026
  5. sumithr commented on Sep 29, 2026

    @sumithr
    OwnerAuthor

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-taskenhancementpriority: laterqa-output-qualitytoolingux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions