deltatrace-deterministic-re.../README.md

1.6 KiB
Raw Blame History

DeltaTrace: Deterministic Replayable Latency & Compliance Tracing

DeltaTrace is a production-oriented MVP crafted to enable end-to-end traceability, deterministic replay of order lifecycles, and governance-ready audit trails for live market-execution pipelines operating across partitioned networks.

Core capabilities

  • Event-graph model: capture MDTick, signals, PlanDelta decisions, orders, fills, and risk-check results as nodes with precise timestamps.
  • Deterministic replay engine: replay a captured delta-stream and event log to reproduce a specific decision path in a sandbox.
  • Governance-led audit log: crypto-signed triggers, approvals, and tamper-evident logs.
  • Lightweight adapters: starter adapters for FIX feed and exchange gateway sandbox.
  • Privacy posture: data-minimization and sanitization options for compliance needs.

MVP Scope (812 weeks)

  • Phase 0: core event-graph schema, deterministic replay engine, two adapters.
  • Phase 1: governance ledger scaffold and privacy controls.
  • Phase 2: partitioned-network testbed with a sandbox exchange.
  • Phase 3: incident replay dashboard and governance reporting.

Build & testing

  • Use test.sh to run unit tests and packaging checks (python3 -m build).
  • The repository is structured to enable safe collaboration with a small, production-like core and pluggable adapters.

Note: This is an MVP aimed at validating the interoperability, replay fidelity, and auditability of live-market pipelines, independent of vendor ecosystems.

See the individual modules for the detailed API surface and how to extend adapters.