1.6 KiB
1.6 KiB
- lucide-react icon name collisions —
Badge/Activityfrom lucide collide with shadcn/ui Badge and React 19 Activity; import Badge from ui, Activity from lucide. - OpenAI gpt-5 temperature — gpt-5* reject
temperature != 1; omit temperature in OpenAI-compatible clients or AI analysis silently fails. - NDJSON streaming on Replit — use
res.on("close")+writableFinished(NOTreq.on("close")); persist on disconnect; proxy doesn't buffer; gate fallback to avoid dup rows. - Skill fingerprint & relation matching — don't put display name in fingerprint path; match modified by file-path Jaccard (hash-Jaccard misses single-file edits), report content-aware similarity.
- Testing api-server from shell — external
$REPLIT_DEV_DOMAIN/apicurl returns HTTP 000; curlhttp://localhost:<PORT>/apiinstead (port from workflow log). - Stale codegen & unapplied migrations — "field already in API" tasks: dev/test DB + lib
dist/*.d.tslag; run drizzle push +tsc -bthe lib. - Mocking fetch in api-server route tests — route tests run app in-process; delegate localhost requests to real fetch, only synthesize upstream; filter spy calls by URL.
- Clerk shadcn theme + Tailwind v4 — Clerk shadcn.css needs
optimize:false+ explicit@layerorder or sign-in/up widgets render unstyled.