Linux first run, and a website rule that reaches the screenshot #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/linux-first-run"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Six commits on
claude/linux-first-run, rebased onmainatf6243e6(the wiki). Every one is green on Linux underscripts/verify.shin a container: 275 Rust + 86 TypeScript = 361 tests, every stage, exit 0. Windows-only packages and the end-to-end suite are not checked here;verify.ps1on a Windows machine covers those.The one to read first —
e8dadf2"Never capture my bank" suppressed the host name and stored the screenshot. Only the extension's report carries the origin; L0 judges the record in hand. The frames collector sends
origin: Noneon both platforms, so the screenshot of a denied site matched the browser's allow rule and went through: painted, blobbed, uploaded. Focus records kept the title the same way. The test that looks like it covers this (a_denied_app_produces_no_pixels_at_all) suppresses becausechrome.exeis not allow-listed at all — nothing in the suite had an allowed browser and a denied site, the only configuration the extension exists for.The gate now remembers the site each browser last reported and stamps it on every later record from that browser that arrives without one, before L0. Joined by browser family, not exe string: the extension can only say
chrome.exe, a Mac saysGoogle Chrome, and a string join would pass on Windows and capture the bank on every Mac. The table is closed to the four names the extension can report, so a site is never stamped on an application.Not closed, and documented: a frame captured between a navigation and the extension's report carries the previous site. Three pipeline tests, all fail against the old code (checked by making the join a no-op).
The Linux run — five commits
Nothing had ever run the second verifier on Linux. It found:
ps -o comm=is cut to 15 characters by the kernel, so every collector read as not running and the Stop button found nothing to stop while capture carried on. Linux now reads/proc/<pid>/exe. (e190b41)data_dirhad never been linted; a collapsibleiffailed-D warnings, so a green Linux run was impossible. (2bfd724)/tmpfixture: true on a Mac, false on Linux. (41be856)cfg_attrto delete the day there is one. (af9f284)sent_atwas1970-01-01T00:00:00Z, and eight call sites wrote the epoch intouploaded_at. The non-Windows arm of two functions returned the literal. Passes the schema, the lint and the server. Fixed with a test that asserts the value. (2cf7be5)Seen and deliberately left alone
here-wingoes red on clippy under Rust 1.98 (chunks_exact_to_as_chunks) andrust-toolchain.tomlfloats onstable— the Windows gate breaks on the nextrustup updatewith nobody changing anything.cryptoglobal (pairing.ts:197).here-consoleandhere-indicatorcannot be cross-checked for Windows from Linux (SQLite needs the SDK), so those two commits are compiled on Linux only.