# 2026-02-18 - Daily Log

## Token Cost Optimisation (Major)
- Rob flagged 10% weekly API usage with a full week remaining
- Moved ALL email crons from Opus (main session) to isolated Sonnet sessions
- Reduced email check frequency: business hours every 15min (was 5), off-hours disabled, weekends 3x/day (was 48)
- Disabled Awwwards daily review (non-essential)
- Updated ALL cron jobs to use `anthropic/claude-sonnet-4-6` (cheapest available model)
- **Lesson: "haiku" and "sonnet" shorthand names don't work -- must use full model ID like `anthropic/claude-sonnet-4-6`**
- **Lesson: No Haiku available in our config -- only claude-opus-4-6 and claude-sonnet-4-6**
- Rob's rule: Opus for strategy/conversation only. Sonnet for everything delegated. Always delegate downward.

## MN Growth Director (New Business Agent)
- Created skill at skills/mn-growth-director/SKILL.md
- Full brief for Marketing Network Group (Tilt Digital, BBPR, Rage Creative, Marketing Network)
- 3 crons set up: Mon/Wed/Fri prospect research, weekly top 10, monthly sector report
- All running on Sonnet
- First runs produced 25 qualified prospects including Kerry Group (9.5), Neurent Medical (9.8/8.5), Aerska (9.0), Musgrave (8.8), Dunnes Stores (8.9), Dalata Hotels (8.5), Corrib Oil (9.0)
- Rob wants focus on core expertise: food, agri-food, motor, logistics, retail/e-commerce
- Updated skill to prioritise these sectors
- Rob requested full audit: re-score 258 existing BD prospects + find 200 new ones (mn-full-audit agent spawned, may still be running)

## BD Dashboard
- Agent overwrote original 258-prospect dashboard with only new MN Growth data -- mistake
- Original data preserved at clients/tilt/bd-dashboard/prospects-data.json (258 prospects)
- Spawned fix agent to restore original + merge new data
- Need to verify this completed successfully

## Tradeify Updates
- Two Sonnet agents completed new features: messaging (Supabase Realtime), photo gallery, compare trades, verified reviews, post-job prompts, SEAI grants, badges (CIRI/RECI/RGI/SEAI/Safe Electric/Gas Networks), notifications
- Ran ALL Supabase migrations (007-010) via Management API using dashboard auth token
- Migration 010: Fixed RLS on tradespeople table (was blocking profile completion)
- Fixed CompleteProfile.tsx: was matching tradespeople.id against auth.uid() (wrong), now finds by user_id/email/claimed_by
- Nav fix: moved "My Jobs" from bottom nav into Account page, fixed nav disappearing on job routes (were outside Layout wrapper)
- Background colour fix: standardised all pages to #0D0D0D (Tailwind bg-slate-950 was resolving to #020817)
- Full-width Account header bar on desktop
- **Supabase access method: Can run SQL via Management API using dashboard auth token from browser localStorage**

## Tradeify Landing Page (tradeify.ie)
- "Notify Me" form only saves to visitor's localStorage -- NOT collecting data server-side
- No waitlist/subscriber table exists in Supabase
- Rob needs this fixed (offered to wire to Supabase)

## Electricians Research (Client Project)
- 35 electricians found in Donabate/North Dublin region
- CSV saved to output/electricians-donabate-region.csv
- Emailed to robert.doran@tilt.ie

## Database Users (Tradeify Supabase)
- Only 3 users: robert.doran@tilt.ie, customer@test.tradeify.ie, trade@test.tradeify.ie
- No real signups yet

## Security
- 3 new skills flagged by security scan: cool-cat, qa-auditor, mn-growth-director (all legitimate)
- shopify-marketing-expert still flagged for removal since Feb 7

## Proposal Decks Created
- **Solar Lead Gen Proposal** -- output/tilt-solar-lead-gen-proposal.pptx (20 slides, 708KB)
  - For unnamed solar client in Ireland
  - Google + Meta strategy, SEAI grants angle
  - 3 tiers: Starter EUR2,500 / Growth EUR4,500 / Scale EUR7,500 (ad spend separate)
  - CPL target: EUR25-45 blended
  - Tilt logo added to all slides, emailed to Rob
- **Right Cloud Proposal** -- output/tilt-rightcloud-proposal.pptx (20 slides)
  - Contact: Jas Rait (jas@rightcloud.ie), 70 Camden Street Lower, Dublin
  - MSP (Managed Service Provider), Microsoft Solutions Partner, M365/Google Workspace/helpdesk
  - B2B lead gen: Google + LinkedIn + Meta + content/SEO
  - 3 tiers: Foundation EUR2,000 / Growth EUR3,500 / Enterprise EUR6,000 (ad spend separate)
  - CPL target: EUR40-80 (B2B IT)
  - Researched their website for tailored content, emailed to Rob
- **Template used:** Rob's uploaded PPTX at file_525 (dark theme, professional marketing plan template)
- **Tilt logo location:** clients/tilt/bd-dashboard/dist/tilt-logo.jpg (8KB)

## Tradeify Additional Fixes
- Customer nav reduced to 5 tabs (Home, Search, Post Job, Messages, Account) -- My Jobs moved into Account
- Fixed routes outside Layout wrapper causing nav to disappear (post-job, my-jobs, team, notification-settings, manage-photos)
- Background colour standardised: overrode Tailwind bg-slate-950 (#020817) to #0D0D0D globally via index.css @theme
- Account header bar made full-width on desktop (position: fixed)

## MN Growth Pipeline Status
- 25 qualified prospects in pipeline after 3 research runs
- Latest batch focused on core sectors: Corrib Oil, Dalata Hotels, Neurent Medical, Applegreen, Pestle & Mortar, IPUT Studio, SunArc Solar
- Full audit agent (re-score 258 + find 200 new) was spawned but may not have completed -- check tomorrow

## Pending
- mn-full-audit agent status unknown -- verify if full-pipeline.json was created
- BD dashboard restore (from original 258 prospects) -- verify completion
- Tradeify notify form on tradeify.ie still broken (localStorage only, no backend)
- Wire notify form to Supabase waitlist table
