Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

1 line
601 B
JSON

{"content": "{\n \"description\": \"Log all file edits to a project-local audit file with timestamps. Records every Edit tool usage to .claude/edit-log.txt for tracking changes across sessions. Requires jq.\",\n \"hooks\": {\n \"PostToolUse\": [\n {\n \"matcher\": \"Edit\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"jq -r '.tool_input.file_path' | xargs -I FILE sh -c 'echo \\\"$(date +%Y-%m-%dT%H:%M:%S): Edit FILE\\\" >> \\\"$CLAUDE_PROJECT_DIR/.claude/edit-log.txt\\\"'\"\n }\n ]\n }\n ]\n }\n}\n"}