This repository has been archived on 2026-05-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
obsidian/config/agent/policies/allowlist.md
T

38 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
tags: [config, agent, policy]
---
# Claude 操作正面清单
以下操作为明确允许的操作:
## 文件操作
- ✅ 读取 vault 内任何 Markdown 文件
- ✅ 创建新文件(遵循 [[config/agent/agent.md]] 规范)
- ✅ 编辑现有文件(使用 Edit 工具进行精准变更)
- ✅ 使用相对路径访问文件
## 内容结构
- ✅ 添加/更新 YAML frontmatter
- ✅ 使用 Wiki-links `[[note-name]]`
- ✅ 使用标签 `#tag-name`
- ✅ 保留或简化 Dataview 查询
## 搜索与导航
- ✅ 使用 Grep 搜索内容
- ✅ 使用 Glob 查找文件
- ✅ 分析链接关系和依赖
## Git 操作(受限)
- ✅ 运行 `git status` 查看状态
- ✅ 运行 `git diff` 查看变更
- ⚠️ 提交、推送等操作需要用户明确请求
## 资产管理
- ✅ 读取本地图片(PNG, JPG, GIF, WebP)
- ✅ 下载外部图片到 media 文件夹
- ✅ 替换图片链接为本地 wiki-link
## 处理特殊情况
- ✅ 配置文件和开发文件可灵活调整结构
- ✅ 在用户明确要求时使用非标准结构