deploy-verify (escapeboy)
Reviewed
at commit feb212c
After a deploy command, runs 5 post-deploy checks from the project's .claude/deploy-verify.json and tells Claude the result.
0 upvotes
Log in to upvote or save- Made by
- escapeboy
- Pinned commit
-
feb212c3302ba0593aaccaae62c8b359b20e317f - What we checked
-
After a Bash command your project's .claude/deploy-verify.json calls a deploy, it runs up to five checks (homepage and endpoint requests, log tails over SSH or locally, an OPcache clear) and hands Claude the result. The config's commands only run after you read the file and type /deploy-verify trust, and again after any change to it. The URLs and server are your own.
Review details
Static review of the source at the pinned commit; not run. Registers the /deploy-verify command (session.start; arguments init and trust), hooks tool.call for Bash (after the command ran, it appends a context note to the tool result) and command.run. It searches the working directory and up to seven parents for .claude/deploy-verify.json, and /deploy-verify init writes a template there if none exists. If no config exists, a deploy-looking command only gets a reminder. With a config, the deploy regex patterns from the file are tested against each Bash command before the trust check, so a hostile config could contain a pathological regex; the checks themselves run only when the exact file content was approved with /deploy-verify trust (stored in $.store keyed by path, compared to the full content). Checks use $.http.fetch (GET only, no user data) for the homepage and endpoints, and $.process.run with an argument array for the log and OPcache commands: ssh -o BatchMode=yes <host> <cmd> (host may not start with a dash) or sh -c <cmd> locally when no host is set; the commands are whatever the approved config says (the template uses docker exec, php artisan and sudo -n tail). Log lines (error lines, up to 200 chars) and exit messages go to Claude and to $.ui.log. Nothing is sent to fixed hosts. No npm dependencies.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: yes
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/deploy-verify-escapeboy/)