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: F12.11 delta and binary frames (screen patches, resume tokens) · Issue #805 · developing-today/code

id: F12.11 delta and binary frames (screen patches, resume tokens) #805

New issue
Copy link
New issue
Copy link
Done
Done
id: F12.11 delta and binary frames (screen patches, resume tokens)#805
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmode/onlineFully doable remotely: design, config, code, cloudnowOrg Project gate: active priority — orchestrator adds to the boardpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus/in-progressQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Oct 24, 2026
Issue body actions

From .opencode/plans/phase-12-platform-flexibility.md (workstream D, F12.11), which has no tracking issue. Phase 12 stack (PR #801).

What and why

Screen patches as cell runs, an optional binary encoding, optional compression, and resume tokens so a reconnecting client receives a patch, not a snapshot. Baseline from F11.9 (bytes per frame). Exit: the bandwidth target (under 10% of full-frame size), with a parity test that a patched client equals a full-frame client.

Dependencies

  • F11.9 bytes-per-frame baseline.
  • The presentation layer (pkgs/id/src/world_presentation.rs, frames.rs).

Acceptance

  • Cell-run screen patches with an optional binary encoding and compression.
  • Resume tokens: reconnect gets a patch, not a snapshot.
  • Parity test: patched client equals full-frame client.

Acceptance criteria

  • The body's ## Acceptance bullets hold: cell-run screen patches ship with an optional binary encoding and compression, and resume tokens let a reconnecting client receive a patch instead of a snapshot.
  • The parity test exists and passes: a patched client ends byte-identical to a full-frame client.
  • Bandwidth is measured against the F11.9 baseline and meets the under-10%-of-full-frame target.

Activity

Next
  1. github-actions
    assigned
    dezren39
    on Oct 24, 2026
  2. dezren39
    added
    kind/featureNew feature or capability request
    status/needs-triageNot yet triaged; needs a first look
    priority/lowNice to have; do when convenient
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 26, 2026
  3. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    Intake review

    Related: Phase 12 stack PR #801 (merged); depends on the F11.9 bytes-per-frame baseline; presentation layer in pkgs/id/src/world_presentation.rs / frames.rs. No merged PR resolves this (verified 2026-10-26).

    Notes: Performance feature with a measurable exit target (under 10% of full-frame size). The body already had an ## Acceptance list; the criteria above restate it in the standard section.

    Risks: Patch/full-frame parity is easy to break subtly; the parity test is the acceptance gate, not an optional extra.

    Suggested approach: Implement cell-run patches in the presentation layer first, prove parity, then add the optional binary encoding/compression behind the same tests.

  4. dezren39
    added
    nextOrg Project gate: queued next — orchestrator adds to the board
    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
    on Oct 27, 2026
  5. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), Lane B shift
    • Session / ID: queue task 2243
    • Found via: queue claim
    • Task: Triage issue id: F12.11 delta and binary frames (screen patches, resume tokens) #805 (F12.11 delta and binary frames) — verify on current main whether screen patches / binary frames / resume tokens exist, then route or close with evidence.
    • Expectation: effort s for the triage itself — done = a verdict backed by code citations at current HEAD, plus a scoped follow-up route if confirmed.
    • Links: id: F12.11 delta and binary frames (screen patches, resume tokens) #805
  6. dezren39 commented on Oct 28, 2026

    @dezren39
    dezren39
    on Oct 28, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), Lane B shift
    • Session / ID: queue task 2243 (triage)
    • Found via: queue claim
    • Task: Triage verdict for id: F12.11 delta and binary frames (screen patches, resume tokens) #805 (F12.11) — CONFIRMED, not started at current main HEAD e561ab58ff76ea8e84f2b9a1f108770ebe44a734
    • Expectation: done = verdict + scoped route (below)

    Evidence (fresh GitHub reads at HEAD):

    • pkgs/id/src/frames.rs (226 lines) is length-prefixed transport framing for QUIC/SSH streams only — grep for patch|delta|binary|resume|compress|snapshot returns zero hits.
    • pkgs/id/src/world_presentation.rs (595 lines) validates and emits full kind: screen JSON documents — the same grep returns zero hits; there is no patch/delta representation.
    • Repo-wide code search: "resume token", "screen patch", and "cell run" appear only in .opencode/plans/phase-12-platform-flexibility.md; ResumeToken appears nowhere.
    • Dependency check: F11.9 bytes-per-frame baseline is done (issue id(world): F11.9 bytes-per-frame baseline table #542 CLOSED), and the Phase 12 stack base (PR id: Phase 12 — world doctor + world.toml manifest (F12.16, F12.1) #801) is MERGED — this item is ungated, just unbuilt. Related id: server-side redraw batching (few-ms frame coalescing) for all presentations #561 (redraw batching) and id(ssh): incremental (diff) ANSI renderer instead of full clear-repaint #562 (diff ANSI renderer) are different layers and do not cover it.

    Route: #805 is effort/l overall, so it is staged, not sent as one fix. First slice enqueued as queue task 2659 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:805): a transport-neutral cell-run ScreenPatch in world_presentation.rs with a parity test (patched client == full-frame client) and a size test (patch < 10% of full frame for a small change — the F12.11 exit target). Binary encoding, compression, resume tokens, and transport/session wiring remain on this issue as later slices. The issue stays open; this triage task completes as triaged.

  7. 259 remaining items

    Load more actions
  8. dezren39
    added 8 commits that reference this issue on Nov 23, 2026

    feat(id): compressed binary screen patches — F12.11 phase 4 (#805)

    c27d932

    fix(id-worlds): byte literal in BigScreen test program (#805)

    40c180e

    fix(id): sparse-redraw fixture is a count tick, not a full-line resty…

    c528842

    fix(id): measure the ratio at 120x50, not the unbuildable 200x60 (#805)

    9727cb2

    fix(id-worlds): byte literal in BigScreen test program (#805)

    40cec1d

    fix(id): sparse-redraw fixture is a count tick, not a full-line resty…

    118d2e5

    fix(id): measure the ratio at 120x50, not the unbuildable 200x60 (#805)

    1f8c335

    fix(id): drop unneeded mut on DEFLATE decoder (#805)

    625106d
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · phase-4 verification verdict — Rust green, web blocked by a pre-existing main failure; PR not opened

    • Agent: xaltha (fleet lane)
    • Branch: xaltha/805-compression @ 625106db1 (pushed; feat commit + 3 fix commits: BigScreen byte literal, count-tick sparse fixture, 120x50 measurement, mut-warning fix — the pushed tip previously measured the unbuildable 200x60)

    Rust — verified green (remote dispatch, GitHub-hosted runners)

    • Run developing-today/fleet#45178589558 (cargo test -p id-core -p id-worlds, branch @ 1f8c33512): success. id-core lib 548 passed / 1 ignored / 0 failed; id-worlds lib 954 passed / 0 failed; all integration suites green. All 7 new compression tests pass, including sparse_redraws_measure_under_ten_percent_of_full_frame and compressed_resume_patch_arrives_as_a_version_two_binary_frame.
    • Run developing-today/fleet#45180694208 (cargo test -p id-core screen_codec, branch @ 625106db1 after the mut fix): success.
    • One slice-new rustc warning was found in the first run (screen_codec.rs:257, unneeded mut on the DEFLATE decoder) and fixed in 625106db1. All other build warnings in the log are pre-existing elsewhere in the workspace.

    Web (TypeScript) — blocked by a pre-existing failure on main

    • The web suite (bunx vitest run src/screen-codec.test.ts src/world-program.test.ts) fails in the fleet-build runner with the vitest worker dying at startup: Worker exited unexpectedly with signal SIGSEGV during started state while running test file .../src/screen-codec.test.ts. world-program.test.ts passes.
    • Proven pre-existing: the identical command against unmodified main fails the same way — run developing-today/fleet#45186141844 (branch run developing-today/fleet#45184839566 for comparison). The crash is at worker startup, before any test body runs, so the slice's 7 new async tests never execute in this environment. Two earlier web attempts failed on runner-env issues of their own (root-owned checkout blocking bun install as vscode; nix develop as root failing on the missing nixbld group) — those are worked around; the SIGSEGV is not.
    • Tracked as fleet-build runner: vitest worker SIGSEGV on pkgs/id/web screen-codec.test.ts (pre-existing on main) #13337 (includes the secondary vitest-summary EACCES wart). Also note: fleet queue dispatch itself is still TLS-blocked (fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185), so all runs above went through the fleet-command.yml workflow directly.

    Verdict

    Per the lane rule, not forcing it: no PR opened. The slice is complete and pushed; the PR is parked until #13337 is resolved, at which point the web suite can be re-run remotely and the PR opened (Refs #805 — phase 4 does not complete the issue; protocol negotiation / cross-language parity remain).

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — phase-4 PR opened

    • Agent: xaltha (fleet lane)
    • PR: feat(id): compressed binary screen patches — F12.11 phase 4 (#805) #13372 — compressed binary screen patches, F12.11 phase 4 (xaltha/805-compression @ 625106db1, Refs id: F12.11 delta and binary frames (screen patches, resume tokens) #805; does not close the issue)
    • Rust — green (remote dispatch): developing-today/fleet#45178589558 (cargo test -p id-core -p id-worlds @ 1f8c33512): id-core 548 passed / 1 ignored, id-worlds 954 passed, all integration suites green; developing-today/fleet#45180694208 (cargo test -p id-core screen_codec @ 625106db1): success.
    • Web — green (remote dispatch): developing-today/fleet#45193026389 (bunx vitest run src/screen-codec.test.ts src/world-program.test.ts @ 625106db1): 2 files, 14 tests passed / 0 failed.
    • fleet-build runner: vitest worker SIGSEGV on pkgs/id/web screen-codec.test.ts (pre-existing on main) #13337 note: the vitest SIGSEGV is specific to the standard fleet-build container (nix Bun 1.4.2; reproduced with both forks and threads pools, and on unmodified main). The passing web run used the stock node:22-bookworm container with the official Bun 1.4.5 build, so the crash is environmental, not slice code. fleet-build runner: vitest worker SIGSEGV on pkgs/id/web screen-codec.test.ts (pre-existing on main) #13337 stays open for the container-side fix.
  11. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #13372 from developing-today/xaltha/805-compression

    bf7a918
  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — second-pass verdict: resolved, closing

    • Agent: queue worker repo-worker-code, OpenChamber scheduled lane code-j
    • Session / ID: queue task 21729 (second pass, coverage reconciliation)
    • Verdict: id: F12.11 delta and binary frames (screen patches, resume tokens) #805 is resolved in substance at HEAD (831716d093f). All five design phases (doc/2026-11-01_design_id805.md §6) are merged with nothing left unbuilt:
      • Phase 1 (revisioned JSON patches): feat(id): revisioned JSON ScreenPatch view frames — #805 Phase 1 #3932 merged (cell-run ScreenPatch first slice id(world_presentation): cell-run ScreenPatch, F12.11 first slice (#805) #1802 before it)
      • Phase 2 (resume tokens + bounded baselines): feat(id): resume tokens and bounded screen baselines — #805 Phase 2 #5036 merged — world_session/resume.rs BaselineCache, issue/take-matching in view.rs
      • Phase 3 (versioned binary v2): feat(id): add versioned MessagePack screen codec #12241 (MessagePack codec) + feat(id): negotiated binary v2 ScreenPatch transport — F12.11 phase 3 Rust slice (#12242) #12655 (Rust transport) + feat(id-web): browser decode for negotiated binary screen patches — F12.11 phase 3 TS half (#12242) #12667 (TS browser decode) merged; id: F12.11 phase 3 — negotiate MessagePack screen transport #12242 closed
      • Phase 4 (compression): feat(id): compressed binary screen patches — F12.11 phase 4 (#805) #13372 merged 2026-11-24 — v2 deflate envelope, never-grows-a-frame
      • Phase 5 (measure): sparse_redraws_measure_under_ten_percent_of_full_frame (80x24 + 120x50, complete logical View bytes, Q2 option B) — green below. Binary stays opt-in negotiated per design; that is a rollout posture, not a code remainder.
    • Fresh evidence (re-ran on laptop 2026-11-24, pkgs/id workspace, build-lock):
      • cargo test -p id-core --lib screen_codec: 13 passed / 0 failed (round-trips, golden vectors, v2 envelope, never-grown, <10% measurement)
      • patch_parity_patched_client_equals_full_frame_client: passed
      • cargo test -p id-worlds --lib resume: 15 passed / 0 failed (retained-token catch-up parity, unknown-token fallback, viewport restore, token-never-bypasses-auth, binary-fails-safely)
      • Web (screen-codec.test.ts, world-resume.test.ts): deps not installed on laptop; covered by the feat(id): compressed binary screen patches — F12.11 phase 4 (#805) #13372 merge-time remote run (2 files, 14 passed) plus the Rust↔TS golden-vector parity test green above.
    • Acceptance check: cell-run patches ✓, optional binary encoding ✓, compression ✓, resume-token reconnect-gets-patch ✓, parity ✓, <10% ✓.
    • No follow-on packet routed: no open PR references id: F12.11 delta and binary frames (screen patches, resume tokens) #805; no code remainder found. id: Phase 12 exit audit and the id/v0.12.0 tag #12231 (Phase 12 exit audit) lists id: F12.11 delta and binary frames (screen patches, resume tokens) #805 as an item the audit points at — this closure feeds that audit.
    • Links: task 21729 · tracking Queue reprioritization programme 2026-11-24: full census, reorder, unblock #14158
  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Closed as implemented.

  14. dezren39
    closed this as completedon Nov 24, 2026
  15. dezren39
    added a commit that references this issue on Nov 26, 2026

    test(id-worlds): hosted/local parity conformance suite (first slice o…

    4c7c357
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-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmode/onlineFully doable remotely: design, config, code, cloudnowOrg Project gate: active priority — orchestrator adds to the boardpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus/in-progressQueue worker lifecycle state

    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.