kendex.ai83

Marketplaces / vanillagreencom/kendex / block-bare-cd

block-bare-cd

Refuse a command with a line that is only a `cd`. A here-document body is not judged because it is input to a command, not a line the shell runs. Where the shell persists across tool calls (Claude Code) a bare cd re-roots every later command and every hook that judges the working directory, while instruction files and hook paths stay with the launch directory; a cd into a worktree inside the repos

hook · @ 061cddb

Supported tools · not supported on:

  • Antigravity: Antigravity is reached only by a hook that names it in its harnesses line; its payload is not the tool_input shape a hook written for the other tools reads

Install in kendex: kendex add --hook block-bare-cd after subscribing to vanillagreencom/kendex.

This package carries no rendered README.