Repository navigation
docs: fix stale claims that misled engineers (VENDORING, #200 note, font gate, \today, fonts, completion, coverage) - #254
Merged
Conversation
vendor/compiler's ea4ee5c (and every other checked pin) is an ancestor of main via `git merge-base --is-ancestor`, 150-2556 commits behind depending on the crate. The "ahead of main" framing nearly caused an integrator to treat a routine forward re-pin as dangerous. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
crates/render-pipeline/Cargo.toml already has `request-date` as a default Cargo feature, vendor/compiler (pin ea4ee5c) already carries parser::parse_project_with and date.rs, and apps/mac already sends `date: RuntimeV1.localDate()` on every compile request (ShellModel.swift). docs/contracts/runtime-v1.md, protocol/proposals/runtime-v1-request-date.md and two render-pipeline doc comments still described this as blocked on a vendor re-pin / off by default, which nearly reads as "\today still renders the epoch" today. crates/document-runtime does not send `date` yet; noted as still open. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
MISSING (the set of diagnostics that mark a fixture as a packaging failure) had tfm_missing/required_metrics_unavailable/font_unavailable/ math_font_unavailable but not ec_metrics_unavailable or font_outline_substituted, both real diagnostic codes emitted by crates/render-pipeline/src/typeset.rs (confirmed by grep) and both already treated as font-failure signals elsewhere (crates/render-pipeline/tests/ bundled_typewriter.rs's SUBSTITUTION_CODES, tools/visual-oracle/fontenv.py's FONT_DIAGNOSTIC_CODES). A build missing EC metrics or falling back to a substituted outline could pass this acceptance gate silently. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
…/Esc docs/user/gui.md and apps/mac/README.md described the completion list as opening only on an explicit Esc/⌃Space. apps/mac/Sources/FlashTeXMac/ Completion.swift (see the "MARK: automatic completion (typing opens the list; no ⌃Space needed)" section, opensAutomatically(), and automaticCompletionDelay = 0.05) has had automatic-open-while-typing for control words and completion-bearing argument keys; only plain prose words still require explicit ⌃Space. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
canonical-latex.tsv's candidates come only from the LaTeX2e reference manual's @findex/@EnvIndex entries and nine package source files (crates/compiler/scripts/canonical_latex.py); math symbols like \alpha and \odot are in neither, confirmed by `grep -P '\t(alpha|odot)$' canonical-latex.tsv` matching nothing. The coverage percentage was reading as overall LaTeX coverage when it actually excludes an entire supported category (509 math commands per dispatcher's count) that the compiler tracks through a separate mechanism (math.rs's COMMAND_GLYPHS/ OPERATOR_NAMES). Documented the gap rather than regenerating canonical-latex.tsv, which needs a TeX Live tree this box doesn't have. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
docs/user/compiler.md said "sans, typewriter and small caps are not bundled," but apps/mac/Fonts has had lmsans*/lmsansdemicond* (added in 9a22ae6), lmromanslant*/lmromancaps*/lmmonoslant*/lmmonocaps* (also 9a22ae6) and lmmono*/lmmonolt* (fa72dbf) for a while, and crates/render-pipeline/src/fonts.rs's latin_modern_file() resolves \textsf/\texttt/\textsl/small caps to those real files, not a substitution. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
docs/user/gui.md's "Not yet supported" list still had this even after the automatic-open-while-typing behavior (Completion.swift's opensAutomatically/ automaticCompletionDelay) landed, contradicting the fix made earlier in this same file and in apps/mac/README.md. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
This was referenced Sep 14, 2026
GoKubar
marked this pull request as ready for review
September 14, 2026 01:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the three confirmed stale-doc instances from today plus a few more of
the same class found by sweeping for it. Every claim below was checked
against current code, not against a PR description.
crates/render-pipeline/vendor/VENDORING.mdcalled the pins "ahead ofmain". Checked with
git merge-base --is-ancestor <pin> HEAD: everychecked pin (
compiler/math-layoutea4ee5c8,font-resources/project-filesd5440b0,font-enginef418238,pdfbffd168a,document-stylebfc980d,paragraph-layout/tex-text-encoding/tex-boxes/tex-expansion87a513de,microtype8193d5db) is anancestor of
main, 150-2556 commits behind.vector-graphics's pin(
3593209b, on an unmerged branch) is even byte-identical tomain'scrates/vector-graphicstoday (diff -rqempty apart fromPIN).line is stale (see below — did not edit the historical PR body).
apps/mac/scripts/faces-acceptance.py'sMISSINGset (the fontpackaging failure gate) had
tfm_missing/required_metrics_unavailable/font_unavailable/math_font_unavailablebut notec_metrics_unavailableor
font_outline_substituted— both real codes(
crates/render-pipeline/src/typeset.rs), both already treated asfont-failure signals elsewhere (
bundled_typewriter.rs'sSUBSTITUTION_CODES,tools/visual-oracle/fontenv.py'sFONT_DIAGNOSTIC_CODES).Same class of problem, found by sweeping:
\today:docs/contracts/runtime-v1.md,protocol/proposals/ runtime-v1-request-date.mdand two render-pipeline doc comments describedthe request-date feature as a still-open proposal blocked on a vendor
re-pin. It's landed:
request-dateis a default Cargo feature(
crates/render-pipeline/Cargo.toml), the vendor pin already carriesparser::parse_project_with/date.rs, andapps/mac'sShellModel.swiftsends
date: RuntimeV1.localDate()on every compile request.crates/document-runtimedoes not send it yet — noted as still open.docs/user/compiler.mdsaid "sans, typewriterand small caps are not bundled."
apps/mac/Fontshas hadlmsans*,lmromanslant*/lmromancaps*/lmmonoslant*/lmmonocaps*andlmmono*/lmmonolt*for a while, andfonts.rs'slatin_modern_file()resolves
\textsf/\texttt/\textsl/small caps to those real files.docs/user/gui.md(twice — a keyboardshortcut row and a "Not yet supported" bullet) and
apps/mac/README.mddescribed completion as opening only via explicit ⌃Space/Esc.
Completion.swifthas had automatic-open-while-typing(
opensAutomatically,automaticCompletionDelay = 0.05) for controlwords and completion-bearing argument keys.
crates/compiler/supported/coverage.md's denominator excludes allmath-mode symbol commands (
\alpha,\odot, ...) — confirmed withgrep -P '\t(alpha|odot)$' canonical-latex.tsvmatching nothing, becausethe candidate sources (
canonical_latex.py) are the LaTeX2e referencemanual's index and nine package source files, none of which lists math
symbols. Documented the gap rather than regenerating the TSV (needs a TeX
Live tree this box doesn't have).
Checked but left alone
docs/design/on-device-conversion.md's "zero diagnostics" release-gatelanguage is a forward-looking design target for an unbuilt ML feature, not
a claim about current test-suite behavior.
tools/visual-oracle/fontenv.py'sFONT_DIAGNOSTIC_CODES/ADVISORY_FONT_DIAGNOSTIC_CODESsplit andcrates/compiler/tests/ amsmath_corpus/oracle.py's font-diagnostic doc comment are alreadyaccurate (this is the canonical source the task's own diagnostic list
matches).
main(math-layout: extension_glyph takes the size class it is asked for #229, math-layout: size \big..\Bigg by the kernel's fixed lengths without amsmath #239) touch exactly this, but both are draft/internal fixesto
crates/math-layoutthat are explicitly "inert until a reviewer takesthe vendor re-pin" (math-layout: extension_glyph takes the size class it is asked for #229's own description) —
crates/render-pipeline(the shipped engine) is unaffected until then, so the existing
math_limitationdocs language is still accurate for the product today.Not done — flag for a human
from the brief; documented the bundle contents by directory listing and
code path instead of repeating an unverified count.
protocol/proposals/runtime-v1-request-date.mdcites issue FT-003: dispatch to mac-claude-a — acknowledgement required #2 as theowner bug for "
\date{\today}always renders January 1, 1970", but GitHubissue FT-003: dispatch to mac-claude-a — acknowledgement required #2's actual title/body is an unrelated FT-003 dispatch/ack thread.
Left a comment on FT-003: dispatch to mac-claude-a — acknowledgement required #2 noting the mismatch and the \today fix status; did
not touch the issue title.
Co-Authored-By: Claude Opus 5 [email protected]
Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu