-
Notifications
You must be signed in to change notification settings - Fork 2
[Task] Harden release agent safety gates #779
Copy link
Copy link
Open
Labels
area:automationAutomation workflows and agentsAutomation workflows and agentsarea:documentationDocs & guidesDocs & guidespriority:importantMust-do high priorityMust-do high prioritystatus:needs-planningAwaiting planning / scopingAwaiting planning / scopingtype:refactorRefactor or internal changeRefactor or internal change
Metadata
Metadata
Assignees
Labels
area:automationAutomation workflows and agentsAutomation workflows and agentsarea:documentationDocs & guidesDocs & guidespriority:importantMust-do high priorityMust-do high prioritystatus:needs-planningAwaiting planning / scopingAwaiting planning / scopingtype:refactorRefactor or internal changeRefactor or internal change
Type
Fields
Give feedbackPriority
None yet
Is your code refactoring request related to a problem?
The current release agent can continue into tagging and publishing even when its safeguards are too soft for a live release. It also still carries hardcoded release assumptions that can mis-target publish steps when the release path changes.
Describe the Refactoring / Review Task
Harden the release agent so live releases fail fast unless the repository is in a known-good state.
Scope:
Use Case
Release maintainers and automation operators need a safe release command that cannot silently tag the wrong commit or continue through a stale local state.
Alternatives Considered
The safe default is to enforce hard failures in the agent and keep workflow gates as a second layer.
Additional Context
.github/projects/active/release-agent-hardening/openspec-strict/children/01-1-task-release-agent-safety-gates.mdExample Code Snippets
Refactoring / Review Checklist
Code Area(s) Impacted