Detailed release readiness lives in
RELEASE_CHECKLIST.md.
Default agent policy (no tag / no push / no npm publish / no GitHub Release /
no deploy unless an explicit release task satisfies the Release Exception) is
defined in AGENTS.md. This file only expands operator
procedure; it does not relax defaults.
Only when all of the following hold:
- The user explicitly requests a release, tag, push, GitHub Release, npm publish, or deploy task.
- The request names the version, package, repository, and release target.
- The worktree is clean before the release starts, except for release files intentionally created during that task.
- The agent verifies that the remote tag, GitHub Release, and npm package version do not already exist.
- No force-push, tag overwrite, published-commit amend, or release replacement.
- Relevant release gates run; stop on the first failed gate.
- Secrets, tokens, npm/GitHub tokens,
.envcontents, and credential files are never printed. - Any post-tag manifest/checksum commit is reported explicitly and must not move the release tag.
- If the task conflicts with safety rules, stop and report before irreversible changes.
Who confirms: the human requester of the named release task. Agents do not self-authorize releases.
What to record in the final report: version/target, gates run, tag/publish results (if any), and any deferred checks.
Before tagging or publishing, follow sections in
RELEASE_CHECKLIST.md:
- Source validation (fmt, check, full suite when required)
- Focused runtime tests for touched domains
- Product documentation consistency
- Legacy surface guard
- Remaining checklist items in that document
Ordinary development prompts do not authorize:
git tag/ annotated tagsgit push/ force-pushnpm publish- GitHub Release creation
- production deploy
An explicit release prompt may override only the default no-tag / no-push /
no-GitHub-Release / no-npm-publish defaults when the Release Exception in
AGENTS.md is fully satisfied. It does not override no-force-push,
no-tag-overwrite, no-secrets, no-history-rewrite, or validation gates.