From b9efbe7c84fff581182346e25682a3838b450334 Mon Sep 17 00:00:00 2001 From: Yakob Dereje Date: Wed, 18 Feb 2026 22:11:29 +0300 Subject: [PATCH] docs: force add hooks directory for interim submission --- src/hooks/README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/hooks/README.md diff --git a/src/hooks/README.md b/src/hooks/README.md new file mode 100644 index 0000000000..7a769b0b17 --- /dev/null +++ b/src/hooks/README.md @@ -0,0 +1,7 @@ +# Hooks Directory + +This directory is reserved for the Hook Engine. + +### Implementation Note: + +[cite_start]For the Phase 1 Handshake, the **Pre-Hook** logic (The Gatekeeper) has been integrated directly into `src/core/tools/WriteToFileTool.ts` and `ExecuteCommandTool.ts`. [cite_start]This ensures deterministic enforcement of the **Two-Stage State Machine**, preventing any file modifications unless a valid Intent ID is globally active.