Skip to content

Keynote UI + full-English line: content, CLI, and comments - #3

Merged
pz1130 merged 5 commits into
mainfrom
feature/google-keynote-ui
Sep 5, 2026
Merged

pz1130 merged 5 commits into
mainfrom
feature/google-keynote-ui

Conversation

@pz1130

@pz1130 pz1130 commented Sep 5, 2026

Copy link
Copy Markdown
Owner

What (five commits, oldest first)

  1. UI overhaul — Google Keynote / Material 3 redesign of the workbench (hero, omnibox, stats board, theme tokens, favicon) and the publish page templates.
  2. CLI in English — every typer help text and comment translated (echo output was already English).
  3. Content pack in English — the 199 CSF/ISO interpretation bodies machine-translated from the signed Chinese originals (which live on the zh line), shipped honestly as state=draft / basis=inferred / locale=en. 800-53 stays publisher-signed.
  4. locale as a preference — QueryAPI.interpretation() filtered hard on locale=zh-CN, which hid one signing tier or the other; now prefers the requested locale and falls back to the language the control actually has.
  5. Comment layer swept — ~1900 remaining Chinese comment/docstring lines across all of src/ (including CSS/JS comments inside the keynote template that ship in every page).

Functional Chinese data is deliberately kept: spreadsheet column headers (编号/标题…) for importing Chinese policies, CJK radical repair, chapter regexes, citation-detection patterns, register pairs, and the blind-test advocacy markers — now bilingual after the sweep initially broke the Chinese half of the pass-line match.

Verification

  • 1951 tests pass (one new guard: no CJK may remain in any shipped interpretation field); ruff clean.
  • Served and visually verified: home, control pages (CSF draft banner + English bodies), CLI --help.
  • Known honest side effect: the home page now shows a "199 drafts awaiting confirmation" card until the translations are reviewed and signed.

The typer docstrings are the --help surface; they were the last
user-visible Chinese in the CLI. Echo output was already English.
199 controls (CSF 106 + ISO 93) carried Chinese interpretation bodies.
They are translated via the drafter vendor's chat API and now ship as
state=draft / basis=inferred / locale=en: no human has signed the
English text, so the pack must not pretend otherwise. The signed
Chinese originals live on the zh line. 800-53 stays publisher-signed
English. Guard test: no CJK may remain in any shipped field.
The translated CSF/ISO rows are labelled locale=en while the signature
digest covers locale, so the signed 800-53 rows keep their zh-CN
label. Querying one locale strictly therefore hid one tier or the
other. Ask for the preferred locale first, then fall back to whatever
language the control actually has.

Also track the keynote redesign in web tests: the theme tokens moved
to #0d0f12/#f8f9fa and the omnibox quick chip carries a control id
outside the daily block.
…src/

The last Chinese outside data files: ~1900 comment/docstring lines across
web/, cli/, query/, interpret/, llm/, pack/, blindtest/, assess/, schema/,
publish/, ingest/, userframework/, identity/ and root modules — including
the CSS/JS comments inside the keynote template that ship in every page.

Functional data stays and is deliberate: the Chinese-document parsing
tables (spreadsheet column headers 编号/标题, CJK radical repair, chapter
regexes), the Chinese citation-detection regexes in lint, the
colloquial-formal register pairs in proofread, and the advocacy markers in
blindtest/tally — now bilingual, since a judge's note may be written in
either language (restores the blind-test pass-line behaviour).
@pz1130
pz1130 merged commit 06cbbc4 into main Sep 5, 2026
2 checks passed
@pz1130
pz1130 deleted the feature/google-keynote-ui branch September 5, 2026 12:48
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