Repository navigation
Conversation
2 of 18 tasks
This branch has not been deployed
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.
What
Add an independent manual macOS native test-build workflow. It builds an exact
openclaw/openclawSHA, packages an arm64 production-bundle app with native iroh enabled, then signs it with the existing Foundation Developer ID on a separate runner. It uploads a plain test artifact only; it is not a release route.Why
Native macOS daily-driver acceptance needs an exact-head Foundation-signed app without inventing a release tag, invoking release validation/publication, moving the production signing key to a workstation, or submitting a test app for notarization.
Changes
Release-path diff
No existing release step is touched.
openclaw-macos-publish.yml,openclaw-macos-variant.yml,openclaw-macos-validate.yml, the npm/evidence workflows, and all existing scripts are unchanged. The only workflow diff is the newopenclaw-macos-test-build.yml; the only existing-file edit is additive README documentation. No tag input, release/npm validation entrypoint, distribution packager, notary credentials/submission, appcast generation/publication, GitHub Releases write, or call into the publish workflow is added.Approval and risk
Packaging prerequisite cleared; awaiting human merge/run approval. The product-source crate-staging repair is published in #194201 at
f7d7aec209dafc959c6f40c1565503e1f5e6f720and included through the final Apple stack in the exact #196759 integration candidate:1ac9f290c27d626b7b3d5c1c2e0a976c06cf7b97. Its canonical branchopenclaw-e3b/macos-live-ocidwas verified by GitHub's branches-where-head API. The complete exact-head release/arm64/native-enabled product packaging entry point now passes on an independent Studio checkout with private build state and explicit ad-hoc signing. No workflow-side source patch or relabeling was used. See concrete qualification below; this clears the earlier packaging P1, not the human approval or production-signing gates.mac-releaserun, including the exact reviewed source SHA and build version. The existing environment is main-only but has no required-reviewer gate; the operator must obtain approval before dispatch. CODEOWNERS remains the release-manager team.ALLOWED_ACTORScontainsvincentkoc,steipete,joshavant,RomneyDa,Patrick-Erichsen, plus explicitly authorized test operatorjalehman. It checks bothGITHUB_ACTORandGITHUB_TRIGGERING_ACTOR, so an unlisted dispatcher or rerun actor fails closed. The list mirrorsrelease-managers-openclaw(with the explicitjalehmanexception) and must be updated through reviewed code changes whenever team membership changes; no live team lookup or extra token is used. This is enforced before candidate checkout in the build job and before any signing secret is materialized in the signing job. Adding operators requires a reviewed code change.openclaw/openclaw/commits/{sha}/branches-where-headAPI is queried using the workflow'scontents: readtoken, not a PAT or signing secret. Admission requires a named canonical-repository branch whose current head exactly matches the requested SHA. Fork-only/PR-ref-only commits, absent/mismatched heads, malformed responses and API failures are rejected. Signing reasserts the same condition. This intentionally requires a current branch head, not an arbitrary ancestor; keep the reviewed branch pinned through signing. Canonical membership is not a substitute for review or human run approval.0409efbc343c579f3d711f723811c58fa9497f05, never candidate scripts or binaries. Only the existing P12/password secrets are read; no notary, publisher or Sparkle keys. Signing cleanup runs before artifact upload.version_overrideis the existing numericAPP_BUILD/CFBundleVersion, which Sparkle compares. The live stable appcast floor is checked before build and signing. Marketing/runtime versions remain unchanged to preserve clean-source provenance. Automatic updates remain enabled: a later higher official version may replace this app. Reinstall the saved/current official app to restore normal updates immediately.Testing
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -p test_macos_test_build.py -v— 9 tests passed, including all six authorized users in each actor field, unauthorized original/rerun actor denial, canonical branch-head/fork-only/missing/malformed/API-error admission, the allowed happy path, stable-feed admission, archive confinement, exact app/runtime provenance, signing success/failure cleanup, artifact provenance, and workflow isolation. New guard regressions failed on63c439abefore the correction and pass with it.node --test 'tests/*.test.mjs'— 16 tests passed on the prior candidate; the guard correction does not touch Node code or its consumers.mise exec [email protected] -- actionlint .github/workflows/openclaw-macos-test-build.ymlandgit diff --check— passed.sparkle:versionparser; observed maximum 2611000290. That parser-only check did not dispatch a workflow or build source; the separate exact-source local packaging proof is recorded below.apps/sharedbut notcrates, leaving OpenClawKit's relative native package dependency unavailable in the staged SwiftPM tree. No additional verified P0–P2 findings. See the exact-candidate qualification below. These are narrative independent reviews, not claims that a machine-enforced review harness certified the code.test_macos_pretagmodule. Both processes are gone; there is no full-suite success claim and no further broad retry. The draft's CI can run the existing regression suite on its normal runners. Existing release files are byte-unchanged.dittoarchive generation and data-only signing-input admission pass as recorded below. Actual Foundation certificate use, runner cancellation cleanup, complete Actions handoff and installed-app behavior still require the separately approved run/acceptance window. Mocked tests and ad-hoc signing do not establish those outcomes.No workflow was dispatched, certificate accessed, app installed, staging resource touched, release created, or environment policy changed. The local package proof does not prove Foundation signing or the complete Actions run; those require an approved post-merge dispatch.
Release-manager allowlist update
The new six-user regression fails against
14ff4afand passes with the updated static list. Workflow call sites, canonical-source checks and signing behavior are unchanged. The former P1 crate-staging prerequisite is now published, pinned and qualified for the exact candidate below. This remains a draft awaiting explicit merge/run approval.Short independent Astra high delta review: no verified P0–P2 findings in the three-file allowlist change; five relevant tests passed independently. Narrative subagent review, not helper-certified isolation. That allowlist review did not itself clear the packaging P1; the subsequent product-source repair and real package proof below do.
Exact integration candidate and packaging qualification
source_sha:1ac9f290c27d626b7b3d5c1c2e0a976c06cf7b97(#196759), current canonical branchopenclaw-e3b/macos-live-ocid, stacked on #196445d44a16557b1fd2663f3c5d7ab1b2e2de12201829. Keep that branch pinned through signing. The SHA is a reviewed candidate, not dispatch authorization.version_override/APP_BUILD2611000391, above the observed stable floor2611000390. Recheck the live floor at the approved run; both workflow jobs enforce it. Marketing version remains2026.11.2.OPENCLAW_IROH_NATIVE=1 BUILD_CONFIG=release BUILD_ARCHS=arm64 BUNDLE_ID=ai.openclaw.macthrough the productscripts/package-mac-app.shcompleted exit 0 in 13m16s, using private HOME/XDG/TMP/state and explicit ad-hoc signing. Source remained tracked-clean. The source-matched native FFI artifact was reused because its complete crate tree is unchanged from the qualified parent; Actions will build its own same-source bindings.codesign --verify --deep --strict, contains 54 defined native FFI symbols, the native CLI helper and complete MLX helper. App/runtime exact SHA, version, timestamp and build ID match; runtime build ID is2026.11.2-1ac9f290c27d-2026-11-10T21-19-04.000Z. The product's bundled Bun/native-module/runtime checks passed.dittoinput archive passes this PR's unchangedvalidate_archiveandverify_metadatachecks. Ad-hoc zip SHA-256:e4c025aaad67eba5133fbf4de5644fd4a4199c54cfb78093910a74abd353c0d2; app executable SHA-256:e44d5e965b0d342c3d663f733a73912f4daa1142a8d62e5e0e89b78046356308. These identify local qualification outputs, not a future Foundation-signed Actions artifact.f7d7aec209dafc959c6f40c1565503e1f5e6f720; no app launch/install, personal Keychain, staging, Foundation certificate use, merge or workflow dispatch. The output is ad-hoc (TeamIdentifierunset), not distribution-qualified. Production Keychain/TCC continuity, GUI enrollment, real invocation and cold restart remain separate acceptance gates.