GeezerVison is showing github.com — id(phase-14): publish-to-pkarr for world announcements (#6287 breakdown 2/5) · Issue #10706 · developing-today/code
id(phase-14): publish-to-pkarr for world announcements (#6287 breakdown 2/5) #10706DescriptionImplementation breakdown item 2 of 5 from the discovery/registry/federation v1 design record for #6287 (doc/2026-11-16_design_id6287_discovery_registry_federation_v1.md, §4, merged in PR #10703).
Scope: publish a world's §3 announcement as the BEP44 mutable item for its key via the fleet's existing pkarr path (pkgs/pkarr-worker / id-sync dht surface): republish on change plus heartbeat republish at half the record's effective lifetime. The custody rule is enforced by construction: publishing requires the world key held by the operator; no registry-side component ever handles a world key.
Acceptance: a world published from a self-host appears in pkarr resolution by world_id; heartbeat keeps it resolvable past one record lifetime; a stopped world's record fades.
Parent: #6287 · Design: doc/2026-11-16_design_id6287_discovery_registry_federation_v1.md §4 · Depends on the announcement schema item. Activitydeveloping-today commented on Nov 16, 2026 dezren39 commented on Nov 17, 2026 agent-note:v1 — state: triaged, lane any-h, task 19351, at 2026-11-17T07:15Z
Triage verdict for #10706 (id phase-14: publish-to-pkarr for world announcements, #6287 breakdown 2/5):
- Work kind: task/small-fix (implementation). Priority: priority/high — ID program design tracks are Drew's priority line 2 in the ratified priorities brief, and this is a ratified-design implementation slice (design record for parent id(phase-14): Discovery, registry & federation — v1 — first-iteration design #6287 merged in PR docs(id): discovery, registry & federation v1 design record (#6287) #10703; id(phase-14): Discovery, registry & federation — v1 — first-iteration design #6287 itself is CLOSED). Effort: effort/m. Kind: kind/enhancement.
- Fresh evidence checked this run: id(phase-14): publish-to-pkarr for world announcements (#6287 breakdown 2/5) #10706 is OPEN, no hard-stop labels. Scope and acceptance are fully specified in the issue body from design doc/2026-11-16_design_id6287_discovery_registry_federation_v1.md section 4. First concrete step: implement the BEP44 mutable-item publish via the existing pkarr path (pkgs/pkarr-worker / id-sync dht surface), republish on change plus heartbeat at half the record's effective lifetime, custody by construction (operator-held world key only).
- Dependency (named in the issue): the announcement schema item — id(phase-14): announcement schema + signing in id-sync (#6287 breakdown 1/5) #10705 (breakdown 1/5) is OPEN, fresh-checked this run. The follow-on packet carries this dependency explicitly: its claiming lane dependency-blocks on id(phase-14): announcement schema + signing in id-sync (#6287 breakdown 1/5) #10705 if it is still open at claim time.
- Routing: implementation follow-on enqueued as task 20678 (queue repo-health-code-pilot, priority 20, dedupe repo-health:v1:fix:developing-today/code:issue:10706). Acceptance: self-host-published world resolves by world_id via pkarr; heartbeat keeps it resolvable past one record lifetime; a stopped world's record fades; no registry-side component ever handles a world key.
dezren39 commented on Nov 17, 2026 agent-note:v1
state: blocked
task: 20678
lane: code-g
stage: packet_defect
Blocked before implementation: the landed announcement module signs canonical CBOR, while the existing pkarr-worker PUT path accepts BEP44-signed DNS packets. The issue/design does not specify the announcement-to-DNS value encoding, self-host relay endpoint/configuration, or the world lifecycle hook for change and half-lifetime heartbeat publishing. Meanwhile id-sync dht.rs only configures iroh endpoint address lookup. Implementing now would invent interoperability and lifecycle behavior. Please specify those contracts; then resume task 20678. No files changed. Branch/worktree are preserved at queue/20678-10706-publish-pkarr / ~/git/fleet/queue-20678-10706-publish-pkarr. dezren39 commented on Nov 25, 2026 Claimed by lane 4, 2026-11-25T03:05Z.
The packet-defect block from 2026-11-17 names three missing contracts. I'm writing them as a short design addendum, with a stdlib reference and known-answer vectors, and will then implement against it:
- How the announcement is encoded into the pkarr DNS packet (
pkgs/pkarr-worker accepts only signature ‖ timestamp_micros ‖ dns_packet).
- How self-hosts configure relays and the DHT.
- The lifecycle hook for publishing on change and the half-lifetime heartbeat.
#10705 and #10707 are closed. #10708 is waiting on this issue.
Generated by Claude Code dezren39 commented on Nov 25, 2026 Landed in #14824: the pkarr encoding from the #14823 addendum, a heartbeat publisher, relay sinks, and id world announce / id world lookup. announce --watch republishes at half the effective lifetime, and a stopped world's record expires. Wiring the publisher into id serve waits on worlds holding an ed25519 world key; until then the CLI is the operator path. The resolver for #10708 is in #15047.
Generated by Claude Code
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|