feat(agents): route high risk through controlled automation
Some checks failed
Code Review / ai-code-review (push) Successful in 13s
CD Pipeline / tests (push) Failing after 1m8s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped
Ansible / Reboot Recovery Contract / validate (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-26 18:52:19 +08:00
parent 717f0edd33
commit e0a86b6254
65 changed files with 733 additions and 516 deletions

View File

@@ -34,7 +34,7 @@ def test_langgraph_adapter_emits_candidate_result_contract():
assert result["incident_id"] == "INC-1"
assert "SSH_DIAGNOSE" in result["proposed_action"]
assert result["risk_level"] == "medium"
assert result["requires_human_approval"] is True
assert result["requires_human_approval"] is False
assert result["fallback_used"] is False
assert result["trace_complete"] is True
assert result["metadata"]["adapter_mode"] == "deterministic_offline_workflow_kernel"