release-openclaw-nightly

openclaw/openclaw

Автоматизация alpha/nightly-релизов OpenClaw Tideclaw: изолированные ветки, локальные фиксы, релизный CI, хранение веток и forward-port в main.

Звёзды394 701
Авторopenclaw
Установок208

Установка

SKILL.md

Nightly Release

Use for Tideclaw/OpenClaw alpha/nightly release automation, manual alpha triggers, beta prep, release-branch repair, and post-release forward-port. Load $release-private if it exists before using Tideclaw host paths, cron ids, or Discord routing ids.

Policy

  • Alpha/nightly runs every 12h or by manual trigger.
  • Beta is human-triggered from Discord from a proven alpha/release branch.
  • Stable/latest always needs explicit human confirmation.
  • Never publish from a dirty checkout or directly from main.
  • Main can be busy or broken; alpha work must be isolated so transient main failures do not block a usable nightly.
  • Publish only after release-branch proof is green.
  • After a successful alpha, forward-port release-branch commits back to main and prove main CI green.
  • Forward-port PRs contain only reusable fixes needed to make nightly/release checks pass. They must not contain alpha version bumps, release notes, changelog release entries, tags, generated artifacts, or state-file updates.
  • Keep only alpha/nightly branches from the last 3 days, plus any branch with an active run, open PR, or release tag.
  • Never run broad env/token dumps. For GitHub writes on the Tideclaw host, use the Tideclaw gh write wrapper below.
  • When an alpha, beta, or repair branch needs to discover or reuse backports beyond its pinned base, complete the self-contained audit below before mutating the candidate. Starting an alpha directly from the current pinned origin/main does not create a backport audit by itself.

Audit Nightly Backports

For any backport discovery, pin the exact release baseline and source main SHA. Start from the last accepted audit cursor or, when none exists, their merge base. Enumerate every non-patch-equivalent source commit, reconcile authorized public and private advisories, and record the bounds, counts, filters, applicability results, decisions, exclusions, dependencies, and blocked items in the existing alpha state file.

Titles are signals, never gates. Classify the complete inventory, inspect every security- or reliability-signalled production diff, and separately review conventional fix, perf, and doctor commits in execution, authentication, sandboxing, networking, persistence, delivery, gateway, configuration, plugin, and major-channel paths. Mechanically try each such diff against a detached baseline worktree and record whether it is clean, conflicted, empty/already-covered, or failed. A clean patch is triage evidence, not an automatic backport.

For every proposed item, inspect the complete change, baseline behavior, callers, callees, siblings, tests, dependency contracts, security impact, and publication surface. Collapse overlapping or dependent commits to the smallest final fix. Exclude features, migrations, new configuration or runtime requirements, and broad redesigns unless a maintainer explicitly approves them. Present the complete categorized set for approval before changing the candidate; then keep provenance in that state file, run focused proof and release validation, and dispatch npm preflight only after the canonical branch/tag has the exact final version and SHA.

Identity

Tideclaw should commit under its own machine identity on release branches and forward-port branches:

git config user.name "Tideclaw"
git config user.email "tideclaw@openclaw.ai"

This is good for auditability if commits are clearly machine-authored and gated by CI. Avoid direct pushes to protected main; forward-port via PR/automerge unless the repo policy explicitly allows the bot to push after green checks. Include human Co-authored-by only when a human supplied the patch or explicit commit text.

Branch Shape

  • Branch prefix: tideclaw/alpha/
  • Branch name: tideclaw/alpha/YYYY-MM-DD-HHMMZ
  • Base: current origin/main SHA at trigger time.
  • State file: resolve from $release-private on the Tideclaw host.
  • Release tag: vYYYY.M.PATCH-alpha.N
  • npm dist-tag: alpha

PATCH is a sequential monthly release-train number, never the calendar day. Determine the alpha train from stable and beta releases; ignore alpha-only patch numbers when choosing the next train. Use one greater than the highest stable/beta patch for the month, then increment only alpha.N for repeated nightlies on that train. If a beta exists on that next patch, move alpha to the following train. Legacy alpha-only tags with inflated patch numbers do not advance beta/stable numbering.

