에이전트 협업 인프라 구축 — .claude/ 확장
All checks were successful
Publish ParaWiki / build-and-deploy (push) Successful in 29s
All checks were successful
Publish ParaWiki / build-and-deploy (push) Successful in 29s
- PLAN.md · PROGRESS.md 도입: 병렬 에이전트 조정 지점 - CLAUDE.md 린화 + 에이전트 작업 흐름 섹션 (상세는 Output/guides/로 분리) - Output/guides/cimery-dev-guide.md, obsidian-cli.md 신설 - Agents: cimery-architect-researcher, adr-drafter - Commands: /plan, /progress, /adr, /research, /cimery-start - Skill: plan-commit - Hooks: raw/ 쓰기 차단, SessionStart PLAN/PROGRESS 주입, wiki/ADR 변경 시 log 갱신 알림, auto-approve (deny 훅 우선 유지) - .gitignore: .claude/ 공유 자산 포함, 로컬 상태·바이너리만 유지 제외 Closes #3 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
31
.claude/hooks/wiki-log-reminder.sh
Normal file
31
.claude/hooks/wiki-log-reminder.sh
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
# PostToolUse(Write|Edit): remind to update wiki/log.md and PROGRESS.md
|
||||
# when wiki pages or Output/reports/ADRs are modified
|
||||
|
||||
json=$(cat)
|
||||
|
||||
path=$(printf '%s' "$json" | grep -o '"file_path"[[:space:]]*:[[:space:]]*"[^"]*"' | head -1 | sed 's/.*"file_path"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/')
|
||||
|
||||
if [ -z "$path" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
path_norm=$(printf '%s' "$path" | tr '\\' '/')
|
||||
|
||||
# Skip the log/index themselves — they ARE the trackers
|
||||
case "$path_norm" in
|
||||
*/wiki/log.md|*/wiki/index.md|*/PROGRESS.md|*/PLAN.md)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$path_norm" in
|
||||
*/wiki/*|*/Output/reports/*|*/Output/guides/*)
|
||||
fname=$(basename "$path_norm")
|
||||
# Minimal JSON — no escaping of special chars needed since message is literal
|
||||
printf '{"hookSpecificOutput":{"hookEventName":"PostToolUse","additionalContext":"Reminder: %s 변경됨. wiki/log.md 기록 + PROGRESS.md 갱신 여부 확인."}}\n' "$fname"
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user