Skip to content

docs: fix stale claims that misled engineers (VENDORING, #200 note, font gate, \today, fonts, completion, coverage) - #254

Merged
GoKubar merged 7 commits into
mainfrom
docs/stale-claims-sweep-20260913
Sep 14, 2026
Merged

GoKubar merged 7 commits into
mainfrom
docs/stale-claims-sweep-20260913

Conversation

@GoKubar

@GoKubar GoKubar commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

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.

  1. crates/render-pipeline/vendor/VENDORING.md called the pins "ahead of
    main". Checked with git merge-base --is-ancestor <pin> HEAD: every
    checked pin (compiler/math-layout ea4ee5c8, font-resources/
    project-files d5440b0, font-engine f418238, pdf bffd168a,
    document-style bfc980d, paragraph-layout/tex-text-encoding/
    tex-boxes/tex-expansion 87a513de, microtype 8193d5db) is an
    ancestor of main, 150-2556 commits behind. vector-graphics's pin
    (3593209b, on an unmerged branch) is even byte-identical to main's
    crates/vector-graphics today (diff -rq empty apart from PIN).
  2. Left a comment on PR compiler: the twelve kernel math delimiters and 21 more kernel/amsmath math commands #200 noting its "8 partial-font control failures"
    line is stale (see below — did not edit the historical PR body).
  3. apps/mac/scripts/faces-acceptance.py's MISSING set (the font
    packaging failure gate) had tfm_missing/required_metrics_unavailable/
    font_unavailable/math_font_unavailable but not ec_metrics_unavailable
    or font_outline_substituted — both real codes
    (crates/render-pipeline/src/typeset.rs), both already treated as
    font-failure signals elsewhere (bundled_typewriter.rs's
    SUBSTITUTION_CODES, tools/visual-oracle/fontenv.py's
    FONT_DIAGNOSTIC_CODES).

Same class of problem, found by sweeping:

  • \today: docs/contracts/runtime-v1.md, protocol/proposals/ runtime-v1-request-date.md and two render-pipeline doc comments described
    the request-date feature as a still-open proposal blocked on a vendor
    re-pin. It's landed: request-date is a default Cargo feature
    (crates/render-pipeline/Cargo.toml), the vendor pin already carries
    parser::parse_project_with/date.rs, and apps/mac's ShellModel.swift
    sends date: RuntimeV1.localDate() on every compile request.
    crates/document-runtime does not send it yet — noted as still open.
  • Font bundle contents: docs/user/compiler.md said "sans, typewriter
    and small caps are not bundled." apps/mac/Fonts has had lmsans*,
    lmromanslant*/lmromancaps*/lmmonoslant*/lmmonocaps* and
    lmmono*/lmmonolt* for a while, and fonts.rs's latin_modern_file()
    resolves \textsf/\texttt/\textsl/small caps to those real files.
  • Completion opens on typing: docs/user/gui.md (twice — a keyboard
    shortcut row and a "Not yet supported" bullet) and apps/mac/README.md
    described completion as opening only via explicit ⌃Space/Esc.
    Completion.swift has had automatic-open-while-typing
    (opensAutomatically, automaticCompletionDelay = 0.05) for control
    words and completion-bearing argument keys.
  • crates/compiler/supported/coverage.md's denominator excludes all
    math-mode symbol commands
    (\alpha, \odot, ...) — confirmed with
    grep -P '\t(alpha|odot)$' canonical-latex.tsv matching nothing, because
    the candidate sources (canonical_latex.py) are the LaTeX2e reference
    manual'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

Not done — flag for a human

Co-Authored-By: Claude Opus 5 [email protected]
Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu

GoKubar and others added 7 commits September 13, 2026 20:55
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
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