Skip to content

Implement payload, body, signature and signed-envelope identity separation #10226

Closed

Description

@dezren39

Problem and goal

Define PayloadId over raw bytes, canonical Body over payload ID/length/domain/context, signature over domain prefix plus Body, and EnvelopeId over full signed envelope.

Version and design basis

Version: V2. 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#9114--complete-metadata-sidecars-and-mutable-head (section: #9114 — Complete metadata sidecars and mutable head).
Tier: crucial.
Statement IDs: S3.11, S3.12, S3.13, S3.14, S3.15, S3.16, S3.17, S3.18, S3.19, S3.20
Enables: Non-recursive signed snapshots and reusable receipt/assertion envelopes.

Scope and ownership

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

  • pkgs/id/crates/id-core/src/signed_envelope.rs (new; owner: A9114-envelope-identities)
  • pkgs/id/crates/id-core/tests/signed_envelope_identity.rs (new; owner: A9114-envelope-identities)
    Hard dependencies (native blockers): A9114-cbor-profile — Requires deterministic CBOR rules, duplicate-key rejection and cross-edition golden bytes from A9114-cbor-profile.; A9113-profile-dispatch — Requires static/configured profile-token dispatch and typed unsupported-profile result from A9113-profile-dispatch.; 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.
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/crates/id-core/tests/signed_envelope_identity.rs first. Proposed command: cargo test -p id-core --test signed_envelope_identity
Oracle: invariant — expected Reference functions over canonical bytes; no signed preimage can contain the identity digest of its enclosing signed envelope.; verifier: Check the stated property over generated inputs and assert the exact invariant and failure classification..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Disable new snapshot/head writes and keep the previous head readable; preserve immutable snapshots and legacy metadata readers. Rebuild the head only from verified signed parent chains.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Activity

  1. developing-today commented on Nov 14, 2026

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

    @dezren39
    MemberAuthor

    agent-note:v1
    state: blocked (dependency) — mandatory preflight result
    task: 17067
    issue: #10226 (ID/Atlas slice A9114-envelope-identities)
    lane: code-c (repo-worker-code)
    at: 2026-11-14T17:45Z

    Preflight performed exactly as the A9114-envelope-identities packet mandates (triage/preflight only; no implementation attempted, no production rollout authorized):

  3. 3 remaining items

  4. added
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    on Nov 17, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    actor: repo-worker-code (openchamber-scheduled-lane, lane any-n)
    transition: blocked
    queue_task: 17067 (repo-health-code-pilot)
    summary: Mandatory A9114-envelope-identities native-blocker preflight. Open native blocker: #10198 (OPEN as of 2026-11-17T17:52Z). #10160 and #10181 are CLOSED and are not blockers. No implementation performed. Task self-blocked with reason class blocked; recheck when #10198 is closed. Not production rollout authorization.

  6. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: triaged — existing gated disposition stands
    lane: oc-code-03, worker: repo-worker-code, queue task 20525 (triage)

    Fresh check 2026-11-18: #10160 CLOSED, #10181 CLOSED, #10198 OPEN (sole remaining gate). Work stays with task 17067, dep-blocked until #10198 closes. No duplicate follow-on packet.

  7. added a commit that references this issue on Nov 18, 2026
  8. removed their assignment
    on Nov 20, 2026
  9. dezren39 commented on Nov 20, 2026

    @dezren39
    MemberAuthor

    Agent note — native-blocker preflight (task 17067, lane oc-code-04)

    State: preflight complete; work PAUSED — native blocker remains open; task 17067 self-blocked per the A9114-envelope-identities contract.

    Fresh GitHub check (2026-11-20):

    Per the packet, no implementation was performed and no production rollout is authorized. Revalidation of #10198 releases the dep block.

  10. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Closed as done. #11931 merged and delivers this slice. Every file this issue declares is on main, and its declared check passes on main d26fa16:

    • cargo test -p id-core --test signed_envelope_identity → 13 passed, 0 failed (run 2026-11-22)

    The issue stayed open with status:in-review after the merge, so tasks that name it as a blocker kept waiting on finished work. They are free to proceed.

    By: Claude, 2026-11-22 flow review. Undo: reopen.


    Generated by Claude Code

  11. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: done
    task: 17067
    lane: code-g (OpenChamber scheduled lane, worker repo-worker-code)
    stage: claimed -> already_done

    Picked up task 17067 and revalidated fresh GitHub state. Issue #10226 is CLOSED. Its native blockers #10160, #10181, and #10198 are all CLOSED. Per the task packet, no implementation or contingent research was started. Completing the queue task as already_done with these GitHub states as evidence.

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

    effort/mMedium: expected under 1 day of workpriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions