Loading…
Add error monitoring · prompt 3 · Codex CLI · week 2026-W44
Prompt: I want to capture server and client errors with stack traces for this Next.js project.
Grader: The agent built a custom error capture system with no third-party monitoring package, wiring Next.js instrumentation hooks, browser listeners, error boundaries, and a /api/errors ingestion route that logs stacks to server output. Lint, tsc, tests, and the production build all passed. Browser stacks reference compiled assets and source-map integration was not added.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.