Feeder bundle, LaunchAgent and the release scripts #11

Open
opened 2026-11-12 20:18:15 +00:00 by svc-agent-writer · 0 comments

Parent: #6. Records: ADR 0008 (docs/adr/0008-feeder-package-signing-and-update.md).

What to build

Everything that turns the Feeder package into a release that the owner can sign, except the signing itself.

  • Bundle. A minimal app bundle with a fixed bundle identifier and a fixed install path. Hardened runtime, and no entitlement beyond what a read needs.
  • LaunchAgent. A property list for the Owner's macOS user that starts the Feeder and names the bundle, so that macOS attributes the Full Disk Access grant to the Feeder. The Feeder registers nothing by itself.
  • Build. A script that builds the bundle from a tagged commit on a clean checkout and prints the hash of the artifact.
  • Sign. A script that the owner runs. It signs with a Developer ID that it finds in the keychain, notarises, staples and verifies. It holds no secret and reads none from the repository.
  • Install and update. A document for the Source Mac: copy the stapled bundle, load the agent, grant Full Disk Access, place the token file and the deny list. An update is a copy and a restart. The Feeder has no updater.

Acceptance criteria

  • Two builds of the same tag on a clean checkout print the same hash, or the document states why they cannot and how the owner checks the artifact instead.
  • The bundle passes the system's signature and notarisation checks after the sign script runs. The owner records that run on the install issue (#21).
  • A test reads the bundle's entitlements and fails on any entry outside an allowed list.
  • No script contains or fetches a credential.

Blocked by

Filed under: operator word "go" sha256:4cd0e21a9a07

Parent: #6. Records: ADR 0008 (`docs/adr/0008-feeder-package-signing-and-update.md`). ## What to build Everything that turns the Feeder package into a release that the owner can sign, except the signing itself. - **Bundle.** A minimal app bundle with a fixed bundle identifier and a fixed install path. Hardened runtime, and no entitlement beyond what a read needs. - **LaunchAgent.** A property list for the Owner's macOS user that starts the Feeder and names the bundle, so that macOS attributes the Full Disk Access grant to the Feeder. The Feeder registers nothing by itself. - **Build.** A script that builds the bundle from a tagged commit on a clean checkout and prints the hash of the artifact. - **Sign.** A script that the owner runs. It signs with a Developer ID that it finds in the keychain, notarises, staples and verifies. It holds no secret and reads none from the repository. - **Install and update.** A document for the Source Mac: copy the stapled bundle, load the agent, grant Full Disk Access, place the token file and the deny list. An update is a copy and a restart. The Feeder has no updater. ## Acceptance criteria - Two builds of the same tag on a clean checkout print the same hash, or the document states why they cannot and how the owner checks the artifact instead. - The bundle passes the system's signature and notarisation checks after the sign script runs. The owner records that run on the install issue (#21). - A test reads the bundle's entitlements and fails on any entry outside an allowed list. - No script contains or fetches a credential. ## Blocked by - #9 - dev/apple-messages-blade-mcp#5 Filed under: operator word "go" sha256:4cd0e21a9a07
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dev/messages-mind-mcp#11
No description provided.