$ tree ~/field-manual
How I run Claude, Gemini swarms, and Codex as one multi-engine operating system. Every page here is a doc in a public repo, synced at build time, so what you read is what you can clone.
source: nathanmauro/agent-field-manual@77ae971
./ workflows/
Step-by-step runs you can copy: who drives, who builds, who verifies.
- Claude From Codex updated Use this workflow when a Codex-led session needs Claude for bounded review, planning, debugging, or a second opinion. It fits hard design choices, unfamiliar code paths, and any change where an independent critique from a different model is worth more than…
- Closeout And Handoff updated Use this workflow at the end of a branch, round, review session, or interrupted work period. It is especially important when changes are not merged, verification is partial, live systems were affected, or another agent may need to resume.
- Codex Fleet updated Use this workflow when several projects need bounded progress and each project can move through a narrow vertical slice. It works best when a conductor can coordinate scope, review, and next-round decisions while separate Codex sessions handle project-local…
- Codex From Claude updated Use this workflow when a Claude-led conductor hands a well-specified implementation, debug, or fix task to Codex and keeps the plan, the verification, and git for itself. The split is deliberate: Codex carries the generation, Claude spends its tokens on…
- Codex-Led Session updated Use this workflow when Codex is the coordinator for a whole working session: it opens the project, decides how the work should run, delegates the parts another engine does better, and closes the session so the next one can resume quickly. It is the…
./ concepts/
The ideas the workflows rest on.
- Agentic Operating System updated Coding agents fail when context, gates, memory, and verification are assembled ad hoc for each run. A strong model can still make poor changes if it cannot see the project intent, does not know which mutations are allowed, has no reliable place to leave…
- Authorization Provenance updated A human says "start Claude in the project and ask it X." The coordinating agent launches a second agent and hands it the task. Two things go wrong from here. The second agent, seeing no human in the conversation, asks for permission again, and the human…
- Context Budget updated Every tool result an agent reads stays in its context window for the rest of the session. This chapter measures where those tokens actually go across 18,873 Claude Code and Codex transcripts, then covers the three fixes that came out of it: small command-line tools that replace connector reads, a hook that trims oversized MCP results, and a context guard that rotates sessions at a clean break instead of letting autocompact summarise.
- Context Guard updated Long sessions get vaguer well before autocompact fires, and autocompact then summarises away the wrong things. A context guard treats context as a budget: it measures growth from the statusline, marks the session due, and hands off to a fresh session at a clean break. These are design notes from a working private version.
- Council Review updated Hard technical decisions can suffer from single-model blind spots. One model may anchor on the first plausible solution, miss operational risk, or overfit to the wording of the prompt.
- Execution Path Triage updated A coding agent with access to multi-agent orchestration tends to use it. Every task starts to look like a reason for parallel research, a delegated build, and a verification fan-out, even when the right move is a direct answer or a ten-line edit. The cost…
- Fleet Execution updated Multiple repositories often need progress at the same time, but one giant context window becomes slow, fragile, and hard to review. A single agent carrying every project detail can mix state, miss dirty files, and lose the thread on individual branches.
- Handoffs And Continuity updated Agent sessions end because of context limits, time limits, interruptions, or a natural stopping point. Without enough state to resume, the next session must infer the branch, touched files, verification status, live effects, and next useful action from…
- Living Specs updated Cold agents rediscover scope when the current plan lives only in chat history. Over time, requirements drift, decisions are forgotten, and each new session spends context reconstructing what should have been written down.
- Native Swarms updated Some agent clients now ship a native swarm: one coordinator posts work to a shared board, and several workers claim, run, and report on it inside the client. For fan-out across repositories, browser work, and workspace operations, that board replaced a shell-supervised worker bus that had to be launched, watched, and reaped by hand. This chapter covers when a native swarm is the right engine, when deep single-repo coding should leave it, and the one isolation rule both shapes share: workers that edit files never share a checkout.
- One Policy, Three Clients updated Running several coding agents on one machine means a global instruction file, a skill directory, and a set of hooks per client, and one more place for a rule to drift with every client added. This setup runs three: a primary builder, a swarm client for…
- Project Trajectory And Possible Futures updated A durable memory full of decisions, handoffs, and observations answers "what happened" but not "where is this project and where could it go." The forward-looking state is captured—next actions in the latest handoff, open loops, blocked tasks, alternatives a…
- Supervised Delegation updated Handing a coding task to a second agent is easy. Knowing what happened to it is not. A raw codex exec or claude -p call blocks the caller for the whole turn, dies with the caller's shell, and returns a screen's worth of text that the caller then has to…
./ notes/
System maps, boundaries, and related work.
- Kindred Systems updated This manual distills one practice. Other people have distilled theirs, and when an independently built public system lands on the same patterns from a different direction, that convergence is evidence the patterns are real, not one person's habit. This page…
- Private/Public Boundary updated This repo is a public, curated export of workflow patterns from a private local control plane. The private source repo remains private because it contains machine-specific automation and personal operating context.
- Workflow Diagrams updated These Mermaid diagrams show the operating patterns in this repository at a glance. They describe reusable workflow shapes for three clients, Claude Code, Antigravity, and Codex, under one policy. They are intentionally public-safe: no private machine wiring…