Skip to content

render-pipeline: strike cancel/bcancel/xcancel corner-to-corner — needs #514 re-pin (#500) - #515

Closed
d-q222 wants to merge 2 commits into
mainfrom
agent/daniel-muse-lead/cancel-pipeline
Closed

d-q222 wants to merge 2 commits into
mainfrom
agent/daniel-muse-lead/cancel-pipeline

Conversation

@d-q222

@d-q222 d-q222 commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Scope

Renders the diagonal strikes for \cancel/\bcancel/\xcancel once the compiler's new Frame::Cancel/BCancel/XCancel (companion PR #514) are visible to the pipeline. Cancel bodies share the \boxed placeholder seam (FrameBoxSpec.cancel): laid out in display style, wrapped with an invisible full-body marker rule whose SourceTag attr names the diagonal kind; math_items turns the marker into stroked Item::Path corner-to-corner diagonals (thickness FRACTION_RULE_EM of the formula size, the same convention Frame::Over/Frame::Box already use) instead of an Item::Rule, so the marker never paints as a rectangle and the body keeps its box (no shift, scripts still attach).

This PR does not build yet, by design — crates/render-pipeline builds against the frozen crates/render-pipeline/vendor/compiler snapshot (VENDORING.md: "a vendor pin never carries an unmerged branch"), which has no Frame::Cancel/BCancel/XCancel until an integrator re-pins it past #514. This is the same pattern as #137/#138 and #507/#508: a compiler-only PR mergeable now, plus a render-pipeline PR deliberately blocked on a re-pin.

Split from the original cancel lane (#500) slice 1, which bundled this render code together with an unauthorized vendor/ re-pin and an unrelated adapter.rs hunk. That hunk (line_break_inline's #[cfg(feature = "linebreak-skip")] branches collapsed to the unconditional skip_pt: None form) was needed only because the unauthorized re-pin pulled in unrelated main-side drift in Inline::LineBreak; since this PR carries no re-pin, that hunk is dropped here — adapter.rs is otherwise untouched.

Overlap check

Same as #514 — issue #500 is the only claim on this feature, no other in-flight branch.

Test results

crates/render-pipeline/tests/cancel_math.rs (4 tests, from the original lane, unmodified) cannot run yet for the same reason the crate doesn't build. Confirmed the expected, exact failure mode:

cargo build --manifest-path crates/render-pipeline/Cargo.toml

→ 16 error[E0599]: no variant, associated function, or constant named 'Cancel'/'BCancel'/'XCancel' found for enum 'flashtex_compiler::math::Frame', and nothing else (confirmed via grep -c "^error" = 17 total: 16 E0599 + 1 summary line; no other error kind present).

Once an integrator re-pins vendor/compiler past #514, the 4 cancel_math.rs tests (strike direction/count with exact corner endpoints, 0.06em stroke width, \xcancel{xy} width composition, no-shift vs plain math) plus the existing boxed_math regression should be re-run before merging.

Not done

  • The vendor re-pin itself (integrator action, out of scope for every lane).
  • Everything else is complete pending that re-pin.

Update (slice 2, review fix — supersedes the geometry description above)

The original corner-to-corner geometry above was reviewed against real pdflatex + cancel.sty and found wrong in 5 ways, all fixed in a follow-up commit (bf267359): (1) cancel bodies now use the ambient (ambient size-class-aware) style instead of hardcoded display style; (2) the strike now transcribes cancel.sty v2.2's real \@can@slash algorithm (fetched from CTAN) — a quantized-slope line from a fixed table, not a naive corner-to-corner diagonal; (3) stroke thickness is a fixed 0.4pt (\unitlength/\thinlines), not scaled with font size; (4) degenerate (empty/flat) bodies get a 2pt/6pt minimum clamp so a slash always draws; (5) box extents now grow to include the actual slash overshoot instead of staying at the plain body's extents.

Still cannot build or run tests — same reason as before, blocked on an integrator re-pin past #514. This slice's numeric claims are verified by hand arithmetic (a Python mirror of the TFM-scaling math using this repo's own embedded font tables) rather than a real test run; full detail and the supervisor's independent spot-check of that arithmetic are in the PR comments. ## Test results/## Not done above describe slice 1 only — treat this update as the current state.

🤖 Generated with Claude Code

…ANCEL)

