feat: 공식 문서 근거자료, 브랜치 기능 문서 작성

This commit is contained in:
DongHyeonka
2026-07-29 18:05:17 +09:00
parent cfd84875bf
commit 58515ab0f3
251 changed files with 31470 additions and 109 deletions
+88
View File
@@ -0,0 +1,88 @@
{
"hooks": {
"PreToolUse": [
{
"matcher": "write_to_file|edit_file|run_command|bash",
"hooks": [
{
"name": "wiki-hard-gate",
"type": "command",
"command": "python3 /home/donghyeon/.gemini/antigravity-cli/hooks/wiki_hard_gate.py",
"description": "Enforces SKILL.md Output-Format Hard Gate (G1..G4) on writes to docs/superpowers/specs/*.md plus shell-redirect bypass guard.",
"timeout": 10000
},
{
"name": "wiki-claim-gate",
"type": "command",
"command": "python3 /home/donghyeon/dev/llm-wiki-private/.claude/hooks/wiki_claim_gate.py --antigravity",
"description": "Claim-traceability gate (Spec A/B) — same script as Claude/Codex, {decision} output.",
"timeout": 30000
},
{
"name": "wiki-structure-pre",
"type": "command",
"command": "python3 /home/donghyeon/dev/llm-wiki-private/.claude/hooks/wiki_structure_lint.py --pre --antigravity",
"description": "Structure pre-gate (Spec A) — blocks ghost wikilinks before write.",
"timeout": 30000
}
]
}
],
"BeforeTool": [
{
"matcher": "write_to_file|edit_file|run_command|bash|write_file|replace",
"hooks": [
{
"name": "wiki-hard-gate",
"type": "command",
"command": "python3 /home/donghyeon/.gemini/antigravity-cli/hooks/wiki_hard_gate.py",
"description": "Gemini CLI alias of the same hook — fires under BeforeTool naming.",
"timeout": 10000
},
{
"name": "wiki-claim-gate",
"type": "command",
"command": "python3 /home/donghyeon/dev/llm-wiki-private/.claude/hooks/wiki_claim_gate.py --antigravity",
"description": "Claim-traceability gate (BeforeTool alias).",
"timeout": 30000
},
{
"name": "wiki-structure-pre",
"type": "command",
"command": "python3 /home/donghyeon/dev/llm-wiki-private/.claude/hooks/wiki_structure_lint.py --pre --antigravity",
"description": "Structure pre-gate (BeforeTool alias).",
"timeout": 30000
}
]
}
],
"AfterTool": [
{
"matcher": "write_to_file|edit_file|write_file|replace",
"hooks": [
{
"name": "wiki-structure-hook",
"type": "command",
"command": "python3 /home/donghyeon/dev/llm-wiki-private/.claude/hooks/wiki_structure_lint.py --hook --antigravity",
"description": "Structure fix-up gate (Spec A) — completion-declared docs missing sections → deny→retry.",
"timeout": 30000
}
]
}
],
"AfterAgent": [
{
"matcher": "*",
"hooks": [
{
"name": "wiki-verdict-stats-gate",
"type": "command",
"command": "python3 /home/donghyeon/dev/llm-wiki-private/.claude/hooks/wiki_claim_gate.py --antigravity",
"description": "Judge verdict/stats schema gate (Spec B/C) — inspects prompt_response, malformed → deny→retry.",
"timeout": 10000
}
]
}
]
}
}