Skip to content

F8C: Authoritative Settlement and Direct Beneficiary Delivery - #15

Merged
garykocsis merged 2 commits into
mainfrom
feat/f8c-authoritative-settlement-delivery
Sep 8, 2026
Merged

garykocsis merged 2 commits into
mainfrom
feat/f8c-authoritative-settlement-delivery

Conversation

@garykocsis

Copy link
Copy Markdown
Owner

Summary

Completes F8C — Authoritative Settlement / Direct Beneficiary Delivery.

F8C extends the F8B-proven protected execution path with authoritative R4 settlement and delivery while preserving F8D as the sole owner of fulfillment finalization and Remaining Entitlement reduction.

What Changed

  • derives actual input debt from the authoritative PoolManager execution result;
  • enforces the originating exerciser's maxInput against that actual debt;
  • settles exactly the resulting input debt directly from the authenticated exerciser to PoolManager;
  • delivers exactly the protected output quantity directly from PoolManager to the authoritative Beneficiary;
  • explicitly verifies closure of the relevant input and output PoolManager deltas;
  • preserves the Hook causal context at EXECUTED;
  • leaves Original Entitlement, Remaining Entitlement, obligation consequences, and fulfillment state unchanged;
  • keeps the production exercise path fail-closed until F8D performs authoritative finalization and consumes the causal context.

Verification

G8C was independently reviewed against the complete implementation diff and is PASS / CLOSED.

Verification includes unit, integration, fuzz, and periphery coverage for authoritative debt derivation, signed-delta handling, maxInput boundaries, payer attribution, exact settlement, direct Beneficiary delivery, causal-context requirements, failure atomicity, and the F8C production completion barrier.

Full test suite:

  • 502 passed
  • 0 failed
  • 0 skipped
  • CI profile verified at 10,000 fuzz runs

Scope Boundary

F8C does not:

  • reduce Remaining Entitlement;
  • mutate Original Entitlement;
  • release obligation consequences;
  • mark fulfillment or commitment completion;
  • consume the Hook causal context;
  • implement F8D finalization.

The next authorized implementation slice is:

F8D — O2 Causal Finalization / Remaining Entitlement Reduction

@garykocsis
garykocsis merged commit 8938a85 into main Sep 8, 2026
1 check passed
@garykocsis
garykocsis deleted the feat/f8c-authoritative-settlement-delivery branch September 8, 2026 17:34
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.

1 participant