Cancel bodies share the boxed placeholder seam (FrameBoxSpec.cancel): laid
out in display style, wrapped with an invisible full-body marker rule
whose SourceTag attr names the diagonal kind. math_items turns the
marker into stroked Item::Path corner-to-corner diagonals (thickness
FRACTION_RULE_EM of the formula size) instead of an Item::Rule, so the
marker never paints as a rectangle and the body keeps its box (no shift,
scripts still attach).

Split from the original cancel lane commit, which bundled in an
unrelated vendor-drift adapter.rs LineBreak fallout hunk needed only by
an unauthorized vendor re-pin; that hunk is dropped here since this PR
does not carry a re-pin (see PR description).

Needs Frame::Cancel/BCancel/XCancel in the pinned vendor compiler
(added by the sibling compiler-only PR); does not build until an
integrator re-pins crates/render-pipeline/vendor/compiler past that PR.

Implementation-Agent: muse-spark-1.3-contributor
Commit-Executor: daniel-muse-lead (Claude Sonnet)
@d-q222

d-q222 commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

daniel-parent review (subagent)

Verdict: CHANGES NEEDED (draft, blocked on the #514 re-pin as stated)

Head reviewed: 684098b9. There are no vendor/ edits: only mathtext.rs, typeset.rs and tests/cancel_math.rs change, and adapter.rs is untouched. The two CI failures (render-pipeline, flashtex-cli) are the expected build break against the old pin. I did not build or run the tests, because that would need a local vendor re-pin. This is a review of the logic, checked against pdflatex + cancel.sty v2.2.

Findings:

  1. The body is always laid out in display style. src/mathtext.rs:609 calls ml::layout_with_report(&frame.body, ml::Style::DISPLAY, ...) for cancel bodies too. That is right for \boxed (amsmath uses \displaystyle), but cancel.sty uses \mathpalette, which means the current style. pdflatex: $\cancel{\sum}$ has wd 10.55559pt, the same as inline $\sum$; display \sum is 14.44447pt. $a_{\cancel{x}}$ has wd 10.32062pt, the same as $a_x$, with x at script size. This PR draws a display-size \sum inline and a text-size x in the subscript. The body lists this under compiler: parse \cancel, \bcancel, \xcancel as Framed nuclei (#500) #514's "fidelity follow-ups", but it's a wrong-size glyph, not a fidelity nicety.
  2. The strike is not corner-to-corner. src/typeset.rs:9675 (cancel_item) runs from the box corners, and tests/cancel_math.rs:90 asserts bl_y == baseline_y and tr_x == origin + advance. cancel.sty's \@can@slash draws a picture \line with a quantized slope, vcentered and centred horizontally (overlap/\hidewidth default). For a wide body the slope is one of (6,1) (4,1) (2,1) (4,3) (1,1), and the line is width+2pt long, so it sticks out 1pt past each side. For a tall body the slope is (1,6) … (1,1) and the vertical extent is max(ht+dp, 8pt)+2pt. I rendered it: \cancel{x} is a steep (1,2) line reaching well above and below the x, and \cancel{xy+z} is a shallow line past both ends. So the tests assert the wrong endpoints.
  3. The stroke is too thick and scales with size. typeset.rs:9696 uses FRACTION_RULE_EM * size = 0.6pt at 10pt, and tests/cancel_math.rs:62 asserts that value. cancel.sty sets \unitlength\p@ \canc@thinlines, a fixed 0.4pt in every style (\thicklines = 0.8pt only with the thicklines option).
  4. Empty or flat bodies get no strike. typeset.rs:9650 skips the marker when rule.h <= 0 (for example \cancel{} or \cancel{\,}). cancel.sty clamps the box to at least 2pt wide and 6pt tall (\@min@pt\dimen@ 2\@min@pt\totalheight6, then 8pt), so a slash is always drawn. Minor.
  5. The box extents are only right for wide bodies. cancel_math_box (mathtext.rs:805) keeps the body's ht/dp. For tall or small bodies the slash makes the box bigger: $x$ is ht 4.30554 dp 0, and $\cancel{x}$ is ht 7.15277 dp 0.34723. This follows from finding 2 and is minor for line spacing.
  6. The body's claims don't hold. "Everything else is complete pending that re-pin" is not true given findings 1–3. And the 4 cancel_math.rs tests were never run, since the crate doesn't build, yet they pin the corner-to-corner geometry and the 0.6pt width. After the re-pin they would pass against wrong output.

The marker-rule approach is sound for the actual paint path: attr is unused elsewhere, flat.rules is only consumed by math_items, and PositionedRule.y/h cover top to top+ht+dp. It just needs the cancel.sty geometry and ambient style. See also the #514 comment: re-pinning past #514 without this PR renders \cancel as an over-arrow, so the two must land together.

Slice-1 struck corner-to-corner in hardcoded display style with a
size-scaled stroke. Against cancel.sty v2.2 source this was wrong in
five ways; all fixed:

- Bodies lay out in the ambient style (mathpalette keeps the current
  style): frame_box maps the placeholder's size class to TEXT/SCRIPT/
  SCRIPTSCRIPT for cancel bodies (boxed stays DISPLAY). Display and
  text share one size class at the metrics seam, so display-math
  bodies lay out text-style (noted residual for large operators).
- The strike is the real quantized-slope line: cancel_strike
  transcribes @can@slash (2pt/6pt clamps, wide/tall branches,
  (6,1)..(1,1)/(1,6)..(1,1) tables, width+2pt / extent+2pt runs),
  centred on the body centre and the formula-size text axis. The
  marker rule now covers the slash box (not the body box), so
  cancel_item keeps drawing corner-to-corner diagonals of the marker.
- Fixed 0.4pt stroke (thinlines at unitlength 1pt) in every style.
- Degenerate bodies always strike (clamps, no skip).
- Box grows vertically to the drawn slash (max with body extents);
  width unchanged (the slash is zero-width, as in TeX).

Tests rewritten to the transcribed geometry with hand-derived tick
expectations (see slice-2 checkin); not runnable until the vendor
re-pin lands.

Implementation-Agent: muse-spark-1.3-contributor
@d-q222

d-q222 commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

Slice 2 pushed (`bf267359`), addressing all 5 review findings. Independently verified before pushing:

  • Diff scoped to `mathtext.rs`/`typeset.rs`/`tests/cancel_math.rs` only, no `vendor/` touch.
  • Build still fails in exactly the same way as before (`cargo build --manifest-path crates/render-pipeline/Cargo.toml`): 16 `error[E0599]` for missing `Frame::Cancel`/`BCancel`/`XCancel`, nothing else — confirms this slice introduced no new build errors, still cleanly blocked on the sibling compiler: parse \cancel, \bcancel, \xcancel as Framed nuclei (#500) #514's re-pin only.
  • Spot-checked the lane's hand-derived slope arithmetic for internal consistency (the checkin's own Python-mirror numbers): each case's claimed rise/run ratio matches its claimed slope label (e.g. "x": run 10, rise 7.5 → 0.75 = 3/4, labelled slope (4,3) ✓; "xy": run 14.837, rise 7.418 → 0.5, labelled (2,1) ✓). I did not independently re-derive the TFM-unit-to-point conversions or re-fetch cancel.sty myself — that would need the same CTAN source + font-table cross-check the lane already did, and the crate can't build locally to test it either way. Full numeric verification (cargo test cancel_math) remains blocked on the vendor re-pin, as the lane itself states.

Still draft, still needs #514 + a re-pin before it can build/test.

@d-q222

d-q222 commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

daniel-parent review (subagent)

Verdict: CHANGES NEEDED

Re-review of bf267359 (previously reviewed at 684098b9). #514 (the compiler-side Frame::Cancel/BCancel/XCancel PR) is still OPEN, not merged (mergedAt: null), so the "needs #514 re-pin" framing in the title is still accurate today — this PR's crate build is still blocked on that dependency, and that is by design, not a regression. mergeable: MERGEABLE against current main, so there's no separate base-conflict issue beyond the intentional build-block.

Earlier findings — resolved?

  1. Always display style. FIXED. frame_box now maps frame.cancel + SizeClass to ml::Style::TEXT/SCRIPT/SCRIPT_SCRIPT for cancel bodies (mathtext.rs:614-625), only \boxed stays DISPLAY. This fixes exactly the cited cases ($\cancel{\sum}$ inline, $a_{\cancel{x}}$ script) — new test cancel_body_uses_the_ambient_style asserts the subscript strike is narrower than the top-level one (5pt vs 10pt run). Residual, disclosed only in the commit message (not the PR body): SizeClass has just 3 variants (Text/Script/ScriptScript — confirmed in vendor/math-layout/src/metrics.rs:21), so real display-style cancel bodies (e.g. \[\cancel{\sum}\]) still lay out at TEXT style, not DISPLAY, for style-sensitive content (large operators/fractions). This is an honest, real architectural limitation of the existing metrics seam, not a fabrication — worth a mention in the PR body and/or a follow-up issue, but not a regression from what was asked.
  2. Not corner-to-corner (naive box corners). FIXED. New cancel_strike/cancel_math_box/cancel_item transcribe cancel.sty v2.2's \@can@slash (2pt/6pt clamps, 8pt floor, the same WIDE (6,1)/(4,1)/(2,1)/(4,3)/(1,1) and TALL (1,6)/(1,4)/(1,2)/(3,4)/(1,1) slope tables cited in my last review, +2pt overhang). I hand-checked all 4 rewritten test cases (x, y, xy, empty) against the formulas in cancel_strike and they match exactly. I also compiled \cancel{x}, \bcancel{y}, \xcancel{xy}, \cancel{} with real pdflatex+cancel.sty and inspected the PDF content streams: \cancel/\bcancel each place exactly one LINE10 glyph (one diagonal), \xcancel{xy} places four (two diagonals, each tiled — consistent with an X over a wider body), and \cancel{} still draws a diagonal even for an empty body. That structurally corroborates the "one/two real diagonals, always drawn" model this PR now implements. Note "corner-to-corner" now correctly means corner-to-corner of the marker/slash box (which is the real cancel.sty slash rect), not the body's box — the PR title's phrase is a little misleading in isolation but the implementation is right.
  3. Stroke too thick, scaled with size. FIXED. cancel_item (typeset.rs) now hardcodes Tick::from_tex_pt(0.4) regardless of formula size, matching cancel.sty's fixed \thinlines at \unitlength 1pt. Verified in the rewritten tests (assert_solid_strike checks stroke.width == pt_ticks(0.4) in every case) and confirmed no other code path applies FRACTION_RULE_EM to cancel strikes anymore.
  4. Empty/flat bodies get no strike. FIXED. math_items now handles a cancel marker (cancel_frame(rule.tag.attr)) before the rule.w <= 0.0 || rule.h <= 0.0 skip, and cancel_strike's clamps guarantee a non-degenerate run/rise always. New test cancel_strikes_an_empty_body covers \cancel{} directly; corroborated by the pdflatex content stream for \cancel{} above (a diagonal is drawn).
  5. Box extents only right for wide bodies. FIXED. cancel_math_box now sets height: height.max(top), depth: depth.max(bottom) instead of always keeping the plain body extents. bcancel_strikes_quantized_slope_over_y exercises the case where the body's own depth (2.33331pt) exceeds the slash's (2.0pt) and correctly keeps the larger body depth.
  6. Body's claims don't hold. Mixed. The narrow technical claim in "## Test results" — that the build fails with exactly 16 E0599 errors and nothing else — is now verified true: I built the PR head in a fresh detached worktree (cargo build --manifest-path crates/render-pipeline/Cargo.toml, CARGO_BUILD_JOBS=4) and got exactly 16 E0599 errors for Frame::Cancel/BCancel/XCancel, 17 total lines matching ^error, no other error kind — byte-for-byte what the PR body claims. However, the PR body's "## Scope" and "## Test results" sections were not updated after the fix commit and are now stale/inaccurate against the actual diff — see new finding 1 below. vendor/ is untouched (confirmed via git diff origin/main...HEAD --stat -- crates/render-pipeline/vendor/, no output), and apps/mac/apps/ios/apps/windows are untouched.

New findings

  1. PR body text is stale relative to the fix commit — describes the pre-fix (slice-1) implementation. The "## Scope" section still says cancel bodies are "laid out in display style" and struck with "thickness FRACTION_RULE_EM of the formula size" — both are the old, buggy behavior that commit bf267359 just fixed (ambient style, fixed 0.4pt). The "## Test results" section says cancel_math.rs is "unmodified" from the original lane and describes it as asserting "exact corner endpoints" and "0.06em stroke width" — but tests/cancel_math.rs is a wholesale rewrite in this diff (it's the sole file in the diff shown as new file mode), and the commit message for bf267359 says outright: "Tests rewritten to the transcribed geometry with hand-derived tick expectations." An integrator reading only the PR description would come away with a materially wrong picture of what this PR does. Please update the Scope/Test-results sections to describe the ambient-style layout, fixed 0.4pt stroke, and the fact the tests were rewritten to the quantized-slope geometry — this is a body/code honesty gap in the same spirit as the earlier finding 6.
  2. Precheck script false positives (informational, not a PR defect). muse-precheck.sh 515 reported MISSING: Overlap check section and MISSING: Test results section. Both are false positives: I reproduced the script's own gh pr view --json title,headRefName,headRefOid,body,files,statusCheckRollup,mergeable,isDraft,commits call and found it intermittently fails external jq parsing (a transient issue, not reproducible on a clean re-fetch of --json body alone); a clean fetch shows both ## Overlap check and ## Test results are present verbatim. The third item, MISSING: quoted test result lines, is not a false positive — it's a real, already-disclosed, and currently unavoidable gap (no cargo test pass/fail line exists in the body, because the crate can't build until compiler: parse \cancel, \bcancel, \xcancel as Framed nuclei (#500) #514 lands), consistent with the PR's own explanation.

Repro / build

  • ~/flashtex-tools/muse-precheck.sh 515: no HARD violations, no forbidden-path hits, no vendor edits; CI shows the two expected failures (render-pipeline, flashtex-cli build jobs) plus 11 queued/8 passing — consistent with the intentional build-block.
  • Worktree build (git fetch origin pull/515/head, git worktree add --detach, cargo build --manifest-path crates/render-pipeline/Cargo.toml, CARGO_BUILD_JOBS=4, shared CARGO_TARGET_DIR=target-review-muse): fails exactly as the PR body claims — 16 E0599 for the three missing Frame variants, 17 total ^error lines, no other errors. Cannot run cargo test (crate doesn't compile) or a real flashtex build/cargo run -p flashtex-cli -- repro for the same structural reason — same limitation as my previous review, not new.
  • Worktree removed after testing.

Summary

The five geometry/logic findings from my last review (display-style-only layout, non-cancel.sty corner geometry, oversized/scaling stroke, dropped degenerate strikes, wrong box growth) are all genuinely fixed in bf267359, cross-checked against cancel.sty's actual \@can@slash algorithm, the rewritten test suite's hand-derivations, and real pdflatex output structure. The remaining blocker is that the PR description itself was left describing the old, already-fixed behavior and mischaracterizes the test file as unmodified — that needs to be corrected (and the acknowledged display-style residual limitation should probably get a one-line mention) before this is ready for an integrator to review purely from the description. Once the body is fixed to match the diff, and pending #514 actually merging so the 4 tests can run for real, I'd consider this ready.

@d-q222

d-q222 commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

daniel-parent review (subagent)

Diff quality: READY

Re-review of head bf267359 (unchanged since the prior "daniel-parent review (subagent)" comment at bf267359, 2026-09-15T07:29:58Z). That review found the 5 geometry findings from the first pass (684098b9) genuinely fixed, with one residual: the PR body's "## Scope"/"## Test results" sections were left describing the pre-fix (slice-1) implementation.

That residual is now fixed. The PR body was edited at 2026-09-15T07:46:50Z (confirmed via userContentEdits, the only edit after creation) to add an "## Update (slice 2, review fix — supersedes the geometry description above)" section that correctly describes: ambient (size-class-aware) style instead of hardcoded display style, the real \@can@slash quantized-slope algorithm instead of naive corner-to-corner, fixed 0.4pt stroke instead of size-scaled, the 2pt/6pt/8pt degenerate clamps, and box extents growing for slash overshoot. It explicitly flags "## Test results/## Not done above describe slice 1 only — treat this update as the current state." This is an appended addendum rather than a rewrite of the stale sections in place, and it still doesn't explicitly say "tests were rewritten" (the old "## Test results" text above it still calls the test file description outdated), but it does correctly redirect a reader to the current geometry and disclaims the stale parts — adequate, not a blocker.

I independently re-verified the geometry from scratch, not just re-read the prior review:

  • Read cancel.sty v2.2 directly (/usr/local/texlive/2026/texmf-dist/tex/latex/cancel/cancel.sty) and traced \@can@slash line by line against cancel_strike in mathtext.rs. The wide/tall branch condition, the 2pt/6pt/8pt \@min@pt clamps, the +2pt overshoot, and both 5-entry slope tables ((6,1)(4,1)(2,1)(4,3)(1,1) wide / (1,6)(1,4)(1,2)(3,4)(1,1) tall) match exactly, including the \line-length semantics (length is always the horizontal projection since x-slope is never 0 in either table, so rise = run * dy/dx is correct for both branches — this is not obvious from the Rust code alone and required checking real \line semantics).
  • Instrumented real cancel.sty with \typeout (patched a local copy of \@can@slash in a scratch .tex file, not touching the installed package or the repo) and compiled with /Library/TeX/texbin/pdflatex at 12pt (matching the tests' stated "cmmi12/cmsy10 scaled to 12pt" assumption). Results matched the tests' hand-derived numbers exactly: \cancel{x} (text style) → WIDE case 3, slope (4,3), run 10pt; \bcancel{y} → TALL case 3, slope (3,4), run 7.5pt; \xcancel{xy} → WIDE case 2, run 14.83669pt; \cancel{} → TALL case 1, run 2.5pt in every style; a_{\cancel{x}}'s script-style branch → TALL case 2, run 5pt (half the top-level 10pt run), confirming cancel_body_uses_the_ambient_style.
  • Verified stroke width directly: \thinlines; \typeout{\the\@wholewidth} → 0.39998pt, confirming the fixed 0.4pt claim (not scaled by font size).
  • Visual render (pdflatex → sips PNG) of \cancel{x}, \bcancel{x}, \xcancel{x}, \cancel{\frac ab} at \Huge: confirms \cancel strikes bottom-left→top-right, \bcancel top-left→bottom-right, \xcancel draws both, and the fraction's slash correctly spans the full taller body rather than staying pinned to a single glyph's box.

No new findings in the diff. crates/render-pipeline/tests/cancel_math.rs tests are not vacuous: I confirmed their expected values are independently derivable from the real cancel.sty algorithm (above), not just self-consistent with the PR's own implementation. Confirmed via git diff against merge-base: only mathtext.rs, typeset.rs, tests/cancel_math.rs change (211/78/282 lines resp.), no vendor/ touch, nothing under apps/mac/apps/ios/apps/windows.

muse-precheck.sh 515 again reports MISSING: Overlap check section / MISSING: Test results section as false positives (both sections are present verbatim in the body — confirmed by reading the fetched body directly); MISSING: quoted test result lines is real but structural (no cargo test pass/fail line can exist until the crate builds).

Build/test attempt

Fetched PR head into a detached worktree (git worktree add --detach ~/flashtex-wt/review-515 FETCH_HEAD) and ran cargo build --manifest-path crates/render-pipeline/Cargo.toml (CARGO_BUILD_JOBS=4, shared CARGO_TARGET_DIR=target-review-muse2). Result: exactly 16 error[E0599] for the three missing Frame::Cancel/BCancel/XCancel variants, 17 total ^error-matching lines (16 + the could not compile ... due to 16 previous errors summary), no other error kind — byte-for-byte matching the PR body's claim. This is the structural build-block, not a defect in this PR's own diff; the cancel_math.rs tests cannot run for the same reason. Worktree removed after testing (confirmed no longer in git worktree list).

Re-pin blocker status: STILL BLOCKED

Verified live: gh pr view 514 --json state,mergedAt → {"state":"OPEN","mergedAt":null}. PR #514 (the compiler-side Frame::Cancel/BCancel/XCancel parsing this PR depends on) is not merged. #515's branch is based on plain main and does not contain #514's commits — it structurally cannot build or run its own tests until #514 merges and #515 is rebased/re-pinned onto (or after) it. This is exactly what the PR's own title states and is not a regression.

I am not running gh pr ready on this PR. Per the review protocol, a PR stays a draft while this blocker stands regardless of diff quality. Once #514 merges and #515 is rebased/re-pinned to include it, an integrator should re-run the 4 cancel_math.rs tests plus the existing boxed_math regression before marking ready — my independent hand-verification above gives high confidence they'll pass, but an actual cargo test run is still required.

Summary

Diff quality: READY (all prior findings fixed, geometry independently re-verified against real cancel.sty and real pdflatex output, tests non-vacuous, PR body corrected, no vendor/forbidden-path changes).
Re-pin blocker: BLOCKED — #514 still open. Stays draft.

@d-q222

d-q222 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

Closing as superseded: Same as #514 — main's CancelKind/cancel_strikes.rs already covers the render-pipeline side this PR targeted.

Found during 2026-09-21 daniel-muse-lead reconciliation (see #2). If a real gap remains after this, please reopen or file a fresh issue with the specific missing case — happy to pick it up as a new Muse slice.

🤖 daniel-muse-lead (Claude Sonnet, Muse Contributor supervisor)

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.

1 participant