repro: add logging to PolicyEngine and HookRunner conversion

This commit is contained in:
Taylor Mullen
2026-02-10 09:18:49 -08:00
parent 06f9479ac2
commit 0c04bc4cf6
2 changed files with 13 additions and 6 deletions
+3
View File
@@ -441,6 +441,9 @@ export class HookRunner {
text: string,
exitCode: number,
): HookOutput {
if (process.env['CI'] === 'true' || process.env['VERBOSE'] === 'true') {
console.log(`[HookRunner] convertPlainTextToHookOutput: exitCode=${exitCode}, text="${text}"`);
}
if (exitCode === EXIT_CODE_SUCCESS) {
// Success - treat as system message or additional context
return {