Community编程与开发github.com

openclaw-mac-release

运行或恢复 OpenClaw macOS 发布的签名、公证、appcast 更新和资产提升操作。

openclaw-mac-release 是什么?

此技能专门用于管理 OpenClaw 游戏的 macOS 版本发布流程。它涵盖从本地凭证验证、1Password 安全操作、GitHub Secrets 配置,到完整的 CI/CD 工作流调度(包括私有预检、验证和正式发布)的全过程。技能详细说明了如何正确使用 App Store Connect 的 API 密钥进行公证(notarization),并处理常见的 401 认证错误。它强调了工作流中源引用(source_ref)和标签(tag)必须保持一致,以及正式发布必须重用先前成功的预检和验证运行结果。该技能适用于 OpenClaw 项目的发布维护者、CI/CD 系统,要求环境变量 `$openclaw-release-maintainer`、`$openclaw-release-ci`和 `$one-password` 可用。通过遵循此技能,用户可以安全、可靠地完成 macOS 资产的签名、公证、appcast 更新和 GitHub 发布,避免密钥泄露和工作流不一致导致的失败。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/.agents/skills/openclaw-mac-release

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

OpenClaw Mac 发布

当涉及稳定的 macOS 资产、私有 Mac 预检、公证、appcast 提升或 Mac 发布恢复时,与 $openclaw-release-maintainer、$openclaw-release-ci 和 $one-password 一起使用。

凭证

  • 规范 ASC 条目:保险库 Molty,标题 API Key - App Store Connect - Personal - Release。
  • 字段:private_key_p8、key_id、issuer_id。
  • 当前已知有效的 key_id:AKVLXW849T。
  • 旧镜像:保险库 Private,标题 API Key - App Store Connect - Personal;保持同步以支持旧引用。
  • 过期/吊销密钥的症状:xcrun notarytool submit 返回 HTTP status code: 401. Unauthenticated。
  • 在设置 GitHub Secrets 前,先用 xcrun notarytool history 验证候选 ASC 凭证。

1Password

  • 使用 $one-password:所有 op 操作在一个持久 tmux 会话内完成,不输出秘密。
  • 优先使用 ~/.profile 中的 OP_SERVICE_ACCOUNT_TOKEN 进行 Molty 读取。
  • 不要假设 MOLTY_OP_SERVICE_ACCOUNT_TOKEN 仍有效;它之前曾指向一个已删除的服务账户。
  • 如果服务令牌失败,仅执行状态检查:检查令牌是否存在/长度,以及 op whoami;绝不要打印令牌值。
  • 如果需要桌面应用认证但 Touch ID 不可用,请设置 OP_BIOMETRIC_UNLOCK_ENABLED=false 并使用手动 op account add --signin 路径。

GitHub Secrets

目标私有仓库环境:openclaw/releases-private,环境 mac-release。

仅在本地公证认证验证后设置:

  • APP_STORE_CONNECT_API_KEY_P8
  • APP_STORE_CONNECT_KEY_ID
  • APP_STORE_CONNECT_ISSUER_ID

不要从混合来源更新这些值。所有三个 ASC 字段必须来自同一 1Password 条目。

工作流形状

  • 公共发布分支可能在稳定标签/npm 已上线后携带仅限 Mac 的打包修复。
  • 构建该分支变体时,使用 source_ref=release/YYYY.M.D 进行私有 Mac 预检/验证。
  • 保持 tag=vYYYY.M.D 指向原始稳定发布提交。
  • 真正的 Mac 发布必须重用:
    • 针对相同标签/源 SHA 的成功私有 Mac 预检运行
    • 针对相同标签/源 SHA 的成功私有 Mac 验证运行
  • 如果预检源 SHA 与标签 SHA 不同,验证也必须使用相同的 source_ref;提升将拒绝不匹配的证明。

公证

  • OpenClaw 使用 scripts/notarize-mac-artifact.sh。
  • xcrun notarytool submit 应使用 --no-s3-acceleration;加速上传可能即使在 notarytool history 成功时也会显示误导性的 401 错误。
  • 如果签名成功但公证立即失败并返回 401,请先检查 ASC 密钥的新鲜度。
  • 如果密钥文件写入后公证持续几分钟处于“进行中”状态,这是正常的 Apple 等待时间;不要盲目编辑。

调度

私有预检:

gh workflow run openclaw-macos-publish.yml --repo openclaw/releases-private --ref main \
  -f tag=vYYYY.M.D \
  -f source_ref=release/YYYY.M.D \
  -f preflight_only=true \
  -f smoke_test_only=false \
  -f allow_late_calver_recovery=false \
  -f public_release_branch=release/YYYY.M.D

针对分支变体预检的私有验证:

gh workflow run openclaw-macos-validate.yml --repo openclaw/releases-private --ref main \
  -f tag=vYYYY.M.D \
  -f source_ref=release/YYYY.M.D

正式发布:

gh workflow run openclaw-macos-publish.yml --repo openclaw/releases-private --ref main \
  -f tag=vYYYY.M.D \
  -f preflight_only=false \
  -f smoke_test_only=false \
  -f preflight_run_id=<成功预检的运行ID> \
  -f validate_run_id=<成功验证的运行ID> \
  -f allow_late_calver_recovery=false \
  -f public_release_branch=release/YYYY.M.D

验证

  • gh release view vYYYY.M.D --repo openclaw/openclaw 显示 zip、dmg、dSYM zip,不是草稿,不是预发布。
  • 公共 main 分支的 appcast.xml 指向 OpenClaw-YYYY.M.D.zip。
  • Appcast 条目包含 sparkle:version、sparkle:shortVersionString、长度和 sparkle:edSignature。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相关技能