Dako's AI Builder Notes
System
Color theme
Changsha HubOffline
大可 Dako
大可 Dako大可 DakoAI Builder · Agent PractitionerTurning AI into working software. Practical notes on agent engineering, vibe coding, and commercial delivery.
Platform links coming soon
Long jobs continue through files, not through a longer threadChat as handoffThe window closes; the next shift cannot readitProgress lives in the threadIt does not surviveFiles as handoffMap, milestones, running logA person can return and continueIt survivesFiles can hand off. Chat cannot.
Leave for a few hours and still be able to read what happened.

Park Long Jobs in Files. Keep Rules as a Map.

What Codex adds is not better chat. It can write agreements and progress into project files so the next shift can continue. Files hand off. Chat does not.

Short changes are enough with the five steps. Work that crosses hours and sessions adds one Codex-specific judgment: write agreements and progress into the repo so the next shift — human or agent — continues from files. Officially it reads project instructions before it works. Long-horizon practice calls durable project memory the most important technique.codex-agents-md codex-long-horizon

After reading, you should be able to answer:

  • Why are project instructions a map, not an encyclopedia?
  • Which three kinds of files does a long job need at minimum?
  • What do humans still review, and what do they stop reviewing?

Keep rules short and close to the code

Project instructions hold standing agreements: how tests run, when it must ask, the bad pattern and the safe path. Keep them short. Put global habits on the machine, repo norms at the root, and service-specific rules next to that code — nearer files win. Officially, empty files are skipped, and a temporary swap uses an override file instead of deleting the base.codex-agents-md

Dump every sentence into one file and task context gets crowded out, every rule looks equally important, and you cannot tell whether any rule was followed. When OpenAI used Codex to build an internal product, the first giant instruction file failed immediately. They later compressed it to about a hundred lines that pointed into structured docs.openai-harness The in-site versions are the project contract and context layering.

Three files catch the next shift

A long job needs three kinds. Names can change; jobs cannot mix:

  1. Milestones: what each step must produce, which command accepts it, repair before moving on.
  2. Runbook: how to work now, and keep the diff small enough to read.
  3. Status log: what happened and why, readable after a few hours away.

That is the user-side move. It is not another lesson in building agents. The mechanism is in long tasks need a handoff and a terminal state.

Humans review the calls, not every line

People still set the target, the constraints, and the course corrections, and they review architecture and product choices. They do not watch every line. The direction of long work is less babysitting, more delegation with guardrails. Next: how this usage breaks.

References

  1. AGENTS.md — Codex documentation
  2. Run long horizon tasks with Codex
  3. Harness engineering: a case study of Codex-built Symphony