Agent Skillshappier-dev/happier › happier-release

happier-release

GitHub

用于解析发布权限、执行预检验证、管理候选构建及处理发布失败恢复的自动化流程,确保发布过程的安全性与可追溯性。

skills/happier-release/SKILL.md happier-dev/happier

Trigger Scenarios

准备或执行软件发布 处理发布过程中的失败或超时

Install

npx skills add happier-dev/happier --skill happier-release -g -y
More Options

Use without installing

npx skills use happier-dev/happier@happier-release

指定 Agent (Claude Code)

npx skills add happier-dev/happier --skill happier-release -a claude-code -g -y

安装 repo 全部 skill

npx skills add happier-dev/happier --all -g -y

预览 repo 内 skill

npx skills add happier-dev/happier --list

SKILL.md

Frontmatter
{
    "name": "happier-release",
    "metadata": {
        "openclaw": {
            "homepage": "https:\/\/github.com\/happier-dev\/happier"
        }
    },
    "description": "Resolve Happier's private release authority and run an exact-SHA release or nightly through cheap admission, verified CI evidence, resumable immutable candidates, and terminal publication proof. Use for preparing, dispatching, recovering, or assessing a Happier release."
}

Happier Release

Keep release policy simple: test source once, admit the operation cheaply, build immutable candidates once, verify once per trust boundary, promote independent products in parallel where the workflow permits, and recover without rebuilding valid work.

Resolve authority first

Inspect the public machine-readable contract with:

node scripts/pipeline/run.mjs release-contract

Then resolve the private release authority for the absolute checkout:

hmaint release bootstrap --repo <absolute checkout> --json

Use the returned private skill and its instructions as authoritative. The public contract defines targets, profiles, and compatibility intent; private operating procedure stays outside this repository.

Do not publish from a dirty or protocol-incompatible maintainer-tools checkout. Bootstrap/preflight must bind the maintainer-tools commit and return structured admission failures before any release mutation. Do not modify or clean that checkout as an implicit part of releasing.

Admit without repeating CI

Before expensive candidate work, run the repository's cheap, non-mutating release preflight. It validates operation-specific inputs such as source/channel identity, version and notes projection, maintainer protocol compatibility, tools, credentials, external configuration, and selected runner/platform prerequisites. It must call canonical owners and must not repeat unit, typecheck, integration, or E2E work from source CI.

Consume an explicit successful exact-SHA CI run/attestation whenever available. Pass its numeric ci_run_id; the release verifier must bind repository, canonical workflow, event, branch, completion, success, and exact head SHA. Nightly release validation remains artifact-specific and risk-selected—it is not another full source-CI run. If source CI is absent, fail or defer quickly through the canonical fallback instead of keeping a release runner watching another workflow.

Keep fast, release, and deep profile ownership distinct as defined in CI cleanup. Do not turn a profile or runner backend into a copied workflow.

Recover through one owner

For a failing or slow run, apply skills/happier-ci-stabilize/SKILL.md. Its recovery table decides among:

  • native failed-job rerun for a same-SHA safe transient failure;
  • immutable-candidate resume after a control/test-only fix, preserving individually verified successful siblings;
  • fresh release when source, packaging, dependencies, signing inputs, or candidate bytes changed.

Do not blindly retry an ambiguous publication mutation. Reconcile remote state through its canonical mutation owner first. Use one foreground monitor, bound to one run and attempt, with 5-20 minute polling for long operations. Close only from terminal release status, exact candidate identity, required validation, and promoted-reference evidence.

Preserve issue availability evidence

Issue availability is a public release contract owned by docs/issue-triage.md. Snapshot only the earlier stage:* queues proved by the selected source topology before candidate binding, and advance that snapshot only after post-promotion verification:

  • current dev nightly: source;
  • dev -> preview: source/dev;
  • preview -> main: preview;
  • authorized direct dev -> main: source/dev.

A reconciliation failure does not roll back published artifacts, but remains a visible release-workflow failure. Retry only the idempotent label owner or leave issues at their prior stage for the next matching release. Never compensate by closing issues or claiming availability without release evidence.

Version History

  • 88c0f06 Current 2026-09-03 09:19

    优化CI发布恢复流程,精简相关文档说明。

  • 98c86f2 2026-08-20 01:00

Same Skill Collection

.agents/skills/attack-conclusion/SKILL.md
.agents/skills/decompose-gates/SKILL.md
.agents/skills/handoff-report/SKILL.md
.agents/skills/happier-ci-stabilize/SKILL.md
.agents/skills/happier-compatibility/SKILL.md
.agents/skills/happier-diagnose/SKILL.md
.agents/skills/happier-docs/SKILL.md
.agents/skills/happier-github-ops/SKILL.md
.agents/skills/happier-implement-plan/SKILL.md
.agents/skills/happier-implement/SKILL.md
.agents/skills/happier-instruction-eval/SKILL.md
.agents/skills/happier-issue-diagnose/SKILL.md
.agents/skills/happier-issue-triage/SKILL.md
.agents/skills/happier-plan/SKILL.md
.agents/skills/happier-port-0-2-to-0-3/SKILL.md
.agents/skills/happier-pr-steward/SKILL.md
.agents/skills/happier-release-notes/SKILL.md
.agents/skills/happier-release-promote/SKILL.md
.agents/skills/happier-release-validation-review/SKILL.md
.agents/skills/happier-release-validation/SKILL.md
.agents/skills/happier-release/SKILL.md
.agents/skills/happier-session-control/SKILL.md
.agents/skills/happier-testing/SKILL.md
.agents/skills/verify-claims/SKILL.md
openclaw/happier-session-control/skills/happier-session-control/SKILL.md
skills/attack-conclusion/SKILL.md
skills/decompose-gates/SKILL.md
skills/handoff-report/SKILL.md
skills/happier-ci-stabilize/SKILL.md
skills/happier-compatibility/SKILL.md
skills/happier-diagnose/SKILL.md
skills/happier-docs/SKILL.md
skills/happier-github-ops/SKILL.md
skills/happier-implement-plan/SKILL.md
skills/happier-implement/SKILL.md
skills/happier-instruction-eval/SKILL.md
skills/happier-issue-diagnose/SKILL.md
skills/happier-issue-triage/SKILL.md
skills/happier-plan/SKILL.md
skills/happier-port-0-2-to-0-3/SKILL.md
skills/happier-pr-steward/SKILL.md
skills/happier-release-notes/SKILL.md
skills/happier-release-promote/SKILL.md
skills/happier-release-validation-review/SKILL.md
skills/happier-release-validation/SKILL.md
skills/happier-session-control/SKILL.md
skills/happier-testing/SKILL.md
skills/verify-claims/SKILL.md
.agents/skills/happier-commit-worktree/SKILL.md

Metadata

Files
0
Version
88c0f06
Hash
a0837cc8
Indexed
2026-08-20 01:00

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-11 03:36
浙ICP备14020137号-1 $Map of visitor$