63 lines
3.6 KiB
JSON
63 lines
3.6 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(python3 *)",
|
|
"Bash(git init *)",
|
|
"Bash(git checkout *)",
|
|
"Bash(git add *)",
|
|
"Bash(git commit -m '初始化项目:拆分141章+项目管理文档 *)",
|
|
"Bash(git config *)",
|
|
"Bash(git rm *)",
|
|
"Bash(git commit *)",
|
|
"Bash(git commit -m '观察者设定前馈铺垫(第一阶段) *)",
|
|
"Bash(git commit -m '类型过渡平滑化(第一阶段) *)",
|
|
"Bash(grep -v \":0$\")",
|
|
"Bash(git commit -m 'Lisa线增强 *)",
|
|
"Bash(git commit -m '中卷节奏优化 *)",
|
|
"Bash(git tag *)",
|
|
"Bash(grep -Bn2 \"失忆\\\\|遗忘\\\\|忘记\\\\|记忆\\\\|记得\\\\|回想\\\\|想起\\\\|记起\\\\|模糊\\\\|梦里\\\\|梦到\\\\|梦境\" chapters/中/25-ch25.md chapters/中/26-ch26.md)",
|
|
"Bash(sort -t/ -k5,5 -k6,6)",
|
|
"Bash(xxd)",
|
|
"Bash(grep -c \"^$\" /home/songyi/claudework/guzi/drafts/qu-ning-suwen-first-meeting.md)",
|
|
"Bash(rm *)",
|
|
"WebSearch",
|
|
"WebFetch(domain:docs.claude.com)",
|
|
"Bash(curl -sL --max-time 30 https://code.claude.com/docs/en/claude_code_docs_map.md)",
|
|
"Bash(curl -svL --max-time 20 https://code.claude.com/docs/en/claude_code_docs_map.md)",
|
|
"Bash(echo \"---EXIT: $?\")",
|
|
"Bash(curl -sL --max-time 15 https://docs.anthropic.com)",
|
|
"Bash(curl -sL --max-time 15 https://docs.anthropic.com/en/docs/claude-code/claude-code-docs-map)",
|
|
"Bash(curl -svL --max-time 15 https://docs.anthropic.com/en/docs/claude-code/claude-code-docs-map)",
|
|
"WebFetch(domain:docs.anthropic.com)",
|
|
"Read(//home/songyi/.claude/**)",
|
|
"Read(//home/songyi/.claude/projects/**)",
|
|
"Bash(claude --version)",
|
|
"Read(//home/songyi/.hermes/node/lib/node_modules/**)",
|
|
"Bash(grep -n -E \"^/memory|memory$|/forget|/remember\")",
|
|
"Bash(grep -n -E \"^name:$|^description:|^metadata:$|^ type:|name:.*description|Write each memory\")",
|
|
"Bash(awk '/^#/{if\\(n\\)print n\": \"$0; n=0} {n++} END{print n\": \"$0}' suwen-alternate-timeline.md)",
|
|
"Bash(echo \"clean: $?\")",
|
|
"Bash(grep -v \"^\\\\s*$\")",
|
|
"Bash(git -C /home/songyi/claudework/guzi diff --stat)",
|
|
"Bash(git -C /home/songyi/claudework/guzi diff stories/她睡着了.MD)",
|
|
"Bash(grep *)",
|
|
"Bash(echo \"exit=$? \\(空=无控制符\\)\")",
|
|
"Bash(awk '/④内怕回流/{line=$0; gsub\\(/[^*]/,\"\",line\\); print \"** count:\", length\\(line\\)}' \"/home/songyi/claudework/guzi/苏玟的新时间线.MD\")",
|
|
"Bash(git check-ignore *)",
|
|
"Bash(echo \"ignore-exit=$?\")",
|
|
"Bash(awk '{print \"count=\"NF, \"first=\"$1, \"last=\"$NF}')",
|
|
"Bash(sed -n '/^## 中卷/,/^## 下卷/p' main-timeline/INDEX.md)",
|
|
"Bash(xargs -I{} sed -n '{}p' /home/songyi/.claude/projects/-home-songyi-claudework-guzi/memory/MEMORY.md)",
|
|
"Bash(awk 'NR==73{print length\\($0\\)\" chars\"}' /home/songyi/.claude/projects/-home-songyi-claudework-guzi/memory/MEMORY.md)",
|
|
"Bash(awk 'NR>=2336 && NR<=2360' /home/songyi/claudework/guzi/revision/notes.md)",
|
|
"Bash(awk 'NR>=1 && /^## 创作说明/{print NR\": \"$0}' stories/坦白.MD)",
|
|
"Bash(awk 'NR==54' outline/suwen-new-timeline-overview.md)",
|
|
"Bash(awk 'NR==55' outline/suwen-new-timeline-overview.md)",
|
|
"Bash(awk 'NR==52' outline/suwen-new-timeline-overview.md)",
|
|
"Bash(awk '/2026-08-21/{f=1} f&&/^### /{c++} c>2{exit} f' revision/notes.md)",
|
|
"Bash(awk 'NR>=1 && NR<=4162 {print NR\": \"$0}' \"stories/新时间线·全文.MD\")",
|
|
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://10.147.17.252:3000/512song/guzi)"
|
|
]
|
|
}
|
|
}
|