Repository navigation
glassbox 0.2.0
Changes
glassbox 0.2.0 adds watch: it captures the machine's state the moment a local AI agent goes wrong.
watchfollows a local agent session transcript (Claude Code by default) from its end. When the agent repeats an identical tool call 4 times in a row, produces more than 16,000 output tokens in one response, or fails 5 tool calls in a row, it writes a capture holding:- the trigger;
- the persistence points added or changed since watching began;
- the repository's uncommitted file names (
--repo); - the agent's process tree (
--pid).
--pausestops the agent so you can look before it continues; resume it withkill -CONT.--oncescans a past session and exits 1 if anything would have fired.- Thresholds are configurable. With the defaults, ten real sessions produced no false triggers.
- Content is never copied. Transcripts are read for structure only (tool names, argument hashes, token counts, error flags), so their content never appears in output or captures.
- Planted files can't redirect writes. Capture directories and files are always created new.
watch is inspired by Sysinternals ProcDump's dump-on-trigger. glassbox is an independent, clean-room project, not affiliated with Microsoft.
Install
Download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.2.0-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.2.0-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.2.0-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.2.0-aarch64-unknown-linux-gnu.tar.gz |
The macOS binary is not notarized. If it was downloaded with a browser, clear the quarantine flag with xattr -d com.apple.quarantine glassbox, or build from source with cargo install --git https://github.com/jacob-adm/glassbox --tag v0.2.0.
Not on crates.io yet.