Context
The normalize package (internal/normalize/) maps tool calls to 6 canonical action types (read, write, exec, git, net, dangerous). It has 0% test coverage.
Scope
Create internal/normalize/normalize_test.go testing action type classification for all 6 types across common tools (Bash, Write, Read, Git, Curl, etc.).
Why Now
Classification errors cascade into incorrect policy decisions. Test infra enables safe evolution of the normalization logic.
Context
The normalize package (
internal/normalize/) maps tool calls to 6 canonical action types (read, write, exec, git, net, dangerous). It has 0% test coverage.Scope
Create
internal/normalize/normalize_test.gotesting action type classification for all 6 types across common tools (Bash, Write, Read, Git, Curl, etc.).Why Now
Classification errors cascade into incorrect policy decisions. Test infra enables safe evolution of the normalization logic.