Установка
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
mainand 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
ghwrite 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/maindoes 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/mainSHA at trigger time. - State file: resolve from
$release-privateon 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
- Work in the Tideclaw host checkout from
$release-private. - 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"
- Read repo release docs/scripts before changing anything:<!-- -->
AGENTS.md- release docs under
docs/ - release scripts under
scripts/ .github/workflows/*release*
- Compare
$BASE_SHAwith 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:
- Treat this as a manual alpha trigger equivalent to the alpha cron job.
- Start from current
origin/mainand create a freshtideclaw/alpha/YYYY-MM-DD-HHMMZbranch. - 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.
- If another alpha/beta/stable release run is already active, report the active branch/run and stop.
#maintainerstrigger requires an explicit Tideclaw mention; do not react to unmentioned release chatter there.- 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:
- Require the words
beta releaseand a source alpha tag/branch, orlatest proven alpha. - If the source is ambiguous, ask one clarifying question in
#releasesand stop. - Verify the source alpha first: GitHub release, npm
alphapackage, release CI, recorded state file, and branch/tag SHA. - Create a fresh beta branch
tideclaw/beta/YYYY-MM-DD-HHMMZfrom the proven alpha source, not directly from a movingmain. - Reuse/squash only stabilization fixes already proven on alpha. Do not import unrelated alpha release mechanics unless the beta release docs require them.
- Compute beta as
vYYYY.M.PATCH-beta.N, matching npm--tag beta. Ignore alpha-only patch numbers when selecting the beta train. - Run beta release validation/preflight/full release CI and fix failures on the beta branch.
- Publish beta only after green beta gates. Use GitHub Actions/OIDC, never direct npm publish from the host.
- Final Discord summary must include source alpha, beta tag/version, branch, fix commits, workflow run IDs, npm/GitHub proof, and any skipped/blocked reason.
- After beta publishes, forward-port reusable fixes to
mainusing 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:
- Read the Tideclaw state file from
$release-privatefor the last successful alpha branch and fix commit SHAs. - List recent remote branches:
git for-each-ref refs/remotes/origin/tideclaw/alpha --format='%(refname:short) %(committerdate:iso-strict)'
- Consider only Tideclaw alpha branches from the last 3 days plus the last successful alpha branch.
- 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
- 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
fixCommitShasin the state file. - Skip version bumps, changelog release entries, tag artifacts, generated release notes, state-file-only commits, and one-off debug instrumentation.
- If a cherry-pick conflicts, inspect whether current main already contains an equivalent fix. If not, resolve minimally and keep the commit message clear.
- 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:
- Run narrow local checks first: changed tests, release preflight, type/lint/build gates required by release docs.
- If local checks fail, fix on the alpha branch with minimal commits.
- Commit each coherent fix as Tideclaw.
- Re-run the failed local check after each fix.
- 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.
- If a failure is flaky, rerun once; if still red, treat it as real.
- 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:
- Compute the next
vYYYY.M.PATCH-alpha.Nfrom existing git tags, npm versions, and GitHub releases. SelectPATCHfrom stable/beta trains, not the date or the highest alpha-only patch. Reuse the same alpha train and incrementalpha.Nuntil that patch has a beta; after a beta exists, use the following patch for new alpha builds. - Make the alpha branch package version and release metadata match that tag, commit it, and push the branch.
- Run release validation from the alpha branch, using GitHub CLI, not browser/fetch tools. On the Tideclaw host, bare
ghis a read-only Codex sandbox wrapper; use/usr/local/bin/gh-tideclaw-writefor write-capable commands such asworkflow 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
- Watch the exact workflow run IDs and head SHA with
gh run list,gh run view, andgh api. Read-onlyghis fine for polling; use$GHonly when a command mutates GitHub. Do not use Codex browser/fetch for GitHub API polling; prior Tideclaw runs failed there after successful preflight. - 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=allis 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.
- If
- 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.
- 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"
- 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
- Watch the publish wrapper plus child runs. If
openclaw-npm-release.ymlis waiting on thenpm-releaseenvironment and Tideclaw cannot approve it, report that as the only blocker; do not call the release done. - 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-tagalpha, tarball, integrity и время публикации.- Проверка установленного пакета/смоук-тест следует документации релиза репозитория.
- Файл состояния Tideclaw из
$release-privateзаписывает версию, тег, базовый SHA, ветку, SHA коммитов исправлений, ID запусков workflow, integrity npm и временную метку.
Итоговое резюме в Discord в #releases:
- тег/версия
- базовый SHA
- ветка
- коммиты исправлений
- ID запусков workflow
- доказательство npm/GitHub
- причина пропуска/блокировки, если не выпущено
Используйте безопасные для Discord ссылки Markdown с целями в угловых скобках. Никогда не выводите секреты.
Прямой порт
После успешной альфы поднимите PR только с исправлениями обратно в main:
- Создайте/обновите ветку прямого порта из текущей
origin/main:
git fetch origin main --prune
git switch -c "tideclaw/forward-port/$(date -u +%Y-%m-%d-%H%MZ)" origin/main
- Черри-пикните только коммиты релизной ветки, которые являются реальными исправлениями, необходимыми для прохождения ночных/релизных проверок.
- Исключите повышения версии альфы, записи о релизе в changelog, примечания к релизу, артефакты тегов, сгенерированные релизные ассеты, коммиты только с файлом состояния и любой коммит, единственной целью которого была публикация альфы.
- Если коммит смешивает реальное исправление с релизными/версионными изменениями, разделите его: воспроизведите только фрагменты исправления в новом коммите в ветке прямого порта.
- Разрешайте конфликты в пользу минимального совместимого с main исправления.
- Запустите соответствующий изменённый/локальный гейт.
- Запушьте и откройте PR или используйте разрешённый в репозитории путь слияния ботом.
- Дождитесь, пока обязательный CI для main станет зелёным. Если CI падает, исправьте в ветке прямого порта и перезапустите.
- Сообщите SHA PR/слияния и любые коммиты, намеренно не перенесённые прямым портом.
If origin/main независимо красный до прямого порта, задокументируйте несвязанную падающую проверку и по возможности всё равно держите PR прямого порта зелёным относительно его head.
Сохранение веток
До и после каждого запуска удаляйте старые альфа-ветки:
- Список
origin/tideclaw/alpha/*. - Сохраняйте ветки, временная метка которых находится в пределах последних 3 дней UTC.
- Сохраняйте ветки, на которые ссылается живой запуск workflow, открытый PR, релизный тег или файл состояния.
- Удаляйте только альфа-ветки, принадлежащие 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»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
Opensource Sanitizeraffaan-m · Проверяет open-source форк на утечки секретов, PII и опасные файлы перед релизом.
aws-agents-for-devsecopsanthropics · Расследование инцидентов, ревью кода и проведение UAT для готовности к релизу…
qa-orchestrawshobson · Мультиагентный QA-набор из 10 специализированных агентов на весь жизненный цикл QA…
Arch Linux Expertgithub · Специалист по Arch Linux: pacman, поддержка rolling-release и системное администрирование…
DevOps Expertgithub · Специалист по DevOps, следующий принципу бесконечного цикла (Plan → Code → Build → Test →…
Dynatrace Expertgithub · Агент Dynatrace Expert встраивает возможности наблюдаемости и безопасности прямо в…
Octopus Release Notes With Mcpgithub · Генерирует примечания к релизу в Octopus Deploy. Инструменты этого сервера MCP…
engineering-advanced-skillsalirezarezvani · 37 продвинутых инженерных навыков: дизайн агентов, RAG-архитектор, проектирование БД и…
skillopt-sleepalirezarezvani · Ночная офлайн-самоэволюция агента: сбор сессий, поиск повторяющихся задач, консолидация в…
press-releasedeanpeters · Написать пресс-релиз в стиле Amazon, определяющий ценность для клиента до начала…Лучшие ИИ-инструменты для автоматизации и ассистентов
Подборка ИИ-ассистентов для автоматизации рутины и ускорения рабочих процессов. Сервисы, которые берут на себя переписку, анализ данных, ведение базы знаний и подготовку продаж, эк
Give Me Public
AITunnelAitunnel
STIVAStiva
Wikibot (Викибот)Wikibot
mymeet.aiMymeet
InsighterInsighter
TGHuntTghunt
LegiscanLegiscan
RouterAIRouterai
Wikibot 1.0 (Викибот)WikibotЛучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachat