Harness engineering: leveraging Codex in an agent-first world

Ryan Lopopolo (OpenAI) Β· article Β· 2026-02-11 source β†— Reader πŸ–₯️

Agent Governance (Internal)Agent HarnessAgent Context Files (CLAUDE.md / AGENTS.md)Feedback LoopsGolden PathIntent DebtOrchestration Tax / Human Review BottleneckProgressive Disclosure
Building a product with zero manually-written code at scale (one million-plus lines, five months, a team that grew from three to seven engineers with throughput that increased rather than degraded) required redefining engineering work from writing code to designing environments, pushing all team knowledge into repository-local legible artifacts, mechanically enforcing architectural invariants and documentation freshness, and relaxing human-paced process norms (blocking merge gates, manual cleanup) in favor of continuous, agent-driven correction β€” because human time and attention, not code production, is the one truly scarce resource the whole system must be organized to protect.

practical Β· mixed β€” A first-person engineering retrospective/case study (OpenAI's own internal build) that narrates five months of experience and distills it into explicit, prescriptive lessons at each turn. This is the primary source both corpus extractions by Birgitta BΓΆckeler (extract-bockeler-harness-engineering and extract-boeckeler-harness-engineering) react to and build on.

Structure

PartRole
We started with an empty git repositoryscene-setting / evidence
Redefining the role of the engineercentral reframing
Increasing application legibilitytechnique
We made repository knowledge the system of recordtechnique
Agent legibility is the goalprinciple
Enforcing architecture and tastetechnique
Throughput changes the merge philosophyprocess change
What 'agent-generated' actually means / Increasing levels of autonomyscope statement
Entropy and garbage collectionproblem + solution
What we're still learningconclusion / epistemic honesty

Key terms

Propositions

Arguments

Rigorous architectural constraint (strict layering, validated dependencies, mechanically enforced invariants) should be adopted as an early-stage prerequisite for agent-generated codebases, not deferred until headcount scale. strength: high
Explicit premises:
Implicit premises:
Inferences:
Blocking, human-attention-gated merge norms should be relaxed as agent throughput increases, even though this would be the wrong call for a human-paced team. strength: medium
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Closes gaps elsewhere

Related documents