trackslash
VAULT-101 P2 For an agent

A native Mac app

0
All issues

Description

Bradley (2026-09-29) wants a native Mac app alongside the iOS one, to keep items and fill codes on the Mac.

This is an epic. Its sub-issues, below, are in build order, each one a PR or a few.

Decisions (Bradley, 2026-09-29)

  • The Mac app requires an App Lock Password. There's no unencrypted vault on the Mac: setting a password is part of the first launch, and it can't be turned off.
  • No CLI, and no other way into the vault from outside the app. The vault's data stays isolated in the app.

Sub-issues, in build order

  1. VAULT-102 Write the design doc, docs/mac-app.md.
  2. VAULT-103 Build and test the shared modules on macOS, in make validate.
  3. VAULT-104 Make PDF backups and images without UIKit.
  4. VAULT-105 Create the app target, its sandbox and an empty shell.
  5. VAULT-106 First launch sets the App Lock Password, and the lock screen.
  6. VAULT-107 Browse, search and copy items.
  7. VAULT-108 Add and edit items.
  8. VAULT-109 Keep windows private: screen capture, previews and titles.
  9. VAULT-110 Backups, restore and moving a vault between devices.
  10. VAULT-111 Settings, Help and About.
  11. VAULT-112 AutoFill one-time codes.
  12. VAULT-113 Security review, and the security model's Mac rows (P1).
  13. VAULT-114 Ship on the App Store.
  14. VAULT-115 Widgets, or decide not to (P3, after the first release).

Some can run side by side once their prerequisites are done: 104 with 105, and 109 to 112 once 106 and 107 are done.

Where the code stands

  • Already Mac-ready: Package.swift declares macOS 26, and a CI_macOS scheme exists. These modules are platform-neutral or nearly so:

    • VaultCore, VaultBackup, VaultKeygen, CryptoEngine, CArgon2, VaultSettings and FoundationExtensions;
    • VaultFeed (1 of 216 files mentions UIKit).

    CryptoEngineTests already run on macOS.

  • iOS-only:

    • VaultiOS (SwiftUI, 17 files mention UIKit);
    • VaultiOSAutofill, VaultiOSWidgets and VaultiOSShared;
    • VaultExport (PDF backups, 9 UIKit files) and ImageTools (UIKit).
  • Encryption: all of it is CryptoKit (VAULT-99), so export compliance is the same on the Mac (docs/export-compliance.md).

The Mac app

  • A native SwiftUI macOS app, not Mac Catalyst or the iPad app on Apple silicon.
    • It has its own UI module (such as VaultMac) on the shared VaultFeed and VaultCore.
    • It has a sidebar (Items, Tags, Backups, Settings, About), items and the editor, menu commands and keyboard shortcuts.
  • Always encrypted. The vault is only ever the encrypted vault file (G33), so it never depends on FileVault alone (G38). Duress passwords and erasing after 10 work as on iOS.
  • The same App Store record, with macOS added and the same bundle ID, for Universal Purchase. It needs its own screenshots and review.
  • Its own vault, with no sync (G69, the manifesto). Items move by backup and restore, or by the QR transfer, using the Mac's camera or Continuity Camera.
  • AutoFill of one-time codes on the Mac, with a credential provider extension (check what macOS 26 allows). Widgets can come later.
  • iOS assumptions to port. Each needs rows in docs/security-model.md:
    • App Lock: Touch ID, Apple Watch or the Mac's password, through LocalAuthentication, then the App Lock Password. Lock on screen lock and sleep, and on leaving the app per Require Unlock.
    • Hide While Recording: NSWindow.sharingType = .none keeps windows out of screen capture, which is stronger than iOS (G24).
    • Clipboard: concealed and transient pasteboard types, clearing after the timeout, and Universal Clipboard off by default (G50).
    • Keyboard: autocorrect, text completion and Writing Tools off in every field (G52).
    • Keychain: the data protection keychain (already used), with access groups for the app and its AutoFill extension only.
    • Backups: PDF rendering and printing need AppKit, split out of VaultExport and ImageTools; NSSavePanel; security-scoped bookmarks for the auto-backup folder.
    • Spotlight: the same rules as iOS (G49). With the password always on, Spotlight is always off (as on iOS while App Lock is on).
  • Validation: local-check gains a macOS build and test run, and Mac snapshot tests pinned to a set configuration.

Done when

Every sub-issue is done or closed with a reason, and the Mac app ships, always encrypted, with every new promise in docs/security-model.md.

GitHub

0

No branches or pull requests linked.

Comments

1
Bradley

Every sub-issue for an agent is done and merged:

  • VAULT-102 design doc (#712)
  • VAULT-103 shared modules on macOS (#713)
  • VAULT-104 PDF backups and images without UIKit (#714)
  • VAULT-105 the app target and sandbox (#715)
  • VAULT-106 first launch and the lock screen (#716)
  • VAULT-107 browse, search and copy (#717)
  • VAULT-108 add and edit items (#718)
  • VAULT-109 private windows (#719)
  • VAULT-110 backups and restore (#720)
  • VAULT-111 Settings, Help and About (#721)
  • VAULT-112 AutoFill one-time codes (#722)
  • VAULT-113 security review (#723)

This stays open for the two left to Bradley: VAULT-114 (ship on the App Store) and VAULT-115 (widgets, or decide not to). VAULT-114 has notes on the Release build's entitlements and the AutoFill extension's App Store profile. The review's follow-ups are VAULT-117 (when Auto-Backup runs, a decision) and VAULT-118 (private).