Дмитрий
b4fb2cece9
feat(router-stage3): Task 6 — router-tool-gate PreToolUse hook (warn-only)
- tools/router-tool-gate.mjs: PreToolUse hook читает state из
~/.claude/runtime/router-state-<session>.json, решает block/proceed
для Edit/Write/Bash (non-read-only). Escape hatch через HTML-тег
<!-- routing: direct_justified=true reason="..." -->. Режим
warn-only (default) / enforce через router-gate-mode.json.
- tools/router-tool-gate.test.mjs: 15 тестов GREEN (4 describe-блока:
isReadOnlyBash / decodeRoutingTag / shouldBlock / decideDecision).
- CLI guard: fileURLToPath(import.meta.url) — Windows-cyrillic quirk.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 11:05:00 +03:00
..
2026-05-23 10:16:32 +03:00
2026-05-23 09:46:28 +03:00
2026-05-23 09:41:48 +03:00
2026-05-23 12:09:55 +03:00
2026-05-17 04:54:43 +03:00
2026-05-19 16:23:51 +03:00
2026-05-19 16:23:52 +03:00
2026-05-19 16:23:45 +03:00
2026-05-24 06:56:37 +03:00
2026-05-24 06:56:37 +03:00
2026-05-19 07:29:43 +03:00
2026-05-19 07:29:43 +03:00
2026-05-24 06:49:47 +03:00
2026-05-24 06:49:47 +03:00
2026-05-21 09:59:56 +03:00
2026-05-21 09:59:56 +03:00
2026-05-20 13:47:43 +03:00
2026-05-19 07:36:21 +03:00
2026-05-19 07:36:21 +03:00
2026-05-23 13:38:54 +03:00
2026-05-23 13:38:54 +03:00
2026-05-21 06:06:25 +03:00
2026-05-21 06:06:25 +03:00
2026-05-21 06:06:26 +03:00
2026-05-21 06:06:26 +03:00
2026-05-23 09:41:48 +03:00
2026-05-19 13:39:09 +03:00
2026-05-19 13:39:09 +03:00
2026-05-24 07:09:19 +03:00
2026-05-21 09:59:56 +03:00
2026-05-21 09:59:56 +03:00
2026-05-23 13:49:42 +03:00
2026-05-23 13:49:42 +03:00
2026-05-19 10:27:23 +03:00
2026-05-19 06:36:13 +03:00
2026-05-19 06:36:13 +03:00
2026-05-23 12:26:24 +03:00
2026-05-23 12:26:24 +03:00
2026-05-23 13:22:55 +03:00
2026-05-23 13:22:55 +03:00
2026-05-21 06:06:27 +03:00
2026-05-21 06:06:27 +03:00
2026-05-19 10:27:23 +03:00
2026-05-19 10:27:23 +03:00
2026-05-23 13:32:55 +03:00
2026-05-23 13:32:55 +03:00
2026-05-23 13:32:55 +03:00
2026-05-23 13:32:55 +03:00
2026-05-23 14:18:52 +03:00
2026-05-23 19:50:37 +03:00
2026-05-23 14:26:34 +03:00
2026-05-23 14:31:34 +03:00
2026-05-24 06:45:27 +03:00
2026-05-24 06:45:27 +03:00
2026-05-24 10:40:20 +03:00
2026-05-24 10:54:48 +03:00
2026-05-24 10:18:22 +03:00
2026-05-24 10:28:31 +03:00
2026-05-24 10:28:31 +03:00
2026-05-24 10:40:20 +03:00
2026-05-24 11:05:00 +03:00
2026-05-24 11:05:00 +03:00
2026-05-15 15:28:18 +03:00
2026-05-15 15:28:18 +03:00
2026-05-15 17:25:09 +03:00
2026-05-15 17:25:09 +03:00
2026-05-15 15:34:33 +03:00
2026-05-15 15:34:33 +03:00
2026-05-24 07:03:41 +03:00
2026-05-24 07:03:41 +03:00
2026-05-18 10:17:04 +03:00
2026-05-18 10:18:54 +03:00
2026-05-20 10:32:31 +03:00