You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P6] Embedding: Gateway, C API & Python - tracking #7
[P6] Embedding: Gateway, C API & Python — tracking
Tracking issue for pillar P6. See docs/roadmap/roadmap.md.
Objective
The embedding surface at release quality: full-engine C ABI, mature gateway (state injection, callbacks, time sourcing), Python parity, and the scena-run headless CLI executing a scenario file and emitting a state trace (CSV/JSON) — deliberately no visualization (ADR-0001, library-first). Out of scope: GUI/visualization, concrete simulator adapters, network transports.
Parity audit table (C++ ↔ C ABI ↔ Python) checked in with zero gaps
scena-run executes the golden corpus
The capi-and-bindings review checklist passes
Status (2026-08-02 continuous-improvement audit): all P6 sprints merged; parity audit reports 42 entry points / 0 gaps; scena-run ships every promised flag. Residuals: GS-14 was a p6-s4 deliverable and does not exist (#113); the 24-h ASan soak has no harness (#114); several golden fixtures are weaker than their documented criteria, incl. GS-10's --replay never being exercised (#116); environment read-back is missing from the C ABI (#122); the parity table has no committed artifact (#115).
Parity audit table checked in with zero gaps — scripts/parity_audit.py
reports 33 methods, 0 gaps, runs in CI on all three platforms, and python/tests/test_parity.py includes a case that doctors a header to prove
the audit still detects a real gap.
scena-run executes the golden corpus — the golden CI job runs nine
scenarios (GS-1, 2, 4, 5, 6, 7, 9, 10, 11) on macOS, Linux and Windows, each
bit-identical against a single shared reference set and each verified against
its semantic checkpoints (23 in total).
capi-and-bindings review checklist — the C ABI covers the full engine
surface, a pure-C (C11) consumer compiles and runs as a ctest case on every
platform, and a null-argument sweep covers every new entry point.
Not delivered, and why
GS-3 and GS-8 need a road backend in the fixture (absolute lane targets,
junction routing). Committing them broken would make the suite lie about what
it checks, so they are not committed. They belong with the sprint that gives
the golden fixtures a real .xodr.
GS-12 / GS-13 are DSL scenarios (P8) and GS-14 is the 24-hour soak,
both out of P6's scope by the roadmap.
New ADR amendments: ADR-0003 gained a p6-s2 section covering the step brackets,
storyboard observation, the time-sourcing contract and the C ABI's
function-pointer gateway.
Leaving this issue open, matching how #2–#6 were handled for the completed
pillars P1–P5.
Activity
JArmandoAnaya commentedon Aug 1, 2026
P6 complete
All four sprints are merged to
main:548c194f1d9ceb0551c94scena-run& golden harnesse7dc22cPillar exit criteria
scripts/parity_audit.pyreports 33 methods, 0 gaps, runs in CI on all three platforms, and
python/tests/test_parity.pyincludes a case that doctors a header to provethe audit still detects a real gap.
scena-runexecutes the golden corpus — thegoldenCI job runs ninescenarios (GS-1, 2, 4, 5, 6, 7, 9, 10, 11) on macOS, Linux and Windows, each
bit-identical against a single shared reference set and each verified against
its semantic checkpoints (23 in total).
surface, a pure-C (C11) consumer compiles and runs as a ctest case on every
platform, and a null-argument sweep covers every new entry point.
Not delivered, and why
junction routing). Committing them broken would make the suite lie about what
it checks, so they are not committed. They belong with the sprint that gives
the golden fixtures a real
.xodr.both out of P6's scope by the roadmap.
--selectis accepted byscena-runand reported as not yet active;one_ofalternatives arrive with p8-s2 ([p8-s2] Composition operators: serial, parallel, one_of #45).
New ADR amendments: ADR-0003 gained a p6-s2 section covering the step brackets,
storyboard observation, the time-sourcing contract and the C ABI's
function-pointer gateway.
Leaving this issue open, matching how #2–#6 were handled for the completed
pillars P1–P5.