Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/benchmarks/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Aider Code Editing Benchmark 是由 Aider 项目维护的代码编辑基准测
| DeepSeek V3 | ~70% | whole | ~$0.01 |
| GPT-4o-mini | ~62% | whole | ~$0.005 |

*注:成绩取决于 Aider 使用的编辑格式(diff 或 whole),不同格式对不同模型的效果可能不同。数据来源:[Aider 排行榜](https://aider.chat/docs/leaderboards/)。*
*注:成绩取决于 Aider 使用的编辑格式(diff 或 whole),不同格式对不同模型的效果可能不同。数据来源:[Aider 排行榜](https://aider.chat/docs/leaderboards/)(2026-03 访问)。*

### Terminal-Bench

Expand Down
4 changes: 2 additions & 2 deletions docs/comparison/hook-plugin-extension-deep-dive.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ v1.0.10 修复了 `.github/hooks/` 在 `-p`(prompt)模式下不触发的问

### Codex CLI:Plugins 一等公民(v0.117.0)

> 来源:[Codex CLI v0.117.0 Changelog](https://developers.openai.com/codex/changelog)
> 来源:[Codex CLI v0.117.0 Changelog](https://developers.openai.com/codex/changelog)(2026-03)

v0.117.0 将 Plugins 提升为一等公民:
- 启动时自动同步 product-scoped plugins
Expand All @@ -141,7 +141,7 @@ v0.117.0 将 Plugins 提升为一等公民:

### Copilot CLI:Hook 模板变量(v1.0.12)

> 来源:[Copilot CLI v1.0.12 Changelog](https://github.com/github/copilot-cli/blob/main/changelog.md)
> 来源:[Copilot CLI v1.0.12 Changelog](https://github.com/github/copilot-cli/blob/main/changelog.md)(2026-03)

v1.0.12 为 Plugin hooks 引入环境变量和模板变量:
- 环境变量:`CLAUDE_PROJECT_DIR`、`CLAUDE_PLUGIN_DATA`(**注**:沿用 Claude Code 生态的变量命名,确保跨工具 Plugin hooks 兼容——Copilot CLI 读取 `.claude/settings.json` 和 Claude Code 插件)
Expand Down
4 changes: 2 additions & 2 deletions docs/comparison/loop-schedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ codex cloud diff <TASK_ID> # 查看 diff

## Goose `goose schedule`(本地 cron 调度)

> 来源:[Goose CLI Commands](https://block.github.io/goose/docs/guides/goose-cli-commands/),[GitHub Discussions #4389](https://github.com/block/goose/discussions/4389)
> 来源:[Goose CLI Commands](https://block.github.io/goose/docs/guides/goose-cli-commands/)(2026-03 访问),[GitHub Discussions #4389](https://github.com/block/goose/discussions/4389)

### 与 Claude Code `/schedule` 的对比

Expand Down Expand Up @@ -248,7 +248,7 @@ Goose 的调度只能执行 Recipe(YAML/JSON 定义的可复用任务模板)

## Aider `--watch-files`(文件监视 + AI 注释触发)

> 来源:[Aider Watch Docs](https://aider.chat/docs/usage/watch.html)
> 来源:[Aider Watch Docs](https://aider.chat/docs/usage/watch.html)(2026-03 访问)

Aider 的 `--watch-files` 不是循环命令,而是**基于文件变更的 AI 触发机制**:

Expand Down
2 changes: 1 addition & 1 deletion docs/comparison/mcp-integration-deep-dive.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

## 一、Goose:MCP 原生架构(全工具 MCP 驱动)

> 来源:[Goose MCP 文档](https://block.github.io/goose/docs/),`rmcp` Rust SDK
> 来源:[Goose MCP 文档](https://block.github.io/goose/docs/)(2026-03 访问),`rmcp` Rust SDK

**所有工具都通过 MCP 协议实现**,没有"内置工具"概念:

Expand Down
4 changes: 2 additions & 2 deletions docs/comparison/model-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Claude Code 的 Skill 系统有隐式模型选择:

### 配额倍率系统

> 来源:[GitHub Copilot 官方文档](https://docs.github.com/en/copilot),倍率因版本/计划而异。
> 来源:[GitHub Copilot 官方文档](https://docs.github.com/en/copilot)(2026-03 访问),倍率因版本/计划而异。

| 模型 | 配额倍率 | 说明 |
|------|---------|------|
Expand Down Expand Up @@ -293,7 +293,7 @@ codex --oss --model qwen3:32b

## 八、Goose:注册表驱动 + 快速 Fallback

> 来源:[Goose 文档](https://block.github.io/goose/docs/)、开源代码
> 来源:[Goose 文档](https://block.github.io/goose/docs/)(2026-03 访问)、开源代码

```yaml
# ~/.config/goose/config.yaml
Expand Down
4 changes: 2 additions & 2 deletions docs/comparison/review-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ Qoder CLI 是唯一将代码审查和 PR 审查**分为两个独立命令**的

### 从 prompt 到 agentic:Copilot 审查架构演进(来源:[GitHub Blog](https://github.blog/changelog/2026-03-05-copilot-code-review-now-runs-on-an-agentic-architecture/),2026-03-05)

Copilot 代码审查从基于 prompt 的架构重构为**agentic tool-calling 架构**——Agent 主动收集仓库上下文(代码、目录结构、引用)来理解变更如何融入整体架构。升级后正面反馈增加 **8.1%**(来源:[60 Million Copilot Code Reviews](https://github.blog/ai-and-ml/github-copilot/60-million-copilot-code-reviews-and-counting/))。
Copilot 代码审查从基于 prompt 的架构重构为**agentic tool-calling 架构**——Agent 主动收集仓库上下文(代码、目录结构、引用)来理解变更如何融入整体架构。升级后正面反馈增加 **8.1%**(来源:[60 Million Copilot Code Reviews](https://github.blog/ai-and-ml/github-copilot/60-million-copilot-code-reviews-and-counting/),2026-03)。

### 学术研究:LLM 审查的可靠性边界

Expand All @@ -495,7 +495,7 @@ Copilot 代码审查从基于 prompt 的架构重构为**agentic tool-calling
| [Rethinking Code Review with LLM](https://arxiv.org/html/2505.16339v1)(WirelessCar,2025) | 开发者反馈:"If they're not good enough, you stop reading them...you miss the real issues because you start ignoring the feedback."——**低质量 AI 反馈反而降低审查质量** |
| [CORE: Resolving Code Quality Issues](https://dl.acm.org/doi/10.1145/3643762)(ACM) | 二阶段 proposer+ranker 模式减少 **25.8%** 假阳性——与 Claude Code 的多代理验证异曲同工 |

### 行业共识:五层信任架构(来源:[Latent Space](https://www.latent.space/p/reviews-dead))
### 行业共识:五层信任架构(来源:[Latent Space](https://www.latent.space/p/reviews-dead),2025

核心主张:确定性质量关卡应该是测试套件而非代码审查——将人类监督从下游代码阅读移到上游规格编写。

Expand Down
2 changes: 1 addition & 1 deletion docs/comparison/sandbox-security-deep-dive.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ priority = 70
- **严格 macOS Seatbelt**:基于白名单的 Seatbelt 策略(~200+ 条 syscall 规则)(v0.34)
- **safeFetch + IP 验证**:防止 SSRF 和内部网络访问(v0.34)
- **子代理特定 TOML 策略**:每个子代理可有独立安全策略(v0.34)
- **统一 SandboxManager**:v0.35 引入统一沙箱管理器,集成 Linux 原生 bubblewrap + seccomp 隔离工具执行(150 变更含 2 安全修复)(来源:[v0.35 Release Notes](https://geminicli.com/docs/changelogs/latest/))
- **统一 SandboxManager**:v0.35 引入统一沙箱管理器,集成 Linux 原生 bubblewrap + seccomp 隔离工具执行(150 变更含 2 安全修复)(来源:[v0.35 Release Notes](https://geminicli.com/docs/changelogs/latest/),2026-03

### macOS Seatbelt

Expand Down
14 changes: 7 additions & 7 deletions docs/comparison/slash-commands-deep-dive.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ gh pr edit --add-reviewer @copilot

### Codex CLI 代码审查

> 来源:[OpenAI Developers](https://developers.openai.com/codex/cli/features)
> 来源:[OpenAI Developers](https://developers.openai.com/codex/cli/features)(2026-03 访问)

```bash
# PR 评论触发审查
Expand All @@ -91,7 +91,7 @@ gh pr edit --add-reviewer @copilot

### Gemini CLI `/code-review`(官方扩展)

> 来源:[gemini-cli-extensions/code-review](https://github.com/gemini-cli-extensions/code-review)
> 来源:[gemini-cli-extensions/code-review](https://github.com/gemini-cli-extensions/code-review)(2026-03 访问)

```bash
# 安装扩展(需要 Gemini CLI v0.4.0+)
Expand Down Expand Up @@ -122,7 +122,7 @@ gemini extensions install https://github.com/gemini-cli-extensions/code-review

### Claude Code 三层压缩(源码:API `compact-2026-01-12`)

> 来源:[Claude API Compaction 文档](https://platform.claude.com/docs/en/build-with-claude/compaction)
> 来源:[Claude API Compaction 文档](https://platform.claude.com/docs/en/build-with-claude/compaction)(2026-03 访问)

```bash
# 手动压缩
Expand Down Expand Up @@ -610,7 +610,7 @@ Wire 协议的 JSONL 格式使会话可在不同环境间迁移。

### Goose 的 MCP 原生架构(独有)

> 来源:[Goose MCP 深度分析](https://dev.to/lymah/deep-dive-into-gooses-extension-system-and-model-context-protocol-mcp-3ehl),Goose 已捐赠给 Linux 基金会 [Agentic AI Foundation (AAIF)](https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation)
> 来源:[Goose MCP 深度分析](https://dev.to/lymah/deep-dive-into-gooses-extension-system-and-model-context-protocol-mcp-3ehl)(2025),Goose 已捐赠给 Linux 基金会 [Agentic AI Foundation (AAIF)](https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation)

所有工具都通过 MCP 协议实现,没有"内置工具"概念:
- Host → Goose(管理多个 MCP 客户端)
Expand Down Expand Up @@ -757,7 +757,7 @@ approval_mode = "auto"

### Gemini CLI TOML 策略引擎详解

> 来源:[Policy Engine 文档](https://geminicli.com/docs/reference/policy-engine/)
> 来源:[Policy Engine 文档](https://geminicli.com/docs/reference/policy-engine/)(2026-03 访问)

**5 层优先级**(最终优先级 = `tier_base + toml_priority / 1000`):

Expand All @@ -775,7 +775,7 @@ Admin 目录强制严格所有权检查,防止权限提升。

### Codex CLI 三平台 OS 级沙箱(源码:`codex-rs/`)

> 来源:[OpenAI 安全文档](https://developers.openai.com/codex/agent-approvals-security)、[DeepWiki 沙箱分析](https://deepwiki.com/openai/codex/5.6-sandboxing-implementation)
> 来源:[OpenAI 安全文档](https://developers.openai.com/codex/agent-approvals-security)、[DeepWiki 沙箱分析](https://deepwiki.com/openai/codex/5.6-sandboxing-implementation)(2026-03 访问)

**最硬核的安全实现——OS 原生隔离,三个平台各有专用方案:**

Expand Down Expand Up @@ -803,7 +803,7 @@ Admin 目录强制严格所有权检查,防止权限提升。

### Goose 权限系统

> 来源:[Goose 工具权限文档](https://block.github.io/goose/docs/guides/managing-tools/tool-permissions/)
> 来源:[Goose 工具权限文档](https://block.github.io/goose/docs/guides/managing-tools/tool-permissions/)(2026-03 访问)

三级工具权限 × 四种操作模式:

Expand Down
2 changes: 1 addition & 1 deletion docs/comparison/terminal-ui-deep-dive.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Rust 原生 CLI / Metal(macOS) + Vulkan(Linux/Win) GPU 渲染
| Shift+Tab | 循环切换审批模式(DEFAULT → AUTO_EDIT → PLAN → YOLO) |
| Esc Esc | 触发 `/rewind`(RewindViewer 组件) |

**v0.35 新增:自定义快捷键 + Vim 增强**(来源:[v0.35 Release Notes](https://geminicli.com/docs/changelogs/latest/))
**v0.35 新增:自定义快捷键 + Vim 增强**(来源:[v0.35 Release Notes](https://geminicli.com/docs/changelogs/latest/),2026-03

- **自定义键绑定**:支持自定义 keybindings、字面字符绑定、扩展终端协议键
- **Vim 模式增强**:新增 `X`、`~`、`r`、`f/F/t/T` 动作 + yank/paste 支持
Expand Down
2 changes: 1 addition & 1 deletion docs/tools/claude-code/06-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Claude Code 的 Hook 系统是其最独特的能力之一。与传统脚本 Hook
| `CwdChanged` | 工作目录变更时 | v2.1.83 二进制确认 |
| `FileChanged` | 文件变更检测时 | v2.1.83 二进制确认 |

> 来源:[官方 Hooks 文档](https://code.claude.com/docs/en/hooks),全部 24 个事件在 v2.1.83 二进制中确认存在。
> 来源:[官方 Hooks 文档](https://code.claude.com/docs/en/hooks)(2026-03 访问),全部 24 个事件在 v2.1.83 二进制中确认存在。

### Hook 配置示例

Expand Down
Loading
Loading