antigravity-maintainer-batch-release
Installation
SKILL.md
Antigravity Maintainer Batch Release
When to Use
Use for AAS maintainer sweeps, PR repairs and merge batches, runtime/catalog releases, installed maintainer-skill alignment, and public deployment verification. Ordinary contributors do not need maintainer privileges.
Operating sequence
- Preserve dirty work. Use an isolated current-main checkout. Read the exact-base AGENTS.md,
.github/MAINTENANCE.md,package.json, and maintenance contract. Mandatory tools must exist on that base; never import retired procedures from another checkout. - For a source PR batch, inventory its PR numbers, start
npm run maintenance:cycle -- starton clean current main before content analysis/review, and follow the complete cycle. The runner measures source maintenance without a release; finish it before release preparation. For a release-only task or a sweep with no PRs, start an explicit empty cycle with--prs noneand verify it before preparation. Triage the full authorized scope. Repair source PRs, run the component plan, review the entire trackedskills/<skill-id>/**subtree, and inspect relevant advisories. Do not substitute a heuristic score for semantic review. - Use
maintenance:cycle merge, which delegates tomerge:batch, or invokenpm run merge:batchdirectly when no source cycle applies. These share the sole merge authority; do not run both for the same merge. Keep strict protected main and admin enforcement. Safe analysis may precede review; merge still requires current checks and either real Tessl review or exact-head maintainer attestation. Private signed receipts may reuse unchanged content/context review. Preserve owner-only sensitive-change and protected-base fork-ledger restrictions. - Use guided intake to collect all blockers, then resume with a private external
--state-dir. Record each blocker once; after two equivalent unproductive checks, continue independent work. Re-fetch PR state and protection every time. Continue independent PRs after a blocked PR; report failures. Follow the cycle reference’s deterministic failure codes and bounded read retries. Never repeat a write with an unknown outcome, steal an active state lock, or reuse stale CI evidence. Do not rewrite PR metadata, automatically retry base drift, or use GitHub auto-merge. - Ordinary source merges generate ephemeral validation state only. Tracked distribution snapshots and contributor credits refresh in the protected release PR; no ordinary canonical-sync PR is required. The trusted-base owner-only contract permits narrow no-release lockfile replica repairs and Codex marketplace manifest hotfixes. Other generated paths stay release-owned.
- Before an authorized publication attempt, run
release:rehearse -- X.Y.Z --state-dir /absolute/private/completed-cycleon a clean committed descendant of verified main (including a topic branch for diagnosis). This runs the shared local candidate pipeline in a disposable clone without pushing, tagging, publishing or modifying the source/cycle state; see the full local rehearsal contract. A passing rehearsal does not authorize publication. Use the private--candidate-dirreceipt/promotion flow in the contract to preserve the tested commit and avoid repeating local preparation when its exact source and toolchain remain current. When authorized, userelease:prepareandrelease:publish. Preparation creates the local release commit, packs its exact sealed tree, runs the complete test suite against that candidate, and pushes only if it passes; do not duplicate its suite with diagnostic preflight. Merge the prepared release PR through protection. Create or reuse the tag, wait for the immutable candidate, then publish and verify the exact npm bytes. Create the GitHub Release only after npm succeeds; Pages then consumes the same tested bytes unchanged. Main may advance while the released commit remains protected ancestry. - For compatible catalog-only publication, use the independent catalog workflow and immutable revision/SRI. Preserve offline operation, rollback and agent-owned selection. Do not bump or republish runtime just to update catalog data.
- Finish a source batch with
maintenance:cycle verifyon exact main CI/CodeQL after all other source-cycle actions. Outside the owner-only exceptions, public distribution snapshots remain at the last release. For releases, complete the full-release-alignment gate in the contract, including actual public bytes and live surfaces. Report personal MCP configuration and session reload separately. Update installed maintainer skills from the adopted canonical source, preserving unrelated installations.
Use the release entry template at the top of the repository's CHANGELOG.md for new runtime releases. Preparation and rehearsal validate the target entry before creating a release branch. GitHub publication and the site build use the same changelog entry.