Skip to content

Add test coverage for normalize package #4

@jpleva91

Description

@jpleva91

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-humanBoth platforms failed, needs human interventionsprintCurrent sprinttriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions