fix: align sentinel guard branch with CI checks

Refresh the detect-secrets baseline and normalize the config io import ordering so the sentinel guard PR passes the current formatting and build checks after rebase.

Made-with: Cursor
This commit is contained in:
Protocol-zero-0 2026-03-08 10:22:15 +00:00
parent df4b903b1f
commit 546491bbe1
3 changed files with 4 additions and 5 deletions

View File

@ -12196,7 +12196,7 @@
"filename": "src/config/io.write-config.test.ts",
"hashed_secret": "13951588fd3325e25ed1e3b116d7009fb221c85e",
"is_verified": false,
"line_number": 289
"line_number": 290
}
],
"src/config/model-alias-defaults.test.ts": [

View File

@ -1,11 +1,10 @@
import JSON5 from "json5";
import { ensureOwnerDisplaySecret } from "../agents/owner-display.js";
import type { OpenClawConfig, ConfigFileSnapshot, LegacyConfigIssue } from "./types.js";
import crypto from "node:crypto";
import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { isDeepStrictEqual } from "node:util";
import JSON5 from "json5";
import { ensureOwnerDisplaySecret } from "../agents/owner-display.js";
import { loadDotEnv } from "../infra/dotenv.js";
import { resolveRequiredHomeDir } from "../infra/home-dir.js";
import {

View File

@ -3,8 +3,8 @@ import os from "node:os";
import path from "node:path";
import { afterAll, beforeAll, describe, expect, it, vi } from "vitest";
import { createConfigIO } from "./io.js";
import type { OpenClawConfig } from "./types.js";
import { REDACTED_SENTINEL } from "./redact-snapshot.js";
import type { OpenClawConfig } from "./types.js";
describe("config io write", () => {
let fixtureRoot = "";