Add history tracking hooks and project structure
- Add docs/history/ directory for work history files - Add PROGRESS.md for project status tracking - Add .claude/settings.json with Gitea MCP permissions - Gitea issue #1: 히스토리 및 AI 사용량 추적 시스템 설정 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
8
historyhooks/guard-history-fields.sh
Normal file
8
historyhooks/guard-history-fields.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# PostToolUse(Write) 훅: 히스토리 파일 필수 필드 검증
|
||||
# 대상: docs/*/history/*.md
|
||||
# 필수 항목(소요 시간, Context 사용량) 누락 시 exit 2로 Write 차단
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cat | python3 "$SCRIPT_DIR/guard-history-fields.py"
|
||||
Reference in New Issue
Block a user