style(copy): fix remaining punctuation violations and make check:copy strict
Auto-fix of 602 string literals across 74 files (half-width punctuation next to Chinese, parenthesised Chinese, quotes); biome reflow; e2/e6 assertions follow the new full-width summaries. check:copy now runs with --strict in ci. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0fccfe257d
commit
fb84a71f80
76 files changed
+582
-570
No files matched your search
@@ -105,7 +105,7 @@ describe.skipIf(!hasPg)("E2 Agent 委托闭环(fake 模型 + 真实能力/授权
|
||||
expect(slot.status).toBe("empty");
|
||||
// 汇报不采信模型文本:没有可核查的业务变更
|
||||
expect(run.summary).toContain("没有提交下载");
|
||||
expect(run.summary).toContain("模型汇报(未经核查)");
|
||||
expect(run.summary).toContain("模型汇报(未经核查)");
|
||||
}, 90_000);
|
||||
|
||||
it("有持续授权:提交成功 → 已提交≠已入库(waiting)→ 下载完成、核验入库后 succeeded,汇报来自整理记录", async () => {
|
||||
|
||||
@@ -246,8 +246,8 @@ describe.skipIf(!hasPg)("E6 授权内异常调查与恢复", () => {
|
||||
|
||||
const done = await finished(run.id);
|
||||
expect(done.status).toBe("succeeded");
|
||||
expect(done.summary).toMatch(/^已恢复\(系统核实\)/);
|
||||
expect(done.summary).toContain("模型汇报(未经核查)");
|
||||
expect(done.summary).toMatch(/^已恢复(系统核实)/);
|
||||
expect(done.summary).toContain("模型汇报(未经核查)");
|
||||
expect(await toolStarts(run.id)).toEqual(["task.inspect", "download.recheck"]);
|
||||
expect(await toolRejected(run.id)).toEqual(["download__submit"]);
|
||||
const inv = await e.db
|
||||
@@ -339,7 +339,7 @@ describe.skipIf(!hasPg)("E6 授权内异常调查与恢复", () => {
|
||||
expect(run.mode).toBe("execute");
|
||||
const done = await finished(run.id);
|
||||
expect(done.status).toBe("budget_exceeded");
|
||||
expect(done.summary).toMatch(/^未恢复:调查超出预算/);
|
||||
expect(done.summary).toMatch(/^未恢复:调查超出预算/);
|
||||
expect(await toolStarts(run.id)).toEqual(["task.inspect"]);
|
||||
expect(e.qb.callsTo("torrents/recheck")).toHaveLength(1);
|
||||
const d2 = await waitFor(
|
||||
|
||||
Reference in new issue
Block a user