Skip to content

Wire versioned public module exports and verify Rust/TypeScript conformance #10267

Open

Description

@dezren39

Problem and goal

Phase 2 root owner after 9110-02 and required V2 leaf PRs merge: perform the sole V2 public module/export wiring, then demonstrate Rust and TypeScript agreement with independent golden vectors. No consumer edits the shared roots before this serial handoff.

Version and design basis

Version: V2 foundation; V3 interop. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md#conformance-and-test-gates (section: Conformance and test gates).
Tier: crucial.
Statement IDs: S0.5, S1.114, S1.115, S1.116, S1.117, S1.118, S1.119, S1.120
Enables: Run common signed-envelope, config, operation, and failure fixtures in native Rust and hosted TypeScript implementations; compare behavior without requiring identical internals. V2 public release cannot pass until all listed module outputs are wired. V3 additions repeat this same integration gate additively; do not require any V4 module.

Scope and ownership

Parent: #9110 (native component/meta parent).

  • pkgs/id/test-vectors/cross-runtime.json (new; owner: 9110-09)
  • pkgs/id/tests/cross_runtime_conformance.rs (new; owner: 9110-09)
  • pkgs/id/crates/id-core/src/lib.rs (existing; owner: 9110-09)
  • pkgs/id/crates/id-sync/src/lib.rs (existing; owner: 9110-09)
  • pkgs/id/crates/id-events/src/lib.rs (existing; owner: 9110-09)
  • pkgs/id/crates/id-store/src/lib.rs (existing; owner: 9110-09)
  • pkgs/id/crates/id-worlds/src/lib.rs (existing; owner: 9110-09)
  • pkgs/id/crates/id-core/src/graph/mod.rs (new; owner: 9110-09)
  • pkgs/id/crates/id-core/src/triples/mod.rs (new; owner: 9110-09)
  • pkgs/id/crates/id-sync/src/federation/mod.rs (new; owner: 9110-09)
  • pkgs/id/crates/id-sync/src/federation/slices/mod.rs (new; owner: 9110-09)
    Hard dependencies (native blockers): 9110-04 — Required output from slice 9110-04.; 9110-06 — Admission module output must exist before the V2 public export gate.; 9085 — Use the hosted TypeScript runtime/transport contract for cross-runtime fixture coverage.; 9110-02 — Shared roots and stable contracts must exist before version-gated public wiring.; 9110-11 — Legacy/new signed-profile implementation and vectors must be available to the V2 cross-runtime fixture.; A9113-shape-types — Wire the implemented ID shape module only after its file exists.; A9113-profile-dispatch — Wire profile dispatch after its module output exists.; A9114-cbor-profile — Wire canonical CBOR profile after its module output exists.; A9114-envelope-identities — Wire signed envelope identity types after their module output exists.; A9115-existence-receipt — Wire the implemented receipt API after its module output exists.; A9116-registry-record — Wire namespace definition type after its module output exists.; A9118-array-codec — Wire array-address type after its module output exists.; A9120-content-id — Wire ContentId profile type after its module output exists.; A-GRAPH-9125-01 — Wire typed triple identity after the Part A graph module exists.; B01 — Wire peer policy after its module is implemented.; B05 — Wire signer identity/validation after its module is implemented.; B07 — Wire sync/conflict module after its module is implemented.; B02 — V2 key disable/revocation output.; B03 — V2 replay guard output.; B04 — V2 signature-suite output.; B06 — V2 rejection-event output.; B08 — V2 sync-scope output.; B09 — V2 anti-entropy output.; B19 — V2 signed receipt output.; B28 — V2 emergency takeover/revocation output; advanced reputation remains later.; B31 — V2 directional peer-class output.; B32 — V2 universal ingest-gate output.
    Soft sequencing (not blockers): B15 — V3 public export wiring is a later additive pass after peer-priority module output.; B16 — V3 public export wiring is a later additive pass after bounded-fanout module output.; B17 — V3 public export wiring is a later additive pass after signed query-grant module output.; B18 — V3 public export wiring is a later additive pass after query-privacy module output.; B20 — V3 public export wiring is a later additive pass after request-identity module output.; B21 — V3 public export wiring is a later additive pass after result-dedup module output.; B22 — V3 public export wiring is a later additive pass after loop-inform module output.; B23 — V3 public export wiring is a later additive pass after routing-state module output.; B24 — V3 public export wiring is a later additive pass after topology-probe module output.

Test / evidence first

Create or validate pkgs/id/tests/cross_runtime_conformance.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml --test cross_runtime_conformance
Oracle: golden — expected All implemented V2 public module exports resolve without consumer edits to crate-root files, and Rust/TypeScript traces match for shared protocol vectors; V2 release is blocked until this gate passes.; verifier: A checked export manifest plus an independent golden-vector verifier compares public symbol availability and cross-runtime results; no absent V3/V4 module is declared..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: doc/2026-11-13T03-40-00Z_design_id-atlas-summit/main.md; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-addressing/implementation-slices.json; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/implementation-slices.json; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/implementation-slices.json.
Rollback: Revert only the additive public module declarations for the affected protocol version; keep shared port contracts and prior supported exports. No consumer module or persisted data is deleted.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Acceptance criteria

Activity

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. 64 remaining items

  3. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    P1.2 stale-edge prune — #10267 (Felix lane 0640-PG, under the #17071 P0–P3 plan)

    Before: 27 native blockedBy edges. After: 1 — only #10192 (OPEN) remains.

    Removed 26 edges whose blocker is CLOSED: #9085, #10160, #10176, #10180, #10181, #10182, #10183, #10186, #10191, #10196, #10198, #10204, #10206, #10207, #10208, #10209, #10226, #10227, #10232, #10233, #10243, #10247, #10248, #10250, #10256, #10262.

    Labels unchanged: status/blocked + queue/blocked stay because one open blocker (#10192) remains.

  4. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Reparented — Felix lane 0640-WA, 2026-11-30 (P3.1 tranche on code#17071, claim 7283429466).

    This issue was a sub-issue of #9110, which is CLOSED. Under the P0–P3 playbook's P3.1 rule (open sub-issues must not roll up into a closed parent), it has been moved to #9106 — #9110's own parent, the open ID/Atlas extensibility epic — via the GraphQL removeSubIssue/addSubIssue mutations, verified live (parent endpoint now reads #9106). No labels, state, or priority band were changed.

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

    app/ideffort/mepic/id-programkind/enhancementprimary-parent/id-programpriority/normalqueue/blockedstatus/blockedstatus:to-dostray-workwork/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions