Author SHA1 Message Date
poli0981andClaude Opus 5.5 0702001bb8 docs: record the Microsoft Store reservation and the draft's to-do list
CI / ci-ok (push) Skipped
Security / workflow-lint (push) Skipped
CI / Linux · fmt, clippy, rules, tests, coverage (pull_request) Successful in 1m1s
CI / Windows · clippy, tests (pull_request) Successful in 40s
Security / workflow-lint (pull_request) Successful in 35s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 15s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 32s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 19s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 51s
Security / scan (pull_request) Successful in 1m58s
CI / ci-ok (pull_request) Successful in 3s
H-10 is done: on 2026-12-02 the maintainer reserved "MuteVault" in
Partner Center as an MSIX or PWA app, Store ID 9NCTTCXCB4NQ.

doc 15 §13 now holds the package identity values the packaging/msix
manifest has to use:
- Name: poli0981.MuteVault
- Publisher: CN=9E5A4476-77F7-44DF-823F-E9C51AB961C8
- PublisherDisplayName: poli0981
- PFN: poli0981.MuteVault_x5gr0vpkwx3ec

It also has a table of the open Submission 1 draft. The draft cannot be
submitted before an MSIX package exists (M5, after S13). Before
submitting:
- set the price to Free;
- pick a category;
- answer the privacy question and give a privacy-policy URL;
- fill in the support info;
- save the IARC rating that was already generated.
Two product declarations that are checked today should be unchecked:
- OneDrive backup of the package's AppData, which holds settings, logs
  and the device-bound unlock slots (D-19, doc 00);
- record and broadcast, which is meant for games and conflicts with the
  app's screen-capture exclusion (doc 10 §8).

doc 17 H-10 is marked done and points there. CHANGELOG notes the
reservation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 23:25:45 +07:00
poli0981 7fcd7c2ce6 Merge pull request 'docs: S1 passes — gpui-kit 0.10.0 shell on Windows 11 (D-30, D-31)' (#3) from docs/s1-gpui-shell into main
CI / Linux · fmt, clippy, rules, tests, coverage (push) Successful in 57s
CI / Windows · clippy, tests (push) Successful in 37s
Reusable / Qodana / Qodana (push) Successful in 6m52s
Qodana / rust (push) Successful in 6m52s
Security / workflow-lint (push) Successful in 40s
Reusable / Security / .NET (NuGetAudit) (push) Skipped
Reusable / Security / Secrets (gitleaks) (push) Successful in 22s
Reusable / Security / SAST (Opengrep) (push) Successful in 30s
Reusable / Security / Dependencies (osv-scanner) (push) Successful in 22s
Reusable / Security / Rust (cargo-deny) (push) Successful in 53s
Security / scan (push) Successful in 2m9s
CI / ci-ok (push) Successful in 4s
Reviewed-on: #3
2026-12-02 16:12:53 +00:00
poli0981andClaude Opus 5.5 c718f15506 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
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>
2026-12-02 23:05:58 +07:00
poli0981andClaude Opus 5.5 d5a9574b05 docs: record the S1 result for the gpui-kit shell
CI / ci-ok (push) Skipped
Security / workflow-lint (push) Skipped
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>
2026-12-02 22:20:14 +07:00
poli0981andClaude Opus 5.5 c6ce5cbab2 build: keep spike code out of git and the workspace (D-30)
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>
2026-12-02 22:19:50 +07:00
poli0981 cb4f9d501f Merge pull request 'fix: let Qodana build the workspace (C linker bootstrap, rust-src)' (#2) from fix/qodana-rust-src into main
CI / Linux · fmt, clippy, rules, tests, coverage (push) Successful in 43s
CI / Windows · clippy, tests (push) Successful in 26s
Reusable / Qodana / Qodana (push) Successful in 4m53s
Qodana / rust (push) Successful in 4m53s
Security / workflow-lint (push) Successful in 26s
Reusable / Security / .NET (NuGetAudit) (push) Skipped
Reusable / Security / Secrets (gitleaks) (push) Successful in 28s
Reusable / Security / SAST (Opengrep) (push) Successful in 33s
Reusable / Security / Dependencies (osv-scanner) (push) Successful in 22s
Reusable / Security / Rust (cargo-deny) (push) Successful in 54s
Security / scan (push) Successful in 2m20s
CI / ci-ok (push) Successful in 3s
Reviewed-on: #2
2026-12-02 14:38:39 +00:00
poli0981andClaude Opus 5.5 4e46328fa2 docs: say what the Qodana runs proved and what is still open
CI / ci-ok (push) Skipped
Security / workflow-lint (push) Skipped
CI / Linux · fmt, clippy, rules, tests, coverage (pull_request) Successful in 44s
CI / Windows · clippy, tests (pull_request) Successful in 27s
Security / workflow-lint (pull_request) Successful in 26s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 10s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 18s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 14s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 42s
Security / scan (pull_request) Successful in 1m26s
CI / ci-ok (pull_request) Successful in 3s
A Qodana run with the C-linker bootstrap (d18b35c) showed two things.
The bootstrap fixes one cause: the sanity check's "Cargo project
loading" error is gone. It leaves the 47 false type errors in xtask
unchanged.

The report preview explains those 47. projectStructure/SDKs.json is
{"roots": []}: the IDE attached no Rust standard library, so u64 and
usize have no traits. Adding rust-src did not change that.

The comments in qodana.yaml and rust-toolchain.toml, and doc 14 §6 and
doc 17's S10 notes, no longer claim more than the runs showed:
- fixed: the linker;
- open: attaching std (next idea: `rustup toolchain install` in the
  bootstrap);
- the Qodana Cloud baseline: it is why the later runs pass, and it gets
  reset once std is attached.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 21:35:18 +07:00
poli0981andClaude Opus 5.5 d18b35cbfd fix: install a C linker in Qodana's image so build scripts run
CI / ci-ok (push) Skipped
Security / workflow-lint (push) Skipped
CI / Linux · fmt, clippy, rules, tests, coverage (pull_request) Successful in 51s
CI / Windows · clippy, tests (pull_request) Successful in 33s
Security / workflow-lint (pull_request) Successful in 35s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 27s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 25s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 27s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 45s
Security / scan (pull_request) Successful in 2m6s
CI / ci-ok (pull_request) Successful in 3s
The previous commit blamed the missing rust-src, and it was wrong about
the main cause. A Qodana run dispatched on that commit still found the
same 47 problems. It passed only because Qodana Cloud had taken the
first run as the baseline ("UNCHANGED: 47, NEW: 0").

The real cause, reproduced in the cached qodana-rust:2026.3-eap image:
`cargo check` fails on every build script (anyhow, serde_core, zmij)
with "linker `cc` not found". The image is a Docker Hardened Image with
no C toolchain. The linter runs build scripts while it opens the
project, so the project half-loaded and std/serde code read as errors.

qodana.yaml gets a bootstrap that installs build-essential, with the
dhi.io pin that free-steam-games-list needed for the same image. With
it, `cargo check --locked` succeeds in the image.

rust-src stays in rust-toolchain.toml, since the linter and
rust-analyzer resolve std from it; its comment now says only that.
doc 14 §6 and doc 17's S10 notes describe the real cause, and the
baseline that hid it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 21:22:01 +07:00
poli0981andClaude Opus 5.5 cfb46da9dc fix: give the pinned toolchain rust-src so Qodana can resolve std
CI / ci-ok (push) Skipped
Security / workflow-lint (push) Skipped
CI / Linux · fmt, clippy, rules, tests, coverage (pull_request) Successful in 45s
CI / Windows · clippy, tests (pull_request) Successful in 25s
Security / workflow-lint (pull_request) Successful in 25s
Reusable / Security / .NET (NuGetAudit) (pull_request) Skipped
Reusable / Security / Secrets (gitleaks) (pull_request) Successful in 10s
Reusable / Security / SAST (Opengrep) (pull_request) Successful in 20s
Reusable / Security / Dependencies (osv-scanner) (pull_request) Successful in 13s
Reusable / Security / Rust (cargo-deny) (pull_request) Successful in 46s
Security / scan (pull_request) Successful in 1m30s
CI / ci-ok (pull_request) Successful in 4s
Qodana's first run on main reported 47 "Critical" problems, all false:
- unresolved methods;
- types that "do not implement" Debug or Clone;
- format macro errors;
- a Cargo project loading error in Cargo.toml.

The cause: the qodana-rust 2026.3-eap image ships rust-src only for its
own default toolchain (1.94.0). It installs 1.100.0 from
rust-toolchain.toml, whose minimal profile has no rust-src, so the
linter had no standard-library source. Checked inside the cached image
with `rustup component list --installed`.

rust-toolchain.toml now lists rust-src, which rust-analyzer needs too,
and the Linux CI job installs the same components. The Windows job
picks it up through `rustup toolchain install`, which adds missing
components.

doc 02 records the image the run pulled (2026.3-eap, QDRST-263.7944).
doc 17 records the first S10 data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 21:07:38 +07:00
poli0981 c4ccdccb50 Merge pull request 'Chore/ci bootstrap' (#1) from chore/ci-bootstrap into main
CI / Linux · fmt, clippy, rules, tests, coverage (push) Successful in 1m21s
CI / Windows · clippy, tests (push) Successful in 44s
Reusable / Qodana / Qodana (push) Failing after 6m14s
Qodana / rust (push) Failing after 6m14s
Security / workflow-lint (push) Successful in 44s
Reusable / Security / .NET (NuGetAudit) (push) Skipped
Reusable / Security / Secrets (gitleaks) (push) Successful in 23s
Reusable / Security / SAST (Opengrep) (push) Successful in 34s
Reusable / Security / Dependencies (osv-scanner) (push) Successful in 25s
Reusable / Security / Rust (cargo-deny) (push) Successful in 1m13s
Security / scan (push) Successful in 2m37s
CI / ci-ok (push) Successful in 3s
Reviewed-on: #1
2026-12-02 13:53:17 +00:00
12 changed files with 260 additions and 24 deletions

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ jobs:
uses: dtolnay/rust-toolchain@df2a88e9fe4098bad09cb42c3dec7187f15861fc # master
with:
toolchain: ${{ steps.toolchain.outputs.channel }}
components: rustfmt, clippy, llvm-tools
components: rustfmt, clippy, llvm-tools, rust-src
# Build scripts need a C linker. The job container runs as root; sudo only
# where there is one.
+4
View File
@@ -9,6 +9,10 @@ node_modules/
*.profraw
lcov.info
# --- Spikes -----------------------------------------------------------------
# Throwaway experiments (doc 17 §1). Never committed, never merged (D-30).
/spikes/
# --- Editors and OS -------------------------------------------------------
.idea/
.vs/
+11
View File
@@ -14,6 +14,17 @@ format are prefixed **Format** and say whether older versions can still open the
## [Unreleased]
### Added
- Spike S1 **passed** (2026-12-02, D-31): `gpui-kit` 0.10.0 is the application shell.
The results are in `docs/17_SPIKES_ROADMAP.md` §2.1: cold start about 210 ms, a
22 MiB release binary, a 65 MiB working set at idle, and Vietnamese and Japanese IME,
Narrator and 200 % scaling all working. Spike code lives in a git-ignored `spikes/`
directory outside the workspace (D-30).
- The name "MuteVault" is reserved in Microsoft Partner Center (H-10, 2026-12-02), as
Store ID `9NCTTCXCB4NQ`. The package identity values, and the draft submission's
remaining settings, are in `docs/15_BUILD_RELEASE.md` §13.
- **Security** The threat model (doc 07 §5) now lists text-input services as an exposure
channel. S1 showed Windows' text-suggestion popup displaying a password typed into the
framework's masked input. Spike S3's pass criterion now includes switching these off.
- Repository bootstrap (2026-12-02), D-29:
- the documentation suite at the repository root, plus the GPL-3.0 licence text;
- a Cargo workspace whose only member is `xtask`. It enforces the doc 03 §3 layer
+2
View File
@@ -3,6 +3,8 @@ resolver = "3"
# Crates join as they are created (doc 03 §2): crates/mv-*, bins/*, fuzz stays
# outside the workspace (cargo-fuzz builds it with nightly).
members = ["xtask"]
# Spike code is never part of the workspace and never committed (doc 17 §1, D-30).
exclude = ["spikes"]
[workspace.package]
edition = "2024"
+7 -1
View File
@@ -31,6 +31,12 @@ The highest minimum Rust version among the dependencies below is 1.90 (`tray-ico
Do not add `gpui` (0.2.2 on crates.io) as a direct dependency; take it through `gpui-kit`
so the framework and component versions always match.
Spike S1 (2026-12-02, doc 17 §2.1) confirmed both versions above; none had to change.
- The GPUI snapshot that `gpui-kit` 0.10.0 pins is the `gpui-pre` 0.3.12 family of
crates. `gpui-component` and `gpui-base` are 0.10.0.
- With the default features, the Windows and Linux dependency graph passes `deny.toml`.
- `gpui-kit-assets` depends on `reqwest` only on wasm targets.
### 2.2 Cryptography and secrets
| Crate | Version | Licence | Use |
@@ -156,7 +162,7 @@ no UI framework, no schema library. Every package above is a dev dependency.
| GitLab | Free | Read-only push mirror of the source |
| Cloudflare R2 (`releases.poli0981.dev`) | Existing bucket | Installers and the update feed |
| Renovate, self-hosted | — | Dependency-update pull requests and OSV vulnerability alerts, from the central preset `poli0981/renovate-config` |
| Qodana | Ultimate (existing) | `qodana-rust` linter (EAP). `qodana.yaml` names the linter, and the image release follows the Qodana CLI that the ops `reusable-qodana.yml` pins (2026.3.1 at ops v2026.11.5); S10 records the image actually pulled |
| Qodana | Ultimate (existing) | `qodana-rust` linter (EAP). `qodana.yaml` names the linter, and the image release follows the Qodana CLI that the ops `reusable-qodana.yml` pins. With CLI 2026.3.1 (ops v2026.11.5) the image is `jetbrains/qodana-rust:2026.3-eap`, build QDRST-263.7944, first run 2026-12-02 (S10) |
| gitleaks, Opengrep, osv-scanner, cargo-deny | Open source | Secrets, static analysis and dependency checks, run by the ops `security.yml` |
## 6. Deviations from the maintainer's usual conventions
+1
View File
@@ -126,6 +126,7 @@ Where secrets can be observed in transit, who can observe them, and what is done
| Logs | No secrets | — | Secret types cannot be formatted; item ids only | Timing and usage patterns |
| Clipboard | One secret at a time | Any process in the session; clipboard history and cloud sync if enabled | History/cloud exclusion formats; timed clear; clear on lock | A process polling the clipboard during the window |
| Keyboard — master password entry | Master password | Keyloggers running as the user or higher | Secure-desktop entry is a P2 idea | A7 |
| Text-input services (IME, Windows text suggestions and prediction) | Whatever is typed into a field that Windows does not know is a password | The suggestion popup on screen; the IME's and Windows' learned typing data | `SecureInput` turns these off for secret fields (S3). The `gpui-kit` masked input does not: S1 saw the suggestion popup show a typed password (doc 17 §2.1, finding 7) | Until S3 passes, and in its fallback, typed secrets can reach the suggestion popup and Windows' prediction data |
| Keyboard — auto-type (P1) | Username, password | Keyloggers; the wrong window if focus changes | Window re-check before each chunk; off by default | A7; user error |
| Screen | Revealed secrets, TOTP codes | Screen capture, remote assistance, onlookers | Masking, timed reveal, capture exclusion | Cameras; capture below the window-manager level |
| Process memory | Keys, opened secrets | Same-user processes with access rights; administrator | Access restrictions, sealed fields, zeroise, short lifetimes | A7, A8 |
+20 -4
View File
@@ -1,7 +1,9 @@
# 12 — UI and UX
> MuteVault docs suite v1.2 · 2026-11-23 · Implemented in `mv-ui` on `gpui-kit` 0.10.0
> Component names follow the pinned `gpui-kit` version; confirm each in spike S1.
> Component names follow the pinned `gpui-kit` version. Spike S1 confirmed the shell's
> components: resizable panels, `List`, `Input` and the theme (doc 17 §2.1). Confirm the
> others as each view is built.
## 1. Principles
@@ -94,8 +96,10 @@ tracker (D-28). "Documentation" opens the repository on the forge.
- **`SecureInput`** (spike S3) is used for the master password, the recovery key and
password fields in editors. It keeps typed characters in a zeroising buffer, renders
only dots, disables IME composition, never offers spell-check or autocomplete, and
hands its content to the application as a secret buffer.
only dots, disables IME composition and Windows text suggestions and prediction, never
offers spell-check or autocomplete, and hands its content to the application as a
secret buffer. S1 found that the framework's masked input does none of these: Windows'
suggestion popup showed a typed password (doc 17 §2.1, finding 7).
- Fallback if S3 fails: `gpui-kit`'s masked input, with the residual risk recorded in
doc 07 §6 (RR-2).
- **Reveal** shows the value for 30 seconds or until focus leaves, whichever is first.
@@ -184,6 +188,9 @@ can become user-configurable later.
- Dates and numbers are formatted per locale; timestamps are shown in local time and
stored in UTC.
- `cargo xtask i18n` fails the build if a key is missing in any locale or unused.
- `gpui-component` translates its own strings ("Show password", the input context menu,
"Clear") from its own file. In 0.10.0 that file has Japanese but no Vietnamese, so
those strings stay English in VI (S1). Contribute `vi` upstream before M5.
- Security-critical wording (warnings, consent dialogs) is translated by a person and
reviewed; machine drafts are not shipped for those strings.
- The extension uses `_locales` with the same three languages and the same glossary.
@@ -209,6 +216,14 @@ can become user-configurable later.
- Screen readers announce masked fields as "password, hidden"; revealing is announced;
the value itself is read only on explicit request.
- Respect the system reduced-motion and text-scaling settings; layouts hold at 200 %.
S1 showed that display scaling works out of the box (up to 225 %). The Accessibility
text-size setting does not: `mv-ui` has to apply it itself.
- GPUI reports to assistive technology only elements that have a role, and text only
through its `Text` element (`text!`). So any text a screen reader must find, such as
vault-list rows, section titles and status messages, is rendered with
`text!(id = …, …)`, with an id that is stable and unique for the row, or on an
element that has a role and a label. `gpui-component` 0.10.0's `List` rows have no
accessible name of their own (S1, doc 17 §2.1, finding 2).
- Verified with Narrator and keyboard-only passes in S1 and before each release.
## 10. Visual direction
@@ -218,7 +233,8 @@ can become user-configurable later.
rebrand does not touch views.
- System UI font; a monospace face for secrets and codes, with distinguishable `0/O` and
`1/l/I`. No fonts are downloaded.
- Icons from the Lucide set bundled with `gpui-kit`.
- Icons from the Lucide set bundled with `gpui-kit`. They load only when the application
is created with `with_assets(gpui_kit::assets::Assets)` (S1).
- Window: custom title bar with the menu bar on Windows; minimum size 900 × 560.
## 11. View-model rule
+5 -1
View File
@@ -151,7 +151,11 @@ repositories on the forge do.
and S10 records the image actually pulled). `qodana.yml` calls the ops
`reusable-qodana.yml` with `runs-on: windows-latest`, `within-docker: true` and
`-u root -e CARGO_HOME=/data/cache/cargo`, because the Rust linter has no native mode
and the Linux image needs Docker Desktop on the runner PC (spike S10). The Qodana Cloud
and the Linux image needs Docker Desktop on the runner PC (spike S10). The image has no
C linker, and the linter runs build scripts while it opens the project, so `qodana.yaml`
has a `bootstrap` that installs `build-essential`. As of 2026-12-02 the linter still
attaches no Rust standard library inside the container, and reports false type errors
until S10 solves that. The Qodana Cloud
project's VCS URL points at the GitLab mirror: Qodana Cloud accepts only github.com,
gitlab.com and bitbucket.org URLs. If the UI crates cannot be analysed inside the
container, the scan is limited to the non-UI crates; if the Docker route does not work
+26 -1
View File
@@ -367,7 +367,7 @@ the app the package identity the native passkey provider needs.
**Steps**
1. Register an individual developer account (free) and reserve the name "MuteVault" in
Partner Center (H-10). Do this early; the reservation holds the name.
Partner Center (H-10). **Done 2026-12-02**, see "Partner Center state" below.
2. Build the package in the release workflow with the Windows SDK's packaging tool from
`packaging/msix/`: manifest with the identity values Partner Center assigns, the
full-trust capability, `mutevault.exe`, `mutevault-host.exe`, assets and licences.
@@ -381,6 +381,31 @@ the app the package identity the native passkey provider needs.
6. Certification of a new app typically takes a few business days — plan releases
around it. A Store release can trail the direct release by that long.
**Partner Center state (2026-12-02).** The name "MuteVault" is reserved as an "MSIX or
PWA app", Store ID `9NCTTCXCB4NQ`. These identity values go into the `packaging/msix/`
manifest exactly as shown; they are public, not secrets:
| Field | Value |
|---|---|
| `Package/Identity/Name` | `poli0981.MuteVault` |
| `Package/Identity/Publisher` | `CN=9E5A4476-77F7-44DF-823F-E9C51AB961C8` |
| `Package/Properties/PublisherDisplayName` | `poli0981` |
| Package family name (PFN) | `poli0981.MuteVault_x5gr0vpkwx3ec` |
Submission 1 is an open draft. It cannot be submitted before an MSIX package exists (M5,
after S13), so the draft only collects settings until then. What it holds, and what to
change before submitting:
| Page | State on 2026-12-02 | Before submitting |
|---|---|---|
| Pricing and availability | All markets, public, discoverable, release "as soon as possible"; **no price set** (the page reports "You must configure a price") | Set the base price to **Free**. Consider "publish manually" in Submission options, so certification does not decide the release day |
| Properties: category | Not picked | Pick one (Security, or Utilities & tools); a maintainer decision |
| Properties: privacy | Not answered | Answer that the app handles personal information (it stores credentials, locally), and give the URL of the published `legal/PRIVACY.md` |
| Properties: support info | Empty | `https://poli0981.dev/links/` and `code@poli0981.dev` (README "Where things live") |
| Properties: product declarations | Checked: alternate drives, **OneDrive backups**, **record and broadcast clips** | **Uncheck OneDrive backups**: the package's AppData holds settings, logs and the device-bound unlock slots (D-19), and nothing of MuteVault goes to a cloud by default (doc 00). **Uncheck record and broadcast**: Partner Center says it is for games only, and the app excludes itself from screen capture (doc 10 §8). Keep alternate drives. Check "tested for accessibility" only after the M5 pass. Generative AI: no |
| Age ratings | IARC questionnaire answered as "All Other App Types". Preview: IARC 3+, ESRB Everyone, PEGI 3, USK 0. Not saved yet | Tick the IARC terms and Save. Redo the questionnaire if an answer changes, for example if an opt-in network feature is added |
| Packages, Store listings | Empty. Listing languages appear only after a package is uploaded | Upload the MSIX (M5). The EN/VI/JA listings then follow the package's languages. Justify `runFullTrust` and the unvirtualised `HKCU` keys (S13) |
**How a packaged app behaves differently** (from Microsoft's MSIX documentation), and
what MuteVault does about it:
+158 -15
View File
@@ -15,7 +15,7 @@ fallback has been chosen.**
|---|---|---|---|
| S1 | Does `gpui-kit` 0.10.0 give a solid shell on Windows 11? | Three-pane window with a 10,000-row virtual list, masked input, theme switch, locale switch; Vietnamese and Japanese IME work in normal inputs; Narrator reads controls; cold start < 500 ms; record binary size, memory, build times | Slint or Tauri 2 for `mv-ui` (doc 01 §4) |
| S2 | Do tray icon, global hotkey, single instance and autostart coexist with GPUI's event loop? | Tray menu and hotkey events arrive reliably for an hour of use; no missed or duplicated events | Ship without tray and hotkey; taskbar only |
| S3 | Can a `SecureInput` element keep typed secrets out of framework strings? | Password entry with dots, caret, selection, paste, Caps Lock indicator, IME disabled; a memory scan after entry finds no copy outside the zeroising buffer | Use the masked input; record RR-2 |
| S3 | Can a `SecureInput` element keep typed secrets out of framework strings? | Password entry with dots, caret, selection, paste, Caps Lock indicator; IME composition, Windows text suggestions and typing prediction off for the field (S1 finding 7); a memory scan after entry finds no copy outside the zeroising buffer | Use the masked input; record RR-2 and the text-input exposure in doc 07 §5 |
| S4 | Native messaging round trip on Chrome, Edge, Firefox, Brave | Extension ↔ host ↔ pipe ↔ app echo under 50 ms; per-user registration without admin; service worker stays alive while the port is open; host exits cleanly when the browser closes | Drop a browser from the P0 list |
| S5 | Crypto core and file format | All known-answer tests pass; Argon2id timing measured for the presets on the dev PC and a low-end machine; lane threading behaviour of `argon2` 0.6.0 determined; 1,000-iteration kill-during-save test never corrupts | Adjust presets; revisit save pipeline |
| S6 | Passkeys through the extension on real sites | Register and sign in on a test relying party and a list of major sites in Chrome and Firefox; returned objects pass site checks; pass-through to hardware keys works; conditional-mediation hand-over evaluated; PRF support decided | Narrow the supported request shapes; document |
@@ -31,6 +31,122 @@ Spikes that install software or change machine state (S2, S4, S7, S8, S9, S11, S
run by hand or in a virtual machine — never as CI jobs, because the Windows runner is
the maintainer's own desktop (doc 15 §4.4).
### 2.1 S1 result — `gpui-kit` shell (2026-12-02)
**Verdict: pass (D-31).** Every criterion passed: the automated ones in this session,
the IME, Narrator and scaling ones on Kokone's checklist (C1–C13). D-05 stands, and
neither fallback is needed. Two findings move work elsewhere:
- C6: Windows text suggestions read the password field. This goes to S3 and doc 07 §5
(finding 7).
- C15: the app ignores the system text size. This goes to the M5 accessibility pass
(finding 8).
**Setup.**
- Spike: `spikes/s1-gpui-shell/` (D-30), 640 lines of Rust. It depends on `gpui-kit`
=0.10.0 (default features) and `rust-i18n` =4.2.4, builds with Rust 1.100.0, and uses
the repository's build profiles.
- Machine: the maintainer's PC. i7-14700KF (20 cores, 28 threads), 32 GiB, RTX 5080,
NVMe disk, 2560 × 1440 at 240 Hz and 100 % scale, Windows 11 Insider build 29712.
This is a fast machine: a low-end PC will start and build more slowly. Repeat the start
measurement there when S5 does its low-end Argon2 run.
- Method: `measure.ps1` in the spike directory. Cold start runs from the launcher's clock
just before `Process.Start` to the app's first next-frame callback; both sides read
the same system clock. It covers 15 runs with a warm file cache. A true cold start
after a reboot (C14) was not measured.
| Criterion | Result |
|---|---|
| Three-pane window | **Pass.** `h_resizable` with three `resizable_panel`s, each with a size range. |
| 10,000-row virtual list | **Pass.** `List` with a `ListDelegate`; the search box is built in. Scrolling down and up through 10,000 rows at 25 rows per frame took 800 frames: p50 4.16 ms, p99 4.5 ms, max 6.0 ms at 240 Hz. No frame was dropped. |
| Masked input | **Pass.** `InputState::masked(true)` with `Input::mask_toggle()`. While masked, UI Automation reports `IsPassword` and exposes no Value or Text pattern. Once revealed, it is an ordinary text field to UI Automation, so doc 12 §4's time limit on reveal matters. The component's own tests keep a masked value out of the clipboard. It does **not** switch IME composition or Windows text suggestions off (C6, finding 7): that is S3's job. |
| Theme switch | **Pass.** `Theme::change(ThemeMode::…)` repaints every window. |
| Locale switch | **Pass.** `rust_i18n::set_locale` sets one global that the app and `gpui-component` share (both on `rust-i18n` 4.2). `set_window_title` updates the title. Vietnamese and Japanese text renders through the system font fallback. |
| Vietnamese and Japanese IME in normal inputs | **Pass** (C1–C5, C7). Telex and VNI through EVKey 6.0.5; Microsoft IME for Japanese. |
| Narrator reads controls | **Pass** (C8–C11). A read-only UI Automation pre-check found a name, in the current language, on every button and field and on the reveal button. List rows are read only with the workaround (finding 2). |
| Cold start < 500 ms | **Pass.** Launch to first frame: median 211–213 ms, first run 241 ms, worst 241 ms. Process creation to `main` takes 12 ms; `main` to first frame takes about 200 ms (window, DirectX device, fonts). |
| Layout at 200 % (doc 12 §9) | **Pass** (C12–C13). The scale was changed 100 → 200 → 225 → 125 → 100 % while the app ran, about two minutes at each step. |
| Measurement | Value |
|---|---|
| Release binary (thin LTO, one codegen unit, symbols stripped) | 23,361,024 bytes (22.3 MiB); 8.4 MiB zipped |
| Dev binary | 31.3 MiB |
| Memory at idle | working set 65 MiB, private 93 MiB, GPU dedicated 22 MiB |
| Memory while scrolling | working set at most 69–81 MiB, private at most 96–103 MiB; 67–73 MiB afterwards |
| Clean build | dev 199 s, release 146 s. Dev is slower: its profile builds every dependency at `opt-level` 3 with debug info. |
| Incremental build (one-line change in the app crate) | dev 5 s; release 41 s, because thin LTO with one codegen unit re-links everything |
| Dependency graph | 804 packages in `Cargo.lock`, all targets. `gpui-kit` 0.10.0 brings GPUI as the `gpui-pre` 0.3.12 crates. |
| `deny.toml` against that graph | bans, licences and sources pass. Only duplicate-version warnings remain, for example `windows` 0.58 next to 0.62. |
**Findings.**
1. **Icons have to be registered.** Call
`gpui_kit::application().with_assets(gpui_kit::assets::Assets)`. The crate's README
example leaves this out, and without it the reveal toggle and the search icon are
missing without any error.
2. **List rows reach assistive technology without a name.**
- GPUI reports only elements that have a role, and text only through its `Text`
element (`text!`).
- `gpui-component`'s `List` wraps each row in a list-item node that has no name.
- `ListItem::accessibility_label` puts the label on a node without a role, and GPUI
drops that node.
- Workaround in the spike: render the row text with `text!(id = <row id>, …)`. UI
Automation then shows that text as the list item's child, and Narrator reads it
(C10). Without the workaround, Narrator reads nothing.
- The proper fix belongs upstream. Until then, doc 12 §9 records the rule `mv-ui`
follows.
3. **Strings owned by the components have no Vietnamese.** `gpui-component`'s own
`ui.yml` has `ja` but not `vi`. In Vietnamese, "Show password", the input context
menu and "Clear" stay in English. Contribute `vi` upstream before M5, together with
H-12.
4. **No network client on the configured targets.** `gpui-kit-assets` depends on
`reqwest` (as `gpui-pre-reqwest`) for wasm only. `gpui-pre-http-client` holds types
only. Recheck the bans on every `gpui-kit` upgrade (R-01).
5. **Disk writes.** The spike writes nothing. The Direct3D runtime and the GPU driver
cache compiled shaders under `%LOCALAPPDATA%\D3DSCache` and `…\NVIDIA\DXCache`, keyed
by executable path, as they do for any DirectX application. No application data goes
there.
6. **Numbers are not localised.** `rust-i18n` inserts `%{count}` as given, so the list
shows "10000 items". Doc 12 §8 asks for per-locale numbers, so `mv-ui` needs a
formatter. Which one is not decided yet.
7. **Windows text suggestions read the password field (C6).**
- Typing `zzzzzzzz` into the password field opened the Windows text-suggestion
popup under it: "Press Tab to select", then "zzzzzzzz" and "Zzyzx". The reveal
toggle showed its revealed state at that moment. Behaviour while masked was not
recorded.
- Cause: the masked input does not tell Windows' text-input framework that the field
holds a password. So IME composition, the suggestion popup and Windows' typing
prediction all see the typed characters, and Windows may learn them.
- Consequences:
- S3's pass criterion now names text suggestions and prediction next to the IME.
- Doc 07 §5 lists text-input services as an exposure channel.
- Doc 12 §4 says what `SecureInput` opts out of.
- If S3 fails, its fallback (the masked input) carries this risk as well as RR-2.
8. **The system text size is ignored (C15).** At Settings › Accessibility › Text size
150 %, the app's text stays the same size. Display scaling works (C12, C13). Doc 12
§9 asks for both, so `mv-ui` must apply the text-size setting itself. That belongs to
the M5 accessibility pass.
**Manual checklist.** Kokone ran it on their PC on 2026-12-02, with the release build
of the spike. It used the "Notes" and "Input method test" fields and the list search
box.
| # | Check | Result |
|---|---|---|
| C1 | Vietnamese Telex: `Tieengs Vieetj ddaay` gives "Tiếng Việt đây"; no doubled or lost characters; Backspace removes one character | Pass, with EVKey 6.0.5 |
| C2 | VNI: `Tie61ng Vie65t d9a6y` gives the same | Pass, with EVKey 6.0.5 |
| C3 | Typing in the middle of a word, and retyping a selected word | Pass |
| C4 | Microsoft IME (Japanese): `nihongo`, Space, Enter gives 日本語; the candidate window sits at the caret; the composition is underlined inline; Esc cancels cleanly | Pass |
| C5 | Search with `ngân` and `銀行` filters the list | Pass |
| C6 | Typing in the masked field (record only) | The text-suggestion popup shows the typed value (finding 7) |
| C7 | Japanese glyph forms (言語, 検証, 銀行, 項目), not Chinese ones | Pass |
| C8 | Narrator reads every button and field by name, in EN, VI and JA | Pass |
| C9 | The masked field is announced as a password, and its value is not spoken | Pass. Narrator says only "mật khẩu", whether the value is masked or revealed. Whether the reveal button is announced was not reported. |
| C10 | Narrator reads list rows with the workaround, and nothing with `S1_A11Y_ROW_ROLE=plain` | Pass |
| C11 | Keyboard only: the Tab order makes sense and the focus ring is visible in both themes | Pass |
| C12 | Started at 200 %: text is sharp, the panes fit, nothing is clipped, a fast scroll stays smooth | Pass |
| C13 | Scale changed while the app runs: it re-lays out without blur | Pass (100 → 200 → 225 → 125 → 100 %) |
| C14 | Optional: one start measurement right after a reboot | Not run |
| C15 | Optional: the system text size at 150 % enlarges the app's text | No: the text does not grow (finding 8) |
## 3. Milestones
| Milestone | Contents | Exit criterion |
@@ -47,16 +163,42 @@ the maintainer's own desktop (doc 15 §4.4).
Order within v1.x is by user demand; the native passkey provider and the Hello slot are
expected first.
**M0 progress (2026-12-02).** Done locally:
- the documentation suite moved to the repository root (`main`, first commit);
- on `chore/ci-bootstrap`: a Cargo workspace with `xtask` as its only member, and
`ci.yml`, `security.yml`, `qodana.yml`, `notify-ci-failure.yml` and `renovate.json`
(D-29).
**M0 progress (2026-12-02).**
Done:
- The bootstrap is merged on Gitea (#1): the docs suite at the root, a Cargo workspace
with `xtask` as its only member, the four M0 workflows and Renovate (D-29). Every
required check passed on the pull request.
- Bootstrap steps the maintainer has done: branch protection with the required checks of
doc 15 §4.2, Actions enabled, `QODANA_TOKEN`.
S10, first data:
- The ops `security.yml` (gitleaks, Opengrep, osv-scanner, cargo-deny) is green on the
workspace.
- Coverage thresholds are enforced in `ci.yml`; no gated crate exists yet.
- `qodana-rust` 2026.3-eap runs through Docker Desktop on the Windows runner, and opening
the project took 3 minutes.
- Its first run reported 47 false "Critical" problems in `xtask`: `u64` "does not
implement" `PartialEq`, `usize` has no `Display`, and so on. Two causes were found:
1. The image (a Docker Hardened Image) has no C linker. Every build script failed with
"linker `cc` not found", and the sanity check reported "Cargo project loading".
**Fixed:** `qodana.yaml` now has a bootstrap that installs `build-essential`, using
the same `dhi.io` pin as free-steam-games-list. The loading error is gone.
2. The IDE attaches no Rust standard library: the report's
`projectStructure/SDKs.json` is `{"roots": []}`. Adding `rust-src` to
`rust-toolchain.toml` (which the image's 1.100.0 lacked) did not change that.
**Open.** A likely next step is to install the pinned toolchain in the bootstrap
(`rustup toolchain install`) before the IDE opens the project.
- Qodana Cloud took the first run as the project's baseline. Later runs pass because the
same 47 problems are "unchanged", not because they are gone. Once cause 2 is fixed,
reset the baseline in Qodana Cloud.
Open:
- the maintainer's bootstrap steps (H-13);
- CI's first green run on Gitea, which is the M0 exit criterion and the start of S10;
- spikes S1–S5, in the order of D-29.
- the rest of H-13: `DISCORD_CI_WEBHOOK`, the GitLab mirror, the Qodana Cloud VCS URL,
and `renovate-bot` as a collaborator;
- getting the standard library attached in Qodana's container, then resetting its
baseline (S10);
- S1 **passed** on 2026-12-02 (§2.1, D-31); S2–S5 are next, in the order of D-29.
## 4. Feature gates that depend on spikes
@@ -80,6 +222,8 @@ D-26 to D-28 (2026-11-23, taken from the ops runbook and Kokone's instructions).
to D-24 were resolved while writing this suite and are **flagged for review** —
overturn any of them and the affected documents are listed. D-29 was taken in the
repository-bootstrap session (2026-12-02) and is flagged for review in the same way.
D-30 is Kokone's (2026-12-02). D-31 records the S1 result: Kokone ran its manual
checklist (2026-12-02), and it is flagged for review in the same way as D-29.
| ID | Decision | Affects |
|---|---|---|
@@ -112,6 +256,8 @@ repository-bootstrap session (2026-12-02) and is flagged for review in the same
| D-27 | Releases and the update feed are hosted on Cloudflare R2 behind `releases.poli0981.dev/mutevault/`. Gitea releases carry notes and links only | 15, 03, legal |
| D-28 | No public issue tracker. Questions, bug reports and patches by e-mail (`code@poli0981.dev`) or the channels at `poli0981.dev/links/`; security reports only to `security@poli0981.dev`; the GitLab mirror is for reading the code. *The ops runbook (2026-11-23) still routes outside issues and merge requests to the GitLab mirror; this suite follows Kokone's later instruction — confirm which stands* | README, SECURITY, CONTRIBUTING, 12 |
| D-29 | Bootstrap and kick-off:<br>• The M0 workflow set is `ci.yml`, `security.yml` (with `workflow-lint`), `qodana.yml` and `notify-ci-failure.yml`, pinned to ops v2026.11.5.<br>• `extension.yml`, `fuzz.yml`, `release.yml` and `announce-release.yml` arrive with the work they check.<br>• The first spike after M0 is **S1** (`gpui-kit` shell): R-01 is the highest-likelihood risk, S1 is the only P0 spike whose failure changes the stack, and S2 and S3 build on it.<br>• **S5** (crypto core and format) runs alongside S1 as a second track, then S3, S2, S4. | 15, 17 |
| D-30 | Spike code lives in `spikes/<spike>/` at the repository root (§6 q11). The directory is git-ignored and listed in the workspace's `exclude`, so it is never committed, merged, built by CI or seen by Renovate. Each spike is its own Cargo workspace and copies the repository's profiles. Only the result reaches the repository, in this document and the documents it changes. Spike code is not backed up by the forge | 17, `.gitignore`, `Cargo.toml` |
| D-31 | **S1 passed**: `gpui-kit` 0.10.0 is the shell for `mv-ui`, so D-05 stands and neither fallback (Slint, Tauri 2) is needed. It carries four conditions:<br>• text that a screen reader must find, list rows included, goes through `text!` with a stable id (doc 12 §9);<br>• `vi` strings for `gpui-component` are contributed upstream before M5 (doc 12 §8);<br>• the system text size is applied by `mv-ui` itself, in the M5 accessibility pass;<br>• IME, Windows text suggestions and prediction are kept out of secret fields by S3 (doc 07 §5). | 02, 07, 12, 17 |
## 6. Open actions
@@ -128,7 +274,7 @@ repository-bootstrap session (2026-12-02) and is flagged for review in the same
| H-07 | Generate the update-signing key pair and publish the public key in the README. Default: the secret key is a repo-level Actions secret used only by the tag-triggered release job. Stronger option: keep it off the forge and sign the hash list by hand on the PC before the feed is uploaded — a two-step release | M5 |
| H-08 | Create the repo-level secrets listed in doc 15 §14.7 (`QODANA_TOKEN`, Discord webhooks; later the signing key and store credentials). The R2 secrets and `R2_ACCOUNT_ID` are user-level and already shared | M0 (S10) |
| H-09 | Fix the extension ids: generate the Chromium key for a stable id; reserve the Firefox id | M3 |
| H-10 | Register as an individual developer on the Microsoft Store and reserve the app name "MuteVault" in Partner Center | M5 — earlier is better, the reservation is free |
| H-10 | **Done 2026-12-02.** Registered as an individual developer on the Microsoft Store and reserved the app name "MuteVault" in Partner Center (Store ID `9NCTTCXCB4NQ`; identity values and the open draft's to-do list are in doc 15 §13). Still to do in the draft before submitting (M5): price Free, category, privacy-policy URL, support info, uncheck the OneDrive-backup and broadcast declarations, save the IARC rating | M5 |
| H-11 | Decide whether the app or README carries a donation link, and to where — GitHub Sponsors is tied to the suspended account, so `.github/FUNDING.yml` was removed from this suite | M5 |
| H-12 | Have the VI and JA security-critical strings reviewed by a fluent reader | M5 |
| H-13 | Repository bootstrap on Gitea, in the order of doc 15 §14.5:<br>1. Push `main` first.<br>2. Branch protection with the required checks of doc 15 §4.2.<br>3. Enable Actions.<br>4. Create the secrets `QODANA_TOKEN` and `DISCORD_CI_WEBHOOK`.<br>5. Run `gitea-repo-setup.ps1 -Only mutevault` and `setup-mirrors.ps1 -Only mutevault`.<br>6. Register the cron slots `57 13 * * 2` (Security) and `9 14 * * 5` (Qodana) in the ops registry. `17 15 * * 6` is registered later, with `fuzz.yml`.<br>7. Point the Qodana Cloud project at the **GitLab mirror** URL; Qodana Cloud does not accept a Gitea URL.<br>8. Add `mutevault` to the runbook's tracker.<br>9. Push `chore/ci-bootstrap` and open its pull request. | M0 |
@@ -160,11 +306,8 @@ repository-bootstrap session (2026-12-02) and is flagged for review in the same
10. Whether "`mutevault-host` never depends on `mv-crypto`" (doc 03 §3) means directly or
at all. `cargo xtask rules` checks direct dependencies. If `mv-ipc` needs `mv-crypto`
(association tokens), the host reaches it transitively. Decide at M3.
11. Where spike code lives, given that it is never merged (§1). Candidates:
- a `spikes/` directory excluded from the workspace and ignored by git;
- `spike/*` branches that are never merged;
- a scratch repository outside the forge.
Decide before S1.
11. ~~Where spike code lives, given that it is never merged (§1).~~ **Decided
2026-12-02: D-30** — a git-ignored `spikes/` directory, excluded from the workspace.
## 7. Out of scope, on purpose
+19
View File
@@ -10,6 +10,25 @@ version: "1.0"
linter: qodana-rust
profile:
name: qodana.recommended
# The linter runs `cargo check` to execute build scripts and expand proc macros
# while it opens the project, and the image (a Docker Hardened Image, Debian)
# has no C linker. Without this bootstrap, every build script failed with
# "linker `cc` not found" and the sanity check reported "Cargo project loading"
# (2026-12-02). The bootstrap installs build-essential; it needs root (the
# workflow passes `-u root`). It does not fix the 47 false type errors in
# xtask: those come from the IDE attaching no Rust standard library (its
# projectStructure/SDKs.json has `"roots": []`), still open in spike S10.
#
# Why the pin: the image's libraries are installed as `<version>+dhi0`, which
# sorts above the `<version>+deb13u0+dhi0` that its own repository dhi.io ships.
# apt then reads the -dev packages as downgrades and stops. Pinning dhi.io at
# 1001 lets apt take the repository's builds (the same fix as in
# free-steam-games-list's web/src-tauri/qodana.yaml). Checked by hand in the
# cached image: after this bootstrap, `cargo check --locked` succeeds.
bootstrap: |
printf 'Package: *\nPin: origin dhi.io\nPin-Priority: 1001\n' > /etc/apt/preferences.d/dhi
apt-get update -qq
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --allow-downgrades --no-install-recommends build-essential
# No failureConditions: the EAP linter reports, it does not gate (doc 14 §4).
# Opening a Cargo project in Docker Desktop on the runner PC can take longer
# than the linter's default 10 minutes on a cold cache (seen on
+6 -1
View File
@@ -1,7 +1,12 @@
# The one place the Rust version lives (doc 02 §1). CI reads it: the Windows job
# with `rustup toolchain install`, the Linux job by passing `channel` to the
# toolchain action. Release builds are rebuildable from this pin (doc 15 §11).
#
# `rust-src` is the standard library's source. rust-analyzer needs it to resolve
# std. The JetBrains engine behind Qodana's Rust linter reads it too. The
# qodana-rust image ships it only for its own default toolchain, and it installs
# 1.100.0 from this file.
[toolchain]
channel = "1.100.0"
components = ["rustfmt", "clippy", "llvm-tools"]
components = ["rustfmt", "clippy", "llvm-tools", "rust-src"]
profile = "minimal"