Skip to content

Typed triple identity and canonical signed records #10196

Closed

Description

@dezren39

Problem and goal

Define general typed-byte triple terms, object references, LogicalGraphId, source_record provenance and exact ContentId/PayloadId/EnvelopeId preimages. Own only term.rs, record.rs and their test; do not create or edit graph/mod.rs or crate-root exports.

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-graph/versioned-design.md#4-9125--triples-encoding-and-storage (section: 4. #9125 — triples encoding and storage).
Tier: crucial.
Statement IDs: S5.1, S5.2, S5.3, S5.4, S5.5, S5.6, S5.7, S5.11
Enables: Graph and attribute surfaces share typed bytes and non-self-referential signed identities; adapters can add indexes without changing signed truth.

Scope and ownership

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

  • pkgs/id/crates/id-core/src/graph/term.rs (new; owner: A-GRAPH-9125-01)
  • pkgs/id/crates/id-core/src/graph/record.rs (new; owner: A-GRAPH-9125-01)
  • pkgs/id/crates/id-core/tests/graph_term_codec.rs (new; owner: A-GRAPH-9125-01)
    Hard dependencies (native blockers): 9110-02 — Creates the common graph/mod.rs skeleton and shared profile/vector interfaces, without exporting absent leaf modules. This slice uses direct-path leaf imports in its integration test. Final public module/export wiring is owned by 9110-09 after this slice completes.; 9110-11 — Consume the additive identity-profile/legacy compatibility contract; do not edit or re-sign legacy artifact bytes.
    Soft sequencing (not blockers): 9110-R2 — Consume any later Atlas ContentId mapping only in an Atlas-specific adapter; the typed-byte graph core does not own or block on the producer investigation.

Test / evidence first

Create or validate pkgs/id/crates/id-core/tests/graph_term_codec.rs first. Proposed command: cargo test -p id-core --test graph_term_codec
Oracle: reference — expected Reference encoder and independent verifier agree on exact canonical Body, raw PayloadId, profile-byte ContentId, complete signed-envelope EnvelopeId, source_record provenance, and arbitrary typed-byte round trips; self-referential IDs and ambiguous encodings reject.; verifier: graph_term_codec.rs imports ../src/graph/term.rs and ../src/graph/record.rs with explicit #[path] modules until 9110-09 performs public wiring. Independent reference codec and known-answer vectors compare exact outputs; no vector hashes an ID into its own preimage..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Remove only the new graph module and test files; keep crosscut-owned crate-root exports/profile vectors and all existing signed bytes unchanged.

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
    task: 17044
    lane: any-c
    worker: repo-worker-code

    Preflight for A-GRAPH-9125-01 (#10196, Typed triple identity and canonical signed records): verified fresh on 2026-11-14 that both native blockers remain OPEN — #10160 (Define versioned capability-oriented port contracts, 9110-02) and #10176 (Preserve legacy artifact preimages and define new canonical profile, 9110-11). No held / user/owned / do-not-merge / do-not-auto-edit labels on #10196, #10160, or #10176.

    Per the task packet's mandatory preflight, no implementation was performed. Task 17044 is dep-blocked on #10160 and #10176 (broker-watched, TTL 3 days); it will return to the pool automatically when both blockers close.

  3. 1 remaining item

  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — state: triaged (re-verified) · task 19146, lane code-e

    Pickup + triage re-verification for task 19146 (bulk-intake duplicate triage packet for #10196). Fresh checks this shift (2026-11-17T05:5xZ):

    Verdict: this packet completes as triaged, naming task 17044 and the updated gate state. No new follow-on enqueued (would duplicate task 17044); no implementation attempted — the packet's mandatory preflight forbids it while a native blocker is open.

  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — duplicate packet cancelled · lane code-e

    Completing task 19146 made the broker create follow-on task 20512 (dedupe repo-health:v1:fix:developing-today/code:issue:10196). The implementation work it named is already owned by task 17044 (blocked on #10176, gate state in the note above), so task 20512 was cancelled by repo-worker-code (lane code-e) as a duplicate with the reason recorded on the task. Task 17044 remains the sole owner.

  6. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: openchamber-scheduled-lane (code-h), worker repo-worker-code, queue task 17044
    state: blocked (reason_class: blocked)
    preflight: native blockers checked 2026-11-17T17:54Z — #10160 CLOSED, #10176 OPEN. No implementation started (A-GRAPH-9125-01 stays out of scope).
    resume: when #10176 is closed, requeue or re-claim task 17044 and re-run the preflight.

  7. removed their assignment
    on Nov 20, 2026
  8. dezren39 commented on Nov 20, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: blocked
    task: 17044
    worker: repo-worker-code
    lane: oc-code-03
    origin: openchamber-scheduled-lane
    stage: native_blocker_preflight

    Fresh native blocker preflight (2026-11-20 17:54Z): #10160 is CLOSED; #10176 is OPEN. Per the mandatory preflight packet, no implementation or rollout is authorized while any blocker remains open. Task 17044 is self-blocked with both native issues recorded; no repository files changed.

  9. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

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

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

    The issue stayed open 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

  10. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked_up -> done
    task: 17044
    issue: #10196
    lane: oc-code-07
    worker: repo-worker-code
    origin: openchamber-scheduled-lane
    stage: verified -> already_done

    Fresh preflight (2026-11-22): native blockers #10160 and #10176 are both CLOSED. #10196 itself is CLOSED as completed (2026-11-22T00:37:47Z); its closing evidence says merged PR #11975 delivers the slice. Fresh PR verification confirms #11975 MERGED at 94d353f884d3f78ef692d0883fdd5f81e2a92fe3. The issue records the exact declared check on main d26fa16: cargo test -p id-core --test graph_term_codec — 12 passed, 0 failed. This lane performed no implementation or rollout; completing the stale queue preflight as already done. Sandbox backlog and sweep-log bookkeeping deferred to fleet reconciliation.

  11. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked_up -> done
    task: 20964
    issue: #10196
    lane: code-j
    worker: repo-worker-code
    origin: openchamber-scheduled-lane
    stage: verified -> already_done

    Fresh revalidation: #10196 is CLOSED; native blockers #10160 and #10176 are CLOSED. Delivery PR #11975 is MERGED at 94d353f. The issue records the declared check on main d26fa16: cargo test -p id-core --test graph_term_codec — 12 passed, 0 failed. No implementation or rollout was performed by this task; the prior delivery already satisfies it. Sandbox backlog and sweep-log bookkeeping deferred to fleet reconciliation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions