Skip to content

Materialization ladder: cost-floor roster consulted only after nature and topology establish unavoidable recurrence - #9791

Merged
gunbai-bot[bot] merged 1 commit into
mainfrom
prereq/mat-cost-floor-order
Aug 31, 2026
Merged

gunbai-bot[bot] merged 1 commit into
mainfrom
prereq/mat-cost-floor-order

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

The materialization decision-order prerequisite between DEMAND-0 (#9790, merged) and DEMAND-1, per the side-chat exact-head ruling ("No separate plan PR is required … This ruling plus the merged DEMAND-0 plan is the approved specification").

Defect (recorded in docs/plans/demand-minimization-design-placement.md): group_verdict consulted cost_floor_exempt immediately after the nature-conflict check, returning green AcceptedBelowCostFloor before demand nature, topology, or the obligation LCA were inspected — so a roster row could green shared-state authored duplication, an unmodeled world read, and a single undeclared pure demand.

Repair (decision-order only; every public vocabulary preserved): the roster check moves out of group_verdict into group_redundant_verdict, after the shared-state (AuthoredDuplication) arm and only on the unavoidable-recurrence branch (non-shared-state LCA: isolation boundary or declared emergence), before discharge_verdict. Nature-conflict precedence, fresh-effect exemption, and world-read staleness handling are unchanged and now precede the roster by construction.

Executed evidence (srv2, fresh clone of a6d6c68d4d + this patch, claim_batch --entry dag/test/claim/materialization_ladder_witness_test.dag --functions <all 32>):

  • Patched tree: all 32 witness cells PASS, including the four new discriminators.
  • RED control (test cells applied to the unpatched fold): cost_floor_row_does_not_excuse_shared_state_duplication, cost_floor_row_does_not_excuse_unmodeled_world_read, cost_floor_row_on_single_pure_demand_is_still_single_recompute all FAIL — each discriminator refuses on the real acceptance path. cost_floor_row_prices_unavoidable_emergent_recurrence passes both sides: it is the preservation control that the roster still prices genuinely unavoidable recurrence (the existing below_cost_floor_duplication_is_typed_acceptance cell, whose LCA is the isolation wf frame, also stays green).

Scope is exactly the two files the ruling names. No DEMAND plan, DESIGN, projection, ledger, or shared-root carrier is touched.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QhdaHkmZPoQoeUWz5V2mzF

…re and topology establish unavoidable recurrence

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QhdaHkmZPoQoeUWz5V2mzF
@gunbai-bot
gunbai-bot Bot merged commit f6fa8ec into main Aug 31, 2026
5 checks passed
@gunbai-bot
gunbai-bot Bot deleted the prereq/mat-cost-floor-order branch August 31, 2026 07:02
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