Skip navigation
you blocked git push for your test-runner subagent
0:00 / 3:23

you blocked git push for your test-runner subagent

Lagosaur

@0xLagosaur3.6K followers

Visit on X
59 likesDownloadOriginal post

10,759 views

you blocked git push for your test-runner subagent took away its entire shell one line in the agent file: disallowedTools: Bash(git push *) the docs are specific, a rule like that in disallowedTools removes the whole tool, not the one command so the agent whose only job is running your tests has nothing left to run them with and the file still looks exactly as careful as you meant it to be if you want the terminal minus one command, block it in a hook inside the same file: PreToolUse, matcher Bash, command: jq -r '.tool_input.command' | grep -q 'git push' && exit 2 || exit 0 it keeps its shell the push stays yours

3 Comments

Comments from the original post on X (Twitter)

  • 摸鱼中's profile picture

    @RizkyHidayat1

    tensorrt 转完之后掉精度了吗,掉多少,这个变化得看

    1 like

  • Maria Hall's profile picture

    @MariaHall794008

    he made friends with the corgis at the parking lot for a solid half hour

  • Elizabeth Thompson's profile picture

    @ElizabethT54929

    emulation is fine but nothing beats the real buttons