feat(harness): add information gain stop and audit

This commit is contained in:
aruo
2026-07-27 01:03:34 +08:00
parent de5a5b09d9
commit d0452184ee
92 changed files with 5019 additions and 122 deletions
@@ -0,0 +1,19 @@
package com.superbiz.agent.harness.progress;
public record CompletedToolCall(
String toolCallId,
String toolName,
String normalizedScope) {
public CompletedToolCall {
requireText(toolCallId, "toolCallId");
requireText(toolName, "toolName");
requireText(normalizedScope, "normalizedScope");
}
private static void requireText(String value, String name) {
if (value == null || value.isBlank()) {
throw new IllegalArgumentException(name + " must not be blank");
}
}
}