Postman has released the second part of its series on the agentic Software Development Life Cycle (SDLC), focusing on how developers can use coding agents like Claude Code more effectively. The core argument is that while AI agents excel at implementing the 'happy path' of a feature, they frequently struggle with error handling and edge cases. By anchoring the agent's work to a pre-approved 'design package,' teams can ensure that implementation matches architectural intent and that failure modes are rigorously tested before human review.
The Design Package as a Constraint
In the first phase of this workflow, an architect produces a comprehensive design package. This package includes saved Context Graph findings, a spec.md file, the OpenAPI contract, governance checks, design tests, collections, mocks, and simulations. When a developer hands this package to an agent like Claude Code, the agent no longer needs to guess which services to call or how to authenticate. The prompt can remain short because the repository contains the answers. This structure allows new teammates or different agents to pick up the work and reach identical decisions, reducing the cognitive load on the developer.
Validating Failure Paths
The article demonstrates this using an appointment check-in feature. The agent is instructed to implement the contract while adhering to a strict rule: 'do not change appointment status unless eligibility is approved.' The development process then shifts from writing code to verifying that the code respects this rule under all conditions. The team tests four specific outcomes: approved coverage (which should check in the patient), denied coverage, an error response, and a timeout (all of which should leave the appointment status unchanged). By using Postmanβs api-simulation and api-mocking skills, the developer can force the eligibility mock to approve, deny, fail, or stall on demand. This allows the team to reproduce upstream failures in seconds rather than waiting for real services to degrade. The article emphasizes a critical testing habit: reading the state back from the mock after a request. A response claiming 'check-in refused' is insufficient proof; the developer must verify that the appointment status in the mock database remained unchanged.
Key Takeaways
- Keep the design package (spec.md, contracts, collections) in the repository so agents can access context without lengthy prompts.
- Explicitly state business rules in the prompt (e.g., 'Do not change status unless...') and encode them as tests.
- Run failure cases (denials, errors, timeouts) before the happy path to catch logic errors early.
- Use
postman collection runto execute design collections against new code, verifying both success and outage assertions.
The Bottom Line
This approach treats AI agents as junior developers who need strict supervision. By offloading context to the design package and focusing human effort on validating failure paths, we move from 'vibe coding' to verifiable engineering.
Limitations and Next Steps
The article notes that passing these checks only proves the code behaves correctly against the *simulations*. It does not guarantee that real-world services will behave identically. This phase is a strong first line of defense, but independent verification is still required. Part 3 of the series will cover the QA engineerβs role in testing the running feature against the approved contract, providing the necessary second look. For now, the advice is clear: if you are using coding agents, stop trusting the happy path and start mocking the chaos.