From e3dc4250cc3aed0e3d43a7da57a2f94cb805f144 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 3 Oct 2026 00:16:01 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- apps/server/test/sources-identity/site-capabilities.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/server/test/sources-identity/site-capabilities.test.ts b/apps/server/test/sources-identity/site-capabilities.test.ts index 084e5ed5..d6015137 100644 --- a/apps/server/test/sources-identity/site-capabilities.test.ts +++ b/apps/server/test/sources-identity/site-capabilities.test.ts @@ -18,7 +18,11 @@ describe("站点能力规格", () => { it("进入能力目录(41 个已有能力 + 整理元数据补全 + 起草巡检);类别 / 风险 / 重放按约定", () => { expect(CAPABILITY_IDS).toHaveLength(43); expect(capabilitySpec("metadata.resolve_organize")).toMatchObject({ kind: "execute", replay: "never" }); - expect(capabilitySpec("schedule.draft_check")).toMatchObject({ kind: "propose", riskLevel: "low", replay: "never" }); + expect(capabilitySpec("schedule.draft_check")).toMatchObject({ + kind: "propose", + riskLevel: "low", + replay: "never", + }); for (const id of SITE_IDS) expect(CAPABILITY_IDS).toContain(id); expect(capabilitySpec("site.list")).toMatchObject({ kind: "read", riskLevel: "low", replay: "safe" }); expect(capabilitySpec("site.user_data")).toMatchObject({ kind: "read", riskLevel: "low", replay: "safe" });