GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Define signed stream descriptor, chunks and lifecycle state machine · Issue #10246 · developing-today/code

Define signed stream descriptor, chunks and lifecycle state machine #10246

New issue
Copy link
New issue
Copy link
Closed
Closed
Define signed stream descriptor, chunks and lifecycle state machine#10246
Copy link
Labels
status:done

Description

@dezren39
dezren39
opened on Nov 14, 2026
Issue body actions

Problem and goal

Model addressable open stream with signed chained immutable chunks and one CAS terminal transition.

Version and design basis

Version: V3. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-addressing/versioned-design.md#9123--addressable-live-streams (section: #9123 — addressable live streams).
Tier: recommended.
Statement IDs: S4.74, S4.75, S4.76, S4.77, S4.78, S4.79, S4.80, S4.81, S4.82
Enables: Text/chat/voice/video streams that are addressable while in progress.

Scope and ownership

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

  • pkgs/id/crates/id-core/src/stream_record.rs (new; owner: A9123-stream-records)
  • pkgs/id/crates/id-core/tests/stream_lifecycle_model.rs (new; owner: A9123-stream-records)
    Hard dependencies (native blockers): A9114-envelope-identities — Requires PayloadId, canonical Body, detached-signature preimage and nonrecursive EnvelopeId types from A9114-envelope-identities.; A9118-array-codec — Requires lossless ordered Option address encoder/decoder with null/empty distinction from A9118-array-codec.; A9120-content-id — Requires raw exact-byte Iroh BLAKE3-256 ContentId type and fixed legacy-compatible text/binary parser from A9120-content-id.; 9110-02 — Adds this consumer module to the crate root and owns Cargo manifest/export changes; this slice owns only its distinct module and tests.; 9083 — Consumes the authenticated tenant/scope context contract; this slice does not define tenancy.
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/crates/id-core/tests/stream_lifecycle_model.rs first. Proposed command: cargo test -p id-core --test stream_lifecycle_model
Oracle: model — expected Finite lifecycle model with chain sequence/hash invariants; exactly one terminal record.; verifier: Generate the listed operations against the specified state/reference model and compare every resulting state and error..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Stop stream creation/subscription for the affected protocol revision; retain signed chunk chains and terminal records for replay/read-only recovery.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Activity

