Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
499d228
fix(core): read an MCP entry with a url as a remote server (AC-58)
siracusa5 Nov 12, 2026
f9f3ad2
feat(desktop): grid cell opens the drawer on its surface; hide surfac…
siracusa5 Nov 12, 2026
b5984f3
feat: one harness.yaml for Drift, Profile and onboarding; build it fr…
siracusa5 Nov 12, 2026
3d2dbb8
test: contract tests for every webview IPC payload; plugin-permission…
siracusa5 Nov 12, 2026
821d05b
feat: Profile and Compile follow the selected project; instructions a…
siracusa5 Nov 12, 2026
31ec9f8
feat(desktop): AA contrast tokens, focus-trapping dialogs, keyboard m…
siracusa5 Nov 12, 2026
70a03fc
fix(desktop): copy says what the app does; Copy/Compile/Drift vocabul…
siracusa5 Nov 12, 2026
6afbb1e
docs: site, README and DESIGN.md describe the app as it is; fix false…
siracusa5 Nov 12, 2026
9ff8391
feat: Changes list with Undo; Machine copies in the audit log
siracusa5 Nov 12, 2026
5e4c301
fix(desktop): record machine copies only for a committed manifest; va…
siracusa5 Nov 13, 2026
08ee6fc
fix: instructions copies match and never nest; secrets compile as ref…
siracusa5 Nov 13, 2026
70a0f14
fix(core): the agent prompt for differing instructions asks to update…
siracusa5 Nov 13, 2026
9883aed
fix(desktop): record transactions only for ids this session applied; …
siracusa5 Nov 13, 2026
2390b9b
fix(core): instructions compare and copy as whole files minus harness…
siracusa5 Nov 13, 2026
d1653b2
docs(spec): tick AC-55..AC-61 (Phase 2c steps 2-4)
siracusa5 Nov 13, 2026
5fa45fc
test(e2e): palette commands are listbox options now
siracusa5 Nov 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 56 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,61 @@ jobs:
path: ${{ steps.dmg.outputs.path }}
retention-days: 1

# AC-60. tauri-driver has no macOS WebKit driver, so the app cannot be driven by
# WebDriver here. Two checks stand in: (1) the real tauri.conf.json, capability file
# and ACL manifest on Tauri's mock runtime, which runs the same ACL resolver the
# packaged app does; (2) the built .app is launched on a macOS runner and must stay
# alive for 20 seconds. (2) proves the bundle starts (database init, plugin setup,
# window creation); it does not click through the UI, which the Playwright suites
# cover against a mocked bridge.
real-app-smoke:
needs: [build-desktop]
runs-on: macos-15
steps:
- uses: actions/checkout@v7

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@v2
with:
workspaces: apps/desktop/src-tauri

- name: Capability and IPC contract tests on the real config (mock runtime)
working-directory: apps/desktop/src-tauri
run: |
cargo test --test capability_smoke
cargo test --lib -- ipc_contract surface_write

- name: Download the built desktop app
uses: actions/download-artifact@v8
with:
name: desktop-darwin-arm64

- name: Launch the built app
run: |
set -euo pipefail
MOUNT="$(mktemp -d)"
hdiutil attach HarnessKit-nightly-darwin-arm64.dmg -mountpoint "$MOUNT" -nobrowse -quiet
APP="$(find "$MOUNT" -maxdepth 1 -name '*.app' | head -1)"
if [[ -z "$APP" ]]; then
echo "::error::No .app inside the DMG"
exit 1
fi
EXE="$(/usr/libexec/PlistBuddy -c 'Print :CFBundleExecutable' "$APP/Contents/Info.plist")"
# A throwaway HOME keeps the app off the runner's real config directories.
export HOME="$(mktemp -d)"
"$APP/Contents/MacOS/$EXE" > "$RUNNER_TEMP/app.log" 2>&1 &
PID=$!
sleep 20
if ! kill -0 "$PID" 2>/dev/null; then
echo "::error::The app exited within 20 seconds of launch"
cat "$RUNNER_TEMP/app.log"
exit 1
fi
echo "App still running after 20 seconds (pid $PID)"
kill "$PID" || true
cat "$RUNNER_TEMP/app.log"

