mirror of
https://github.com/wu736139669/hapi.git
synced 2026-10-19 21:09:50 +00:00
Ad-hoc signatures carry a cdhash-based TCC requirement that changes on every build, so macOS treats each local binary as a new app and re-asks protected permissions (Documents, Downloads, media library, ...) after every deploy. - add scripts/deploy-local.sh: pins one Apple Development identity (SHA-1 stored in ~/.hapi/signing-identity, override via HAPI_SIGN_IDENTITY), signs with identifier run.hapi.cli, copies to a new versioned file, repoints ~/.hapi/bin/hapi, restarts the hub, and rolls back when /health fails - document the identity step and TCC rationale in AGENTS.md and docs/local-deployment.md; agent sessions must prune TCC-protected folders (~/Music, ~/Pictures, ~/Movies, ~/Library) from recursive $HOME sweeps - drop the one-off scripts/deploy-local-capacity-retry.sh (ad-hoc)