Skip to content

docs(i18n): add zh-CN translations for overview, platform, native-tools and obsidian-wiki#2448

Closed
JAYcodr wants to merge 8 commits into
tinyhumansai:mainfrom
JAYcodr:docs/i18n-batch-a-overview-tools
Closed

docs(i18n): add zh-CN translations for overview, platform, native-tools and obsidian-wiki#2448
JAYcodr wants to merge 8 commits into
tinyhumansai:mainfrom
JAYcodr:docs/i18n-batch-a-overview-tools

Conversation

@JAYcodr
Copy link
Copy Markdown
Contributor

@JAYcodr JAYcodr commented May 21, 2026

docs(i18n): add zh-CN translations for overview and lightweight feature docs

Summary

  • Add 7 new zh-CN translations for overview/ and features/native-tools/ documentation
  • Include 4 previously created obsidian-wiki/ zh-CN pages in this batch
  • Polish 6 existing zh-CN files for consistent terminology (vault → 存储库, Agent → 智能体)
  • Update .gitignore to exclude .codegraph/ local index directory
  • All translations follow the .zh-CN.md naming convention and retain frontmatter structure

Problem

Chinese-speaking users currently encounter English-only documentation in the GitBook overview/ entry point and several features/native-tools/ pages, creating friction for onboarding and feature discovery. Existing zh-CN translations also had minor terminology inconsistencies (e.g., mixed translations for vault).

Solution

Created .zh-CN.md counterparts for all target files, translating frontmatter description fields and body content while preserving:

  • Original heading hierarchy and Markdown AST structure
  • Untranslated code blocks, CLI commands, URLs, and brand names (OpenHuman, Tauri, Obsidian, Composio, LLM, Token)
  • English technical terms on first mention with Chinese parenthetical gloss where helpful

Submission Checklist

  • Tests added or updated — N/A: documentation-only change, no executable code modified
  • Diff coverage ≥ 80% — N/A: only .md and .gitignore files added/edited, no testable source lines changed
  • Coverage matrix updated — N/A: no feature IDs or testable behavior changed
  • All affected feature IDs from the matrix are listed — N/A: no matrix entries affected
  • No new external network dependencies introduced — N/A: documentation only
  • Manual smoke checklist updated — N/A: no release-cut surfaces touched
  • Linked issue closed — N/A: no pre-existing issue for this docs batch

Impact

  • Runtime/platform impact: None
  • Performance/security/migration/compatibility: None
  • User-visible effect: Chinese users can now read getting-started, platform, token-compression, and native-tools docs in zh-CN

Related

  • Follow-up PR(s)/TODOs: Batches B–G pending (core features, advanced features, cloud-deploy, developing docs, architecture, legal)

AI Authored PR Metadata

Linear Issue

  • Key: N/A
  • URL: N/A

Commit & Branch

  • Branch: docs/i18n-batch-a-overview-tools
  • Commit SHA: 740c3b72

Validation Run

  • pnpm --filter openhuman-app format:check — N/A: no source code changed
  • pnpm typecheck — N/A: no TypeScript changed
  • Focused tests — N/A: docs-only
  • Rust fmt/check — N/A: no Rust changed
  • Tauri fmt/check — N/A: no Tauri changed

Validation Blocked

  • command: N/A
  • error: N/A
  • impact: N/A

Behavior Changes

  • Intended behavior change: None
  • User-visible effect: Chinese documentation now available for 11 GitBook pages

Parity Contract

  • Legacy behavior preserved: N/A
  • Guard/fallback/dispatch parity checks: N/A

Duplicate / Superseded PR Handling

  • Duplicate PR(s): None
  • Canonical PR: This PR
  • Resolution: N/A

Summary by CodeRabbit

  • Documentation

    • Added a security audit and many new Chinese guides: native tools (web search, web scraper, browser/computer, tool overview), Obsidian/wiki memory (memory tree, agentmemory backend, auto-fetch), platform overview, token compression, and a Chinese getting-started guide.
  • Localization

    • Expanded Simplified Chinese translations for workspace vault flows, dark-mode helper text, MCP-related UI labels, and related messages.
  • Chores

    • Updated ignore patterns to exclude generated artifacts.

Review Change Stack

agent:skill-master added 6 commits May 21, 2026 19:14
…ver panels

Translate 25 previously-untranslated UI strings across workspace vault
controls, appearance helper text, mascot settings, and MCP Server settings
panel. Placeholder values (CPU/GPU/RAM), technical examples (localhost URLs,
API key formats), and brand names (OpenHuman, Composio) remain in English.
…ver panels

Translate 25 previously-untranslated UI strings across workspace vault
controls, appearance helper text, mascot settings, and MCP Server settings
panel. Placeholder values (CPU/GPU/RAM), technical examples (localhost URLs,
API key formats), and brand names (OpenHuman, Composio) remain in English.
Replaced 保险库 with 存储库 across workspace vault strings to match
existing workspace.viewVault translation.
Initial security audit covering:
- Module map (66 domain modules)
- Credential and token flows
- Trust boundaries and attack surface
- MCP server config file permissions
- Prompt injection guard coverage
- Recommended next steps for maintainers
…re docs

- overview/getting-started.zh-CN.md
- features/token-compression.zh-CN.md
- features/platform.zh-CN.md
- features/native-tools/README.zh-CN.md
- features/native-tools/web-search.zh-CN.md
- features/native-tools/web-scraper.zh-CN.md
- features/native-tools/browser-and-computer.zh-CN.md
@JAYcodr JAYcodr requested a review from a team May 21, 2026 13:18
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 21, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This PR adds multiple Simplified Chinese GitBook pages, updates zh-CN i18n translation chunks, introduces a SECURITY_AUDIT.md document, and adds CodeGraph outputs to .gitignore.

Changes

Documentation and Internationalization

Layer / File(s) Summary
Build configuration updates
.gitignore
CodeGraph's generated index directory and generated architecture doc are ignored.
Chinese UI translations
app/src/lib/i18n/chunks/zh-CN-3.ts, app/src/lib/i18n/chunks/zh-CN-5.ts
Workspace vault opening/failure messages, dark-mode helper text, and MCP server/client UI labels translated to Simplified Chinese.
Security audit and platform architecture
docs/SECURITY_AUDIT.md, gitbooks/features/platform.zh-CN.md
Adds a security audit document and platform overview covering architecture, credential/token flows, trust boundaries, realtime/offline behavior, and update mechanism.
Native tools feature documentation
gitbooks/features/native-tools/README.zh-CN.md, gitbooks/features/native-tools/web-search.zh-CN.md, gitbooks/features/native-tools/web-scraper.zh-CN.md, gitbooks/features/native-tools/browser-and-computer.zh-CN.md
Chinese docs for native tools landing page and individual tools (web search, web scraping, browser/computer control) with capabilities and use cases.
Memory and knowledge base system documentation
gitbooks/features/obsidian-wiki/README.zh-CN.md, gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md, gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md, gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md
Adds Obsidian-compatible memory docs, agentmemory backend config/mapping/endpoints/security/failure modes/migration, auto-fetch scheduler, and memory-tree architecture.
Token compression feature documentation
gitbooks/features/token-compression.zh-CN.md
TokenJuice three-layer rule-based compression explained with rule hierarchy and pipeline placement.
Chinese getting-started guide
gitbooks/overview/getting-started.zh-CN.md
Quick-start guide: system requirements, permissions, install/login steps, example prompts, Obsidian workspace setup, and community links.

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs:

