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 — design(id): relay duplicate + loop handling — inform, short-circuit, dedup, loop-inform · Issue #9145 · developing-today/code

design(id): relay duplicate + loop handling — inform, short-circuit, dedup, loop-inform #9145

New issue
Copy link
New issue
Copy link
Done
3 / 33 of 3 issues completed
Done
design(id): relay duplicate + loop handling — inform, short-circuit, dedup, loop-inform#9145
3 / 33 of 3 issues completed
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingqueue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

Program #9106 (extensible primitives / federation / namespaces), Drew directive 2026-11-12 18:29 CST.
Parent: #9108.

§1. When the same request reaches a host twice (directly from the origin and via a relay that got it from the origin), the receiving host can: inform the users, short-circuit, dedup the query (answer once), and inform the parties this is a loop. Request identity/dedup keys, loop detection state, and which behavior applies when are specified here. Acceptance: design section merged under doc/ (or folded into a named existing design by amendment with the link recorded on the parent epic); open questions recorded with chosen defaults; granular implementation issues filed for anything implementable.

Sub-issues

Collapse Sub-issuesSub-issues

3 of 33 of 3 Issues completed
Loading 3 sub-issues

Activity

  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

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

    CODE-2846

  3. dezren39
    added a parent issue on Nov 13, 2026
    • epic(id): Part B — federation & trust: peer classes, signed data, federated query, reputation #9108
  4. github-actions
    assigned
    dezren39
    on Nov 13, 2026
  5. dezren39
    added sub-issues on Nov 14, 2026
    • Request identity, duplicate-vs-loop classification, finite dedup state and expiry #10184
    • Short-circuit and deduplicate in-flight/answered requests into coherent results #10210
    • Inform requester/parties about duplicates and specifically signal detected loops #10230
  6. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    on Nov 17, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: queue worker (repo-worker-code), lane any-h
    • Session / ID: task 18889
    • Found via: queue claim
    • Verdict: a federation Part B component design (parent epic epic(id): Part B — federation & trust: peer classes, signed data, federated query, reputation #9108, program epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106), routed as a scoped design packet with the issue's acceptance template as the packet's acceptance.
    • Enqueued: task 20337 (dedupe key repo-health:v1:fix:developing-today/code:issue:9145). Bindings: request identity/dedup keys and loop detection state specified; behavior selection fully decided — for each duplicate/loop situation exactly one of inform / short-circuit / dedup / loop-inform applies with its trigger conditions; the packet's tests are the direct-plus-relay worked example (single answer, parties informed) and the negative cases (distinct requests sharing surface features are NOT deduped; a genuine loop terminates via loop-inform). Coordination with federated query fan-out (design(id): federated query fan-out — prioritized remotes, trusted relay, max-hops #9144) is stated as the shared dedup/loop contract only — design(id): federated query fan-out — prioritized remotes, trusted relay, max-hops #9144's design stays its own.
    • Labels: app/id, kind/design, epic/id-program stand; task/small-fix added for the routed packet.
  8. dezren39
    added a commit that references this issue on Nov 17, 2026

    docs(id): correct slice-to-issue mapping in fan-out design (#9144)

    c32850f
  9. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    Agent note (oc-code-05 scheduled lane, task 20337): the relay duplicate and loop design is blocked for Drew's decision. The issue is assigned to dezren39 and has no open PR. I did not start the design without a release. Needed: an owner release or reroute. No changes made.

  10. dezren39
    removed their assignment
    on Nov 20, 2026
  11. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: picked_up
    task: 20337
    lane: oc-code-07 (OpenChamber scheduled lane, worker repo-worker-code)
    stage: claimed -> verified

    Claimed task 20337 and revalidated fresh GitHub state: #9145 and parent #9108, plus coordinating issue #9144, are OPEN; #9145 has no held, user/owned, do-not-merge, or do-not-auto-edit labels; no open PR matching #9145 was found. However, live #9145 is explicitly a kind/design and task/small-fix component-design task. The queue packet describes a design-section merge, coordination with #9144, open-question defaults, and filing implementation issues, but classifies it as small_fix with no work artifact. This is a material packet-kind/scope mismatch; I will not improvise a different task or implement from this packet.

  12. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    on Nov 22, 2026
  13. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: blocked
    task: 20337
    lane: oc-code-07
    stage: packet_defect

    Blocked task 20337 as packet_defect: the queue payload classifies this as small_fix, but fresh issue state shows kind/design, with acceptance requiring a merged design section, coordination with #9144, selected defaults, and implementable follow-up issues. No edits or worktree were created. Resume when the task packet is corrected/reissued with a matching design scope.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · claimed for done-check

    • Agent: Felix (muse), lane felix
    • Task: 21436 (corrected design-scope reissue of task 20337, which was blocked as packet_defect)
    • Doing: mandatory done check first — verifying design(id): relay duplicate + loop handling — inform, short-circuit, dedup, loop-inform #9145's acceptance (merged design section, defaults recorded, granular implementation issues filed) against current main before writing anything, per the pattern that labels lag reality. Findings and disposition follow in this thread.
  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done-check verification record (task 21436, lane felix)

    Verdict: #9145's acceptance is met in fact. No new design was written — writing one would duplicate settled work.

    1. Design section merged under doc/ — YES. The design of record is the Part B versioned design, doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/versioned-design.md: the "Query contract" (request identity) and "Duplicate/replay/cycle state" sections specify, for statements S1.64–S1.72 (mapped to #9145 in the summit index, doc/2026-11-13T00-41-00Z_design_id-atlas-primitives-federation-namespaces/note.md):

    • Dedup keys: request_id derived from origin key + fresh origin nonce + canonical immutable query-binding fields; the verifier recomputes it. Dedup is by request identity, never query text — the same query asked later is a new request.
    • Classification: replay (freshness failure; one nonce mints exactly one ID), duplicate (valid repeated request_id), cycle (only on a signed grant-chain path proving the local peer already visited), BindingConflict (changed binding under an old ID, stateless).
    • Behavior selection: in-flight duplicate attaches to the one work item (short-circuit); completed duplicate returns the deterministic cached outcome, reauthorized under current policy before release (dedup); cache evicted while the request is live → rehydration/resumption against the same reservation only, else ResultEvicted — never a rerun; after origin expiry the query must not rerun; the requester is informed of duplicate/loop status (inform / loop-inform).
    • Loop state / retention: per-relay durable reservation ledger, finite cache and ledger retention, request-binding tombstones retained through origin expiry. Open question recorded with its default in the same design: dedup TTL/capacity = finite config with a bounded hard maximum, tombstone through origin expiry.

    2. Granular implementation issues filed — YES, and landed. Native sub-issues of #9145, each citing the design section above as settled basis:

    • Request identity, duplicate-vs-loop classification, finite dedup state and expiry #10184 (B20, request identity + finite dedup state) — CLOSED; pkgs/id/crates/id-sync/src/federation/slices/b20_request_identity.rs on main.
    • Short-circuit and deduplicate in-flight/answered requests into coherent results #10210 (B21, short-circuit + result dedup) — CLOSED; b21_result_dedup.rs on main.
    • Inform requester/parties about duplicates and specifically signal detected loops #10230 (B22, inform + loop-inform) — implemented by PR id-sync: B22 duplicate notices and signed loop reports #11958, MERGED 2026-11-18T22:43:57Z; b22_loop_inform.rs on main. The issue itself is still open — two prior lanes (tasks 17071, 20966) verified the same landing and left it open. Recommend closing Inform requester/parties about duplicates and specifically signal detected loops #10230 on this record.

    All three modules are declared in the federation slice registry (federation/slices/mod.rs) and reachable from the crate root.

    3. Fresh evidence (2026-11-23): remote run 45250525512 at current main — cargo test --manifest-path pkgs/id/Cargo.toml -p id-sync --test federation_b20 --test federation_b21 --test federation_b22 success; all three test binaries visibly executed in the log: 10 + 11 + 7 = 28 passed / 0 failed, 0 filtered out.

    Remainder: none for #9145. The versioned public-export wiring for the federation slices is program-level work under the #9110 line, not part of this issue's acceptance. Recommend #9145 close on this record; it stays open as the slice tracker until Felix closes it.

  16. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Closed by Felix on the verification record above (comment 7112483185): the design of record (Part B versioned design, statements S1.64–S1.72) and all three implementation slices (#10184, #10210 closed; #10230 via PR #11958) are on main, with fresh remote evidence at current main — run 45250525512, the three federation test binaries visibly executed, 28 passed / 0 failed. No remainder belongs to this issue; the federation slices' versioned public-export wiring is program-level work under #9110.

  17. dezren39
    closed this as completedon Nov 23, 2026
  18. developing-today
    added
    status:done
    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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingqueue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus: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

      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.