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 — docs(id): design federated query fan-out (#9144) by dezren39 · Pull Request #11411 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 17, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Design record for #9144 (epic #9108, program #9106, section 1): federated query fan-out for ID servers.

Lands doc/2026-11-17T15-40-00Z_design_id_federated_query_fanout/.

Covers, per the issue acceptance:

  • local store first, then a prioritized remote list in configured order, with the ordering and configuration surface stated (list shape, priority, eligibility, negative-answer semantics);
  • trusted-relay recursion with relay permission as a peer-class property, max_hops default 3 / ceiling 8, signed grant-chain path for loop and duplicate detection, breadth × depth bounded by a per-query reserve vector;
  • signature and validation at every hop, with the existing relay_gate.rs gate sequence cited as the precedent;
  • end-to-end responder signature plus per-hop provenance (ProvenanceEntry with status, path, receipts) and its requester-facing presentation;
  • deadline, timeout and partial-answer behaviour (complete/partial, unanswered_peers[], truncation honesty inherited from v1 §8);
  • compatibility: empty remote list is the v1 local path, new answer fields are additive;
  • open questions Q1–Q6 with the default chosen for each, and what this record does not decide.

Relationship to existing records: it extends doc/2026-11-08T06-45-00Z_design_id_query_local_remote_v1/ and the Part B V3 query contract in doc/2026-11-13T03-40-00Z_design_id_atlas-summit/part-b/versioned-design.md, contradicting neither.

Statement coverage: every S1.47–S1.63 statement maps to a filed sub-issue (#10229 S1.47–S1.53, #10263 S1.54–S1.57 + S1.61, #10249 S1.58–S1.62, #10264 S1.63, #10250 the V2 receipt schema). Three scopes the analysis found uncovered are recorded as proposed follow-on scopes rather than filed here, per the dispatch rule against filing unrequested issues: the fan-out config keys (owner #9111), deadline/timeout/completeness semantics, and requester-facing provenance presentation.

Docs-only; no code, no build.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-tmp-code-b
docs(id): design federated query fan-out (#9144)
af783b6
Adds a dated design record for S1.47-S1.63: local-first answering,
prioritized remotes in configured order, trusted-relay recursion with a
max-hops bound, per-hop signature validation and provenance, deadline
and partial-answer semantics, the config surface #9111 must own, and
open questions with chosen defaults.

Extends the v1 local/remote query contract and the Part B V3 query
contract without changing either. Maps every statement to the filed
sub-issues (#10229, #10249, #10250, #10263, #10264) and records the
three uncovered scopes as follow-on proposals.
@dezren39
dezren39 requested a review from a team as a code owner November 17, 2026 21:43
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5eee99fc-28b5-41f3-8fcd-614601bd870d
Commits

Reviewing files that changed from the base of the PR and between b4b6a1b and a8a90f4.

Files selected for processing: 1

  • doc/2026-11-17T15-40-00Z_design_id_federated_query_fanout/2026-11-17T15-40-00Z_design_id_federated_query_fanout.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T21:52:07.981870Z a8a90f4 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

repo-worker-tmp-code-b
docs(id): correct slice-to-issue mapping in fan-out design (#9144)
c32850f
B16 is the trusted-relay/max-hop slice (#10263) and B17 the signature and
provenance slice (#10249); the earlier table had those two swapped. Also
records that S1.64-S1.72 duplicate/loop statements and slices B20-B22 are
owned by #9145, not this design.
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 17, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: af783b68c5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...0Z_design_id_federated_query_fanout/2026-11-17T15-40-00Z_design_id_federated_query_fanout.md
Comment on lines +238 to +240
- `complete` — every eligible remote in the list answered, or the limit was
reached before the list was exhausted (with `stop_at_limit`). This is an
explicit claim, scoped to the eligible remotes at the time of the query.

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 17, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve partial completeness when stopping at the result limit

When stop_at_limit stops the query before all eligible remotes are queried, this rule marks the response complete even though additional matches may remain within the claimed scope. That contradicts §7.2’s requirement to return partial whenever an eligible remote was not asked to completion, as well as §7.4 and the retained v1 §8 prohibition on presenting limit-truncated results as complete. Keep this case partial/truncated, or introduce a separate limit-satisfied indicator instead of asserting completeness.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
repo-worker-tmp-code-b added 2 commits November 17, 2026 15:47
repo-worker-tmp-code-b
docs(id): tie fan-out deadlines to the timeout contract and B30 (#9144)
a884161
A relay's outbound work is an invocation under the cooperative timeout
contract, and the fan-out answer keeps finished peers rather than
discarding them. Completeness claims are qualified by the federated-search
tampering threat model (B30, #10279). Follow-on scope 2 is now filed as a
new #9144 child; scopes 1 and 3 attach to #9111 and #10249.
repo-worker-tmp-code-b
docs(id): link follow-on scope 2 to #11414 (#9144)
a8a90f4
This was referenced Nov 17, 2026
design(id): federated query fan-out — prioritized remotes, trusted relay, max-hops #9144
Closed
epic(id): Part B — federation & trust: peer classes, signed data, federated query, reputation #9108
Closed
design(id): modes & configuration surface — modes, link kinds, storages, tiering as config #9111
Open
Query/relay/response signature validation, end-to-end responder provenance and stable request identity #10249
Closed
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 17, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a8a90f4a4c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...0Z_design_id_federated_query_fanout/2026-11-17T15-40-00Z_design_id_federated_query_fanout.md
Comment on lines +249 to +251
- `complete` — every eligible remote in the list answered, or the limit was
reached before the list was exhausted (with `stop_at_limit`). This is an
explicit claim, scoped to the eligible remotes at the time of the query.

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 17, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Propagate partial completeness from relay responses

When a trusted relay returns a partial answer because one of its downstream peers timed out or exhausted its budget, every direct remote can still have “answered,” satisfying this definition of complete at the origin. Preserving the responder's signed bytes (§6.2) does not prevent the aggregate envelope from incorrectly upgrading that partial response. Require affirmative completeness for each contributing remote's claimed scope and propagate downstream partial outcomes into the aggregate marker and unanswered-peer reporting.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions github-actions Bot assigned dezren39 Nov 18, 2026
@dezren39
dezren39 merged commit 69907e7 into main Nov 18, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/20336-9144-id-fanout branch November 18, 2026 05:03
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.