seal_admit
Claim the right to run an irreversible action exactly once, returning a fence when you may proceed or a sealed certificate if it was already completed, preventing duplicate executions on retry.
Instructions
ADMISSION ONLY — prefer seal_propose when it is available, because this tool requires YOU to hold the provider credential and call the provider yourself. Use it only when your own code owns the effect.
Claim the right to run an irreversible action exactly once. Returns fresh=true with a fence (you won — run the effect, then call seal_commit), or fresh=false with the sealed cert (already done — use that result, do NOT re-run), or fresh=false with no cert (someone else is mid-flight — stand down and retry later; if reason is set, an earlier holder's lease expired with no witness for this action: its outcome is UNKNOWN and it will not be re-run — resolve with seal_settle/a witness, not by retrying admit). Always pass a stable key (e.g. 'order-777') for money-class actions: retrying with the same key but different args is refused as a conflict instead of becoming a second charge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Stable id for this logical action. Strongly recommended. | |
| args | Yes | The effect's arguments. | |
| action | Yes | What kind of effect, e.g. 'charge'. | |
| domain | No | Blast-radius scope, e.g. 'customer:42'. Frozen domains refuse admission. |