these 6 derivations will be built: /nix/store/0kz172zq8d0c4vy2ik221495whvg5fqg-hooks.json.drv /nix/store/kbvygp2gxjjgqkdqk35a89qhvlbqvb59-plugin.json.drv /nix/store/rf5wgc15cyk49f5mrdqka12i9fjq1lpd-claude-code-jj-guard.drv /nix/store/dx90fbz481q2rijj77vfyp0kqlsga7fr-pretooluse-hooks-check.drv /nix/store/k73lvpyrban5dx2kl94kvs9ra1g1n2l6-home-manager-evaluation.drv /nix/store/f815fy7lm5k3zk8qj8i0v57q60j9z1ly-home-manager-check.drv building '/nix/store/k73lvpyrban5dx2kl94kvs9ra1g1n2l6-home-manager-evaluation.drv' building '/nix/store/0kz172zq8d0c4vy2ik221495whvg5fqg-hooks.json.drv' home-manager-evaluation> structuredAttrs is enabled hooks.json> structuredAttrs is enabled building '/nix/store/kbvygp2gxjjgqkdqk35a89qhvlbqvb59-plugin.json.drv' plugin.json> structuredAttrs is enabled building '/nix/store/rf5wgc15cyk49f5mrdqka12i9fjq1lpd-claude-code-jj-guard.drv' building '/nix/store/dx90fbz481q2rijj77vfyp0kqlsga7fr-pretooluse-hooks-check.drv' pretooluse-hooks-check> FAIL jj-guard: denies git commit [socket]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies git commit [socket +200ms]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies git commit [file]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies chained git push [socket]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies chained git push [socket +200ms]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies chained git push [file]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> ok jj-guard: allows read-only git [socket] pretooluse-hooks-check> ok jj-guard: allows read-only git [socket +200ms] pretooluse-hooks-check> ok jj-guard: allows read-only git [file] pretooluse-hooks-check> FAIL jj-guard: denies git push from Nushell [socket]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies git push from Nushell [socket +200ms]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies git push from Nushell [file]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies nested git commit from Nushell [socket]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies nested git commit from Nushell [socket +200ms]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> FAIL jj-guard: denies nested git commit from Nushell [file]: stderr should be empty; expected decision deny pretooluse-hooks-check> stdout: "{\"hookSpecificOutput\":{\"hookEventName\":\"PreToolUse\",\"permissionDecision\":\"ask\",\"permissionDecisionReason\":\"The jj write guard could not inspect this command: External command failed. Confirm before running it.\"}}\n" pretooluse-hooks-check> stderr: "guard-git-writes: External command failed\n" pretooluse-hooks-check> ok jj-guard: allows read-only git from Nushell [socket] pretooluse-hooks-check> ok jj-guard: allows read-only git from Nushell [socket +200ms] pretooluse-hooks-check> ok jj-guard: allows read-only git from Nushell [file] pretooluse-hooks-check> ok jj-guard: allows ls [socket] pretooluse-hooks-check> ok jj-guard: allows ls [socket +200ms] pretooluse-hooks-check> ok jj-guard: allows ls [file] pretooluse-hooks-check> ok jj-guard: asks on malformed JSON [socket] pretooluse-hooks-check> ok jj-guard: asks on malformed JSON [socket +200ms] pretooluse-hooks-check> ok jj-guard: asks on malformed JSON [file] pretooluse-hooks-check> ok jj-guard: asks on empty stdin [socket] pretooluse-hooks-check> ok jj-guard: asks on empty stdin [socket +200ms] pretooluse-hooks-check> ok jj-guard: asks on empty stdin [file] pretooluse-hooks-check> ok copilot-guard: denies git reset [socket] pretooluse-hooks-check> ok copilot-guard: denies git reset [socket +200ms] pretooluse-hooks-check> ok copilot-guard: denies git reset [file] pretooluse-hooks-check> ok copilot-guard: allows jj status [socket] pretooluse-hooks-check> ok copilot-guard: allows jj status [socket +200ms] pretooluse-hooks-check> ok copilot-guard: allows jj status [file] pretooluse-hooks-check> ok prefer-nushell: denies ls [socket] pretooluse-hooks-check> ok prefer-nushell: denies ls [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies ls [file] pretooluse-hooks-check> ok prefer-nushell: denies a bare true probe [socket] pretooluse-hooks-check> ok prefer-nushell: denies a bare true probe [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies a bare true probe [file] pretooluse-hooks-check> ok prefer-nushell: denies a text pipeline [socket] pretooluse-hooks-check> ok prefer-nushell: denies a text pipeline [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies a text pipeline [file] pretooluse-hooks-check> ok prefer-nushell: points an interpreter read at the Read tool [socket] pretooluse-hooks-check> ok prefer-nushell: points an interpreter read at the Read tool [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: points an interpreter read at the Read tool [file] pretooluse-hooks-check> ok prefer-nushell: denies prefixed rg [socket] pretooluse-hooks-check> ok prefer-nushell: denies prefixed rg [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies prefixed rg [file] pretooluse-hooks-check> ok prefer-nushell: denies command substitution [socket] pretooluse-hooks-check> ok prefer-nushell: denies command substitution [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies command substitution [file] pretooluse-hooks-check> ok prefer-nushell: denies a foreground nix build [socket] pretooluse-hooks-check> ok prefer-nushell: denies a foreground nix build [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies a foreground nix build [file] pretooluse-hooks-check> ok prefer-nushell: denies a background nix build [socket] pretooluse-hooks-check> ok prefer-nushell: denies a background nix build [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies a background nix build [file] pretooluse-hooks-check> ok prefer-nushell: denies a background ci land after cd [socket] pretooluse-hooks-check> ok prefer-nushell: denies a background ci land after cd [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies a background ci land after cd [file] pretooluse-hooks-check> ok prefer-nushell: leaves another background command to Jev [socket] pretooluse-hooks-check> ok prefer-nushell: leaves another background command to Jev [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: leaves another background command to Jev [file] pretooluse-hooks-check> ok prefer-nushell: leaves sudo nix to Jev [socket] pretooluse-hooks-check> ok prefer-nushell: leaves sudo nix to Jev [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: leaves sudo nix to Jev [file] pretooluse-hooks-check> ok prefer-nushell: passes on Jev's denial [socket] pretooluse-hooks-check> ok prefer-nushell: passes on Jev's denial [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: passes on Jev's denial [file] pretooluse-hooks-check> ok prefer-nushell: asks when Jev fails [socket] pretooluse-hooks-check> ok prefer-nushell: asks when Jev fails [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: asks when Jev fails [file] pretooluse-hooks-check> ok prefer-nushell: asks when Jev is missing [socket] pretooluse-hooks-check> ok prefer-nushell: asks when Jev is missing [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: asks when Jev is missing [file] pretooluse-hooks-check> ok prefer-nushell: stays silent on a deferred call without Jev [socket] pretooluse-hooks-check> ok prefer-nushell: stays silent on a deferred call without Jev [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: stays silent on a deferred call without Jev [file] pretooluse-hooks-check> ok prefer-nushell: denies text tools in the background [socket] pretooluse-hooks-check> ok prefer-nushell: denies text tools in the background [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies text tools in the background [file] pretooluse-hooks-check> ok prefer-nushell: denies a foreground jj log [socket] pretooluse-hooks-check> ok prefer-nushell: denies a foreground jj log [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies a foreground jj log [file] pretooluse-hooks-check> ok prefer-nushell: leaves sudo to Jev [socket] pretooluse-hooks-check> ok prefer-nushell: leaves sudo to Jev [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: leaves sudo to Jev [file] pretooluse-hooks-check> ok prefer-nushell: denies a text tool under sudo [socket] pretooluse-hooks-check> ok prefer-nushell: denies a text tool under sudo [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies a text tool under sudo [file] pretooluse-hooks-check> ok prefer-nushell: logs PostToolUse silently [socket] pretooluse-hooks-check> ok prefer-nushell: logs PostToolUse silently [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: logs PostToolUse silently [file] pretooluse-hooks-check> ok prefer-nushell: exempts jev [socket] pretooluse-hooks-check> ok prefer-nushell: exempts jev [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: exempts jev [file] pretooluse-hooks-check> ok prefer-nushell: exempts an iwe heredoc [socket] pretooluse-hooks-check> ok prefer-nushell: exempts an iwe heredoc [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: exempts an iwe heredoc [file] pretooluse-hooks-check> ok prefer-nushell: denies a text tool before iwe [socket] pretooluse-hooks-check> ok prefer-nushell: denies a text tool before iwe [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: denies a text tool before iwe [file] pretooluse-hooks-check> ok prefer-nushell: asks on malformed JSON [socket] pretooluse-hooks-check> ok prefer-nushell: asks on malformed JSON [socket +200ms] pretooluse-hooks-check> ok prefer-nushell: asks on malformed JSON [file] pretooluse-hooks-check> ok jev: ignores other tools [socket] pretooluse-hooks-check> ok jev: ignores other tools [socket +200ms] pretooluse-hooks-check> ok jev: ignores other tools [file] pretooluse-hooks-check> ok jev: withholds credentials [socket] pretooluse-hooks-check> ok jev: withholds credentials [socket +200ms] pretooluse-hooks-check> ok jev: withholds credentials [file] pretooluse-hooks-check> ok jev: asks on blank command [socket] pretooluse-hooks-check> ok jev: asks on blank command [socket +200ms] pretooluse-hooks-check> ok jev: asks on blank command [file] pretooluse-hooks-check> ok jev: asks on malformed JSON [socket] pretooluse-hooks-check> ok jev: asks on malformed JSON [socket +200ms] pretooluse-hooks-check> ok jev: asks on malformed JSON [file] pretooluse-hooks-check> ok prefer-nushell: logs 69 requests pretooluse-hooks-check> ok prefer-nushell: asks Jev about only the 21 deferred calls pretooluse-hooks-check> ok stop-hook: stays silent when switched off pretooluse-hooks-check> ok stop-hook: stays silent when a Stop hook is already active pretooluse-hooks-check> ok stop-hook: stays silent for a session without Bash requests pretooluse-hooks-check> ok stop-hook: stays silent for a session with only a no-op probe pretooluse-hooks-check> ok stop-hook: raises new use cases pretooluse-hooks-check> ok stop-hook: raises each use case once pretooluse-hooks-check> ok agent-trust: leaves a malformed payload to the user pretooluse-hooks-check> ok agent-trust: applies floors before Jev pretooluse-hooks-check> ok agent-trust: asks during a cold start pretooluse-hooks-check> ok agent-trust: asks when evidence is too thin for the tier pretooluse-hooks-check> ok agent-trust: approves a trusted class pretooluse-hooks-check> ok agent-trust: leaves a matter of intent to the user pretooluse-hooks-check> ok agent-trust: only records in shadow mode pretooluse-hooks-check> ok agent-trust: records the run that answers a dialog pretooluse-hooks-check> ok agent-trust: ignores a run without a dialog pretooluse-hooks-check> 123/135 hook cases passed error: Cannot build '/nix/store/dx90fbz481q2rijj77vfyp0kqlsga7fr-pretooluse-hooks-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/9ngrcj8r1s65as1k4fn77xh580p6s86g-pretooluse-hooks-check Last 25 log lines: > ok jev: withholds credentials [file] > ok jev: asks on blank command [socket] > ok jev: asks on blank command [socket +200ms] > ok jev: asks on blank command [file] > ok jev: asks on malformed JSON [socket] > ok jev: asks on malformed JSON [socket +200ms] > ok jev: asks on malformed JSON [file] > ok prefer-nushell: logs 69 requests > ok prefer-nushell: asks Jev about only the 21 deferred calls > ok stop-hook: stays silent when switched off > ok stop-hook: stays silent when a Stop hook is already active > ok stop-hook: stays silent for a session without Bash requests > ok stop-hook: stays silent for a session with only a no-op probe > ok stop-hook: raises new use cases > ok stop-hook: raises each use case once > ok agent-trust: leaves a malformed payload to the user > ok agent-trust: applies floors before Jev > ok agent-trust: asks during a cold start > ok agent-trust: asks when evidence is too thin for the tier > ok agent-trust: approves a trusted class > ok agent-trust: leaves a matter of intent to the user > ok agent-trust: only records in shadow mode > ok agent-trust: records the run that answers a dialog > ok agent-trust: ignores a run without a dialog > 123/135 hook cases passed For full logs, run: nix log /nix/store/dx90fbz481q2rijj77vfyp0kqlsga7fr-pretooluse-hooks-check.drv error: Cannot build '/nix/store/f815fy7lm5k3zk8qj8i0v57q60j9z1ly-home-manager-check.drv'. Reason: 1 dependency failed. Output paths: /nix/store/0g7xck04z231ayfjmp909fsgja55hlnb-home-manager-check