docs: S1 passes — gpui-kit 0.10.0 shell on Windows 11 (D-30, D-31) #3

Merged
poli0981 merged 3 commits from docs/s1-gpui-shell into main 2026-12-02 16:12:55 +00:00
Owner

Result of spike S1 (doc 17 §2): gpui-kit 0.10.0 stays the shell for mv-ui (D-05); no fallback is needed (D-31). The spike was run on 2026-12-02 in the session that wrote these commits; the manual checklist was run by the maintainer.

D-30: where spike code lives. Spike code goes in spikes/: git-ignored, excluded from the Cargo workspace, never merged. This PR adds the .gitignore entry and exclude = ["spikes"]. The S1 app itself sits at spikes/s1-gpui-shell in the main checkout.

Measured (maintainer's PC):

  • cold start: median 211 ms, worst 241 ms (target < 500 ms);
  • release binary: 22.3 MiB (8.4 MiB zipped);
  • idle memory: 65 MiB working set;
  • scrolling 10,000 rows: no dropped frame at 240 Hz;
  • builds: 199 s dev and 146 s release clean; 5 s dev and 41 s release incremental.

Manual checklist (C1–C15):

  • Passed:
    • Telex and VNI (EVKey 6.0.5) and the Japanese Microsoft IME;
    • Japanese glyph forms;
    • Narrator in EN, VI and JA;
    • the password field announced without its value;
    • keyboard order;
    • live scale changes 100 → 200 → 225 → 125 → 100 %.
  • Not done: C14, the cold-start run after a reboot.

Two findings that move work elsewhere:

  • C6 (security). Typing into the masked input opened Windows' text-suggestion popup with the typed value in clear, and Windows may learn it. Doc 07 §5 now lists text-input services as an I/O channel, doc 12 §4 says what SecureInput must opt out of, and S3's pass criterion names suggestions and prediction next to the IME.
  • C15. The app ignores Settings › Accessibility › Text size. Doc 12 §9 assigns it to the M5 accessibility pass.

Other doc changes:

  • doc 12 §8–§10: GPUI accessibility needs roles and text!; gpui-component has no Vietnamese strings; icons need with_assets.
  • doc 02 §2.1: the pinned GPUI is gpui-pre 0.3.12. No version moved.
  • CHANGELOG.

Docs and config only: no product code.

🤖 Generated with Claude Code

Result of spike S1 (doc 17 §2): **gpui-kit 0.10.0 stays the shell for `mv-ui` (D-05); no fallback is needed (D-31).** The spike was run on 2026-12-02 in the session that wrote these commits; the manual checklist was run by the maintainer. **D-30: where spike code lives.** Spike code goes in `spikes/`: git-ignored, excluded from the Cargo workspace, never merged. This PR adds the `.gitignore` entry and `exclude = ["spikes"]`. The S1 app itself sits at `spikes/s1-gpui-shell` in the main checkout. **Measured** (maintainer's PC): - cold start: median 211 ms, worst 241 ms (target < 500 ms); - release binary: 22.3 MiB (8.4 MiB zipped); - idle memory: 65 MiB working set; - scrolling 10,000 rows: no dropped frame at 240 Hz; - builds: 199 s dev and 146 s release clean; 5 s dev and 41 s release incremental. **Manual checklist (C1–C15):** - Passed: - Telex and VNI (EVKey 6.0.5) and the Japanese Microsoft IME; - Japanese glyph forms; - Narrator in EN, VI and JA; - the password field announced without its value; - keyboard order; - live scale changes 100 → 200 → 225 → 125 → 100 %. - Not done: C14, the cold-start run after a reboot. **Two findings that move work elsewhere:** - **C6 (security).** Typing into the masked input opened Windows' text-suggestion popup with the typed value in clear, and Windows may learn it. Doc 07 §5 now lists text-input services as an I/O channel, doc 12 §4 says what `SecureInput` must opt out of, and S3's pass criterion names suggestions and prediction next to the IME. - **C15.** The app ignores Settings › Accessibility › Text size. Doc 12 §9 assigns it to the M5 accessibility pass. Other doc changes: - doc 12 §8–§10: GPUI accessibility needs roles and `text!`; gpui-component has no Vietnamese strings; icons need `with_assets`. - doc 02 §2.1: the pinned GPUI is gpui-pre 0.3.12. No version moved. - CHANGELOG. Docs and config only: no product code. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
poli0981 added 3 commits 2026-12-02 16:08:24 +00:00
This settles doc 17 §6 q11. The maintainer answered it on 2026-12-02:
spike code lives in spikes/<spike>/ at the repository root.

- .gitignore ignores /spikes/, so spike code is never committed or
  merged.
- The workspace lists spikes under `exclude`, and each spike is its own
  Cargo workspace, so CI, cargo-deny and Renovate never see it.
- Doc 17 records the decision as D-30 and closes q11.

The trade-off: the forge does not back spike code up. Only results reach
the repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: record the S1 result for the gpui-kit shell
CI / ci-ok (push) Skipped
Security / workflow-lint (push) Skipped
d5a9574b05
Spike S1 asks whether gpui-kit 0.10.0 gives a solid shell on Windows 11.
The throwaway app lives in spikes/s1-gpui-shell (D-30). It has a
three-pane window, a 10,000-row list, a masked input, a theme switch and
an EN/VI/JA switch. Measured on the maintainer's PC:

- cold start, from launch to the first frame: median 211 ms, worst
  241 ms (target < 500 ms);
- release binary: 22.3 MiB, 8.4 MiB zipped;
- idle: 65 MiB working set, 93 MiB private;
- scrolling all 10,000 rows: no dropped frame at 240 Hz;
- clean builds: 199 s dev, 146 s release; incremental: 5 s dev, 41 s
  release.

Every automated criterion passes. The IME, Narrator and 200 % checks
need a person, so doc 17 §2.1 lists them as checklist C1-C15 and the
verdict stays pending until they are run.

Findings and the docs they change:
- doc 12 §9: GPUI reports only elements that have a role, and text only
  through `text!`. gpui-component's List rows have no accessible name;
  the spike works around it with per-row `text!` ids.
- doc 12 §8: gpui-component's own strings have no Vietnamese.
- doc 12 §10: icons load only with `with_assets(gpui_kit::assets::Assets)`.
- doc 02 §2.1: the pinned GPUI is gpui-pre 0.3.12. The graph passes
  deny.toml, and reqwest is wasm-only. No version changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs: S1 passes; record the manual checklist and its two findings
CI / ci-ok (push) Skipped
Security / workflow-lint (push) Skipped
CI / Linux · fmt, clippy, rules, tests, coverage (pull_request) Successful in 58s
CI / Windows · clippy, tests (pull_request) Successful in 35s
Security / workflow-lint (pull_request) Successful in 27s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 21s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 33s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 23s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 56s
Security / scan (pull_request) Successful in 2m16s
CI / ci-ok (pull_request) Successful in 3s
c718f15506
Kokone ran the S1 checklist (C1-C15) on 2026-12-02, so the verdict in
doc 17 §2.1 changes from pending to pass (D-31). gpui-kit 0.10.0 stays
the shell for mv-ui (D-05), and neither fallback is needed.

What passed:
- Vietnamese Telex and VNI (EVKey 6.0.5) and the Japanese Microsoft IME
  in normal inputs;
- Japanese glyph forms;
- Narrator: every control by name in EN, VI and JA, list rows with the
  `text!` workaround, and a password field announced without its value;
- keyboard order;
- display scaling 100 -> 200 -> 225 -> 125 -> 100 % with the app running.
The post-reboot cold-start run (C14) was not done.

Two findings move work elsewhere:

- C6, security: typing into the gpui-kit masked input opened Windows'
  text-suggestion popup with the typed value in clear. The field does
  not tell Windows' text-input framework that it holds a password, so
  IME, suggestions and typing prediction all see the characters, and
  Windows may learn them.
  - Doc 07 §5 lists text-input services as an I/O channel.
  - S3's pass criterion names suggestions and prediction next to the
    IME.
  - Doc 12 §4 says what SecureInput opts out of.
  Nothing protects against this until S3 passes; if S3 falls back to
  the masked input, the risk stays and is recorded.
- C15: the app ignores Settings > Accessibility > Text size. Doc 12 §9
  now says mv-ui must apply it itself, in the M5 accessibility pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
poli0981 scheduled this pull request to auto merge when all checks succeed 2026-12-02 16:09:03 +00:00
poli0981 merged commit 7fcd7c2ce6 into main 2026-12-02 16:12:55 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: poli0981/mutevault#3