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: complete serve-proxy protocol after codec and mux-credit slices · Issue #14918 · developing-today/code

id: complete serve-proxy protocol after codec and mux-credit slices #14918

New issue
Copy link
New issue
Copy link
In progress
In progress
id: complete serve-proxy protocol after codec and mux-credit slices#14918
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insmeta/protocol-gapAn agent touched this without the required agent-note comment or labels; needs review of whypriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/in-progressQueue worker lifecycle statetask/fixhas a fix task queueduser/reviewNeeds a user-look: Muse reviews first and handles what it can

Description

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

Problem

PR #7666 delivered slice 1 of the serve-proxy implementation: the typed frame codec and local credit primitive. PR #13859 later added mux-level credit accounting. The original issue #7569 is closed, but its acceptance still includes leg establishment, full mux routing/scheduling, keepalive/dead-leg handling, resumption, and the E2E ciphertext-forwarding test; #7666's own body lists these as remaining, and #13859 states it does not wire a live leg.

The #5792 decision record already settles the protocol. This issue tracks the remaining implementation slices without changing its trust, fallback, or E2E decisions. #5798's fleet-surface design is separate.

Remaining acceptance

  • Establish TLS 1.3/TCP legs over HTTP CONNECT where required and the optional WebSocket binary-message adapter where CONNECT is denied; both carry the same typed frames.
  • Map per-leg stream IDs and schedule control, interactive, and bulk streams across the two connection classes without control frames queuing behind DATA.
  • Implement fake-clock keepalive/dead-leg behavior: PING after 25 seconds with ±20% jitter, dead after three unanswered PINGs, and close silent legs into the resume window after 120 seconds.
  • Implement broker-issued identity-bound resume tokens and signed RESUME, per-stream sequence/delivered-up-to vectors, exact replay of the unacknowledged tail, and the five-minute in-memory resume window.
  • Add the E2E test: forward ciphertext between a UDP-denied client leg and server rendezvous leg while proving the broker cannot read plaintext.
  • Preserve the id: design: id broker / serve-proxy role (from #5671) #5792 invariants: no content keys, no payload logging, no disk persistence in v1, no credit overrun, and no duplicate or reordered per-stream delivery.

First slice

Start with leg establishment (TLS/CONNECT and the WebSocket adapter) and a transport-level test that round-trips typed frames through each supported leg. Keep later mux scheduling, keepalive, resumption, and E2E forwarding as separate reviewable slices.

Evidence

  • PR feat(id): serve-proxy wire protocol slice 1 — typed frame codec (#7569) #7666 merged the codec slice only and enumerated the remaining acceptance above.
  • PR feat(id): serve-proxy mux credit accounting for DATA accept and WINDOW_UPDATE (#13694) #13859 merged mux credit accounting but states no live leg is wired yet.
  • Issue id: implement broker / serve-proxy wire protocol per #5792 decision #7569 closed at PR feat(id): serve-proxy wire protocol slice 1 — typed frame codec (#7569) #7666 despite the incomplete acceptance; a closure-review pointer is on audit umbrella Audit programme: seven-lane review of PRs, issues and designs (2026-11-23) #13871.

Activity

Next
  1. dezren39
    added
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    task/fixhas a fix task queued
    on Nov 25, 2026
  2. developing-today commented on Nov 25, 2026

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

    CODE-5418

  3. developing-today-fleet
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 25, 2026
  4. developing-today-fleet commented on Nov 25, 2026

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

    🤖 Agent note · attention: missing agent note

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-25 01:14 CST; queue task 23711
    • Found via: monitor reconciliation (Duty 4 protocol check)
    • Task: This issue is claimed by a queue worker (task 23711, worker repo-worker-code) and now carries queue/claimed + work/assigned + status/in-progress, but no comment on the issue contains the required agent-note:v1 footer. The holding agent did not leave the required agent note — this protocol gap needs a human/Muse review of why the protocol was not followed.
    • Expectation: holder posts a standard agent note at its next transition.
  5. developing-today-fleet
    added
    user/reviewNeeds a user-look: Muse reviews first and handles what it can
    meta/protocol-gapAn agent touched this without the required agent-note comment or labels; needs review of why
    on Nov 25, 2026
  6. 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

    🤖 Agent note · claim: queue task 23711, slice 1 of this issue (serve-proxy transport legs)

    • Agent: archer (Muse lane QD)
    • Session / ID: queue task 23711, lane any-archeroccgdagpdpihlipdphdkfbfcblamhenh, claimed 2026-11-26T11:23:34Z
    • Premise check: read issue + all comments; no live claim by another agent, no held label, no Drew-only decision gate. Codec (feat(id): serve-proxy wire protocol slice 1 — typed frame codec (#7569) #7666) and mux credit (feat(id): serve-proxy mux credit accounting for DATA accept and WINDOW_UPDATE (#13694) #13859) are merged; no live leg exists — premise holds.
    • Plan: new pkgs/id/src/serve_proxy_leg.rs (owned paths only + Cargo.toml/lock wiring): TLS 1.3-only rustls config, HTTP CONNECT tunnel establishment, WebSocket binary-message adapter (one typed frame per message), all carrying the existing serve_proxy codec unchanged. Named-oracle tests serve_proxy_leg_*: typed-frame byte preservation across each leg, 16 KiB DATA cap, malformed/oversized rejection at the boundary. Verify via fleet Actions exec cargo test -p id --lib serve_proxy_leg, then PR + merge under standing authority.
  7. developing-today-fleet
    added a commit that references this issue on Nov 26, 2026

    id: serve-proxy transport legs (TLS 1.3/CONNECT + WebSocket adapter) — …

    71afcfe
  8. 10 remaining items

  9. 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 verdict: the protocol gap is still real; do not close #14918.

    • Landed: typed-frame codec (feat(id): serve-proxy wire protocol slice 1 — typed frame codec (#7569) #7666), mux credit accounting (feat(id): serve-proxy mux credit accounting for DATA accept and WINDOW_UPDATE (#13694) #13859), and TLS/CONNECT + WebSocket legs (id: serve-proxy transport legs — TLS 1.3/CONNECT + WebSocket adapter (#14918 slice 1) #15560; six focused tests passed in Fleet run 45817227960).
    • In flight: draft PR feat(id): serve-proxy keepalive and idle timeouts #15703 adds the id: design: id broker / serve-proxy role (from #5671) #5792 keepalive/dead-leg state machines and five-minute resume window. It is open and not mergeable yet.
    • Still open: per-leg stream-ID mapping and control/interactive/bulk scheduling; identity-bound resume tokens and replay; final ciphertext-forwarding E2E proof. Resumption depends on the keepalive window; E2E follows mux and resume.

    No small typo or isolated fix closes the remaining protocol. Avoid overlapping the active keepalive PR: task 24462 is parked until PR #15703 merges. On wake, revalidate main and the issue, then queue mux routing/scheduling as the next separate feature slice; keep resumption and E2E behind their prerequisites. The issue remains open.

  10. developing-today-fleet
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 26, 2026
  11. dezren39
    added 3 commits that reference this issue on Nov 26, 2026

    test(id): allow test-only unwraps in serve-proxy keepalive tests (#14918

    b71e21e

    style(id): rustfmt the keepalive test allow list (#14918)

    0a38f01

    feat(id): serve-proxy keepalive and idle timeouts (#15703)

    2e2e26c
  12. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    MemberAuthor
    More actions

    Progress from lane 3: the keepalive and idle-timeout slice (decision #5792 §4–5) merged in #15703 as pkgs/id/src/serve_proxy_keepalive.rs.

    • EndpointKeepalive: PING every 25 s ±20% on a quiet leg, reset by DATA or WINDOW_UPDATE in either direction, PING answered with PONG, leg dead after three unanswered PINGs (about 75 s).
    • BrokerIdle: a broker leg with no frame of any kind for 120 s closes.
    • ResumeWindow: open for 5 minutes from leg death.

    Time and jitter are injected, so all 12 tests (including proptests on the jitter band and death timing) run without a clock; clippy is clean. Still open on this issue: wiring these machines into mux routing and the resumption handshake.


    Generated by Claude Code

  13. 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

    Mux scheduling slice opened

    PR #15837 adds the standalone serve-proxy scheduler: FIFO control frames, interactive DATA ahead of bulk DATA, and one-frame-per-stream round robin, with close-stream cleanup and validation. Focused scheduler tests pass 5/5 on the branch after merging current main (Fleet run 45921123329).

    This is a reviewable implementation slice, not completion of the remaining protocol acceptance. Transport wiring and the other listed protocol items remain open; continue the issue after this PR is merged.

  14. 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

    Progress: opened PR #15837 for the mux scheduling slice and verified the focused tests pass 5/5 on the merged-main branch. The issue remains open for transport wiring and remaining protocol acceptance. This task is being returned to the queue to resume after the PR merges; no owner action is required.

  15. 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 update — lane oc-code-04 (task 24462, 2026-11-27)

    Verdict: VALID; keep open and continue with the next implementation slice. The prior resume condition is now satisfied: PR #15837 is MERGED (head 7594bda8f38d4df6809887364c4f259a538025af), adding the standalone scheduler with FIFO control, interactive-before-bulk DATA, and per-stream round-robin. Earlier legs (#15560) and keepalive/idle-timeout (#15703) are also MERGED.

    The scheduler PR does not finish the protocol. Remaining acceptance includes wiring live mux/leg routing and per-leg stream IDs to the scheduler, then identity-bound resumption/replay and the ciphertext-forwarding E2E proof. Recommended next slice: integrate the scheduler and LegRoute into the live mux/leg path with named-oracle tests for control preemption, stream fairness, and close cleanup through that public path. Keep resumption and E2E behind this integration; no design decision or owner action is needed.

  16. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged: queue task 26084 — #14918 remains valid, keep open, no small fix closes it

    • Agent: xaltha (hourly work-loop lane, 2026-11-26 21:41 CST)
    • Session / ID: queue task 26084, lane any-xalthakfnckkeelmbdblpaknikafidpebfbipf, triage follow-on from task 24462
    • Claim check: Read issue + all comments. Prior slices were claimed/landed by other lanes (archer QD id: serve-proxy transport legs — TLS 1.3/CONNECT + WebSocket adapter (#14918 slice 1) #15560, lane 3 feat(id): serve-proxy keepalive and idle timeouts #15703, oc-code-04 feat(id): schedule serve-proxy mux frames #15837); no open PR for serve-proxy resume/wiring was found this run (gh pr list --search "serve-proxy resume OR 14918" --state open = []), and no live claim on the remaining work in the latest comments. 17 sibling xaltha lanes from this hourly run are already in flight, so no duplicate slice was started here.
    • Verified landed: codec (feat(id): serve-proxy wire protocol slice 1 — typed frame codec (#7569) #7666), mux credit (feat(id): serve-proxy mux credit accounting for DATA accept and WINDOW_UPDATE (#13694) #13859), TLS/CONNECT + WebSocket legs (id: serve-proxy transport legs — TLS 1.3/CONNECT + WebSocket adapter (#14918 slice 1) #15560, merged), keepalive/idle-timeout + ResumeWindow (feat(id): serve-proxy keepalive and idle timeouts #15703, merged), mux scheduler (feat(id): schedule serve-proxy mux frames #15837, merged, head 7594bda).
    • Remaining (effort/L, not a small triage fix): (1) wire live mux/leg routing + per-leg stream IDs to the scheduler — recommended next slice, with named-oracle tests for control preemption, stream fairness, close cleanup through the public path; (2) broker-issued identity-bound resume tokens + signed RESUME, per-stream sequence/delivered-up-to vectors, exact replay of unacknowledged tail within the 5-minute window; (3) E2E ciphertext-forwarding test (UDP-denied client leg ↔ server rendezvous leg, broker cannot read plaintext). Preserve id: design: id broker / serve-proxy role (from #5671) #5792 invariants: no content keys, no payload logging, no disk persistence in v1, no credit overrun, no duplicate/reordered per-stream delivery.
    • Verdict: VALID, keep open. No owner/design decision needed. This triage task is parked back to the queue for the live mux/leg wiring slice as the next real work item.
  17. 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

    Progress: landed the first live routing slice in PR #15937. LiveLeg now joins per-leg mux credit with the merged scheduler: DATA is admitted only after both credit windows accept it, controls preempt DATA, and stream close removes credit and queued scheduling state. The named-oracle integration suite covers those behaviors. Local check passed (3 tests); Fleet run #45942576993 is still running. Remaining #14918 acceptance is not complete: the next slice should connect LiveLeg to established ByteStreamLeg / WebSocket transport, then map broker-side IDs across the paired legs. Later work remains for keepalive/dead-leg, resume/replay, and end-to-end ciphertext forwarding.

  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 — task 26084 (lane oc-code-03, 2026-11-27)

    VALID; kept open; next slice returned to the queue as task 26120.

    Fresh check (~05:20Z): slices landing fast — #15560 (legs), #15703 (keepalive), #15837 (scheduler), #15937 (live mux routing, merged 05:14Z) all MERGED. No open serve-proxy PR remains. Remaining acceptance per the latest progress note: connect LiveLeg to established ByteStreamLeg/WebSocket transport, then broker-side ID mapping; resume/replay and E2E ciphertext forwarding after that.

    Enqueued repo-health:v1:slice:developing-today/code:issue:14918:slice-4 (task 26120, queue repo-health-code-pilot): LiveLeg transport connection + broker-side ID mapping, owned paths pkgs/id/src/serve_proxy_leg.rs + serve_proxy_mux.rs, 45-min timebox. Nothing small-fixable here; no duplicate work started.

  19. 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

    oc-code-06 progress: slice 4 is implemented and ready for review in PR #16057. Current main was merged into the branch. Verification passed on the laptop through the Fleet shell: cargo test --manifest-path Cargo.toml --lib live_leg_ (2 passed) and cargo test --manifest-path Cargo.toml --lib paired_leg_stream_ids_translate_both_directions_without_leaking_ids (1 passed); git diff --check origin/main...HEAD is clean. The PR leaves the parent issue open for remaining slices.

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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insmeta/protocol-gapAn agent touched this without the required agent-note comment or labels; needs review of whypriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/in-progressQueue worker lifecycle statetask/fixhas a fix task queueduser/reviewNeeds a user-look: Muse reviews first and handles what it can

    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.