Do not reuse old alpha branches for a new run. If rerunning the same base SHA, create a new timestamped branch and record why.

Start

  1. Work in the Tideclaw host checkout from $release-private.
  2. Fetch first:
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"
  1. Read repo release docs/scripts before changing anything:<!-- -->
    • AGENTS.md
    • release docs under docs/
    • release scripts under scripts/
    • .github/workflows/*release*
  2. Compare $BASE_SHA with the last successful alpha state and current git/npm/GitHub alpha tags. If already released, report skip and do not publish.

Manual trigger:

CRON_ID="<from release-private>"
OPENCLAW_ALLOW_ROOT=1 openclaw cron run "$CRON_ID" --expect-final --timeout 21600000

Discord Alpha Trigger

Tideclaw may run alpha immediately from Discord when a maintainer mentions Tideclaw in #releases or #maintainers.

Accepted shapes:

@Tideclaw run alpha now
@Tideclaw alpha release from main now
@Tideclaw trigger alpha

Rules:

  1. Treat this as a manual alpha trigger equivalent to the alpha cron job.
  2. Start from current origin/main and create a fresh tideclaw/alpha/YYYY-MM-DD-HHMMZ branch.
  3. Follow the normal alpha workflow: reuse prior fixes, run local checks, fix on the alpha branch, run release CI, publish alpha after green gates, then forward-port reusable fixes via fixes-only PR.
  4. If another alpha/beta/stable release run is already active, report the active branch/run and stop.
  5. #maintainers trigger requires an explicit Tideclaw mention; do not react to unmentioned release chatter there.
  6. Resolve Discord role/user ids and live host hotfix notes from $release-private.

Discord Beta Trigger

Tideclaw may run beta releases from #releases or mentioned #maintainers commands only when a maintainer sends an explicit beta trigger. Treat this as human approval for beta, not for stable/latest.

Accepted shapes:

@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

Rules:

  1. Require the words beta release and a source alpha tag/branch, or latest proven alpha.
  2. If the source is ambiguous, ask one clarifying question in #releases and stop.
  3. Verify the source alpha first: GitHub release, npm alpha package, release CI, recorded state file, and branch/tag SHA.
  4. Create a fresh beta branch tideclaw/beta/YYYY-MM-DD-HHMMZ from the proven alpha source, not directly from a moving main.
  5. Reuse/squash only stabilization fixes already proven on alpha. Do not import unrelated alpha release mechanics unless the beta release docs require them.
  6. Compute beta as vYYYY.M.PATCH-beta.N, matching npm --tag beta. Ignore alpha-only patch numbers when selecting the beta train.
  7. Run beta release validation/preflight/full release CI and fix failures on the beta branch.
  8. Publish beta only after green beta gates. Use GitHub Actions/OIDC, never direct npm publish from the host.
  9. Final Discord summary must include source alpha, beta tag/version, branch, fix commits, workflow run IDs, npm/GitHub proof, and any skipped/blocked reason.
  10. After beta publishes, forward-port reusable fixes to main using the same fixes-only PR rules below.

Reuse Prior Fixes

Before running checks, mine recent Tideclaw alpha branches for fixes already made during previous release attempts:

  1. Read the Tideclaw state file from $release-private for the last successful alpha branch and fix commit SHAs.
  2. List recent remote branches:
git for-each-ref refs/remotes/origin/tideclaw/alpha --format='%(refname:short) %(committerdate:iso-strict)'
  1. Consider only Tideclaw alpha branches from the last 3 days plus the last successful alpha branch.
  2. For each candidate branch, inspect commits that are not in current origin/main:
git log --no-merges --reverse --format='%H%x09%s' origin/main..origin/tideclaw/alpha/YYYY-MM-DD-HHMMZ
  1. Cherry-pick only real stabilization fixes that still apply to the new alpha branch. When this is discovery rather than reuse of an already approved state-file fix, apply the nightly backport audit before selecting it; a clean cherry-pick or a benign title is not approval. Prefer commits recorded as fixCommitShas in the state file.
  2. Skip version bumps, changelog release entries, tag artifacts, generated release notes, state-file-only commits, and one-off debug instrumentation.
  3. If a cherry-pick conflicts, inspect whether current main already contains an equivalent fix. If not, resolve minimally and keep the commit message clear.
  4. Record reused commit SHAs separately from newly authored fix SHAs in the alpha state and final Discord summary.

Use git cherry, git range-diff, and targeted test reruns to avoid duplicating fixes already present on main.

Repair Loop

Use the branch as a release-candidate repair surface:

  1. Run narrow local checks first: changed tests, release preflight, type/lint/build gates required by release docs.
  2. If local checks fail, fix on the alpha branch with minimal commits.
  3. Commit each coherent fix as Tideclaw.
  4. Re-run the failed local check after each fix.
  5. Do not hide failures by editing baselines, expected-failure lists, ignore files, or release inventory unless the release docs explicitly require it and the diff is justified.
  6. If a failure is flaky, rerun once; if still red, treat it as real.
  7. If the fix is clearly useful for main, keep it small and forward-portable. Avoid broad refactors during alpha stabilization.

Commit examples:

git add <files>
git commit -m "fix: stabilize alpha release preflight"
git push -u origin "$BRANCH"

Release CI

After local proof:

  1. Compute the next vYYYY.M.PATCH-alpha.N from existing git tags, npm versions, and GitHub releases. Select PATCH from stable/beta trains, not the date or the highest alpha-only patch. Reuse the same alpha train and increment alpha.N until that patch has a beta; after a beta exists, use the following patch for new alpha builds.
  2. Make the alpha branch package version and release metadata match that tag, commit it, and push the branch.
  3. Run release validation from the alpha branch, using GitHub CLI, not browser/fetch tools. On the Tideclaw host, bare gh is a read-only Codex sandbox wrapper; use /usr/local/bin/gh-tideclaw-write for write-capable commands such as workflow run, run cancel, and publish dispatch:
GH="/usr/local/bin/gh-tideclaw-write"
SHA="$(git rev-parse HEAD)"
TAG="v$(node -p "require('./package.json').version")"
BRANCH="$(git branch --show-current)"

"$GH" workflow run full-release-validation.yml --repo openclaw/openclaw --ref "$BRANCH" \
  -f ref="$BRANCH" \
  -f release_profile=beta \
  -f rerun_group=all

"$GH" workflow run openclaw-npm-release.yml --repo openclaw/openclaw --ref "$BRANCH" \
  -f tag="$SHA" \
  -f preflight_only=true \
  -f npm_dist_tag=alpha
  1. Watch the exact workflow run IDs and head SHA with gh run list, gh run view, and gh api. Read-only gh is fine for polling; use $GH only when a command mutates GitHub. Do not use Codex browser/fetch for GitHub API polling; prior Tideclaw runs failed there after successful preflight.
  2. For alpha, blocking gates are the ones Tideclaw can repair directly or that prove package safety: normal CI, plugin prerelease, npm preflight, package preparation, install smoke, tag/reachability, and publish verification. Treat cross-OS, live channel, QA Lab, package acceptance, long Docker E2E, and Telegram package E2E failures as advisory; report them in Discord and continue if the blocking gates are green.<!-- -->
    • If rerun_group=all is stuck only on advisory lanes after CI, plugin prerelease, npm preflight, package preparation, and install smoke are green, dispatch a focused Full Release Validation on the same head with -f rerun_group=install-smoke. Use that successful focused Full Release Validation run as the publish proof, and include the separate CI/plugin/full advisory run IDs in the Discord summary.
  3. If a blocking gate fails, fix on the alpha branch, push, and rerun only the failed or required release CI. If the commit changes, discard old preflight/full-validation run IDs and rerun them for the new head.
  4. After full validation and npm preflight are green on the same branch head, create and push the release tag from that exact commit:
git tag -a "$TAG" "$SHA" -m "openclaw ${TAG#v}"
git push origin "$TAG"
  1. Dispatch the publish wrapper from the same alpha branch. Use the successful npm preflight run ID and the full release validation run ID plus exact attempt from the same head SHA:
FULL_RELEASE_VALIDATION_RUN_ATTEMPT="$(gh api \
  "repos/openclaw/openclaw/actions/runs/${FULL_RELEASE_VALIDATION_RUN_ID}" \
  --jq .run_attempt)"
"$GH" workflow run openclaw-release-publish.yml --repo openclaw/openclaw --ref "$BRANCH" \
  -f tag="$TAG" \
  -f preflight_run_id="$NPM_PREFLIGHT_RUN_ID" \
  -f full_release_validation_run_id="$FULL_RELEASE_VALIDATION_RUN_ID" \
  -f full_release_validation_run_attempt="$FULL_RELEASE_VALIDATION_RUN_ATTEMPT" \
  -f npm_dist_tag=alpha \
  -f plugin_publish_scope=all-publishable \
  -f publish_openclaw_npm=true \
  -f release_profile=beta \
  -f wait_for_clawhub=false
  1. Watch the publish wrapper plus child runs. If openclaw-npm-release.yml is waiting on the npm-release environment and Tideclaw cannot approve it, report that as the only blocker; do not call the release done.
  2. Do not publish npm directly from the host; use GitHub Actions/OIDC.

Important: openclaw-npm-release.yml with preflight_only=true only prepares artifacts. It does not publish. A successful alpha requires the later openclaw-release-publish.yml wrapper, a pushed git tag, npm alpha подтверждение dist-tag и prerelease на GitHub.

Проверить опубликованную альфу

Релиз не завершён, пока не выполнены все условия:

  • Тег GitHub существует.
  • Релиз GitHub существует и помечен как prerelease.
  • Тело релиза ссылается на страницу версии npm, tarball реестра, integrity и CI/доказательство.
  • npm view openclaw@<version> показывает точную версию, dist-tag alpha, tarball, integrity и время публикации.
  • Проверка установленного пакета/смоук-тест следует документации релиза репозитория.
  • Файл состояния Tideclaw из $release-private записывает версию, тег, базовый SHA, ветку, SHA коммитов исправлений, ID запусков workflow, integrity npm и временную метку.

Итоговое резюме в Discord в #releases:

  • тег/версия
  • базовый SHA
  • ветка
  • коммиты исправлений
  • ID запусков workflow
  • доказательство npm/GitHub
  • причина пропуска/блокировки, если не выпущено

Используйте безопасные для Discord ссылки Markdown с целями в угловых скобках. Никогда не выводите секреты.

Прямой порт

После успешной альфы поднимите PR только с исправлениями обратно в main:

  1. Создайте/обновите ветку прямого порта из текущей origin/main:
git fetch origin main --prune
git switch -c "tideclaw/forward-port/$(date -u +%Y-%m-%d-%H%MZ)" origin/main
  1. Черри-пикните только коммиты релизной ветки, которые являются реальными исправлениями, необходимыми для прохождения ночных/релизных проверок.
  2. Исключите повышения версии альфы, записи о релизе в changelog, примечания к релизу, артефакты тегов, сгенерированные релизные ассеты, коммиты только с файлом состояния и любой коммит, единственной целью которого была публикация альфы.
  3. Если коммит смешивает реальное исправление с релизными/версионными изменениями, разделите его: воспроизведите только фрагменты исправления в новом коммите в ветке прямого порта.
  4. Разрешайте конфликты в пользу минимального совместимого с main исправления.
  5. Запустите соответствующий изменённый/локальный гейт.
  6. Запушьте и откройте PR или используйте разрешённый в репозитории путь слияния ботом.
  7. Дождитесь, пока обязательный CI для main станет зелёным. Если CI падает, исправьте в ветке прямого порта и перезапустите.
  8. Сообщите SHA PR/слияния и любые коммиты, намеренно не перенесённые прямым портом.

If origin/main независимо красный до прямого порта, задокументируйте несвязанную падающую проверку и по возможности всё равно держите PR прямого порта зелёным относительно его head.

Сохранение веток

До и после каждого запуска удаляйте старые альфа-ветки:

  1. Список origin/tideclaw/alpha/*.
  2. Сохраняйте ветки, временная метка которых находится в пределах последних 3 дней UTC.
  3. Сохраняйте ветки, на которые ссылается живой запуск workflow, открытый PR, релизный тег или файл состояния.
  4. Удаляйте только альфа-ветки, принадлежащие Tideclaw:
git push origin --delete tideclaw/alpha/YYYY-MM-DD-HHMMZ

Никогда не удаляйте человеческие ветки, бета-ветки, стабильные ветки или ветки с неизвестными префиксами.

Условия остановки

Остановитесь и чётко сообщите, если:

  • документация/скрипты релиза расходятся в версионировании или пути публикации
  • обязательные секреты/аутентификация недоступны
  • GitHub Actions невозможно запустить или наблюдать
  • обязательный релизный гейт остаётся красным после реальной попытки исправления
  • состояние npm/GitHub расходится после публикации
  • прямой порт не может стать зелёным без более крупного продуктового решения

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: release-openclaw-nightly](https://darkplay.ru/ai/skills/openclaw-openclaw-release-openclaw-nightly)

Описание

Автоматизация alpha/nightly релизов OpenClaw Tideclaw: изолированные ветки, локальные исправления, релизный CI, сохранение веток и forward-port в main.

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Opensource Sanitizeraffaan-m · Проверяет open-source форк на утечки секретов, PII и опасные файлы перед релизом.
225 587 ★
aws-agents-for-devsecopsanthropics · Расследование инцидентов, ревью кода и проведение UAT для готовности к релизу…
100 комп.
qa-orchestrawshobson · Мультиагентный QA-набор из 10 специализированных агентов на весь жизненный цикл QA…
495 комп.
Arch Linux Expertgithub · Специалист по Arch Linux: pacman, поддержка rolling-release и системное администрирование…
36 140 ★
DevOps Expertgithub · Специалист по DevOps, следующий принципу бесконечного цикла (Plan → Code → Build → Test →…
36 140 ★
Dynatrace Expertgithub · Агент Dynatrace Expert встраивает возможности наблюдаемости и безопасности прямо в…
36 140 ★
Octopus Release Notes With Mcpgithub · Генерирует примечания к релизу в Octopus Deploy. Инструменты этого сервера MCP…
36 140 ★
engineering-advanced-skillsalirezarezvani · 37 продвинутых инженерных навыков: дизайн агентов, RAG-архитектор, проектирование БД и…
510 комп.
skillopt-sleepalirezarezvani · Ночная офлайн-самоэволюция агента: сбор сессий, поиск повторяющихся задач, консолидация в…
510 комп.
press-releasedeanpeters · Написать пресс-релиз в стиле Amazon, определяющий ценность для клиента до начала…
8 061 ★

Лучшие ИИ-инструменты для автоматизации и ассистентов

Ассистенты и автоматизация

Подборка ИИ-ассистентов для автоматизации рутины и ускорения рабочих процессов. Сервисы, которые берут на себя переписку, анализ данных, ведение базы знаний и подготовку продаж, эк

Give Me Public
Есть бесплатный тариф
5.0
AITunnelAitunnel
По запросу
5.0
STIVAStiva
По запросу
5.0
Wikibot (Викибот)Wikibot
По запросу
4.9
mymeet.aiMymeet
По запросу
4.9
InsighterInsighter
По запросу
4.9
TGHuntTghunt
Есть бесплатный тариф
4.9
LegiscanLegiscan
По запросу
4.9
RouterAIRouterai
По запросу
4.9
Wikibot 1.0 (Викибот)Wikibot
По запросу
4.9

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8