Codex Goal Mode Took My Funnel App to Launch-Ready
Jul 2026 · AI & ProductivityFunnelFlow is a side project from February. It's a drag-and-drop marketing funnel mapper built on React Flow and Firebase, meant as a free alternative to Funnelytics. A collaborator and I got it to a working canvas editor, then life moved on and the repo sat idle for four months.
This week I tried something new with it. I gave Codex CLI's goal mode one instruction, "get this app ready for a public launch," and mostly stayed out of the way.
What Goal Mode Changes
Normal AI coding is a back-and-forth. You ask for a change, review it, and ask for the next one.
In goal mode you describe the finished state and the agent breaks it into tasks. It plans the milestones, does the work, checks its own output, and keeps going until the goal is met or it needs a decision only you can make. I wasn't asking it to write a function. I was asking it to get the whole repo to something I could launch.
Launch prep suits this well. It's forty small, boring jobs that people put off (legal pages, SEO metadata, analytics wiring, security rules, empty states, error retries), and an agent doesn't get bored.
What It Shipped
The working tree now holds roughly 20,000 changed lines. The highlights:
- A public landing page, a blog with three SEO articles, a privacy policy, and terms of service. They're all lazy-loaded routes, so the editor bundle stays small.
- Read-only funnel share links, private by default. Firestore security rules enforce this, so hiding things in the UI isn't the only protection.
- Shared funnels can be marked as templates that visitors copy into their own account, and the app remembers what they wanted through the sign-in redirect
- A first-run onboarding checklist plus a sample marketing funnel so new users don't land on a blank canvas
- An analytics bridge for GTM or Plausible that cleans event properties so funnel data users type in never leaks into tracking
- Prerendered static HTML per route, sitemap, RSS feed, robots, Open Graph tags, and JSON-LD
- The test suite grew from 2 test files to 28, covering routes, hooks, sharing, storage fallbacks, and SEO utilities
It also deleted a dead screenshot microservice, nine stale build scripts, and three orphaned utility modules. Lots of agents add code. I've seen far fewer clean up after themselves.
The Launch Gate Is the Interesting Part
On its own, the agent wrote fifteen verification scripts and wired them into a single npm run verify:launch gate. That gate checks lint, tests, Firestore rule invariants, bundle budgets, SEO output, route artifacts, blog content quality, Docker config, and analytics event wiring.
I can only trust an agent working on its own as far as the checks it leaves behind. Those fifteen scripts matter as much as the app code.
I ran the full gate myself in a fresh terminal. Every check passed, with zero dependency vulnerabilities. That's the same trust-but-verify habit I use with all AI output, and I only believed the agent's report after the gate passed on my own machine.
What Still Needs a Human
Goal mode didn't put the app live. I still have to create the production Firebase project, the Google OAuth consent screen, App Check and the domain, and point analytics at a destination. The code also stays uncommitted until my collaborator and I review it, because I don't want an agent pushing to a shared repo without review.
Where FunnelFlow Goes: Funnels as GTM Analysis
Shipping the app is step one. What I care about is making funnel maps useful for go-to-market planning, so a map is something you plan with and not just a diagram of what exists.
I want FunnelFlow to model reach, spend and conversion rates before a campaign runs. Most funnel tools are attribution dashboards that report what already happened. With the guesses sitting on the map, you can poke at the plan and question it before you spend.
Here's the roadmap that comes out of that idea:
- You set an estimated conversion rate on each step, and reach and spend on each traffic source. The map works out the expected volume at each stage before you spend a dollar.
- Import actual numbers from GA4 or a CRM and compare them with the plan. I learned this one building our baby sleep tracker: when the actual numbers keep missing the plan in the same direction, the plan is probably off, and the tool should say so and suggest a corrected number.
- Copy a funnel, change the assumptions, and compare expected results side by side, for example more traffic against a stronger offer against fewer steps.
- An AI critique pass, where an agent reads the map and flags missing tracking events, conversion rates far outside channel norms, and stages with no owner.
A diagram tool that works like a cheap GTM analyst is the version I'd want to market.
The Takeaway
Bringing back a shelved side project got a lot cheaper. Four months of "I should finish that" became a weekend of agent time plus an afternoon of my review. What made it work was a clear end state and a strict test script, with me still in control of the production setup.
I write up experiments like this, including the ones that fail, in the free AI community. We just share what we're building.
Get the build notes
My AI experiments: what worked, what didn’t, and how I set them up. Sent to your inbox.
No spam, unsubscribe anytime · Privacy
You're in. Check your inbox for a welcome note.