Title: id(transport): transport designs · Issue #536 · developing-today/code · GitHub
Open Graph Title: id(transport): transport designs · Issue #536 · developing-today/code
X Title: id(transport): transport designs · Issue #536 · developing-today/code
Description: What and why Designs and research for how frames and journals move between nodes and clients: delta frames, replication, SSH as a frame transport, SSH/iroh tunnelling and multi-server topology. Ticked when the design or research package ...
Open Graph Description: What and why Designs and research for how frames and journals move between nodes and clients: delta frames, replication, SSH as a frame transport, SSH/iroh tunnelling and multi-server topology. Tic...
X Description: What and why Designs and research for how frames and journals move between nodes and clients: delta frames, replication, SSH as a frame transport, SSH/iroh tunnelling and multi-server topology. Tic...
Opengraph URL: https://github.com/developing-today/code/issues/536
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(transport): transport designs","articleBody":"## What and why\n\nDesigns and research for how frames and journals move between nodes and clients: delta frames, replication, SSH as a frame transport, SSH/iroh tunnelling and multi-server topology. Ticked when the design or research package is committed and an implementation issue exists.\n\n## Items\n\nEach box is done when the design (or research package) is committed and an implementation issue is linked here.\n\n- [x] **D1-029 — F12.11 Delta and binary frames with resume tokens** (L, design)\n Screen patches as cell runs, optional binary encoding and compression, and resume tokens so a reconnecting client gets a patch; target: a typical redraw under 10% of the F11.9 full-frame size, plus a parity test.\n - Status: delivered (design criterion). Decision-ready design committed as doc/2026-11-01_design_id805.md; implementation issue #805 (F12.11) linked and open in its own scope. Prerequisite #542 verified CLOSED. (Verified 2026-11-10, task 14072.)\n - Source: .opencode/plans/phase-12-platform-flexibility.md:50; .opencode/plans/phase-12-platform-flexibility.md:22\n - Prerequisites: #542 — D1-009 F11.9 Bytes-per-frame baseline table\n- [x] **D1-031 — F12.13 Journal replication to signed read replicas** (XL, research package)\n Read replicas follow a single-writer world journal over a signed stream, serve spectators and survive writer downtime; tampered streams are refused; the F11.12 format rules apply.\n - Status: delivered (research-package criterion). Research package committed via PR #8319 (merged, fef0288bfd): doc/2026-11-10T21-50-00Z_research_id806_d1-031-journal-replication/ plus concept C013 in doc/2026-11-03T00-05-09Z_research_phase-12-package-534/concepts/; decision-ready design doc/2026-11-01_design_id806.md; implementation issue #806 linked, its phases 1-4 merged (PR #4447, #4589, #4634, #4708). Prerequisites: #227 verified CLOSED; #534 (Phase 12 tracking issue; D1-024 lives there as concept C005) verified CLOSED. (Verified 2026-11-10, task 14072.)\n - Source: .opencode/plans/phase-12-platform-flexibility.md:55\n - Prerequisites: #227 — D1-012 F11.12 Journal format version header, check and backup commands, #534 (tracking issue) — D1-024 F12.6 Structured audit log with OpenTelemetry export\n- [x] **D1-050 — SSH as a transport for the frame protocol (`id world join --via ssh`)** (L, research package)\n Run the ClientFrame/ServerFrame JSON protocol over an SSH exec channel for constrained networks and jump hosts. Today SSH is only a human presentation adapter, and the CLI speaks frames over iroh QUIC.\n - Status: delivered. Implemented by #784 (F13.2, CLOSED/COMPLETED) via PR #842 (merged): `--via ssh` at pkgs/id/src/cli.rs:1774 and pkgs/id/src/commands/world.rs:921; ssh-exec transport at pkgs/id/contract/shell-contract.v1.json:19; `WORLD_EXEC_COMMAND` accepted at pkgs/id/src/world_ssh.rs:369 (evidence at main 1e3763faf, verified 2026-11-03).\n - Source: RPT §13 'How id connects today'; RPT §16 Q5\n - Prerequisites: D1-049 Two SSH channels on one connection (game stream + command channel) (dropped, not filed)\n- [x] **D1-051 — SSH-over-iroh reachability (and iroh-over-SSH fallback)** (L, research package)\n Give third-party SSH clients reachability to NAT'd `id` hosts by tunnelling SSH over iroh (tailnet-like); iroh-over-SSH only where UDP is blocked but port 22 is open. RPT asks whether this is a Phase 12/13 task.\n - Status: delivered. Implemented by #785 (F13.3, CLOSED/COMPLETED) via PR #842 (merged): `SSH_TUNNEL_ALPN` `/id-ssh-tunnel/1` at pkgs/id/src/world_ssh.rs:88, accepted at pkgs/id/src/commands/serve.rs:1194, dialled at pkgs/id/src/commands/world.rs:964 (evidence at main 1e3763faf, verified 2026-11-03).\n - Source: RPT §13 'Tunnel combinations'; RPT §16 Q5\n - Prerequisites: none\n- [x] **D1-056 — Multi-server, multi-client topology; client-only mode always supported** (L, research package)\n Clients connect to several worlds and servers and to other clients at once, and `id` is often client and server simultaneously; a client-only mode must always exist (cheap web load, SSH-only clients). SSH servers in `id` stay opt-in.\n - Status: delivered. Implemented by #790 (F13.8, CLOSED/COMPLETED 2026-11-03): design record PR #3907 (`doc/2026-11-01_design_id790.md`); concurrent multi-world client sessions via PR #3896 (`WorldSessions` coordinator, pkgs/id/src/world_net.rs:1726-1830, closes #3845); client-only boundary documented and pinned by PR #3862 for #3846 (pkgs/id/README.md:110-127, pkgs/id/src/cli.rs:1103-1115,4251-4286). All three PRs verified MERGED 2026-11-03.\n - Source: RPT §15 'Multi-server, multi-client'; RPT §15 'SSH servers in id - rare and opt-in'\n - Prerequisites: none\n\n## Source\n\n- [`.opencode/plans/phase-12-platform-flexibility.md:22`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L22)\n- [`.opencode/plans/phase-12-platform-flexibility.md:50`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L50)\n- [`.opencode/plans/phase-12-platform-flexibility.md:55`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-12-platform-flexibility.md#L55)\n- RPT §13 'How id connects today'\n- RPT §13 'Tunnel combinations'\n- RPT §15 'Multi-server, multi-client'\n- RPT §15 'SSH servers in id - rare and opt-in'\n- RPT §16 Q5\n\nRPT = `doc/2026-10-18T18-40-00Z_report_platform_world_state/2026-10-18T18-40-00Z_report_platform_world_state.md`, REF = `doc/2026-10-18T00-00-00Z_reference_platform_state/2026-10-18T00-00-00Z_reference_platform_state.md`. Both are uncommitted reports in the `platform-world-apps-migration` worktree.\n\n## Size\n\nXL overall (items L to XL)\n\n## Prerequisites\n\nListed per item above.\n\n\u003c!-- discovery:D1-029 discovery:D1-031 discovery:D1-050 discovery:D1-051 discovery:D1-056 -->\n\n## Acceptance criteria\n\n- [x] Every item listed above has its design (or research package, where marked) committed to the repo\n- [x] Every item has a linked implementation issue, and its checkbox above is ticked only once both are true\n- [x] No item is closed out on the basis of a plan or report reference alone — the committed artifact is the evidence\n\n\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T06:07:38Z","url":"https://github.com/developing-today/code/issues/536"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9a95ceb3-41a7-81fd-7b77-feaea24501a5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BACC:3CF71B:45F470:5D9EDF:6B061E3F |
| html-safe-nonce | 3377b6c0be6a2107b0b73f161285afd8733e33cd0b0cdc6374e293ecaaa19221 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUNDOjNDRjcxQjo0NUY0NzA6NUQ5RURGOjZCMDYxRTNGIiwidmlzaXRvcl9pZCI6IjM1Mzg2Njg2NTg0MjE1MzgzNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8d1bd980118b6e8d6345145859994663ac7fd0a032c8450d7cf7d82be89afb71 |
| hovercard-subject-tag | issue:5974044099 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/536/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5aca70192735096485f851dbf7466949e32642b3f3831b72ceff6823c0bbe8db/developing-today/code/issues/536 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5aca70192735096485f851dbf7466949e32642b3f3831b72ceff6823c0bbe8db/developing-today/code/issues/536 |
| og:image:alt | What and why Designs and research for how frames and journals move between nodes and clients: delta frames, replication, SSH as a frame transport, SSH/iroh tunnelling and multi-server topology. Tic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width