Skip to content
NEW GUIDEShipping with Claude: a practical guide to releasing AI-built software with confidence →
Aditya Karnam

ai, agents, Claude10 min read

Shipping with Claude: A Practical Guide to Releasing with Confidence

Writing code with an agent is the easy part now. Releasing that code with confidence is where the real work is.

Over the past stretch of building software with Claude and Claude Code, the shape of my day has changed. I spend much less time typing out implementations. Most of my time now goes into three things: research before anything gets built, verification after it is built, and decisions in between. The agents carry most of the execution. My job is to set direction, check the evidence, and decide.

I wrote the workflow up as a free practical guide: Shipping with Claude: A Practical Guide. You can read it in your browser or download the PDF (23 pages). This post is the short version.

Shipping with Claude: A Practical Guide, page 1
Shipping with Claude: A Practical Guide, page 2
Shipping with Claude: A Practical Guide, page 3
Shipping with Claude: A Practical Guide, page 4
Shipping with Claude: A Practical Guide, page 5
Shipping with Claude: A Practical Guide, page 6
Shipping with Claude: A Practical Guide, page 7
Shipping with Claude: A Practical Guide, page 8
Shipping with Claude: A Practical Guide, page 9
Shipping with Claude: A Practical Guide, page 10
Shipping with Claude: A Practical Guide, page 11
Shipping with Claude: A Practical Guide, page 12
Shipping with Claude: A Practical Guide, page 13
Shipping with Claude: A Practical Guide, page 14
Shipping with Claude: A Practical Guide, page 15
Shipping with Claude: A Practical Guide, page 16
Shipping with Claude: A Practical Guide, page 17
Shipping with Claude: A Practical Guide, page 18
Shipping with Claude: A Practical Guide, page 19
Shipping with Claude: A Practical Guide, page 20
Shipping with Claude: A Practical Guide, page 21
Shipping with Claude: A Practical Guide, page 22
Shipping with Claude: A Practical Guide, page 23
Page 1 / 23Download PDF

The loop

Research in artifacts until the approach is settled. Write a system design doc. Organize the tasks around a goal. Let Claude implement. Verify adversarially, with more than one model. Steward the pull request to approval, then merge it yourself. Verify again in a test environment and record the result. Then pick the next goal.

None of these steps is new. Good engineering has always relied on research, design, decision records, review, and release. The difference with agents is that you can afford to do every step, every time.

Organize the workspace first

Once you are running more than a couple of agents, you need a way to see them all. I use herdr to organize my agent sessions: which ones are running, which are waiting on me, and which project each belongs to. Projects sit at different stages at the same time (one in research, one in verification, one waiting on review), so keeping sessions grouped stops context from bleeding between them.

On top of that sit a few specialized agents with narrow briefs: a researcher, an architect, an implementer, adversarial reviewers, a security reviewer, and a steward for pull requests. Next to them are skills, which are packaged instructions for recurring work. My rule is simple: if I explain something to an agent twice, it becomes a skill. I write the same way, with skills for brainstorming an idea from several angles, fixing the argument in a brief, and then drafting.

For memory I use two layers. Claude-Mem holds my own notes across projects. I also let Claude keep its own memory in Markdown files, where it records conventions, gotchas, and lessons learned. Together, these let a session pick up a project that has been idle for two weeks without rediscovering everything.

Research first, in artifacts

Most of my time goes into research. That is not overhead. It is the work that makes everything after it fast.

All of it happens in artifacts, documents and pages that live outside the chat. A transcript scrolls away, but an artifact can be reopened, shared, commented on, and revised. I ask Claude to compare approaches side by side, find the first bottleneck of each, list failure modes and security surface, and build small spikes so the comparison rests on evidence rather than opinion.

Ask Claude to be the domain expert

A habit that shapes all of my planning: before deciding anything, I ask Claude to act as the domain expert for the problem: a database engineer, a payments architect, a security researcher, or whatever the task calls for. Then I ask, "How would this person approach this problem?"

Even when I don't follow every detail of the answer, it points me toward how someone with deep experience would think about the problem: what they would check first, what they would refuse to do, and which trade-offs they would worry about. That brings real engineering judgment into the task early, at the point where complexity and design choices are still cheap to change.

The expert view also helps me validate and make judgments. Each judgment goes into an artifact together with its evidence, such as a benchmark, a spike result, or a source. Later, if the evidence changes, I can go back and recalibrate instead of guessing why we chose what we did.

These artifacts work much like an RFC. I share them with the team, or with anyone whose opinion helps, collect comments, revise, and only then commit to a direction.

Script it out first

Before building anything, I write a very small script to try the idea. It might be fifty lines that call the API, load a sample of real data, or reproduce the bottleneck I'm worried about. This is one of the best things about working with AI: a throwaway script that used to take an afternoon now takes minutes. So I can test three ideas before lunch and let the results, not my assumptions, decide the design.

The system design doc

Research is settled when I can state the chosen approach, the main alternative I rejected, why, and what evidence would make me revisit it. Once it is, the research gets condensed into one final artifact: the system design doc. It covers the goal, non-goals, architecture, scalability, reliability, security, and a verification plan. Implementation starts only after it exists.

