GeezerVison is showing github.com — id(phase-14): Discovery, registry & federation — v2 — design: the public registry endpoint · Issue #10712 · developing-today/code
id(phase-14): Discovery, registry & federation — v2 — design: the public registry endpoint #10712DescriptionDiscovery, registry & federation — v2 — design: the public registry endpoint
Part of the Phase 14 core topic #6277 (Discovery, registry & federation). Previous steps: v1 design #6287 (record doc/2026-11-16_design_id6287_discovery_registry_federation_v1.md, PR #10703) and the v2 outline #6288 (refined outline posted there 2026-11-16).
Scope (from the #6288 outline)
Design the public registry as a presentation + query layer over the v1 signed-list registry protocol, operated first on the hosted instance's curated registry and hostable by anyone over their own registry list:
- Browsing and search/filters over a registry's own entries (name/description text; tag, occupancy, visibility filters) computed over the local copy of subscribed lists — no central index.
- Freshness/decay derived mechanically from announcement fields (expires_at ≤ 7 days, heartbeat republication at half lifetime, monotone seq): expired = void; any soft demotion before expiry is this step's decision.
- Quality signals restricted to verifiable, non-gameable ones (curator inclusion by named registries, tombstone-history transparency, republication continuity). Popularity metrics are out of scope unless a gaming-resistant design is produced — v1 §12 excluded ranking/recommendation deliberately; this step either reconciles with that exclusion or overturns it with reasons.
Entry condition
The v1 implementation items this layer stands on have landed: the registry list format + reference publisher with mirror tooling, and the client registry-subscription setting (items 3 and 5 of the v1 record §11 breakdown, filed from #6287).
Deliverable
A v2 design record (doc/ PR, the #6287 pattern): the query-layer design, the freshness/decay functions, the signal set with its gaming analysis, multi-registry disagreement semantics (union/intersection for search across subscribed registries), and the listing display rules that keep names-as-claims honest (key provenance surfaced). Open questions answered or explicitly deferred, and the implementation breakdown filed from the record.
Drew's Phase 14 principles (#1240) govern: local-first always; hostable by anyone at any scale; p2p behavior identical to hosted behavior; our hosted instance is the public backstop, never a requirement. Activitydeveloping-today commented on Nov 16, 2026 dezren39 commented on Nov 17, 2026
Agent note — triage, dependency-gated (task 19355, lane any-m, 2026-11-17)
State: triaged; task dep-blocked on the issue's own stated entry condition.
- Fresh state: issue id(phase-14): Discovery, registry & federation — v2 — design: the public registry endpoint #10712 OPEN (labels kind/feature, app/id, epic/id-platform, design/id-phase-14, epic/id-program; no held / user/owned / do-not-merge / do-not-auto-edit labels, no priority label). It is the v2 design step for the public registry endpoint, following the v1 design id(phase-14): Discovery, registry & federation — v1 — first-iteration design #6287 (CLOSED, record merged) and the v2 outline id(phase-14): Discovery, registry & federation — v2 — outline: the public registry #6288 (CLOSED).
- Entry condition, checked fresh this run: the issue states the v1 implementation items this layer stands on must have landed — item 3 of the id(phase-14): Discovery, registry & federation — v1 — first-iteration design #6287 record §11 breakdown (registry list format + reference publisher with mirror tooling) and item 5 (client registry-subscription setting). Those are issues id(phase-14): registry list format + reference publisher and mirroring (#6287 breakdown 3/5) #10707 and id(phase-14): client discovery settings — registry subscription, visibility scopes, relay-required (#6287 breakdown 5/5) #10709, and BOTH are still OPEN. Items 1 (id(phase-14): announcement schema + signing in id-sync (#6287 breakdown 1/5) #10705) and 2 (id(phase-14): publish-to-pkarr for world announcements (#6287 breakdown 2/5) #10706) are also OPEN, so the chain upstream of this design has not landed either. The entry condition is not met; starting the v2 design now would design a query layer over a registry protocol that does not exist yet.
- Triage verdict: work kind is design (a v2 design record, the id(phase-14): Discovery, registry & federation — v1 — first-iteration design #6287 doc-PR pattern); priority/high (the ID design tracks are Drew's standing priority line 2 in the priorities brief, and sibling id(phase-14): registry list format + reference publisher and mirroring (#6287 breakdown 3/5) #10707 was triaged priority/high); effort/l (a full design record with gaming analysis and an implementation breakdown).
- Routing: task 19355 is dep-blocked structurally on issues id(phase-14): registry list format + reference publisher and mirroring (#6287 breakdown 3/5) #10707 and id(phase-14): client discovery settings — registry subscription, visibility scopes, relay-required (#6287 breakdown 5/5) #10709 (broker rechecks every 15 min; TTL 3 days) — when both close, the task returns to the pool and the design proceeds. No duplicate packet: this issue IS the design packet once its gates land.
developing-today-fleet commented on Nov 27, 2026
Agent note — task 19355 triage (lane oc-code-01): #10712 entry gate now satisfied
- Fresh verification 2026-11-27T04:08Z: id(phase-14): Discovery, registry & federation — v2 — design: the public registry endpoint #10712 OPEN, no hold labels, no PRs (verify-disposition invalid_no_work, pulls []).
- Entry condition (v1 items 3 + 5 of id(phase-14): Discovery, registry & federation — v1 — first-iteration design #6287 §11): item 3 id(phase-14): registry list format + reference publisher and mirroring (#6287 breakdown 3/5) #10707 CLOSED (registry list format + reference publisher); item 5 id(phase-14): client discovery settings — registry subscription, visibility scopes, relay-required (#6287 breakdown 5/5) #10709 CLOSED 2026-11-27T02:59:55Z as implemented — settings PR id-sync: client discovery settings slice (#10709) #14671 MERGED e41e9da, join-flow follow-up id(phase-14): wire ClientDiscoveryConfig into discovery resolver join flow (#10709 follow-up) #15646 CLOSED via PR feat(id-sync): apply client discovery settings on the join path (#15646) #15694 MERGED e19373b. Supporting resolver id(phase-14): discovery resolver — invite link, pkarr, registries in order (#6287 breakdown 4/5) #10708 CLOSED.
- Prior triage parked on id(phase-14): client discovery settings — registry subscription, visibility scopes, relay-required (#6287 breakdown 5/5) #10709 closure; that blocker is now gone.
- Routing: no duplicate packet — id(phase-14): Discovery, registry & federation — v2 — design: the public registry endpoint #10712 IS the v2 design issue (query layer, freshness/decay, signals + gaming analysis, multi-registry semantics, display rules). Next worker routes/claims the self-contained v2 design record work from this issue.
- No code, worktree, or build started by this triage pass. Part of id(phase-14): Discovery, registry & federation — v2 — design: the public registry endpoint #10712.
developing-today-fleet commented on Nov 27, 2026 Triage disposition — 2026-11-27: the v1 entry gate is satisfied (#10707 and #10709 closed; supporting resolver #10708 closed). #10712 remains OPEN, has no hold labels, and has no linked PR. This issue is itself the v2 design packet, so no duplicate GitHub issue is needed. Routed the documentation-only v2 design work as queue task 26098 in repo-health-code-pilot; it covers the query/presentation layer, freshness/decay, verifiable signals and gaming analysis, registry disagreement semantics, key provenance, popularity/ranking reconciliation, and an implementation breakdown. It is explicitly sequential behind claimed triage task 26089. No runtime implementation is included. developing-today-fleet commented on Nov 27, 2026 v2 design record landed (task 26098, lane code-h)
Design PR: #15943 — doc/2026-11-27_design_id10712_public_registry_endpoint_v2.md (docs-only; branch code-h/10712-public-registry-v2-design). Follows the #6287 pattern and decides all five #6288 open questions: conjunctive query layer over subscribed list copies with fixed ordering; hard-expiry-only freshness; list-computable signals only (popularity excluded, v1 §12 upheld with gaming analysis); union-of-worlds with per-registry attribution; mandatory key provenance with lookalike flags. Implementation breakdown is in-record (§13) for separately scoped follow-on work — no code authorized here.
Entry gate revalidated at design time: #10707 and #10709 CLOSED (registry publisher + client settings landed in registry.rs/discovery_client.rs/discovery_resolver.rs), #1068 CLOSED (portal grants; inclusion never overrides a grant), #1067 still OPEN (endpoint operation only). developing-today-fleet commented on Nov 27, 2026
Agent note — lane 2322-C (PRESS delta QUEUE, 2026-11-26 23:22 CST): task 26098 completed, merged_verified
developing-today-fleet commented on Nov 28, 2026
Agent note — lane code-f: #10712 slice 1 PR open (#16417)
- Slice: v2 §13.1 first step —
search_filtered() in discovery_resolver.rs: exact Occupancy filter conjunctive with the text match, text match extended to description + name. search() unchanged behavior (delegates, no occupancy). Evidence: cargo test -p id-sync --lib -- discovery_resolver discovery_join registry → 29 passed, 0 failed; fmt clean. Oracle: golden vectors over fixture lists.
- PR: feat(id-sync): occupancy + description registry search filters (#10712) #16417 (branch
code-f/10712-registry-search-filters).
- Next slice after this merges: multi-list attribution payloads (§13.1 remainder — per-registry listed/delisted/silent attribution on each row), in the same "after this PR,
<command> shows <result>" form.
- Key: code-f
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|