docs(adr): let the agent push release tags on explicit approval
Why: the maintainer decided the agent pushes release tags itself. A pushed tag is an immutable release (an irreversible publish), so each push still needs the maintainer's explicit yes in the conversation; the approval, not who types the command, is the control. Implementation Notes: - ADR-0033 Decision: after --apply the agent shows the exact tags and the printed push line, and on an explicit yes runs exactly that `git push origin <tag>...` (never --tags, never other refs). The maintainer-only and free Propose-tier variants are recorded as rejected options. - ADR-0033: --apply requires origin/main's first-parent history, and a tag on a later landing of its version is an error. - AGENTS.md, README.md and gates.md state the same rule; exit 2 still means stop and report, never hand-fix, move or delete a tag. Refs: #223 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
03bacd6e5a
commit
0a52c8597d
4 files changed
+34
-19
No files matched your search
@@ -99,14 +99,14 @@ See [`docs/spec/gates.md`](docs/spec/gates.md) for what each hook enforces and w
|
||||
|
||||
Full model, including what's exempt and why: [`docs/spec/architecture.md`](docs/spec/architecture.md).
|
||||
|
||||
**After merging a plugin version bump (maintainer):**
|
||||
**After merging a plugin version bump:**
|
||||
|
||||
1. Run `git fetch origin --tags`.
|
||||
2. Run `scripts/tag-plugin-releases.sh` (a dry run) and read the table.
|
||||
3. Run `scripts/tag-plugin-releases.sh --apply`.
|
||||
4. Run the `git push origin <tag>…` line it prints.
|
||||
|
||||
Pushing tags is the maintainer's step. Tags are never moved or re-cut. Details are in [ADR-0033](docs/adr/0033-plugin-releases-are-tagged-plugin-v-version.md).
|
||||
An agent may run all four steps, but it runs step 4 only after the maintainer explicitly approves those exact tags in the conversation: a pushed tag is an immutable release. Tags are never moved or re-cut. Details are in [ADR-0033](docs/adr/0033-plugin-releases-are-tagged-plugin-v-version.md).
|
||||
|
||||
## For external consumers
|
||||
|
||||
|
||||
Reference in new issue
Block a user