# The Q/A Layer for the AI Coding Era <!-- ref: @content/youtube/yc-root-access/2026-03-23-the-q-a-layer-for-the-ai-coding-era tags: [functional testing, AI development, verification, truth-driven development, software quality] triggers: [code generation outpaces testing, need for real-user verification, high regression rates, testing infrastructure inefficiencies] trigger_prompt: When the volume of generated code exceeds the capacity for reliable testing, leading to concerns about product quality and user experience. version: 3 updated_at: 2026-10-31T19:03:59.773Z --> Weiwei & Jeff (YC Root Access, 2026-03-23): Weiwei and Jeff argue that as AI coding agents drive the volume of generated code up exponentially, the bottleneck moves from *writing* code to *verifying* it — and an agent cannot credibly grade its own homework. *Synthesized from Weiwei and Jeff, co-founders of Momentic, on YC Root Access, 2026-03-23.* Weiwei and Jeff are the co-founders of Momentic (YC Winter 2024), an AI functional-testing platform that just raised a $50M Series A led by Standard Capital and now processes over a million test runs per day for customers including Notion, Bilt, Quora, and Xero. ## Core Thesis Weiwei and Jeff argue that as AI coding agents drive the volume of generated code up exponentially, the bottleneck moves from *writing* code to *verifying* it — and an agent cannot credibly grade its own homework. Their bet is that the artifact engineers own shifts from code to a plain-English spec describing user journeys, success criteria, and edge cases, with code demoted to an implementation detail; the spec becomes the source of truth, and an external system executes against it in a real browser to prove the product actually works. Weiwei calls this "truth-driven development" and positions Momentic as the closed feedback loop between coding agents and reality. ## Key Insights - **Testing has always failed on incentives, not tooling.** Jeff ran testing infrastructure at Robinhood as the engineering org grew from 300 to over 1,000 engineers — his job was eight people trying to convince the other thousand to write and maintain tests, chasing 80% code coverage at a 90% pass rate. It was effectively impossible because tests aren't customer-visible, don't demo well, and don't show up on performance reviews. - **Code review and linters check form; functional testing checks reality.** Linters enforce patterns, human and AI reviewers (Cursor Bugbot, Reptile) inspect the diff — none of them confirm the deployed product works. Momentic does functional testing: impersonating a user, clicking through real flows in a real browser. - **Speed is the product constraint.** Momentic's average test step runs in under 300 milliseconds, versus the sluggishness of pointing Claude Code's browser extension at a bug. General-purpose coding agents also aren't optimized for browser use and frequently assume their own work is correct when it isn't. - **Hard UI is the moat.** Rich text editors, drag-and-drop builders, and canvas-based apps are exactly where generic browser agents fall over; Momentic specialized its agents for these, plus a debuggability UX that surfaces which element was interacted with and what the page state was, with agents that auto-diagnose failures. - **"Just have Cursor write Playwright" doesn't scale.** Jeff's counter: you end up with 100,000 lines of Playwright, and one meaningful feature change means hunting down and updating 50,000 of them. Momentic instead maintains the source of truth over time and proactively suggests updates — "you added this new UI component, was that intentional?" — rather than burning 200,000 tokens of Cursor credits per session on test maintenance. - **MCP puts verification inside the inner loop.** Customers wire Momentic into Cursor and Claude Code via its MCP integration so the coding agent writes and runs real-browser tests *while* building a feature, not after. - **Accountability doesn't delegate.** Weiwei's framing: you can't tell a customer an SLA breach happened because you vibe-coded it with Claude Code and you'll revert the PR. The product owner remains responsible, which is why an external verifier is structurally necessary. - **The Notion story was a DM, not a sales cycle.** Simon at Notion tweeted a wish for describe-it-and-test-it tooling; commenters recommended Momentic; Weiwei DM'd him at 10pm from San Francisco, sent a Loom of himself testing his own Notion workspace, and onboarded him that night. A broader POC followed. Notion came off manual testing plus a large Selenium suite — notoriously flaky because of XPath and selector targeting, and brutal against Notion's rich text editor and everything-is-a-database model. Notion now runs close to half a million Momentic test runs a day, and Momentic tests must pass before an engineer can merge a PR. - **ROI has two lenses, and only one is the North Star.** Developer hours saved versus Selenium/Cypress/Playwright is the easy number; the real measure is how many regressions and SEVs never reach end customers. - **Truth-driven vs. code-as-truth.** If production code is the source of truth, then your bugs are part of the spec by definition. Weiwei's alternative: a human collaborating with AI specs out user journeys, flows, success criteria, and edge cases; code becomes one implementation of that truth. - **Engineering judgment survives the shift.** Jeff argues technical expertise stays valuable in non-code dimensions — integration with other systems, third-party dependencies, scalability, and taste. His example: taste is the gap between a ChatGPT-generated Figma look-alike and actual Figma. - **AI is a multiplier, not a floor-raiser.** Jeff's LinkedIn-post formulation: Codex only makes you a 10x engineer if you already were one. Adaptability, comfort with ambiguity, curiosity, and product intuition remain the hiring bar. - **Fundraising rationale and structure.** They raised at the point they had a repeatable sales motion, to scale engineering and go-to-market. Standard Capital's process ran fast and applied online, YC-style; instead of a board member, Momentic sits in a peer group of similar-stage Series A companies for board meetings. - **Seed-stage hiring was the hardest problem.** Jeff cites the pull of foundational model labs and the noise of a crowded AI seed market. Their answer was process investment: multiple conversations before any formal interview, an intentional onsite, and a one-day work trial, then in-depth team retros and retreats after joining. The team is 13, with radical candor — direct feedback without being a jerk — as the stated cultural core. ## Actionable Takeaways 1. **Treat verification as a distinct stack layer.** Keep linters for patterns and AI/human code review for the diff, then add a functional layer that drives a real browser through user flows — those three answer different questions and don't substitute for each other. 2. **Wire the verifier into the agent loop via MCP.** Rather than trusting Claude Code or Cursor to self-certify, expose the test runner as a tool the agent must call mid-feature so browser-level verification happens during development. 3. **Make passing functional tests a merge gate.** Notion's setup — Momentic tests must pass before any engineer merges a PR — is the enforceable version of "the agent built what I asked for." 4. **Don't let agents generate raw Playwright as your durable test asset.** Generated E2E code becomes a six-figure-line maintenance liability the first time a feature meaningfully changes; keep the source of truth in a layer that self-maintains and proposes updates. 5. **Write the spec, not the test script.** Describe flows in plain English — the same way you'd brief a manual tester — including success criteria and edge cases, and let that spec drive both what gets built and what gets verified. 6. **Pick your ROI metric before the pilot.** Engineer-hours saved versus a legacy Selenium/Cypress suite is the entry argument; regressions and SEVs prevented from reaching customers is what you actually optimize. 7. **If you're an engineer learning to sell, burn cohorts deliberately.** Weiwei's advice: you can't learn by watching someone else sell — accept that early cohorts get mishandled and some never come back, and get the reps in. 8. **Over-invest in hiring process when your brand can't compete with the labs.** Multiple pre-interview conversations, a deliberate onsite, and a one-day paid work trial, followed by structured retros and retreats. ## Notable Quotes > "I would be disappointed if in 3 to 6 months I'm still reviewing TypeScript or React code." — Weiwei > "I can't really trust Claude Code or Cursor to tell me themselves. I need a third external source of truth for verifying that." — Weiwei > "Codex only makes you a 10x engineer if you weren't a 10x engineer to begin with." — Jeff > "Now you have 100,000 lines of Playwright code, and whenever you change your feature, now you have 50k lines you have to find and update." — Jeff > "Every software that's ever going to be built now and in the future will need to be verified." — Weiwei > "Are these bugs also part of your source of truth? Is that how your product is supposed to behave?" — Weiwei --- *Related: `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@content/youtube/tiago-forte/i-connected-claude-to-everything-then-i-saw-the-gap` · `@content/youtube/nate-herk/how-anthropic-engineers-actually-prompt-fable-5` · `@content/youtube/nate-herk/how-claude-is-creating-a-new-generation-of-millionaires` · `@content/youtube/nate-herk/5000-hours-of-building-ai-in-just-17-minutes`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*