"A rabbit hops through docs at night, 🐇
Scattering zh-CN lines in tidy light,
From 安全 notes to 记忆树 bright,
Strings translated, guides set right,
Hooray — the docs now sing in sight."

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main objective of the PR: adding Simplified Chinese translations across multiple documentation sections (overview, platform, native-tools, and obsidian-wiki).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot added the working A PR that is being worked on by the team. label May 21, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 12

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@gitbooks/features/native-tools/browser-and-computer.zh-CN.md`:
- Line 32: Update the localized document link so Chinese readers stay in the
translated docs: in browser-and-computer.zh-CN.md change the link target for the
"网页抓取" entry from web-scraper.md to the localized page (e.g.,
web-scraper.zh-CN.md), and verify the target localized file exists and the link
works (look for the "网页抓取" link text to locate the spot).

In `@gitbooks/features/native-tools/README.zh-CN.md`:
- Around line 27-35: Update the table links in README.zh-CN.md so they point to
the localized Chinese pages instead of the default English .md files: replace
links like [网络搜索](web-search.md), [网页抓取](web-scraper.md), [编码器](coder.md),
[浏览器与计算机控制](browser-and-computer.md), [定时任务与调度](cron.md), [语音](voice.md),
[记忆工具](memory-tools.md), [第三方集成](../integrations/README.md), and
[智能体协作](agent-coordination.md) with their zh-CN counterparts (e.g.,
web-search.zh-CN.md, web-scraper.zh-CN.md, coder.zh-CN.md,
browser-and-computer.zh-CN.md, cron.zh-CN.md, voice.zh-CN.md,
memory-tools.zh-CN.md, ../integrations/README.zh-CN.md,
agent-coordination.zh-CN.md) and apply the same replacements for the similar
links noted at lines 40-42.

In `@gitbooks/features/native-tools/web-scraper.zh-CN.md`:
- Line 25: Update the internal link target in web-scraper.zh-CN.md that
currently points to "web-search.md" so it references the localized Chinese doc
(e.g., "web-search.zh-CN.md" or the project's localized URL pattern) and ensure
the same replacement is made for the other occurrences referenced (the two links
around lines 30–31); keep link text unchanged but point to the zh-CN target to
avoid routing readers back to English docs.

In `@gitbooks/features/native-tools/web-search.zh-CN.md`:
- Around line 22-23: Update the two "另见" links in the list so they point to
Chinese-localized targets when available: replace the link target for "网页抓取"
(currently referencing web-scraper.md) with the zh-CN version (e.g.,
web-scraper.zh-CN.md) and replace the link target for "智能 Token 压缩" (currently
../token-compression.md) with its zh-CN equivalent (e.g.,
../token-compression.zh-CN.md); keep the visible Chinese text unchanged and only
adjust the link targets to the localized pages.

In `@gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md`:
- Around line 16-31: The fenced flow-diagram block is missing a language tag
(triggering MD040); update the block by adding the language identifier "text"
after the opening triple backticks so it becomes ```text ... ```; apply this
change to the fenced block that begins with the flow diagram lines ("每 20 分钟"
through "成功 -> record_sync_success(ts)").

In `@gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md`:
- Around line 18-41: The two fenced code blocks showing the Chinese diagram and
the state-flow (pending_extraction --> admitted --> buffered --> sealed / -->
dropped) are missing a language identifier; update each opening triple-backtick
to include "text" (i.e., ```text) so the blocks comply with MD040; ensure you
change both occurrences including the similar block referenced around the
pending_extraction flow.

In `@gitbooks/features/obsidian-wiki/README.zh-CN.md`:
- Around line 18-24: The fenced code block that shows the directory tree (the
block starting with ``` and containing the "<workspace>/" tree) lacks a language
identifier and triggers MD040; update that fence to include a neutral language
tag such as text (i.e., change ``` to ```text) so the snippet is properly marked
as plain text.

In `@gitbooks/features/platform.zh-CN.md`:
- Around line 44-45: Update the wording that currently calls the Rust core a
"sidecar" to reflect the in-process architecture: replace the phrase "Rust core
(`openhuman` sidecar)" with wording such as "Rust core (in-process `openhuman`
core)" and ensure the related bullet/context (e.g., "Memory Tree, integrations,
auto-fetch") remains accurate; make the same replacement at the other occurrence
referenced in the comment so the platform doc matches the security architecture
statement that there is no sidecar binary.
- Line 38: The fenced diagram block in platform.zh-CN.md is missing a language
identifier which Markdown linters require; update the closing/opening fence so
the diagram's opening fence is annotated with a language (e.g., change "```" to
"```text") for the diagram block that contains the Tauri shell diagram so the
block begins with "```text" and ends with "```" to preserve formatting and
satisfy linting rules.

In `@gitbooks/features/token-compression.zh-CN.md`:
- Line 24: Update the internal links in token-compression.zh-CN.md to point to
localized Chinese pages instead of generic .md files: replace occurrences like
obsidian-wiki/auto-fetch.md with obsidian-wiki/auto-fetch.zh-CN.md (and
similarly update any other links referenced at lines ~50-51) so readers stay on
zh-CN content; search for and change all .md targets in this file that have
zh-CN equivalents to their *.zh-CN.md counterparts.
- Around line 30-38: The fenced code block that contains the lines starting with
"工具调用结果" and ending with "LLM 上下文" is missing a language identifier which
triggers markdownlint MD040; fix it by adding a language after the opening
triple backticks (for example change the opening "```" to "```text") so the
block reads as a text-language fenced code block and the linter error is
resolved.

In `@gitbooks/overview/getting-started.zh-CN.md`:
- Line 28: Update the download link in the sentence that currently links to
"http://tinyhumans.ai/openhuman" to use HTTPS: replace "http://" with "https://"
so the URL becomes "https://tinyhumans.ai/openhuman"; edit the markdown line in
getting-started.zh-CN.md where that link text appears to ensure the protocol
uses https.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9cb5c438-c110-4029-b4c2-f37f74571093

📥 Commits

Reviewing files that changed from the base of the PR and between ec9708a and 740c3b7.

📒 Files selected for processing (15)
  • .gitignore
  • app/src/lib/i18n/chunks/zh-CN-3.ts
  • app/src/lib/i18n/chunks/zh-CN-5.ts
  • docs/SECURITY_AUDIT.md
  • gitbooks/features/native-tools/README.zh-CN.md
  • gitbooks/features/native-tools/browser-and-computer.zh-CN.md
  • gitbooks/features/native-tools/web-scraper.zh-CN.md
  • gitbooks/features/native-tools/web-search.zh-CN.md
  • gitbooks/features/obsidian-wiki/README.zh-CN.md
  • gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md
  • gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md
  • gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md
  • gitbooks/features/platform.zh-CN.md
  • gitbooks/features/token-compression.zh-CN.md
  • gitbooks/overview/getting-started.zh-CN.md

