feat(mcp): add isolated protocol replay verifier
This commit is contained in:
@@ -80,5 +80,17 @@ def test_gitea_workflow_runner_health_endpoint_returns_committed_snapshot():
|
||||
)
|
||||
assert mcp_artifact_mirror["notification_policy"] == "read_only_no_notify"
|
||||
assert mcp_artifact_mirror["notify_bridge_calls"] == 0
|
||||
mcp_protocol_replay = next(
|
||||
row
|
||||
for row in workflow_records
|
||||
if row["workflow_id"] == "mcp_external_protocol_replay"
|
||||
)
|
||||
assert mcp_protocol_replay["runner_labels"] == ["awoooi-non110-host"]
|
||||
assert mcp_protocol_replay["runner_evidence_status"] == (
|
||||
"non110_host_runner_mapped"
|
||||
)
|
||||
assert mcp_protocol_replay["notification_policy"] == "read_only_no_notify"
|
||||
assert mcp_protocol_replay["notify_bridge_calls"] == 0
|
||||
assert "schedule" in mcp_protocol_replay["triggers"]
|
||||
assert "workflow 修改批准" in data["operator_contract"]["must_not_interpret_as"]
|
||||
assert "Secret 已讀取或可輸出" in data["operator_contract"]["must_not_interpret_as"]
|
||||
|
||||
Reference in New Issue
Block a user