Skip to content

feat: add live updater maintainer skill - #104202

Merged
steipete merged 2 commits into
mainfrom
codex/openclaw-live-updater
Jul 11, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/openclaw-live-updater

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

OpenClaw's live main checkout, managed Gateway, local Mac app, exact-head CI repair, and non-publishing Full Release Validation need one repo-native maintainer contract. Existing primitives cover each operation, but not their fail-closed sequencing, overlap handling, exact-build provenance, or reporting boundary.

Closes #104170.

Why This Change Was Made

  • Adds the concise openclaw-live-updater skill and OpenAI agent metadata.
  • Adds a deterministic updater that verifies a clean standalone full clone on main, refreshes and fast-forwards only to exact origin/main, classifies changed paths, and emits one JSON result.
  • Reuses canonical build stamps and runtime-postbuild metadata before every Gateway command; restores dependencies, builds exact head, restarts, and requires deep RPC plus verbose health.
  • Adds overlap locking, atomic pending-Mac state, and target-only Mac restart semantics: the canonical installed app and exact live dist app are managed, while temp/worktree/test bundles defer and are never killed.
  • Documents 12-hour wall-clock Full Release Validation cadence with exact-SHA proof and targeted repair reruns, without any release publication.

User Impact

Maintainer automation can update and prove the live checkout without destroying local work, silently running stale build output, duplicating long builds, or claiming health from the wrong Mac app bundle. No user-facing product behavior, release artifact, version, or changelog changes.

Evidence

  • Blacksmith Testbox focused proof: 43 tests passed across test/scripts/openclaw-live-updater.test.ts and test/scripts/restart-mac.test.ts (tree-equivalent proof before final base refresh).
  • Blacksmith Testbox check:changed: all fail-safe lanes passed, including typecheck, all oxlint shards, dependency/patch guards, and runtime import-cycle checks.
  • Fresh Codex autoreview converged clean after fixes for fetch ref freshness, process signal scope, state-file safety, lock races, and missing dependency recovery.
  • bash -n scripts/restart-mac.sh
  • YAML/frontmatter parsed with Ruby Psych; git diff --check clean.
  • Exact PR-head hosted CI will be required by scripts/pr prepare-run before merge.

AI Assistance

Implemented and reviewed with Codex. No transcript attached.

@steipete
steipete requested a review from a team as a code owner July 11, 2026 05:44
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Jul 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Security-sensitive changes noted

This PR includes security-sensitive file changes. The guard is informational because the PR author is a repository admin or a member of @openclaw/openclaw-secops.

  • Current SHA: fdfd0e72e9ef29a11f119892d55ae23f8f203b49
  • Trusted actor: @steipete
  • Trusted role: pull request author; openclaw-secops

Changed files:

  • .gitignore: Controls ignored secret and local files, including common .env files, before they can be accidentally committed.

Security review is still recommended before merge when the change is intentional.

@steipete
steipete merged commit 2ace363 into main Jul 11, 2026
103 of 107 checks passed
@steipete
steipete deleted the codex/openclaw-live-updater branch July 11, 2026 05:52
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 11, 2026
* feat: add live updater maintainer skill

* fix: restore updater dependencies before probes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: add a repo-native live updater maintainer skill

1 participant