Engineering notes
Short write-ups of specific decisions in my own repositories: what the code does, why, and the trade-off it accepts. Each note links to the code it describes.
- RAG retrieval that degrades instead of returning nothingHow InsightVault’s query path handles weak matches, and the embedding-dimension trade-off behind a multi-provider fallback chain.AI, RAG, Postgres
- Protecting HLS video with CloudFront signed cookiesWhy signed cookies fit HLS better than signed URLs, and how StreamVault issues them after a Cognito PKCE sign-in.Cloud, AWS, Security
- Uploads that don’t grow server memoryStreaming multipart uploads straight to S3 with multer-s3, and committing metadata only after S3 acknowledges.Cloud, Node.js, Storage