The working method · Capability map

How I run an agentic engineering team

My working reference: how planning, parallel sessions, scripted workers, review, landing, cost and decisions fit together. Sections 1 to 3 are the method. Section 4 is a capability map of my runner as it stood on November 9, 2026: what each stage decides, what it refuses and what it leaves behind. The runner itself is private and changes every week, so this page describes behavior, not files or flags. Build your own to the same contract, or ask to see mine.

Back to the playbook · Give the workflow guide to your AI · Metric definitions and the dashboard · Operating rhythm

The progression

StageHow I workWhat coordinates it
Detailed planningExplore options, settle a specification, then write an implementation plan with exact files, dependencies and checksPlanning skills and a human who accepts the decisions
Parallel interactive sessionsIndependent deliverables in separate worktrees; sessions exchange focused updates and request decisionsAccepted plan, task ownership, messages and durable handoffs
Scripted headless sessionsFresh bounded workers and reviewers, selected provider, recorded outcomes, capped fix loopsDeterministic scripts, ledgers, environment checks and a human decisions inbox
A queue that drives itselfThe board is triaged, specs are drafted and reviewed, waves are built and run, and questions come back to me in one placeThe same scripts plus a no-model tick that resumes work once I answer

These modes coexist. I still use interactive sessions for design, investigation and decisions. Ready execution work moves through scripts without a long model conversation routing every step.

Parallel sessions sharing focused messages around an accepted plan

Conceptual illustration generated for this draft. It does not encode a measured productivity result.

1. Spec first, implementation plan second

I used design and planning skills to turn a broad goal into a contract several sessions could follow. The specification covers observable behavior, non-goals, accepted product decisions, exact interfaces/schema, compatibility and failure cases. The implementation plan turns that contract into reviewable parts: named files, dependency order, verification commands, required environments and review points.

For example, define a notification contract before splitting schema, API, SDK and documentation work. A session writing an SDK cannot safely infer a response shape from "the API session is handling that." Put the exact agreed shape in the spec and link its revision. An interface change needs an update to dependent lanes.

Sensitive or multi-surface tasks retain Invariants and a Test matrix. A prepared brief has six fields: outcome, acceptance, spec/plan reference at revision, files/interfaces, verification and branch/base. Small tasks can use a small brief. Complexity determines how much detail must survive compression.

Use the implementation-plan template and task brief. Planning skills belong where design judgment is needed. The lean worker receives the resulting contract, without repeating every planning step or inheriting unrelated tools. Put binding project constraints into the worker's explicit inputs before reducing discovery.

2. Parallel sessions and messaging

I assign each interactive lane a coherent deliverable, known owner, worktree, starting revision, test environment and stop conditions. A dependency graph decides what can start together. Shared tables, migrations, mutable test databases, ports and Git metadata can constrain concurrency even when the prompts look independent.

Messages are short coordination events: a dependency is ready, a contract changed, a check failed, or a decision is required. They include the task key, revision, evidence and requested action. The receiving session checks the current task and relevant source before acting. The message does not silently reassign work, approve a release or overwrite a newer decision.

An example using the message template:

Task: notification-sdk; revision: accepted-contract-revision
Update: the API lane now returns retryAfterSeconds on rate-limit responses.
Evidence: contract document + reviewed PR revision.
Requested action: update the SDK's accepted response mapping and its tests.
Owner/scope: keep your existing lane; flag any acceptance change for review.

This is a pattern, not a transport installed by the kit. Use the messaging tool available in your environment and the user's authorization. Record the accepted interface change in the spec/decision; retain completion evidence in the task. A handoff captures where work stopped. Neither requires dumping a raw transcript into every session.

Lean headless workers do not message other sessions or write team memory. Their reports and handoffs return to the coordinating layer, which updates the task records. Session messaging and scripted orchestration solve related problems through different mechanisms.

3. The headless pipeline

Human + planning session -> accepted spec / implementation plan
review-spec -> current-content gate -> prep-brief -> worker
  -> verification on the merged result -> review-pr
  -> bounded fix or human escalation -> exact-head landing checks
  -> separately authorized integration and release

Scripted task flow with worker stations, verification, review and decisions

Conceptual illustration. The routing script itself does not need a model session; its workers and reviewers do.

