Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

8th Light 9 min read Opinion easyNovice

From AI Code to Trusted Software: Harness Engineering in Practice

Harness engineering encodes an organization's standards into the repository itself so they are enforced rather than merely suggested to AI agents: permissions and boundaries, quality gates that fail closed, evidence and provenance attached to every change, and observability across runs. The core argument is that verification, not code generation, is now the bottleneck, and that the same reasoning path should not both write a change and define its proof; independent reviewers or different model families reduce shared blind spots. Teams mature from assisted to harnessed, risk-tiered and autonomous workflows, with humans moving up to govern boundaries and audit evidence. A PAAA framework (Purpose, Articles, Actors, Artifacts) is offered as a governance audit, alongside a pitch for a consulting workshop.

Assumes: CI required checksbranch protectionAI coding agents

Related posts

  • Four minutes after midnight, Codex said the page was live

    Render mediumAdept

    OpenAI's Dominik Kundel argues that with agentic delegation, code is no longer the bottleneck. What matters is the harness around the agent: context, validation and verification. Codex reaches context through plugins (Slack, Notion, Drive, Linear), Memories and Chronicle. It validates its own work with fast tests, linters like Vale for docs, parallel app copies, CDP debugging and deployment-watching plugins. Changes get verified by a separate Codex review session tuned via AGENTS.md to flag only P0/P1 issues, plus deploy previews or videos. Recurring feedback should become skills, lint rules or tests rather than repeated corrections, illustrated by Codex shepherding a midnight docs deploy end to end.

  • Harness engineering: leveraging Codex in an agent-first world

    OpenAI mediumAdept

    A small OpenAI team built and shipped an internal product of roughly a million lines over five months with zero manually written code, merging about 1,500 Codex-authored PRs at around 3.5 PRs per engineer per day, an estimated 10x faster than writing it by hand. The engineers' job shifted to building the environment agents work in. Each git worktree boots its own app instance, the Chrome DevTools Protocol lets agents drive the UI, and a per-worktree ephemeral observability stack can be queried with LogQL, PromQL and TraceQL. A short AGENTS.md acts as a map into a structured, CI-validated docs/ directory instead of one giant instruction file. A rigid layered domain architecture is enforced by custom linters whose error messages carry remediation instructions for the agent.

  • Agentic Engineering at Zalando: a snapshot

    Zalando Engineering mediumAdept

    Zalando's 2.5 years of agentic engineering across 250+ teams rest on a LiteLLM-based proxy fronting OpenAI, Bedrock and Vertex. The proxy uses hooks for cost tracking, User-Agent-based client version enforcement and auto-injected prompt caching, and serves 2k MAU on six small pods with forced restarts every 20k requests. A custom pydantic-ai CLI adds MCP token injection and an HTTP-to-stdio proxy. Measured effects include larger PRs since Sonnet 4, rapid cyclomatic-complexity buildup in agent-built codebases and bloated commit messages. A risk-based PR approval bot, with rules derived from incident analysis, auto-approves 33% of PRs and cuts lead time 20-40%; governance relies on vendor independence, shared agent skills, a Tech Radar AI section and knowledge-sharing formats.

  • When AI Writes the Code, What Counts as Evidence?

    Stack Overflow Blog easyNovice

    Coding agents increasingly investigate and fix failures in private sessions, delivering patches while discarding the reasoning, failed attempts and environmental context that teams used to preserve as shared troubleshooting knowledge. A staged example shows an authorization acceptance test catching a case that lint, unit and integration checks missed: raising KeyError for unknown order IDs leaked existence, and the fix maps it to AccessDenied. The proposed direction is to capture failure facts and execution traces from agent sessions, search existing authorized knowledge before drafting sanitized questions, and keep human review to separate plausible guesses from verified fixes. Success should be measured by whether later agents and engineers resolve recurring failures faster, not by how many questions or answers get generated.

  • Running Codex safely at OpenAI

    OpenAI mediumAdept

    OpenAI runs Codex internally inside a bounded environment. A sandbox limits where it can write and whether it can reach the network, approval policies make higher-risk actions stop for review, and an auto-review subagent approves routine low-risk requests so users are not constantly interrupted. Admin-enforced requirements files cover network allow/deny lists through a proxy, Starlark prefix rules for shell commands, and OS-keyring credential storage pinned to an enterprise ChatGPT workspace. OpenTelemetry export of prompts, approval decisions, tool results and proxy events feeds a SIEM and an AI security triage agent that explains why the agent did something, not just what happened.

The quest for software engineering knowledge.

Look:
Layout: