Skip to content

feat(cua-driver): extend Project Centennial across desktop platforms - #3189

Merged
f-trycua merged 18 commits into
mainfrom
t3code/project-centennial-platforms
Aug 16, 2026
Merged

feat(cua-driver): extend Project Centennial across desktop platforms#3189
f-trycua merged 18 commits into
mainfrom
t3code/project-centennial-platforms

Conversation

@f-trycua

@f-trycua f-trycua commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • extend Project Centennial storage and native event attribution to Windows and Linux
  • use DPAPI on Windows and Secret Service on Linux for the local namespace key
  • add platform lifecycle, uninstall/purge, daemon-launch, frame-coordinate, and Wayland title-safety fixes
  • add canonical Windows, Linux X11, and Linux Wayland desktop E2E coverage

This pull request follows the merged macOS/shared foundation in #3188.

Validation

Candidate: 48df01bbb617181bb695db998cbe3bb7b0a5095c

  • cargo fmt --all -- --check
  • cargo check -p cua-driver-core -p platform-macos -p platform-windows -p platform-linux -p cua-driver
  • cargo test -p cua-driver-core history --lib --no-fail-fast — 43 passed
  • cargo test -p cua-driver --bin cua-driver history --no-fail-fast — 13 passed
  • cargo test -p cua-driver --test computer_history_cross_platform_test --no-fail-fast — platform-gated on macOS
  • native Linux compile of computer_history_cross_platform_test — passed
  • workflow YAML, shell syntax, JSON schema, diff, credential, and public-doc residue checks
  • synthetic Unix and Windows uninstall/purge fixtures
  • supporting controlled Windows and GNOME/X11 trials verified encrypted persistence, zero dropped events, metadata-only history, restart hydration, and cryptographic purge

Canonical desktop evidence:

The PR-authored changes after the fully certified Windows/X11 product revision
are confined to Wayland CI/test coverage. The affected Wayland shared lane was
rerun after those changes; the already-passing native and capture lanes are
product-identical. The final rebase adds only an unrelated Fleet backend commit
from main; the Cua Driver, workflow, and test trees are byte-identical to the
certified 92efee851 revision.

Stack

Base: main; foundation merged in #3188.

@f-trycua
f-trycua force-pushed the t3code/project-centennial-platforms branch 2 times, most recently from bcec076 to bde4f52 Compare August 15, 2026 19:38
@f-trycua
f-trycua force-pushed the t3code/project-centennial-preview branch from c354124 to d16388f Compare August 15, 2026 22:43
@f-trycua
f-trycua force-pushed the t3code/project-centennial-platforms branch 2 times, most recently from cf735cb to af4a216 Compare August 15, 2026 23:45
@f-trycua
f-trycua changed the base branch from t3code/project-centennial-preview to main August 15, 2026 23:45
@f-trycua
f-trycua force-pushed the t3code/project-centennial-platforms branch from a777e79 to bbca124 Compare August 16, 2026 00:49
@f-trycua
f-trycua force-pushed the t3code/project-centennial-platforms branch from 92efee8 to 48df01b Compare August 16, 2026 01:39
@f-trycua
f-trycua marked this pull request as ready for review August 16, 2026 09:35
@cursor

cursor Bot commented Aug 16, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@f-trycua
f-trycua merged commit a744308 into main Aug 16, 2026
30 checks passed
f-trycua added a commit that referenced this pull request Aug 17, 2026
…t schema (#3223)

The published Computer History event schema still pins `data.platform` to
`{"const": "macos"}`, which predates the Windows and Linux extension in #3189.
Both adapters emit `"windows"` and `"linux"`, so any consumer validating real
events against the published v0 schema rejects every event produced off macOS.

Observed on Windows with cua-driver 0.20.1-nightly.20260817.31994594712:

    "platform": "windows"

`platform_name()` in history_runtime.rs returns exactly one of
`macos | windows | linux`, so the enum mirrors the emitter.

Refs #3189

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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