docs(agents): the gates are green on a tree that cannot be merged #146
No reviewers
Labels
No labels
blocked
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
waiting-on-julian
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jlxq0/matrix-mcp!146
Loading…
Reference in a new issue
No description provided.
Delete branch "conflicted-tree-gate"
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?
Five gates passed on a working tree holding an unresolved
AGENTS.mdconflict. Markers in a markdown file compile and test like any other text, sofmt,clippy -D warnings,312 passed,auditanddenyall went green while merging was impossible. Nothing in their output hints at it, and the markers can begit added and committed, so trusting the gates there pushes a conflicted branch and calls it verified.Caught only because I was watching the merge rather than the gates.
The collision is structural, not bad luck. Every entry in that file is appended at the end, so any two branches that both add one will conflict, and it is the file this repository asks everybody to touch after a bug.
The commands, measured rather than repeated
git diff --checkexits 2, not 1, and it also fires on whitespace errors, so a non-zero exit from it is not specifically a conflict. Verified in a scratch repository rather than assumed.The check ran before the gates on this very branch, which is the only reason this PR is not itself an instance.
Gates: fmt, clippy
-D warnings,312 passed; 0 failed.