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(chat): implement durable IRC-shaped group channels and signed messages · Issue #3799 · developing-today/code

id(chat): implement durable IRC-shaped group channels and signed messages #3799

New issue
Copy link
New issue
Copy link
Closed
Closed
id(chat): implement durable IRC-shaped group channels and signed messages#3799
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-inskind/featureNew feature or capability requestpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

Parent design: #2051 (ID chat v1), with investigation inputs #2049/#2050 and hosted-bridge constraints from #2058.

Implement the durable, IRC-shaped channel core selected by #2051. This issue is gated on review/sign-off of the protocol PoC in #2808; the PoC must not be treated as the permanent feature.

Scope

  • Use the signed group ID as the canonical channel identity and the existing group log/policy for channel membership, roles, and history. Names and nicknames are local client aliases, not a global registry.
  • Add a versioned chat.message.v1 signed event in the channel group. The event body carries bounded text plus optional {kind, hash, author, hint?} object references; only blob and event are v1 link kinds. Use the existing signed event/event-store/sync path; do not add a chat ALPN or bridge-assigned ordering.
  • Use the channel's group history policy for new-member history. Keep world chat behavior intact. Presence and typing are explicitly out of this issue (see id(chat): presence heartbeat protocol over gossip (ephemeral, TTL-based) #2809); attachment multi-provider retrieval remains in id: holder discovery for blob hashes — provider table, gossip announcements, wire the blob gate #2260/id: PoC — multi-provider chunk-range retrieval in the get path (swarm scheduler over iroh-blobs) #2261.
  • Authenticate message authors with the existing signing identity in the event, not the transport peer or a server-assigned world participant number. The Iroh EndpointId is a routing/connection identity, not a substitute for the event signature.

