style: 格式化

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-03 00:16:01 +08:00
1 parent dcf4840c7a
commit e3dc4250cc
1 file changed
+5 -1
@@ -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" });