From af15e8a413b9439d410fe0576916fc2bcc80c7a1 Mon Sep 17 00:00:00 2001 From: Kenny Date: Sun, 19 Apr 2026 12:38:27 +0800 Subject: [PATCH] docs(agents): align root hook tier count with 51-hook inventory --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 6e16a91e1..70aac6e4a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -104,7 +104,7 @@ Fields: agents (14 overridable, 21 fields each), categories (8 built-in + custom - **Test pattern**: Bun test (`bun:test`), co-located `*.test.ts`, given/when/then style (nested describe with `#given`/`#when`/`#then` prefixes or inline `// given` / `// when` / `// then` comments) - **CI test split**: `script/run-ci-tests.ts` auto-detects `mock.module()` usage, isolates those tests in separate processes - **Factory pattern**: `createXXX()` for all tools, hooks, agents -- **Hook tiers**: Session (24) → Tool-Guard (14) → Transform (5) → Continuation (7) → Skill (2) +- **Hook tiers**: Session (23) → Tool-Guard (14) → Transform (5) → Continuation (7) → Skill (2) - **Agent modes**: `primary` (respects UI model) vs `subagent` (own fallback chain) vs `all` - **Model resolution**: 4-step: override → category-default → provider-fallback → system-default - **Config format**: JSONC with comments, Zod v4 validation, snake_case keys