# 2026-02-05

## Love Irish Food Scanner Project (New)
- Rob sent Love Irish Food logo + Flahavan's Progress Oatlets product image
- Voice notes: wants a visual product scanner (not barcode) -- take photo of actual product, app identifies it
- Flahavan's is the first test product; Rob will test in shop tomorrow
- Rob wants lean MVP with just one product for now

### Accounts Set Up
- **Supabase**: Signed up max@tilt.ie / [REDACTED] (needed ! for special char requirement)
  - Org: "Tilt Digital" (Agency type, Free plan)
  - Project: "Love Irish Food Scanner" (Europe region)
  - Project URL: https://yihzeaqocrkylakjssbe.supabase.co
  - API Key: sb_publishable_AznK38WzCYtf-tt8H-KLtw_nhyB9x69
  - DB Password: [REDACTED]
  - Email confirmed via Gmail, project created successfully

- **Netlify**: Already set up by Rob under max@tilt.ie (stellular-froyo-a16382.netlify.app)

- **Google Cloud Platform**: 
  - Initially blocked (GCP service disabled for max@tilt.ie in Workspace Admin)
  - Rob enabled it; created new project "Love Irish Food Scanner" (ID: `nodal-component-486518-h3`) under tilt.ie org
  - Old shut-down project `caramel-caster-486121-b3` dismissed (pending deletion)
  - Vision API NOT yet enabled; no credentials created yet
  - Rob wants usage capped at 900 requests/month (free tier is 1,000)

### MVP Build
- Spawned sub-agent "lif-scanner-mvp" to build the app
- Stack: HTML/JS + TensorFlow.js MobileNet (client-side, free, no API keys)
- Supabase for product database
- Mobile-first, Love Irish Food green branding
- Files going to clients/love-irish-food/scanner-app/

## Mahony Group
- v2 pages created (IDs 463-465), accent colour changed to #f27405 (orange)
- Screenshots sent to Rob
- Awaiting feedback on v2 design direction
- Parts 3 & 4 scripts ready but not yet executed

## Whisper Model
- Downloaded whisper "turbo" model (1.51GB) but too slow on Intel CPU (killed it)
- "small" model works fine (~30s for short clips)
- Note: turbo model now cached at ~/.cache/whisper/ taking up 1.5GB extra disk space

## Gmail Access
- Successfully accessed max@tilt.ie Gmail via openclaw browser (Google Workspace)
- 21 unread emails visible including Netlify welcome, Google Ads study invite, Alan Maher Mahony content email
- Browser session authenticated and working

## GCP Project Created (Late Session)
- Rob enabled GCP for max@tilt.ie in Workspace Admin
- Created project: "Love Irish Food Scanner", ID: `nodal-component-486518-h3`
- Under tilt.ie organization
- Old project `caramel-caster-486121-b3` was shut down, dismissed from dashboard
- Next: select project, enable Vision API, create API key, set up usage alerts at 900 req/month

## Scanner App Built & Deployed
- Rob shared his HTML prototype of the scanner app (React + Tailwind + hardcoded data)
- Built production MVP with real camera capture, Supabase backend, fallback data
- **Supabase DB**: `products` table created with RLS, Flahavan's data inserted (ID: cf376032-2baa-4d94-990b-26f745353ad0)
- **Supabase anon key**: `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InlpaHplYXFvY3JreWxha2pzc2JlIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzAzMTYyMDQsImV4cCI6MjA4NTg5MjIwNH0.uHBW4P3LjO5psBlOay7VUeeqfNEIe8Vw1LngFT9i2Ok`
- **Netlify CLI installed**: v23.15.1 globally
- **Netlify PAT**: `nfp_43ohrai8xByMfNpiXPUDT5KJdcw6UWGFf445` (expires Feb 12, 2026)
- **Deployed to production**: https://stellular-froyo-a16382.netlify.app
- API verified: Supabase REST returns Flahavan's product data via anon key
- App features: camera capture (rear cam on mobile), file upload fallback, scanning animation, product cards from Supabase, Demo Mode badge when offline
- Recognition is MVP stub (returns first product) -- TODO: swap for GCP Vision when enabled