Comment thread gitbooks/features/native-tools/browser-and-computer.zh-CN.md Outdated
Comment thread gitbooks/features/native-tools/README.zh-CN.md Outdated
Comment thread gitbooks/features/native-tools/web-scraper.zh-CN.md Outdated
Comment thread gitbooks/features/native-tools/web-search.zh-CN.md Outdated
Comment thread gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md Outdated
Comment thread gitbooks/features/platform.zh-CN.md Outdated
Comment thread gitbooks/features/platform.zh-CN.md Outdated
Comment thread gitbooks/features/token-compression.zh-CN.md Outdated
Comment thread gitbooks/features/token-compression.zh-CN.md Outdated
Comment thread gitbooks/overview/getting-started.zh-CN.md Outdated
@JAYcodr JAYcodr force-pushed the docs/i18n-batch-a-overview-tools branch 2 times, most recently from 3dc5ce8 to b248e9e Compare May 21, 2026 13:26
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md`:
- Line 11: Replace the English link target memory-tree.md with its zh-CN
counterpart in the text that references “记忆树” (the sentence beginning "OpenHuman
默认的 `Memory` trait 后端是 `sqlite`——即 [记忆树](memory-tree.md) 中记录的统一存储。"); update the
markdown link target to point to the zh-CN version of the memory-tree page so
the link navigates to the localized document while keeping the visible anchor
text "记忆树" unchanged.

In `@gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md`:
- Line 10: The doc still links to default-language pages instead of the Chinese
translations; update all internal references in
gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md (notably the link at the
sentence referencing memory-tree.md and the links around lines 44, 59, 60) to
point to the corresponding zh-CN pages (e.g., replace memory-tree.md with
memory-tree.zh-CN.md or the repo's Chinese path) so all internal links use the
zh-CN versions; ensure link text and targets are consistent and validate that
each replaced link exists in this PR.

In `@gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md`:
- Line 140: In the zh-CN document update the internal link target(s) that point
to non-localized pages: replace the link target "auto-fetch.md" in the line
containing "自动的 —— 每个活跃的集成每 20 分钟自动拉取一次;见 [自动拉取](auto-fetch.md)。" with the
corresponding zh-CN page (e.g. auto-fetch.zh-CN.md) and make the same
replacement for the similar link at the other occurrence around line 172 so all
internal links reference the localized zh-CN files.

In `@gitbooks/features/obsidian-wiki/README.zh-CN.md`:
- Around line 52-53: The two links currently point to non-localized targets;
update the link targets for the "记忆树" and "从集成自动拉取" entries so they reference
the zh-CN pages (e.g., change memory-tree.md and auto-fetch.md targets to their
zh-CN equivalents like memory-tree.zh-CN.md and auto-fetch.zh-CN.md or the
repo's zh-CN path), ensuring the link text "记忆树" and "从集成自动拉取" keep the same
labels but resolve to the localized files so readers stay on the Chinese site.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 622fda25-9a8f-44c9-83ab-1ba05ad0b51a

📥 Commits

Reviewing files that changed from the base of the PR and between 740c3b7 and 3dc5ce8.

📒 Files selected for processing (10)
  • .gitignore
  • gitbooks/features/native-tools/README.zh-CN.md
  • gitbooks/features/native-tools/web-search.zh-CN.md
  • gitbooks/features/obsidian-wiki/README.zh-CN.md
  • gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md
  • gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md
  • gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md
  • gitbooks/features/platform.zh-CN.md
  • gitbooks/features/token-compression.zh-CN.md
  • gitbooks/overview/getting-started.zh-CN.md
✅ Files skipped from review due to trivial changes (5)
  • .gitignore
  • gitbooks/features/token-compression.zh-CN.md
  • gitbooks/features/platform.zh-CN.md
  • gitbooks/overview/getting-started.zh-CN.md
  • gitbooks/features/native-tools/README.zh-CN.md

Comment thread gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md Outdated
Comment thread gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md Outdated
Comment thread gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md Outdated
Comment thread gitbooks/features/obsidian-wiki/README.zh-CN.md Outdated
@JAYcodr JAYcodr force-pushed the docs/i18n-batch-a-overview-tools branch from b248e9e to 17526f8 Compare May 21, 2026 13:30
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (8)
gitbooks/features/obsidian-wiki/README.zh-CN.md (2)

18-24: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add language identifier to the fenced code block.

The directory tree code block is missing a language tag, triggering MD040. Use text to properly mark the block.

Proposed fix
-```
+```text
 <workspace>/
 └── wiki/
  ├── summaries/ # 自动生成的源 / 主题 / 全局摘要
  ├── notes/ # 你的手写笔记(自由格式)
  └── … # 每个已连接工具包的文件夹
 ```
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/README.zh-CN.md` around lines 18 - 24, The
fenced code block that shows the directory tree is missing a language identifier
(causing MD040); update the triple-backtick fence around the directory tree in
README.zh-CN.md to include the language tag "text" (i.e., change ``` to ```text)
so the block is properly marked and the linter warning is resolved.

52-53: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Use zh-CN targets for "另见" links.

Lines 52 and 53 link to non-localized pages, breaking Chinese reading continuity. Update these to reference the zh-CN versions included in this PR.

Suggested patch
-* [记忆树](memory-tree.md)。产生存储库的流水线。
-* [从集成自动拉取](auto-fetch.md)。存储库如何自行增长。
+* [记忆树](memory-tree.zh-CN.md)。产生存储库的流水线。
+* [从集成自动拉取](auto-fetch.zh-CN.md)。存储库如何自行增长。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/README.zh-CN.md` around lines 52 - 53, Update
the "另见" links to point to the Chinese-localized files instead of the English
ones: replace the links targeting memory-tree.md and auto-fetch.md with their
zh-CN counterparts (e.g., memory-tree.zh-CN.md and auto-fetch.zh-CN.md) so the
README.zh-CN.md remains fully localized; ensure the link text stays the same and
only the target filenames change.
gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md (2)

16-31: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Specify a fence language for the flow diagram block.

This block lacks a language tag and triggers MD040. Label it as text.

Proposed fix
-```
+```text
 每 20 分钟
     |
     v
 遍历每个活跃连接(Gmail、Notion、GitHub……)
     |
     +--> 检查 sync_state(toolkit, connection_id)
     |       - 上次同步时间戳
     |       - 每日预算
     |       - 去重集合
     |       - 游标
     |
     +--> 如果间隔已过 -> provider.sync()
             |
             +--> 成功 -> record_sync_success(ts)
 ```
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md` around lines 16 - 31,
The fenced flow diagram block is missing a language tag and triggers MD040;
update the fenced code block around the diagram by adding the language
identifier `text` immediately after the opening backticks (i.e., change ``` to
```text) so the block becomes a labeled code fence; ensure the opening and
closing fences still wrap the same diagram content unchanged.

10-10: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Switch internal references to zh-CN docs where available.

Lines 10, 44, 59, and 60 still reference default-language pages, while zh-CN versions exist in this PR scope. Update these to maintain Chinese reading continuity.

Suggested patch
-...答案已经在[记忆树](memory-tree.md)里了。
+...答案已经在[记忆树](memory-tree.zh-CN.md)里了。

-...规范化 → 摄入到[记忆树](memory-tree.md)。
+...规范化 → 摄入到[记忆树](memory-tree.zh-CN.md)。

-* [记忆树](memory-tree.md)。一切最终到达的地方。
-* [智能 Token 压缩](../token-compression.md)。使"获取一切"保持低成本的原因。
+* [记忆树](memory-tree.zh-CN.md)。一切最终到达的地方。
+* [智能 Token 压缩](../token-compression.zh-CN.md)。使"获取一切"保持低成本的原因。

