From c61aaeb8739a69e734d7edd1b574735e7d07ca42 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Jul 2026 18:24:42 +0000 Subject: [PATCH 1/2] Initial plan From 284153f6a32140dcc5adb201d9c56e9964db99a4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Jul 2026 18:27:43 +0000 Subject: [PATCH 2/2] Fix docs consistency test for current README files --- tests/docs-consistency.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/docs-consistency.test.ts b/tests/docs-consistency.test.ts index 230e4f5..a428624 100644 --- a/tests/docs-consistency.test.ts +++ b/tests/docs-consistency.test.ts @@ -28,7 +28,7 @@ function markdownLinks(markdown: string): string[] { } describe("documentation consistency", () => { - const publicDocs = [resolve(root, "README.md"), resolve(root, "README-EN.md"), ...markdownFiles(docsRoot)]; + const publicDocs = [resolve(root, "README.md"), resolve(root, "README-zh.md"), ...markdownFiles(docsRoot)]; it("package entry points target compiled artifacts", () => { const pkg = JSON.parse(readFileSync(resolve(root, "package.json"), "utf8")); @@ -101,7 +101,7 @@ describe("documentation consistency", () => { it("does not expose internal Pi host or superseded completion and renderer conventions", () => { const currentGuides = [ resolve(root, "README.md"), - resolve(root, "README-EN.md"), + resolve(root, "README-zh.md"), resolve(docsRoot, "getting-started.md"), ...markdownFiles(resolve(docsRoot, "guides")), ...markdownFiles(resolve(docsRoot, "reference")), @@ -113,7 +113,7 @@ describe("documentation consistency", () => { it("does not claim that debug logging is enabled by default", () => { const readme = readFileSync(resolve(root, "README.md"), "utf8"); - expect(readme).toContain("默认不会写调试日志文件"); + expect(readme).toContain("Debug log files are not written by default."); expect(readme).toContain("debug: true"); }); });