Skip to content

Trusted-relay permission, max-hop propagation, and breadth×depth resource bounds #10263

Open

Description

@dezren39

Problem and goal

Trusted-relay permission, max-hop propagation, and breadth×depth resource bounds as an independently reviewable contract and implementation increment. Account atomically at query, authenticated requester/origin, supplying peer, authorized tenant and node scopes; refund only unused amounts; retries reuse exact multidimensional reservation.

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.54, S1.55, S1.56, S1.57, S1.61
Enables: Bounds recursive query resource use at requester and honest-node scopes.

Scope and ownership

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

  • pkgs/id/crates/id-sync/src/federation/slices/b16_fanout_budget.rs (new; owner: B16)
  • pkgs/id/crates/id-sync/tests/federation_b16.rs (new; owner: B16)
  • doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/federation_model.py (existing; owner: B16)
    Hard dependencies (native blockers): B17 — Minimum output: immutable OriginQuery and signed chained RelayGrant contract.; B20 — Minimum output: stable origin request identity.; B21 — Minimum output: dedup ledger so retries reuse work/reservations.; B32 — Minimum output: mandatory validation gate.; 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 is an optional fanout input after query/dedup foundations; it does not change budget accounting.

Test / evidence first

Create or validate pkgs/id/crates/id-sync/tests/federation_b16.rs first. Proposed command: cargo test -p id-sync --test federation_b16
Oracle: model — expected At per-query, authenticated requester, supplying-peer, tenant and node scopes, spent never decreases and held+spent stays within cap. Duplicate scope IDs, over-cap reservations, and usage outside reserved dimensions reject atomically. Cancel/expiry refunds only unused held values; same reservation retry never mints.; verifier: Dedicated B16 future Rust test compares each vector scope to a small reference ledger; current federation_model.py supplies a separate executable accounting example. Neither proves crypto/fairness/Byzantine enforcement..

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 recursive remote fanout; retain local query and outstanding ledger/tombstones until expiry.

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: 17101
    issue: #10263 (ID/Atlas slice B16)
    lane: code-c (repo-worker-code)
    at: 2026-11-14T18:02Z

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

  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · already done — task 19196 (lane code-b)

    • Already routed (verified fresh this shift): the B16 work packet for this issue is queue task 17101, standing dep-blocked on its native blockers (B17 RelayGrant contract, B20 origin request identity, B21 dedup ledger). No new packet; another would duplicate task 17101.
    • Priority: normal, Effort: m — set on the issue now (label sync gap from the earlier routing; one new id-sync federation slice module b16_fanout_budget.rs, its tests, and the federation model doc).
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: openchamber-scheduled-lane (code-g) on repo-worker-code
    task: 17101 (triage/preflight, B16)
    state: blocked (reason_class=blocked)
    preflight (2026-11-17T18:0xZ): native blockers checked

  5. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    Agent note (repo-worker-code, code-f scheduled lane): triage verdict

    Verified 2026-11-18T08:47Z. #10263 is OPEN and still blocked:

    No implementation started. Resume after 9110-02 and #10233 close, then re-verify B17, B20 and B21.

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

    @dezren39
    MemberAuthor

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

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

  8. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 22, 2026
  9. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked up
    task: 17101
    worker: repo-worker-code
    lane: code-i
    origin: openchamber-scheduled-lane
    stage: native_blocker_preflight

    Claimed for the required B16 native-blocker preflight. Fresh checks: #10263 is OPEN; blockers #10160, #10184, #10210, #10233, and #10249 are all CLOSED. No implementation or production rollout has been started; reviewing whether this triage packet has any remaining required action.

  10. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: done (triaged)
    task: 17101
    worker: repo-worker-code
    lane: code-i
    origin: openchamber-scheduled-lane
    stage: native_blocker_preflight

    Fresh terminal verification: #10263 remains OPEN; all mandatory native blockers are CLOSED: #10160, #10184, #10210, #10233, and #10249. Preflight is complete. No implementation, production rollout, or contingent research was performed; the packet is a triage/preflight task, so implementation remains within the separately approved B16 scope and oracle.

  11. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: done (triaged)
    task: 20965
    worker: repo-worker-code
    lane: code-i
    origin: openchamber-scheduled-lane
    stage: native_blocker_preflight

    Fresh preflight: #10263 is OPEN; all mandatory native blockers are CLOSED: #10160, #10184, #10210, #10233, and #10249. This duplicates the completed preflight recorded on this issue for task 17101 at 2026-11-22T01:05Z; no implementation, production rollout, or contingent research was performed. No repository files 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

    effort/mMedium: expected under 1 day of workpriority/normalOrdinary priority (the default)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions