Repository navigation
Description
These are the non-blocking gaps the review of PR #6906 (#5572) found. All of them fail closed: none makes a card newly delegatable. Goal hurt: trustworthy verdicts and refusals that explain why. Owner: the Python gap-reason producer lane (#5491 / #5488).
-
The surfaced-alignment override drops the earlier reason. When selection moves,
alignment_reasonis replaced withno_family_relevant_assertionorother_behavior_assertion_passed_over, even when the strength-only pick carried something more specific, such asstrong_oracle_observes_different_sink.- Repro: a return-value change whose test has a strong
pytest.raises(match=...)plus a smokeassert total(..).- Base reports
orthogonalwithstrong_oracle_observes_different_sink. - Head reports
other_behavior_assertion_passed_overwith oracle_alignmentunknown.
- Base reports
- Option: keep the earlier reason in a secondary field.
- Repro: a return-value change whose test has a strong
-
The corpus inventory test in
output/gap_decision_ledger.rsdoes not countother_behavior_assertion_passed_over. The corpus has none today, so it is pinned only implicitly. Add a corpus case and count it. -
The human full row line still reads "uses unknown unknown oracle" for a no-family-relevant row. The renderer and miss assignment belong with evidence(python): assign truthful typed miss reasons to related tests #5491.
-
excinfo.valueis not recognised as an error observer. For a changed raise, this misses one value observation. It currently fails closed. -
Same-family sink ranking covers fields only.
-
A bare
except:is classifiedPredicate, notErrorPath.is_error_handler_line'sexcept:arm is dead code as a result. CodeRabbit flagged this on feat(python): select the family-relevant assertion for each related test (#5572) #6906.- Moving it to
ErrorPathenables the error-path oracle gate. A bare-handler change that isexposedtoday through a strong value assertion can then become aweakly_exposedcard withdirectalignment, which is agent-packet eligible. - Before changing the family, decide whether handler-line ErrorPath cards may be delegated. The same question applies to typed
except E:lines today.
- Moving it to
-
Pre-existing, outside feat(python): select the family-relevant assertion for each related test (#5572) #6906: a
printchange is markedexposedthroughassert result == 3, because acapsysoutput assertion is not recognised as the output family. -
Handler-line changes never earn
exposed.error_path_oracle_okrequires an exception oracle for every ErrorPath finding, including a changedexceptclause whose handler result a strong value or status-code assertion observes.- Repro: change
except ValueError:toexcept (ValueError, TypeError):, with a test assertingto_int(None) == 0. The finding staysweakly_exposed. Devin flagged this on feat(python): select the family-relevant assertion for each related test (#5572) #6906. - Same behaviour as base. Fix the gate together with item 6, and test both class and stage.
- Repro: change
-
Review-bot follow-ups from feat(python): select the family-relevant assertion for each related test (#5572) #6906 (124c2f1):
- Add a selection control for an
except* E:handler line. - Consider extracting the per-family shape preference into one table.
- The
#[cfg(test)]static_limit_for_changewrapper drops the old line. Remove it, or migrate its test callers tostatic_limit_for_focused_change. - Repo-mode behavior items have no old line, so dict-key localization is unavailable there.
- Add a selection control for an
Generated by Claude Code
Activity
revert(python): keep bare except: on its base probe family
feat(python): select the family-relevant assertion for each related t…
EffortlessSteven commentedon Nov 2, 2026
Claiming #6910 follow-ups (Cursor cloud agent): preserve strength-only
alignment_reasoninsuperseded_alignment_reasonwhen family selection overrides; pinother_behavior_assertion_passed_overin the gap-ledger repair-card corpus inventory; recognizeexcinfo.valueassertions as error-path observers. Branch incoming:cursor/python-6910-followups-99fa.fix(python): family selection follow-ups for #6910
fix(python): address PR #12539 review threads for #6910
fix(python): family selection follow-ups for #6910
fix(python): address PR #12539 review threads for #6910
fix(schema): admit superseded_alignment_reason on check findings (#6910)
fix(python): family selection follow-ups for #6910
fix(python): address PR #12539 review threads for #6910
fix(schema): admit superseded_alignment_reason on check findings (#6910)
docs(output): document superseded_alignment_reason (#6910)
fix(perl): initialize superseded_alignment_reason in v2 projection fi…
fix(output): initialize superseded_alignment_reason in related_test_m…