← All Labs Lab 25 / 28 verify-deploy catches planted bugs
Lab 25 · Code & ship · Proposed

verify-deploy catches planted bugs

Run by our own coding agent against a small service with known planted violations, verify-deploy marks exactly the violated rules fail and the rest pass.

Proposed Needs: tool-calling Source: examples/25-verify-deploy-catches-planted-bugs

Not built yet. PROMPT.md is the prompt to build it from.

Split out of Lab 21, whose plan graded verify-deploy against specs it had just written itself, so a gate that passed everything would have looked fine. Here the ground truth is planted: a small habitat service with a spec pack of, say, six rules, two of which the code deliberately breaks.

The checks the build should end with:

CheckWhat it shows
run-is-validThe run directory under docs/runs/ passes check-specs.ts
catches-plantedBoth planted violations are fail
no-false-alarmsThe other four rules are pass

Offline it uses a scripted faux agent; the real question needs --live --model mycel:<id>.

Prompt

Coding-Agent Prompt · Ready to Paste
Build `examples/25-verify-deploy-catches-planted-bugs/run.ts`. Fixture: a tiny DurableHabitat service (health route, A2A behind a bearer token, a Mounted read-only dir) with a `docs/specs/` pack of six rules, where the code breaks two on purpose (for example /a2a accepts no token, and `write` into the Mounted dir succeeds); list the planted rule slugs in a fixture file the agent never sees. Copy fixture and the verify-deploy skill (`.agents/skills/verify-deploy/`) into a mkdtemp repo. Run umwelten's pi-durable coding agent (the session machinery in `packages/evaluation/src/coding/`) with the skill's instructions. Then print one PASS/FAIL line per check and exit 1 on any failure: run-is-valid (the new docs/runs/ directory passes check-specs); catches-planted (both planted slugs are "fail" in verdicts.jsonl); no-false-alarms (the other four are "pass"). Offline, script a faux agent; `--live --model mycel:<id>` runs a Mycel model (D-28). Strict TypeScript, no `any`. README frontmatter (status built) and FINDINGS.md.
Works in Pi, Claude Code, Codex & Antigravity Offline mock first → --live opt-in