Three drivers share those stages. pipeline handles one task. run-queue handles tasks selected from the board. run-plan handles a dependency graph of parts and resumes from saved state. Reports and machine outcomes replace repeated "what should we do next?" exchanges for decisions already encoded in the workflow.

Every stage leaves a local record: preparation, worker, review and spec-review ledgers; per-task results; plan state; escalations; landing reports; a decisions inbox. Keep these private. Public evidence should use redacted aggregates and explicit scope.

4. What the runner does, stage by stage

As of November 9, 2026. Between October 14 and November 9 the runner grew from 32 to 100 scripts, none removed, which is why this map stays at the level of behavior.

StageWhat it decidesWhat it refusesWhat it leaves behind
Intake and triageWhich board tasks can run, which need a spec, which wait for a personCreating board tasks; touching the hard-limit list even when a task is marked readyA queue summary and a triage file; costs nothing
Spec draft and reviewWhether a spec is READY, needs a fix, should split, or needs a humanA spec whose content changed after its review; a review session that ran out of budgetReview reports, a ledger row per review, an exact-content gate
Wave buildingWhich ready tasks run now, in what order, and which questions to ask firstWriting the board; parts the budget cannot fundA plan of runnable parts, a held list with reasons, one round of questions
Claim and executeWho owns the task; whether the machine and blockers allow a startStarting with a blocker not done, too little disk, or a prod-touching brief with no declared human gateA claimed task, an isolated worktree, a draft PR, a ledger row per attempt
VerifyWhether the change works merged with the current baseCounting a test red against the change when it also fails on the baseVerification evidence tied to the exact head
Review and repairMERGE, MERGE AFTER with structured conditions, or DO NOT MERGE; whether another fix round is worth itFix rounds that stop converging; review prose as shell authorityReview reports, fix specs, a follow-ups checklist
LandWhether the exact reviewed head can enter the integration branchProtected branches; any unknown or missing result typeA typed landing record per attempt
Questions and decisionsWhether an accepted rule already answers a question; when to resumeEscalating a question a standing rule covers; auto-answering sensitive topicsInquiries, decisions, a resumable plan
Board hygieneWhat is unblocked now; which worktrees are provably safe to deleteDeleting anything with an unknown answerReports; nothing changes without an explicit apply
CostWhether the next wave can be funded under one capStarting a wave the remainder cannot pay forA spend total, a gap report, per-epic budget lines
VisibilityNothing: it readsWriting anything by defaultA local dashboard of flow, cost, decisions and data health

Intake to ready

A lean queue driver turns "work the backlog" into one repeatable sequence: read the board, triage, draft missing specs, review them, mark gated tasks ready, build a plan, run it. The first pass is free and read-only. The paid pass runs under a stated budget. The driver session runs commands and reads short output; workers, reviewers and spec drafters are separate capped headless sessions.

Triage parks a task for a person when its title, summary or next step touches the hard-limit list: gateway and privacy boundaries, auth, organization or tenancy, the executor, the public API contract, production data, cloud infrastructure, secrets, deploys, publishing, migrations, and pushes to protected branches. It does this even when the task is already marked ready.

A wave builder splits ready tasks into three lists. Runnable parts are chained where their file footprints overlap or are unknown, so two workers never edit the same file in parallel. Held parts carry one reason from a closed list: not agent-ready, blocked, no spec, environment unavailable, environment unknown, open decision, held decision, not approved, over cap. Questions are capped at four per round, plus an overflow count. The budget sets the wave size: parts kept equals the total cap divided by the per-part cap, and any part that depends on a trimmed part is held too.

A spec review counts only for the exact text it reviewed. Any later edit needs a new review. A replan of a plan that already has run state must produce the same plan, or it is refused; the next batch gets a new name.

Execute

Claims follow the write, wait, re-read pattern. Before a claim the driver reads the task's blockers; any blocker that is not done skips the task, and an unreadable blocker skips it too (fail closed). A task can be stacked on one named blocker's branch on purpose; every other blocker must still be done.

Workers run in isolated worktrees with the six-field brief and a per-stage budget reserve. A disk preflight stops the run before any worktree or model call when the volume has under 20 GB free, so a full disk costs nothing. Work that touches production paths (migrations, CI workflows, infrastructure, release and deploy scripts, container and task definitions) must declare its human gate in the brief, or declare none explicitly; otherwise the pipeline stops before the worker with "needs spec".

