test(drone): merge routing test honors the joint-decision gate — headless routing asserted via --confirm (DPLAN-0256 follow-up; CI catch: test_devpulse_plugins asserted the pre-gate contract, missed locally by running only the edited file's suite)

This commit is contained in:
AIOSAI
2026-07-21 18:17:52 -07:00
parent 7a2700d649
commit 42f56f2cc4
@@ -552,7 +552,9 @@ class TestGitModuleRouting:
proc.stdout = "ok\n"
mock_run.return_value = proc
result = handle_command("merge", ["42"])
# --confirm satisfies the joint-decision gate (DPLAN-0256); headless
# merge without it is refused before routing reaches merge_pr.
result = handle_command("merge", ["42", "--confirm"])
assert result["exit_code"] == 0
@patch(