docs(upstream): 将 UPSTREAM.md 来源记录统一改为中文维护

把 12 份 UPSTREAM.md 来源记录全部翻译为中文,并把中文定为这份仓库自有
维护文档的强制语言。

- 翻译 hippo-memory-pi、pi-ask-user、pi-chrome、pi-compaction、
  pi-extension-codex-fast-mode、pi-minimal-footer、pi-notify、
  pi-permission-system/docs/auto-review、pi-ssh、pi-subagents 与
  pi-tool-search 的来源记录。
- 在 AGENTS.md 增加纪律:每个自维护扩展目录必须保留中文 UPSTREAM.md,
  内容涵盖官方仓库、tag/commit、导入版本、导入日期、许可证归属、本地
  改动清单与同步上游时的约束。
- 明确边界:UPSTREAM.md 属于仓库自有的维护文档,因此使用中文;上游自带
  的源码、测试、文档、README、CHANGELOG 与 LICENSE 一律保持原文,不翻
  译、不改写,避免同步上游时产生无意义 diff 并破坏许可证原文完整性。
- 所有 40 位 commit、tag/版本号、仓库 URL 与许可证路径原样保留,仅翻译
  叙述性文字。

验证:12 份文件均无残留英文正文;逐份复核了 commit、版本、URL 与
LICENSES/ 路径未发生改变。
This commit is contained in:
云服务部-叶林立
2026-10-13 23:19:01 -07:00
parent ff1e7400da
commit 879fc5d37f
12 changed files with 127 additions and 136 deletions
@@ -1,20 +1,16 @@
# AutoReview upstream source
# AutoReview 上游来源
The built-in AutoReview implementation under `src/auto-review/` was imported from:
`src/auto-review/` 下的内置 AutoReview 实现导入自:
- Repository: <https://github.com/mzwing/pi-packages/tree/main/packages/pi-permission-auto-review>
- Snapshot: `8d196e4ef0884cac8326c366191dad3f585d470a`
- Package version: `@mzwing/pi-permission-auto-review@0.2.0`
- 仓库:<https://github.com/mzwing/pi-packages/tree/main/packages/pi-permission-auto-review>
- 快照:`8d196e4ef0884cac8326c366191dad3f585d470a`
- 包版本:`@mzwing/pi-permission-auto-review@0.2.0`
The original MIT license is preserved at
`LICENSES/pi-permission-auto-review-MIT.txt`.
原始 MIT 许可证保留在 `LICENSES/pi-permission-auto-review-MIT.txt`。
Local integration changes:
本地集成改动:
- AutoReview is an internal authorizer of `pi-permission-system` rather than a
separately loaded Pi extension.
- Configuration is read from the unified `policy.jsonc`.
- Completed automatic decisions feed a count-based ledger and an isolated,
tool-free background analysis agent.
- Analysis proposals are delivered back into the active Pi session and never
modify policy without explicit user confirmation.
- AutoReview 是 `pi-permission-system` 的内置 authorizer,而不是单独加载的 Pi 扩展。
- 配置从统一的 `policy.jsonc` 读取。
- 完成的自动裁决进入基于计数的 ledger 和一个隔离的、无工具的后台分析 Agent。
- 分析建议回传到当前活跃的 Pi Session,且在用户明确确认前绝不修改策略。