统一公共工具并移除 workspace 专家链路。

将文件/命令/Git/检索能力统一迁入 public,去除重复工具与 local_ 命名前缀,并重命名底层路径守卫模块为 path_guard 以提升语义清晰度。

Made-with: Cursor
This commit is contained in:
oliver 2026-05-01 00:38:31 +08:00
parent 75aec2abe4
commit d0a66d190d
21 changed files with 326 additions and 1012 deletions

View file

@ -4,10 +4,10 @@ This project exposes local atomic capabilities as shared `public` tools for all
## Included P0 tools
- `local_run_command`
- `local_read_file`
- `local_write_file`
- `local_edit_file`
- `run_command`
- `read_file`
- `write_file`
- `edit_file`
## Included P1/P2/P3 tools
@ -31,8 +31,8 @@ This project exposes local atomic capabilities as shared `public` tools for all
## Risk gating
- `local_read_file` is `risk_level=low` and visible by default.
- `local_run_command`, `local_write_file`, `local_edit_file` are `risk_level=high`.
- `read_file` is `risk_level=low` and visible by default.
- `run_command`, `write_file`, `edit_file` are `risk_level=high`.
- High-risk public tools are hidden unless `AIA_PUBLIC_TOOLS_ALLOW_HIGH=1`.
## Local backend adapter