π‘ Lesson
Lessons learned
Task Board Cleanup - 3 Stale Tasks
π‘Found 3 completed tasks never marked done: AI Assistant Panel (atlas, Feb 16), blog table styling (kai), 404/500 error pages (kai). All had completion .md files in project root but task board not upda
Lesson: Never Use SQLite When Supabase Available
π‘Never use SQLite when Supabase is available - always use proper infrastructure
## Mistake Set up SQLite for watchlist storage in Hedge backend when we have a proper Supabase Postgres database. ## Why It Happened - Lazy "quick local storage" thinking - Wanted to "just get it wor
Hedge - PDT Rules & Options Workaround
π‘## Pattern Day Trader (PDT) Rules **Rule:** - Under $25K in margin account β Max 3 day trades per rolling 5 trading days - Over $25K β Unlimited day trades **Henry's situation:** - Keeps trading acc
Lesson: PUBLIC_ env vars not in SvelteKit server code
π‘PUBLIC_ prefixed env vars not available in SvelteKit $env/dynamic/private. Use non-prefixed vars for server code.
## Problem Second Brain API was returning 500 errors in production with "supabaseUrl is required" ## Root Cause SvelteKit server code was trying to access `env.PUBLIC_SUPABASE_URL` from `$env/dynamic
Lesson: Always save to Second Brain during work, not after
π‘Failed to save email auth work to Second Brain despite just building it. Lesson: save during work, not after.
## What Happened Spent significant time implementing and testing email auth for MedSchools.ai, but failed to save any of the work to Second Brain β despite having just built the Second Brain system.