Also applies to: 44-44, 59-60

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md` at line 10, Update the
internal doc links in gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md so
they point to the Chinese versions instead of the default-language pages:
replace references to memory-tree.md and the other default-language targets
found at the current lines (10, 44, 59, 60) with their zh-CN counterparts (e.g.,
memory-tree.zh-CN.md and the matching zh-CN filenames for the pages referenced
on lines 44, 59, and 60) so all internal links remain consistent for Chinese
readers.
gitbooks/features/native-tools/web-search.zh-CN.md (1)

18-18: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Prefer zh-CN targets in internal links for reading continuity.

Lines 18, 22, and 23 reference non-localized pages. To maintain consistent Chinese reading flow, update these links to point to their zh-CN counterparts where available.

Suggested fix
-一个纯粹的 `http_request` 工具可以获取 URL 但无法*找到* URL。网络搜索是发现层:它为智能体挑选正确的 URL,然后交给[网页抓取](web-scraper.md)进行实际阅读。
+一个纯粹的 `http_request` 工具可以获取 URL 但无法*找到* URL。网络搜索是发现层:它为智能体挑选正确的 URL,然后交给[网页抓取](web-scraper.zh-CN.md)进行实际阅读。

-* [网页抓取](web-scraper.md) —— 获取并清理特定 URL。
-* [智能 Token 压缩](../token-compression.md) —— 搜索摘要片段在进入模型之前被压缩。
+* [网页抓取](web-scraper.zh-CN.md) —— 获取并清理特定 URL。
+* [智能 Token 压缩](../token-compression.zh-CN.md) —— 搜索摘要片段在进入模型之前被压缩。

Also applies to: 22-23

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/native-tools/web-search.zh-CN.md` at line 18, The internal
links in web-search.zh-CN.md point to non-localized pages (e.g., web-scraper.md
and the pages referenced on lines 22–23); update those link targets to their
zh-CN counterparts so the Chinese document links consistently to localized
pages—find occurrences of "web-scraper.md" and any other non-zh-CN targets in
this file and replace them with the corresponding zh-CN filenames/paths
(ensuring the localized pages exist) and adjust anchor text if necessary to
preserve meaning.
gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md (1)

11-11: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Prefer zh-CN link target for the "记忆树" reference.

Line 11 links to memory-tree.md; this page has a zh-CN counterpart in this doc set. Update the link to maintain localization consistency.

Suggested patch
-OpenHuman 默认的 `Memory` trait 后端是 `sqlite`——即 [记忆树](memory-tree.md) 中记录的统一存储。
+OpenHuman 默认的 `Memory` trait 后端是 `sqlite`——即 [记忆树](memory-tree.zh-CN.md) 中记录的统一存储。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md` at line 11,
Update the internal link in agentmemory-backend.zh-CN.md that currently points
to "memory-tree.md" so it targets the zh-CN localized page instead; locate the
string "记忆树" and replace the href referencing memory-tree.md with the Chinese
counterpart file name (the localized memory-tree page) to keep link localization
consistent.
gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md (2)

18-41: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add language tags to both fenced code blocks.

Both fences are missing language identifiers (MD040). Use text for these diagrams and state transitions.

Proposed fix
-```
+```text
 源适配器(聊天 / 邮件 / 文档)
         |
         v
 规范化    规范化的 Markdown + 来源元数据
         |
         v
 分块器    确定性的 ID,≤3k token 的有界片段
         |
         v
 内容存储   原子 .md 文件(正文 + 标签)
         |
         v
 存储     持久化(块、评分、摘要、任务、热度)
         |
         v
 评分     信号 + 向量 + 实体提取
         |
         v
 源 / 主题 / 全局树    按作用域的摘要树
         |
         v
 检索     搜索 / 深入 / 主题 / 全局 / 获取
 ```

...

-```
+```text
 pending_extraction --> admitted --> buffered --> sealed
         \
          --> dropped
 ```

Also applies to: 125-129

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md` around lines 18 - 41,
Add the missing fenced-code language tags to both code blocks to satisfy MD040:
prepend "```text" to the diagram block that starts with "源适配器(聊天 / 邮件 / 文档)" and
to the state-transition block that contains "pending_extraction --> admitted -->
buffered --> sealed" (and the "--> dropped" branch), replacing their current
plain triple-backtick fences so both blocks are fenced as ```text.

140-140: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Update internal links to zh-CN pages for consistency.

Lines 140 and 172 still point to non-localized targets despite zh-CN docs existing in this batch. Update these to maintain Chinese reading flow.

Suggested patch
-* **自动的** —— 每个活跃的集成每 20 分钟自动拉取一次;见 [自动拉取](auto-fetch.md)。
+* **自动的** —— 每个活跃的集成每 20 分钟自动拉取一次;见 [自动拉取](auto-fetch.zh-CN.md)。

-...参见 [agentmemory 后端](agentmemory-backend.md) 了解配置 keys、字段映射、端点表、安全措施和故障模式。
+...参见 [agentmemory 后端](agentmemory-backend.zh-CN.md) 了解配置 keys、字段映射、端点表、安全措施和故障模式。

Also applies to: 172-172

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md` at line 140, Update the
internal links that point to non-localized pages so they reference the Chinese
versions: replace the link target "auto-fetch.md" used in the sentence "*
**自动的** —— 每个活跃的集成每 20 分钟自动拉取一次;见 [自动拉取](auto-fetch.md).*" with
"auto-fetch.zh-CN.md", and likewise update the other non-localized link in this
document (the link referenced around line 172) to its corresponding "*.zh-CN.md"
filename so all internal links point to zh-CN pages for consistency.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@gitbooks/features/native-tools/web-search.zh-CN.md`:
- Line 18: The internal links in web-search.zh-CN.md point to non-localized
pages (e.g., web-scraper.md and the pages referenced on lines 22–23); update
those link targets to their zh-CN counterparts so the Chinese document links
consistently to localized pages—find occurrences of "web-scraper.md" and any
other non-zh-CN targets in this file and replace them with the corresponding
zh-CN filenames/paths (ensuring the localized pages exist) and adjust anchor
text if necessary to preserve meaning.

In `@gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md`:
- Line 11: Update the internal link in agentmemory-backend.zh-CN.md that
currently points to "memory-tree.md" so it targets the zh-CN localized page
instead; locate the string "记忆树" and replace the href referencing memory-tree.md
with the Chinese counterpart file name (the localized memory-tree page) to keep
link localization consistent.

In `@gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md`:
- Around line 16-31: The fenced flow diagram block is missing a language tag and
triggers MD040; update the fenced code block around the diagram by adding the
language identifier `text` immediately after the opening backticks (i.e., change
``` to ```text) so the block becomes a labeled code fence; ensure the opening
and closing fences still wrap the same diagram content unchanged.
- Line 10: Update the internal doc links in
gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md so they point to the Chinese
versions instead of the default-language pages: replace references to
memory-tree.md and the other default-language targets found at the current lines
(10, 44, 59, 60) with their zh-CN counterparts (e.g., memory-tree.zh-CN.md and
the matching zh-CN filenames for the pages referenced on lines 44, 59, and 60)
so all internal links remain consistent for Chinese readers.

In `@gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md`:
- Around line 18-41: Add the missing fenced-code language tags to both code
blocks to satisfy MD040: prepend "```text" to the diagram block that starts with
"源适配器(聊天 / 邮件 / 文档)" and to the state-transition block that contains
"pending_extraction --> admitted --> buffered --> sealed" (and the "--> dropped"
branch), replacing their current plain triple-backtick fences so both blocks are
fenced as ```text.
- Line 140: Update the internal links that point to non-localized pages so they
reference the Chinese versions: replace the link target "auto-fetch.md" used in
the sentence "* **自动的** —— 每个活跃的集成每 20 分钟自动拉取一次;见 [自动拉取](auto-fetch.md).*" with
"auto-fetch.zh-CN.md", and likewise update the other non-localized link in this
document (the link referenced around line 172) to its corresponding "*.zh-CN.md"
filename so all internal links point to zh-CN pages for consistency.

In `@gitbooks/features/obsidian-wiki/README.zh-CN.md`:
- Around line 18-24: The fenced code block that shows the directory tree is
missing a language identifier (causing MD040); update the triple-backtick fence
around the directory tree in README.zh-CN.md to include the language tag "text"
(i.e., change ``` to ```text) so the block is properly marked and the linter
warning is resolved.
- Around line 52-53: Update the "另见" links to point to the Chinese-localized
files instead of the English ones: replace the links targeting memory-tree.md
and auto-fetch.md with their zh-CN counterparts (e.g., memory-tree.zh-CN.md and
auto-fetch.zh-CN.md) so the README.zh-CN.md remains fully localized; ensure the
link text stays the same and only the target filenames change.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9a6dc13f-5b5b-475a-b48c-f6fee4c5579c

📥 Commits

Reviewing files that changed from the base of the PR and between 3dc5ce8 and b248e9e.

📒 Files selected for processing (10)
  • .gitignore
  • gitbooks/features/native-tools/README.zh-CN.md
  • gitbooks/features/native-tools/web-search.zh-CN.md
  • gitbooks/features/obsidian-wiki/README.zh-CN.md
  • gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md
  • gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md
  • gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md
  • gitbooks/features/platform.zh-CN.md
  • gitbooks/features/token-compression.zh-CN.md
  • gitbooks/overview/getting-started.zh-CN.md
✅ Files skipped from review due to trivial changes (4)
  • gitbooks/features/token-compression.zh-CN.md
  • gitbooks/features/native-tools/README.zh-CN.md
  • gitbooks/overview/getting-started.zh-CN.md
  • gitbooks/features/platform.zh-CN.md

@JAYcodr JAYcodr force-pushed the docs/i18n-batch-a-overview-tools branch from 17526f8 to da631e1 Compare May 21, 2026 13:32
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (7)
gitbooks/features/obsidian-wiki/README.zh-CN.md (2)

18-24: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add a language identifier to the fenced code block.

The code fence lacks a language tag (MD040). Use text for directory tree snippets.

Proposed fix
-```
+```text
 <workspace>/
 └── wiki/
  ├── summaries/ # 自动生成的源 / 主题 / 全局摘要
  ├── notes/ # 你的手写笔记(自由格式)
  └── … # 每个已连接工具包的文件夹
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @gitbooks/features/obsidian-wiki/README.zh-CN.md around lines 18 - 24, The
fenced code block showing the directory tree (starting with "/") is
missing a language identifier (MD040); update that fence to use the "text"
language tag by changing the opening triple backticks to "```text" so the
snippet is properly flagged as plain text.


