Skip to content

[RFC] Specify multi-leg execution state machine and recovery matrix #260

Open

Description

@brokermr810

Parent epic

#254

Deliverable

Write an architecture RFC for a durable multi-leg execution state machine and its recovery behavior.

The RFC should define:

  • Parent intent and child leg states, identifiers, and invariants.
  • Sequential and parallel submission policies.
  • Timeout, cancel, retry, compensation, and operator-intervention behavior.
  • Partial-fill and unknown broker-state reconciliation.
  • Restart and duplicate-delivery recovery.
  • Broker capability boundaries, including venue-native combination orders.

Acceptance criteria

  • A state diagram and transition table are included.
  • First-leg failure, later-leg failure, partial fill, timeout, crash, and duplicate delivery are covered.
  • Unmatched exposure can never be silently discarded.
  • Idempotency and observability requirements are explicit.
  • Deterministic paper-adapter test scenarios are proposed.
  • The RFC is submitted as a focused draft pull request.

How to claim

Comment with a short outline and any prior work you plan to reuse. A maintainer will confirm the scope and assign the issue before implementation begins.

Activity

  1. added
    help wanted
    roadmap
    needs-rfc
    area: execution
    priority: p0
    on Sep 18, 2026
  2. added
    ready for contributors
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: executionhelp wantedneeds-rfcpriority: p0ready for contributorsroadmap

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions