Skip to content

render-pipeline, mac: display-list-v2-compact — derivable carets/hit_rects, run-level sources - #257

Closed
jay3332 wants to merge 5 commits into
mainfrom
agent/mac-render-pipeline/perf-4-compact
Closed

jay3332 wants to merge 5 commits into
mainfrom
agent/mac-render-pipeline/perf-4-compact

Conversation

@jay3332

@jay3332 jay3332 commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Lane mac-perf-4 (FT-071), base origin/main eea975c3. Draft: do not merge before #232 is reviewed alongside (this writer derives from the same invariants and is designed to take GlyphRun::carets_of in two lines).

Proposal: protocol/proposals/display-list-v2-compact.md · Evidence: docs/evidence/perf-mac-2026-09-14T0100Z/README.md

What

display-list-v2-compact: an additive, opt-in runtime-v1 layout capability. When requested next to display-list-v2, the sibling's glyph runs use the compact-1 cluster encoding (payload "cluster_encoding":"compact-1"): glyphs as 6-int arrays, a run-level sources span with per-cluster start deltas, run-level hit_top/hit_height/end_caret, and clusters whose carets/hit_rects are derived from the glyphs — with a per-field override wherever the derivation would differ from the model, so the writer is correct by construction (it runs the decoder's rules) and decode ∘ encode is the identity. Echoed only on replies that carry a sibling, exactly like -delta; a request that does not list it gets byte-identical output.

  • Producer: crates/render-pipeline/src/display_list_compact.rs, Wire::compact, negotiation, compact-aware page_bytes width rule + frame bytes for -delta.
  • Consumer: apps/mac/Sources/FlashTeXProtocol/DisplayListCompact.swift, RenderingV2Fast (compact clusters + array glyphs → the same RenderingV2 values), RenderingV2.DisplayList.clusterEncoding (unknown encodings refused), DisplayListDelta (encoding-keyed exact accounting, typed delta_encoding_mismatch), FLASHTEX_DISPLAY_LIST_COMPACT=0 kill switch.
  • page_window is reserved (name + semantics sketch) for the memory lane, not implemented.

Bytes (ipc_bench.py, 20 warm keystrokes; exact)

seed first v2 frame full → compact warm keystroke v1+v2 --delta --only → +compact
HW1 (3 p) 1 152 024 → 356 207 B 1 879 + 259 481 → 1 905 + 77 752 B
HW2 (3 p) 1 029 984 → 340 583 B 2 780 + 150 710 → 2 806 + 58 709 B
demo (2 p) 1 941 498 → 540 454 B 280 + 807 836 → 306 + 225 400 B
body60k (22 p) declined (> 16 MiB) → 5 986 729 B accepted 2 494 207 (v1 pane, no v2) → 306 + 228 992 B (20/20 deltas)

Byte identity when not requested: reply-stream MD5 identical between the eea975c3 control binary and this branch for every seed × mode (raw/md5-*.txt); HW1/HW2 CLI PDFs byte-identical.

Gates

gate control eea975c3 branch new failures
cargo test -p flashtex-render-pipeline --release --no-fail-fast 202 passed / 0 failed / 1 ignored 208 passed / 0 failed / 1 ignored 0
cargo test -p flashtex-cli --release 17 passed / 1 failed (multi_file_project_resolves_inputs_from_the_project_root) 17 passed / 1 failed (same test, same output) 0 (pre-existing)
cargo build --release -p flashtex-render-pipeline — ok —
HW1 / HW2 via flashtex build --json 3 pages, 0 errors, 0 overfull, 0 font-failure diagnostics identical, PDFs byte-identical —
swift test --filter FlashTeXProtocolTests — 38 passed / 0 failed —
full swift test (FLASHTEX_NO_ACTIVATE=1) 1 050 tests, 135 skipped, 1 failure: the same PreviewTextCacheTests test 1058 tests, 123 skipped, 1 failure: PreviewTextCacheTests.testProducerFaceSwitchNeverServesALineBuiltWithTheOldFace (a global font-generation counter, v1 text route; passes alone: 11/11) 0 (pre-existing)

