- 清理 1155 个已删除的历史文件(废弃 prompt_logs、tmp、旧 ops 脚本) - export/ 数据文件从 git 移除(已在 .gitignore) - demo-miniprogram 从 tmp/ 移入 apps/,添加 CLAUDE.md 注解 - DDL 合并:完整 schema 定义填充到 db/*/schemas/(从 docs/database/ddl/ 复制) - 39 个 v1 迁移脚本归档到 db/_archived/migrations_v1_merged/ - 4 个迁移变更类 BD_Manual 文档归档到 docs/database/_archived/ - .gitignore 补充 .vite/ 和 apps/*.zip - settings.json 添加 effortLevel 默认配置 - scripts/ops/ 新增运维脚本入库 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
80 lines
2.3 KiB
JSON
80 lines
2.3 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(du -sh /c/NeoZQYY/*)",
|
|
"Bash(du -sh /c/NeoZQYY/.*)",
|
|
"Bash(wc -l /c/NeoZQYY/scripts/ops/*.py)",
|
|
"Read(//c/Users/Administrator/.kiro//**)",
|
|
"Bash(ls -lS /c/NeoZQYY/tmp/*.md)",
|
|
"Bash(xargs -I {} basename {})",
|
|
"Bash(sed 's/_[a-z].*//')",
|
|
"Bash(ls tests/*.py)",
|
|
"Bash(sed 's/test_//')",
|
|
"Bash(ls test_property_*.py)",
|
|
"Bash(ls test_p*.py)",
|
|
"Bash(ls test_rns*.py)",
|
|
"Bash(ls test_tenant_*.py)",
|
|
"Bash(ls test_trace_*.py)",
|
|
"Bash(mv .kiro/steering _DEL/.kiro/steering)",
|
|
"Bash(mv .kiroignore _DEL/.kiroignore)",
|
|
"Bash(mv .specstory _DEL/.specstory)",
|
|
"Bash(mv .cursorindexingignore _DEL/.cursorindexingignore)",
|
|
"Bash(mv AI_CHANGELOG.md _DEL/AI_CHANGELOG.md)",
|
|
"Bash(mv _tmp_replace2.py _DEL/)",
|
|
"Bash(mv backend_test_results.txt _DEL/)",
|
|
"Bash(mv test_results.txt _DEL/)",
|
|
"Bash(mv dev-trace-coverage-working.png _DEL/)",
|
|
"Bash(mv dev-trace-page.png _DEL/)",
|
|
"Bash(mv export/pytest_result.txt _DEL/export/)",
|
|
"Bash(mv export/test_auth_results.txt _DEL/export/)",
|
|
"Bash(mv export/p13_test_result.txt _DEL/export/)",
|
|
"Bash(mv export/p13_result.txt _DEL/export/)",
|
|
"Bash(cp -r tmp _DEL/tmp_backup)",
|
|
"Bash(*)",
|
|
"Bash(touch tmp/.gitkeep)",
|
|
"Bash(ls -la c:/NeoZQYY/docs/audit/session_logs/_session_index*.json)"
|
|
],
|
|
"additionalDirectories": [
|
|
"C:\\Users\\Administrator\\.claude",
|
|
"c:\\NeoZQYY\\.git"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/session_start_context.py\"",
|
|
"timeout": 15,
|
|
"statusMessage": "加载项目状态..."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/post_edit_audit_reminder.py\"",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/stop_audit_check.py\"",
|
|
"timeout": 15
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|