KeiSeiKit-1.0/hooks/post-commit-audit.sh
Parfii-bot a4e667de10 KeiSeiKit-public — clean state
Single-commit clean baseline after security scrub of niche-tells,
project codenames, internal jargon, and contributor-email leaks.

Contents:
- 100 Rust crates (_primitives/_rust/)
- 37 agent manifests (_manifests/) + generated specs (_generated/)
- 67 user-invocable skills (skills/)
- 33 hooks (hooks/)
- Composition blocks (_blocks/)
- Documentation (docs/, README.md)
- TS adapter packages (_ts_packages/)
- Assembler (_assembler/)
- Roles (_roles/)
- Templates (_templates/)
- Forgejo CI (.forgejo/)

Author: Denis Parfionovich <info@greendragon.info>

License: see LICENSE.
2026-05-01 12:09:03 +08:00

15 lines
791 B
Bash
Executable file

#!/bin/bash
# PostToolUse hook: after git commit, remind about double audit
CMD=$(cat | jq -r '.tool_input.command // empty' 2>/dev/null)
if echo "$CMD" | grep -qE 'git\s+commit'; then
echo ""
echo "═══════════════════════════════════════════════════"
echo " DOUBLE AUDIT REQUIRED (rules/double-audit.md)"
echo " Phase 1: review all changes (git diff)"
echo " Phase 2: verify Phase 1 findings"
echo " Phase 3: report to user BEFORE any fixes"
echo " DO NOT fix anything without user approval"
echo "═══════════════════════════════════════════════════"
echo ""
fi