publish:
needs: [build-cli-standalone, build-desktop]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -226,7 +281,7 @@ jobs:
# A scheduled workflow fails where nobody is looking β€” this one was red for
# four nights before anyone noticed. Surface it as an issue instead.
report-failure:
needs: [build-cli-standalone, build-desktop, publish]
needs: [build-cli-standalone, build-desktop, real-app-smoke, publish]
if: failure() && github.event_name == 'schedule'
runs-on: ubuntu-latest
permissions:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,30 @@ jobs:
- name: Production-build smoke (blank-screen guard)
run: pnpm --filter harness-kit-desktop test:e2e:preview

# smoke.spec (route content, Machine/Drift views) and console-hunt (no console
# errors on any route) run against the dev server with the mocked Tauri bridge.
- name: Smoke and console-hunt e2e (dev server)
run: pnpm --filter harness-kit-desktop test:e2e

# AC-60: the surface_write guard and the IPC contract also run on macOS, where
# is_declared_store picks the macOS write scope and paths are case-insensitive.
desktop-macos-rust:
runs-on: macos-15
steps:
- uses: actions/checkout@v7

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@v2
with:
workspaces: apps/desktop/src-tauri

- name: Rust test (surface_write, IPC contract, capability smoke)
working-directory: apps/desktop/src-tauri
run: |
cargo test --lib -- surface_write ipc_contract
cargo test --test capability_smoke

docs-build:
runs-on: ubuntu-latest
steps:
Expand Down
31 changes: 18 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,19 +194,24 @@ See the [Secrets Management guide](website/content/docs/guides/secrets-managemen

## πŸ–₯️ Desktop App

A Tauri desktop control plane for your AI coding harnesses β€” config console with reverse-import and drift-repair. No external services required for any core path.

- **Sync engine** β€” compiles `harness.yaml` to platform configs
- **Plugin explorer** β€” browse and manage installed plugins
- **Marketplace** β€” embedded plugin browser for discovering and installing from the marketplace
- **Observatory** β€” live session dashboard with stats and transcripts, reading local `~/.claude` data
- **Comparator** β€” structured evaluation workbench: configure harnesses, run side-by-side comparisons, review file diffs, and judge results across a 4-phase workflow, local-only
- **Harness editor** β€” inline editing with custom profiles
- **Parity** β€” cross-platform feature parity tracking across AI coding tools
- **Fleet and Drift** β€” layered capture/apply previews, capability losses, reconciliation conflicts, governed rollout status, and local rollback history
- **Security** β€” permissions editor, secrets management, and audit logging

See [`apps/desktop/`](apps/desktop/) for build instructions. The desktop app is a separate product from the plugin marketplace.
A Tauri desktop app that shows what each AI coding tool on your machine has configured, and lets you copy a missing piece from one tool to another. It reads local files. No external service is needed.

- **Machine** is the home screen. A grid lists every MCP server, skill, instruction file and plugin across the tools it finds, with one column per tool. Click a cell to open a drawer that shows where the resource lives, how copies differ, and a copy action from one tool to another. Tools that are not installed are hidden until you choose "Show all".
- **Drift** is a view inside Machine. It compares your `harness.yaml` with the files compiled from it, shows a diff for each item, and previews a fix before writing anything.
- **Profile** edits `harness.yaml` and compiles it into a project. With no project chosen, Profile and Compile use your personal `~/.claude/harness.yaml`. With a project chosen in the title bar, they use that project's committed `harness.yaml` as the team baseline.
- **Claude Code** holds the editors for that tool: Instructions, MCP servers, Plugins, Hooks, Permissions, and Usage (sessions, tool calls and tokens read from `~/.claude`).
- **Marketplace** browses the plugin catalog.
- **Settings** holds preferences, secrets and the activity log.
- **Comparator** runs the same prompt across tools side by side. It is off until you turn it on in Settings under Labs.

How it handles your files:

- Copies, Compile and Drift fixes show a preview before they write. Backups and rollback points for files in your home folder go to `~/.harness/backups/`, and for a project to that project's `.harness/backups/`.
- The app has no shell access. Folder choices, plugin imports and exports use native dialogs.
- Security presets merge into your permissions and list any deny rule they would remove before writing.
- Dialogs trap focus and return it on close, menus work from the keyboard, and text colors meet WCAG AA contrast.

To build or run it, see [CONTRIBUTING.md](CONTRIBUTING.md) (`pnpm dev:desktop`). Design rules are in [`apps/desktop/DESIGN.md`](apps/desktop/DESIGN.md). The desktop app is a separate product from the plugin marketplace.

## 🌐 Cross-Platform

Expand Down
Loading
Loading