You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id: implement ID messaging and relay protocol v1 (design #2036) #5534
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).
Acceptance criteria
The ID messaging and relay protocol v1 per design id: design: ID messaging/relay protocol v1 #2036 (doc/2026-11-01_design_id2036.md) is fully landed, interoperating with the already-landed messaging/envelope layer.
Tests in pkgs/id cover the relay protocol behaviours the design names (delivery, relay handoff, and refusal cases).
Any divergence from the design is filed as a design amendment, not silently shipped.
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).
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.
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).
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.
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.
🤖 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.
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.
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.
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.
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.
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.
Labels: added app/id, kind/enhancement — the issue carried only status/priority/epic labels. Status in-review and priority/high stand. Acceptance is brief by design (the #2036 doc governs); the stated remainder is that the v1 relay protocol is not fully landed over the landed messaging/envelope layer. Blocker: none named.
STRENGTHS: The design governs explicitly (design id: design: ID messaging/relay protocol v1 #2036, doc/2026-11-01_design_id2036.md), scope is bounded (pkgs/id + tests), and the current state is honestly recorded: messaging/envelope layer landed; the v1 relay protocol as specified is not fully landed. Labels were completed in today's census pass (app/id + kind/enhancement; priority/high + status/in-review stand).
GAPS: The unlanded relay remainder is not sliced anywhere — there is no bounded sub-issue a lane can claim against the design's relay sections, which is why this keeps drawing triage instead of implementation.
FIXES I APPLIED: None needed after today's label completion; this comment records the slicing gap as the pickup blocker.
REMAINS: Next step for whoever picks this up: cut the relay remainder into one bounded slice against the id: design: ID messaging/relay protocol v1 #2036 design doc (name the protocol sections it covers), implement it in pkgs/id with tests naming the design as oracle, and record the slice here. No Drew decision needed.
Gaps found: no standard status/* label (only the legacy status:in-review marker), no effort/* label, and acceptance existed only as a one-line "Acceptance, in brief" — not checkable criteria.
Strengths: design doc and landed-vs-missing state are precise (messaging/envelope layer landed; the v1 relay protocol as specified is not fully landed), amendment-over-divergence rule stated.
Actions: added labels status/needs-review (mirroring the legacy in-review marker in the standard family) and effort/l; appended a ## Acceptance criteria section derived from the body's own ask (original text untouched). Priority unchanged (high).
This issue's acceptance: the ID messaging and relay protocol v1 per design #2036 fully landed, interoperating with the landed messaging/envelope layer; tests in pkgs/id covering the named relay behaviours; divergences filed as amendments, not silently shipped.
Verified firsthand this run (gh CLI, live GitHub + code search on main):
The 2026-11-29 census gap ("the unlanded relay remainder is not sliced anywhere") names no specific design behaviour; tracing design §5 invariants + §6 phases against the landed record above, this lane found no unlanded remainder to slice. The issue body's "not fully landed" line dates from the 2026-11-04 inventory and is superseded by the November landings.
Closing as completed. If a specific design behaviour is later shown missing, it files as its own bounded issue against the design — it does not reopen this umbrella. Priority validation 2252-G: priority/high concurred. Key: 2252-G.
Activity
developing-today commentedon Nov 4, 2026
CODE-1361
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 5, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 5, 2026
🤖 Agent note · handed off
handed_offwithout 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.handed_off).dezren39 commentedon Nov 5, 2026
🤖 Agent note · handed off
opencode, so this task is handed off to the opencode claimant, which launches the bound opencode session. Checkpointed stagehanded_offon task 9601.277 remaining items
developing-today-fleet commentedon Nov 26, 2026
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.
developing-today-fleet commentedon Nov 27, 2026
🤖 Triage verdict · lane oc-code-01 (queue task 25340, 2026-11-27)
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.pkgs/idexists; issue claims check out.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.id serve: fan relay frames out to discovered peers
developing-today-fleet commentedon Nov 27, 2026
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.
developing-today-fleet commentedon Nov 27, 2026
🤖 Agent note · 2052-K parked — SUSTAIN bravo lane (queue task 25340, 2026-11-26)
developing-today-fleet commentedon Nov 28, 2026
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.
dezren39 commentedon Nov 29, 2026
🤖 Agent note · census 2026-11-29 (lane CEN-C03)
Labels: added app/id, kind/enhancement — the issue carried only status/priority/epic labels. Status in-review and priority/high stand. Acceptance is brief by design (the #2036 doc governs); the stated remainder is that the v1 relay protocol is not fully landed over the landed messaging/envelope layer. Blocker: none named.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix):
doc/2026-11-01_design_id2036.md), scope is bounded (pkgs/id + tests), and the current state is honestly recorded: messaging/envelope layer landed; the v1 relay protocol as specified is not fully landed. Labels were completed in today's census pass (app/id + kind/enhancement; priority/high + status/in-review stand).developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: no standard status/* label (only the legacy status:in-review marker), no effort/* label, and acceptance existed only as a one-line "Acceptance, in brief" — not checkable criteria.
Strengths: design doc and landed-vs-missing state are precise (messaging/envelope layer landed; the v1 relay protocol as specified is not fully landed), amendment-over-divergence rule stated.
Actions: added labels status/needs-review (mirroring the legacy in-review marker in the standard family) and effort/l; appended a
## Acceptance criteriasection derived from the body's own ask (original text untouched). Priority unchanged (high).developing-today-fleet commentedon Nov 30, 2026
Claim + resolution — lane 2252-G (Archer, bravo SUSTAIN AUTHOR lane, 2026-11-29; fallback rank 77).
This issue's acceptance: the ID messaging and relay protocol v1 per design #2036 fully landed, interoperating with the landed messaging/envelope layer; tests in pkgs/id covering the named relay behaviours; divergences filed as amendments, not silently shipped.
Verified firsthand this run (gh CLI, live GitHub + code search on main):
session.checkpointevent), id: protocol v1 phase 2 — PoC: intermittent-signature live stream for collaborative editing (#2036) #3795 (live-stream PoC), id: protocol v1 phase 3 — relay envelope + hop records over iroh-gossip for chained messages (#2036) #3796 (chained-message relay envelope + hop records — acceptance re-check PR test(id-sync): run the relay ingest acceptance against the graph-backed frontier #13076 merged, d3bec26), id: protocol v1 phase 4 — retention and compaction for the event store (#2036) #3797 (retention/compaction).pkgs/id/crates/id-store/src/session_checkpoint.rs(+examples/session_checkpoint_poc.rs);pkgs/id/crates/id-sync/src/relay_ingest.rscarrying the graph-frontier acceptance tests (bridge_then_leaf_exchange_with_graph_frontier,removed_member_origin_is_refused_at_ingest_with_graph_frontier,duplicate_arrival_is_suppressed_at_ingest_with_graph_frontier);pkgs/id/crates/id-sync/src/forwarding_sink.rs+tests/forwarding_sink.rs+tests/relay_poc.rs.Closing as completed. If a specific design behaviour is later shown missing, it files as its own bounded issue against the design — it does not reopen this umbrella. Priority validation 2252-G: priority/high concurred. Key: 2252-G.