AI Workflow
An AI workflow for closing requests with verified changes
This page rewrites repeated Codex session patterns into a public-safe workflow: PRD or issue intake, repo context scan, screen or log evidence, narrow patch, verification, then commit, deployment, or notes.
Operating model
The workflow shows up in how sessions close
The important signal is not that AI was used, but which evidence confirmed the request and what traceable finish the session left behind.
Input
PRD/issue/log
Codex loop
scan/patch/verify
Output
commit/deploy/note
- 01
Intake the request
Most sessions start from a PRD, GitHub issue, screenshot, crash log, or a direct product concern.
Output
A scoped task frame that separates repo work from external console or store work.
PRDGitHub issueScreenshotCrash log - 02
Scan repo context
Codex checks local files, commit history, issue context, generated output, and existing project rules before editing.
Output
A short owner map: files to touch, files to leave alone, and the rule that should stay authoritative.
Codexrggit historyAGENTS.mdpublic checks - 03
Capture evidence
The useful sessions keep the observed state visible with screenshots, logs, route output, or browser snapshots.
Output
A before-state that explains why the change is needed without exposing private session details.
Playwrightbuild logssimulator logsroute output - 04
Patch the owner
The implementation changes the canonical source instead of layering fallback UI, duplicate data, or alternate behavior.
Output
A narrow diff that makes the product rule, UI copy, and verification target point to the same source.
ReactTypeScriptshared helpersdata model - 05
Verify the result
Sessions close only after checks run and the rendered or runtime surface matches the requested behavior.
Output
Passing commands plus a rendered page, route response, simulator result, or deployment status.
ESLintNext buildRoute checkPublic-safety checkPlaywright - 06
Ship and record
Several sessions end with commit, push, deployment, issue closure, or a public-safe changelog entry.
Output
A traceable finish: commit hash, deployment result, verification note, or monthly engineering record.
git commitgit pushCloudflarechangelog
Observed sessions
Grouped by repeated session types
Portfolio, mobile release, and screen-audit sessions are rewritten here as public-safe workflow patterns instead of raw transcripts.
Issue execution
Sessions that start from a PRD or GitHub issue and narrow the implementation scope against the repo.
Result
The requirement, code change, and verification result land as a traceable commit or issue state.
Screen audit
Sessions that inspect portfolio and product surfaces through screenshots, DOM checks, and route output.
Result
Layout, link, public-safety, and responsive issues are fixed with visible evidence.
Release debug
Sessions that separate build or runtime failures from external console and store-boundary work.
Result
Repo-owned work and manual console work are split into clear completion criteria.
Boundaries
No blind patches
Agent suggestions are checked against the actual owner path before implementation.
No hidden alternate behavior
The preferred fix is the canonical contract, not a permissive alternate branch.
Verification first
Generated output, tests, and user-visible behavior decide whether the change is done.