Skip to content

[Build] Remove Apple Developer signing and prepare v0.0.18 - #573

Merged
samzong merged 1 commit into
mainfrom
build/remove-apple-signing
Nov 26, 2026
Merged

samzong merged 1 commit into
mainfrom
build/remove-apple-signing

Conversation

@samzong

@samzong samzong commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

Remove Apple Developer code signing and notarization from macOS desktop builds and prepare the stable v0.0.18 release.

Type of change

  • [Build] CI, packaging, or tooling change
  • [Chore] maintenance

Why is this needed?

Apple Developer signing and notarization are no longer available for this repository. Because tag v0.0.17 already points to 15244866f8068678961cd1c8da4625b016462121, immutable tag rules require a new patch version (v0.0.18).

What changed?

  • Set mac.identity: null and mac.notarize: false in packages/desktop/electron-builder.yml while keeping afterPack: ./scripts/afterPack.cjs so packaged macOS apps retain ad-hoc codesign signatures with build/entitlements.mac.plist.
  • Remove the Apple certificate import step and APPLE_* secrets from .github/workflows/release.yml, unify the desktop package-and-publish step across platforms, and set CSC_IDENTITY_AUTO_DISCOVERY: 'false'.
  • Update .claude/skills/release-publish/SKILL.md to match the ad-hoc macOS signing setup.
  • Set all seven workspace manifests to 0.0.18 and add the 0.0.18 entry to CHANGELOG.md.

Architecture impact

  • Owning layer: desktop packaging configuration, GitHub Actions release workflow, and workspace release metadata.
  • Cross-layer impact: none. Renderer, preload, core, shared, IPC, and persistence layers stay unchanged.
  • Invariants touched from docs/architecture-invariants.md: none.
  • Why those invariants remain protected: no application runtime, session key, IPC, or SQLite persistence code changed, and afterPack.cjs preserves macOS ad-hoc entitlements for Apple Silicon execution and microphone access.

Linked issues

No linked issue.

Validation

  • pnpm lint
  • pnpm test
  • pnpm build
  • pnpm check:ui-contract
  • Manual smoke test

Commands and results:

actionlint .github/workflows/release.yml -> passed
pnpm --config.verifyDepsBeforeRun=false check -> passed (7 manifests at 0.0.18, lint, architecture, UI contract, knip, prettier, tsc, shared 34, core, desktop 402, pwa 61)
node scripts/verify-release-version.mjs --tag v0.0.18 -> passed (7 workspace manifests aligned at 0.0.18)
pnpm --filter @clawwork/desktop build && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac --arm64 --publish never -> built ClawWork-0.0.18-mac-arm64.dmg, ClawWork-0.0.18-mac-arm64.zip, and latest-mac.yml without Apple credentials
codesign --verify --deep --strict --verbose=2 dist/mac-arm64/ClawWork.app -> valid on disk, Signature=adhoc, audio-input and JIT entitlements preserved
node verify_no_apple_sign.mjs -> passed (config validation + fault injection)

Unverified

Remote PR checks, remote multi-platform release.yml execution on v0.0.18, and update-homebrew.yml cask update in clawwork-ai/homebrew-clawwork await the remote workflow runs.

Screenshots or recordings

Not applicable. No UI files changed.

Release note

  • User-facing change. Release note is included below.
Packaged macOS desktop releases with ad-hoc signing without Apple Developer signing or notarization.

Checklist

  • All commits are signed off (git commit -s)
  • The PR title uses at least one approved prefix: [Feat], [Fix], [UI], [Docs], [Refactor], [Build], or [Chore]
  • The summary explains both what changed and why
  • Validation reflects the commands actually run for this PR
  • Architecture impact is described and references any touched invariants
  • Cross-layer changes are explicitly justified
  • The release note block is accurate

Signed-off-by: samzong <samzong.lu@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Hi @samzong,
Thanks for your pull request!
If the PR is ready, use the /auto-cc command to assign Reviewer to Review.
We will review it shortly.

Details

Instructions for interacting with me using comments are available here.
If you have questions or suggestions related to my behavior, please file an issue against the gh-ci-bot repository.

Execution log

Open the execution log

@github-actions github-actions Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines. labels Nov 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: samzong

Details Needs approval from an approver in each of these areas:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions github-actions Bot added approved Approved for merge needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. labels Nov 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pr is currently missing a label matching the regular expression ^kind/, so the needs-kind label has been applied. It will be removed automatically once a matching label is added.

Execution log

Open the execution log

@samzong
samzong marked this pull request as ready for review November 26, 2026 03:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T03:07:38.044389Z 3fc249f Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@samzong
samzong merged commit 6806271 into main Nov 26, 2026
13 checks passed
@samzong
samzong deleted the build/remove-apple-signing branch November 26, 2026 03:03

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3fc249fb86

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

category: public.app-category.developer-tools
icon: build/icon.icns
hardenedRuntime: true
identity: null

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Handle the macOS updater transition to ad-hoc signing

For users running a Developer-ID-signed macOS release, the v0.0.18 ZIP will no longer satisfy the installed application's signing requirement. packages/desktop/src/main/auto-updater.ts still uses electron-updater's native Squirrel.Mac installation flow, and Squirrel validates downloaded bundles against the running application's designated requirement, rejecting mismatches during installation. Consequently, the normal in-app update from an existing signed release fails even though packaging and checksum verification succeed. Handle this transition explicitly—for example, direct affected users to the existing manual-download path and document the required reinstall—rather than publishing the ad-hoc ZIP as a compatible automatic update.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Approved for merge do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. size/M Denotes a PR that changes 30-99 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant