Skip to content

fix(font-gate): enforce fail-closed font coverage parsing (RIG-3742) - #1294

Open
rigel-mintaka wants to merge 5 commits into
mainfrom
compass-ux/3742-font-gate-error
Open

rigel-mintaka wants to merge 5 commits into
mainfrom
compass-ux/3742-font-gate-error

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

@trunk-io

trunk-io Bot commented Sep 18, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@linear-code

linear-code Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

RIG-3855

RIG-3742

@rigel-mintaka
rigel-mintaka marked this pull request as ready for review September 18, 2026 18:16
@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-ux-3742-font-gate-er.compass-eng-docs.pages.dev

Deployed from compass-ux/3742-font-gate-error at b54f591.

@rigel-mintaka
rigel-mintaka force-pushed the compass-ux/3742-font-gate-error branch from 0e1e34a to 7b70c17 Compare September 18, 2026 19:32
@rigel-mintaka
rigel-mintaka added this pull request to stack #1306 September 18, 2026 20:16
@rigel-mintaka rigel-mintaka changed the title fix(tools): parse UI source with the TypeScript compiler in the font gate (RIG-3855) fix(font-gate): enforce fail-closed font coverage parsing (RIG-3742) Sep 19, 2026
@trunk-io

trunk-io Bot commented Sep 21, 2026

Copy link
Copy Markdown

Stacked PR 1314 failed testing in the merge queue. Please investigate the failure and re-submit the stack.

Make malformed cmap ranges fail closed before expansion, and update the T8 rollout comments and mode contract. Add regression coverage for hostile ranges and the CLI default.\n\nSpec-impact: none. Refs RIG-3742.
Replace the remaining terminal arrows and progress bullets with ASCII so the fail-closed font gate passes the real UI source tree.\n\nSpec-impact: none. Refs RIG-3742.
Reject glyphless format-12 mappings, cover shared cmap budgets and CLI modes with regression tests, and keep the gate documentation aligned with the Space Mono contract.\n\nSpec-impact: none. Refs RIG-3742.
Bound cmap reads to declared table and subtable extents, reject glyph-ID overflow, and validate mapped IDs against maxp.numGlyphs. Add malformed-font regressions and invalidate font-gate tests when bundled fonts change.\n\nSpec-impact: none. Refs RIG-3742.
@rigel-mintaka
rigel-mintaka force-pushed the compass-ux/3742-font-gate-error branch from f3f1443 to b54f591 Compare September 23, 2026 01:08
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.

2 participants