Skip to content

Query/relay/response signature validation, end-to-end responder provenance and stable request identity #10249

Closed

Description

@dezren39

Problem and goal

Query/relay/response signature validation, end-to-end responder provenance and stable request identity as an independently reviewable contract and implementation increment.

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-b/versioned-design.md#query-contract (section: Query contract).
Tier: recommended.
Statement IDs: S1.58, S1.59, S1.60, S1.61, S1.62
Enables: Defines immutable signed request and relay grant contracts with end-to-end responder provenance.

Scope and ownership

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

  • pkgs/id/crates/id-sync/src/federation/slices/b17_query_grants.rs (new; owner: B17)
  • pkgs/id/crates/id-sync/tests/federation_b17.rs (new; owner: B17)
    Hard dependencies (native blockers): B05 — Minimum output: authenticated signer/key binding and canonical signed envelope foundation.; B32 — Minimum output: mandatory universal validation gate.; B20 — Minimum output: immutable request identity and replay binding.; B21 — Minimum output: duplicate/in-flight dedup and retained outcome/ledger semantics.; 9110-02 — Minimum output from design(id): extensibility architecture — primitive/adapter/hook boundary spec + backend conformance #9110-02: root federation/slices registry scaffolding and Cargo convention, with this exact module path recorded but not exported before it exists. Slice PRs do not edit shared roots/Cargo/lib.rs; design(id): extensibility architecture — primitive/adapter/hook boundary spec + backend conformance #9110-09 wires versioned public exports after module outputs land.
    Soft sequencing (not blockers): B23 — Routing evidence can inform eligible destinations after request/grant/dedup contracts are defined.

Test / evidence first

Create or validate pkgs/id/crates/id-sync/tests/federation_b17.rs first. Proposed command: cargo test -p id-sync --test federation_b17
Oracle: golden — expected Origin query signature remains immutable; each relay grant is parent-digest chained; original responder signature verifies unchanged at requester.; verifier: Independent reference state machine or golden fixture in the dedicated integration test; cryptographic tests use independent vectors, not the implementation under test..

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 relay forwarding; retain origin signature validation and direct responses.

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 — task 17089 preflight outcome: BLOCKED on native blockers (lane code-a, 2026-11-14)

    Mandatory triage/preflight for slice B17, 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:17Z — all OPEN:

    All blockers remain open, so task 17089 has self-blocked exactly as prescribed (fleet queue block 17089 --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.

  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — triage of record (task 19184, lane any-l)

    State: triaged; task 19184 dependency-blocked on #10210 and #10233 (below). Issue #10249 OPEN, no labels, no hard-stop labels (fresh check 2026-11-17).

    Verdict:

    Action: task 19184 is dependency-blocked on #10210 + #10233 via the broker (auto-releases when both close). On return: create b17_query_grants.rs + tests/federation_b17.rs (evidence-first; golden oracle: origin query signature immutable, each relay grant parent-digest chained, original responder signature verifies unchanged at requester; crypto tests use independent vectors).

  4. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    on Nov 17, 2026
  5. 12 remaining items

  6. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 20, 2026
  7. dezren39 commented on Nov 20, 2026

    @dezren39
    MemberAuthor

    Agent note — task 19184 blocked (lane code-j, 2026-11-20)

    Fresh dependency check: #10210 (B21: dedup/retained outcomes) remains OPEN; #10233 (B32: universal signed-and-validated acceptance gate) remains OPEN. #10249 remains OPEN. B05 #10208, B20 #10184, and 9110-02 #10160 are already satisfied per the existing triage record. No implementation started; resume when both #10210 and #10233 are closed and their accepted outputs are available.

  8. dezren39 commented on Nov 20, 2026

    @dezren39
    MemberAuthor

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

    Fresh native blocker preflight (2026-11-20 17:59Z): #10160, #10184, and #10208 are CLOSED; #10210 and #10233 are OPEN. Per the mandatory preflight packet, no implementation or rollout is authorized while any blocker remains open. Task 17089 is self-blocked with all five native issues recorded; no repository files changed.

  9. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Closed as done. #11956 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-sync --test federation_b17 → 17 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. removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    status/triagedTriaged and routed (see agent note)
    on Nov 22, 2026
  11. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Claimed task 17089 for mandatory B17 preflight. Checking fresh state of issue #10249 and native blockers #10160, #10184, #10208, #10210, and #10233 before any implementation.

  12. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Preflight task completed as already done: fresh GitHub state shows #10249 CLOSED, all native blockers #10160, #10184, #10208, #10210, and #10233 CLOSED, and delivery PR #11956 MERGED (5912bdf). The issue records cargo test -p id-sync --test federation_b17 — 17 passed, 0 failed. No implementation was performed by this task.

  13. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 | action: already-done | worker: repo-worker-code | lane: code-j | queue task: 20950

    Fresh mandatory preflight: #10249 and all declared native blockers (#10160, #10184, #10208, #10210, #10233) are CLOSED. Delivery PR #11956 is MERGED (SHA 5912bdf); prior completion note records cargo test -p id-sync --test federation_b17 passing (17 passed, 0 failed). No implementation or production rollout performed by this follow-on.

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/lLarge: multi-day or open-ended; expect staged check-inspriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions