Repository navigation
Description
Why
The owner has accepted the native macOS Evidence Workbench and explicitly directed CodeVetter to retire the Tauri UI. The currently published v1.11.1 artifact still launches the legacy React/WebView shell, while the qualified SwiftUI/AppKit app already preserves the product surfaces through the shared Rust CLI, MCP, SQLite, grader, and runtime boundaries.
Deleting apps/desktop wholesale would also delete the reusable execution engine and break CLI/MCP parity. The retirement therefore needs to remove the Tauri shell while keeping the Rust authority intact and making native macOS the sole application.
What
In scope:
- Make
apps/macosthe primary and only desktop application. - Transfer the production bundle identity and synchronize native versioning.
- Move the reusable Rust crate, CLI, MCP server, collectors, and packaging scripts out of the Tauri-named tree.
- Remove the React/Vite/Tailwind/Tauri UI, WebView IPC shell, Playwright UI tests, Tauri configuration, and Tauri-only dependencies.
- Update CI, qualification, release, updater, docs, landing downloads, package-manager workspace, and contributor commands.
- Preserve the incumbent SQLite data root and verify installed upgrade, relaunch, stable-record continuity, and rollback before publishing the native replacement.
Out of scope:
- Rewriting deterministic graders or Rust services in Swift.
- Deleting historical release assets or user data.
- Adding Windows or Linux desktop targets.
- Publishing an unsigned or unnotarized native production release.
Design
The native app remains a thin SwiftUI/AppKit client over versioned Rust receipts. The Rust crate moves to a neutral crates/ location and owns CLI, MCP, SQLite, verification, scanning, graders, and supervised execution. The retired Tauri/React shell is removed only after every build and package reference points to the neutral core.
flowchart LR
Swift[Native macOS UI] -->|versioned receipts| Core[Rust core]
CLI[codevetter CLI] --> Core
MCP[Read-only MCP] --> Core
Core --> DB[(Existing SQLite data)]
Core --> Tools[Collectors and runtimes]
Release[Signed and notarized native release] --> Swift
Deploy impact: the landing page and GitHub release channel must change from the Tauri DMG/updater manifest to the signed native DMG/ZIP and Sparkle appcast. The existing public Tauri release remains available for rollback until the native installed-upgrade proof passes.
Specs
Requirement: Native macOS is the sole desktop product
CodeVetter SHALL build and package apps/macos as the only desktop application and SHALL NOT ship a Tauri/WebView executable.
Scenario: Launch installed CodeVetter
- WHEN the owner launches
/Applications/CodeVetter.app - THEN the executable is
CodeVetterNativeand the SwiftUI/AppKit Evidence Workbench is presented.
Requirement: Rust product authority is preserved
The migration SHALL preserve deterministic verification, SQLite, CLI, MCP, collectors, runtime evidence, and machine-readable receipt semantics in a Tauri-independent Rust crate.
Scenario: Use all three product surfaces
- WHEN equivalent work is requested through native UI, CLI, or MCP
- THEN each surface consumes the same versioned Rust-owned contracts with MCP remaining read-only where specified.
Requirement: Existing user data survives replacement
The native app SHALL retain the production bundle identity and incumbent Application Support database path without deleting or rewriting user data during installation.
Scenario: Upgrade from Tauri to native
- WHEN a populated Tauri installation is replaced by the native application
- THEN stable-record fingerprints remain unchanged after native relaunch and after a tested rollback.
Requirement: Production distribution remains trustworthy
The native release SHALL be Developer ID signed, Apple notarized and stapled, Sparkle-signed, and bound to exact archive and source identities before publication.
Scenario: Missing protected release inputs
- WHEN signing, notarization, or Sparkle inputs are unavailable
- THEN CI fails closed and no native production release is published.
Tasks
- 1. Record the owner acceptance and Tauri-retirement decision; synchronize native version and production identity.
- 2. Relocate the Rust crate, CLI/MCP binaries, collector resources, and retained packaging scripts to neutral paths.
- 3. Remove the React/Vite/Tailwind/Tauri shell and Tauri-only tests, configuration, dependencies, and workflows.
- 4. Rewire Swift, CLI, MCP, package scripts, CI, docs, landing downloads, and release automation to the neutral Rust core and native app.
- 5. Run Rust, CLI/MCP, Swift, package, performance, accessibility, docs, and code-health gates.
- 6. Provision protected signing/notarization/Sparkle inputs and pass the production-candidate workflow.
- 7. Prove installed upgrade, relaunch, stable-record continuity, rollback, and owner visual acceptance on the exact production archive.
- 8. Publish the native replacement, verify the appcast/downloads/live landing page, and then close this issue.
Activity
sarthakagrawal927 commentedon Sep 3, 2026
Owner refinement approved on 2026-09-04 before native visual acceptance:
This is a refinement of task 7 (owner visual acceptance), not a separate product feature.