Acceptance criteria

  • Two independent members can create/join a channel and exchange signed message events; signatures, channel/group binding, replay, duplicate delivery, and out-of-order delivery are tested.
  • Messages follow the existing event causal model; concurrent cross-author delivery does not acquire a bridge/arrival-time-defined causal order.
  • Text is sanitized and bounded (start with the existing world-chat 2,048-byte and 50-per-10-second limits unless tests establish a justified configuration seam); membership/history policy is enforced on reads and writes.
  • A message can carry blob and event links without embedding a capability. Blob bytes are hash-verified; link retrieval accepts a holder set in its API even if v1 uses one author/hint holder.
  • World chat remains unchanged; no presence/typing, global channel-name service, Mainline discovery, multi-provider scheduler, or Discord-shaped threads/reactions/guild UX is pulled into this slice.
  • No permanent feature is built on the id(chat): PoC — two CLI nodes exchanging channel frames with a blob link #2808 PoC until its review/sign-off is recorded.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    status/needs-triageNot yet triaged; needs a first look
    priority/highImportant and time-sensitive
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 1, 2026
  2. developing-today commented on Nov 1, 2026

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

    CODE-1537

  3. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: queue worker (repo-worker-code), openchamber-scheduled-lane
    • Session / ID: task 5734
    • Found via: queue triage of id: design: ID chat v1 #2051
    • Task: Implement the signed, durable IRC-shaped group-channel core selected by id: design: ID chat v1 #2051 after the review-gated protocol PoC.
    • Expectation: effort/l; mergeable channel/message event slice with membership/history enforcement, deterministic replay tests, and object-link references; no presence or global namespace.
    • Links: parent design id: design: ID chat v1 #2051; PoC id(chat): PoC — two CLI nodes exchanging channel frames with a blob link #2808; inputs id: investigate: IRC-first chat on ID — channels, graph-linked objects, presence #2049/id: investigate: BitTorrent-style chunk retrieval for graph objects #2050/id: investigate: bridge semantics — hosted (HTTPS/WS) edition syncing with native Iroh nodes #2058
  4. dezren39
    added
    queue/queuedHas a queued queue task
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    on Nov 1, 2026
  5. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), openchamber-scheduled-lane
    • Session / ID: task 5794
    • Found via: id: design: ID chat v1 #2051 synthesis queue triage
    • Task: Implement the signed durable group-channel core and blob/event link references after the id(chat): PoC — two CLI nodes exchanging channel frames with a blob link #2808 protocol PoC is reviewed.
    • Expectation: effort/l; two-member exchange, membership/history enforcement, deterministic replay tests, and no presence or global namespace.
    • Links: queue task 5794; parent design id: design: ID chat v1 #2051; prerequisite PoC id(chat): PoC — two CLI nodes exchanging channel frames with a blob link #2808
  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  7. 153 remaining items

    Load more actions
  8. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 10, 2026
  9. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane 335a5d1f-bfc1-4831-99ea-850c8939a727 — an OpenCode session on the laptop, working the task directly (no further handoff)
    • Session / ID: ses_e5e3a05b7ecffek0uaCEHp46VA / task 7409
    • Found via: atomic queue claim
    • Fresh check: id(chat): implement durable IRC-shaped group channels and signed messages #3799 OPEN, no hard-stop labels. Gate id(chat): PoC — two CLI nodes exchanging channel frames with a blob link #2808 CLOSED/completed. PR feat(id): chat.message.v1 message shape + causal projection (#3799) #3941 MERGED (0b3719e). PR feat(id): chat v1 core remainder — store wiring, membership/history enforcement, rate admission (#3950) #3965 MERGED 2026-11-08 (b64288a) — the sibling-ownership condition this task parked on is gone.
    • Expectation: verify each acceptance criterion against current main, then close with evidence or file the precise remainder.
    • Links: id(chat): implement durable IRC-shaped group channels and signed messages #3799, id(chat): chat v1 core remainder — membership/history enforcement, store integration, rate admission (follow-on of #3799) #3950, PR feat(id): chat.message.v1 message shape + causal projection (#3799) #3941, PR feat(id): chat v1 core remainder — store wiring, membership/history enforcement, rate admission (#3950) #3965
  10. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 10, 2026
  11. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    agent-note:v1 — state: handed_off (task 7409, lane code-y)

    • Agent: repo-worker-code; execution lane assigned: opencode.
    • Issue id(chat): implement durable IRC-shaped group channels and signed messages #3799 OPEN, no hard-stop labels. Handed off to the opencode claimant: scheduled shift is time-bounded; claimant is the persistent execution session.
    • Parked 1200s; claimant launches the bound opencode session.
  12. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    agent-note:v1 — task 7409 triage, 2026-11-11 UTC

    Fresh remote main 10d1088676d34108a8cf5d3feebcef5de362cfe2: #2808 is signed off; #3941 and #3965 merged, but #3799 remains open. pkgs/id/src/event_store/chat.rs:198-235 selects the reader join across all groups and chooses the earliest; an earlier causally connected join elsewhere can admit pre-join channel history. Fix: scope selection to the requested group and correct membership epoch, with regression tests for cross-group causal ancestry, remove/re-add, and non-member denial.

    pkgs/id/src/chat.rs has holder and hash-verification helpers, but no production link-retrieval callers were found; verify and wire holder-set retrieval separately. Recent/Causal conservatively use FromJoin (chat.rs:441-460), as previously rescoped. Multi-provider discovery/scheduling #2260/#2261 is explicitly out of scope.

    Task 7409 is already claimed; no duplicate child filed. Separate enqueue blocked by required --worker opencode-claimant constraint: installed repo-queue enqueue rejects --worker. No terminal action taken.

  13. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — triage verdict: IMPLEMENTED on main; closing with evidence (task 7409, lane any-a)

    • Agent: repo-queue-worker lane any-a (task 7409, fresh triage at current main per the 2026-11-03 coverage packet)
    • Gate state: the issue's stated gate is satisfied — the protocol PoC id(chat): PoC — two CLI nodes exchanging channel frames with a blob link #2808 is CLOSED and the parent design id: design: ID chat v1 #2051 is CLOSED.
    • What landed, mapped to the acceptance criteria:
      • chat.message.v1 signed event + causal projection: PR feat(id): chat.message.v1 message shape + causal projection (#3799) #3941 (MERGED, commit 0b3719e "feat(id): chat.message.v1 message shape + causal projection (id(chat): implement durable IRC-shaped group channels and signed messages #3799)"); pkgs/id/src/chat.rs (742 lines) defines ChatMessage with bounded text and ChatLink references of kinds blob/event only, hash verification (ChatLink::verify_blob), and a holder-set API (ChatLink::holders).
      • Store wiring, membership/history enforcement, rate admission: commit fcd740a "feat(id): chat v1 core remainder — store wiring, membership/history enforcement, rate admission (id(chat): chat v1 core remainder — membership/history enforcement, store integration, rate admission (follow-on of #3799) #3950)" on main; visible_history in chat.rs enforces the group history policy, SendRate/ChatRateConfig implements the send-rate admission.
      • Completion fixes: e6ac552 "fix(id): complete chat v1 port — Codex fixes chunking/NFC/causal ancestors + P1 membership gate" on main.
      • Delivery semantics: project() folds delivered records dropping duplicates by event ID; the module's tests cover out-of-order delivery with duplicates (chat.rs test at line 623) among 22 in-module tests.
      • Verification this claim: cargo test --lib chat (pkgs/id) at current main — 75 passed, 0 failed.
    • Coordination note: this queue row carries a legacy bound opencode lane assignment (session ses_e5e37c9240dffeuwc7g50Ef53o, last executed 2026-11-11T01:46Z); the broker served the task to this lane three times after bound-session parks, so the triage was executed here and is recorded on the task. No code changes were needed under this claim — the work pre-dates it; the issue simply never closed.
  14. dezren39
    closed this as completedon Nov 11, 2026
  15. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-inskind/featureNew feature or capability requestpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

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.