Shopify SaaS / Reliability
Publicly Released
RevenueGuard
A browser check is a signal. A confirmed incident needs evidence.
A Shopify application that follows purchase journeys, confirms functional failures and gives merchants evidence to investigate storefront, cart and checkout problems.

Project overview
An ecommerce homepage can be online while a customer cannot add a particular variant to the cart. RevenueGuard checks the interaction path rather than treating an HTTP response as proof that a store works.
The public Shopify listing establishes product availability. The screenshots here are development-store evidence, not customer adoption or recovered-revenue claims.
The business challenge
A transient browser failure and a genuine purchase blocker can look similar in a single test. Alerting on every failure creates noise; ignoring failures hides risk. Monitoring also needs to account for inventory restrictions, checkout safety and the exact product being tested.
The product solution
The system records a first failure, schedules a confirmation and compares the failing step and category. A compatible second failure opens an incident. A passing retry is transient; recovery requires a successful journey. This keeps the test result, incident decision and merchant-facing status distinct.
Ownership & boundaries
My role
Independent product architecture, design and full-stack implementation
- Define the monitoring model, merchant journeys and incident lifecycle.
- Build the React application, authenticated API, PostgreSQL model and separate browser worker.
- Implement Shopify connections, catalog synchronization, billing entitlements and notification delivery.
- Design repeatable fixture tests, operational diagnostics and evidence-based investigation.
System design
Technical architecture
- 01
Merchant application
React and Express manage authenticated workspaces, Shopify connections, monitors and plan entitlements.
- 02
Scheduler & leased jobs
PostgreSQL schedules work and leases execution; browser sessions do not hold long database transactions.
- 03
Isolated browser journey
Playwright follows the pinned product and variant through cart and permitted checkout steps.
- 04
Confirmation & evidence
Compatible failures confirm an incident. Screenshots, step results and target snapshots explain the outcome.
- 05
Merchant response
Notification delivery and bounded AI investigation help a merchant understand the evidence; they do not repair the store automatically.
Verified relationships
- React → Express: authenticated monitoring configuration
- Scheduler → PostgreSQL → worker: leased execution jobs
- Playwright → run evidence → confirmation: compatible failures become incidents
- Confirmed incident → notifications and AI investigation: explain the evidence
- Interface
- React · TypeScript · Vite
- Application
- Node.js · Express · Shopify APIs
- Data
- PostgreSQL · Prisma
- Execution
- Playwright · Chromium · PostgreSQL job queue
- Integrations
- OpenAI Responses API · Email · Slack · Webhooks
Implemented product workflows
Store and product protection
Catalog rotation and dedicated product monitors retain product and variant identity. Configuration and scheduling are separate from an immediate browser execution.
Checkout observation
Deep Checkout has explicit contact, delivery and payment-reached states. Payment controls are a terminal boundary: routine monitoring does not submit a payment or place an order.
Incident evidence and notifications
Runs, screenshots and diagnostic steps feed incident history and email, Slack or webhook notifications, subject to configuration and plan access.
Workspace and billing boundaries
Multi-store workspace access, membership and subscription entitlements govern access and monitoring capabilities.
Expected availability policy
An optional sold-out policy is implemented and fixture-tested. It compares Shopify Admin and storefront evidence for the same variant. Live-store verification remains a separate release check.
Merchant experience
The interface separates a store’s current protection state from an individual run and a confirmed incident. A merchant can move from a health summary to the affected product, see what failed and inspect evidence without interpreting raw browser logs.
A skipped expected-unavailable target is not presented as a successful purchase check. Unknown availability and contradictory inventory evidence remain distinguishable from healthy behavior.
Engineering decisions
Do not let confirmation drift to another product
Confirmation and recovery retain the target snapshot. Re-testing a different item would not establish whether the original failure persists.
Separate infrastructure failure from storefront failure
Worker leases and bounded infrastructure retries avoid converting a worker interruption into a merchant-facing purchase incident.
Keep browser automation within a safe boundary
Explicit checkout states and narrowly permitted interactions prevent broad click heuristics from progressing into payment or order submission.
Treat expected sold-out behavior conservatively
A disabled button alone does not establish intent. Matching product identities, inventory policy and storefront evidence must corroborate the restriction.
AI inside the product
RevenueGuard includes an OpenAI Responses API investigation adapter. It receives a bounded evidence bundle and approved sanitized screenshots, validates structured output, and presents findings and recommended actions. Evidence is treated as untrusted observations, not as instructions.
Investigation assists interpretation. It does not replace deterministic incident confirmation or authorize automatic store modifications. This product feature is separate from using AI coding agents during software development.
Security and verification
Shopify OAuth verifies HMAC and a single-use context-bound nonce. Stored offline credentials are encrypted. Evidence access is workspace-scoped, and browser targets pass network and navigation checks.
The source includes domain, security, database integration, checkout-state and Chromium fixture tests. Isolated storefront tests exercise failures without live merchant orders. These are engineering practices, not a claim of a formal security audit or universal theme compatibility.
Current product status
Publicly Released
Publicly listed on the Shopify App Store. The core product, browser engine and incident investigation are implemented. Individual source additions can have separate release gates; the expected-sold-out policy is identified above as fixture-tested work. No adoption, revenue recovery or production-scale metrics are asserted.
Product evidence
Inside RevenueGuard
Real interfaces, with context. Select an image to inspect it at full size.
Continue the conversation


