fix(auto-reply): warn on substantive private message-tool finals

Warn operators when message_tool_only produces unusually substantive private final text without a delivered source reply. Keeps short/NO_REPLY silence quiet, avoids logging response bodies, and distinguishes unrelated side effects from source-reply delivery.
This commit is contained in:
yaoyi1222
2026-05-31 21:35:58 +08:00
committed by GitHub
parent 81b9da0bb0
commit 75e0053cf9
7 changed files with 427 additions and 8 deletions

View File

@@ -160,7 +160,8 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
expect(readFileSync("scripts/e2e/lib/clawhub-fixture-server.cjs", "utf8")).toContain(
"X-ClawHub-Artifact-Sha256",
);
expect(script).toContain("docker_e2e_docker_cmd stats --no-stream");
expect(script).toContain("docker_e2e_sample_stats_until_exit");
expect(script).toContain("scripts/e2e/lib/docker-stats/assert-resource-ceiling.mjs");
expect(sweepScript).toContain("scan_logs_for_unexpected_errors");
});
@@ -182,7 +183,8 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => {
weight: 3,
});
expect(script).toContain("OPENCLAW_ENTRY=/app/openclaw.mjs");
expect(script).toContain("docker_e2e_docker_cmd stats --no-stream");
expect(script).toContain("docker_e2e_sample_stats_until_exit");
expect(script).toContain("scripts/e2e/lib/docker-stats/assert-resource-ceiling.mjs");
expect(script).toContain("node scripts/e2e/kitchen-sink-rpc-walk.mjs");
expect(script).not.toContain("--import tsx");
expect(walkScript).toContain("commands.list");