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. An explicitly requested no-release dependency repair may synchronize only the existing regular lockfile replicas verified by the trusted-base owner-only contract; every other generated path stays release-owned.
- When authorized, use
release: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. Without publication, stop there: public distribution snapshots intentionally 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.