HF RL Explorer

Block rm Commands with an InfCode Bash Hook

Block rm Commands with an InfCode Bash Hook: a task in UXInteract 0.1 (Harbor dataset). In /app/.infcode/settings.json , register the PreToolUse hook in review hook spec.json with matcher Bash . Preserve unrelated settings and hooks; do not write .infcode/settings.local.json . Put the Node.js…

The task

In `/app/.infcode/settings.json`, register the `PreToolUse` hook in `review_hook_spec.json` with matcher `Bash`. Preserve unrelated settings and hooks; do not write `.infcode/settings.local.json`. Put the Node.js script under `.infcode/hooks/`, with command `node "$INFCODE_PROJECT_DIR/.infcode/hooks/<script>.js"` and…

Part of Lego-X/UXInteract.