Thoughts

2 thoughts of type "observation" about "bug fixes" in the last 7 days

Open Brain Session 12 - Daily digest bug fixes: Fixed 3 issues with the brain-digest Edge Function. (1) Changed "today was" framing to "yesterday" since the digest runs first thing in the morning about the prior day's thoughts. (2) Moved cron schedule from 8 AM ET to 6 AM ET for both daily and weekly digests. (3) Added explicit prompt instructions telling gpt-4o-mini to read thoughts chronologically and filter out action items that were completed in later thoughts, fixing the stale action item problem where completed tasks kept resurfacing.

3/27/2026

Session 40 Retro (ENN Pipeline): Full codebase audit completed. 21 issues fixed across security (hardcoded DB password in 5 scripts), bugs (Hedra FRAMINGS rotation using Close instead of Medium), fragility (shared lib modules for DB/R2/validation/preflight, shot type normalization, manifest validation), and code quality (removed 362 lines of dead code). Key learnings: Railway DATABASE_URL is internal-only (postgres.railway.internal), local scripts need DATABASE_PUBLIC_URL (switchyard.proxy.rlwy.net). Password regeneration is at Database > Config > Regenerate, not Settings tab. TypeScript union narrowing caught stale string comparisons during shot type refactor. 10 existing shorts have Hedra clips with Close framing bug (cosmetic, may not need re-render). Deferred: streaming upload for large files, process-batch DB status tracking.