KeiSeiKit-1.0/_blocks/rule-double-audit.md
Parfii-bot 0be354a920 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

8 lines
750 B
Markdown

# DOUBLE AUDIT PROTOCOL (mandatory when 3+ files touched)
1. **Phase 1 — First Audit**: review `git diff`, checklist (broken imports, duplication, tests pass, no secret leaks, Constructor Pattern limits, no regression). Record findings. **NEVER FIX IMMEDIATELY.**
2. **Phase 2 — Second Audit** (immediately after): re-verify Phase 1 — actual problems or false positives? What else was missed? Side effects of planned fixes? Variant analysis. Prioritize.
3. **Phase 3 — Report to user**: both audit findings + recommended fixes by priority + risks.
4. **Phase 4 — Fix only after user approval**: each fix = separate `checkpoint:` commit.
**Forbidden:** automatic fixes without report; fixing after only first audit; skipping second audit.