Outcomes map to states. Ready for the landing gate goes to in review. Needs a person with a PR goes to human review. Needs a person without a PR goes to awaiting human, with three fields: the kind of need (decision, approval, verify, wait or proposal), a self-contained ask (the exact question, or the exact command with preflight, verification and rollback), and what resumes once it is answered. Runners claim only backlog work, so a parked task is never picked up again by a worker.

Verify, review and repair

Verification runs on the merged result. The base is merged into the PR head in a scratch worktree, then the touched hermetic tests and the build run there, and the evidence is tied to that head. A test that also fails on the base is listed as pre-existing, not counted against the change.

On risky changes a quick second-pass review runs before the deep review. Its findings enter the deep review as unverified claims to check, not as conclusions. The deep review is pinned to the exact head and ends in MERGE, MERGE AFTER or DO NOT MERGE. MERGE AFTER carries a structured conditions list; only allow-listed commands (named test files, drift checks, named database suites) can be run from it. A human condition blocks; a fix condition becomes a fix spec.

Repair is bounded. One automatic fix round by default, up to three when the rounds converge: no repeated blocker, no more blockers than the round before, round cost not rising. A round that stops converging escalates to a person as a design problem. The fix merges only into the task's own branch; the integration branch is reached only through the landing gate.

Non-blocking review notes go to a follow-ups checklist per plan. The next preparation session folds accepted items into new specs. Nothing in it is filed on the board automatically.

Land

The landing gate runs a fixed checklist and stops at the first block: PR state, an exact-head deep review, merge conflicts, typecheck policy, tests, real database suites, review conditions, deployment drift. It never edits code. Tests are chosen by import graph: every test that imports a changed module runs, up to a cap. A PR that edits tests which only run against a deployed service is held as verify-after-deploy rather than passed.

Two lighter checks run before the tests. The PR body must carry the lines the changed paths oblige (privacy notes, an overlap check, any rule numbers the spec cites). A spec can declare its allowed files; a changed path outside them returns the PR for a fix.

Every landing result carries a type: ready, base moved, review stale, findings open, tooling, or needs decision. Callers switch on the type, and a missing or unknown type is never success. Apply is allowed only into an allow-listed integration branch; adding a branch is a code change that needs my approval. A merge train lands many PRs one at a time through the same gate and holds high-risk paths (CI workflows, infrastructure, migrations, SQL) for a person.

