Published / November 2026

Autonomous agent ticketing in practice

Why a small, explicit ticket queue makes coding agents more useful, reviewable, and less theatrical.

agentsdevelopmentoperations

The useful unit of autonomous coding work is not a prompt. It is a ticket. A prompt dissolves as soon as the conversation drifts; a ticket keeps the scope, inputs, acceptance criteria, and reviewer decision in one place.

That sounds almost too ordinary to be important. It is not. A coding agent can produce a lot of plausible change very quickly. The bottleneck is not always generation. It is knowing whether a change belongs in the repository, whether it is complete, and whether a human can understand the consequences without reading every line of a branch. A small ticket is the boundary that keeps the agent useful instead of merely busy.

A queue is an operating surface

I treat the queue as a map of work the system can safely attempt. A ticket may add a Markdown post with validated frontmatter, repair a documented regression, isolate a component, add a narrow test, or perform a well-scoped repository cleanup. It should not say “improve the site,” “modernize the system,” or “make the agent smarter.” Those requests have no stopping condition and no useful review surface.

The queue does three things. First, it gives the agent a bounded input. Second, it preserves a human-readable history of why the task existed. Third, it tells the reviewer what evidence should exist before the change is accepted. Without those three properties, the work is just a conversation that happens to modify files.

The ticket does not need to be bureaucratic. In a small team it can be a Markdown file, an issue, or a structured record in an existing tracker. The implementation detail matters less than the fact that the task can survive a context reset. If the agent session disappears, the ticket should still state what was intended, what was in bounds, and what a successful result looks like.

Give the agent a job, not a mandate

The most useful tickets name one visible output. “Create a Work With Me page from the supplied Markdown collection” is a job. “Improve conversion” is a mandate. The first lets the agent identify relevant files, make a limited set of changes, run the build, and return a branch. The second invites it to explore the entire system while creating a review tax for someone else.

The distinction matters when the task touches unfamiliar code. An agent can be very effective at gathering local context, implementing a narrow pattern, and running a known validation command. It is much less reliable when it must invent business priority, design taste, integration ownership, and release criteria at the same time. Those are different kinds of judgment. A ticket should make clear which judgment remains with the human.

I also separate implementation work from decision work. An agent can implement a selected approach. It can assemble alternatives with evidence. It should not silently choose a new architecture because it found an adjacent file that looked inconsistent. If a decision is required, the correct output is a question or a short decision record, not an unannounced refactor.

The review point is the product

The agent should return a branch or pull request with four things: a concise change summary, the files affected, the checks run, and any unresolved assumptions. The human reviewer should be able to compare that summary with the ticket in a few minutes. If the review requires reconstructing the request from a chat transcript, the ticket was too weak.

Review is not an optional ceremony added after automation. It is the point where system judgment remains attached to generated work. A clean branch may still solve the wrong problem. A passing build may still contain an unwanted content claim. A test can confirm a function but not a business decision. The ticket gives the reviewer a stable place to make that call.

What the queue looks like here

My queue is a Linear team. A ticket is ready for an agent when it has the fields in the table below. A builder agent claims one ticket, works on a branch, and opens a pull request. Then the pull request goes through what I call the gauntlet: local review gates before the push, an adversarial reviewer agent on the pull request, fixes with regression tests, and finally me. Nothing merges without a human.

The numbers that justify the overhead:

  • 6.4× faster delivery on work that goes through the ticket queue and gauntlet, compared with how I delivered the same kind of work before.
  • $40k saved for an enterprise team by one app built over a weekend and shipped through the gauntlet. The review gates are what made a weekend build safe to hand over.

Neither number comes from the agent writing code faster. Both come from small tickets that survive review on the first or second pass.

Failure modes I watch for

The first failure mode is scope widening. A task starts as a focused fix, then the agent finds “related improvements” and touches a dozen files. That can be appropriate only after the original task is complete and the additional work is proposed separately. The second is invisible acceptance criteria: the agent writes code but nobody specified the command, page, or behavior that proves success. The third is a missing owner. If no one is named to accept or reject the result, the branch becomes a pile of technically plausible work.

The correction is not a more elaborate prompt. It is a sharper ticket. When a task is still too large after writing the acceptance criteria, split it. Small reviewable changes compound faster than a large “autonomous” branch that nobody wants to merge.

Reusable artifact: agent-ready ticket definition

Use this definition for a ticket that an autonomous coding agent may attempt:

Field What to write Example
Intent The single user or system outcome. Add the completed field note to the Astro Markdown collection.
In scope Files, routes, or systems the agent may change. src/content/brief/ and src/pages/brief/; no deployment configuration.
Out of scope Adjacent work the agent must not decide. Do not redesign the site, change wrangler.toml, touch secrets, or remove the review gate.
Acceptance criteria Observable conditions that define done. Post builds, route renders, frontmatter validates, and artifact card is present.
Checks Commands or inspections to run. pnpm build; inspect the generated route.
Reviewer decision The person and decision still required. Neil accepts the article’s technical framing before merge.

Before assigning the ticket, ask one final question: could a reviewer tell whether this work is complete without opening a chat log? If the answer is no, refine the ticket before giving it to the agent.