Skip to content

Advisories 5.2: delete unused EnforcementMode::Advisory - #13015

Merged
gunbai-bot[bot] merged 4 commits into
mainfrom
adv5-enforcement-mode-advisory
Oct 3, 2026
Merged

gunbai-bot[bot] merged 4 commits into
mainfrom
adv5-enforcement-mode-advisory

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Step 5, item 2 of the advisory program (node adhoc-e84e492c-5ef).

Dead by consumer search at origin/main: no lens contract or standing intent constructs Advisory as an EnforcementMode (git grep -nw Advisory over dag/ and src/v2/; the only hits outside prose were the references removed here). The only places it ever appeared were its own declaration, the match arms that consume it, and two test conjuncts.

Consumers removed (§3c):

  • v2.lens.enforcement.vocab: the variant itself and its mode_rank arm.
  • v2.lens.enforcement.gate: scope_leg Advisory => LegHolds and contract_internally_consistent Advisory => true. Both behaved the same as the AuditOnly arm next to them. The mode_rank ordering below AuditOnly was the only difference, and nothing produced the value, so that ordering could never be reached.
  • The import lists in gate and v2.lens.enforcement.contract.
  • v2.test.lens_enforcement.gate_test enforcement_mode_order_discriminates: the two conjuncts about Advisory's place in the ordering.

Evidence kept (§4b(4)): enforcement_mode_order_discriminates still has its red and its positive control on the real distinction: AuditOnly does not satisfy Blocking, and Blocking satisfies AuditOnly.

This PR does not touch 00_compile.dag or 04_infer.dag. No gunbc binary is available in this session, so the CI floor is the executing check.

🤖 Generated with Claude Code

Brian Searls and others added 2 commits October 2, 2026 21:19
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ate names

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Brian Searls and others added 2 commits October 2, 2026 22:23
…ixed

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@gunbai-bot
gunbai-bot Bot added this pull request to the merge queue Oct 2, 2026
Merged via the queue into main with commit 4548de4 Oct 3, 2026
4 checks passed
@gunbai-bot
gunbai-bot Bot deleted the adv5-enforcement-mode-advisory branch October 3, 2026 01:00
gunbai-bot Bot pushed a commit that referenced this pull request Oct 3, 2026
…to integration: the branch's ImportsFixed debt rows kept; rung-drop docs regenerated next

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

0 participants