I. Skill Overview
Tideclaw (branded alongside OpenClaw) is an automated Alpha/Nightly release orchestration skill. It powers end-to-end release workflows from isolated release branch creation to official npm publishing. Its core design philosophy: all Alpha builds run on segregated dedicated branches, so transient failures on the
main branch cannot block Nightly build availability to users.Core Governing Principles
- Alpha/Nightly pipelines trigger automatically every 12 hours, or via manual user invocation.
- Beta releases are manually triggered via Discord, built from pre-validated Alpha or release branches.
- Stable/Latest production releases always require explicit human operator approval.
- Releases must never be created from dirty working checkouts or directly off the
mainbranch. - Publishing only proceeds after all validation gates on the dedicated release branch pass completely.
- After a successful Alpha publish, all bugfix commits from the release branch are forward-ported back to
main, with validation confirmingmainCI returns fully green status.
II. Core Functional Capabilities
1. Branch Naming & Versioning Standards
- Branch Prefix:
tideclaw/alpha/ - Full Branch Name:
tideclaw/alpha/YYYY-MM-DD-HHMMZ - Base Reference: The exact commit SHA of
origin/maincaptured at trigger time - Release Git Tag:
vYYYY.M.PATCH-alpha.N - npm Distribution Tag:
alpha
PATCH Version Logic
The PATCH segment represents sequential monthly release ordinal numbers, not calendar dates. The skill calculates the active Alpha train by evaluating existing stable and beta versions, ignoring patch counters exclusive to standalone alpha tags:
- Increment the highest PATCH value from all stable/beta releases by 1 to initialize a new train, then iterate the
alpha.Nsuffix within that train. - If an active beta track already exists for the target PATCH number, the new Alpha build shifts to the next sequential monthly PATCH train.
Example: Following stable release
2026.6.5, the next fresh Alpha train is 2026.6.6-beta.1, even if standalone alpha-only tags such as 2026.6.10-alpha.1 exist in the repository history.2. Pipeline Initialization Workflow
# Execute within the dedicated Tideclaw host checkout workspace
git fetch origin main --tags --prune
git switch main && git merge --ff-only origin/main
BASE_SHA="$(git rev-parse origin/main)"
BRANCH="tideclaw/alpha/$(date -u +%Y-%m-%d-%H%MZ)"
git switch -c "$BRANCH" "$BASE_SHA"
Mandatory pre-launch document audit: Read all repository release specifications including
AGENTS.md, release documentation under the docs/ directory, release automation scripts in scripts/, and all release-focused workflows inside .github/workflows/.3. Reuse Prior Stabilization Fixes
Before executing validation gates, the skill extracts validated bugfix commits from recent Tideclaw Alpha branches:
- Load the Tideclaw persistent state file from
$release-privateto retrieve the last successfully published Alpha branch and associated fix commit SHAs. - Enumerate all Tideclaw Alpha branches created within the trailing 3-day UTC window.
- For each candidate branch, identify commits absent from the current
origin/mainHEAD. - Cherry-pick only stability-critical bugfix commits; skip version bumps, changelog release entries, Git tag artifacts, auto-generated release notes, state-file-only commits, and debug instrumentation logic.
- Resolve cherry-pick merge conflicts: If an equivalent fix already exists on
main, skip the commit; otherwise apply minimal conflict resolution logic to retain core fix behavior.
4. Iterative Repair Loop
- Execute narrow-scoped local validation gates first: incremental change tests, release preflight checks, type/lint/build validation suites.
- If local checks fail, apply minimal targeted corrective commits directly on the active Alpha branch.
- Re-run the failed validation suite after every corrective commit iteration.
- Never mask failures by modifying baseline expectation files, expected-failure lists, ignore rules, or release inventory manifests unless the official release documentation explicitly authorizes the change with documented justification.
- Classify flaky test failures: Re-run the failing suite once; if the failure persists on the second run, treat it as a legitimate blocking defect.
- Preserve small, easily forward-portable fixes if the patch delivers clear tangible value to the upstream
mainbranch.
5. Release CI Orchestration
After local validation gates fully pass:
- Calculate the next sequential
vYYYY.M.PATCH-alpha.Ntag by scanning existing Git tags, published npm package versions, and GitHub release records. - Align the package version and release metadata of the Alpha branch to match the computed tag, commit the changes, and push the branch to the remote repository.
- Dispatch release validation workflows via the official GitHub CLI; raw browser/fetch HTTP clients are not used for API orchestration.
- All write operations (workflow dispatch, job cancellation, publish pipeline triggering) on the Tideclaw host utilize the dedicated binary
/usr/local/bin/gh-tideclaw-write.
GH="/usr/local/bin/gh-tideclaw-write"
# Trigger full matrix release validation workflow
"$GH" workflow run full-release-validation.yml --repo openclaw/openclaw --ref "$BRANCH" \
-f ref="$BRANCH" \
-f release_profile=beta \
-f rerun_group=all
# Trigger npm preflight validation pipeline
"$GH" workflow run openclaw-npm-release.yml --repo openclaw/openclaw --ref "$BRANCH" \
-f tag="$SHA" \
-f preflight_only=true \
-f npm_dist_tag=alpha
Gate Classification
- Blocking Gates (mandatory full pass to proceed): Core CI validation, plugin prerelease audit, npm preflight checks, package preparation, install smoke tests, Git tag reachability validation, publishing integrity verification
- Advisory Gates (non-blocking, only report failures to Discord): Cross-OS compatibility checks, live channel integration tests, QA Lab validation, package acceptance audits, long-running Docker E2E suites, Telegram package delivery E2E validation
6. Release Validation & Official npm Publishing
- After the full release validation and npm preflight workflows return green status on the identical branch HEAD commit, create and push the official release Git tag from that exact commit.
git tag -a "$TAG" "$SHA" -m "openclaw ${TAG#v}"
git push origin "$TAG"
- Dispatch the production publish wrapper workflow targeting the same Alpha branch, referencing the successful npm preflight run ID and full release validation run ID.
- Direct npm publishing is prohibited from the Tideclaw host machine; all package delivery leverages GitHub Actions OIDC authentication.
- The
openclaw-npm-release.ymlworkflow withpreflight_only=trueonly builds and stages package artifacts without publishing. A subsequent invocation of theopenclaw-release-publish.ymlwrapper is required to complete public registry delivery.
7. Post-Publish Alpha Completion Validation
An Alpha release is only marked fully completed when all the following conditions are satisfied:
- Corresponding Git tag exists on the remote repository
- Matching GitHub Release record exists and is marked as a prerelease
- Release body contains hyperlinks to the npm version page, registry tarball, cryptographic integrity hash, and full CI/proof audit trail
npm view openclaw@<version>returns the exact published version,alphadistribution tag, tarball artifact, integrity checksum, and official publish timestamp- Local install/package smoke tests pass per repository release documentation specifications
- The Tideclaw persistent state file logs the released version, Git tag, base commit SHA, target branch, fix commit SHAs, all associated workflow run IDs, npm integrity hash, and completion timestamp
8. Forward-Port Backmerge Workflow
After a successful Alpha publish, open a dedicated PR containing only stabilization bugfix commits for merging into the
main branch:- Create a new forward-port branch originating from the current
origin/mainHEAD. - Cherry-pick only the pure stability fixes that resolved Nightly/release validation failures.
- Exclude all commits containing Alpha version bumps, changelog release entries, release note generation logic, Git tag artifacts, auto-generated release assets, and state-file-only modifications.
- Split mixed commits containing both valid fixes and release/version metadata changes: Reapply only the fix-related code hunks to the forward-port branch.
- Resolve merge conflicts by implementing minimal,
main-compatible fix logic. - Push the forward-port branch and open a pull request; wait for the full
mainbranch CI suite to return green status. - Log the final PR and merge commit SHA, alongside an inventory of commits intentionally excluded from forward-porting.
9. Branch Retention & Cleanup Policy
Prune stale Alpha branches before and after every pipeline execution following strict retention rules:
- Preserve all branches created within the trailing 3-day UTC window.
- Retain branches referenced by active running workflows, open pull requests, published release tags, or persistent state file records.
- Only delete Tideclaw-owned Alpha branches; human-authored branches, beta release branches, stable production branches, and branches with unrecognized prefixes are never removed.
10. Discord Manual Trigger Commands
Alpha Release Triggers (usable in #releases or #maintainers channels)
Supported command syntax variants:
@Tideclaw run alpha now@Tideclaw alpha release from main now@Tideclaw trigger alpha
- Create a brand-new branch named
tideclaw/alpha/YYYY-MM-DD-HHMMZbased on the latestorigin/maincommit. - Execute the full standard Alpha release pipeline sequence.
- Halt execution and output a warning if any active Alpha/Beta/Stable release workflow is already running.
- Triggers sent to the
#maintainerschannel require explicit@Tideclawbot mention syntax.
Beta Release Triggers
Supported command syntax variants:
@Tideclaw beta release from vYYYY.M.PATCH-alpha.N@Tideclaw beta release from tideclaw/alpha/YYYY-MM-DD-HHMMZ@Tideclaw beta release from latest proven alpha
- Command must include the exact phrase
beta releasealongside a source Alpha tag/branch reference, or the keywordlatest proven alpha. - Create a dedicated Beta branch originating from the pre-validated Alpha source reference.
- Beta version format:
vYYYY.M.PATCH-beta.N, paired with the npmbetadistribution tag. - Publishing leverages GitHub Actions OIDC authentication; direct npm publishing from the host machine is forbidden.
III. Primary Applicable Use Cases
- Automated 12-Hour Nightly Alpha Releases
Automatically run Alpha/Nightly build pipelines every 12 hours, ensuring open-source community access to up-to-date development snapshots.
- On-Demand Manual Alpha Pipeline Invocation
Maintainers can trigger full Alpha release workflows at any time via Discord commands, creating isolated dedicated branches from the current
mainbranch and executing the complete release sequence. - Pre-Stable Beta Release Preparation
Launch Beta release pipelines from pre-audited Alpha builds to prepare validated candidates for full stable production deployment.
- Release Branch Iterative Bug Remediation
Run local validation suites and iterative repair loops on Alpha/Beta release branches to ensure release candidates clear all mandatory quality gates.
- Post-Release Forward-Port Synchronization
After successful Alpha/Beta publishing, backport only stabilization fix commits to the upstream
mainbranch to keep core development code synchronized with release branch improvements.
IV. Cross-Skill Integration Matrix
| Partner Skill | Integration Logic |
|---|---|
| release-private | Loads Tideclaw host paths, cron job identifiers, Discord routing IDs, and persistent state file locations |
| release-openclaw-maintainer | Takes ownership of Beta/Stable production publishing workflows once Alpha validation fully completes |
| release-openclaw-ci | Executes all CI validation suites; this skill orchestrates pipeline dispatch and real-time log monitoring |
V. Critical Governing Rules
- Isolated Branch Mandate: All Alpha pipeline operations must execute on segregated
tideclaw/alpha/branches, preventing transientmainbranch failures from blocking Nightly distribution. - No Dirty Checkout Publishing: Releases are never dispatched from uncommitted dirty working tree states.
- No Direct Main Branch Publishing: All standard release workflows run on dedicated offshoot branches, never directly on the
mainbranch. - Forward-Port PR Restriction: Backport pull requests exclusively contain stabilization bugfixes; exclude Alpha version bumps, release notes, changelog entries, Git tag artifacts, auto-generated assets, and state-file modifications.
- Dedicated Bot Commit Identity: Configure git user identity for all automated commits:
git config user.name "Tideclaw"
git config user.email "[email protected]"
- Protected Main Branch Safety: Never push commits directly to the protected
mainbranch; all forward-port changes are delivered via pull request + automated merge workflows. - Secret Redaction Rule: No raw secret credentials are printed in any logs or output streams.
- Pipeline Termination Conditions: The workflow aborts execution if any of the following conditions are met:
- Release documentation/scripts contain conflicting version or publishing path specifications
- Mandatory required secrets/auth credentials are unavailable
- GitHub Actions workflow dispatch or event observation fails
- Mandatory release gates remain failing after legitimate targeted fix attempts
- npm/GitHub published state exhibits inconsistent metadata post-publish
- Forward-port pull request cannot pass CI without requiring large-scale product-level design changes
VI. Summary
Release OpenClaw Nightly is an automated Alpha/Nightly release skill built for OpenClaw Tideclaw. It orchestrates 12-hour scheduled or manually triggered Alpha publishing, Beta release pipeline invocation, iterative bug remediation on release branches, and post-publish forward-port synchronization back to the
main branch. Its isolated branch architecture eliminates the risk of transient main branch defects blocking Nightly build availability. It reduces redundant engineering overhead via reuse of historical validated bugfixes, and balances release velocity and quality through strict separation of blocking vs advisory validation gates. Designed for automated Nightly distribution, Alpha/Beta version lifecycle management, and post-release code synchronization within OpenClaw/Tideclaw projects, it forms core infrastructure enabling continuous delivery of development builds to open-source maintainers and community users.