</details>

---

`52-53`: _⚠️ Potential issue_ | _🟡 Minor_ | _⚡ Quick win_

**Use zh-CN targets for internal links.**

Lines 52–53 reference non-localized pages, breaking Chinese reading continuity. Link to the zh-CN versions instead.





<details>
<summary>Suggested patch</summary>

```diff
-* [记忆树](memory-tree.md)。产生存储库的流水线。
-* [从集成自动拉取](auto-fetch.md)。存储库如何自行增长。
+* [记忆树](memory-tree.zh-CN.md)。产生存储库的流水线。
+* [从集成自动拉取](auto-fetch.zh-CN.md)。存储库如何自行增长。
```
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

```
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/README.zh-CN.md` around lines 52 - 53, Update
the internal links in README.zh-CN.md to point to the Chinese-localized targets
instead of the English pages: replace the references to memory-tree.md and
auto-fetch.md with their zh-CN counterparts (e.g., memory-tree.zh-CN.md and
auto-fetch.zh-CN.md) so the two links in the list use the zh-CN localized pages.
```

</details>

</blockquote></details>
<details>
<summary>gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md (1)</summary><blockquote>

`11-11`: _⚠️ Potential issue_ | _🟡 Minor_ | _⚡ Quick win_

**Prefer zh-CN link target for the "记忆树" reference.**

Line 11 links to `memory-tree.md`; this page has a zh-CN counterpart in this doc set.





<details>
<summary>Suggested patch</summary>

```diff
-OpenHuman 默认的 `Memory` trait 后端是 `sqlite`——即 [记忆树](memory-tree.md) 中记录的统一存储。
+OpenHuman 默认的 `Memory` trait 后端是 `sqlite`——即 [记忆树](memory-tree.zh-CN.md) 中记录的统一存储。
```
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

```
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md` at line 11, The
"记忆树" link currently points to memory-tree.md (English); update the link target
to the zh-CN counterpart (e.g., memory-tree.zh-CN.md or the repo's localized
filename) in gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md so the
internal reference is to the Chinese page; change the href for the "记忆树"
reference (the link text in the paragraph that contains memory-tree.md) to the
zh-CN filename to ensure the link resolves to the localized doc.
```

</details>

</blockquote></details>
<details>
<summary>gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md (2)</summary><blockquote>

`16-31`: _⚠️ Potential issue_ | _🟡 Minor_ | _⚡ Quick win_

**Specify a fence language for the flow diagram block.**

This block lacks a language tag (MD040). Label it as `text`.





<details>
<summary>Proposed fix</summary>

```diff
-```
+```text
 每 20 分钟
     |
     v
 遍历每个活跃连接(Gmail、Notion、GitHub……)
     |
     +--> 检查 sync_state(toolkit, connection_id)
     |       - 上次同步时间戳
     |       - 每日预算
     |       - 去重集合
     |       - 游标
     |
     +--> 如果间隔已过 -> provider.sync()
             |
             +--> 成功 -> record_sync_success(ts)
 ```
```
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md around lines 16 - 31,
The fenced flow-diagram block in auto-fetch.zh-CN.md is missing a language tag
which triggers MD040; update the existing code fence around the diagram to
include the language identifier "text" (i.e., change the opening totext)
so the block is properly labeled; look for the multi-line flow diagram in the
file and add the "text" fence to the opening code fence that contains the lines
starting with "每 20 分钟" through "成功 -> record_sync_success(ts)".


</details>

---

`10-10`: _⚠️ Potential issue_ | _🟡 Minor_ | _⚡ Quick win_

**Switch internal references to zh-CN docs where available.**

Lines 10, 44, 59–60 still reference default-language pages. Update to zh-CN versions for consistency.





<details>
<summary>Suggested patch</summary>

```diff
-...答案已经在[记忆树](memory-tree.md)里了。
+...答案已经在[记忆树](memory-tree.zh-CN.md)里了。
```

At lines 44–45:
```diff
-...规范化 → 摄入到[记忆树](memory-tree.md)。
+...规范化 → 摄入到[记忆树](memory-tree.zh-CN.md)。
```

At lines 59–60:
```diff
-* [记忆树](memory-tree.md)。一切最终到达的地方。
-* [智能 Token 压缩](../token-compression.md)。使"获取一切"保持低成本的原因。
+* [记忆树](memory-tree.zh-CN.md)。一切最终到达的地方。
+* [智能 Token 压缩](../token-compression.zh-CN.md)。使"获取一切"保持低成本的原因。
```
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

```
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md` at line 10, Update
internal links in gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md to point
to the zh-CN localized docs instead of the default-language pages: replace
occurrences like memory-tree.md and any other default-language targets
referenced around the current mentions (lines near the first paragraph and the
references at the later sections) with their zh-CN counterparts (e.g.,
memory-tree.zh-CN.md or the repo's localized filenames) so all internal
references in this document consistently use zh-CN pages.
```

