Two isolated agents for AI-written Shopify app code: one turns a requirement into a branch, the other checks it independently and has to prove every verdict with evidence.
AI writes code fast, but it is hard to know whether the code does what the ticket asked and whether it follows Shopify's Built for Shopify (BFS) rules. A model that reviews its own work tends to agree with itself.
Who has this problem: me and any small team building Shopify apps with AI, where nobody has time to re-read every line against a 60-item checklist.
Demo video (2–3 min on a test environment) comes with the next iteration.
Reviewers never see the developer's reasoning. They get the original requirement, the rules, the diff and their own test runs. The handoff file is passed as untrusted data.
Fail / conditional pass / pass is computed by code from fixed rules. The model only reports items and issues.
A pass without verifiable evidence (a file:line that exists, a test run, a screenshot, a measurement) becomes "not enough evidence". Issues without evidence are discarded but still shown.
Each rule set is a versioned JSON file with code, scope, check method and a flag for rules that need real production data. The finance rule set for project 03 swaps the reviewer scopes.
A diff scan flags removed assertions, deleted test files, .skip/.only and trivial asserts.
This is a first working build. Numbers marked pending have not been measured yet; they will be published as measured, including misses. Designed against Built for Shopify criteria — not BFS certified.
| What | Target | Now |
|---|---|---|
| Seeded-bug detection (20 PRs) | ≥ 80%, 100% of blockers | Not measured yet |
| Clean PRs failed (10 PRs) | ≤ 10% | Not measured yet |
| Same verdict on 3 runs | ≥ 90% of PRs | Not measured yet |
| Pass/issue with verifiable evidence | 100% | Enforced by code (unit tested) |
| Handoff claims tests pass, tests fail | Detected | Deterministic check in place |
| Weakened / skipped tests | Flagged | Caught .skip in the end-to-end mock run |
| Pipeline end to end | Runs | Mock run: 3 fix rounds, then escalated to a human |
AI cost per task and real build time will be added from the call logs (every model call records prompt version, tokens, latency and errors).
Drafted most TypeScript, the React screens, the rule-set JSON and the unit tests from my specifications.
Designed the two-agent split, the evidence policy, the verdict rules and the test-guard heuristics; reviewed and corrected the generated code; chose what the model is not allowed to decide.