Library / protocol / Shopify (Agent Factories, walgit & Verification)

Shopify Nov 2026: Agent factories, walgit TLA+ specs, deepsec and UCP shifts

Public Nov 2026 teardown of Shopify’s verification-first agent tooling: tobi/walgit Rust + 164 TLA+ cases + VOPR simulation, Reflex/Helix/CCM/Overexposed patterns, pi-coding-agent 1.6.0 migration, deepsec 2.3.16 scanner boundaries, and Nov 2026 UCP ask_business / security deadlines.

Contract model · conceptual sequence, not a claim about internal deployment
  1. walgit Rust + 164 TLA+ cases + VOPR simulation
  2. Reflex / Helix / TPI judge / deepsec refusal audit
  3. pi 1.6.0 RPC + UCP ask_business + Dec/Jan app gates
01 / EMPIRICAL RECORD

Investigation question

How do Shopify’s Nov 2026 open-source tools (walgit, shopify-storefront-ux-sdk), engineering writeups (Reflex, Helix, Cyber Chaos Monkey, Overexposed), @earendil-works/pi-coding-agent, vercel-labs/deepsec, and UCP/MCP platform updates standardize verification-first agent factories?

02 / EMPIRICAL RECORD

Observed

Public inspection of tobi/walgit (68.5k Rust lines), tobi/shopify-storefront-ux-sdk, Shopify Engineering’s November 2026 technical posts (Reflex, Helix, Cyber Chaos Monkey, Overexposed), npm packages (@shopify/ai-toolkit@2.4.0, @shopify/dev-mcp@1.19.0, @shopify/shop@1.3.0, @shopify/cli@5.0.2, @earendil-works/pi-coding-agent@1.6.0, Shopify/roast@v1.4.1), vercel-labs/deepsec@2.3.16, and live mcp.shop.com / shopify.dev changelogs reveals a sharp pivot toward deterministic verification fences. In tobi/walgit, strict Cargo/Clippy denies (unwrap_used, expect_used, panic, indexing_slicing, await_holding_lock) pair with 164 TLA+/TLC protocol cases across 13 bounded models (WALContract.tla; noting fresh checkouts fail JAR SHA-256 verification on v1.8.0 tla2tools.jar per issue #71) and a TigerBeetle VOPR-style FaultStore simulator (sim.rs). Likewise, shopify.engineering details Reflex (headless Elm Core + newline JSON CLI running 1,700+ cross-platform tests in ~4 min), Helix (4-gate checkpoint loops), Cyber Chaos Monkey (Two-Person Integrity judge sidecar tearing down pods on RoE violations), and Overexposed (mutation-testing guards). Across agent harnesses, @earendil-works/pi-coding-agent@1.6.0 supersedes deprecated @mariozechner/pi-coding-agent (33 RPC commands), while vercel-labs/deepsec@2.3.16 introduces 14 resumable FileRecord subcommands, a post-batch refusal audit turn, and out-of-VM credential brokering—while leaving the default codex backend workspace-write/danger-full-access and loading CWD configs prior to sandboxing (requiring trusted isolated runners). On the platform side, Nov 11 2026 deprecates Storefront MCP search_shop_policies_and_faqs (/api/mcp, sunset 2027-01-15) in favor of UCP ask_business (/api/ucp/mcp), expands mcp.shop.com to 22 tools (adding ask_business, get_order, and create_spend_permission), and rolls out Dec 2026 / Jan 2027 app IP allowlists, [network_access] rules, expiring offline tokens, and Level 2 PCD gates.

03 / EMPIRICAL RECORD

Inferred

Four engineering lessons carry across agent factories: (1) invest in strict static compilers, formal TLA+ state machines, headless JSON introspection CLIs (Reflex), and mutation-testing checks (Overexposed) rather than human-only code review over sprawling abstractions; (2) keep stock deepsec@2.3.16 strictly advisory on untrusted branches unless wrapped by an outer host orchestrator that brokers credentials, pins non-symlink diffs, and preserves refusal-history audit; (3) pair client-side storefront agent hints (tobi/shopify-storefront-ux-sdk data-agent-confirm and cancelable source="agent" events) with authoritative server-side checkout confirmation; and (4) migrate Storefront FAQ queries onto UCP dev.ucp.common.ask (/api/ucp/mcp) before the 2027-01-15 sunset.

04 / METHODOLOGICAL BOUNDARY

Unknown & limitations

This public-repository, npm-package, and engineering-blog analysis does not expose Shopify’s proprietary World monorepo VCS, internal River/Jev/Tardis/Helix/Scout/Dispatch codebases, Cyber Chaos Monkey judge weights, or internal traffic benchmarks beyond published figures.

05 / EMPIRICAL RECORD

Architecture

Combines object-store VCS + TLA+/VOPR fault simulation (tobi/walgit), headless Elm/JSON introspection (Reflex), Two-Person Integrity sandbox enforcement (Cyber Chaos Monkey), read-only vs sandboxed multi-backend vulnerability scanning (deepsec + pi-coding-agent 1.6.0), and UCP-first storefront/consumer MCP boundaries.

06 / EMPIRICAL RECORD

Domain & data models

WALContract.tla models 13 distributed state protocols (BatchPublication, LogSlotClaim, PackCoverage, SnapshotAuthority, etc.); deepsec models append-only per-file FileRecord locks (finding_<sha256>, refusalReportSchema); shopify-storefront-ux-sdk annotates primitives with agent.actions and data-agent-confirm; and UCP 2026-08-25 models dev.ucp.common.ask.

07 / EMPIRICAL RECORD

Workflows & state machines

Verification runs state-machine extraction -> TLA+ / VOPR simulation -> strict compiler denies -> adversarial revalidation (dropping false positives >50% in deepsec); UCP ask_business resolves /.well-known/ucp -> attaches ucp-agent profile on tools/list and tools/call -> reads structuredContent.answer.plain; and Dec 2026/2027 Shopify App policies phase in IP allowlists, [network_access] TOML, expiring offline tokens, and L2 PCD.

08 / EMPIRICAL RECORD

API & protocol surfaces

@earendil-works/pi-coding-agent@1.6.0 (33 JSONL RPC commands), @shopify/ai-toolkit@2.4.0 (bundled 1.26 MB Theme Check), @shopify/dev-mcp@1.19.0 (5 tools, 92 gzipped schemas), @shopify/shop@1.3.0 (2.13 MB shop.wasm, shop ask / shop order get), @shopify/cli@5.0.2 (138 oclif commands), Shopify/roast@v1.4.1, and 22-tool https://mcp.shop.com/ + /api/ucp/mcp ask_business.