When the gate blocks only on a known tool limit (for example, a typecheck that cannot run at this repository's size), a guarded hand merge is allowed under a standing rule: the merge names the exact head commit, and the evidence goes in a PR comment.

Questions and decisions

When a plan escalates a question, one capped small-model call first checks whether an accepted standing rule already answers it. It must cite a rule that exists, and it never covers auth, tenancy, production, deploys, money, secrets, migrations, personal data, permissions or security. Covered questions are resolved with a recorded line in the PR body and the landing gate re-runs once. Everything else waits for me.

Answers are recorded, then a no-model dispatcher tick resumes one plan whose questions are answered, under the usual caps, locks and cooldown. It runs as a dry run by default and logs what it would start; apply mode waits until a person has reviewed a week of those logs. A status command exits with distinct codes for new questions, finished, stale and idle, so a scheduler can react without reading prose. A local dashboard can request a run, but only by writing a request file; the dispatcher stays the only thing that starts work.

Section 6 covers how questions and decisions are recorded.

Board hygiene and the machine

  • Unblocked now. A read-only report lists backlog tasks whose blockers are all done, with the date each blocker finished. Tasks with an unknown blocker get their own heading.
  • Safe worktree pruning. Dry run by default. A worktree is removed only when nothing in it changed for 30 minutes, its branch's PR is merged or closed, its head is on the remote, it has no uncommitted files, and no in-progress task holds a lease on it. Any unknown answer keeps it. Runs prune their own wave's worktrees at the end.
  • Machine locks. Heavy test steps (real database suites, shared containers and ports) take a machine-wide lock, so two landing runs cannot collide.
  • Per-repo configuration. A small file in the base checkout adapts the runner to another repository: protected branches, extra verify commands, test lanes, worker deny rules. It can only add restrictions; it can never remove a default protected branch, and an invalid file is a hard error with no fallback.

Cost

One cap covers everything: preparation, workers, reviews, fix rounds, spawned agents and the coordinator session. The total is checked before every wave. A spend gap report compares the cap-counted total with a transcript-level usage audit and flags any gap above a tolerance (15% by default), so spend the cap missed cannot hide. Cloud workers report their own usage from inside the VM. Epic budgets are tracked strictly. Codex usage is recorded as an API-equivalent estimate when a rate is known and as unknown otherwise; unknown is never reported as free.

The dashboard splits spend into the sessions a person drives, the agents those sessions spawn, headless runner stages and other SDK sessions, because each is optimized differently. Metric definitions has the cost groups and how each one misleads.

Visibility

A local dashboard collects from the board, GitHub, the runner's plans and local transcripts, saves one data file, and serves a page bound to the local machine. It reads every source and writes none by default. Its views and the pattern for building one are in metric definitions.

5. Provider and subscription routing

RouteHeadless harnessAuthentication and accountingControl
Anthropic modelclaude -pClaude Code login can use subscription access; an API-key configuration bills separately. CLI dollars are client-side estimatesWorker stage budget plus attempt/recovery reserve; checks between stages
Codex modelcodex execChatGPT login for subscription access, or API auth when configured. Recorded value is API-equivalent or unknown, not a subscription invoiceNative sandbox, timeouts, stage-boundary budget checks; no live dollar cap
DeepSeek modelclaude -p against an Anthropic-compatible endpointAPI key; API billing at configured pricesCLI cap on an assumed price basis; known models above it are refused
OpenRouter modelSame Claude CLI harness, different endpointAPI key; API billing; catalog prices cached for up to 24 hoursSame price-basis check; compatibility must be probed per model and version

A prefix on the model name selects the adapter. It is not a guarantee that any model works with the harness. Pin a tested model ID and record the CLI version, authentication mode, endpoint, rate source and date, and whether usage was complete. Do not treat subscription access as unlimited capacity or an API-equivalent dollar figure as an actual saving.

The Codex route can be forced onto subscription login, with API credentials and endpoint overrides cleared from the worker's environment. Its write worker can be kept off the network: it leaves a ready marker, and a separately authorized coordinator verifies and publishes. Codex read stages default to 10 minutes and write stages to 30. Claude tool allowlists and hooks do not carry over to Codex; its native sandbox and explicit worker instructions govern those boundaries.

Since October the Codex subscription route has its own wave controller. A preflight doctor runs the worker's real test and build commands in the native sandbox, with no model call, before any stage starts; a failed preflight stops the wave at no model cost. Recovery from a held wave is an explicit step that needs a fresh exact-head review and a new preflight; it cannot override a coordinator hold or an unknown outcome.

For the API routes, the key is in the child process environment, so isolation remains necessary. Model-driven PR test execution is disabled for these routes and for Codex; a separate verification stage supplies test evidence. A read-only model review alone does not prove runtime behavior.

Product references, checked October 14: Claude non-interactive CLI, Claude cost accounting, Codex non-interactive execution, Codex authentication. Claude's newer --bare mode does not use subscription OAuth; it is not interchangeable with lean worker settings.

6. Rules that came from incidents

Each started as a mistake that cost money or shipped a bug. They are written once and shared by every agent tool we use, Claude Code and Codex alike, in a repository file and a team-memory playbook kept in sync.

  • One cap covers everything. A session's dollar cap includes preparation, workers, reviews, fix rounds, subagents and the coordinator. A script totals all of it before every wave, and no wave starts that the remainder can't fund.
  • Reviews never run as in-session subagents. Each review is one capped headless process. The $17.30 spec review is why; a hook enforces it.
  • Size the task to the worker. A worker has a soft budget of about $2. Tasks with more than six to eight new files came back with no code, so work is split into parts of about 500 changed lines or fewer, each stacked on the previous one's branch.
  • Paste shared contracts. When two tasks touch the same table, interface or wire format, each spec carries the exact definition. "Created by task X" is not enough (the import failure is the example).
  • A thin review is not verification. A review that made one or two tool calls on a change with new SQL, auth, billing or two-store writes counts as unverified. Before merging, someone runs the build, the touched tests in a clean environment, and each new query once against a real database with the real schema.
  • Check red against the base. A failing test counts against a change only if it passes on the base. Known failures on the base are listed, so nobody "fixes" them inside an unrelated PR.
  • Route, don't work. A coordinator fix that takes more than about five calls costs more than a worker run. Write a brief instead.
  • Drive, don't patch. A session driving the queue runs commands and reads short output. It never patches the runner mid-run (it writes a note and ends), never routes around a refusal, never merges directly (landing goes through the landing gate) and never files board tasks; a proposed split stays a proposal.
  • Sessions never wait on a decision. When a question needs me, the task parks with a self-contained ask and the session moves to other work. Nothing idles on an answer.

7. Questions and decisions

By late October my answers lived in a flat rulings file that sessions appended to. It grew to about 150 entries in two days, with numbers reused by different sessions, and nothing could find an old answer except reading the whole file. Now the open question and the answer are separate records:

SituationRecord
A question only a person can answer, not answered yetAn inquiry directed to that person; the waiting task is blocked by it
An offer the person can accept or rejectAn inquiry of kind proposal; it becomes a task only after it is accepted
An answer a later session would otherwise ask again, or undoA decision, linked to the inquiry it resolves and the tasks it applies to
Approval of one action, "this time only"A one-line note on the task, not a decision
A tactical choice nobody will ask about againNothing; the PR description is enough
A later answer that disagrees with an accepted decisionA new decision that supersedes it; the old one is never edited

Sessions find decisions by search, so a decision states the general rule, not the conversation. "Public API fixes may change responses only for invalid input" can be found again; "Yes (Recommended)" cannot. Each decision carries a reuse level: a standing rule applies every time and needs the person to have said "always" or "from now on", and gets a review date; a precedent is a strong default for similar cases; a one-off covers this case only.

At pickup, a script lists the open questions on the task, the accepted decisions that apply and the closest precedents. Accepted decisions are final. Before opening a new question, the agent searches for a precedent and asks "same answer as this one?" instead of starting fresh. Headless workers never ask; they leave the inquiry open and the task waits. Moving the old rulings over taught me not to flood memory: one decision per ruling would have buried the rules that matter under one-time landing approvals, so only standing rules and product calls became decisions.

Standing rules also feed a small decide policy that agents check before escalating: a NEVER list first (protected branches, production and cloud, secrets and personal data, behavior changes for existing customers, removing anything whose external use is unknown, budget increases, migrations, reversing a decision I made, filing tasks from an agent's own suggestion), then any time-boxed authorizations, then numbered rules, each with the conditions that must all hold, the action, the peer check it needs and the incident it came from. Anything no rule matches stays with a person. Operating rhythm has the pattern for your team.

8. Security audits and UI tests

In October I started a security audit and hardening of our product's backend, work I never had room for before. Pinned third-party security review skills run as capped, read-only headless sessions; nothing is installed in the product repository; a dry run shows the job list and the worst-case cost before I approve a ceiling. Findings come back as a triage table. Each confirmed row is checked against the code before it becomes a task, and rows that need cloud or configuration access become verification tasks for a person. A lighter pass runs on each release diff. The audit is not finished, and I don't publish its findings.

Agents also test the product through its interface: the local UI in a real browser, signed in to a test account whose credentials live outside every repository and are never printed. They touch only throwaway items they created. A bug in the change under test is fixed there with a failing test first; other bugs are reported; feature ideas become proposals for me.

9. Workers on cloud VMs

On November 9 my workstation sat at 100% CPU with little memory free. Agent sessions were part of it, but the surprise was Git: its file-system monitor was on in a repository with about a thousand worktrees, and hundreds of monitor processes were running, one per worktree Git had touched, none of them exiting. Turning the monitor off and stopping them took CPU from 30% to 8% on a lighter moment of the same day, and about 100 finished worktrees were safe to prune. The lesson: a local machine caps parallel work long before the budget does.

The same day I piloted Claude Code cloud sessions as workers. Each runs in a fresh VM, started through the routine API (the interactive cloud command needs a terminal), so the pipeline can launch them from a script.

Measured on November 9Result
VM size4 vCPUs, 15 GB
Install / buildAbout 20 seconds each
Full memory test suiteAbout 3 minutes, all passing
Sessions at once8, none queued or refused (14 in total)
Wall time per worker round234–872 seconds; local rounds on comparable work took 186–843
Real tasks3 fix rounds on open PRs: one reached MERGE AFTER and waits on a product call; two were stopped for me (one changed an item the brief reserved for a person; one needed four rounds, each finding a new edge)
Review spend on the PC8 reviews, $9.99

The split: the cloud does task preparation, workers and fix rounds, one task per VM. The PC keeps the board and team memory, opens PRs, runs the final review gate and landing, handles production and anything that needs Docker, and runs at most two local headless sessions. The handoff is Git: the worker pushes its task branch and stops.

What the pilot taught me:

  • The session ends when the turn ends. Background jobs die with it, so tests run in the foreground.
  • The VM is not my machine. No Docker; a native Postgres without the vector extension. My user-level instructions, hooks, skills and MCP servers don't come along; repository-level settings do. Some GitHub API calls are blocked, so scripts use the REST endpoints.
  • Nothing secret goes into the environment. Its variables are readable by anyone who can use it, so the VM holds no cloud credentials and no team-memory key.
  • A tool list is not a guard. A worker used a tool it wasn't given and sent me a phone notification. Harmless, but it means the tool list can't carry safety.
  • The branch rule was only a prompt. The integration branches had no protection, and the cloud Git proxy doesn't limit where a session pushes. A check after each run now rejects any push to a protected branch.
  • Cloud spend is invisible from the PC. A cost step inside the worker now reports its usage back, and a failed launch is recorded, charged and ends the task as blocked. The real ceiling is the weekly plan limit, which no API reports.
  • Cap fix rounds at three. A fourth round that finds a new edge each time is a design problem for a person.

This is a pilot, not an approved scale-up. The next step is five tasks, then eight at once.

Update, November 10 to 14. That next step is done. A 177-task run on November 10–11 used cloud workers throughout; runs now start with 8 cloud slots and raise them to 12 after 10 clean launches, under one shared slot cap. On November 14 reviews moved to the cloud as well, behind a switch, with a local fallback. Landing, board writes and production stay on the PC. Every script refuses to start if an Anthropic API key is set, and workers check drift and types on the touched files before they push. The run loop itself moved into scripts: a driver, a supervisor with no model, an inbox and a digest. Batch runs has the design, the gates, the caps and the timeline.

10. Claims and concurrency

Queue claims are not atomic in my runner: write, wait, re-read reduces conflicts but cannot prove exclusive execution across coordinators. The plan runner gained the same opt-in claim with a read-back, and the memory backend now has a compare-and-swap test on the record version, but no claim uses that check yet. So one coordinator runs at a time. The portable kit's local conditional-update demonstration shows the stronger pattern. Qualify your backend's concurrency contract before running queues from more than one coordinator.

11. A first adoption sequence

  1. Write one accepted spec and implementation plan. Prepare a worker card containing the project's actual restrictions and commands. Map ownership, messages and handoffs to your environment.
  2. Pick one compatible provider and authentication mode; pin the CLI, the model and the pricing metadata. Isolate worktree, test data and credentials. Set an authorized whole-run budget that includes the coordinator.
  3. Inspect a complete dry-run plan. Run one bounded task after execution is authorized, read its verification and exact-head review, then inspect the landing checks. Increase concurrency only after verifying resource isolation and acceptance, using the scale gates.
  4. Record accepted output, quality and repair outcomes, human effort, API-equivalent usage and actual charges separately. Compare like-for-like work before claiming an improvement.

Read every dry-run flag as a claim to verify. In my runner, a plan run without the apply flag still runs paid workers and reviews (it only skips landing), an automatic fix round can merge into a task branch without the apply flag, and dry runs of queue, review and landing still read the board, run environment checks and write local files. A full dry run and a dry-run landing are different things.

Source and limits

Sections 1 to 3 and 5 to 11 come from my own work from October to November 9, 2026; section 4 is the runner as it stood on November 9. The runner keeps changing, so read these as dated observations, not a specification. Output and cost figures belong to their own evidence cohorts, each scoped in the evidence notes.

The illustrations are conceptual. The portable memory kit, workflow templates and AI guide are available now; the runner source is not public yet.