release: signed universal app and installer package pipeline - #14
Merged
Merged
Conversation
- assemble a stable app bundle and install prebuilt signed artifacts without re-signing (preserves TCC identity) - build a flat pkg whose postinstall enters the console user's GUI namespace, creates/preserves the bearer token, installs LaunchAgent, detects pw-mcp, and configures tailscale serve - add v* release workflow: universal arm64+x86_64, ephemeral Developer ID keychain, app+pkg notarization/stapling, verification, checksums, GitHub Release - add no-secret packaging smoke to PR CI (signature gate, structured Tailscale fixture, token persistence, plist/pkg payload) - document artifacts, installer behavior, TCC migration, release secrets and the active-team Developer ID blocker
chaodu-agent
added a commit
that referenced
this pull request
Sep 27, 2026
release: signed universal app and installer package pipeline
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
Makes
oab-instance-mcpdownloadable without cloning/building the repo. Av*tag builds a universal app, Developer-ID signs + notarizes it, wraps it in a signed/notarized.pkg, verifies both, writes checksums, and publishes a GitHub Release.Primary artifact:
oab-instance-mcp-VERSION-universal.pkg. Also publishes the pre-signed.app.zipandSHA256SUMS.Installer behavior
The package carries the signed app as payload and its postinstall enters the logged-in console user's GUI bootstrap namespace, drops root, then calls the same
install-prebuilt.shused by local deployment:User[Self.UserID].LoginName+Self.DNSNamefrom structured JSON;~/.local/oab-instance-mcp/oab-instance-mcp.apppath without re-signing;tailscale serve :8444.The no-re-sign rule and exact team gate preserve Full Disk Access / Screen Recording / Accessibility across future releases. The first Apple-Development → Developer-ID transition may need one final re-grant.
deploy.shnow assembles/signs a temp app and delegates to the same installer, so local and release installs cannot drift.CI / release trust
contents: read, no secrets, nopull_request_target.v*tag pushes or manual retries of an existing tag, under thereleaseenvironment withcontents: write.always()cleanup.6LPQNY95AQ.Validation
On macmini from a clean Swift build:
swift test --skip OsascriptToolTests: 88 tests, 0 failureslipouniversal — passUM92U863A8temp app rejectedIndependent audit findings fixed before the PR: Tailscale parse diagnostics + fixture, explicit launchd-stop timeout before replacement, homes containing spaces, atomic token creation, and keychain-search-list restoration.
Signing blocker (expected)
No release is cut in this PR. The repo currently has no Actions secrets/environment, and no machine has Developer ID Application + Developer ID Installer certificates for active team
6LPQNY95AQ. The only Developer ID Application found is deprecated teamUM92U863A8, and it is intentionally rejected.Before the first tag, create active-team Developer ID Application/Installer assets and add the nine secrets listed in
docs/releasing.md. Until then, ordinary CI is fully testable/green; signed notarization is correctly blocked rather than silently using the old team.