Skip to content

runtime

The signed log, lifecycle rules and the projection for each viewer.

coalitionkit_runtime

Public runtime ports and host API.

SubscriberDropped

Bases: Exception

Reconnect with the last consumed seq.

CoalitionHost

pending_policy_reviews
pending_policy_reviews(viewer: str) -> list[Document]

Owner-only requests for review; held submissions are never delivered.

Like the notification hook, this queue belongs to this host instance. An adapter that needs durable notifications must persist them in its hook. Review does not bypass policy: the person must revise and resubmit.

pin_card
pin_card(
    sender: AuthenticatedSender,
    key: Ed25519PublicKey,
    kid: str,
) -> None

Adapter supplies a card key after verifying its signature, expiry and revocation.

invite
invite(sender: AuthenticatedSender) -> None

Record the organizer's invitation binding a participant to its authenticated card.

open_consents
open_consents(viewer: str) -> list[Document]

Return current pending subjects for this decider, after clock expiry.

state_document
state_document() -> Document

Host-only JSON state; viewer surfaces use view() instead.