Repository navigation
v0.28.0
Install: npm i -g @stroq/cli@0.28.0, or npx @stroq/cli@latest init. Every change, with the reasons, is in the changelog.
Added
stroq inspect --changed-from <rev>fails a pull request that adds something an AI agent or an editor runs by itself. That covers agent hooks and the scripts they run, MCP servers, editor tasks that run when a folder opens, agent settings that change what runs or where traffic goes, new permission rules, dev container settings, install scripts, package manager config files, git hooks, hidden characters in instruction files, committed bare repositories, and links that lead out of the repository. It compares each entry with the base and fails on what is new or changed. Anything it cannot read, or has to cut short, fails the check too.--format githubwrites a job summary and annotations,--fail-on new|any|nonepicks what fails, exit 3 means the check could not run, and a folder that does not exist is now exit 2 (it was 1). Plainstroq inspectreads the same entries in a folder, with or without.git. The check errs toward failing: an honest change to one of these files fails it too, and docs/GUIDE.md lists each such case and what the check does not read yet.
Changed
stroq --helpis short: 16 lines and the 7 commands most people need, in two groups (Check and Guard).stroq help --alllists the other commands, one line each, grouped by job.hookandmcpare no longer listed, since Stroq writes them into your agent's config for you. No command was removed or renamed, andstroq <command> --helpstill prints every option. An unknown command now points atstroq help --all. The help forinit,addandproveis rewritten in plain words. The false-positive issue form asks for the agent, the Stroq version, the command and the output ofstroq why, and a new false-negative form is for something risky Stroq let through.stroq sentchecks every agent session on this machine and says where each of your keys went. It reads Claude Code (with subagents and the large outputs it saves), Codex and Cursor sessions, also underCLAUDE_CONFIG_DIR, and compares them with the keys in your.envfiles,~/.aws/credentials,~/.npmrc,~/.netrc, Docker config and environment. Each key it finds is listed once, under the most serious place it reached: sent to another company, maybe sent, seen by the AI, used with its own service, or blocked before it ran. "Used with its own service" needs a strict proof, and "seen by the AI" is a fact, not a promise that the key stayed anywhere: every report says that a script, a file or a variable can carry a key out unseen, and anything Stroq could not read or had to cut short is listed under "Not checked" and makes the report incomplete.sentwrites nothing and opens no connection.--herelimits it to this project,--countsprints numbers only for a fleet script, and--fail-if third-party|anysets the exit code (--fail-on-findingis--fail-if any). The--jsonreport has a new shape (stroq-sent/2); in--counts,found.model_onlyis nowfound.seenand the old name stays for one release.- The live egress guard knows more of your keys. It now also reads
.env.production.localand other.envnames with more dots,*.env,.envrc, and the folders above the project up to the repository root, and it reads a quoted value with a comment after it, both forms of an escaped value, and an AWS secret that starts with/. A password inside a database URL is a key forsentonly, so a command that uses the project's own database URL is not newly denied. - The Claude Code plugin no longer falls back to
@stroq/cli@latestwhile npm does not have the pinned version yet. It runs the previous release instead (STROQ_FALLBACK_PIN), so the code that guards your agent is always an exact version. The plugin also has its own README, saying what it runs, downloads and writes.