Brandon Wie
Full-stack AI engineer building production systems — film school grad turned engineer, now building AI products at Playtag. This blog collects what I've learned along the way. More about me
168 posts
2026
_emphasis_does not close against a Korean particle- claude-code-action Workflow Setup Gotchas
- Multi-Agent Message-Race HOLD Discipline
- class-validator @IsHexColor Accepts Alpha-Hex Forms
- Per-User Transactional Backfill Atomicity
- A Reproducible DOCX-to-PDF Export with LibreOffice Headless
- Honest Cross-Language CLI Startup Benchmarks
- A Harness That Fixes Itself - And Prunes Its Own Fixes
- Forward Links Only: A Zettelkasten Where Backlinks Are Computed
- Folder Is Destiny: A Six-Layer Information Lifecycle
- Parallel Agents Without Collisions: Tasks, Worktrees, and Locks
- Rules That Route Themselves: Frontmatter as the Loader
- Same Skill, Three Transport Physics
- The Token Stack: Four Layers of Code Intelligence Without Re-Scanning
- Three Gates and an Audit Log: HITL for an Agent Harness
- The Session Engine: /wrap, Clean-Slate Rollups, and a Cross-Session Buffer
- Why your updater keeps re-enabling the Claude plugins you disabled
- Svelte: an async
onMountreturn is NOT cleanup - SvelteKit: hydrate a shared store site-wide from
+layout.ts - One Folder, Three Agents: The
.agents/Source of Truth - Don't Retry Retrieval — Diagnose It
- The pre-commit hook race that put my files in someone else's commit
- Rust async channels with tokio
- When CLAUDE.md keeps overflowing, move the budget into your generator
- gcloud Logging
--freshness=Nis "N hours before NOW", not "since event" - Two Ways
docker execLeaks Credentials While You Debug - Two-Phase Invocation as a Manual Merge Gate
gh pr viewHead-Branch Ambiguity (False-Negative)git rev-parse HEADvsgit log -1Divergence Under Watcher Hooks- Anthropic Prompt Cache TTL + Cost Mechanics
- Codex
apply_patchHooks: The Matcher Fires, the Payload Differs - Cross-Agent Skill Alias Generalization
- Stdlib-Only Helper Portability
test -Lvsrealpathfor symlink detection- Schema-Versioned Helper Output Envelope
- Empirical Close: Defer Skill-Side Tests to Natural Exercise
- Plan-vs-Shipped Divergence Detection on Task Resume
- Fallback-Branch Test Coverage Gap
- FastAPI Non-blocking Startup Dependencies
- Stateless Auth DB-Column Drift
- Symmetric Redis ↔ Kafka Bridge Pair for Cross-Cloud Event Flow
- Ruff Three-Gate Pre-Flight
- Serena MCP — Multi-Profile Setup for Claude Code (cpers/cwork)
- emitAsync Stamp Gating for Idempotent Bootstrap Retries
- Byte-aware vs Count-based Chunking for Typesense documents/import
- State-invariant flag drift — recovery via reconciliation pass
- Wrap Skill Follow-Up Persistence Architecture
- Session-State Dashboards: Merge, Don't Overwrite
- Checklist beats prose for LLM-robust skill preconditions
- Markdownlint Pre-Commit: MD041 + MD001 Heading Gotchas
- Codex Skill Mirror Pattern
- Six Papers, Zero Applied: A Week of Disciplined Reading
- TypeORM
migration:generatedetects all schema drift - BeautifulSoup + lxml memory overhead — why scrapers need size caps
- FastAPI domain-exception handler — stopping 500s on your 404s
- Prometheus TSDB memory sizing — why observability services need different budgets
- macOS VSCode Terminal Locale Fallback
- AI Code Review Confusion Patterns
- NestJS @Headers Decorator Returns string | undefined
- Measuring Claude Code Turn Latency from JSONL Transcripts
- I Built What Karpathy Described — Before He Described It
- NestJS Swagger: type is Silently Ignored When content is Provided
- Docker Subnet Collision with Static-IP Services
- The Next Intelligence Explosion Is Social, Not Computational
- PortAudio Stale USB Audio Device Handle
- LLM Fine-Tuning Strategies
- Phase A→B Classifier Deployment: Zero-Shot to Fine-Tuned
- Population Stability Index (PSI) for Model Drift Detection
- Hybrid CI: Self-Hosted Jenkins + GitHub Actions
- Anthropic MCP Context Budget Optimization
- Gemini Asymmetric Embeddings
- RAG Hybrid Search Architecture
- pgvector HNSW Index in PostgreSQL
- Sentry N+1 Query Detection
- tmux Smart Session Auto-Start
- class-transformer Undefined Own-Property Bug
- updatedAt Staleness Guard
- CSS Inline-Replaced Element Gap
- CPU Cache Locality in Batch Field Extraction
- PostgreSQL IN Clause Parameter Limits
- IDOR Prevention via Required Parameters (Type-Level Enforcement)
- Claude Code Agent Teams
- Claude Code PostToolUse Hooks
- Stow Symlink Health Checking
- Claude Code Expert Workflows
- zsh Backtick Evaluation in Claude Code Skills
- pandas itertuples() vs iterrows()
- Deduplicating Functions with Keyword-Only Parameters
- Stale vs Orphan Records in Calendar Sync
- TypeScript Type Narrowing Over Assertions
- Claude Code: Shared + Personal AI Config Pattern
- GitHub PR Review API - Inline Comments
- Claude Code Multi-Profile HUD Setup
- macOS Keychain Multi-Account Behavior
- React Demo Pipeline Pattern
- Recharts Dark Theme Customization
- shadcn/ui Setup with Vite + Tailwind
- Alembic with Async SQLAlchemy
- Calendar EXDATE Behavior: Apple vs Google
- Celery API-Side Dispatch Pattern
- FastAPI Dependency Injection Patterns
- OAuth 2.0 Implementation Patterns
- uv.lock Best Practice
- Giscus SvelteKit Integration
- Paraglide-JS i18n for SvelteKit
- Svelte 5 $effect Rune
- Amplitude ETL Partitioning
- Amplitude Export API Response Format
- Backfill Stats Manifest on Early Exit
- ETL Data Separation Strategy
- TypeORM CLI와 NestJS DataSource 충돌
- Amplitude Export API Timezone Behavior
- Airflow Celery Worker Log Server Configuration
- Airflow DAG start_date and Manual Triggers
- Airflow Manual DAG Config Pattern
- boto3 S3 put_object() Body Parameter Encoding
- ETL Schedule Timing
- Local S3 with MinIO
- Python Tooling Stack
- S3 Path Normalization Pattern
- Mobile Input UX
- AI Code Review Patterns
- ECS Autoscaling Patterns
- WAF Allowlist Patterns
- Batch Processing Trade-offs
- DataSource vs Repository Pattern
- Pessimistic Locking for Race Conditions
- Sync Token Invalidation Recovery (410 GONE)
- Two-Phase Deletion Pattern
- Webhook vs User Activity
- Bash set -e and Command Substitution
- ECR Credential Helper
- Terraform State Recovery
- External Calendar Data Normalization
- Partial Access Recurring Events
- rrule BYDAY Timezone Correction
- Binary Checksum Verification
- Infrastructure Hardening Checklist
- EBS vs EFS: AWS Storage Comparison
- NAT Gateway Architecture
- Terraform RDS Credentials Management
- AWS WAF Implementation
- NestJS WebSockets Reference
- PostgreSQL Advisory Locks with TypeORM
- AI PR Review Validation Patterns
- Airflow CI/CD Concepts
- Airflow DAG-Level Callbacks
- Airflow Task Dependency Syntax
- DAG Deployment Strategies
- Docker Compose CI/CD Patterns
- ECR Token Refresh Cron
- Linux Fundamentals
- Markdownlint Conventions
- Google Calendar API: Recurring Event Updates
- Google Calendar Sync Strategies
- Google Meet Link Creation
- Google Calendar Recurring Event Operations
- RRULE EXDATE Parsing with Timezone
- Lemon Squeezy Subscription Management
- Understanding Traefik, Keycloak, and ForwardAuth