Skip to main content
← Back to list
01Issue
BugClosedSwamp CLIPublic
Assigneesstack72

Relationships

#1940 Pi missing from VALID_HOOK_TOOLS — audit hooks are a silent no-op

Opened by stack72 · 9/1/2026

Pi was added as a built-in AI tool in #2339 with full audit hook integration (HookTool type, normalizePi(), synthetic payload, doctor checks), but was not added to the VALID_HOOK_TOOLS array in src/cli/commands/audit.ts:87-93. This means swamp audit record --from-hook --tool pi silently rejects every hook payload from Pi's .pi/extensions/swamp-audit.ts extension, making the audit integration a no-op. Fix: add "pi" to VALID_HOOK_TOOLS. Discovered during triage of #1936.

02Bog Flow
OPENTRIAGEDIN PROGRESSCLOSED+ 1 MOREASSIGNEDCLASSIFICATION

Closed

9/1/2026, 11:20:16 PM

No activity in this phase yet.

03Sludge Pulse
stack72 assigned stack729/1/2026, 11:16:45 PM
Editable. Press Enter to edit.

stack72 commented 9/1/2026, 11:20:15 PM

Already added

Sign in to post a ripple.