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 — id: implement ID messaging and relay protocol v1 (design #2036) · Issue #5534 · developing-today/code

id: implement ID messaging and relay protocol v1 (design #2036) #5534

New issue
Copy link
New issue
Copy link
Open
Open
id: implement ID messaging and relay protocol v1 (design #2036)#5534
Copy link
Labels
epic/id-programReprioritization program epic (2026-11-12)priority/highImportant and time-sensitivestatus:in-review

Description

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

Implementation of an ID design that has not landed yet (partial implementation as of the 2026-11-04 inventory).

Design issue: #2036
Design doc: doc/2026-11-01_design_id2036.md (in developing-today/code)

Acceptance, in brief: the v1 relay protocol as specified in the design, interoperating with the landed messaging layer.
Current state: messaging/envelope layer landed; the v1 relay protocol as specified is not fully landed.

The design documents govern. If implementation shows the design is wrong or incomplete, file a design amendment rather than silently diverging.

Scope: pkgs/id and its tests. Filed 2026-11-04 under Drew's order to begin work on all not-implemented ID designs. Inventory: workspace/goals/keep-the-four-repos-healthy/files/id-design-implementation-inventory-2026-11-04.md (in the fleet workspace).

Activity

Next
  1. developing-today commented on Nov 4, 2026

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

    CODE-1361

  2. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 4, 2026
  3. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-i
    • Session / ID: task 9601
    • Found via: queue claim
    • Task: Handed task 9601 to the opencode execution lane; the laptop claimant launches the bound opencode session for issue id: implement ID messaging and relay protocol v1 (design #2036) #5534 (ID messaging and relay protocol v1, design id: design: ID messaging/relay protocol v1 #2036).
    • Expectation: claimant session drives task 9601 to a terminal state.
    • Links: issue id: implement ID messaging and relay protocol v1 (design #2036) #5534; design id: design: ID messaging/relay protocol v1 #2036
  4. dezren39 commented on Nov 4, 2026

    @dezren39
    dezren39
    on Nov 4, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-p
    • Session / ID: task 9601
    • Found via: queue claim
    • Task: task 9601 — implement design: ID messaging and relay protocol v1 for issue id: implement ID messaging and relay protocol v1 (design #2036) #5534
    • Expectation: execution lane assigned opencode; the laptop claimant launches the bound opencode session, which drives task 9601 to its terminal state. Issue id: implement ID messaging and relay protocol v1 (design #2036) #5534 verified OPEN with no hard-stop labels at claim time (gh access working this shift; the earlier gh-timeout park reason no longer applies).
    • Links: issue id: implement ID messaging and relay protocol v1 (design #2036) #5534
  5. github-actions
    assigned
    dezren39
    on Nov 4, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-g
    • Session / ID: task 9601
    • Found via: queue claim
    • Task: Task 9601 (implement the ID messaging and relay protocol v1 for issue id: implement ID messaging and relay protocol v1 (design #2036) #5534) is assigned to the opencode execution lane; handed off to the opencode claimant, which launches the bound opencode session.
    • Expectation: The bound opencode session drives task 9601 to a terminal state under the queue worker id; if it has not launched by lease expiry, task 9601 returns to the queue.
    • Links: issue id: implement ID messaging and relay protocol v1 (design #2036) #5534, design issue id: design: ID messaging/relay protocol v1 #2036
  7. dezren39
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  8. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: task 9601 · repo-fleet-monitor run 2026-11-04 20:12 CST
    • Found via: monitor reconciliation
    • Task: Claim-evaporation repair: the queue task is queued and unclaimed (its previous claim's lease expired at stage handed_off without complete/park/block), while this issue still carried claimed/assigned labels. Labels have been reset to the truth (queue/queued + status/needs-triage); the task's dead attempt cap was also repaired this run (max_attempts 6 → 12) so it can be claimed again.
    • Expectation: the next lane to claim task 9601 resumes from the task's checkpoint (stage handed_off).
    • Links: queue task 9601 (repo-health-code-pilot)
  9. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-j
    • Session / ID: task 9601
    • Found via: queue claim
    • Task: Claimed task 9601 for issue id: implement ID messaging and relay protocol v1 (design #2036) #5534; execution-lane assignment returned opencode, so this task is handed off to the opencode claimant, which launches the bound opencode session. Checkpointed stage handed_off on task 9601.
    • Links: issue id: implement ID messaging and relay protocol v1 (design #2036) #5534
  10. 268 remaining items

    Load more actions
  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked: lane oc-code-08, queue task 21485

    • Picked up: the next named slice per the newest comment (after PR id: LocalEvents::compact — the node's retention seam (#5534, #2036 §4.6) #13480): wire CHAINED_RELAY_ALPN into the id serve router behind the graph relay gate (acceptance 2/3).
    • Not started: serve.rs builds its router at cmd_serve (about line 1780). The slice needs a RelayGate built from the graph frontier, and PR id: LocalEvents::compact — the node's retention seam (#5534, #2036 §4.6) #13480 (lane/oc-code-02-5534-local-compact) is still OPEN. Starting from an unmerged base would conflict.
    • Park: resume when PR id: LocalEvents::compact — the node's retention seam (#5534, #2036 §4.6) #13480 is merged to main. Parked 3600 s with that ready condition.
    • Evidence: CHAINED_RELAY_ALPN is defined in pkgs/id/crates/id-sync/src/relay_ingest.rs:47. No id serve wiring exists yet.
  12. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · claimed — lane felix, queue task 21485

    • Done check (fresh, against main 1ca64230f): all four phase trackers are CLOSED (id: protocol v1 phase 1 — session header + segment checkpoint event kind (#2036) #3794, id: protocol v1 phase 2 — PoC: intermittent-signature live stream for collaborative editing (#2036) #3795, id: protocol v1 phase 3 — relay envelope + hop records over iroh-gossip for chained messages (#2036) #3796, id: protocol v1 phase 4 — retention and compaction for the event store (#2036) #3797). The messaging/envelope layer and the phase-3 relay pieces are on main (chained_message, relay_gate, relay_ingest, graph_frontier, federation B20–B22). Two production slices are in open PRs from lane oc-code-02: id: LocalEvents::compact — the node's retention seam (#5534, #2036 §4.6) #13480 (LocalEvents::compact, the phase-4 production caller) and id: production ForwardingSink for chained-relay fan-out (#5534) #13746 (production ForwardingSink).
    • Slice I am taking (named, distinct from oc-code-08's parked serve-wiring slice): the structural prerequisite both open PRs and the parked slice name as the blocker — resolve the single-opener event-store constraint. LocalEvents owns EventStore by value; GraphFrontier needs SharedEventStore<EventStore>, and the store directory is single-opener, so id serve cannot build both today. I will convert LocalEvents to hold the node's store as SharedEventStore<EventStore> (the share-the-store option), keep its public API and behaviour unchanged, and add LocalEvents::shared_store() so serve can build a GraphFrontier over the very store LocalEvents writes. This does not do the CHAINED_RELAY_ALPN serve-router wiring itself — that stays oc-code-08's slice, unblocked by this one.
    • Coordination: PR id: LocalEvents::compact — the node's retention seam (#5534, #2036 §4.6) #13480 touches local_events.rs too (adds compact). My PR will note the merge interaction; if id: LocalEvents::compact — the node's retention seam (#5534, #2036 §4.6) #13480 lands first I will merge main in and adapt the one call site rather than rebase.
    • Evidence: remote fleet-command runs only, with executed counts and new tests named in the completion comment.
  13. dezren39
    added a commit that references this issue on Nov 23, 2026

    id: LocalEvents holds the node store through SharedEventStore (#5534)

    18528ff
  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · slice complete — lane felix, queue task 21485

    PR: #13835 — LocalEvents holds the node store through SharedEventStore (unmerged; Felix reviews and merges).

    What it does: the structural prerequisite named by PR #13746 and oc-code-08's parked serve-wiring slice. LocalEvents.store: EventStore → SharedEventStore<EventStore>; all internal uses go through the handle (read lock for reads — one lock for the whole log() walk — and the inherent ingest for writes). New LocalEvents::shared_store() hands out a clone of the handle, so id serve can build the relay gate's GraphFrontier over the very store LocalEvents writes. sync_session now runs over the sync module's RangeStore seam (sync::run generalized; new sync_over_shared entry), locking per step and never across an await — a session no longer blocks the node's other store users behind network waits, and the future stays Send for the serve router. One API exception, documented on the PR: document_references now returns anyhow::Result like the rest of the type (the shared handle's poisoned-lock failure does not fit StoreError); its one production caller only matches Ok/Err.

    Evidence (remote, run 45280393099, success): cargo test -p id-events --lib — 371 passed / 0 failed / 2 ignored; cargo test -p id-sync --lib graph_frontier — 8 passed / 0 failed; cargo test -p id-store --test store_traits — 12 passed / 0 failed; cargo check -p id-cli --all-targets clean. Both new tests verified by name in the log: test_shared_store_handle_reads_and_feeds_the_same_store (handle ⇄ LocalEvents, both directions) and frontier_reads_the_store_local_events_opened (frontier authorizes members, refuses non-members, from the LocalEvents-opened store, undisturbed by a LocalEvents write). The failed first run (45279089735) is recorded on the PR — the write-guard form was not Send; the seam-based form is the fix, not a workaround.

    Remainder of #5534 after this slice: (1) the serve-side CHAINED_RELAY_ALPN wiring itself — oc-code-08's parked slice, now unblocked on the store question (its other ready condition was PR #13480 merging); (2) PR #13480 (LocalEvents::compact) and PR #13746 (ForwardingSink) still open — #13480 touches local_events.rs, so whichever of #13480/#13835 merges second adapts one call site (self.store.compact(..)), noted on both PRs. The umbrella stays open for those.

  15. dezren39
    added 4 commits that reference this issue on Nov 23, 2026

    Merge pull request #13835 from developing-today/felix/5534-messaging-…

    8b73242

    Merge pull request #13746 from developing-today/lane/oc-code-02-5534-…

    6b467b1

    Merge pull request #13480 from developing-today/lane/oc-code-02-5534-…

    b424bdc

    fix(id): LocalEvents::compact through the shared-store write seam (#5534

    d9bb6d4
  16. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Slice landed: PR #14030 merged to main as 6d0eb6b — id serve now serves CHAINED_RELAY_ALPN behind the graph relay gate (acceptance 2/3). Unauthorized traffic is refused at the boundary by the GraphFrontier-backed RelayGate over the nodes shared event store; fan-out uses an empty peer set until serve has a peer-discovery view (recorded in the PR as the remainder).

    Included prerequisite fix (same PR, first commit): the missed #13480/#13835 merge adaptation — LocalEvents::compact through a new SharedEventStore::write seam. Without it main was E0599-broken for everything depending on id-events.

    Verification (laptop fallback path; no Rust CI runs on PR branches in this repo — docs workflows + CodeRabbit/Proof only):

    • cargo test -p id-sync --lib: 254 passed / 0 failed (includes new boundary test relay_ingest::tests::chained_relay_alpn_refuses_non_member_and_delivers_member_with_graph_frontier, verified by name; sensitivity shown by ALPN change failing)
    • cargo test -p id-events --lib compact: 16 passed / 0 failed
    • cargo check -p id-cli --all-targets: clean (warnings only, pre-existing)
    • PR scope: 6 files, slice + fix + docs note only; non-closing; umbrella stays open.
  17. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-check (code-i, 2026-11-26): relay work advanced since the last record. PR #13746 (production ForwardingSink) MERGED 2026-11-24; PR #14030 (serve CHAINED_RELAY_ALPN behind graph relay gate) MERGED 2026-11-24 — acceptance 2/3 done per the completion note. Remainder: serve fan-out uses an empty peer set until serve has a peer-discovery view (recorded on #14030). No new packet from this triage; the next relay slice (peer-discovery view) belongs to installment planning, not coverage triage. Umbrella stays open.

  18. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Triage verdict · lane oc-code-01 (queue task 25340, 2026-11-27)

    • Verdict: return to queue for real work — not a small fix. This is an epic-track implementation (labels epic/id-program, priority/high) being delivered in slices against closed design id: design: ID messaging/relay protocol v1 #2036 / doc/2026-11-01_design_id2036.md.
    • Validation: design issue id: design: ID messaging/relay protocol v1 #2036 is CLOSED; scope pkgs/id exists; issue claims check out.
    • Progress observed: merged slices id: LocalEvents::compact — the node's retention seam (#5534, #2036 §4.6) #13480, id: production ForwardingSink for chained-relay fan-out (#5534) #13746, id: LocalEvents holds the node store through SharedEventStore (#5534) #13835, feat(id): serve graph-gated chained relay ALPN #14030; open slice PR id serve: fan relay frames out to discovered peers #14242 ("Slice 3 of id: implement ID messaging and relay protocol v1 (design #2036) #5534") explicitly notes the issue "remains open for remaining relay/peer lifecycle work".
    • Recommendation: keep status:in-review + priority/high; the pilot queue should carry a real implementation task for the remaining relay/peer-lifecycle scope rather than small-fix triage. No small edit attempted — a closing-keyword merge is not appropriate while slice work is in flight.
  19. dezren39
    added a commit that references this issue on Nov 27, 2026

    id serve: fan relay frames out to discovered peers

    b52d5b6
  20. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-check (oc-code-05, 2026-11-27): PR #14242 (peer-discovery fan-out for chained relay) merged at 02:03Z as 67b4eea. The earlier note saying it was open is superseded; the umbrella #5534 remains OPEN for any further relay/peer-lifecycle criteria. No new implementation task is being created here: the results-first plan explicitly keeps “Messaging and relay protocol v1” in Later until the Track B exit test passes (planning/plans/2026-11-21_results-first.md, row 97). Keep #5534 high priority/in-review and resume only at that named trigger; do not duplicate the closed phase packets or merged slice.

  21. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · 2052-K parked — SUSTAIN bravo lane (queue task 25340, 2026-11-26)

    • Premise + ownership check: read issue + all 97 comments. Issue OPEN, labels status:in-review / priority/high / epic/id-program — no held, user/*, or Drew-gated labels. No other live claim found.
    • Fresh verification: PR id serve: fan relay frames out to discovered peers #14242 id serve: fan relay frames out to discovered peers #14242 MERGED 2026-11-27T02:03:20Z, merge commit 67b4eea (peer-discovery fan-out for chained relay). Prior merged slices id: LocalEvents::compact — the node's retention seam (#5534, #2036 §4.6) #13480, id: production ForwardingSink for chained-relay fan-out (#5534) #13746, id: LocalEvents holds the node store through SharedEventStore (#5534) #13835, feat(id): serve graph-gated chained relay ALPN #14030 stand.
    • Disposition: park queue task 25340. The results-first plan (planning/plans/2026-11-21_results-first.md, row 97, cited in comment 7208284749) keeps Messaging/relay in Later until the Track B exit test passes. No duplicate implementation packet is appropriate before that trigger.
    • Wake / ready condition: Track B exit test passes; then re-assess id: implement ID messaging and relay protocol v1 (design #2036) #5534 relay/peer-lifecycle remainder against merged PR id serve: fan relay frames out to discovered peers #14242 and design id: design: ID messaging/relay protocol v1 #2036.
  22. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-check — no change, parking (lane code-i, queue task 25340).

    Fresh verification: #5534 OPEN, labels status:in-review / priority/high / epic/id-program; updatedAt 2026-11-27T03:02:04Z = last parked note, no new activity since. Merged slices stand (#13480, #13746, #13835, #14030, #14242 merged 02:03Z as 67b4eea); no new PR for #5534 merged since. Results-first plan row 97 still gates Messaging/relay on Track B exit test passing. Verdict stands: return to queue for real work at that trigger, not a small fix. No code 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

    epic/id-programReprioritization program epic (2026-11-12)priority/highImportant and time-sensitivestatus:in-review

    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.