## Scanner App Redesign (Jobs/Ive Philosophy)
- Applied UI/UX Architect skill to strip all design clutter
- Removed Tailwind entirely (inline styles = smaller payload, no CDN dependency)
- No emojis anywhere in headings or buttons
- System font stack (SF Pro Display, -apple-system, etc.)
- Darker premium green header (#166534 vs #059669)
- All-caps micro labels for section hierarchy ("PRODUCT INFORMATION", "NUTRITIONAL DETAILS")
- Subtle fade-up animations with cubic-bezier easing
- Redeployed to same Netlify URL

## Rob's UI Change Requests
### Completed
- Remove `capture="environment"` from file input (allow photo library) -- DONE
- Remove emoji from buttons -- DONE (previous deploy)
- Green background throughout entire page -- DONE (previous deploy)
- White buttons containing green text -- DONE (previous deploy)
- White text across entire site -- DONE (latest deploy)
- Center the logo and remove the "Love Irish Food" header text span -- DONE (previous deploy)
- Remove 3 certification tags ("Love Irish Food Member", "Origin Green Gold Member", "Made in Ireland") -- DONE
- Buy button changed to "Buy Online At Dunnes Stores" with black text, links to Dunnes Stores -- DONE
- All body copy/headings/subheadings changed from semi-transparent (70% opacity) to solid white -- DONE
- Font weight set to regular (400) instead of thin -- DONE

## 5 New Products Added to Supabase
- Tayto Cheese & Onion Crisps (9b412be7)
- Ballymaloe Original Relish (e0ee3d77)
- Avonmore Fresh Soup (dbf21255)
- Bewley's Irish Breakfast Tea (eea12649)
- Boyne Valley Irish Honey (285ae026)
- All with full heritage/innovation/sustainability/jobs/location/sourcing/economy/why_local content
- Images sourced from Tesco CDN, brand websites, Shopify CDN (all verified HTTP 200)
- Supabase service_role key used to bypass RLS for inserts

## Browse Page Added
- Grid view showing all products in database
- Accessible from home page ("Browse All Irish Brands") and result page ("Discover Other Irish Brands")
- Clickable cards open full product detail page

## Handy App -- Major Progress
- Rob wants to build "Handy" -- marketplace for finding/booking tradespeople in Ireland
- **Goal**: Real product, **web app first** (not native), Capacitor wrap for app stores later if needed
- **Decision**: Web app over native because SEO drives organic traffic, no download barrier, easier tradesperson adoption
- **Current state**: Full-featured prototype at https://handy-app-demo.netlify.app
  - Netlify site ID: d39bb57a-8cca-44cc-8012-df7ebe4debaa
  - Source: clients/handy/app/index.html (3,168 lines, ~248KB)
  - Rob's React code as base (dark theme, slate/emerald, Tailwind via CDN)
  - **55 tradespeople** (11 per trade) spread across Dublin from Howth to Bray
  - David Murphy has Rob's Dropbox image URLs (elec1.jpg, elec2.jpg)
  - Real Leaflet map with dark CartoDB tiles, photo markers, Dublin coordinates
  - 5-tab nav: Home, Search, Bookings, Saved, Account
  - Rotating search placeholder, Eircode/GPS input, trade category pills
  - Enhanced profiles: individual reviews, response time, SCE cert, work gallery
  - Booking: job description, photo upload, urgency, duration estimate
  - Post-booking: status tracker, messaging chat, rate & review
  - Sort/filter by trade/distance/price/rating
  - **Tradesperson registration**: 6-step flow (personal, business, profile, certs/insurance, availability, verification)
  - GPS pin fixed, filter z-index over map fixed
- **Business model**: €5 platform fee per booking
- **Next steps**: Rob registering for Stripe. Needs pk_test_ and sk_test_ keys.
  - Stripe Connect for marketplace splits (Handy keeps €5, tradesperson gets rest)
  - sk_test_ in Netlify env var, pk_test_ in frontend
  - Netlify serverless function for checkout session
- **Production roadmap**: Stripe Connect, Supabase backend, real auth, messaging, admin dashboard
- **Cost estimate**: Under €50/month at launch
- **Timeline estimate**: ~6-8 weeks to MVP launch

## Known Bug: Supabase Client
- Browse page shows all 6 products via direct REST API (working)
- Previous CDN import issue (`window.supabase.createClient` null) resolved by switching to direct fetch() REST API calls
- Both `recognizeProduct()` and `fetchAllProducts()` use REST API with anon key headers

## Notion Updated
- Created task "Love Irish Food Scanner MVP - Built & Deployed" (Done, High priority, Large effort)

## GCP Still Blocked
- Rob confirmed he also couldn't set up GCP as admin
- Both max@tilt.ie and Rob's admin account unable to enable Vision API
- May need Google Workspace support ticket or alternative recognition approach
