Repository navigation
Releases
0.6.1 — Turn-end rules run
0.6.1 — Turn-end rules run
Custom rules that judge the agent's reply now run in Claude Code and Codex.
A slow policy decision no longer lets a call through.
Highlights
- Turn-end rules run (stacktrace ADR-0232). Claude Code and Codex now
send each finished turn to the daemon through aStophook. Before, a
custom rule on the agent's reply never ran. - A slow policy decision does not let a call through. The hooks for tool
calls, prompts and finished turns now wait 40 seconds. The CLI waits up to
25 seconds for a policy engine decision. Before, the hook stopped after 5
seconds and the call continued.
Install
/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.
Compatibility
- Requires
stacktrace-cli0.29.0 or newer. - Requires Claude Code 2.1.274 or newer.
- Turn-end rules need
stacktrace-cli0.25.0 or newer. An older CLI lets
the turn end.
0.6.0 — Codex injection blocks and Devin built-in calls
0.6.0 — Codex injection blocks and Devin built-in calls
Fleet's Block for an injected instruction now stops a Codex call before it
runs. Fleet's Block now stops Devin's shell commands, file reads, writes and
edits, searches and web calls. Claude Cowork tasks install stacktrace-cli
0.29.0. Both new hooks need stacktrace-cli 0.29.0 or newer.
Highlights
- Codex injection blocks (stacktrace ADR-0281). A new Codex
PostToolUse
hook sends each MCP andBashresult to the daemon, as the Claude Code
hooks do. A later call that carries out an instruction from such a result
then reachesstacktrace-injection-followedbefore it runs, so Fleet's
Block stops it. Before, the finding came only after the call. - Devin built-in calls (stacktrace ADR-0285). Devin's
PreToolUsehook
now also runs forexec,read,write,edit,apply_patch,
notebook_read,notebook_edit,grep,glob,find_file_by_name,
code_search,webfetchandweb_search. A Block entry stops a call that
its rule finds. Before, Devin's hook ran only for MCP calls and prompts. On
2026-11-25, live suite runs on Devin CLI 3000.14.30821 blocked a token sent
withcurl, a token written to a file, a delete of a home folder, a.env
read, a planted git alias, an unknown package install and a sent IBAN.
write_to_processalso reaches the hook, but no rule reads it yet. - Claude Cowork installs
stacktrace-cli0.29.0. The zip's hooks install
0.29.0 in each cloud task. That release adds the branded hook notices and
the session context for the policy engine's judge.
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.
stacktrace setup from stacktrace-cli 0.29.0 installs or updates the plugin
for Claude Code and Codex, and for Devin when Devin is signed in.
Cursor CLI:
agent plugin marketplace add github.com/stacktrace-ai/stacktrace-plugin --git-ref v0.6.0
Claude Cowork: an Owner runs the command in the README's "Claude Cowork"
section, then uploads ~/Downloads/stacktrace-cowork.zip in the organization
settings and sets it to Required.
Compatibility
- Upgrade
stacktrace-clito 0.29.0 before this plugin. With an older
CLI, Codex'sPostToolUsehook sends nothing, and Devin's built-in calls get
no decision, so each call runs as before. - Codex asks again. The new
PostToolUsehook changes the plugin's hooks,
so Codex asks you to approve them again. - Build and upload a new Cowork zip. A zip keeps the plugin version it was
built from, so an old zip still installsstacktrace-cli0.28.0. - The minimums for the rest of the plugin do not change:
stacktrace-cli
0.5.2 or newer, and Claude Code 2.1.274 or newer for the policy hooks.
0.5.0 — Local Cowork tasks, Cursor built-in calls, Pi and OpenCode
0.5.0 — Local Cowork tasks, Cursor built-in calls, Pi and OpenCode
Stacktrace now checks Claude Cowork tasks that run on the person's Mac. Fleet
policy now applies to Cursor's shell commands, writes and deletes. Cursor's
reads go to the hook too, but only a stacktrace-cli newer than 0.28.0
checks them. Pi and OpenCode can install the plugin's policy hook.
Highlights
- Local Claude Cowork tasks (ADR-0015). A local Cowork task runs Claude
Code on the person's Mac. Its hooks use the CLI that the Stacktrace
installer or MDM put on the Mac, and the zip installs nothing there. Fleet
names each finding "Claude Cowork". With the MDM key
requireCoworkFullVmSandbox, Claude Code runs in the VM on the Mac, and
the zip sets up that VM as it sets up a cloud task. We did not test that
setting in the desktop app. - Cowork installs
stacktrace-cli0.28.0. The zip's hooks install
0.28.0 in each cloud task. That release also stops a blocked prompt from
marking an earlier, allowed send of the same text as blocked. - Cursor built-in calls (ADR-0016). The Cursor hooks file now sends
Shell,Write,DeleteandReadcalls to the policy hook. In live
tests, a write of a token, acurlthat sends a token and a piped install
script were denied in the Cursor CLI. Before, only MCP calls and prompts
went to the hook.stacktrace-cli0.28.0 reads no action from aRead
call, so the read runs (see Compatibility). - Pi and OpenCode. This repository is now a Pi package that loads only
the Stacktrace extension:
pi install git:github.com/stacktrace-ai/stacktrace-plugin@v0.5.0.
For OpenCode, clone the tag and addopencode/stacktrace.tsto the
"plugin"list inopencode.json. Each blocks tool calls, MCP calls and
messages that Fleet policy blocks. See "Pi policy hooks" and "OpenCode
policy hooks" in the README.
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.5.0
Claude Cowork: an Owner runs the command in the README's "Claude Cowork"
section, then uploads ~/Downloads/stacktrace-cowork.zip in the organization
settings and sets it to Required. Local tasks also need Stacktrace on each
Mac, connected to Fleet.
Compatibility
- Build and upload a new Cowork zip. A zip keeps the plugin version it
was built from, so an old zip still installsstacktrace-cli0.27.0. - Local Cowork tasks, Pi and OpenCode need
stacktrace-cli0.28.0 or
newer on the computer. With an older CLI, a local Cowork task shows as
Claude Code, and Pi's and OpenCode's checks fail open, so the call runs. - Cursor's
Shell,WriteandDeletecalls needstacktrace-cli
0.22.0 or newer. A CursorReadis checked only by astacktrace-cli
newer than 0.28.0. 0.28.0 reads no action from it, and the read runs. - The minimums for the rest of the plugin do not change:
stacktrace-cli
0.5.2 or newer, and Claude Code 2.1.274 or newer for the policy hooks.
0.4.4 — Claude Cowork tasks
0.4.4 — Claude Cowork tasks
An organization Owner can now build a Stacktrace zip for Claude Cowork. Each
Cowork task then installs the CLI, connects to Fleet and applies the
organization's policy. The plugin for Claude Code, Codex, Cursor and Devin
does not change.
Highlights
- Claude Cowork (ADR-0014). Cowork runs each task in a new cloud VM and
has no setup script, so the Owner uploads a plugin zip and marks it
Required. One command builds the zip with the organization's Fleet token:
see the "Claude Cowork" section of the README. In each task, the zip's
hooks installstacktrace-cli0.27.0, save the token and start the
daemon. A hook that decides waits until the daemon holds the policy, so
the first prompt of a task is checked. In live tests, a prompt with a
secret, a write of a key and acurlthat sends a key were blocked. Fleet
names each finding "Claude Cowork", with the person. - Fast after a VM restart. Cowork restarts the VM during a task, and the
daemon stops with it. The next deciding hook waits about 2 to 3 seconds,
and the first prompt of a new task about 8 seconds.
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.4
Claude Cowork: an Owner runs the command in the README's "Claude Cowork"
section, then uploads ~/Downloads/stacktrace-cowork.zip in the organization
settings and sets it to Required.
Compatibility
- Cowork needs a Team or Enterprise plan and
stacktrace-cli0.27.0,
which the zip installs. Organization settings > Capabilities > Code
execution must keep network egress on and allowapi.stacktrace.aiand
stacktrace.ai. If not, the task continues without checks, and session
start shows one line that names the setting. - Build and upload a new zip after each plugin release, and when you
rotate the token. A zip keeps the plugin version it was built from. - The zip holds an organization Fleet token. Use a token for Cowork
only. Rotate it when a member who had the zip leaves. - In Cowork,
stacktrace-secret-path-readandstacktrace-persistence-planted
detect and report, but Fleet cannot block them yet. - The plugin for Claude Code, Codex, Cursor and Devin is the same as in
0.4.3. Thestacktrace-cliand Claude Code minimums are the same as in
0.4.3.
0.4.3 — Prompt injection Block, Codex native patches, and Cursor and Devin prompts
0.4.3 — Prompt injection Block, Codex native patches, and Cursor and Devin prompts
A Fleet Block entry for prompt injection now stops the call in Claude Code
before it runs. A detection rule set to Block also stops a Codex edit made
with the native apply_patch tool, before its file is written, and a Cursor
or Devin prompt.
Highlights
- Claude Code sends tool results for prompt injection (stacktrace
ADR-0223). NewPostToolUseandPostToolUseFailurehooks send the result
of an MCP,Read,Grep,Glob,Bash,WebFetch,WebSearch,Agent,
Taskor other reading tool to the local daemon. The daemon keeps only
keyed hashes of the values that a result names, and only while the
organization has a Block entry forstacktrace-injection-followed. A later
call that carries a value only a planted instruction named is denied
before it runs, and the agent asks the person. The hook never blocks and
prints nothing. - Claude Code sends
Read,GrepandGlobcalls to the policy hook.
stacktrace-secret-path-readalready reads their paths, but the plugin did
not send them. A Block entry now stops such a call before it runs. - Codex sends native patches to the Stacktrace hook. The Codex
PreToolUsematcher addsapply_patch. A detection rule with a Block
entry stops a patch that writes a credential, plants a start-up command or
changes an agent's settings. Before, the edit was written and the scan
found it after the fact. - Cursor and Devin send prompts to the Stacktrace hook. Cursor's
beforeSubmitPromptand Devin'sUserPromptSubmitrun the policy hook. A
blocked Cursor prompt getscontinue: false, and Cursor shows the reason.
A failed or older CLI adds no block.
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.3
Codex CLI: follow the "Codex CLI policy hooks" section of the README. After
the update, review the Stacktrace hooks in /hooks, or run the installer
again, which trusts the installed Stacktrace hooks.
Devin: follow the "Devin policy hooks" section of the README, with the tag
v0.4.3.
Compatibility
- Prompt injection Block needs
stacktrace-cli0.25.0 or newer. An older
CLI ignores the tool results, so the rule's Block denies nothing. Upgrade
the CLI before this plugin, then restart the daemon. - Each
Read,GrepandGlobcall in Claude Code now starts the hook
twice, before and after the call. Each start runs the CLI once. - Before Claude Code 2.1.319, ending the turn with
Ctrl+Enterwhile a tool
runs skips the post-tool hook, so that result is not marked. - Codex stops running the Stacktrace
PreToolUsehook after the update
until you trust it again. Its matcher changed, so Codex reports the hook
as modified, and it runs only trusted hooks. Until then, no Codex tool call
is decided. Review the hooks in/hooks, or run the installer again. - Requires
stacktrace-cli0.23.0 or newer for native patch blocking. An
older CLI gives no decision, and the patch continues. - Cursor prompt blocking needs
stacktrace-cli0.22.0 or newer. - Devin prompt blocking needs
stacktrace-cli0.24.0 or newer. No signed-in
Devin session has confirmed that Devin stops a prompt on a block. - The other
stacktrace-cliand Claude Code minimums are the same as in 0.4.2. - Native patch blocking is verified only from Codex code mode. The tests
use Codex 0.166.0, where the model callstools.apply_patchfrom code
mode. A directapply_patchcall outside code mode is not tested. - Each Codex native patch now runs the hook. The CLI sends the patch text
to the local daemon. That text does not go to Fleet. Only the finding of a
block does.
0.4.2 — Codex shell commands and prompts reach Fleet policy
0.4.2 — Codex shell commands and prompts reach Fleet policy
A detection rule set to Block now stops a Codex shell command and a Codex
prompt, as it does in Claude Code.
Highlights
- Codex sends shell commands to the Stacktrace hook. The Codex
PreToolUsematcher addsBash, the name Codex gives its shell tool at the
hook, also for a patch sent through the shell. A detection rule with a Block
entry, such as credential egress, stops the command before it runs. - Codex sends prompts to the Stacktrace hook. A new
UserPromptSubmit
handler runs the same command. A blocked prompt reaches no model.
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.2
Codex CLI: follow the "Codex CLI policy hooks" section of the README. After
the update, review the Stacktrace hooks in /hooks, or run the installer
again, which trusts the installed Stacktrace hooks.
Devin: follow the "Devin policy hooks" section of the README, with the tag
v0.4.2.
Compatibility
- Codex stops running the Stacktrace hooks after the update until you trust
them again. Codex 0.166.0 reports the updatedPreToolUseand
SessionStarthooks as modified and the newUserPromptSubmithook as
untrusted, and it runs only trusted hooks. Until then, no Codex call or
prompt is decided, MCP calls included. Review the hooks in/hooks, or run
the installer again. - Requires
stacktrace-cli0.22.0 or newer for Codex shell command and prompt
blocking. An older CLI gives no decision, and the command or the prompt
continues. - The other
stacktrace-cliand Claude Code minimums are the same as in 0.4.1. - A native
apply_patchcall is not sent. Its hook input is not yet seen.
An edit made with it is found after the fact, not blocked. - Each Codex prompt now runs the hook. The CLI sends the prompt text to
the local daemon. That text does not go to Fleet. Only the finding of a
block does.
0.4.1 — Session start runs the same on every host and logs its failures
0.4.1 — Session start runs the same on every host and logs its failures
Claude Code, Codex, Cursor and Devin now run one session start script. A
session start that fails now leaves one line that names the host and the step.
Highlights
- One session start script on every host (ADR-0013). Before, only Claude
Code ran the session start script. Codex, Cursor and Devin ran the
registration alone, with no time limit and no diagnosis. Now every host runs
scripts/session_start.shwith its agent kind. The script registers the
session under a 5-second limit, then checks the CLI and the daemon socket. - Session start failures are logged. Each failure adds one line to
session-start.login the Stacktrace state directory: the time, the agent
kind, the step and a fixed reason. Examples are a missing CLI, a CLI that is
too old, a registration timeout and an unreachable daemon. A healthy session
writes nothing.stacktrace-cli0.19.1 writes its own failures to the same
file. - Codex shows session start warnings. Codex now shows a warning when the
CLI or the daemon is missing. Cursor and Devin show nothing, because their
hook documentation does not say that such a message is shown.
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.1
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.1.
Compatibility
- The
stacktrace-cliand Claude Code minimums are the same as in 0.4.0. - Claude Code registration fails with
stacktrace-cli0.13.x. The script
now passes--agent-kind, which the CLI accepts from 0.14.0. The log records
the failure asregister-exit 2. Upgrade the CLI. - Codex, Cursor and Devin can wait up to 5 seconds for the daemon socket
at session start, as Claude Code already does. The Codex hook time limit
goes from 5 to 15 seconds.
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.
0.3.3 — Cursor and Codex policy hooks
0.3.3 — Cursor and Codex policy hooks
Highlights
- Fleet policy in the Cursor CLI. The plugin now installs in the Cursor
CLI. ItssessionStarthook registers the project with the Stacktrace
daemon. ItsbeforeMCPExecutionhook asks the daemon about each MCP call.
A call to a server that Fleet blocks is denied, and the denial names the
Fleet rule. Cursor's own approval decides every other call. Cursor installs
the plugin from a release tag (ADR-0011). - Fleet policy in the Codex CLI. The plugin now carries Codex hooks.
SessionStartregisters the project, andPreToolUseasks the daemon about
each MCP call. Codex runs the hooks only after you trust them in/hooks. - Coverage. In Cursor and Codex, the hooks cover MCP tools, including the
servers that a plugin bundles. They add no notification monitor and no
skill admission. Claude Code coverage does not change.
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.3.3
Then run agent and type /plugin. Open the Marketplace tab, select
stacktrace and choose Install. To move to a later release, run the same
command with the new tag.
Codex CLI: follow the "Codex CLI policy hooks" section of the README.
Compatibility
- Requires
stacktrace-cli0.5.2 or newer for Claude Code. - Requires
stacktrace-cli0.17.0 or newer for the Cursor and Codex policy
hooks. An older CLI rejects their commands, and the call continues with no
policy decision. - Requires Claude Code 2.1.274 or newer for policy admission hooks.
- The Cursor CLI
2026.10.22-27dcf5fand Codex0.163.0are the tested
versions. The Cursor and Codex desktop apps are not tested. - The hooks, the monitor and the skills now look for
stacktracein an active
virtualenv first, then in~/.local/bin, then onPATH.