134 lines
3.7 KiB
JSON
134 lines
3.7 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)",
|
|
"mcp__pg-etl-test__execute_sql",
|
|
"mcp__pg-app-test__execute_sql",
|
|
"mcp__pg-app-test__list_schemas"
|
|
],
|
|
"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": "加载项目状态..."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Read|Edit|Write|Glob",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/pre_read_archived_block.py\"",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Bash|Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/pre_demo_protect.py\"",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/post_edit_audit_reminder.py\"",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/post_edit_db_doc_sync.py\"",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/post_edit_rls_dual_schema.py\"",
|
|
"timeout": 10
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/stop_audit_check.py\"",
|
|
"timeout": 15
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python \"$CLAUDE_PROJECT_DIR/.claude/hooks/stop_verify_check.py\"",
|
|
"timeout": 15
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|