refactor(harness): remove legacy agent architecture

This commit is contained in:
zhuyongxin
2026-07-22 18:02:01 +08:00
parent bc36248cd8
commit 8ee7cc0b70
148 changed files with 3091 additions and 13889 deletions
@@ -27,10 +27,6 @@ public class SelfEvaluationMergeService {
return merge(existingJson, "verifier_evaluation", verifierEvaluation);
}
public String mergeAiOpsRuleEvaluation(String existingJson, Map<String, Object> aiOpsRuleEvaluation) {
return merge(existingJson, "aiops_rule_evaluation", aiOpsRuleEvaluation);
}
private String merge(String existingJson, String key, Map<String, Object> value) {
try {
Map<String, Object> root = parseRoot(existingJson);
@@ -49,8 +45,7 @@ public class SelfEvaluationMergeService {
Map<String, Object> parsed = objectMapper.readValue(existingJson, MAP_TYPE);
if (parsed.containsKey("rule_evaluation")
|| parsed.containsKey("verifier_evaluation")
|| parsed.containsKey("aiops_rule_evaluation")) {
|| parsed.containsKey("verifier_evaluation")) {
return new LinkedHashMap<>(parsed);
}