</details>

</blockquote></details>
<details>
<summary>gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md (2)</summary><blockquote>

`18-41`: _⚠️ Potential issue_ | _🟡 Minor_ | _⚡ Quick win_

**Add language tags to fenced code blocks.**

Both diagram blocks (lines 18–41 and 125–129) lack language identifiers (MD040). Use `text` for these.





<details>
<summary>Proposed fix</summary>

For the flow diagram at lines 18–41:
```diff
-```
+```text
 源适配器(聊天 / 邮件 / 文档)
         |
         v
 规范化    规范化的 Markdown + 来源元数据
 ...
```

For the state diagram at lines 125–129:
```diff
-```
+```text
 pending_extraction --> admitted --> buffered --> sealed
         \
          --> dropped
 ```
```
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md around lines 18 - 41,
Add language identifiers to the two fenced code blocks in memory-tree.zh-CN.md:
update the block containing the flow diagram that starts with “源适配器(聊天 / 邮件 /
文档)” (the block ending with “检索 搜索 / 深入 / 主题 / 全局 / 获取”) to begin with

“pending_extraction --> admitted --> buffered --> sealed” to begin with ```text
so both blocks include a language tag to satisfy MD040.

140-140: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Update internal links to zh-CN pages for consistency.

Lines 140 and 172 point to non-localized targets despite zh-CN docs existing in this batch.

Suggested patch

At line 140:

-* **自动的** —— 每个活跃的集成每 20 分钟自动拉取一次;见 [自动拉取](auto-fetch.md)。
+* **自动的** —— 每个活跃的集成每 20 分钟自动拉取一次;见 [自动拉取](auto-fetch.zh-CN.md)。

At line 172:

-...参见 [agentmemory 后端](agentmemory-backend.md) 了解配置 keys、字段映射、端点表、安全措施和故障模式。
+...参见 [agentmemory 后端](agentmemory-backend.zh-CN.md) 了解配置 keys、字段映射、端点表、安全措施和故障模式。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md` at line 140, 在 zh-CN 文档
memory-tree.zh-CN.md 中,有指向非本地化目标的内部链接;把这些链接改为对应的 zh-CN 页面以保持一致性。具体来说,在出现
(auto-fetch.md) 的位置将其替换为对应的中文目标名称(例如
(auto-fetch.zh-CN.md)),并对文件中另一处指向非本地化页面的链接做同样替换,确保使用页面的 zh-CN 版本(用相应的 zh-CN
文件名或路径替换原始链接目标)。
🧹 Nitpick comments (1)
gitbooks/overview/getting-started.zh-CN.md (1)

54-54: ⚡ Quick win

Fix the “自动模型路由” link: target exists, but docs are English-only

  • ../features/model-routing/ resolves to gitbooks/features/model-routing/ (README.md + local-ai.md); there’s no zh-CN variant under gitbooks/features/model-routing/.
  • This matches existing zh-CN cross-links already present (e.g., gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md links to ../model-routing/).
  • If this batch requires full zh-CN parity, add README.zh-CN.md and local-ai.zh-CN.md (or link explicitly to the English pages).
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/overview/getting-started.zh-CN.md` at line 54, The link text
"自动模型路由" currently points to "../features/model-routing/" which only has English
pages; either add Chinese variants (create README.zh-CN.md and local-ai.zh-CN.md
under features/model-routing/ with translated content) and keep the existing
relative link, or change the link target in getting-started.zh-CN.md from
"../features/model-routing/" to explicitly point to the English pages (e.g.,
"../features/model-routing/README.md" or the specific English file) so the link
resolves correctly; update the link in the line containing "自动模型路由" accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md`:
- Line 11: The "记忆树" link currently points to memory-tree.md (English); update
the link target to the zh-CN counterpart (e.g., memory-tree.zh-CN.md or the
repo's localized filename) in
gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md so the internal
reference is to the Chinese page; change the href for the "记忆树" reference (the
link text in the paragraph that contains memory-tree.md) to the zh-CN filename
to ensure the link resolves to the localized doc.

In `@gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md`:
- Around line 16-31: The fenced flow-diagram block in auto-fetch.zh-CN.md is
missing a language tag which triggers MD040; update the existing code fence
around the diagram to include the language identifier "text" (i.e., change the
opening ``` to ```text) so the block is properly labeled; look for the
multi-line flow diagram in the file and add the "text" fence to the opening code
fence that contains the lines starting with "每 20 分钟" through "成功 ->
record_sync_success(ts)".
- Line 10: Update internal links in
gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md to point to the zh-CN
localized docs instead of the default-language pages: replace occurrences like
memory-tree.md and any other default-language targets referenced around the
current mentions (lines near the first paragraph and the references at the later
sections) with their zh-CN counterparts (e.g., memory-tree.zh-CN.md or the
repo's localized filenames) so all internal references in this document
consistently use zh-CN pages.

In `@gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md`:
- Around line 18-41: Add language identifiers to the two fenced code blocks in
memory-tree.zh-CN.md: update the block containing the flow diagram that starts
with “源适配器(聊天 / 邮件 / 文档)” (the block ending with “检索     搜索 / 深入 / 主题 / 全局 /
获取”) to begin with ```text, and likewise update the state diagram block that
contains “pending_extraction --> admitted --> buffered --> sealed” to begin with
```text so both blocks include a language tag to satisfy MD040.
- Line 140: 在 zh-CN 文档 memory-tree.zh-CN.md 中,有指向非本地化目标的内部链接;把这些链接改为对应的 zh-CN
页面以保持一致性。具体来说,在出现 (auto-fetch.md) 的位置将其替换为对应的中文目标名称(例如
(auto-fetch.zh-CN.md)),并对文件中另一处指向非本地化页面的链接做同样替换,确保使用页面的 zh-CN 版本(用相应的 zh-CN
文件名或路径替换原始链接目标)。

In `@gitbooks/features/obsidian-wiki/README.zh-CN.md`:
- Around line 18-24: The fenced code block showing the directory tree (starting
with "<workspace>/") is missing a language identifier (MD040); update that fence
to use the "text" language tag by changing the opening triple backticks to
"```text" so the snippet is properly flagged as plain text.
- Around line 52-53: Update the internal links in README.zh-CN.md to point to
the Chinese-localized targets instead of the English pages: replace the
references to memory-tree.md and auto-fetch.md with their zh-CN counterparts
(e.g., memory-tree.zh-CN.md and auto-fetch.zh-CN.md) so the two links in the
list use the zh-CN localized pages.