Next
  1. developing-today commented on Nov 14, 2026

    @developing-today
    developing-todayBot
    on Nov 14, 2026 – with developing.today
    Contributor
    More actions

    CODE-3665

  2. dezren39
    marked this as blocked by 5 issues on Nov 14, 2026
    • design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083
    • Implement immutable exact-byte raw-blake3-256 ContentId #10227
    • Implement nullable ordered byte-slot address type and codec #10182
    • Define versioned capability-oriented port contracts #10160
    • Implement payload, body, signature and signed-envelope identity separation #10226
  3. dezren39
    added a parent issue on Nov 14, 2026
    • design(id): stream namespaces — lifecycle + redirect to the final object #9123
  4. dezren39
    marked this as blocking on Nov 14, 2026
    • Implement resumable stream subscription and completed target resolution #10282
  5. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Agent note — task 17086 preflight outcome: BLOCKED on native blockers (lane code-a, 2026-11-14)

    Mandatory triage/preflight for slice A9123-stream-records, performed per the task spec — no implementation attempted, no production rollout authorized or started.

    Native blockers read from this issue's GitHub blocked-by graph at 2026-11-14T18:14Z — all OPEN:

    • design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083
    • Define versioned capability-oriented port contracts #10160
    • Implement nullable ordered byte-slot address type and codec #10182
    • Implement payload, body, signature and signed-envelope identity separation #10226
    • Implement immutable exact-byte raw-blake3-256 ContentId #10227

    All blockers remain open, so task 17086 has self-blocked exactly as prescribed (fleet queue block 17086 --reason-class blocked with --blocked-by-issue naming all five, blocker: "waiting on native issue blockers"). Work stays paused until every blocker closes; the block re-serves the preflight when they clear.

  6. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Triage — task 19181, lane any-i, 2026-11-16: duplicate bulk-intake triage; existing gated disposition stands, with two gates now cleared.

    Fresh verification (gh, 2026-11-17T07:20Z):

    • Issue Define signed stream descriptor, chunks and lifecycle state machine #10246 OPEN, no labels, no hard-stop labels (no held / user/owned / do-not-merge / do-not-auto-edit).
    • Existing disposition of record: task 17086 (lane code-a, 2026-11-14) — slice A9123-stream-records (signed stream descriptor/chunks/lifecycle, id-core), blocked on five native blockers: design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083, Define versioned capability-oriented port contracts #10160, Implement nullable ordered byte-slot address type and codec #10182, Implement payload, body, signature and signed-envelope identity separation #10226, Implement immutable exact-byte raw-blake3-256 ContentId #10227.
    • Gate update this shift: Define versioned capability-oriented port contracts #10160 CLOSED and Implement nullable ordered byte-slot address type and codec #10182 CLOSED — two blockers cleared. Still OPEN: design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083, Implement payload, body, signature and signed-envelope identity separation #10226, Implement immutable exact-byte raw-blake3-256 ContentId #10227 — the remaining gates for task 17086's broker block.
    • Design basis settled on main (atlas-summit part-a-addressing, design(id): stream namespaces — lifecycle + redirect to the final object #9123 addressable live streams); model test-first per its body.

    Verdict: triaged (existing disposition stands). No duplicate follow-on enqueued; work proceeds via task 17086 when #9083, #10226, and #10227 close.

  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: openchamber-scheduled-lane (code-h), worker repo-worker-code, queue task 17086
    state: blocked (reason_class: blocked)
    preflight: native blockers checked 2026-11-17T17:57Z — see blocker states on this issue. No implementation started (A9123-stream-records stays out of scope).
    resume: when every open native blocker is closed, requeue or re-claim task 17086 and re-run the preflight.

  9. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    Triage — queue task 20532, openchamber scheduled lane (oc-code-03), 2026-11-18.

    Fresh GitHub state (08:45 UTC): #10246 OPEN, no hard-stop labels. Native blocked-by graph: #10160 CLOSED, #10182 CLOSED, #9083 OPEN, #10226 OPEN, #10227 OPEN.

    Verdict: triaged, dependency-blocked. Existing disposition stands: work stays with task 17086 (A9123-stream-records), which resumes when #9083, #10226 and #10227 close. No duplicate follow-on packet enqueued.

  10. dezren39
    removed their assignment
    on Nov 20, 2026
  11. dezren39
    added
    work/assignedQueue worker lifecycle state
    on Nov 20, 2026
  12. 11 remaining items

  13. dezren39
    added
    work/assignedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 23, 2026
  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1

    • kind: picked-up
    • worker: repo-worker-code
    • lane: oc-code-03
    • task: 17086 (repo-health-code-pilot)
    • at: 2026-11-22T21:23:30-06:00
    • summary: Claimed for mandatory A9123-stream-records native-blocker preflight only. Freshly checking design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083, Define versioned capability-oriented port contracts #10160, Implement nullable ordered byte-slot address type and codec #10182, Implement payload, body, signature and signed-envelope identity separation #10226, and Implement immutable exact-byte raw-blake3-256 ContentId #10227 before any implementation; no production rollout authorized.
  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1

    • kind: done
    • worker: repo-worker-code
    • lane: oc-code-03
    • task: 17086 (repo-health-code-pilot)
    • at: 2026-11-22T21:24:10-06:00
    • summary: Preflight complete. Define signed stream descriptor, chunks and lifecycle state machine #10246 remains OPEN; all packet-listed native blockers are CLOSED: design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083, Define versioned capability-oriented port contracts #10160, Implement nullable ordered byte-slot address type and codec #10182, Implement payload, body, signature and signed-envelope identity separation #10226, Implement immutable exact-byte raw-blake3-256 ContentId #10227. No implementation or production rollout was performed because this was a triage/preflight-only task. Queue task completed as triaged; follow-on task 21099 was generated for subsequent queue handling.
  16. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  17. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Picked up — queue task 21099, lane DD (archer), 2026-11-22.

    Preflight re-verified fresh this pass (gh REST): #10246 OPEN, and all five native blockers CLOSED/completed — #9083, #10160, #10182, #10226, #10227. This matches task 17086's preflight record (oc-code-03) minutes earlier. No other live claim covers the implementation slice (only task 21099 is claimed for #10246).

    Per the packet acceptance, with every blocker closed I proceed within the approved scope only: new pkgs/id/crates/id-core/src/stream_record.rs + new pkgs/id/crates/id-core/tests/stream_lifecycle_model.rs, test-first, oracle = model (cargo test -p id-core --test stream_lifecycle_model). No crate-root/manifest changes (owned by 9110-02); the test includes the module by path, per the sibling-slice pattern. No production rollout.

  18. developing-today
    added
    status:in-review
    on Nov 23, 2026
  19. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #12866 from developing-today/lane-dd/10246-stream-…

    8c69c49
  20. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Done — queue task 21099, lane DD (archer), 2026-11-22.

    Preflight (fresh gh REST, this pass): all five native blockers CLOSED/completed — #9083, #10160, #10182, #10226, #10227 — so per the packet acceptance the implementation proceeded within the approved scope. No other live claim covered the slice.

    Landed: PR #12866, merged 8c69c49a5aca3d9f3d270b76da0e33dcdb56202d (head df375024cf). Exactly the slice's two owned files (+1964/−0):

    • pkgs/id/crates/id-core/src/stream_record.rs — signed StreamDescriptor at an A9118 array address; signed ChunkRecord chain binding stream ID, tenant scope, sequence, previous record ID, payload content identity, media metadata and signer (record ID = raw-BLAKE3-256 of the complete signed canonical encoding, A9114 envelope-ID discipline); signed TerminalRecord; StreamLifecycle finite state machine — strict sequence/chain ordering, duplicate-idempotent vs sequence-conflict (equivocation) distinction, creator-or-namespace-sequencer signer authority, completion CAS open -> finalizing -> completed, abort/expire claiming no final content, exactly one terminal record, typed Resolution::Completed { final_id }.
    • pkgs/id/crates/id-core/tests/stream_lifecycle_model.rs — the declared oracle test (model).

    No crate-root/manifest changes (owned by 9110-02); the test includes the module by path, per the sibling-slice pattern. One recorded design note: A9114's PayloadId has no wrap constructor, so the chunk binds the payload's ContentId (profile included), taken from PayloadId::content_id at construction.

    Evidence: cargo test -p id-core --test stream_lifecycle_model (laptop, nix develop in pkgs/id): 7 passed / 0 failed — descriptor_round_trip_and_array_address, abort_and_expiry_claim_no_final_content, sequencer_authority_admits_multiwriter_chunks, duplicate_is_idempotent_and_differing_record_is_conflict, chain_and_authorization_rejections_carry_their_classes, happy_path_lifecycle_with_exactly_one_terminal_record, generated_operations_match_the_reference_model (proptest, 48 cases × up to 24 ops against an independent reference model). Re-run after rustfmt: 7 passed / 0 failed. Module verified present on main post-merge (47,759 B).

    Closing as completed: the declared oracle passes with the evidence and changed-file summary attached here.

  21. dezren39
    closed this as completedon Nov 23, 2026
  22. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
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

    status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.