feat: move duplicate-work detection before author mutations (Closes #400) #413
@@ -189,7 +189,8 @@ class TestMcpDuplicateRecheck(unittest.TestCase):
|
||||
"forbidden_operations": [],
|
||||
"audit_label": "test-author",
|
||||
})
|
||||
def test_create_pr_returns_handoff_on_duplicate(self, _profile, mock_gate):
|
||||
@patch("mcp_server.get_auth_header", return_value="token x")
|
||||
def test_create_pr_returns_handoff_on_duplicate(self, _auth, _profile, mock_gate):
|
||||
self._write_lock()
|
||||
mock_gate.return_value = {
|
||||
"block": True,
|
||||
|
||||
Reference in New Issue
Block a user