diff --git a/src/commands/agents.delete.test.ts b/src/commands/agents.delete.test.ts index feabdf566747..bf19723b2083 100644 --- a/src/commands/agents.delete.test.ts +++ b/src/commands/agents.delete.test.ts @@ -1,3 +1,4 @@ +// Agents delete tests cover config removal, workspace attestation cleanup, and binding updates. import fs from "node:fs/promises"; import path from "node:path"; import { beforeEach, describe, expect, it, vi } from "vitest"; diff --git a/src/commands/auth-choice-legacy.test.ts b/src/commands/auth-choice-legacy.test.ts index 6157ce3bd947..21dcddb94122 100644 --- a/src/commands/auth-choice-legacy.test.ts +++ b/src/commands/auth-choice-legacy.test.ts @@ -1,3 +1,4 @@ +// Legacy auth-choice tests cover deprecated choice detection and replacement messages. import { describe, expect, it, vi } from "vitest"; const manifestAuthChoices = vi.hoisted(() => [ diff --git a/src/commands/backup-verify.test.ts b/src/commands/backup-verify.test.ts index 3cdc3113ff32..a05f245b75db 100644 --- a/src/commands/backup-verify.test.ts +++ b/src/commands/backup-verify.test.ts @@ -1,3 +1,4 @@ +// Backup verify tests cover archive inspection, gzip validation, and corrupted backup diagnostics. import fs from "node:fs/promises"; import os from "node:os"; import path from "node:path"; diff --git a/src/commands/doctor-auth.hints.test.ts b/src/commands/doctor-auth.hints.test.ts index 03f899ce71e3..874aeb960ca1 100644 --- a/src/commands/doctor-auth.hints.test.ts +++ b/src/commands/doctor-auth.hints.test.ts @@ -1,3 +1,4 @@ +// Doctor auth hint tests cover OAuth refresh failure formatting and auth repair guidance. import { beforeEach, describe, expect, it, vi } from "vitest"; import type { OpenClawConfig } from "../config/types.openclaw.js"; import { diff --git a/src/commands/doctor-command-owner.test.ts b/src/commands/doctor-command-owner.test.ts index 5d601ec39373..3ea515bd4703 100644 --- a/src/commands/doctor-command-owner.test.ts +++ b/src/commands/doctor-command-owner.test.ts @@ -1,3 +1,4 @@ +// Doctor command-owner tests cover channel sender formatting and configured owner detection. import { beforeEach, describe, expect, it, vi } from "vitest"; import { formatCommandOwnerFromChannelSender, diff --git a/src/commands/doctor-config-flow.missing-default-account-bindings.integration.test.ts b/src/commands/doctor-config-flow.missing-default-account-bindings.integration.test.ts index fa0c71f88933..f16dc29f20c0 100644 --- a/src/commands/doctor-config-flow.missing-default-account-bindings.integration.test.ts +++ b/src/commands/doctor-config-flow.missing-default-account-bindings.integration.test.ts @@ -1,3 +1,4 @@ +// Doctor default-account integration tests cover binding warnings across realistic config shapes. import { describe, expect, it } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; import { diff --git a/src/commands/doctor-config-flow.missing-explicit-default-account.test.ts b/src/commands/doctor-config-flow.missing-explicit-default-account.test.ts index eac13ee5d4be..dbcfb0ce22b6 100644 --- a/src/commands/doctor-config-flow.missing-explicit-default-account.test.ts +++ b/src/commands/doctor-config-flow.missing-explicit-default-account.test.ts @@ -1,3 +1,4 @@ +// Doctor default-account tests cover warnings for missing explicit default channel accounts. import { describe, expect, it } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; import { collectMissingExplicitDefaultAccountWarnings } from "./doctor/shared/default-account-warnings.js"; diff --git a/src/commands/doctor-gateway-daemon-flow.test.ts b/src/commands/doctor-gateway-daemon-flow.test.ts index 28b95a1f3433..7a2503f9de9a 100644 --- a/src/commands/doctor-gateway-daemon-flow.test.ts +++ b/src/commands/doctor-gateway-daemon-flow.test.ts @@ -1,3 +1,4 @@ +// Doctor gateway daemon flow tests cover managed service inspection, duplicate services, and repair prompts. import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; import { formatCliCommand } from "../cli/command-format.js"; import type { ExtraGatewayService } from "../daemon/inspect.js"; diff --git a/src/commands/doctor-sandbox.warns-sandbox-enabled-without-docker.test.ts b/src/commands/doctor-sandbox.warns-sandbox-enabled-without-docker.test.ts index 3ff928b585aa..ef880881d5c9 100644 --- a/src/commands/doctor-sandbox.warns-sandbox-enabled-without-docker.test.ts +++ b/src/commands/doctor-sandbox.warns-sandbox-enabled-without-docker.test.ts @@ -1,3 +1,4 @@ +// Doctor sandbox tests cover warnings when sandbox mode is enabled without Docker availability. import { beforeEach, describe, expect, it, vi } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; import type { RuntimeEnv } from "../runtime.js"; diff --git a/src/commands/doctor-whatsapp-responsiveness.test.ts b/src/commands/doctor-whatsapp-responsiveness.test.ts index 091329a9db71..fbf7f6e134c0 100644 --- a/src/commands/doctor-whatsapp-responsiveness.test.ts +++ b/src/commands/doctor-whatsapp-responsiveness.test.ts @@ -1,3 +1,4 @@ +// Doctor WhatsApp responsiveness tests cover warning heuristics and note output for stale connections. import { beforeEach, describe, expect, it, vi } from "vitest"; import type { OpenClawConfig } from "../config/types.openclaw.js"; diff --git a/src/commands/gateway-status.test.ts b/src/commands/gateway-status.test.ts index c61eab85a0d1..9205591688bc 100644 --- a/src/commands/gateway-status.test.ts +++ b/src/commands/gateway-status.test.ts @@ -1,3 +1,4 @@ +// Gateway status command tests cover probe targets, JSON/text output, SSH tunnels, and warnings. import { beforeEach, describe, expect, it, vi } from "vitest"; import type { GatewayProbeResult } from "../gateway/probe.js"; import type { GatewayBonjourBeacon } from "../infra/bonjour-discovery.js"; diff --git a/src/commands/health.snapshot.test.ts b/src/commands/health.snapshot.test.ts index ba7ca3f5f87a..dbe053df3c8d 100644 --- a/src/commands/health.snapshot.test.ts +++ b/src/commands/health.snapshot.test.ts @@ -1,3 +1,4 @@ +// Health snapshot tests cover channel, session, runtime, and gateway health snapshot construction. import fs from "node:fs"; import os from "node:os"; import path from "node:path"; diff --git a/src/commands/openai-model-default.test.ts b/src/commands/openai-model-default.test.ts index 650c28c10723..655caa3149e4 100644 --- a/src/commands/openai-model-default.test.ts +++ b/src/commands/openai-model-default.test.ts @@ -1,3 +1,4 @@ +// OpenAI model default tests cover provider-specific default model migration helpers. import { describe, expect, it } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; import { diff --git a/src/commands/plugin-control-plane-cold-imports.test.ts b/src/commands/plugin-control-plane-cold-imports.test.ts index 5e37e8c45d9c..9f00ce2c11d3 100644 --- a/src/commands/plugin-control-plane-cold-imports.test.ts +++ b/src/commands/plugin-control-plane-cold-imports.test.ts @@ -1,3 +1,4 @@ +// Plugin control-plane cold-import tests guard setup and plugin metadata paths against runtime-heavy imports. import { afterEach, describe, expect, it } from "vitest"; import { refreshPluginRegistry } from "../plugins/plugin-registry.js"; import { diff --git a/src/commands/sandbox-explain.test.ts b/src/commands/sandbox-explain.test.ts index 4a68735222f2..6e2c64363879 100644 --- a/src/commands/sandbox-explain.test.ts +++ b/src/commands/sandbox-explain.test.ts @@ -1,3 +1,4 @@ +// Sandbox explain tests cover command output for sandbox browser and container diagnostics. import { describe, expect, it, vi } from "vitest"; import { sandboxExplainCommand } from "./sandbox-explain.js"; diff --git a/src/commands/sessions.test.ts b/src/commands/sessions.test.ts index 3614fd421fb8..cafc56fc6186 100644 --- a/src/commands/sessions.test.ts +++ b/src/commands/sessions.test.ts @@ -1,3 +1,4 @@ +// Sessions command tests cover listing, details, filtering, and transcript display behavior. import fs from "node:fs"; import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; import { diff --git a/src/commands/status.format.test.ts b/src/commands/status.format.test.ts index 8323c42261c0..389108808a2c 100644 --- a/src/commands/status.format.test.ts +++ b/src/commands/status.format.test.ts @@ -1,3 +1,4 @@ +// Status format tests cover compact token and prompt-cache display helpers. import { describe, expect, it } from "vitest"; import { formatPromptCacheCompact, formatTokensCompact } from "./status.format.js"; diff --git a/src/commands/status.gateway-connection.test.ts b/src/commands/status.gateway-connection.test.ts index f4227a323a73..4923886b2898 100644 --- a/src/commands/status.gateway-connection.test.ts +++ b/src/commands/status.gateway-connection.test.ts @@ -1,3 +1,4 @@ +// Status gateway connection tests cover connection detail resolution and terminal logging. import { describe, expect, it, vi } from "vitest"; import { logGatewayConnectionDetails, diff --git a/src/commands/status.scan.shared.test.ts b/src/commands/status.scan.shared.test.ts index 33b30552806f..92a00d6e96ab 100644 --- a/src/commands/status.scan.shared.test.ts +++ b/src/commands/status.scan.shared.test.ts @@ -1,3 +1,4 @@ +// Status scan shared tests cover gateway probe snapshots, Tailscale URLs, and shared scan helpers. import { beforeEach, describe, expect, it, vi } from "vitest"; import { buildTailscaleHttpsUrl, diff --git a/src/commands/status.summary.redaction.test.ts b/src/commands/status.summary.redaction.test.ts index f27dc059ba41..869a8bfdd374 100644 --- a/src/commands/status.summary.redaction.test.ts +++ b/src/commands/status.summary.redaction.test.ts @@ -1,3 +1,4 @@ +// Status summary redaction tests cover sensitive field removal from summarized runtime state. import { describe, expect, it } from "vitest"; import { redactSensitiveStatusSummary } from "./status.summary.js"; import type { SessionStatus, StatusSummary } from "./status.types.js";