Skip to content

Commit 1bdf210

Browse files
committed
docs: document rescue and trajectory tests
1 parent d8326f1 commit 1bdf210

23 files changed

Lines changed: 23 additions & 0 deletions

‎src/crestodian/assistant.configured.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Configured Crestodian assistant tests cover config-driven assistant behavior.
12
import { describe, expect, it, vi } from "vitest";
23
import { planCrestodianCommandWithConfiguredModel } from "./assistant.js";
34

‎src/crestodian/assistant.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Crestodian assistant tests cover assistant-driven rescue message generation.
12
import { describe, expect, it, vi } from "vitest";
23
import type { RunCliAgentParams } from "../agents/cli-runner/types.js";
34
import type { RunEmbeddedAgentParams } from "../agents/embedded-agent-runner/run/params.js";

‎src/crestodian/audit.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Crestodian audit tests cover filesystem-backed rescue audit scenarios.
12
import fs from "node:fs/promises";
23
import os from "node:os";
34
import path from "node:path";

‎src/crestodian/crestodian.test-helpers.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Crestodian test helpers build runtime environments for rescue tests.
12
import type { RuntimeEnv } from "../runtime.js";
23

34
/**

‎src/crestodian/crestodian.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Crestodian tests cover main rescue and audit command behavior.
12
import { describe, expect, it } from "vitest";
23
import { runCrestodian } from "./crestodian.js";
34
import { createCrestodianTestRuntime } from "./crestodian.test-helpers.js";

‎src/crestodian/operations.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Crestodian operation tests cover rescue operation planning and execution.
12
import fs from "node:fs/promises";
23
import os from "node:os";
34
import path from "node:path";

‎src/crestodian/overview.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Crestodian overview tests cover summary output for rescue diagnostics.
12
import { describe, expect, it } from "vitest";
23
import type { ConfigFileSnapshot, OpenClawConfig } from "../config/config.js";
34
import {

‎src/crestodian/probes.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Crestodian probe tests cover timeout handling and probe result formatting.
12
import { MAX_TIMER_TIMEOUT_MS } from "@openclaw/normalization-core/number-coercion";
23
import { afterEach, describe, expect, it, vi } from "vitest";
34
import { probeGatewayUrl, probeLocalCommand } from "./probes.js";

‎src/crestodian/rescue-channel.live.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Crestodian live rescue channel tests cover live-channel rescue message delivery.
12
import fs from "node:fs/promises";
23
import os from "node:os";
34
import path from "node:path";

‎src/crestodian/rescue-message.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Crestodian rescue message tests cover generated rescue message content.
12
import fs from "node:fs/promises";
23
import os from "node:os";
34
import path from "node:path";

0 commit comments

Comments
 (0)