GeezerVison is showing github.com — id: implement remaining F13.4 presentation tiers and acceptance (#786) · Issue #10888 · developing-today/code
id: implement remaining F13.4 presentation tiers and acceptance (#786) #10888DescriptionGoal
Complete the remaining F13.4 presentation work tracked by #786. The shared bounded detector/profile from merged PR #5023 is in place; this issue owns the unimplemented tier renderers and acceptance proof, not another detector rewrite.
Source and design
Scope
- Implement Tier 2 cell-grid rendering and Tier 3 line-mode rendering for both SSH and interactive iroh TTY paths, retaining non-TTY iroh JSON-lines behavior.
- Implement Tier 1 graphics/synchronized-output rendering behind the existing positive feature evidence; do not activate Kitty keyboard parsing or add guest-authored image payloads.
- Use shared batching across all tiers, cell diffs for screen tiers, and text deltas for line mode. Preserve full repaint on attach/resize/invalidation and restore terminal modes on every exit.
- Prove equivalent behavior using the same transcript-driven harness over SSH and iroh, including the three requested tiers, no-reply/malformed/interleaved input, byte-for-byte input replay, and no probe replies entering world input or the journal.
- Record frame/byte comparisons against a full-render control and the F11.9 baseline.
Acceptance criteria
- One harness selects and renders all three tiers correctly over both SSH and iroh from equivalent terminal transcripts.
- Every tier consumes shared server-side batching; Tier 1/2 diff parity and Tier 3 text-delta parity are asserted against the full-render oracle.
- No-TTY, timeout, malformed/conflicting replies conservatively fall back; unmatched user input is replayed byte-for-byte and in order.
- Non-TTY iroh JSON-lines behavior and unrelated SSH input/command behavior remain unchanged.
- Rich terminal sequences are emitted only after positive feature-specific evidence, and modes are restored on success, error, and disconnect.
- Reported output preserves the shell/journal contract; no capability frame or guest image payload is added.
Out of scope
Parent tracking
Keep #786 open until these criteria are met; this issue is the scoped implementation follow-on for its remaining F13.4 acceptance. Activitydeveloping-today commented on Nov 17, 2026 dezren39 commented on Nov 17, 2026
Agent note — task 19423 capacity park (lane any-c, 2026-11-17)
State: parked (capacity) — no implementation started this claim.
Task 19423 parks as a capacity park with its budget requirement recorded. dezren39 commented on Nov 17, 2026
Agent note — task 19423 picked up (lane any-l, 2026-11-17)
State: claimed / in-progress — revalidated fresh this claim.
- Issue id: implement remaining F13.4 presentation tiers and acceptance (#786) #10888 OPEN, status/triaged, effort/l, no hard-stop labels (no held / user/owned / do-not-merge / do-not-auto-edit). Parent id: Phase 13 F13.4 presentation capability tiers with in-band terminal detection #786 stays open per packet.
- Fresh main check: detector + ProbeDemux + tier classifier (pkgs/id/crates/id-worlds/src/world_terminal.rs), ScreenPatch diff/apply, render_ansi/render_ansi_diff, and session view coalescing are all already landed. The unimplemented remainder is the presenters themselves: SSH closes its probe with Tier 3 fallback staying active (tier logged only) and the iroh pump discards the probe outcome except replay bytes.
- Plan this claim: implement a shared TierPresenter in world_terminal.rs (Tier 2 cell-grid via full/diff ANSI with full-render parity, Tier 3 text-delta with apply-parity, Tier 1 synchronized-output bracketing + gated Kitty/Sixel graphics encoding behind positive evidence only, mode restore on finish), wire it into the SSH raw presenter and the iroh TTY pump, and add the cross-transport transcript/presenter tests. No capability frame, no guest image payload, no Kitty keyboard parsing.
dezren39 commented on Nov 17, 2026
Agent note — task 19423 done (lane any-l, 2026-11-17)
State: done — implemented and merged. PR #11189 merged as 3b20b9d. Parent #786 stays open per the packet (its broader F13.4 acceptance is the tracker; this scoped remainder is complete).
What landed:
- Shared
TierPresenter in pkgs/id/crates/id-worlds/src/world_terminal.rs: Tier 2 cell-grid (full render, then row diffs; full repaint on invalidation), Tier 3 line mode via TextDelta (changed lines only, apply-parity oracle), Tier 1 synchronized-output bracketing plus gated Kitty (chunked) / Sixel image encoding behind positive Tier 1 evidence only. finish() supplies the mode-restore bytes; PresenterCounters records real frames/bytes.
- SSH adapter: the probe outcome now selects the session presenter (was log-only with Tier 3 always active); raw views render through it; presenter modes are restored before the alternate screen is left. Unprobed/command-mode sessions keep the previous path exactly.
- iroh (
id world join): the TTY probe returns its presenter; the pump renders screen/text view frames through it and restores modes on exit. Non-TTY and --json behavior unchanged; form views stay JSON-lines (the pump has no form collector).
Evidence:
- New tests: cross-transport harness (same transcript via both seams → same tier, byte-identical presenter frames + counters for Tier 1 / Tier 2 / no-reply / malformed / conflicting / interleaved), Tier 2 diff-vs-full-render oracle +
ScreenPatch apply parity, Tier 3 delta apply parity, exact Kitty/Sixel encodings + Kitty chunk round-trip, graphics gating.
cargo test -p id-worlds -p id-cli on the laptop: id-cli lib 686 passed, aliases 7 passed, id-cli doc-tests 7 passed, id-worlds lib 888 passed / 0 failed / 3 ignored. One earlier full-run failure (world_net records-client TLS UnknownIssuer) passes alone on clean main and on this branch — load flake, unrelated. Local clippy was blocked by a rustc 1.99.0/1.99.1 rmeta mismatch in the pooled target cache (id-core, untouched); CI's nix clippy is the authority.
- Codex review on PR feat(id): F13.4 tier presenters for SSH and iroh TTY (#10888) #11189 failed to run (usage limits) and produced no findings; there were no inline review comments to disposition.
Closing this issue as complete; #786 remains the open tracker for the broader F13.4 acceptance.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|