Skip to content

v0.28.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 07:14
· 67 commits to main since this release
5058dd1

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 github writes a job summary and annotations, --fail-on new|any|none picks what fails, exit 3 means the check could not run, and a folder that does not exist is now exit 2 (it was 1). Plain stroq inspect reads 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 --help is short: 16 lines and the 7 commands most people need, in two groups (Check and Guard). stroq help --all lists the other commands, one line each, grouped by job. hook and mcp are no longer listed, since Stroq writes them into your agent's config for you. No command was removed or renamed, and stroq <command> --help still prints every option. An unknown command now points at stroq help --all. The help for init, add and prove is rewritten in plain words. The false-positive issue form asks for the agent, the Stroq version, the command and the output of stroq why, and a new false-negative form is for something risky Stroq let through.
  • stroq sent checks 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 under CLAUDE_CONFIG_DIR, and compares them with the keys in your .env files, ~/.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. sent writes nothing and opens no connection. --here limits it to this project, --counts prints numbers only for a fleet script, and --fail-if third-party|any sets the exit code (--fail-on-finding is --fail-if any). The --json report has a new shape (stroq-sent/2); in --counts, found.model_only is now found.seen and the old name stays for one release.
  • The live egress guard knows more of your keys. It now also reads .env.production.local and other .env names 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 for sent only, 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@latest while 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.