Version: 0.1.1 Status: active-split Language: Dust Programming Language (DPL)
- Primary: XDV-012 (Cross-Domain Scheduler)
- Reference: XDV-082 (Cross-Domain Scheduler Reference)
xdv-cds is the deterministic arbitration engine for K/Q/Phi scheduling in XDV.
It provides:
- policy-driven deterministic arbitration,
- replay-stable ordering keys,
- starvation and fairness constraint validation.
- Deterministic arbitration API with policy plug-ins:
- round-robin, priority, EDF, coherence-aware, domain-fair.
- Replay-stable ordering:
- deterministic order key generation,
- replay match/mismatch validation.
- Fairness enforcement helpers:
- starvation detection,
- fairness skew validation,
- combined scheduler constraint validator.
Core module: src/cds.ds
Key APIs:
arbitrate_next_domain(...)schedule_tick_with_policy(...)schedule_tick_replay(...)compute_replay_order_key(...)validate_starvation_constraints(...)validate_fairness_constraints(...)validate_scheduler_constraints(...)
Version APIs:
xdv_cds_interface_version_major()xdv_cds_interface_version_minor()xdv_cds_interface_version_patch()xdv_cds_arbitration_api_version()xdv_cds_replay_api_version()xdv_cds_fairness_api_version()
src/: implementation, stable interface, testsdocs/: architecture and contract docstests/: standalone test suite placeholdersState.toml: workspace manifestchangelog.md: release notes
cargo run --manifest-path dust/Cargo.toml -- check xdv-cds/src
xdv-kernelconsumesxdv_cds_interface_version_*from this project.- Arbitration and fairness decisions are deterministic and replay-compatible by construction.