---

Nitpick comments:
In `@gitbooks/overview/getting-started.zh-CN.md`:
- Line 54: The link text "自动模型路由" currently points to
"../features/model-routing/" which only has English pages; either add Chinese
variants (create README.zh-CN.md and local-ai.zh-CN.md under
features/model-routing/ with translated content) and keep the existing relative
link, or change the link target in getting-started.zh-CN.md from
"../features/model-routing/" to explicitly point to the English pages (e.g.,
"../features/model-routing/README.md" or the specific English file) so the link
resolves correctly; update the link in the line containing "自动模型路由" accordingly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: cc0cb459-4e1d-4b89-bb58-1019621b7fb9

📥 Commits

Reviewing files that changed from the base of the PR and between b248e9e and 17526f8.

📒 Files selected for processing (12)
  • .gitignore
  • gitbooks/features/native-tools/README.zh-CN.md
  • gitbooks/features/native-tools/browser-and-computer.zh-CN.md
  • gitbooks/features/native-tools/web-scraper.zh-CN.md
  • gitbooks/features/native-tools/web-search.zh-CN.md
  • gitbooks/features/obsidian-wiki/README.zh-CN.md
  • gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md
  • gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md
  • gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md
  • gitbooks/features/platform.zh-CN.md
  • gitbooks/features/token-compression.zh-CN.md
  • gitbooks/overview/getting-started.zh-CN.md
✅ Files skipped from review due to trivial changes (6)
  • .gitignore
  • gitbooks/features/native-tools/README.zh-CN.md
  • gitbooks/features/native-tools/web-scraper.zh-CN.md
  • gitbooks/features/token-compression.zh-CN.md
  • gitbooks/features/native-tools/browser-and-computer.zh-CN.md
  • gitbooks/features/platform.zh-CN.md

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (4)
gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md (1)

10-10: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Switch internal references to zh-CN pages.

Line 10, Line 44, Line 59, and Line 60 still reference default-language docs. Please point these links to localized targets where available.

Suggested patch
-...答案已经在[记忆树](memory-tree.md)里了。
+...答案已经在[记忆树](memory-tree.zh-CN.md)里了。
@@
-...规范化 → 摄入到[记忆树](memory-tree.md)。
+...规范化 → 摄入到[记忆树](memory-tree.zh-CN.md)。
@@
-* [记忆树](memory-tree.md)。一切最终到达的地方。
-* [智能 Token 压缩](../token-compression.md)。使"获取一切"保持低成本的原因。
+* [记忆树](memory-tree.zh-CN.md)。一切最终到达的地方。
+* [智能 Token 压缩](../token-compression.zh-CN.md)。使"获取一切"保持低成本的原因。

Also applies to: 44-44, 59-60

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md` at line 10, The document
contains internal links pointing to default-language docs (e.g., the
[记忆树](memory-tree.md) link on the shown line and three other links at lines 44,
59, 60); update these references to their Chinese localized targets where
available (for example replace memory-tree.md with memory-tree.zh-CN.md or the
repo's zh-CN path), and do the same for the other default-language links so all
internal references in auto-fetch.zh-CN.md point to localized zh-CN pages.
gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md (1)

140-140: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Update internal links to zh-CN targets.

Line 140 and Line 172 still point to non-localized pages. Please switch both to the zh-CN versions.

Suggested patch
-* **自动的** —— 每个活跃的集成每 20 分钟自动拉取一次;见 [自动拉取](auto-fetch.md)。
+* **自动的** —— 每个活跃的集成每 20 分钟自动拉取一次;见 [自动拉取](auto-fetch.zh-CN.md)。
@@
-...参见 [agentmemory 后端](agentmemory-backend.md) 了解配置 keys、字段映射、端点表、安全措施和故障模式。
+...参见 [agentmemory 后端](agentmemory-backend.zh-CN.md) 了解配置 keys、字段映射、端点表、安全措施和故障模式。

Also applies to: 172-172

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md` at line 140, Update the
internal links in gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md so they
point to the localized zh-CN targets: replace the "auto-fetch.md" link at the
location shown (line 140) with its zh-CN equivalent (e.g.,
"auto-fetch.zh-CN.md"), and do the same for the other non-localized link
referenced at line 172—locate the markdown link target there and swap it to the
corresponding ".zh-CN.md" file so both internal links reference the
Chinese-localized pages.
gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md (1)

11-11: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Prefer localized target for “记忆树”.

Line 11 links to memory-tree.md; this zh-CN page should point to the localized doc.

Suggested patch
-OpenHuman 默认的 `Memory` trait 后端是 `sqlite`——即 [记忆树](memory-tree.md) 中记录的统一存储。
+OpenHuman 默认的 `Memory` trait 后端是 `sqlite`——即 [记忆树](memory-tree.zh-CN.md) 中记录的统一存储。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md` at line 11,
Update the internal link to the localized "记忆树" doc: replace the reference to
memory-tree.md with the Chinese localized filename (e.g., memory-tree.zh-CN.md
or the correct localized path) in the markdown content where the link text "记忆树"
appears so the zh-CN page points to the localized documentation.
gitbooks/features/obsidian-wiki/README.zh-CN.md (1)

52-53: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Use zh-CN link targets in “另见”.

Line 52 and Line 53 currently jump to default-language pages. Please switch them to localized targets to keep Chinese-reading flow consistent.

Suggested patch
-* [记忆树](memory-tree.md)。产生存储库的流水线。
-* [从集成自动拉取](auto-fetch.md)。存储库如何自行增长。
+* [记忆树](memory-tree.zh-CN.md)。产生存储库的流水线。
+* [从集成自动拉取](auto-fetch.zh-CN.md)。存储库如何自行增长。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@gitbooks/features/obsidian-wiki/README.zh-CN.md` around lines 52 - 53, Update
the "另见" links to point to the Chinese-localized files instead of the
default-language pages: replace the targets memory-tree.md and auto-fetch.md
with their zh-CN equivalents (e.g., memory-tree.zh-CN.md and
auto-fetch.zh-CN.md) in the two list items so the links stay in Chinese for
readers.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md`:
- Line 11: Update the internal link to the localized "记忆树" doc: replace the
reference to memory-tree.md with the Chinese localized filename (e.g.,
memory-tree.zh-CN.md or the correct localized path) in the markdown content
where the link text "记忆树" appears so the zh-CN page points to the localized
documentation.

In `@gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md`:
- Line 10: The document contains internal links pointing to default-language
docs (e.g., the [记忆树](memory-tree.md) link on the shown line and three other
links at lines 44, 59, 60); update these references to their Chinese localized
targets where available (for example replace memory-tree.md with
memory-tree.zh-CN.md or the repo's zh-CN path), and do the same for the other
default-language links so all internal references in auto-fetch.zh-CN.md point
to localized zh-CN pages.

In `@gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md`:
- Line 140: Update the internal links in
gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md so they point to the
localized zh-CN targets: replace the "auto-fetch.md" link at the location shown
(line 140) with its zh-CN equivalent (e.g., "auto-fetch.zh-CN.md"), and do the
same for the other non-localized link referenced at line 172—locate the markdown
link target there and swap it to the corresponding ".zh-CN.md" file so both
internal links reference the Chinese-localized pages.

In `@gitbooks/features/obsidian-wiki/README.zh-CN.md`:
- Around line 52-53: Update the "另见" links to point to the Chinese-localized
files instead of the default-language pages: replace the targets memory-tree.md
and auto-fetch.md with their zh-CN equivalents (e.g., memory-tree.zh-CN.md and
auto-fetch.zh-CN.md) in the two list items so the links stay in Chinese for
readers.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e8f2e30d-4650-4442-bc63-a74f6586635a

📥 Commits

Reviewing files that changed from the base of the PR and between 17526f8 and da631e1.

📒 Files selected for processing (12)
  • .gitignore
  • gitbooks/features/native-tools/README.zh-CN.md
  • gitbooks/features/native-tools/browser-and-computer.zh-CN.md
  • gitbooks/features/native-tools/web-scraper.zh-CN.md
  • gitbooks/features/native-tools/web-search.zh-CN.md
  • gitbooks/features/obsidian-wiki/README.zh-CN.md
  • gitbooks/features/obsidian-wiki/agentmemory-backend.zh-CN.md
  • gitbooks/features/obsidian-wiki/auto-fetch.zh-CN.md
  • gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md
  • gitbooks/features/platform.zh-CN.md
  • gitbooks/features/token-compression.zh-CN.md
  • gitbooks/overview/getting-started.zh-CN.md
✅ Files skipped from review due to trivial changes (7)
  • .gitignore
  • gitbooks/features/token-compression.zh-CN.md
  • gitbooks/features/native-tools/README.zh-CN.md
  • gitbooks/features/native-tools/web-scraper.zh-CN.md
  • gitbooks/features/native-tools/web-search.zh-CN.md
  • gitbooks/overview/getting-started.zh-CN.md
  • gitbooks/features/platform.zh-CN.md

@JAYcodr JAYcodr force-pushed the docs/i18n-batch-a-overview-tools branch 2 times, most recently from 38b2cfd to 9655f54 Compare May 21, 2026 13:41
- Fix critical mistranslations: email thread, plugin-only model, user-facing,
  fair game for ingest, fold into memory tree, swallowed errors, dirtied topic tree
- Unify terminology: vault → 知识库 (11 occurrences), tick → 触发周期
- Improve awkward/phrasing: 空着出场→空载交付, 运输工具→载体, 吞掉→静默处理,
  工厂短路→Factory会跳过, 大声失败→明显报错, 激进→积极
- Add missing obsidian-wiki zh-CN translations to the commit
@JAYcodr JAYcodr force-pushed the docs/i18n-batch-a-overview-tools branch from 9655f54 to d560db7 Compare May 21, 2026 13:49
…ewlines

- Add ```text language identifier to bare code blocks in memory-tree,
  auto-fetch, obsidian-wiki README
