# Agentic Website Acceptance Checks with Codex

> Give Codex a website brief with observable acceptance checks for responsive layout, a working booking action, keyboard use and recovery from a full slot.

URL: https://www.matthewswong.com/en/blog/codex-agentic-website-acceptance-loop/

- Author: Matthews Wong (https://www.matthewswong.com/en/about/)
- Published: 2026-12-03
- Updated: 2026-12-03
- Category: Web Development

> **Key takeaway:** An agentic website task in Codex links a design brief, an implementation diff and observed browser behaviour. Give the agent a finish condition it can check against the real route. For a booking page, the useful evidence is a working primary action, readable responsive content and a clear failure state.

What should the task brief describe?

Name the user, their goal and the intended route. Give realistic copy and a local fixture with a successful booking and a full appointment slot. Include the available browser and image tools in the recorded environment.

Where should Codex begin?

Ask it to inspect the existing layout and routes before editing. The repository may already have a form component, image wrapper or localisation helper. Finding those primitives first reduces the setup work required and keeps the new route consistent.

Which browser action proves the primary flow?

Open the actual route and fill out the form with fixture data through its normal controls. Submit and read the confirmation that the user receives. Verify the confirmed slot matches the chosen date and time.

What should the failure path look like?

Return the full-slot response and see whether the visitor can choose a different time without re-entering unrelated fields. Observe focus after the error. A helpful message should sit close to the field or action the visitor can correct.

How does a visual change feed back into code?

Record a screenshot and exact viewport when the desktop or mobile layout fails. Ask for the smallest change that addresses the cause, then rerun the action in both locales. A screenshot from a passing desktop case leaves the mobile report unverified.

What should the final evidence include?

Report the changed files and route plus results for submission, full-slot recovery, keyboard navigation and visual crop. Attach viewport screenshots where they clarify a specific difference. Note the surface and available tools so somebody can reproduce the run.

## Sources and further reading

- OpenAI announcement on Codex images and browser use
- OpenAI frontend workflow guide
- Codex project instructions
- Playwright visual comparisons

## Source links

- https://openai.com/index/codex-for-almost-everything/
- https://developers.openai.com/blog/designing-delightful-frontends-with-gpt-5-4
- https://learn.chatgpt.com/docs/agent-configuration/agents-md
- https://playwright.dev/docs/test-snapshots

## FAQ

### What should the task brief describe?

Name the user, their goal and the intended route. Give realistic copy and a local fixture with a successful booking and a full appointment slot. Include the available browser and image tools in the recorded environment.

### Where should Codex begin?

Ask it to inspect the existing layout and routes before editing. The repository may already have a form component, image wrapper or localisation helper. Finding those primitives first reduces the setup work required and keeps the new route consistent.

### Which browser action proves the primary flow?

Open the actual route and fill out the form with fixture data through its normal controls. Submit and read the confirmation that the user receives. Verify the confirmed slot matches the chosen date and time.

### What should the failure path look like?

Return the full-slot response and see whether the visitor can choose a different time without re-entering unrelated fields. Observe focus after the error. A helpful message should sit close to the field or action the visitor can correct.

### How does a visual change feed back into code?

Record a screenshot and exact viewport when the desktop or mobile layout fails. Ask for the smallest change that addresses the cause, then rerun the action in both locales. A screenshot from a passing desktop case leaves the mobile report unverified.

---

- HTML version: https://www.matthewswong.com/en/blog/codex-agentic-website-acceptance-loop/
- Bahasa Indonesia: https://www.matthewswong.com/id/blog/codex-agentic-website-acceptance-loop/
- Site index for agents: https://www.matthewswong.com/llms.txt
- Sitemap: https://www.matthewswong.com/sitemap.xml
- API description (OpenAPI): https://www.matthewswong.com/openapi.json
