Rally

Enable ad-hoc multi-party coordination

Society · Coordination · bootstrap 0.11.0

Mechanism

Ad-hoc group-formation Protocol. An initiator broadcasts RALLY with group requirements encoded as an AcceptSpec, participant Criteria, `deadline`, `min_participants`, and `max_participants`. Responders submit tentative ENLIST messages. Before `deadline`, the initiator closes ENLIST intake, executes Select over the responders using the participant criteria with `limit = max_participants`, sends MUSTER to those selected, and collects confirmations. Confirmation closes when every selected responder has replied or at `deadline`; only selected responders who confirm by then count toward `min_participants`. Rally then yields one Outcome whose `outcome_id` identifies this Rally run. If fewer than `min_participants` confirmed, `outcome.value` records `{status: dissolved, confirmed_participants}` and no `context_id`. Otherwise the initiator mints a fresh `context_id`; `outcome.value` records `{status: formed, confirmed_participants, context_id}`, and every confirmed participant receives that same `context_id`.

Invariants

Parameters

Preconditions

Postconditions

Failure modes

Where this came from

—

Builds on

Used by

Identity