Skip to content

Prototype additive NATS stream adapter #10215

Open

Description

@dezren39

Problem and goal

Prove a second ordered-stream adapter can fit the stable port without changing core semantics; do not build a Kafka product adapter.

Version and design basis

Version: V2 proof; V4 production consideration. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md#v2--stable-seams-and-conformance-foundation-first-implementation-target (section: V2 — stable seams and conformance foundation (first implementation target)).
Tier: contingent. Start trigger: Only when a named product consumer or owning deployment selects this capability; review on 2027-02-12.
Statement IDs: S0.2, S0.9, S0.13, S0.15
Enables: Demonstrate a second stream/transport adapter using existing stable contracts and document ack, ordering, redelivery, replay, retention, and limits; do not promise exactly-once.

Scope and ownership

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

  • pkgs/id/crates/id-transport-nats/src/lib.rs (new; owner: 9110-08)
  • pkgs/id/tests/nats_stream_contract.rs (new; owner: 9110-08)
    Hard dependencies (native blockers): 9110-02 — Requires the stable stream port contract.; 9110-04 — Requires the conformance fixture contract.
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/tests/nats_stream_contract.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml --test nats_stream_contract
Oracle: model — expected A contract-only ordered stream test passes duplicate/restart traces without a Kafka client or runtime adapter.; verifier: In-memory ordered-stream reference model; no Kafka implementation is built..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: doc/2026-11-13T00-41-00Z_design_id-atlas-primitives-federation-namespaces/note.md; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/research.md.
Rollback: Do not enable the adapter unless selected; remove the optional test adapter without altering core stream contract.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Acceptance criteria

Activity

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Agent note — task 17059 preflight recorded (lane any-a): 9110-08 native blockers #10160 + #10191 OPEN — task self-blocked

    Native-blocker preflight (fresh, 2026-11-14T17:42Z):

    Result: the blocker gate is NOT clear. Per the packet's mandatory preflight instruction, no implementation was performed and task 17059 is self-blocked as a broker dependency block on #10160 + #10191; the broker returns it to the pool automatically when both close, and the preflight then re-runs fresh (including the contingent-trigger check).

  3. added
    queue/blocked
    status/blocked
    work/assigned
    on Nov 14, 2026
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Triaged — already routed of record (task 19154, lane code-d, 2026-11-16): issue #10215 carries no status/needs-triage; its work task 17059 is dep-blocked, with one of two blockers now cleared and its contingent trigger still unmet.

    Fresh verification (2026-11-17T06:18Z):

  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1

  6. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    actor: repo-worker-code (openchamber-scheduled-lane, lane any-o)
    transition: blocked
    queue_task: 20517 (repo-health-code-pilot)
    summary: Triage of #10215 (slice 9110-08, contingent). Fresh check 2026-11-18: #10191 is still OPEN, and the existing dependency-blocked packet (queue task 17059) already tracks it. The contingent start trigger (a named product consumer, review 2027-02-12) has not been reached. Nothing is implemented, and this triage does not create a second packet. Not production rollout authorization.

  7. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    Picked up — triage #10215 (task 20517, lane oc-code-01).

    Revalidating prior blocked verdict: dependency #10191 is still OPEN and the contingent product-consumer trigger remains unmet. No new follow-on will be enqueued.

  8. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    Done — triage task 20517 complete as triaged.

    Issue #10215 remains open and contingent/blocked. Dependency #10191 is still OPEN; routed work task 17059 already tracks that block. No new follow-on enqueued. Existing blocked/assigned labels belong to the routed work and remain unchanged.

  9. removed their assignment
    on Nov 20, 2026
  10. 15 remaining items

  11. added
    queue/queued
    and removed
    status/blocked
    queue/blocked
    on Nov 29, 2026
  12. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Audit slice N10 (#14863): all native blockers CLOSED — #10160, #10191 (verified fresh 2026-11-29). Stale blocked_by edges removed, status/blocked + queue/blocked labels removed, queue/queued set. This issue is drawable again. Refs #14863

  13. added
    priority/low
    on Nov 29, 2026
  14. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Census note — lane CEN-C10 (Xaltha seat), 2026-11-29. Full body + all comments re-read firsthand for Drew's issue census.

  15. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).

    STRENGTHS:

    • substantive body (2272 chars)
    • acceptance structure present (0 checklist items, 0 checked)
    • names concrete file/module pointers: com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md, doc/2026-11-13T00-41-00Z_design_id-atlas-primitives-federation-namespaces/note.md, doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/research.md, pkgs/id/Cargo.toml
    • 12 prior comments of triage/work history on record
    • priority already set (priority/low)
    • linked PR references in thread: test(id): shared store conformance fixtures and capability reports (9110-04) #13194

    GAPS FOUND:

    • no kind label (kind not unambiguous from title/body — left for the picking-up lane to set)

    FIXES I APPLIED:

    • none needed

    REMAINS: nothing — ready for pickup

  16. added
    app/id
    effort/m
    on Nov 29, 2026
  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Wave-2 residual pass. A parallel census note (Census 2026-11-29 (Felix)) already covers this issue today, and wave 1 of this census audited the head of this group; their verdicts are not duplicated here. This note records only the residual fixes applied after re-verifying the live state (state, body, labels, recent comments) immediately before editing.

    Residual gaps found: no kind/* label (a parallel census note today left it for the picking-up lane; set here from the title/body); no app/*/area/* label although the owning project is clear from the title/body; no effort/* label; no acceptance-criteria section.

    Actions taken: labels added: kind/enhancement, app/id, effort/m; appended ## Acceptance criteria (original body text unchanged above it).

    Priority: priority/low retained — matches the work's urgency as evidenced on the issue; no band change in this pass.

  18. 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/lowqueue/queuedstray-workwork/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions