security: remove the force_merge / --admin CI-override merge path #480
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#480
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
madtea must never let an agent merge a PR past a red or pending required status check. The green gate is authoritative.
Today one surface breaks that rule.
madt_prs action=mergetakesforce_merge, andmadtea pr mergetakes--admin. Both setgitea.MergePROptions.ForceMerge, which sendsforce_merge: truein the merge payload. The forge then merges even if the required checks have not passed.Remove this override from every surface. Keep the safe paths: a normal merge still merges, and
auto_mergestill schedules an auto-merge on green (#438, #464).Change
force_mergearg frommadt_prs action=merge- the input struct field, the action Optional list, the summary, the paramdocs entry, and the drift keywords.--adminflag frommadtea pr merge.MergePROptions.ForceMergeand theforce_mergepayload key.--adminfromdocs/COMPARISON.md, regenerate the reference docs, and update the agent-onboarding drift row.Acceptance
force_merge.force_mergekey, whatever the options.auto_merge(wait-for-green) still work unchanged../scripts/gate.shpasses clean: gofmt, vet, staticcheck, parity, drift, and docs-generate.This is a breaking change. It removes a public CLI flag and a public MCP arg.