Society · Coordination

Rally

Enable ad-hoc multi-party coordination

Definition

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`.

Preconditions

  1. Broadcast channel available
  2. Initiator can mint and communicate a shared group context identifier

Postconditions

  1. A formed or dissolved Outcome is yielded

Invariants

  1. `2 <= min_participants <= max_participants <= 10000`.
  2. Exactly one Outcome is yielded per Rally run, and its `outcome_id` identifies that run.
  3. `outcome.value.confirmed_participants` contains exactly the responders selected under Criteria who confirmed before MUSTER confirmation closed.
  4. `outcome.value.status` is `formed` if and only if at least `min_participants` selected responders confirmed before confirmation closed.
  5. A formed Outcome carries exactly one `context_id`, fresh to that Rally run and shared with every confirmed participant; a dissolved outcome carries none.

Risks

Failure modes

  1. Flaking

    Responders ENLIST tentatively but selected responders fail to confirm at MUSTER before `deadline`.

  2. Under-quorum

    Fewer than `min_participants` selected responders confirm before MUSTER confirmation closes, so no group forms.

Relationships

Builds on

Accepts

Infrastructure

AcceptSpec

Non-compensatory acceptance contract; consumer Verify yields Solution or FrameError

Infrastructure

Criteria

Judgment standards

Composes with

Infrastructure

Select

Generic selection of items from a set based on criteria

References

Infrastructure

Protocol

Communication standard

Yields

Infrastructure

Outcome

Realized state after an action, captured for Plan-vs-reality comparison

Used by

References

Nucleate

Emergent working groups from activity density

Reference

Parameters

deadline Duration, (0s, unbounded)
Duration from Rally start by which ENLIST intake, selection, and MUSTER confirmation complete
max_participants PositiveInteger, [min_participants, 10000]
Most responders that may be selected and confirmed
min_participants PositiveInteger, [2, max_participants]
Fewest selected responders who must confirm at MUSTER for group formation

Identity

Ref
Rally#9ee7
Sema ID
sema:Rally#mh:SHA-256:9ee797cd797df62b9883ead618c35eb8d8a5e86c171630cdc8f8ecc6066d6a89
Ring
1
Tier
2
Updated
2026-11-11
Supersedes
  • sema:Rally#mh:SHA-256:8d0401a21776e9a4d44b60bd1c7a8d7af1c9d275c3d209ef12432c892f435cec
  • sema:Rally#mh:SHA-256:c284735a8954e84a3b4ce89a685b304490cac103dc3abaf14f9d7a035a3e2dc5
  • sema:Rally#mh:SHA-256:48a037eb8da9aa05db6d44c4827ed1a243eb07ff0be810b8b8792b05e0419430
  • sema:Rally#mh:SHA-256:f2d67002a3d5ca0f6e0e61343ba41b800d3211249f3ab513984af2699df7d8d5