Repository navigation
0.4.0 — Built-in tools, prompts and Devin reach Fleet policy
0.4.0 — Built-in tools, prompts and Devin reach Fleet policy
Fleet policy now reaches the built-in tools and the prompts of Claude Code.
A Block on a detection rule stops a shell command, a file write or a prompt
before it runs. The plugin also ships hooks for Devin.
Highlights
- Claude Code sends built-in tools to Fleet policy. The
PreToolUsehook
now also coversBash,Monitor,Write,Edit,MultiEdit,
NotebookEdit,WebFetchandWebSearch. A detection rule with a Block
entry stops such a call before it runs. Examples are a credential sent out by
curl, a recursive delete of the folder that holds the workspace, and a key
written to a file. Read-only tools, such asReadandGrep, do not run the
hook. The hook also receivesPowerShell, the shell tool of Claude Code on
Windows.stacktrace-cli0.19.0 does not classifyPowerShellyet, so it
gives such a call no decision, and the call runs. - Claude Code sends prompts to Fleet policy. A new
UserPromptSubmithook
lets a Block on credentials in prompts or personal data in prompts stop the
prompt before the model reads it. - Fleet policy in Devin. The plugin has a
devinfolder with Devin hooks
(ADR-0012).SessionStartregisters the project, andPreToolUseasks the
daemon about each MCP call. Fleet's MCP default decides each call. The hooks
run in local Devin sessions only: the CLI and Devin Desktop. Install the
folder from a release tag, as the README describes.
Install
Claude Code:
/plugin marketplace add stacktrace-ai/stacktrace-plugin
/plugin install stacktrace@stacktrace
Existing installations update with claude plugin update stacktrace@stacktrace
or with marketplace auto-update. Restart Claude Code to apply the update.
Cursor CLI:
agent plugin marketplace add github.com/stacktrace-ai/stacktrace-plugin --git-ref v0.4.0
Codex CLI: follow the "Codex CLI policy hooks" section of the README.
Devin: follow the "Devin policy hooks" section of the README, with the tag
v0.4.0.
Compatibility
- Requires
stacktrace-cli0.5.2 or newer for Claude Code. - Requires
stacktrace-cli0.19.0 or newer for built-in tool and prompt
decisions in Claude Code, and for the Devin hooks. An older CLI may give no
decision, and then the call or the prompt continues. - Requires
stacktrace-cli0.17.0 or newer for the Cursor and Codex policy
hooks. - Requires Claude Code 2.1.274 or newer for policy admission hooks.
- More calls run the hook. Each built-in tool call above and each prompt
now runsstacktrace remote policy hooks admit. For these, the CLI sends the
call's input or the prompt text to the local daemon. That text does not go
to Fleet. Only the finding of a block does. - Devin CLI 3000.11.92 or newer sets
PLUGIN_ROOTfor plugin hooks. No
signed-in Devin session has run this plugin yet.