Skip to content

[P6] Embedding: Gateway, C API & Python - tracking #7

Open
4 of 4 issues completed
Open

Description

@JArmandoAnaya

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

Sprints

Pillar exit criteria

  • 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).

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added
    roadmap
    tracking
    pillar:p6
    on Jul 21, 2026
  2. JArmandoAnaya commented on Aug 1, 2026

    @JArmandoAnaya
    ContributorAuthor

    P6 complete

    All four sprints are merged to main:

    Sprint Issue PR Merge
    p6-s1 C ABI expansion #35 #87 548c194
    p6-s2 Gateway maturity #36 #88 f1d9ceb
    p6-s3 Python parity #37 #89 0551c94
    p6-s4 scena-run & golden harness #38 #90 e7dc22c

    Pillar exit criteria

    • 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.
    • --select is accepted by scena-run and reported as not yet active; one_of
      alternatives 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.

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

    pillar:p6roadmaptracking

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions