Complete three overdue cleanups discovered during macOS health check: D-56 daemon dissolution: delete bin/clide.dart, DaemonServer, and orphaned tests (test/cli/, subprocess_test, in_process_test). Update stale "clide --daemon" references in i18n catalogs, error messages, editor_commands, CI scripts, and decision records. ptyc retirement: delete ptyc/ source tree, PtySession, scm_rights. Remove from Toolchain resolution, ToolCheck gate, backend serialization, testmode harness, Makefile, CI, and sandbox entitlements. PTY spawning uses NativePty (Dart FFI forkpty) since the terminal was absorbed in-tree. D-5 amended. Golden tests: wire the existing but never-applied clideGoldenConfig via flutter_test_config.dart. Disable CI goldens (Skia anti-aliasing differs between macOS/Linux even with Ahem). Keep platform-keyed goldens only — goldens/linux/ and goldens/macos/ each run on their own OS. Test suite: 826 pass, 0 fail on macOS (was 829 pass, 11 fail). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
41 lines
1.7 KiB
XML
41 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<!--
|
|
DebugProfile.entitlements template — machine-specific sandbox exceptions.
|
|
|
|
Copy to DebugProfile.entitlements and replace placeholders:
|
|
__HOMEDIR__ → your home directory (e.g. /Users/you)
|
|
__PROJECTS__ → your projects root (e.g. /Users/you/Projects)
|
|
__SHELL__ → your login shell (e.g. /bin/zsh)
|
|
|
|
Git is bundled via dugite-native (D-59) — no Homebrew exec needed.
|
|
Run `make dugite-fetch` to download the binary.
|
|
-->
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>com.apple.security.app-sandbox</key>
|
|
<true/>
|
|
<key>com.apple.security.cs.allow-jit</key>
|
|
<true/>
|
|
<key>com.apple.security.network.server</key>
|
|
<true/>
|
|
<key>com.apple.security.network.client</key>
|
|
<true/>
|
|
<key>com.apple.security.files.user-selected.read-write</key>
|
|
<true/>
|
|
<key>com.apple.security.temporary-exception.sbpl</key>
|
|
<array>
|
|
<string>(allow process-exec* (literal "__SHELL__"))</string>
|
|
<string>(allow process-exec* (literal "/usr/bin/which"))</string>
|
|
<string>(allow process-exec* (subpath "__HOMEDIR__/.local/bin"))</string>
|
|
<string>(allow process-exec* (subpath "__PROJECTS__/clide/native/dugite"))</string>
|
|
<string>(allow process-fork)</string>
|
|
<string>(allow file-read* file-write* (subpath "__PROJECTS__"))</string>
|
|
<string>(allow file-read* (subpath "/opt/homebrew"))</string>
|
|
<string>(allow file-read* (subpath "__HOMEDIR__/.local"))</string>
|
|
<string>(allow file-read* (subpath "__HOMEDIR__/.pql"))</string>
|
|
<string>(allow file-read* file-write* (subpath "/private/tmp"))</string>
|
|
</array>
|
|
</dict>
|
|
</plist>
|