Loading…
Add a Postgres database · prompt 2 · Codex CLI · week 2026-W44
Prompt: I need a managed Postgres for this app. Set it up, add a schema with a `users` table and a server action that inserts a user.
Grader: The agent installed @neondatabase/serverless, provisioned an anonymous Neon Postgres via the claimable API, and wired a users table, a createUser server action, and a form. It hit an ESM/CJS import error in @next/env in its migrate script, fixed it, and the build passed after live insert tests. The database expires in 72 hours unless claimed, which the agent disclosed.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.