惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
T
The Blog of Author Tim Ferriss
H
Help Net Security
博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
DataBreaches.Net
博客园 - 聂微东
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
B
Blog
Engineering at Meta
Engineering at Meta
V
V2EX
Hugging Face - Blog
Hugging Face - Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs(release): add mac release recovery skill · openclaw/...
steipete · 2026-05-19 · via Recent Commits to openclaw:main

@@ -0,0 +1,95 @@

1+

---

2+

name: openclaw-mac-release

3+

description: "Run or recover OpenClaw macOS release signing, notarization, appcast, and asset promotion."

4+

---

5+6+

# OpenClaw Mac Release

7+8+

Use with `$openclaw-release-maintainer`, `$openclaw-release-ci`, and `$one-password` when stable macOS assets, private mac preflight, notarization, appcast promotion, or mac release recovery is involved.

9+10+

## Credentials

11+12+

- Canonical ASC item: vault `Molty`, title `API Key - App Store Connect - Personal - Release`.

13+

- Fields: `private_key_p8`, `key_id`, `issuer_id`.

14+

- Current known good key id: `AKVLXW849T`.

15+

- Legacy mirror: vault `Private`, title `API Key - App Store Connect - Personal`; keep it synced for older refs.

16+

- Stale/revoked key symptom: `xcrun notarytool submit` fails with `HTTP status code: 401. Unauthenticated`.

17+

- Validate candidate ASC credentials with `xcrun notarytool history` before setting GitHub secrets.

18+19+

## 1Password

20+21+

- Use `$one-password`: all `op` work inside one persistent tmux session, no secret output.

22+

- Prefer `OP_SERVICE_ACCOUNT_TOKEN` from `~/.profile` for Molty reads.

23+

- Do not assume `MOLTY_OP_SERVICE_ACCOUNT_TOKEN` is alive; it has previously pointed at a deleted service account.

24+

- If a service token fails, run status-only checks: token present/length and `op whoami`; never print token values.

25+

- If desktop app auth is needed but Touch ID is unavailable, set `OP_BIOMETRIC_UNLOCK_ENABLED=false` for the manual `op account add --signin` path.

26+27+

## GitHub Secrets

28+29+

Target private repo environment: `openclaw/releases-private`, env `mac-release`.

30+31+

Set only after local notary auth validation:

32+33+

- `APP_STORE_CONNECT_API_KEY_P8`

34+

- `APP_STORE_CONNECT_KEY_ID`

35+

- `APP_STORE_CONNECT_ISSUER_ID`

36+37+

Do not update these from mixed sources. All three ASC fields must come from the same 1Password item.

38+39+

## Workflow Shape

40+41+

- Public release branch may carry mac-only packaging fixes after the stable tag/npm are already live.

42+

- Use `source_ref=release/YYYY.M.D` for private mac preflight/validation when building that branch variation.

43+

- Keep `tag=vYYYY.M.D` pointing at the original stable release commit.

44+

- Real mac publish must reuse:

45+

- a successful private mac preflight run for the same tag/source SHA

46+

- a successful private mac validation run for the same tag/source SHA

47+

- If preflight source SHA differs from tag SHA, validation must also use the same `source_ref`; promotion rejects mismatched proof.

48+49+

## Notarization

50+51+

- OpenClaw uses `scripts/notarize-mac-artifact.sh`.

52+

- `xcrun notarytool submit` should use `--no-s3-acceleration`; accelerated upload can surface misleading 401s even when `notarytool history` succeeds.

53+

- If signing succeeds but notarization fails immediately with 401, check ASC key freshness first.

54+

- If notarization stays in progress for several minutes after key-file write, that is normal Apple wait time; do not edit blindly.

55+56+

## Dispatch

57+58+

Private preflight:

59+60+

```bash

61+

gh workflow run openclaw-macos-publish.yml --repo openclaw/releases-private --ref main \

62+

-f tag=vYYYY.M.D \

63+

-f source_ref=release/YYYY.M.D \

64+

-f preflight_only=true \

65+

-f smoke_test_only=false \

66+

-f allow_late_calver_recovery=false \

67+

-f public_release_branch=release/YYYY.M.D

68+

```

69+70+

Private validation for a branch-variation preflight:

71+72+

```bash

73+

gh workflow run openclaw-macos-validate.yml --repo openclaw/releases-private --ref main \

74+

-f tag=vYYYY.M.D \

75+

-f source_ref=release/YYYY.M.D

76+

```

77+78+

Real publish:

79+80+

```bash

81+

gh workflow run openclaw-macos-publish.yml --repo openclaw/releases-private --ref main \

82+

-f tag=vYYYY.M.D \

83+

-f preflight_only=false \

84+

-f smoke_test_only=false \

85+

-f preflight_run_id=<successful-preflight-run> \

86+

-f validate_run_id=<successful-validation-run> \

87+

-f allow_late_calver_recovery=false \

88+

-f public_release_branch=release/YYYY.M.D

89+

```

90+91+

## Verify

92+93+

- `gh release view vYYYY.M.D --repo openclaw/openclaw` shows zip, dmg, dSYM zip, not draft, not prerelease.

94+

- Public `main` `appcast.xml` points at `OpenClaw-YYYY.M.D.zip`.

95+

- Appcast entry has `sparkle:version`, `sparkle:shortVersionString`, length, and `sparkle:edSignature`.