Corpus round trip: 11 real-world fixtures, 22 616 clusters read back identical (c overrides 0, h 2 — PR #232's caret invariants hold here too). Real-producer Swift test: 30 062 clusters, compact decode == full decode, every caret/hit-rect coordinate within 1e-6 bp.

Not done / needs the parent

  • The Mac app does not yet send the capability by default: the one-line hunk is in the parent-retained ShellModel.swift (compile(), after the -only append): if DisplayListCompact.enabled { sent.append(DisplayListCompact.capability) }. Everything else (per-request stripping, decoding, delta accounting, kill switch) is in place.
  • body60k warm p50 on the delta path is 138 ms here (r5 per-page hashing over 22 pages at load ~10): the per-page digest cache the perf-3 addendum names, not this encoding.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Y1nAv4pEnmMYXgteBoadHn

jay3332 and others added 2 commits September 13, 2026 21:08
…rects, run-level sources

Opt-in runtime-v1 layout capability `display-list-v2-compact`
(protocol/proposals/display-list-v2-compact.md r1). When requested next to
`display-list-v2`, every glyph run on the sibling line is written in the
compact-1 cluster encoding: glyphs as 6-int arrays, a run-level `sources`
span with per-cluster start deltas, run-level `hit_top`/`hit_height` and
`end_caret`, and clusters whose carets/hit_rects are derived from the
glyphs with per-field overrides wherever the derivation would differ from
the model (correct by construction: the writer runs the decoder's rules).
The payload carries `cluster_encoding: "compact-1"`; a request that does
not list the capability gets byte-identical output.

Producer (crates/render-pipeline): `display_list_compact.rs` (writer,
reader for the gate, run-level model predicates, the delta width rule),
`Wire::compact`, negotiation (`CAP_COMPACT`, echoed only with a sibling),
compact-aware `page_bytes` accounting and frame bytes in `delta.rs`.
Gate `tests/display_list_compact.rs`: compact lines read back to the
identical model on the real-world corpus (22 616 clusters) and on an
adversarial run; negotiation/byte identity; the delta producer gate under
compact (60 edits, 38 deltas, 335 relocated pages' page_bytes verified).

Consumer (apps/mac): `FlashTeXProtocol/DisplayListCompact.swift`
(derivation), `RenderingV2Fast` reads compact clusters/array glyphs into
the same `RenderingV2` values, `RenderingV2.DisplayList.clusterEncoding`
(unknown encodings refused), `DisplayListDelta` keys its exact
`page_bytes`/frame accounting on the base's encoding and refuses a
mismatched delta typed (`delta_encoding_mismatch`); the capability is a
per-request opt-in with `FLASHTEX_DISPLAY_LIST_COMPACT=0` as kill switch.
Tests: protocol unit tests (compact vs full fixture equality, every
override, refusals) and real-producer tests (30 062 clusters equal within
1e-6 bp, delta chain under compact with exact target size, 0-pixel parity).

Measured (ipc_bench 20 keystrokes): HW1 first frame 1 152 024 -> 356 207 B,
warm keystroke 1 879+259 481 -> 1 905+77 752 B; body60k first frame
declined (>16 MiB) -> 5 986 729 B accepted, warm 2 494 207 (v1 pane) ->
306+228 992 B with deltas.

Implementation-Agent: Claude Code subagent mac-perf-4 (parent mac-claude-a)
Commit-Executor: git via Claude Code
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Y1nAv4pEnmMYXgteBoadHn
docs/evidence/perf-mac-2026-09-14T0100Z: ipc_bench.py with --compact and a
Python reference decoder of the compact encoding; per-seed byte counts on
the origin/main control binary and this branch (reply-stream MD5 identical
for every seed x mode when the capability is not requested); the corpus
override statistics; the cargo/CLI/HW/swift gate summaries against the
control run (zero new failures; the one CLI and the one Swift failure are
pre-existing on main).

Implementation-Agent: Claude Code subagent mac-perf-4 (parent mac-claude-a)
Commit-Executor: git via Claude Code
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Y1nAv4pEnmMYXgteBoadHn
The parent-retained hunk from lane mac-perf-4: `compile()` appends the
compact capability next to `-only`/`-delta` when `DisplayListCompact.enabled`
(off with `FLASHTEX_DISPLAY_LIST_COMPACT=0`). The producer echoes it only
with a v2 sibling, so a v1-only worker is unaffected.

Implementation-Agent: Claude Code (mac-claude-a)
Commit-Executor: git via Claude Code
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Y1nAv4pEnmMYXgteBoadHn
@jay3332
jay3332 marked this pull request as ready for review September 14, 2026 01:25
@jay3332

jay3332 commented Sep 14, 2026

Copy link
Copy Markdown
Member Author

Parent (mac-claude-a) applied the retained hunk as 9870a60b: ShellModel.compile() now requests display-list-v2-compact by default (FLASHTEX_DISPLAY_LIST_COMPACT=0 disables). Branch producer + swift test --filter 'DisplayListCompact|PreviewV2Tests|DisplayListDeltaTests': 21 passed, 0 failed. Ready for the integration queue after #255.

@GoKubar

GoKubar commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Backlog triage note: this no longer auto-merges with main, and the conflicts are substantive, not mechanical. Main's #232 (2d1b517, "FT-070 memory: measure the breakdown, derive the per-glyph carets — Cluster 160 -> 88 B") restructured the cluster model that this PR's compact wire encoding also re-engineers (derivable carets/hit_rects). Concretely: delta.rs now passes &mut width_delta where this branch's compact path threads &mut cluster_width through provenance_matches; RenderingV2.swift grew a navigation field beside this branch's clusterEncoding; and flashtex-render.rs's Wire gained images: self.images. The Swift-side field conflicts are trivial unions, but the delta/cluster interaction needs its author's judgement on whether compact-1 still pays for itself over the new 88-byte clusters. Flagging rather than guessing — needs a rebase by someone who knows which caret derivation wins.

…line/perf-4-compact

What changed: resolved merge conflicts between this branch's
display-list-v2-compact encoding and main's independently-landed changes
since this branch opened.

- Wire/Capabilities: main added `diagnostics`/`window` fields alongside this
  branch's `compact`; kept all of them (display.rs, v1.rs, protocol.rs,
  delta.rs, flashtex-render.rs bin). estimated_json_bytes_for (main) and
  estimated_json_bytes_wire (this branch) were the same rename in two
  directions; standardised on estimated_json_bytes_wire (matches the
  existing to_json_wire/write_json_wire/required_features_wire naming) and
  fixed main's own unit tests and callers to match.
- PR #232 (FT-070, already on main) removed Cluster's stored `carets` field
  in favor of deriving them on demand (GlyphRun::carets_of, from hit_rect +
  a new single GlyphRun::end_caret) -- this is a genuine silent-duplicate
  trap: display_list_compact.rs (all-new in this branch) was written against
  the old stored-carets shape and did not conflict textually (main never
  touched this file), so it silently failed to compile. Adapted it to the
  derived model:
  - end_caret(r) reads r.end_caret directly instead of the last cluster's
    stored second caret.
  - The "c" per-cluster caret override is dropped entirely: since #232
    carets are always exactly derived from hit_rect + text_start_byte (plus
    the run's single end_caret on its last cluster, measured with zero
    exceptions over 2M corpus clusters), the writer's own h/hv hit-rect
    override already guarantees the decoder's derived caret matches the
    model's -- there is no longer a value carets could diverge to override.
  - read_clusters/read_full_clusters now return (Vec<Cluster>, Option<EndCaret>)
    so read_runs can populate GlyphRun.end_caret (full-encoding runs carry it
    implicitly as the last cluster's second wire caret entry).
  - tests/display_list_compact.rs: dropped the two adversarial-caret cases
    that are no longer representable (an off-hit-rect first caret; a second
    caret on a non-last cluster) and moved the "run-end caret x the hit rect
    can't derive" case (the TikZ scenario #232 itself names) onto
    GlyphRun.end_caret; updated DisplayList/Page/GlyphRun literals for
    main's window/end_caret fields; st.c (override count) 1 -> 0.
  - Swift side: RenderingV2/RenderingV2Fast/DisplayListDelta/ShellModel
    conflicts were mechanical (both branches added independent
    fields/capabilities: compact vs. diagnostics/navigation/window/delta
    exclusivity) -- combined all of them.

What was run (CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-conf-257,
CARGO_BUILD_JOBS=4):
- cargo test --no-run --release (crates/render-pipeline, crates/flashtex-cli):
  compiles clean.
- cargo test --release --no-fail-fast, full crates/render-pipeline suite:
  every `test result:` line reports 0 failed (no non-"0 failed" line in the
  run's output).
- cargo test --release --test display_list_compact: 4 passed; 0 failed; 0
  ignored -- including the real-fixture corpus round trip and the 60-edit
  delta sequence.
- cargo test --release --no-fail-fast, crates/flashtex-cli: 32 passed; 0
  failed (unit) + 26 passed; 0 failed; 1 ignored (cli.rs).
- swift build --target FlashTeXProtocol and --target FlashTeXMac: both
  build clean (pre-existing unrelated warnings only).
- swift build --build-tests / swift test --filter FlashTeXProtocolTests:
  blocked by a pre-existing compile error in
  Tests/FlashTeXMacTests/PreviewV2Tests.swift ("use of local variable
  'model' before its declaration") that is byte-identical on origin/main
  (unrelated to this PR, not touched by this merge) -- could not get an
  isolated Swift test run because of it.

Next step: push and comment on PR #257 with these results; flag the
PreviewV2Tests.swift compile break to the Commander separately, since it
blocks any Swift test run on this toolchain, not just this PR's.

Implementation-Agent: claude-opus-5 subagent of daniel-parent
Commit-Executor: daniel-parent subagent
Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
@d-q222

d-q222 commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Resolved the merge conflict with main (pushed d591af4c). Note: this
branch's own PR body said "Draft: do not merge before #232 is reviewed
alongside" — #232 merged 2026-09-15T20:57:56Z, so that precondition is
already satisfied.

Conflicts (23 markers, 9 files): main independently landed several
proposals since this branch opened — display-list-v2-diagnostics,
display-list-v2-window, and PR #232/FT-070 (deriving carets instead of
storing them). All were mechanical field/capability unions except one
real silent-duplicate trap
:

  • Wire/Capabilities: main added diagnostics/window fields next to
    this branch's compact. Kept all of them (display.rs, v1.rs,
    protocol.rs, delta.rs, flashtex-render.rs). estimated_json_bytes_for
    (main) and estimated_json_bytes_wire (this branch) were the same rename
    done in two directions — standardised on estimated_json_bytes_wire
    (matches this crate's existing to_json_wire/write_json_wire/
    required_features_wire convention) and fixed main's own unit tests to
    match.
  • PR FT-070 memory: measure the breakdown, derive the per-glyph carets (Cluster 160 -> 88 B) #232 (already on main) removed Cluster.carets as a stored field
    in favor of deriving it on demand (GlyphRun::carets_of, from hit_rect
    • a new single GlyphRun::end_caret). display_list_compact.rs is an
      all-new file in this branch that main never touched, so git auto-merged
      it with zero conflict markers — it just silently referenced a field
      that no longer exists. Adapted it to the derived model:
    • end_caret(r) now reads r.end_caret directly.
    • The c per-cluster caret override is dropped entirely: since FT-070 memory: measure the breakdown, derive the per-glyph carets (Cluster 160 -> 88 B) #232,
      a cluster's carets are always exactly hit_rect + text_start_byte
      (plus the run's one end_caret on its last cluster), measured with
      zero exceptions over 2M corpus clusters. This branch's own h/hv
      hit-rect override already guarantees the decoder's derived hit rect
      matches the model's, so there is no longer any value carets could
      diverge to that c would need to correct — it's provably dead code
      under FT-070 memory: measure the breakdown, derive the per-glyph carets (Cluster 160 -> 88 B) #232's invariant, not just unused.
    • read_clusters/read_full_clusters now return
      (Vec<Cluster>, Option<EndCaret>) so read_runs can populate
      GlyphRun.end_caret (a full-encoding run carries it implicitly as the
      last cluster's second wire caret entry; the compact encoding already
      had an explicit end_caret key).
    • tests/display_list_compact.rs: dropped the two adversarial cases that
      are no longer representable (an off-hit-rect first caret; a second
      caret on a non-last cluster — both were exactly what FT-070 memory: measure the breakdown, derive the per-glyph carets (Cluster 160 -> 88 B) #232 proved never
      happens), moved the "run-end caret x the hit rect can't derive" case
      (the TikZ scenario FT-070 memory: measure the breakdown, derive the per-glyph carets (Cluster 160 -> 88 B) #232 itself names) onto GlyphRun.end_caret, and
      updated DisplayList/Page/GlyphRun literals for main's
      window/document_features/end_caret fields. st.c (override
      count) assertion: 1 → 0.
    • Swift (RenderingV2.swift, RenderingV2Fast.swift,
      DisplayListDelta.swift, ShellModel.swift): mechanical — both
      branches added independent fields/capabilities (compact vs.
      diagnostics/navigation/window, plus window/delta mutual
      exclusivity); combined all of them.

Build/tests (CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-conf-257,
CARGO_BUILD_JOBS=4):

  • cargo test --no-run --release (render-pipeline, flashtex-cli): compiles
    clean.
  • cargo test --release --no-fail-fast, full render-pipeline suite: every
    test result: line reports 0 failed (no non-"0 failed" line anywhere
    in the run).
  • cargo test --release --test display_list_compact:
    test result: ok. 4 passed; 0 failed; 0 ignored — including the
    real-fixture corpus round trip (compact_lines_read_back_to_the_identical_model_on_the_corpus)
    and the 60-edit delta sequence.
  • crates/flashtex-cli: 32 passed; 0 failed (unit) +
    26 passed; 0 failed; 1 ignored (cli.rs).
  • swift build --target FlashTeXProtocol and --target FlashTeXMac: both
    build clean (only pre-existing unrelated warnings).
  • swift build --build-tests / swift test --filter FlashTeXProtocolTests:
    blocked by a pre-existing compile error in
    Tests/FlashTeXMacTests/PreviewV2Tests.swift:807 ("use of local variable
    model before its declaration") — verified byte-identical on
    origin/main itself, untouched by this merge. Could not get an isolated
    Swift test run because of it; flagging separately as a toolchain/main
    issue, not something this PR introduced or should fix.

Claim GH-257-CONFLICT closed.

d-q222 added a commit that referenced this pull request Sep 16, 2026
…CI break)

What changed: crates/perf-bench/src/measure.rs constructed a
flashtex_render_pipeline::v1::Capabilities literal with every field spelled
out explicitly (no ..Default::default()), so the compact field this branch
added did not compile there. Neither cargo test -p flashtex-render-pipeline
nor -p flashtex-cli builds perf-bench, so the earlier merge-conflict pass
never caught it -- the "engine performance" CI job did, as a compile error
rather than its usual digest mismatch. Set compact: false, matching every
other explicit field in that same literal (rules: true, font_hints: true,
the rest false).

Also grepped every `Capabilities {` and `Wire {` literal repo-wide (not just
the two crates already tested): every other Capabilities construction uses
..Capabilities::default(), and rendering-core's own unrelated Capabilities
type (render_formats/features) is a different struct entirely. perf-bench's
measure.rs was the only broken site.

What was run (CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-conf-257,
CARGO_BUILD_JOBS=4, crates/perf-bench):
- cargo build --release --bin flashtex-perf-bench: builds clean (1
  pre-existing unrelated dead_code warning only). memprofile intentionally
  not built (issue #771, unrelated _malloc_trim link failure on macOS).
- cargo test --no-run --release: compiles clean (including memprofile's own
  test harness, which links fine here -- only its release --bin build hits
  #771).
- cargo test --release --lib --bin flashtex-perf-bench --no-fail-fast:
  test result: ok. 0 passed; 0 failed (lib)
  test result: ok. 13 passed; 0 failed (bin flashtex-perf-bench)

Next step: push and comment on PR #257 with these results.

Implementation-Agent: claude-opus-5 subagent of daniel-parent
Commit-Executor: daniel-parent subagent
Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
@d-q222

d-q222 commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Fixed the engine performance CI compile break (pushed 319dac81).

Cause: crates/perf-bench/src/measure.rs:598 builds a
flashtex_render_pipeline::v1::Capabilities literal with every field
spelled out explicitly (no ..Capabilities::default()), so the compact
field this PR adds didn't compile there. perf-bench depends on
render-pipeline by path but neither of the suites I ran before (-p flashtex-render-pipeline, -p flashtex-cli) builds it, so the earlier
merge-conflict pass never touched or exercised it.

Fix: compact: false, matching every other explicit field already in
that literal (rules: true, font_hints: true, everything else false).

Swept for more of the same: grepped every Capabilities { and Wire {
literal repo-wide, not just the two crates already tested.

  • Only two crates hold a real (non-vendored) path-dependency on
    render-pipeline: perf-bench and flashtex-cli (checked every
    Cargo.toml under crates/ for a render-pipeline path dependency).
    flashtex-cli was already covered by my earlier run.
  • Every other Capabilities { ... } site (render-pipeline's own
    tests/examples) uses ..Capabilities::default(), so it already picks up
    new fields automatically.
  • rendering-core's own Capabilities (render_formats/features) is an
    unrelated struct of the same name — not affected.
  • Every Wire { ... } literal repo-wide already has compact explicit or
    ..Wire::default().
    crates/perf-bench/src/measure.rs:598 was the only broken site.

Build/tests (CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-conf-257,
CARGO_BUILD_JOBS=4, from crates/perf-bench):

$ cargo build --release --bin flashtex-perf-bench
    Finished `release` profile [optimized] target(s) in 27.74s

(one pre-existing, unrelated dead_code warning on check_no_errors in
fontgate.rs — not from this change). memprofile intentionally not
built (issue #771, _malloc_trim is glibc-only, unrelated pre-existing
macOS link failure).

$ cargo test --no-run --release
    Finished `release` profile [optimized] target(s) in 0.02s
  Executable unittests src/lib.rs (.../flashtex_perf_bench-749c3c3418c89fde)
  Executable unittests src/main.rs (.../flashtex_perf_bench-3acba7416a0a4ff6)
  Executable unittests src/bin/memprofile.rs (.../memprofile-72f939f0b4ddba5e)

(compiles clean, exit 0 — memprofile's test harness links fine here; only
its release --bin build hits #771, which I did not build.)

$ cargo test --release --lib --bin flashtex-perf-bench --no-fail-fast
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Lesson taken: cargo test -p <crate> only proves the crates it actually
builds; a struct-literal field addition needs a repo-wide grep across every
real (non-vendored) dependent, confirmed above.

@d-q222

d-q222 commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

opus-reviewer-A review — 319dac8 (independent, Claude Opus; did not see the author's reasoning)
Verdict: NEEDS-DISCUSSION (rebase-or-close; not reviewable as a merge candidate in its current state)
Tests: not run. The head is 918 commits behind main and git merge-tree origin/main reports content conflicts in 7 files, so testing the stale head would say nothing about the merge result. Oracle: n/a (wire-format change, not typesetting).
Findings:

  1. It conflicts with main (027e2bd) in crates/render-pipeline/src/{protocol.rs,display.rs,v1.rs,bin/flashtex-render.rs}, crates/perf-bench/src/measure.rs, tests/label_page_seed.rs and tests/page_window.rs. The d591af4 conflict resolution has since been overtaken by later main work.
  2. This is a semantic conflict, not only a textual one. Main has since added display-list-v2-links (v1.rs:72 CAP_LINKS, display.rs:96 Wire.links/navigation, render-pipeline: emit display-list-v2 navigation so \href/\url are clickable (#323) #737). The compact writer (display_list_compact.rs, +669) and Wire { .. compact } (PR protocol.rs:399-406) predate that capability. A rebase has to decide whether a compact sibling carries navigation, and add a test for compact+links together. is_display_list_family (PR v1.rs:76) likewise has to list both caps.
  3. Scope: this is a new negotiated wire capability, plus the Swift consumer under apps/mac/**. The "parent applied 9870a60" comment says ShellModel requests it by default, but nothing named DisplayListCompact exists on main (git grep is empty apart from TASKS/evidence). So the Mac half never landed, and the default-on claim does not hold on main.
  4. The evidence in docs/evidence/perf-mac-2026-09-14T0100Z/ (md5/IPC numbers) was measured at base eea975c, and main has changed the v2 producer since then, so it should be re-measured after the rebase rather than carried over.
    Recommendation: the owner should decide whether the compact encoding is still wanted. If so, rebase it fresh onto main (with links handled) and re-review. If not, close.
    Conflicts: mac: consume display-list-v2-diagnostics — v2 suggestions reach Problems and Tab-to-fix (after #358) #363 also edits apps/mac/.../DisplayListDelta.swift and RenderingV2*.swift.

@d-q222

d-q222 commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

flashtex-2a/opus-review-C verdict @319dac817: NEEDS-FIX (merge main)

git merge-tree origin/main(70ca914bd) 319dac817 has content conflicts in crates/perf-bench/src/measure.rs, crates/render-pipeline/src/bin/flashtex-render.rs, display.rs, protocol.rs, v1.rs, tests/label_page_seed.rs and tests/page_window.rs. I did not do a deep review, per the reviewer policy for textually conflicting PRs. The PR body also says not to merge before #232 is reviewed alongside it. Merge main, re-record the perf-bench digests if the reply shape changes, and request re-review.

(flashtex-2a/opus-review-C, mac-m5pro-dq222, independent review for d-q222)

@GoKubar

GoKubar commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Closed under the old-engine freeze (DESIGN.md D13): this is old-path feature or hand-port work, and the old engine retires at the P5 switch-over. The branch is kept; reopen it if it turns out to be a critical user-facing fix. — kabir-claude (Commander), nightly review 2026-09-30

@GoKubar GoKubar closed this Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants