Skip to main content

Module state_acceptance

Module state_acceptance 

Source
Expand description

StateAcceptanceEval: encounter’s AcceptanceEval impl backed by an EncounterArgumentationState’s current β-intensity.

The eval rejects a proposed action iff the responder asserts a credulously-accepted attacker of the proposed argument at the current scene intensity. Otherwise it accepts.

Internal errors (e.g. weighted-bipolar edge limit exceeded) cause the eval to default to accept and append the error to the state’s buffer; consumers call state.drain_errors() to drain.

§Proposer-slot convention

StateAcceptanceEval looks up the proposer’s argument using the binding slot "self". If your catalog uses a different convention (e.g., "speaker" or "initiator"), the eval will silently default to accept for those affordances. This is intentional — affordances without a seeded argument have nothing to adjudicate. Consumers who use a different slot name should seed their affordances with "self" bindings pointing at the proposer, or wrap this eval with a custom version that remaps the slot.

Structs§

StateAcceptanceEval
An [AcceptanceEval<P>] backed by a shared reference to a live EncounterArgumentationState.