Skip to content

Only offer Uninstall where Codevisor can, and stop stale harness errors hiding Sign In - #1461

Merged
dylanplayer merged 2 commits into
mainfrom
codevisor/huckleberry
Nov 23, 2026
Merged

dylanplayer merged 2 commits into
mainfrom
codevisor/huckleberry

Conversation

@dylanplayer

Copy link
Copy Markdown
Member

What changed

Uninstall only where Codevisor can

  • Each machine now reports, per harness, whether Codevisor can uninstall it (canUninstall in harness readiness).
  • In Settings → Harnesses, Uninstall… is greyed out when no machine can do it, on Mac and iOS. Disabled destructive swipe actions on iOS are now grey instead of red.
  • A fleet-wide uninstall now does the right thing on each machine: it uninstalls where Codevisor installed the harness, turns it off where the harness was installed outside Codevisor, and does nothing where the harness isn't installed. Offline machines apply it when they reconnect.

Stale errors no longer hide Sign In

  • A refused uninstall (for example "Uninstall this installation with its original installer.") is no longer recorded as a failed operation, so it can't leave a harness stuck as blocked.
  • Failures now record which operation failed (failedPhase). Sync clears an install or uninstall failure as soon as the setting no longer asks for that operation, instead of waiting for a server restart or the 6-hour update check.
  • A machine in an error state that also needs sign-in still shows Sign In… (needsSignIn in harness readiness).

Dev tooling

  • The dev runner skips revoked or expired Apple Development identities and falls back to ad-hoc signing, instead of failing every build.

Verification

  • Dev app on Mac and iOS: Cursor (installed outside Codevisor) has Uninstall greyed out, and Codex's works. A synced uninstall for Kilo (Homebrew, not Codevisor-owned) turns it off with no error and leaves it on disk, and adding it back makes it ready straight away. Factory Droid still shows Sign In….
  • Tests: harness-manager, server harness/sync suites, devtools, and the Swift HarnessFleet suites pass.

🤖 Generated with Claude Code

dylanplayer and others added 2 commits November 23, 2026 12:54
The dev runner used the first Apple Development identity it found, even one
macOS marks as revoked, so every dev build on that Mac failed to sign. It
now skips identities with a CSSMERR status and falls back to ad-hoc signing
when none is usable.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rs hiding Sign In

Each machine now reports whether Codevisor can uninstall each harness.
Uninstall… is greyed out when no machine can, and a fleet-wide uninstall
turns the harness off on machines that can't remove it instead of leaving
them stuck as blocked.

A refused uninstall is no longer recorded as a failure, failures remember
which operation failed, and sync clears a failure once the setting no
longer asks for that operation. A machine in an error state that also
needs sign-in still shows Sign In…. Disabled destructive swipe actions
on iOS are now grey.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dylanplayer
dylanplayer merged commit cda03d9 into main Nov 23, 2026
@dylanplayer
dylanplayer deleted the codevisor/huckleberry branch November 23, 2026 20:56
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