- Add missing trailing newlines to all batch-a files
- Retain http://localhost:3111 in agentmemory-backend (valid config default)
Copy link
Copy Markdown
Contributor

@graycyrus graycyrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — docs(i18n): zh-CN translations batch A

Nice contribution — the translation quality is solid, terminology is consistent (vault → 存储库, Agent → 智能体), and the frontmatter structure is correctly preserved. The i18n chunks (zh-CN-3, zh-CN-5) properly translate previously-English UI strings.

However, there are a few issues that need fixing before this can land:

Summary of findings

Severity Count Category
major 3 Broken markdown rendering, unrelated file bundled, destructive script
minor 1 Missing trailing newlines in scripts

Broken closing code fences (````text` instead of `````)

Multiple files use ```text to close a code block instead of bare ```. This breaks markdown rendering — the closing fence is interpreted as opening a new code block, so everything after it renders as code until the next fence. Affected files:

  • gitbooks/features/obsidian-wiki/README.zh-CN.md:24
  • gitbooks/features/platform.zh-CN.md:53
  • gitbooks/features/obsidian-wiki/memory-tree.zh-CN.md:41 and :129
  • gitbooks/features/token-compression.zh-CN.md:38

This was likely caused by scripts/i18n-doc-fix.sh which replaces all bare ``` lines with ```text — including closing fences.

CodeRabbit dedup

All CodeRabbit findings (localized link targets, MD040, HTTP→HTTPS, sidecar wording) were marked as addressed in subsequent commits. My findings above are distinct and not covered by CodeRabbit.

Comment thread docs/SECURITY_AUDIT.md
@@ -0,0 +1,211 @@
# OpenHuman Security Audit — Architecture & Data Flow Analysis
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] This security audit document is unrelated to the i18n translation work in this PR. It should be split into a separate PR.

Beyond scope concerns, this document publicly catalogs internal architecture details, trust boundaries, specific attack surfaces (prompt injection paths, MCP tool output sanitization gaps, config file permission weaknesses), and env var exposure risks (OPENHUMAN_CORE_TOKEN). Publishing this before the recommended mitigations are addressed (section 7) gives attackers a roadmap.

Suggestion: Remove from this PR. If the maintainers want to publish it, open a dedicated PR so security implications can be reviewed independently.

├── summaries/ # 自动生成的源 / 主题 / 全局摘要
├── notes/ # 你的手写笔记(自由格式)
└── … # 每个已连接工具包的文件夹
```text
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] This closing fence should be ```, not ```text. Using ```text here opens a new code block instead of closing the current one, so everything below this line will render as code in GitBook.

Same issue in 4 other files — see review body for the full list.

Suggested change
```text

Comment thread scripts/i18n-doc-fix.sh
if $DRY_RUN; then
echo " [dry-run] would fix: $f"
else
# 使用 perl 做替换:单独的 ``` 行 → ```text
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] This regex replaces every standalone ``` line with ```text — including closing fences. That's what's causing the broken markdown rendering across all the translated docs.

The fix needs to distinguish opening fences (odd-numbered occurrences) from closing fences (even-numbered). A simpler approach: only replace ``` when the next line is not blank/EOF (opening fences are followed by content; closing fences are followed by blank lines or text).

Suggested change
# 使用 perl 做替换:单独的 ``` 行 → ```text
perl -i -0777 -pe 's/^```$/```text/gm if !/^```\n\n/m' "$f"

Or better yet, use a state-tracking approach that toggles a flag on each fence.

Comment thread scripts/i18n-doc-fix.sh
if $DRY_RUN; then
echo " [dry-run] would fix: $f"
else
# 替换 sidecar 相关描述为更准确的说法
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] This regex [Ss]idecar[^s]* is dangerously greedy — [^s]* matches everything that isn't the letter 's', which means it will eat from "sidecar" to the end of the line (or until it hits an 's'). For a line like:

Rust core (openhuman sidecar) — Memory Tree, integrations

it would delete ) — Memory Tree, integration (everything after "sidecar" until the 's' in 'integrations'), destroying the sentence.

Suggestion: Use a word-boundary match instead:

perl -i -pe 's/\bsidecar\b/in-process core/gi' "$f"

@M3gA-Mind
Copy link
Copy Markdown
Contributor

@JAYcodr unresolved review feedback from graycyrus — please address before we review.

@JAYcodr
Copy link
Copy Markdown
Contributor Author

JAYcodr commented May 21, 2026

@graycyrus @M3gA-Mind All review feedback from this PR has been addressed in the follow-up PR #2450 (docs/i18n-batch-b-core-features), which builds on top of this branch. Closing this one to consolidate review effort — please review #2450 directly. Thanks!

@JAYcodr JAYcodr closed this May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

working A PR that is being worked on by the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants