factory-verify-deploy

factory-verify-deploy is a command for Claude Code from watt-mind/factory. It costs 23 tokens per session (1,855 once invoked), scanned A, original, Apache-2.0.

A live-deployment verification command that checks whether the expected code reached an environment and whether key runtime, telemetry, container, browser, and user or API flows work. A deployment is a published version of an application running somewhere users or services can reach.

In plain words
What is it for?
It verifies the deployed commit, checks runtime and telemetry errors, and exercises changed browser and API paths in staging or production. It can target a repository, environment, commit, pull request, issue, or URL.
Why use it?
A successful deploy command does not prove that the right commit is serving traffic or that the changed journeys work. These checks turn rollout, error, and end-to-end evidence into a concrete verdict.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

Part of the core plugin — 38 skills, 22 commands, 5 agents, 1 hook shipped together

Good fit It verifies the deployed commit, checks runtime and telemetry errors, and exercises changed browser and API paths in staging or production. It can target a repository, environment, commit, pull request, issue, or URL.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/watt-mind/factory/factory-verify-deploy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/watt-mind/factory

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 38 skills, 22 commands, 5 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for factory-verify-deploy

README.md
[![agentmods](https://agentmods.dev/badge/commands/watt-mind/factory/factory-verify-deploy/github.svg)](https://agentmods.dev/commands/watt-mind/factory/factory-verify-deploy)
Your own site
<a href="https://agentmods.dev/commands/watt-mind/factory/factory-verify-deploy"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-verify-deploy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for factory-verify-deploy

Your own site · 80×15
<a href="https://agentmods.dev/commands/watt-mind/factory/factory-verify-deploy"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-verify-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,855 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.01855
Opus 5.5 $0.00009 $0.00742
Sonnet 5.5 $0.00005 $0.00371
Haiku 4.5 $0.00002 $0.00186

Measured 14d ago against content hash 4d23e07c53fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

factory-verify-deploy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/core/commands/factory-verify-deploy.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Verify that a live deployment actually rolled out the expected commit, runs free of container, telemetry, and browser runtime errors, and serves its changed user and API journeys end-to-end.

Run this command standalone after a deploy or composed inside /factory-merge (auto-deployed staging/dev base) and /factory-ship (deploy_branch production). The operator is AFK by default — execute all four gates to a concrete verdict without pausing for mid-run confirmation prompts.

Interpret $ARGUMENTS as an optional repo name from config/repos.yaml (default: the repository matching the current checkout), --env staging|prod, --sha <commit>, --pr <N> or <ISSUE-ID>, and --url <url>.

Gate 1 — Rollout & Revision Proof (Mechanical)

  1. Resolve repo, target branch, expected SHA, and live URL:
    • Read the repo entry from config/repos.yaml: target branch is base for --env staging (or dev/integration) and deploy_branch for --env prod (when --env is omitted, infer prod when standing on deploy_branch or targeting a -prod / apex host, otherwise staging).
    • Enforce the floor's Checkout freshness rule (git fetch --quiet; fail closed if git fetch exits non-zero rather than trusting a stale working tree). Resolve <sha> from --sha or git rev-parse origin/<branch>.
    • Resolve the live target URL from --url, deployment.url, or smoke_url in config/repos.yaml and repo docs. If the repo declares none of deployment.url, smoke_url, smoke_workflow, or post_release_checks (and no --url was given), emit VERDICT: UNCONFIGURED and stop rather than guessing a hostname.
  2. Wait on in-flight deploy or smoke workflows via REST:
    • Select any deploy or smoke_workflow run for <sha> with gh run list --workflow <wf> --commit <sha> --json databaseId --limit 1 (retrying on a bounded condition poll up to ~2 minutes if the workflow run lags the push) and block with gh run watch <run-id> --exit-status --interval 60. Never sleep and hope.
  3. Prove live revision convergence:
    • Poll the live revision endpoint (/version.json, factory status --repo <name> --json, or the app's documented revision/build response header) on a short interval bounded by smoke_deadline_seconds (default 180s) until the live SHA matches <sha>.
    • Fail closed if the live revision stays on an older commit past the deadline or diverges (VERDICT: BROKEN when rollout stalled/crashed; VERDICT: DEGRADED only when the app exposes no machine-readable revision surface yet, which you must file to Triage in Gate 4) — never verify an old container and report the new commit green.
  4. Run deterministic post-release checks on prod:
    • When verifying prod and the repo configures post_release_checks in config/repos.yaml, run factory ship-chain --repo <name> --until post-release to execute the health, inventory, and sidecar checks against the live target.

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago First seen · 74 lines · 23 tokens per session scan A 4d23e07c53fe

Subscribe to this mod's changes

factory-verify-deploy is a command published in the GitHub repository watt-mind/factory (24 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 1,855 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-16.

Related

factory-verify-deploy compared with commands from other repositories

factory-verify-deploy next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-verify-deploywatt-mind/factoryCommand24todayApache-2.0A23Claude Code
flow-nexus-app-storeruvnet/rufloCommand83ktodayMITA13Claude Code
firebase-publishPierry/harness-kitCommand41mo agoMITA20Claude Code
verify-workSienkLogic/plan-build-runCommand188mo agoMITA7Claude Code
ts-healthvedanta/the-systemCommand98mo agoLGPL-3.0A0Claude Code
ts-status-pagevedanta/the-systemCommand98mo agoLGPL-3.0A0Claude Code
ts-teardownvedanta/the-systemCommand98mo agoLGPL-3.0A0Claude Code