Each of the four properties gets a specific question:

  • Complexity: what requirement does each component serve? Agents like to add queues, caches, and layers, and non-goals are the best tool for keeping the design small.
  • Scalability: what breaks first at ten times today's load, and can the design move that bottleneck without a rewrite?
  • Reliability: how does each external call fail, and what does the user see when it does?
  • Security: where are the trust boundaries, who may cross them, and what would an attacker on the wrong side try?

Give agents goals, not just tasks

This is the biggest lesson from my experience.

When work is split into tasks with no goal above them, an agent behaves like a capable ticket processor. It finishes a task and asks what is next. Ask it "what should we do next?" and it reads you the plan. It keeps working through whatever you pointed it at, with no sense of which tasks matter.

Give the same agent a goal, like "I need this working end to end within two weeks" or "I have a demo in three days and need to show this part", and it starts to drive. It tells you which planned tasks the demo doesn't need, which risky integration to stub, and where the critical path runs. It works toward the outcome instead of waiting for the next instruction.

So I plan the tasks, set a goal with an observable outcome and a date, select only the tasks that goal needs, execute toward it, and then move on to the next goal.

Record decisions as ADRs

Architecture Decision Records are now a core part of how I develop. Agents regularly propose different ways of doing the same thing. Sometimes the proposal is better than my plan. Sometimes it is reasonable but wrong for the context, and I decide differently. Both are decisions, and both get written down.

ADRs live in every repository, and every workflow references them. I also record what the agent proposed and why I overruled it. That keeps the same suggestion from coming back in every new session, and it tells me exactly when to revisit the decision if my reasoning stops being true.

Verification is the bottleneck

When an agent can produce a feature in an hour, the question is no longer "can we build it?" It is "how do we know it is right?" Verification is the bottleneck for releasing with confidence, so I give it the most structure:

  • Tests, written by the implementer in the same slice as the code.
  • Adversarial agents, several of them with distinct briefs (inputs, concurrency, failure handling, security). Each one's only job is to break the change.
  • Formal verification with Lean for the small kernel everything else depends on, such as a permission check or a state machine. Claude drafts the model and the proof, and Lean checks it. Tests check examples; a proof checks every case.
  • Infrastructure attack scripts that Claude writes from the trust boundaries in the design doc: token hijacking (replay, wrong audience, use after logout or rotation), a full permission matrix of every role against every action, and crafted users with malicious or excessive permissions walking real flows.

The principle behind all of it: every claim about the system should have a script or proof that tries to make it false.

The second-opinion loop

One model reviewing its own work has blind spots, so the inner loop uses two:

  1. Claude implements the change.
  2. Claude runs an adversarial review, finds issues, and fixes them.
  3. Claude asks Codex for a second opinion, through the Codex plugin for Claude Code that OpenAI released, which lets Claude talk to Codex directly.
  4. Codex comes back with its review, and we triage it together: what is real, what is style, and what conflicts with an ADR.
  5. Fixes go back to Claude, which implements them and reruns every verification step, not just the ones related to the fix.
  6. Once everything is green, the code is pushed and the pull request is opened.

A second opinion is input, not instruction. The places where two models disagree are exactly where a human should look.

Pull request stewardship, and a human merge

Opening a PR starts a second review cycle. CI and other automated flows run and can surface new issues. Third-party code reviewers leave comments, and those can lead to more fixes.

I hand this part to a steward, using Claude Ship: the /ship and /steward commands in Claude Code. /ship pushes the branch, opens the PR, and reviews it. /steward picks up a PR that is already open. Either way, the steward waits until every review is in, fixes what should be fixed, answers what should not with reasoning (often by pointing to an ADR), reruns verification, and keeps going until the PR is approved. Then it tells me it is done and ready to go, and I merge it myself. Agents carry the work. The release decision stays with a person.

After merge: verify where it runs

The verification scripts I built locally don't get thrown away. After the merge, I ask Claude to switch to the testing environment, and it runs the same suite there: tests, permission matrix, token checks, malicious-user flows. This catches what local runs can't, such as configuration drift, missing secrets, and network policy differences.

Claude writes up a report of the run, and it goes into the issue tracker next to the work it verifies. A failed check isn't a crisis. It becomes a new, well-documented issue with a reproduction attached, and we keep moving.

Security cadence and closing the loop

Claude Code has a built-in security review command (/security-review, also available as a GitHub Action), and I run it across my repositories every week or every few days. A practical trigger: just before my Claude usage resets, if I have tokens left, I spend them on security reviews. Capacity I would otherwise leave unused becomes a sweep for issues, and the findings become the next round of fixes.

The best part of this workflow is closing the loop. For my personal projects, I make sure everything gets released. Claude sets up the CI pipelines too, usually on GitHub Actions, so releasing is a routine step rather than an event.

In most cases, this workflow works well and gives a lot of autonomy across most steps. Agents research, design, implement, review, attack, steward, and verify. I set goals, make decisions, triage disagreements, and press merge.

Get the guide

The full guide goes deeper on each step, with templates for research comparisons, a minimal ADR, a slice summary, a verification-script layout, a test-environment report, and a one-page checklist you can print.

Tools mentioned

More of what I build is on GitHub.

© 2026 Aditya Karnam