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.
git clone --depth 1 https://github.com/watt-mind/factoryWrote 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.
[](https://agentmods.dev/commands/watt-mind/factory/factory-verify-deploy)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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)
- Resolve repo, target branch, expected SHA, and live URL:
- Read the repo entry from
config/repos.yaml: target branch isbasefor--env staging(or dev/integration) anddeploy_branchfor--env prod(when--envis omitted, inferprodwhen standing ondeploy_branchor targeting a-prod/ apex host, otherwisestaging). - Enforce the floor's Checkout freshness rule (
git fetch --quiet; fail closed ifgit fetchexits non-zero rather than trusting a stale working tree). Resolve<sha>from--shaorgit rev-parse origin/<branch>. - Resolve the live target URL from
--url,deployment.url, orsmoke_urlinconfig/repos.yamland repo docs. If the repo declares none ofdeployment.url,smoke_url,smoke_workflow, orpost_release_checks(and no--urlwas given), emitVERDICT: UNCONFIGUREDand stop rather than guessing a hostname.
- Read the repo entry from
- Wait on in-flight deploy or smoke workflows via REST:
- Select any deploy or
smoke_workflowrun for<sha>withgh 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 withgh run watch <run-id> --exit-status --interval 60. Neversleepand hope.
- Select any deploy or
- 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 bysmoke_deadline_seconds(default180s) until the live SHA matches<sha>. - Fail closed if the live revision stays on an older commit past the deadline or diverges (
VERDICT: BROKENwhen rollout stalled/crashed;VERDICT: DEGRADEDonly when the app exposes no machine-readable revision surface yet, which you must file toTriagein Gate 4) — never verify an old container and report the new commit green.
- Poll the live revision endpoint (
- Run deterministic post-release checks on prod:
- When verifying
prodand the repo configurespost_release_checksinconfig/repos.yaml, runfactory ship-chain --repo <name> --until post-releaseto execute the health, inventory, and sidecar checks against the live target.
- When verifying
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.
- 14d ago First seen · 74 lines · 23 tokens per session scan A 4d23e07c53fe
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.
factory-verify-deploy compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-verify-deploywatt-mind/factory | Command | 24 | today | Apache-2.0 | A | 23 | Claude Code |
| flow-nexus-app-storeruvnet/ruflo | Command | 83k | today | MIT | A | 13 | Claude Code |
| firebase-publishPierry/harness-kit | Command | 4 | 1mo ago | MIT | A | 20 | Claude Code |
| verify-workSienkLogic/plan-build-run | Command | 18 | 8mo ago | MIT | A | 7 | Claude Code |
| ts-healthvedanta/the-system | Command | 9 | 8mo ago | LGPL-3.0 | A | 0 | Claude Code |
| ts-status-pagevedanta/the-system | Command | 9 | 8mo ago | LGPL-3.0 | A | 0 | Claude Code |
| ts-teardownvedanta/the-system | Command | 9 | 8mo ago | LGPL-3.0 | A | 0 | Claude Code |