Repository navigation
Paste safety, typed recovery, onboarding completion, dev/release app separation - #5
Merged
Merged
Conversation
…separation Paste safety: - PasteTransaction captures destination (PID + AX window/field) and clipboard state at hotkey time and revalidates before and during the pre-paste window; a changed or unverifiable destination downgrades to copy-only and never overwrites a user clipboard change. - ReadyView practice paste now reports staged progress (hotkey, capture, generation, insertion) and completes onboarding only on verified insertion. Recovery: - HUD failures carry a typed PasteFailure with explicit recovery actions; string-sniffing recovery mapping is gone. Permission failures deep-link their System Settings pane; menu bar can reopen the last issue. Everyday controls: - Per-app capture exclusions from the menu bar; Settings diagnostics page (no screenshots, keys, or window titles); competing-instance and hotkey registration states surfaced; sleep cancels in-flight requests. Dev/release separation: - Local builds are SuperPaste Dev (com.superpaste.app.dev) so development rebuilds cannot invalidate the release app's TCC grants. Dev builds pin the stable certificate, disable Sparkle updates, and all dev tooling targets the dev bundle. scripts/test-dev-bundle.sh verifies the isolation. Tests: 21 focused tests covering the paste transaction contract, clipboard round-trip (caught a restore-empty-clipboard regression), failure mapping, and practice-state gating. Focused swift-testing runs pass locally; the plain `swift test` runner aborts on CLT 26.x, so CI (Xcode) is the referee.
run-focused-tests.sh wraps the CLT-specific swift-testing invocation. verify-clipboard-regression-test.sh temporarily reintroduces the restore-clears-clipboard bug and proves the suite fails — the trap restores the source either way. Re-ran the suite against the restored source: all 21 tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
swift testrunner aborts on this machine's CLT 26.x after startup; CI is the referee hereTest plan