feat(delivery): decide how agent release-tag pushes are gated #237
Open
opened 2026-11-27 21:19:45 +00:00 by Claude
·
0 comments
No Branch/Tag Specified
main
research/copilot-cli-agents
research/team-structures
research/enforcement-hooks
research/team-patterns
research/existing-infra-skills
feat/66-wire-gitea-mcp-config
delivery-v0.8.0
k8s-v0.2.0
gitops-v0.2.0
ansible-v0.1.0
mattpocock-v0.4.0
bin-v3.0.0
kyberforge-v2.2.1
lint-v1.1.9
gitea-v1.3.10
git-v1.3.9
core-v1.1.4
git-v1.3.8
v2.0.1
v2.0.0
v1.0.0
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Status/Needs Triage
Status/Ready for Agent
Status/Ready for Human
Wayfinder/Grilling
Wayfinder/Map
Wayfinder/Prototype
Wayfinder/Research
Wayfinder/Task
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Maintainer needs to evaluate this issue
Fully specified, ready for an AFK agent
Requires human implementation
Wayfinder ticket (HITL): decision made in conversation
Wayfinder map: index of decisions for an effort
Wayfinder ticket (HITL): cheap artifact to react to
Wayfinder ticket (AFK): research a fact a decision waits on
Wayfinder ticket: work that unblocks a decision (or build work when the map's Notes allow)
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mortis/Holocron#237
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
ADR-0033 says release tags are pushed only on the maintainer's explicit yes. Only instructions enforce that.
The delivery guard (
plugins/delivery/.apm/hooks/guard.py, thegit()rule around lines 1720-1781) has nopushhandling. An agent can rungit push origin <plugin>-v…,git push --tagsorgit push --follow-tagsand nothing mechanical stops it. A pushed tag is shared state that consumers andapm outdatedpick up immediately, and deleting it does not undo a consumer that already resolved it.ADR-0032 (
docs/adr/0032-credentials-not-hooks-are-the-agent-safety-boundary.md) puts the safety boundary in credentials, not hooks. Adding a guard deny would cut against that ADR, so the question is which mechanism fits.Proposal
Decide which of these holds the "explicit yes" for tag pushes, and record the choice:
refs/tags/*(Gitea protected tags with an allowlist that excludes the agent identity), and the maintainer pushes, or approves through a separate credential.guard.pydeniesgit pushwithrefs/tags/*refspecs, tag-shaped refspecs,--tags, or--follow-tagsfor agents. This is defence in depth, but it is a hook-held boundary, which ADR-0032 says is not the safety boundary.Acceptance criteria
Notes
docs/adr/0033-plugin-releases-are-tagged-plugin-v-version.md).Assisted-by: Claude Code