Skip to content

Releases

0.6.1 — Turn-end rules run

Choose a tag to compare

@michealbenedict michealbenedict released this 25 Nov 17:04
3644635

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 a Stop hook. 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-cli 0.29.0 or newer.
  • Requires Claude Code 2.1.274 or newer.
  • Turn-end rules need stacktrace-cli 0.25.0 or newer. An older CLI lets
    the turn end.

0.6.0 — Codex injection blocks and Devin built-in calls

Choose a tag to compare

@gprasanth2 gprasanth2 released this 25 Nov 05:40
c86ccf8

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 and Bash result to the daemon, as the Claude Code
    hooks do. A later call that carries out an instruction from such a result
    then reaches stacktrace-injection-followed before 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 PreToolUse hook
    now also runs for exec, read, write, edit, apply_patch,
    notebook_read, notebook_edit, grep, glob, find_file_by_name,
    code_search, webfetch and web_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
    with curl, 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_process also reaches the hook, but no rule reads it yet.
  • Claude Cowork installs stacktrace-cli 0.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-cli to 0.29.0 before this plugin. With an older
    CLI, Codex's PostToolUse hook sends nothing, and Devin's built-in calls get
    no decision, so each call runs as before.
  • Codex asks again. The new PostToolUse hook 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 installs stacktrace-cli 0.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

Choose a tag to compare

@gprasanth2 gprasanth2 released this 21 Nov 19:58
946c69e

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-cli 0.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, Delete and Read calls to the policy hook. In live
    tests, a write of a token, a curl that 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-cli 0.28.0 reads no action from a Read
    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 add opencode/stacktrace.ts to the
    "plugin" list in opencode.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 installs stacktrace-cli 0.27.0.
  • Local Cowork tasks, Pi and OpenCode need stacktrace-cli 0.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, Write and Delete calls need stacktrace-cli
    0.22.0
    or newer. A Cursor Read is checked only by a stacktrace-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

Choose a tag to compare

@gprasanth2 gprasanth2 released this 19 Nov 23:21
29df0e0

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 install stacktrace-cli 0.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 a curl that 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-cli 0.27.0,
    which the zip installs. Organization settings > Capabilities > Code
    execution must keep network egress on and allow api.stacktrace.ai and
    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-read and stacktrace-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. The stacktrace-cli and 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

Choose a tag to compare

@vinodkone vinodkone released this 11 Nov 01:43
b9817d7

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). New PostToolUse and PostToolUseFailure hooks send the result
    of an MCP, Read, Grep, Glob, Bash, WebFetch, WebSearch, Agent,
    Task or 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 for stacktrace-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, Grep and Glob calls to the policy hook.
    stacktrace-secret-path-read already 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
    PreToolUse matcher adds apply_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
    beforeSubmitPrompt and Devin's UserPromptSubmit run the policy hook. A
    blocked Cursor prompt gets continue: 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-cli 0.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, Grep and Glob call 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+Enter while a tool
    runs skips the post-tool hook, so that result is not marked.
  • Codex stops running the Stacktrace PreToolUse hook 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-cli 0.23.0 or newer for native patch blocking. An
    older CLI gives no decision, and the patch continues.
  • Cursor prompt blocking needs stacktrace-cli 0.22.0 or newer.
  • Devin prompt blocking needs stacktrace-cli 0.24.0 or newer. No signed-in
    Devin session has confirmed that Devin stops a prompt on a block.
  • The other stacktrace-cli and 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 calls tools.apply_patch from code
    mode. A direct apply_patch call 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

Choose a tag to compare

@vinodkone vinodkone released this 08 Nov 00:33

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
    PreToolUse matcher adds Bash, 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 updated PreToolUse and
    SessionStart hooks as modified and the new UserPromptSubmit hook 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-cli 0.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-cli and Claude Code minimums are the same as in 0.4.1.
  • A native apply_patch call 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

Choose a tag to compare

@vinodkone vinodkone released this 02 Nov 06:54

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.sh with 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.log in 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-cli 0.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-cli and Claude Code minimums are the same as in 0.4.0.
  • Claude Code registration fails with stacktrace-cli 0.13.x. The script
    now passes --agent-kind, which the CLI accepts from 0.14.0. The log records
    the failure as register-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

Choose a tag to compare

@vinodkone vinodkone released this 02 Nov 00:05

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 PreToolUse hook
    now also covers Bash, Monitor, Write, Edit, MultiEdit,
    NotebookEdit, WebFetch and WebSearch. 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 as Read and Grep, do not run the
    hook. The hook also receives PowerShell, the shell tool of Claude Code on
    Windows. stacktrace-cli 0.19.0 does not classify PowerShell yet, so it
    gives such a call no decision, and the call runs.
  • Claude Code sends prompts to Fleet policy. A new UserPromptSubmit hook
    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 devin folder with Devin hooks
    (ADR-0012). SessionStart registers the project, and PreToolUse asks 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-cli 0.5.2 or newer for Claude Code.
  • Requires stacktrace-cli 0.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-cli 0.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 runs stacktrace 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_ROOT for plugin hooks. No
    signed-in Devin session has run this plugin yet.

0.3.3 — Cursor and Codex policy hooks

Choose a tag to compare

@gprasanth2 gprasanth2 released this 27 Oct 15:09
442cca3

0.3.3 — Cursor and Codex policy hooks

Highlights

  • Fleet policy in the Cursor CLI. The plugin now installs in the Cursor
    CLI. Its sessionStart hook registers the project with the Stacktrace
    daemon. Its beforeMCPExecution hook 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.
    SessionStart registers the project, and PreToolUse asks 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-cli 0.5.2 or newer for Claude Code.
  • Requires stacktrace-cli 0.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-27dcf5f and Codex 0.163.0 are the tested
    versions. The Cursor and Codex desktop apps are not tested.
  • The hooks, the monitor and the skills now look for stacktrace in an active
    virtualenv first, then in ~/.local/bin, then on PATH.