Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
docs(agents): add deep investigation default guideline
Richie McIlroyb04480e888e6
diff --git a/AGENTS.md b/AGENTS.mdindex c76bc41f7..dc11a1147 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -88,6 +88,18 @@ Additionally, `unused_must_use = "deny"` applies to all Rust code: every `Result- macOS note: desktop permissions (screen/mic) apply to the terminal running `pnpm dev:desktop`.- All other agent-facing rules (comments policy, no editing generated files, clippy/Biome shape, post-edit gates) live in **Pre-Generation Invariants** at the top of this file.+## Deep Investigation Default+When asked to inspect, review, optimize, secure, or fix something, do not stop at the obvious local change. First trace the full path and run a second-pass blast-radius review:++- identify the real root cause, not only the symptom+- trace callers, side effects, async/runtime behavior, generated artifacts, caches, exports, old data, and platform-specific paths+- compare old vs new behavior when reviewing a diff+- call out what is verified vs merely plausible+- consider likely follow-up reviewer or user reports before calling it done+- verify the actual user-visible outcome where practical, not only compile/lint success++Prefer the smallest correct fix, but only after checking whether the narrow fix misses related consequences.+## Effect Usage- Next.js API routes in `apps/web/app/api/*` are built with `@effect/platform`'s `HttpApi` builder; copy the existing class/group/endpoint pattern instead of ad-hoc handlers.- Acquire backend services (e.g., `Videos`, `S3Buckets`) inside `Effect.gen` blocks and wire them through `Layer.provide`/`HttpApiBuilder.group`, translating domain errors to `HttpApiError` variants.