← back to Restaurant Directory

videos/session-tasks.json

104 lines

{
  "session_title": "From DPH dump to live directory: building lacountyeats in one day",
  "session_summary": "Today the LA County health-permit data became a public directory. 37,340 restaurants, 92,000 inspections, and 374,000 violations are now searchable, mappable, and shareable — with a press-driven new-openings feed and a self-improving design loop on top.",
  "intro_narration": "This is what we shipped on lacountyeats today. Eight loop iterations, four new restaurants from the press, one production bug fix, and a dark-mode toggle that's becoming the standard on every site. Here's the walk-through.",
  "founder_avatar_url": "http://localhost:9787/steve-avatar-front.png",
  "founder_name": "Steve · Founder",
  "metrics_banner": "37,340 restaurants · 92K inspections · 374K violations · 4 revenue rails wired",
  "thesis": "Public-record directories built right — every restaurant, every inspection, every code violation. No SEO bloat. No scraping permitted.",
  "narration_wpm": 165,
  "beat_seconds": 45,
  "tasks": [
    {
      "title": "4 new restaurants from this week's press",
      "beat": 38,
      "narration": "Eater LA wrote about Picala in West Adams, Mitsi and Bengara in Chinatown and the Arts District, and Sushi Nakazawa coming to Robertson. The DPH permit feed lags new openings by four to eight weeks — so we don't wait for it. We add them ourselves with the press URL as the source.",
      "prompt": "add to my directory",
      "did": "Geocoded 4 addresses via Nominatim, added source_url + opened_on + source_type='press' columns, inserted 4 rows with PRESS-* facility IDs and cuisine pre-tagged.",
      "works": ["4 restaurants live in the local DB", "Press URL stored as source", "Opened_on date powers a 'Just opened' feed"],
      "doesnt": ["Not yet deployed to Kamatera prod (queued)", "Auto-merge with future DPH permit not yet wired"],
      "why": "The competition (Yelp) waits for users to leave reviews. We close the gap between 'Eater publishes' and 'we list' to under an hour. That's the moat for the 'newest in LA' rail.",
      "value": "Closes the 4-8 week lag between Eater coverage and DPH listings.",
      "metric": "4 press-rows added in 6 minutes (Picala / Mitsi / Bengara / Sushi Nakazawa)",
      "revenue_link": "Newest-in-LA page → restaurant claim upgrades ($499 site rail)",
      "screenshotUrl": "https://lacountyeats.com/",
      "screenshotDelayMs": 2000
    },
    {
      "title": "Newest in LA — homepage hero section",
      "beat": 35,
      "narration": "The new restaurants need to surface. We added a Newest in LA section to the homepage that shows the six most recent opening dates. Press-sourced rows get a coral NEW badge. Once a permit catches up, the badge drops automatically.",
      "prompt": "Show the 6 newest restaurants in los angeles on front page",
      "did": "Added newestRows query to GET /, cards with NEW badge and opened_on date, sorted by COALESCE(opened_on, first_seen_at).",
      "works": ["Homepage now has 'Newest in Los Angeles' section above the cuisine browse", "Coral NEW badges on press-sourced spots", "Date opens out as 'Apr 28, 2026' format"],
      "doesnt": ["Same: not yet on Kamatera prod"],
      "why": "Recency is the one thing review sites can't replicate quickly. Every weekly DPH ingest naturally rotates the section without engineering work.",
      "value": "Surfaces brand-new restaurants the moment they hit press, no editorial work.",
      "metric": "6 newest cards rendered in 1.7s on local",
      "revenue_link": "Restaurant-claim funnel ($499 customize-your-page rail)",
      "screenshotUrl": "https://lacountyeats.com/",
      "screenshotDelayMs": 2000
    },
    {
      "title": "Dark mode + standing rule for every B&W build",
      "beat": 42,
      "narration": "Dark mode is now standard. Every minimalist site we ship gets the sun-moon toggle, anti-flash inline script, and CSS-variable inversion. lacountyeats and the doctor directory both got it today. The roll-out goes newest to oldest. The pattern is saved as a memory rule so future agents inherit it.",
      "prompt": "add to every build that is black white or white black the ability to toggle Dark and LIght with reverse color",
      "did": "Wired toggle into head.ejs + site.css for lacountyeats, layout.tsx + globals.css for doctor (drvouch). Saved feedback_dark_light_toggle_standard.md memory rule. Anti-flash inline script + CSS-var inversion + localStorage persistence.",
      "works": ["Sun/moon toggle in header", "Cream→ink inversion confirmed via Playwright (rgb(253,249,238)→rgb(26,24,20))", "Accent colors stay constant (grade A always green, coral always coral)", "0 console errors"],
      "doesnt": ["8 more sites in the rollout queue (animals, stayclaim, bubbesblock, etc.)"],
      "why": "Modern users expect dark mode. The CSS-var pattern means every future minimal site gets it free. Standardized aesthetic = recognizable family of products to investors.",
      "value": "Universal dark mode = modern feel + accessibility win across the whole product family.",
      "metric": "2 sites done, 8 queued — pattern reusable in <5 min per site",
      "revenue_link": "Brand consistency → trust signal → claim conversion",
      "screenshotUrl": "https://lacountyeats.com/",
      "screenshotDelayMs": 2000
    },
    {
      "title": "Production CSP bug fixed in pre-flight test",
      "beat": 35,
      "narration": "The Playwright click-through pass found a real production bug. The map page at lacountyeats was loading Leaflet stylesheets from unpkg dot com, but the helmet content security policy was blocking them. Eight console errors per page load. Map rendered without zoom controls or marker clusters. One-line fix in server dot ts. Caught by tooling we built in the same session.",
      "prompt": "complete task then send through click thorugh agent and testing loops",
      "did": "Built test-runner.mjs (Playwright headless, 1280×800, captures light+dark + CSS-var inversion check on 4 prod targets + iter mockup). Found CSP blocking unpkg styles. Patched server.ts:38 styleSrc allowlist.",
      "works": ["Test-runner now standing step in every loop tick", "5 targets × 2 modes = 10 frames per pass", "CSS-var inversion verified at runtime (not just visual)"],
      "doesnt": ["Fix queued for Kamatera deploy"],
      "why": "Self-testing build pipeline catches its own regressions. Investors care that we ship infrastructure that prevents future fires, not just patches today's.",
      "value": "Click-through tests caught a real production bug + queued the fix in one pass.",
      "metric": "8 console errors → 0; 1-line fix in server.ts",
      "revenue_link": "Working /map = users actually find restaurants near them",
      "screenshotUrl": "https://lacountyeats.com/map",
      "screenshotDelayMs": 3000
    },
    {
      "title": "Self-improving design loop — 8 ticks, 4 mockups, scoreboard",
      "beat": 50,
      "narration": "The graphic-design loop runs every twenty-five to thirty-five minutes. Each tick picks a page in rotation, asks a local LLM running on Mac Studio One for a new mockup, scores it across six dimensions, and runs the click-through test. Eight ticks today, four real mockups, scores from twenty-nine to forty-seven out of sixty. The detail page is the current champion. Lessons stick — when one tick redefined accent colors in dark mode, the next iteration's prompt explicitly forbade it.",
      "prompt": "keep building better and better graphics for project in session in a loop",
      "did": "Built iteration directory with git, scoreboard markdown, qwen3:14b prompt-per-page, Playwright render verification, auto-rescheduling with cache-aware delays. 4 mockups generated (homepage 29, detail 47, map 41, city 35) + 4 testing-only ticks.",
      "works": ["Cumulative learning across ticks", "Pre-build code review caught 2 critical bash bugs", "Post-build UI/UX review scored a video at 33/60 with 3 specific fixes"],
      "doesnt": ["MS1 contention (gpt-oss:20b loaded by another agent) skipped 3 of 8 ticks", "claude-codex 4-way debate not yet wired into every tick"],
      "why": "Design as a measurable, compoundable process. Every iteration teaches the next prompt. Local LLMs mean the cost is hardware, not API tokens.",
      "value": "Design becomes a measurable iterative process — not artist labor.",
      "metric": "8 ticks · 4 mockups · scoreboard from 29 → 47 / 60",
      "revenue_link": "Higher-quality pages → higher claim-conversion rate",
      "screenshotUrl": "https://lacountyeats.com/r/picala-3321-s-la-cienega-blvd",
      "screenshotDelayMs": 3000
    },
    {
      "title": "Reviewed-demo-video pipeline shipped",
      "beat": 50,
      "narration": "Built a reviewed-demo-video pipeline. Pre-build code-review subagent caught two critical bash bugs before the first render. Post-build UI/UX review scored the output thirty-three out of sixty with three concrete fixes. Steve avatar overlays the bottom-right corner during title and findings cards, hides during side-by-side comparisons. Narration runs on free macOS say. The whole pipeline costs nothing to operate.",
      "prompt": "use graphic and 4 horsman agent to review video both before and after the video build. Use Avatar of Steve in the Deep right Corner",
      "did": "Built videos/build-before-after.sh + render-cards.mjs (Playwright cards because ffmpeg 8.1 lacks drawtext). Pre-build code-reviewer subagent surfaced 2 critical bash bugs (negative array index + swallowed errors) — both fixed. Post-build ui-ux-designer scored 33/60 with 3 concrete iteration fixes. Avatar 110px gated by time expression to hide during sxs panels.",
      "works": ["31s 1.3MB MP4 with avatar PIP", "Two-pass review (script before, video after)", "$0 narration via macOS say", "Concrete iteration fixes from each post-build pass"],
      "doesnt": ["Real Eater LA-style design polish still aspirational", "Need to port working build into the reviewed-demo-video skill skeleton"],
      "why": "Demo videos as a compoundable artifact, not a designer task. Every review pass produces concrete next-iteration fixes — automated design QA at near-zero cost.",
      "value": "Auto-generated narrated demo videos with two-pass design review = consistent VC/customer collateral.",
      "metric": "31s MP4, 1.3MB, $0 cost per render",
      "revenue_link": "Demo videos for B2B sales calls + investor outreach",
      "screenshotUrl": "https://lacountyeats.com/c/los-angeles",
      "screenshotDelayMs": 2500
    }
  ]
}