This repository is a practical, docs-first harness for running coding agents with clear guardrails, validation loops, and progressive-disclosure knowledge maps.
It distills the working patterns described in OpenAI's harness engineering guidance into reusable repository artifacts: principles, checklists, prompts, and invariants.
- A lightweight governance layer for agent-assisted development
- A source-of-truth documentation set for how humans and agents collaborate
- A reusable template for keeping agent output legible, reviewable, and maintainable
- Engineering teams adopting AI coding agents in production workflows
- Operators running multi-agent systems (including OpenClaw-style setups)
- Maintainers who need enforceable standards instead of ad hoc instructions
- Read the core operating model in
principles.md. - Classify risk with
autonomy-levels.md(L0-L3). - Run change planning from
checklists/change-preflight.md. - Use architecture constraints from
invariants-and-guardrails.md. - Use feedback-loop guidance from
legibility-and-feedback-loops.md. - For OpenClaw operations, continue in
openclaw/README.md.
Use this when adding or refining harness guidance:
- Define scope with
checklists/change-preflight.md. - Apply documentation hygiene from
checklists/doc-gardening.md. - Keep changes focused to the affected source-of-truth files (for example
principles.md+ one checklist). - Review against
checklists/pr-review.mdbefore opening a PR.
Use this when OpenClaw config changes and you need docs to stay accurate:
- Start with
openclaw/checklists/config-change-preflight.md. - Verify invariant expectations in
openclaw/invariants.md. - Run the validation order in
openclaw/validation-loops.md. - Reconcile agent workspace quality with
openclaw/checklists/workspace-health.md. - If needed, run the maintenance prompts in
openclaw/prompts/.
.
├── README.md
├── principles.md
├── autonomy-levels.md
├── repository-knowledge.md
├── legibility-and-feedback-loops.md
├── invariants-and-guardrails.md
├── merge-and-throughput.md
├── entropy-and-gc.md
├── checklists/
│ ├── change-preflight.md
│ ├── pr-review.md
│ └── doc-gardening.md
├── prompts/
│ ├── doc-gardener.md
│ └── harness-enforcer.md
├── openclaw/
│ ├── README.md
│ ├── invariants.md
│ ├── validation-loops.md
│ ├── checklists/
│ └── prompts/
└── sources/
└── openai-harness-engineering.md
Suggested repository description:
Agent harness docs for AI coding workflows: principles, checklists, invariants, and OpenClaw operations governance.
Searchable keywords:
- agent harness
- harness engineering
- codex workflow
- ai coding governance
- progressive disclosure docs
- multi-agent operations
- OpenClaw
- repository invariants
- doc gardening
Suggested GitHub topics:
ai-agentsdeveloper-toolsdocumentationgovernancellmopsopenaioperationsprompt-engineeringsoftware-engineering
- OpenAI: Harness engineering article
- OpenAI Cookbook (examples and patterns)
- OpenAI Agents SDK for Python
- OpenAI API developer docs