Skip to content

ExtractMixin verdicts skip INHERITED_DECLARATION guards - #357

Merged
trissim merged 1 commit into
mainfrom
claude/nra-engine-gaps-0kjz79
Nov 11, 2026
Merged

trissim merged 1 commit into
mainfrom
claude/nra-engine-gaps-0kjz79

Conversation

@trissim

@trissim trissim commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Summary

For ExtractMixin moves, INHERITED_DECLARATION receipts are no longer verdict-level guards. The recipe synthesizer already handles inherited names by filtering them from the block at line 2621-2623 via candidate.inherited_names (reads from overlap.inherited, not receipts). The guard was overly conservative for this move type.

What changed

  • class_overlap.py:834: Skip _inherited_receipts when move is ExtractMixin
  • New test: test_extract_mixin_verdict_not_blocked_by_inherited verifies ExtractMixin verdicts with inherited declarations are permitted

Impact on agent-comms

Unblocks 3 more missing_mixin verdicts that were BLOCKED only by INHERITED_DECLARATION:

  • SelectedExecution / ForegroundOwner
  • FencedOwnerBatch / StoppedOwnerBatch
  • ContributionCoordinates / SegmentManifest

Combined with the previous tolerate_inherited fix at require_owner_candidate, total missing_mixin ops: 5 mixin + 3 newly unblocked = up to 8.

Evidence

5/5 tests green (4 existing + 1 new). The inherited_names property reads from overlap.inherited, completely independent of receipts — removing the receipt loses no information.


Generated by Claude Code

For ExtractMixin moves, inherited declarations don't block the verdict:
the recipe synthesizer already filters inherited names from the block
at line 2621-2623 via candidate.inherited_names (which reads from
overlap.inherited, not from receipts). The receipt was informational,
not a real constraint for mixin extraction.

This unblocks 3 more missing_mixin verdicts on agent-comms:
SelectedExecution/ForegroundOwner, FencedOwnerBatch/StoppedOwnerBatch,
ContributionCoordinates/SegmentManifest.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RnH6dR7JdknxC8XJJtW8Uh
Copilot AI balanced review requested due to automatic review settings November 11, 2026 18:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@trissim
trissim merged commit a3ad46d into main Nov 11, 2026
7 of 10 checks passed
trissim pushed a commit that referenced this pull request Nov 11, 2026
Positional construction is handled at the owner level as a keywording
prerequisite (keyword_cure). It should not block the verdict itself for
ExtractMixin moves. The owner candidate's _field_order_receipts produces
the POSITIONAL_CONSTRUCTION guard with keyword cure; the recipe synthesizer
checks owner.keyword_cure before the pick match.

Unblocks 5 more missing_mixin verdicts on agent-comms:
SessionFacts/ImportBuffer, BusRouteCounts/BusRouteKeys,
RouteUnread/CursorRow, FailedTurnEvidence/GoalDerivedContact,
HostMemoryHigh/HostResources (last also has DECLARATION_DIFFERS).

Combined with PRs #357 and #358: 5 + 3 + 3 + 5 = up to 16 mixin ops.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RnH6dR7JdknxC8XJJtW8Uh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants