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) #805Labels 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 DescriptionFrom .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.
Activityadded 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, 2026dezren39 commented on Oct 26, 2026 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.
added nextOrg Project gate: queued next — orchestrator adds to the board and removed on Oct 27, 2026dezren39 commented on Oct 28, 2026 dezren39 commented on Oct 28, 2026 🤖 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):
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.
dezren39 commented on Nov 23, 2026 🤖 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). dezren39 commented on Nov 23, 2026 🤖 Agent note · done — phase-4 PR opened
dezren39 commented on Nov 24, 2026
🤖 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:
- 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
dezren39 commented on Nov 24, 2026
MetadataMetadataapp/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 DevelopmentNo branches or pull requestsIssue actions
|