Skip to main content
Delivering with the Agentic AI Harness

Delivering with the Agentic AI Harness

An End-to-End Feature Delivery Playbook​

Prescriptive engineering guidance for delivering secure, reliable, production-ready software through the AI-Native SDLC, specification-driven development, and governed human-agent collaboration.


Who this is for. This playbook is written for engineering leaders and practitioners who are responsible for delivering production software with AI agents:

  • Heads of AI Engineering, VPs of Engineering, and engineering directors who set the delivery model.
  • Principal engineers, architects, and staff engineers who define specifications and constraints.
  • AI engineers and AI tech leads responsible for end-to-end delivery using the Agentic AI harness
  • Engineering managers and feature owners accountable for delivery outcomes.
  • Quality, security, platform, and SRE engineers who build the trust mechanisms around agent output.

What you will learn. After studying this playbook, you will be able to:

  1. Distinguish agentic coding from end-to-end agentic software delivery, and explain why the difference matters.
  2. Apply a ten-phase AI-Native SDLC, scaled to the risk of each feature.
  3. Write specifications, acceptance criteria, and task contracts that agents can execute and independent systems can verify.
  4. Design verification so that agent-reported success is never the sole evidence of correctness.
  5. Allocate autonomy to agents according to risk, and enforce that allocation with controls rather than instructions.
  6. Validate business outcomes in production, and measure delivery effectiveness, economics, and value.
  7. Convert recurring delivery failures into durable improvements to the harness, the lifecycle, and the application.

Scope and assumptions. This playbook assumes your organization has adopted or built an Agentic AI Harness capable of the following:

  • Repository access and context retrieval.
  • Agent execution and orchestration.
  • Reusable engineering skills and instructions.
  • Governed tool invocation.
  • Isolated execution environments.
  • State management and execution continuity.
  • Testing and independent verification.
  • Security and policy enforcement.
  • Observability and delivery-pipeline integration.

The harness may be built on Claude Code, Codex, an internal platform, or a composition of existing technologies. The guidance is technology-neutral. Building the harness itself is the subject of the companion publication, Engineering the Agentic AI Harness: Architecture, Components, and Design Patterns.

Conventions.

  • Normative language. Must, should, and may follow their usual engineering meaning: must marks a requirement, should a strong recommendation, may an option.
  • Running example. One feature, TENANT-001 (Automated Tenant Onboarding), recurs throughout. It is a deliberately realistic, mid-sized feature on a multi-tenant SaaS platform on AWS.
  • Illustrative content. Specifications, diagrams, metrics, and cost figures are illustrations, not empirical benchmarks.
  • Proposed frameworks. The ten-phase lifecycle, the delivery tracks, the agent autonomy levels, and the maturity model are proposed reference models for planning and assessment. They are not industry standards.
  • Figures are numbered by chapter (Figure 5.1 is the first figure in Chapter 5).

Abstract​

Agentic AI is changing how software is designed, built, tested, deployed, and operated. Engineering teams can now delegate substantial implementation work to AI agents running inside controlled engineering environments. But the ability to generate software quickly is not the ability to deliver software reliably.

Reliable AI-native delivery requires a disciplined lifecycle in which business intent becomes verifiable specifications, architectural decisions, bounded tasks, validated implementations, authorized releases, and measured production outcomes.

The Agentic AI Harness supplies the technical capabilities for this: context, tools, execution, state, policy, and observability. The AI-Native SDLC supplies the lifecycle and governance framework. AI-Native Software Development applies both to real engineering work. This playbook ties them together into a prescriptive method for delivering complete business features, from first discovery through production operations and continuous improvement.

Its central principle is:

Humans own intent, architecture, judgment, and accountability. Agents accelerate execution. Independent verification establishes evidence. Production outcomes determine success.


From Agentic Coding to Agentic Software Delivery​

The fundamental transformation​

AI coding agents can read repositories, generate implementations, run commands, diagnose failures, write tests, and prepare pull requests. Yet delivering a business feature requires far more than working code.

A single feature may need coordinated changes to user interfaces, backend services, data models, integration contracts, security policies, cloud infrastructure, operational workflows, and production monitoring. Every change must satisfy business requirements, architectural constraints, security expectations, non-functional requirements, and operational commitments.

The challenge is therefore not:

How do we generate more software with AI?

It is:

How do we consistently translate business intent into independently verified, production-ready software through governed human-agent collaboration?

That distinction separates agentic coding from end-to-end agentic software delivery.

Why code generation is no longer the constraint​

When implementation becomes fast and inexpensive, the scarce resources shift. They become:

  • Clarity of intent: whether the team can state precisely what should be built.
  • Verification capacity: whether the team can establish that what was built is correct.
  • Review and release capacity: whether humans and pipelines can absorb the increased flow of change.
  • Operational trust: whether the result behaves correctly in production.

Organizations that accelerate only the implementation step typically find that queues move downstream into review, QA, and release. This playbook treats the whole value stream as the unit of optimization.

AI-assisted development versus AI-native delivery​

Engineering dimensionAI-assisted developmentAI-native software delivery
Primary unit of workCoding activityComplete business feature
RequirementsInterpreted by engineersStructured as agent-consumable, verifiable specifications
ArchitectureHuman-designedHuman-owned, agent-assisted, machine-verifiable
ImplementationAI assists individual coding stepsAgents execute bounded engineering workflows
ContextSupplied ad hoc in each interactionGoverned, reusable, task-specific engineering context
TestingAI assists test creationIndependent verification integrated throughout delivery
GovernanceConventional development controlsRisk-based human-agent execution controls
DeliveryConventional SDLC with AI assistanceAI-Native SDLC supported by the harness
AccountabilityHuman engineerHuman engineer supported by execution evidence
Success measureIndividual productivityEnd-to-end delivery effectiveness and business value

Adopting more autonomous coding tools does not by itself produce this transformation. It also requires changes to engineering practice, lifecycle controls, team responsibilities, architecture standards, and the organizational operating model.

Key takeaways — Chapter 1

  • Delivering a feature is a larger problem than generating code for it.
  • As implementation accelerates, intent, verification, review, release, and operations become the constraints.
  • Optimize the value stream end to end, not the coding step alone.

The Conceptual Framework​

The engineering ecosystem​

AI-Native Software Engineering involves several related concepts. Using them precisely avoids a common source of confusion: treating the harness, the process, and the practice as one thing.

ConceptClassificationResponsibility
AI-Native Software EngineeringOverarching disciplineIntegrates AI into the entire software engineering ecosystem
Harness EngineeringEnablement disciplineDesigns, builds, operates, and evolves the harness
Agentic AI HarnessTechnical systemProvides agentic execution capabilities: context, tools, orchestration, state, policy, observability
Harness Execution InfrastructureTechnology infrastructureHosts and isolates harness workloads
AI-Native SDLCProcess frameworkDefines lifecycle phases, responsibilities, artifacts, and governance controls
AI-Native Software DevelopmentEngineering practicePerforms software engineering through human-agent collaboration
Business ApplicationSoftware productImplements business capabilities
End-to-End Feature DeliveryEngineering outcomeReleases validated business capabilities into production
Business Value RealizationBusiness outcomeEstablishes measurable benefits from delivered capabilities

How the pieces relate​

ai-native-software-engineering

Figure 1. Relationships within AI-Native Software Engineering.

Two infrastructures appear in Figure 2.1, and they must remain separate. Harness execution infrastructure hosts the agents that build software. Application infrastructure hosts the software that agents build. An agent that develops a feature must not inherit the privileges of the environment where that feature runs (see Chapter 15).

A three-layer way to think about agent systems​

A useful shorthand for the rest of the playbook separates three things that are often conflated:

LayerQuestion it answersExamples
ModelWhat can the underlying LLM reason about and produce?Frontier and open-weight models
AgentHow does a model loop over observations, tool calls, and actions toward a goal?A coding agent session
HarnessWhat context, tools, permissions, state, checks, and feedback surround the agent so that its work is reliable and governable?Instruction files, skills, tool gateways, sandboxes, hooks, verification integration, tracing

Most delivery failures that look like "the model got it wrong" are really harness or lifecycle failures: missing context, unclear acceptance criteria, an unreachable test command, or no independent check. This is why the playbook concentrates on the system around the agent rather than on the agent alone.

Scope of this playbook​

This playbook covers applying the harness to deliver business features. It does not cover training or selecting models, nor the internals of building a harness. Where harness capabilities matter to delivery (for example, tool permissions, hooks, or tracing), the playbook states the requirement and leaves the construction to the companion publication.

Key takeaways — Chapter 2

  • Distinguish the harness (system), Harness Engineering (discipline), the AI-Native SDLC (process), and AI-Native Software Development (practice).
  • Keep harness execution infrastructure separate from application infrastructure.
  • Treat many apparent model errors as harness or lifecycle gaps.

Principles and Non-Negotiables​

Core engineering principles​

PrinciplePrescriptive guidanceWhy it matters
Business intent before implementationEstablish why a feature is needed before deciding how to build it.Agents optimize what they are told; wrong intent scales quickly.
Specification before executionDefine verifiable requirements, constraints, and acceptance criteria.Ambiguity becomes plausible but wrong code.
Architecture before significant implementationSettle boundaries and material design decisions first.Structural mistakes are expensive to reverse.
Context before delegationGive agents the relevant context for the task, and no more.Missing context causes error; excess context dilutes attention and raises cost.
Bounded autonomyLimit execution by scope, permission, risk, and budget.Bounds contain the blast radius of mistakes.
Small, verifiable changesPrefer incremental change sets.Review and verification effort scales with change size.
Independent verificationEstablish correctness evidence outside the implementing agent's control.Agents can share the blind spots of their own tests.
Security by designIntegrate security and privacy throughout the lifecycle.Retrofitting is slower and weaker.
Human accountabilityAssign a named owner to each decision and outcome.Accountability cannot be delegated to a model.
Evidence-driven completionDefine "done" through observable results, not agent assertions.Agents may report success they have not achieved.
Production ownershipExtend responsibility past the pull request and the deployment.Value arises only in production.
Continuous improvementTurn recurring failures into improvements to harness, lifecycle, and practice.Repeated manual correction does not compound.

Engineering non-negotiables​

An enterprise AI-native delivery practice should enforce the following. They are written as controls, not aspirations.

  1. No significant implementation without an agreed engineering objective.
  2. No delegation without explicit execution boundaries.
  3. No material architectural deviation without authorized review.
  4. No acceptance based solely on agent-generated assertions.
  5. No agent authority to modify authoritative verification criteria.
  6. No release without applicable security and quality gates.
  7. No direct production access merely because an agent has the tool capability.
  8. No feature completion without appropriate production validation.
  9. No productivity claims based solely on generated code volume.
  10. No uncontrolled modification of the harness or its governing policies.

These hold regardless of which models or agents the organization adopts. Chapter 15 describes how to enforce them mechanically.

Key takeaways — Chapter 3

  • The principles share one logic: intent is explicit, autonomy is bounded, evidence is independent, and humans stay accountable.
  • Non-negotiables must be enforced by tooling and policy, not by prompt wording.

The Human-Agent Operating Model​

Layers of responsibility​

human-agent-operating-model

Figure 2. The human-agent collaborative operating model.

Responsibility allocation​

ActivityHuman responsibilityAgent contributionHarness responsibility
Business discoverySet objectives and prioritiesAnalyze requirements; identify gapsProvide approved business context
SpecificationApprove requirements and acceptance criteriaDraft and refine specificationsProvide templates and knowledge
ArchitectureOwn material decisionsAnalyze alternatives; propose designsSupply architecture context and skills
PlanningApprove scope and strategyDecompose tasks; analyze dependenciesCoordinate task execution
DevelopmentDirect, supervise, and reviewGenerate and modify artifactsProvide tools and controlled execution
TestingDefine verification coverageGenerate and run testsProvide test environments and workflows
VerificationOwn trusted acceptance criteriaAnalyze findings; fix defectsIntegrate independent verification
SecurityOwn requirements and risk decisionsAssist threat analysis and remediationEnforce execution boundaries
DeploymentAuthorize release per policyPrepare deployment changesIntegrate governed CI/CD
OperationsOwn production reliabilityAssist diagnosis and remediationProvide authorized operational capabilities

Agents may perform substantial engineering work, but accountability is never transferred to the model.

Agent autonomy levels​

Autonomy should be allocated deliberately and per task, not granted globally. The following proposed scale gives teams a shared vocabulary.

LevelNameAgent mayTypical control
A0AdvisorySuggest, analyze, and draft; takes no actionHuman applies every change
A1Supervised actionAct in a sandbox; each consequential action approvedPer-action human approval
A2Contract-bound executionComplete a defined task within an explicit contractScope, tool, and budget enforcement; review of the candidate change
A3Orchestrated deliveryCoordinate multiple tasks of one featurePlan approval; independent verification at integration
A4Autonomous deliveryDeliver without per-change human reviewNot recommended for production changes today; permitted, if at all, only for narrowly scoped, low-risk classes with proven controls

Most enterprise feature work should operate at A2 or A3. The permitted level should decrease when a required control is missing (for example, no independent verification, or weak sandboxing), and increase only as evidence accumulates.

Delivery tracks: scaling ceremony to risk​

Not every feature merits the same rigor. The playbook uses three delivery tracks to scale artifacts and gates. A feature's track is set by the feature owner and reviewed by architecture and security for Tracks B and C.

TrackTypical featuresSpecificationArchitectureVerificationRelease
A — StandardLow-risk, well-understood changes within existing patternsConcise spec and acceptance criteriaExisting patterns; ADR only if a decision is madeAutomated tests and standard gatesStandard pipeline
B — ElevatedNew capabilities, cross-service changes, customer-facing behaviorFull spec; traceabilityDesign review; ADRs; fitness functionsIndependent acceptance, security, and resilience checksProgressive rollout; production validation
C — High assuranceAuthentication, authorization, tenant isolation, payments, regulated data, shared infrastructureFull spec; threat model; explicit failure modesArchitecture board reviewIndependent verification plus human judgment; stronger evidenceExplicit approvals; staged rollout; rehearsed recovery

TENANT-001, our running example, is a Track C feature because it creates tenant isolation boundaries and provisions shared infrastructure. Where later chapters give minimum requirements, they apply at Track B or C unless stated otherwise.

Key takeaways — Chapter 4

  • Humans retain intent, architecture, judgment, and accountability; the harness enables; independent systems verify.
  • Set agent autonomy per task using explicit levels, and lower it when controls are missing.
  • Scale lifecycle rigor with delivery tracks so that low-risk work stays fast and high-risk work stays safe.

The AI-Native SDLC Reference Framework​

Lifecycle overview​

The proposed AI-Native SDLC has ten logical phases.

ai-native-sdlc-lifecycle

Figure 3. The reference AI-Native Software Development Lifecycle.

The phases describe engineering responsibilities, not a mandatory waterfall. Teams may run them iteratively and incrementally within Agile, Scrum, Kanban, or continuous-delivery models, and should prefer thin vertical slices (Chapter 20) so that each slice passes through all phases quickly.

Lifecycle artifacts and exit criteria​

PhasePrimary deliverableExit criterion
1. Discovery and scopeFeature briefBusiness objective and scope are agreed
2. Feature specificationVerifiable specificationRequirements and acceptance criteria are clear enough to verify
3. Architecture and designArchitecture decisions and design artifactsMaterial technical decisions and constraints are established
4. Context preparationTask-specific context packageRelevant context is accessible, current, and authorized
5. Engineering planningExecution plan with task contractsTasks, dependencies, and boundaries are defined
6. Agentic implementationCandidate change setImplementation is available for independent verification
7. Independent verificationVerification evidenceApplicable acceptance and quality criteria are satisfied
8. Release and deploymentAuthorized releaseApproved artifacts are deployed through governed mechanisms
9. Production validationOperational acceptance evidenceThe feature behaves as intended in production
10. Operations and learningOperational insights and improvement backlogOwnership, monitoring, and improvement are established

Establishing Engineering Readiness​

Before assigning feature work to agents, verify that the engineering environment can support reliable agentic execution. An agent cannot compensate for an undocumented, inconsistent, or hard-to-run codebase; it will amplify the inconsistency.

Repository readiness​

A ready repository provides:

  • Clear system and component boundaries.
  • Discoverable architecture documentation.
  • Reproducible, single-command build and test procedures.
  • Explicit engineering conventions.
  • Versioned dependencies and environment configuration.
  • Meaningful, fast, deterministic test coverage.
  • Traceable architecture decisions.
  • Source-control protections for critical paths.
  • Governed access to sensitive resources.

Make the repository agent-legible​

A modern practice is to treat the repository as the agents' system of record: anything the agent cannot find in the repository (or in sources the harness exposes) effectively does not exist for it. Knowledge that lives only in chat threads, meetings, or people's heads should be captured in versioned artifacts.

Guidelines for instruction files such as AGENTS.md or CLAUDE.md:

  • Keep them short and map-like. An instruction file should orient the agent and point to deeper material, not duplicate it. Long monolithic instruction files crowd out the task and rot quickly.
  • Use progressive disclosure. Link to architecture notes, runbooks, and standards that the agent loads on demand, and load detailed skills only when relevant.
  • State commands exactly. Give the build, test, lint, and run commands the agent should use.
  • Prefer mechanical enforcement. Where a rule matters, encode it as a linter, type check, structural test, or hook rather than prose. A rule the agent can violate silently is only a suggestion.
  • Version and review them. Instruction files are executable policy. Changes should be reviewed like code.
business-application/
|-- AGENTS.md # Short map for agents; links to detail
|-- CLAUDE.md # Tool-specific variant if needed
|-- README.md
|-- docs/
| |-- architecture/
| | |-- system-context.md
| | |-- component-model.md
| | +-- adr/
| |-- domain/
| |-- security/
| |-- standards/
| +-- runbooks/
|-- specifications/
| +-- features/
|-- contracts/
| |-- api/
| +-- events/
|-- src/
| |-- frontend/
| |-- services/
| +-- shared/
|-- tests/
| |-- unit/
| |-- integration/
| |-- contract/
| |-- acceptance/ # Protected paths (see Chapter 13)
| +-- architecture/ # Fitness functions
|-- infrastructure/
|-- migrations/
|-- observability/
+-- ci/

Figure 4. An illustrative AI-ready application repository.

The objective is repository legibility, not conformance to a particular directory layout. Exact structure and instruction-file conventions depend on your tools and architecture.

Harness readiness assessment​

CapabilityReadiness question
ContextCan agents discover the relevant architecture, requirements, and source?
ToolsCan agents invoke approved engineering tools with appropriate permissions?
ExecutionCan tasks run in an isolated, reproducible workspace?
VerificationAre authoritative acceptance and quality gates enforced independently?
ContinuityCan interrupted tasks be resumed or safely terminated?
GovernanceAre budgets, approvals, and authorization boundaries in place?
ObservabilityCan engineers inspect agent actions, tool calls, and failures?
Delivery integrationCan candidate changes enter established CI/CD workflows?

If a critical capability is missing, reduce the permitted autonomy level (Section 4.3) until the control exists.

Key takeaways — Chapter 6

  • Agent reliability depends heavily on repository legibility and runnable, deterministic checks.
  • Keep instruction files short; use progressive disclosure; enforce important rules mechanically.
  • Missing harness controls reduce the autonomy you may grant.

Phase 1 — Discovery and Scoping​

Objective​

Translate a business opportunity or requirement into a bounded engineering objective, understood in terms of its intended business outcome rather than its technical implementation.

Human responsibilities​

The feature owner establishes:

  • The business problem and target users.
  • Expected behavior and the business value hypothesis.
  • Feature scope and exclusions.
  • Dependencies, constraints, and applicable regulatory and security requirements.
  • The accountable delivery owner and the delivery track (Section 4.4).

Agent-assisted discovery​

Through the harness, an agent may analyze existing requirements, find inconsistencies and ambiguities, explore repositories, investigate affected components, identify likely integration dependencies, draft clarification questions, and propose alternative scope boundaries.

The agent must not silently convert unresolved assumptions into approved requirements. Assumptions should be listed explicitly and assigned an owner for resolution.

The running example: Tenant onboarding​

Consider a multi-tenant enterprise SaaS platform on AWS. Authorized administrators need to onboard a new tenant and provision the required application resources automatically.

Feature dimensionExample
Feature IDTENANT-001
Feature nameAutomated Tenant Onboarding
Delivery trackC — High assurance
Business problemTenant provisioning requires repetitive manual operations
Target usersSaaS platform administrators
Business objectiveReduce onboarding time and operational effort
Functional scopeRegister, provision, activate, and track a tenant
Security constraintPrevent unauthorized and cross-tenant access
Operational constraintRecover safely from partial provisioning failures
ExclusionsTenant billing, subscription changes, tenant offboarding

Exit criteria​

Discovery is complete when the business objective is understood, boundaries are explicit, material ambiguities are resolved or assigned, dependencies and risks are identified, and an accountable feature owner is named.


Phase 2 — Specification-Driven Development​

Why specifications matter​

An agentic system needs an explicit statement of the desired outcome. A conversational instruction such as "Build a tenant onboarding feature" does not establish authorization rules, API behavior, data-integrity requirements, failure handling, architectural constraints, or completion criteria. An agent will fill those gaps with plausible guesses.

Specification-driven development replaces guesses with a reviewed, verifiable contract.

Two clarifications prevent common misreadings:

  • A specification is not big up-front design. It is a living artifact, versioned with the code, refined as slices are delivered, and sized to the feature's track.
  • A specification is not a prompt. A prompt is an instruction to an agent run. A specification is the durable source of truth from which tasks, tests, and verification derive.

The feature specification contract​

ElementRequired content
Feature identityIdentifier, title, owner, version, delivery track
Business intentProblem, objective, expected value
Functional requirementsObservable system behavior
Acceptance criteriaIndependently verifiable conditions
Non-functional requirementsPerformance, availability, security, reliability
Architecture constraintsRequired boundaries, patterns, technologies
Interface contractsAPIs, events, schemas, integration expectations
Data requirementsOwnership, classification, retention, consistency
Failure scenariosExpected behavior under partial or complete failure
Out-of-scope itemsExplicit exclusions
DependenciesRequired systems, services, decisions
Operational requirementsMonitoring, recovery, support
Release constraintsDeployment and rollout requirements
Open questionsUnresolved items with owners

Writing good requirements​

Write requirements that are atomic, unambiguous, testable, and traceable. Two structures help:

  • Requirement phrasing. Use a consistent template such as "When [trigger], the system shall [response]" or "While [state], the system shall [behavior]". Avoid vague terms such as "fast", "secure", or "robust"; replace them with measurable thresholds.
  • Acceptance criteria. Use observable Given / When / Then scenarios, including negative and failure cases, not only the happy path.

Illustrative feature specification​

feature_id: TENANT-001
version: "1.0"
delivery_track: C
owner: feature-owner@example.com

objective: >
Enable authorized administrators to provision enterprise SaaS tenants
through a governed workflow.

scope:
- Tenant registration
- Asynchronous resource provisioning
- Provisioning status tracking
- Tenant activation
- Failure recovery

functional_requirements:
FR-01: When an authorized administrator submits a valid request, the system shall register a new tenant.
FR-02: When a tenant is registered, the system shall start an asynchronous provisioning workflow.
FR-03: The system shall expose the current provisioning status of a tenant to authorized callers.
FR-04: The system shall activate a tenant only after all required provisioning steps succeed and validation passes.
FR-05: When a provisioning step fails, the system shall record the failure and support safe recovery.

non_functional_requirements:
NFR-01: Registration requests are acknowledged within a defined latency target (set during discovery).
NFR-02: All lifecycle transitions produce audit events.
NFR-03: Tenant data and resources are isolated; no cross-tenant access is permitted.

constraints:
- Use the existing enterprise identity integration
- Tenant-aware authorization on every operation
- Idempotent provisioning operations
- Approved AWS services only
- Auditable lifecycle transitions

out_of_scope:
- Tenant billing
- Subscription management
- Tenant offboarding

open_questions:
- id: OQ-01
question: Which failure classes are eligible for automatic retry?
owner: solution-architect

Independently verifiable acceptance criteria​

Criteria must be observable enough to support independent verification.

IDScenarioExpected outcomeRequirement
AC-01An authorized administrator registers a valid tenantA unique tenant record and provisioning ID are createdFR-01, FR-02
AC-02An unauthorized user attempts registrationRequest rejected; no resources createdFR-01, NFR-03
AC-03A duplicate request with the same idempotency key is submittedNo duplicate provisioning occursFR-02
AC-04All provisioning steps succeedTenant transitions to ACTIVEFR-04
AC-05A required step failsTenant stays non-active; failure recordedFR-05
AC-06Provisioning resumes after an eligible failureCompleted actions reconciled; only necessary work retriedFR-05
AC-07A user requests another tenant's restricted informationCross-tenant access rejectedNFR-03
AC-08Provisioning status is queriedAn authorized caller receives the persisted workflow statusFR-03

Every functional and non-functional requirement should map to at least one criterion, and every criterion to a requirement.

Acceptance criteria should be established or reviewed independently of implementation. The implementation agent may help draft them, but it must not hold authority to weaken them so that its own work passes.

Requirement-to-evidence traceability​

requirement-to-evidence-traceability

Figure 5. Traceability from business intent to independently verified outcomes.

Specification review checklist​

Before approval, confirm that the specification:

  • Contains no requirement that cannot be tested.
  • Covers failure, abuse, and boundary cases, not just the happy path.
  • States non-functional requirements as measurable thresholds.
  • Lists exclusions and open questions with owners.
  • Has been reviewed by someone other than the author (human or independent agent), then approved by the feature owner.

Key takeaways — Chapter 8

  • A specification is a durable, verifiable contract, not a prompt and not big up-front design.
  • Write atomic, testable requirements, including negative and failure scenarios.
  • Keep requirement-to-criterion traceability two-way.
  • Agents may draft criteria; they must not own or weaken them.

Phase 3 — Architecture and Design​

Architecture remains human-accountable​

Agents can assist with architectural analysis, alternative evaluation, dependency discovery, and design generation. Material architectural decisions, however, remain the responsibility of authorized engineers and architects. The depth of design should be proportional to the feature's complexity and risk (its delivery track).

Architectural activities​

The team should establish:

  1. Current-state architecture.
  2. Affected systems and bounded contexts.
  3. Target-state architecture.
  4. Integration boundaries and interfaces.
  5. Data ownership and consistency requirements.
  6. Security and trust boundaries.
  7. Failure-handling and recovery mechanisms.
  8. Relevant quality attributes.
  9. Deployment and migration strategy.
  10. Material decisions and their trade-offs.

Agent-assisted architecture workflow​

governed-architecture-workflow

Figure 6. Governed, agent-assisted architecture design.

Example target architecture: tenant onboarding​

tenant-onboarding-aws-architecture

Figure 7. An illustrative AWS target architecture for automated tenant onboarding.

Architecture decision records​

ADRDecisionRationale
ADR-001Provision asynchronouslyProvisioning may exceed synchronous API expectations
ADR-002Maintain durable tenant lifecycle stateEnables status tracking and failure recovery
ADR-003Require idempotent provisioning actionsPrevents duplication during retries and recovery
ADR-004Enforce tenant-aware authorizationProtects restricted tenant resources
ADR-005Use a governed workflow orchestratorSupports explicit transitions and recovery logic

Each ADR should record context, alternatives considered, the decision, consequences, and constraints. Agents may draft ADRs; authorized humans approve them.

Architecture as executable constraints​

Important decisions should become verifiable mechanisms, often called architecture fitness functions. This turns architecture from advice into a check that agents cannot silently ignore.

Architectural decisionVerification mechanism
Tenant isolationNegative cross-tenant authorization tests
API compatibilityAPI contract tests
IdempotencyDuplicate-request and retry tests
Controlled provisioningWorkflow state-transition tests
Least privilegeInfrastructure policy validation
Layering and dependency rulesStructural tests; dependency linting
Operational visibilityTelemetry and audit-event verification

Key takeaways — Chapter 9

  • Humans own material architectural decisions; agents analyze and draft.
  • Record decisions as ADRs and encode the important ones as fitness functions.
  • Calibrate design depth to the delivery track.

Phase 4 — Context Preparation​

Why context preparation matters​

A good specification is necessary but insufficient. Agents also need relevant knowledge of the existing system, approved architecture, coding conventions, integration boundaries, test infrastructure, and operational expectations. Context engineering is the practice of assembling the smallest set of high-signal information that lets an agent complete a task correctly.

Two failure modes are common:

  • Under-supply. The agent rediscovers or guesses essential knowledge, and guesses wrong.
  • Over-supply. Loading an entire repository or document set dilutes relevant information, raises cost and latency, and can reduce accuracy as the working context grows noisy.

Context techniques​

TechniquePurpose
Task-specific context packagesGive each task only the specification sections, ADRs, contracts, and code it needs
Progressive disclosureStart with a map; load detail on demand
Just-in-time retrievalFetch files and documents when needed rather than preloading everything
SkillsPackage reusable procedures and standards that load only when relevant
Sub-agents for isolationDelegate exploratory or noisy work to a separate context and return a concise summary
Compaction and notesSummarize long sessions and persist decisions to external notes so progress survives context limits
Trust labelingDistinguish trusted instructions from untrusted retrieved content

The feature execution context package​

task-specific-context-preparation

Figure 8. Task-specific context preparation.

Context for the running example​

Context categoryRequired information
BusinessTenant lifecycle and administrator responsibilities
DomainTenant identifiers, states, provisioning semantics
ArchitectureSaaS control plane, tenant registry, integration boundaries
RepositoryExisting tenant management service and test suites
InterfaceAPI and event contracts
SecurityTenant-aware authorization and IAM policies
InfrastructureApproved AWS architecture and deployment configuration
TestingAcceptance criteria and verification requirements
OperationalExisting monitoring, logging, and recovery practices

Context validation​

Before significant execution, verify that:

  • Authoritative sources are identifiable and current.
  • Required documents are accessible to the agent's identity.
  • Conflicting instructions are resolved.
  • Sensitive information is protected.
  • Retrieved content cannot override trusted execution policy.
  • Relevant architecture and acceptance constraints are present.

Key takeaways — Chapter 10

  • Assemble the smallest sufficient, high-signal context for each task.
  • Use progressive disclosure, skills, sub-agents, and external notes to manage context limits.
  • Treat retrieved content as data, never as policy.

Phase 5 — Decomposition and Planning​

Decompose features into bounded work​

Delegate tasks that have explicit objectives, dependencies, expected artifacts, and verification requirements. A task should be large enough to deliver meaningful value but small enough to be understood and verified in one review.

Example decomposition​

Task IDEngineering taskDepends on
T01Define tenant lifecycle model and contractsApproved architecture
T02Implement tenant registry persistenceT01
T03Implement tenant registration APIT01, T02
T04Implement provisioning workflowT01
T05Implement provisioning status APIT02
T06Implement tenant authorization controlsT01
T07Implement administrator user interfaceAPI contracts
T08Implement infrastructure as codeApproved architecture
T09Integrate telemetry and audit eventsRelevant components
T10Run integration and acceptance verificationT02–T09
T11Prepare deployment and recovery artifactsT10

Task dependency graph​

feature-task-dependency-graph

Figure 9. A representative feature task graph.

Sequence work as vertical slices​

Where possible, slice the feature so that each increment is integrated and verifiable end to end (for example, "register a tenant and persist it" before "provision resources"), rather than completing every layer horizontally and integrating at the end. See Section Design Patterns for AI-Native Feature Delivery.

Task execution contracts​

Every delegated task carries an explicit execution contract.

task_id: TENANT-001-T04
feature_id: TENANT-001
autonomy_level: A2

objective: >
Implement asynchronous tenant provisioning and safe recovery
from partial failures.

inputs:
specification: TENANT-001-v1.0
architecture: [ADR-001, ADR-002, ADR-003, ADR-005]
acceptance_criteria: [AC-03, AC-04, AC-05, AC-06]

allowed_scope:
- services/tenant-provisioning/
- infrastructure/provisioning/
- tests/unit/provisioning/

prohibited_actions:
- Direct production deployment
- Protected branch modification
- Unapproved architecture changes
- Modification of protected acceptance tests

expected_artifacts:
- Provisioning workflow implementation
- Infrastructure changes
- Unit tests
- Implementation summary (assumptions, risks, deviations)

verification:
- Workflow state-transition tests
- Idempotency tests
- Partial-failure recovery tests

execution_policy:
workspace: isolated
budget_profile: standard-feature-task
approval_profile: governed-implementation
escalate_on: [ambiguous-requirement, architecture-deviation, security-boundary]

The contract must be enforced by the harness through scoped permissions, path protections, tool allow-lists, and budgets. Restrictions that exist only in natural-language instructions are not controls.

Selecting an execution topology​

TopologyAppropriate when
Single agentBounded work with limited dependencies
Sequential executionWork requires ordered steps
Parallel workersIndependent components with stable interface contracts
Orchestrator–workerComplex work needing specialized coordination
Human-agent workflowMaterial ambiguity, architectural decisions, or elevated risk

Prefer the simplest topology that reliably meets the need. Multi-agent designs add coordination cost, correlated failure modes, and complexity; adopt them for demonstrated benefit, not by default.

Key takeaways — Chapter 11

  • Delegate bounded tasks with explicit execution contracts.
  • Enforce contracts through harness controls, not prose.
  • Slice vertically and prefer the simplest execution topology.

12. Phase 6 — Agentic Implementation​

12.1 The implementation loop​

Agentic implementation is a controlled cycle of inspection, planning, change, test, observation, and correction.

engineering_task_flow

Figure 10. The controlled agentic implementation loop.

12.2 Prescriptive execution sequence​

Direct the harness to:

  1. Load the approved task and its execution boundaries.
  2. Inspect the existing implementation and related contracts.
  3. Establish the current build and test baseline.
  4. Identify the minimum coherent change required.
  5. Generate the implementation.
  6. Add or update implementation-level tests.
  7. Run local checks (build, lint, type check, tests).
  8. Analyze failures and apply bounded corrections.
  9. Record completed work, assumptions, deviations, and unresolved concerns.
  10. Persist the candidate change set for independent review.

Establish a clean baseline first. Otherwise pre-existing failures may be misattributed to the new change.

12.3 Example implementation instruction​

OBJECTIVE
Implement the tenant provisioning workflow defined by TENANT-001-T04.

AUTHORITATIVE INPUTS
- Approved specification TENANT-001-v1.0
- ADR-001, ADR-002, ADR-003, ADR-005
- Existing tenant lifecycle contracts
- Repository engineering standards

REQUIRED BEHAVIOR
- Execute provisioning asynchronously.
- Persist lifecycle transitions.
- Support safe recovery from partial failures.
- Reconcile completed actions before retrying.
- Activate a tenant only after required validation.

CONSTRAINTS
- Remain within the approved task scope.
- Preserve public contracts unless changes are authorized.
- Do not modify protected acceptance criteria or tests.
- Do not deploy to production.
- Escalate material architectural ambiguity instead of guessing.

EXPECTED OUTPUTS
- Implementation changes and relevant unit tests
- Local verification results
- Identified risks, assumptions, and deviations
- Candidate change summary

This instruction is the interface to an agent run. The governance lives in the contract, the harness controls, and the verification pipeline.

Deterministic guardrails alongside agent judgment​

Agents are probabilistic; some controls must not be. Use the harness to attach deterministic checks at well-defined points in the loop, for example:

  • Before a tool call: block writes outside allowed paths, deny disallowed commands, and validate parameters.
  • After a file edit: run formatters, linters, and fast structural tests, and return failures to the agent as feedback.
  • Before completion: require that build and tests pass and that the candidate change summary is present.

Such hooks give the agent immediate, machine-readable feedback and keep policy enforcement out of the model's discretion. Error messages from these checks should explain how to fix the violation, since the agent will consume them directly.

Implementation across architectural layers​

LayerAgentic activities
FrontendUI components, interaction logic, validation, API integration
Application servicesBusiness logic, use cases, orchestration, authorization
DomainEntities, lifecycle rules, invariants
IntegrationAPI clients, event producers and consumers, adapters
DataPersistence, schema changes, migrations, queries
InfrastructureInfrastructure-as-code changes and configuration
SecurityAuthorization checks and approved controls
ObservabilityLogs, metrics, traces, audit events

Cross-layer work must preserve approved architectural boundaries.

Long-running execution and checkpoints​

Complex tasks outlast a single context window. Persist meaningful state outside the model's context.

durable_execution_state

Figure 11. Incremental execution across agent sessions.

Practical techniques:

  • Keep a structured, machine-readable progress record and a human-readable progress note in the workspace.
  • Commit at coherent checkpoints with descriptive messages so state is recoverable.
  • Maintain a feature checklist whose items an agent may mark complete only when verified.
  • Give each new session a short startup routine: read the progress note and recent commits, confirm the baseline, then choose the next item.

A resumed session must revalidate repository state, task scope, permissions, and verification criteria. It must not blindly repeat actions whose outcome is uncertain.

Managing parallel execution​

Parallel agents help when tasks are genuinely independent, but they add risks.

RiskMitigation
Conflicting source changesIsolated branches or worktrees
Inconsistent API assumptionsVersioned, approved interface contracts
Duplicate implementationsExplicit task ownership
Architectural divergenceShared approved architecture context
Integration failuresControlled integration and regression testing
Excess costBudgets and concurrency limits

Do not parallelize tightly coupled work merely to raise agent utilization.

Key takeaways — Chapter 12

  • Run implementation as a bounded loop with a clean baseline and recorded assumptions.
  • Attach deterministic hooks and checks for policy that must not depend on model judgment.
  • Persist state outside the context window, and revalidate on resume.
  • Parallelize only independent work behind stable contracts.

Phase 7 — Independent Verification​

Testing is not independent verification​

An implementation agent can write tests that reflect its own understanding of the requirements. If that understanding is wrong, the implementation and its tests will be wrong in the same way, and every check will pass. Passing agent-written tests therefore does not establish feature correctness.

Agents can also game checks: special-casing tests, weakening assertions, deleting failing tests, or declaring success prematurely. This is not malice; it is optimization against the signal the agent can see. The defense is structural, not exhortation.

Separating implementation from verification​

trusted_verification_pipeline

Figure 12. Independent feature verification architecture.

13.3 Verification dimensions​

DimensionPurpose
Build verificationThe candidate builds successfully
Unit testingIndividual behaviors are correct
Integration testingComponent interactions work
Contract testingInterfaces are compatible
End-to-end testingComplete user journeys work
Acceptance testingOriginal requirements are met
Security testingSecurity defects and policy violations are found
Architecture fitnessArchitectural constraints hold
Performance testingLatency and throughput meet expectations
Resilience testingFailure handling and recovery work
Accessibility testingApplicable accessibility requirements are met
Production validationBehavior is correct after deployment (Chapter 17)

Example verification matrix​

Acceptance criterionMechanismExpected evidence
AC-01 RegistrationAPI integration testUnique tenant record and provisioning ID
AC-02 Unauthorized registrationNegative authorization testRejection; no resource creation
AC-03 Duplicate requestIdempotency testSingle logical provisioning operation
AC-04 Successful provisioningEnd-to-end workflow testACTIVE tenant and required resources
AC-05 Partial failureFailure-injection testNon-active status; recorded failure
AC-06 RecoveryCheckpoint and retry testReconciled state; successful recovery
AC-07 Tenant isolationCross-tenant security testUnauthorized access denied
AC-08 Status trackingAPI contract and integration testCorrect persisted workflow status

Protecting verification from the implementer​

Concrete controls that make verification independent:

  • Protected paths. Authoritative acceptance tests and fitness functions live under paths that implementation agent identities cannot modify, enforced by code-owner rules, branch protection, or a separate repository.
  • Trusted execution. Verification runs in CI that the implementing agent cannot reconfigure, using the pipeline definition from the protected branch rather than from the candidate.
  • Change detection. Flag candidate changes that delete tests, weaken assertions, add skips, or alter thresholds, and route them to human review.
  • Test-quality signals. Where practical, use mutation testing or fault-injection to check that tests would actually fail when behavior is wrong.
  • Flaky-test discipline. Quarantine and fix nondeterministic tests; a flaky suite teaches agents (and people) to ignore failures.
  • Evidence binding. Tie results to the exact commit and artifact digest being released.

Architecture fitness functions in verification​

For the running example, applicable checks include:

  • Tenant boundaries are enforced.
  • Forbidden dependencies are rejected.
  • API contracts remain compatible.
  • Workflow state transitions are valid.
  • Sensitive information is not exposed.
  • Infrastructure satisfies approved security policy.
  • Required operational telemetry exists.

Inform the implementation agent of these constraints, but keep the authoritative mechanisms protected.

What "independent" does and does not mean​

A second reviewer agent is useful but does not automatically provide independence. If both agents share a model, context, assumptions, and permissions, their failure modes are correlated. Trustworthy verification combines:

  • Approved acceptance criteria.
  • Protected test definitions.
  • Independently controlled execution environments.
  • Deterministic validation where possible.
  • Authorized human judgment for subjective or non-deterministic requirements.
  • Evidence bound to exact revisions and artifacts.

An agent-based evaluator can add value, particularly for judgment-heavy criteria such as usability or design adherence, provided it is given concrete criteria, is calibrated against human judgment, and does not share the implementer's permissions or write access.

Verifying the harness is not verifying the feature​

Do not conflate two kinds of evaluation:

  • Feature verification asks whether this candidate change satisfies this feature's criteria.
  • Harness evaluation asks whether the harness reliably completes a representative suite of tasks across repeated runs, and whether changes to prompts, skills, tools, or models improve or regress that reliability.

Because agent behavior varies between runs, harness evaluation should examine results over multiple runs and look at consistency, not only best-case success. Harness evaluation belongs to Harness Engineering (see the companion publication); this playbook consumes its results as an input to autonomy decisions.

The verification feedback loop​

verification_loop

Figure 13. A bounded implementation–verification loop.

When failures recur, investigate the underlying cause instead of repeatedly telling the agent to try again. Escalate when:

  • Requirements remain ambiguous.
  • The architectural approach is unsuitable.
  • Verification criteria conflict.
  • Budgets are exhausted or progress has stalled.
  • A security boundary would need to change.

Key takeaways — Chapter 13

  • Agent-written tests do not establish correctness; agents can also game visible checks.
  • Protect authoritative tests, run them in trusted CI, detect test tampering, and bind evidence to the release candidate.
  • A second agent is not automatically independent.
  • Feature verification and harness evaluation answer different questions.

Engineering Review and Quality Governance​

Review in AI-native engineering​

As implementation throughput rises, review quality becomes critical. AI-generated code can be syntactically clean while hiding architectural flaws, security problems, unnecessary complexity, or incorrect business semantics. The purpose of review is not to confirm the code looks plausible; it is to decide whether the change is an acceptable engineering solution.

Review dimensions​

AreaQuestions to answer
Functional correctnessDoes it satisfy the original business requirements?
ArchitectureDoes it respect boundaries and approved decisions?
SimplicityIs it more complex than necessary?
MaintainabilityCan future engineers understand and evolve it?
SecurityDoes it introduce exploitable behavior or inappropriate access?
PerformanceAre there avoidable resource or latency problems?
ReliabilityDoes it handle expected failure scenarios?
CompatibilityDoes it preserve required contracts?
TestingAre important behaviors and edge cases verified, and were tests altered?
OperationsCan it be monitored, diagnosed, and recovered?

The pull request evidence contract​

A pull request should contain enough evidence to support review without forcing the reviewer to reconstruct intent.

FEATURE IDENTIFIER
BUSINESS OBJECTIVE
REQUIREMENTS AND ACCEPTANCE CRITERIA ADDRESSED
ARCHITECTURAL DECISIONS APPLIED
IMPLEMENTATION SUMMARY
AFFECTED COMPONENTS
API AND DATA CONTRACT CHANGES
TEST AND VERIFICATION RESULTS (bound to this commit)
CHANGES TO TESTS OR VERIFICATION CONFIGURATION (explicitly listed)
SECURITY AND ARCHITECTURE FINDINGS
MIGRATION AND DEPLOYMENT IMPACT
ASSUMPTIONS, DEVIATIONS, AND KNOWN LIMITATIONS
ROLLBACK OR RECOVERY STRATEGY
REQUIRED APPROVALS

Reviewers should be able to trace every proposed change to its engineering objective.

Managing the review bottleneck​

Increasing coding speed without increasing review, verification, and release capacity moves the bottleneck downstream.

system_level_improvement

Figure 14. Local optimization versus end-to-end optimization.

Leaders should optimize the whole value stream:

  • Set work-in-progress limits.
  • Keep change sets small.
  • Automate quality gates so humans review what machines cannot.
  • Use agent-assisted pre-review for mechanical issues, while preserving human judgment on design and risk.
  • Provision verification capacity as deliberately as coding capacity.

Do not judge the transformation by how quickly agents produce artifacts.

Key takeaways — Chapter 14

  • Review decides whether a change is an acceptable solution, not whether it looks plausible.
  • Require evidence-rich pull requests that explicitly surface test and configuration changes.
  • Manage review and verification as capacity-constrained stages of the value stream.

Security, Privacy, and Responsible Execution​

Two distinct security responsibilities​

DomainObjective
Agentic engineering securityEnsure agents operate within approved trust boundaries
Business application securityEnsure the delivered software meets its security requirements

The first protects the engineering environment; the second protects the software being delivered. Both are required, and they use different controls.

Threats to the engineering environment​

RiskRequired control
Unauthorized repository accessRepository-scoped agent identities and permissions
Prompt injection via source files, documents, issues, web content, or tool outputTreat retrieved content as untrusted data; enforce policy outside the model
Secret disclosureShort-lived scoped credentials, redaction, secret management; no long-lived secrets in agent context
Arbitrary code executionHardened, isolated sandboxes
Uncontrolled tool invocationTool allow-lists, authorization, and parameter validation
Source-code exfiltrationApproved model endpoints and network-egress allow-lists
Dependency compromiseDependency verification, pinning, and supply-chain controls
Verification manipulationProtected acceptance criteria and trusted CI
Unauthorized production actionsIndependent deployment authorization
Malicious or compromised tools, skills, or pluginsVetting, provenance, signing, and least-privilege tool servers

The high-risk combination​

Prompt injection is most dangerous when three conditions coexist in one agent session: access to private or sensitive data, exposure to untrusted content, and the ability to communicate externally or take consequential actions. Design the harness so that no single session holds all three without strong, deterministic controls. Break the combination by removing one leg: restrict egress, withhold sensitive data, or quarantine untrusted content into a lower-privilege sub-agent whose outputs are validated before use.

Principles for secure agent execution​

  • Least privilege by default. Grant the minimum tools, paths, and permissions per task, and expire them with the task.
  • Distinct agent identity. Agents act under their own auditable identities, not as an engineer's personal credentials.
  • Ability is not authorization. The harness must separate what an agent can technically do from what it is permitted to do.
  • Enforce outside the model. Sandboxing, network policy, hooks, and permission systems are enforced by infrastructure, not by instructions.
  • Human approval for irreversible or high-impact actions. Approval prompts should be rare and meaningful, so that people do not habituate to clicking "approve".
  • Full traceability. Record prompts, tool calls, file changes, and decisions so that actions can be reconstructed.

Business application security​

Specifications and architecture should address:

  • Authentication and authorization.
  • Data protection and classification.
  • Input validation.
  • Tenant isolation.
  • Secure integration.
  • Secrets management.
  • Dependency security.
  • Auditability.
  • Abuse prevention.
  • Applicable regulatory and organizational requirements.

For Track C features, add threat modeling during architecture, and verify the resulting controls independently. Scan AI-generated code, dependencies, and infrastructure-as-code with the same rigor as human-written code; do not assume generated code is safer or less safe.

Risk-based autonomy matrix​

RiskRepresentative actionRecommended control
LowRead approved repository filesAutomated execution
ModerateModify files in an isolated workspaceBounded execution within the task contract
ElevatedOpen a pull requestGoverned workflow and independent verification
HighChange authentication or shared infrastructureIndependent review and applicable approvals
CriticalModify production systems or sensitive dataExplicit privileged workflow; prohibited by default for general implementation agents

Key takeaways — Chapter 15

  • Treat agent security and application security as separate, both mandatory.
  • Avoid sessions that combine sensitive data, untrusted content, and external actions.
  • Enforce least privilege, distinct identity, and policy outside the model.

Phase 8 — Release and Deployment​

Integrating the harness with CI/CD​

The harness does not replace the enterprise delivery pipeline. It produces and refines candidate changes that must pass through trusted release mechanisms.

agentic_delivery_pipeline

Figure 15. Agentic implementation integrated with governed CI/CD.

If a merge or rebuild yields a different revision or artifact, verification must be associated with the actual release candidate. An earlier passing pull-request build is not evidence that a later, modified artifact is acceptable.

CI/CD quality gates​

StageRepresentative controls
Source validationFormatting, linting, code standards
BuildReproducible builds and dependency resolution
Unit testingImplementation behavior
Integration testingComponent interactions
Contract testingAPI and event compatibility
Acceptance testingOriginal business requirements
Architecture validationFitness functions and dependency constraints
Security scanningStatic analysis, dependencies, secrets, infrastructure-as-code
Artifact publicationIntegrity and provenance
Release authorizationApprovals and policy checks
DeploymentControlled environment promotion
Post-deployment verificationSmoke tests and operational checks

Release readiness​

Before production deployment, establish:

  • The exact approved source revision and deployable artifact.
  • Required verification evidence.
  • Security and architectural findings and their disposition.
  • Configuration and infrastructure changes.
  • Database migration requirements.
  • Operational readiness.
  • Deployment strategy and rollout plan.
  • Recovery or rollback mechanisms.
  • Release authorization per policy.

Deployment strategies​

PatternAppropriate use
Rolling deploymentCompatible changes across replicated services
Blue-green deploymentEnvironment switching with suitable compatibility controls
Canary deploymentGradual exposure with measurable validation
Feature flagsDecoupling deployment from feature activation
Shadow executionComparing behavior without authoritative side effects
Controlled migrationChanges requiring data transformation or schema evolution

Select the strategy based on the feature's risk, architecture, data requirements, and operational characteristics. For Track C features, prefer progressive exposure with a tested recovery path.

Database and state migration​

Application rollback does not necessarily reverse data or schema changes, so database changes need particular care. Use:

  • Backward-compatible schema evolution.
  • Expand-and-contract migrations.
  • Controlled data backfills.
  • Migration validation and reconciliation.
  • Recovery planning and tested version compatibility.

Do not let an agent generate and execute destructive production migrations without explicit authorization and safeguards.

Key takeaways — Chapter 16

  • Agents feed the pipeline; they do not replace it.
  • Bind verification evidence to the exact release candidate.
  • Choose rollout patterns by risk, and treat data migrations as a separate hazard.

Phase 9 — Production Validation​

Deployment success is not feature success​

A pipeline can finish successfully while the business capability remains unusable: the service may run while an integration fails, a permission is missing, or a workflow never reaches its intended business state. Production validation must establish that the feature works in its target environment.

Separating engineering execution from the target environment​

aws_deployment_architecture

Figure 16. Separation of engineering execution, release infrastructure, and the target AWS environment.

The coding-agent environment must not inherit unrestricted production privileges.

Production validation for tenant onboarding​

Validation activityExpected evidence
API availabilityRegistration and status endpoints respond correctly
AuthorizationApproved test administrators can use the feature
Provisioning executionWorkflow starts and reaches expected states
Resource creationRequired tenant resources exist
Tenant registrationRegistry accurately reflects provisioning status
IsolationApproved negative tests confirm tenant boundaries
AuditabilityRequired lifecycle and security events are available
ObservabilityTelemetry supports diagnosis
Recovery readinessApproved failure-recovery mechanisms are operational

Use isolated production test tenants or other approved arrangements. Do not run destructive synthetic tests in live customer environments.

Validating the resulting business state​

Feature deployed
v
Workflow executed
v
Resources provisioned
v
Tenant state reconciled
v
Tenant operational
v
Business capability available

Figure 17. Validation of the resulting business state.

A successful API response, completed workflow, or deployment notification is not proof of the intended outcome. For TENANT-001, the authoritative outcome is a tenant that is correctly provisioned, validated, activated, and operational, as confirmed by reconciling expected against actual state.

Key takeaways — Chapter 17

  • Validate the resulting business state, not just deployment or API success.
  • Use approved test tenants; never destructive tests on live customers.
  • Keep the coding environment out of production.

Phase 10 — Operations and Learning​

Production ownership​

End-to-end ownership extends past implementation and deployment. The team establishes:

  • Operational service ownership.
  • Monitoring and alerting.
  • Service-level objectives.
  • Incident escalation.
  • Failure-recovery mechanisms and runbooks.
  • Security monitoring.
  • Feature adoption and business metrics.
  • A continuous improvement backlog.

Observability and agent-assisted operations​

observability_remediation_flow

Figure 18. Production operations with controlled agent assistance.

Agents can help investigate incidents, correlate signals, and draft remediation plans. Production actions require their own identity, authorization, verification, and operational controls, and must not be implicitly available to general coding agents.

Example operational metrics​

MetricPurpose
Tenant provisioning success rateSuccessful provisioning outcomes
Provisioning durationOnboarding efficiency
Workflow failure rateReliability problems
Recovery success rateEffectiveness of failure recovery
Tenants in non-terminal statesStuck workflows
Authorization rejection patternsMisuse and security concerns
Resource reconciliation failuresDivergence between expected and actual resources
Manual intervention rateOperational automation effectiveness

Routing production findings​

FindingCorrective owner
Missing business behaviorProduct and requirements engineering
Incorrect implementationFeature engineering team
Architectural limitationArchitecture ownership
Insufficient acceptance coverageVerification engineering
Repeated agent implementation errorHarness Engineering
Inadequate lifecycle controlAI-Native SDLC governance
Infrastructure failurePlatform Engineering or SRE

Not every production problem is a harness problem. Correct classification is essential to systematic improvement.

Key takeaways — Chapter 18

  • Own the feature in production: monitoring, SLOs, runbooks, escalation, adoption metrics.
  • Production remediation uses dedicated, authorized identities, not coding-agent privileges.
  • Classify findings correctly before choosing a corrective owner.

Engineering the Evidence Chain​

Evidence as a first-class artifact​

Every important delivery claim should be supported by traceable evidence connecting business intent, architectural decisions, implementation, verification, release, deployment, and production behavior.

traceability_chain

Figure 19. The end-to-end feature delivery evidence chain.

Feature traceability matrix​

RequirementDesign artifactTaskVerificationProduction evidence
Tenant registrationAPI contractT03Registration integration testTenant record
Asynchronous provisioningADR-001T04Workflow execution testWorkflow execution record
Safe retriesADR-003T04Idempotency and recovery testsReconciliation results
Tenant authorizationSecurity designT06Negative authorization testsSecurity telemetry
Status trackingLifecycle modelT05Status API testsPersisted lifecycle state
Operational visibilityObservability designT09Telemetry checksProduction metrics and traces

Evidence should identify versions, execution records, source revisions, and released artifacts. Agent run traces (prompts, tool calls, file changes, approvals) are part of the execution record and should be retained according to policy.

Evidence integrity​

Keep authoritative evidence in protected systems. Implementation agents must not hold unrestricted authority to alter acceptance evidence, deployment records, or production audit artifacts. Retain evidence according to security, privacy, compliance, and operational requirements.

Key takeaways — Chapter 19

  • Make every delivery claim traceable from intent to production behavior.
  • Include agent execution traces in the record.
  • Protect evidence from the agents whose work it evaluates.

Design Patterns for AI-Native Feature Delivery​

Pattern catalog​

Each pattern below names a recurring problem and a proven shape of solution, in the spirit of classic design-pattern catalogs. Use them as a shared vocabulary in design reviews.

PatternIntentTypical application
Specification-FirstEstablish verifiable intent before implementationAll material features
Architecture-Driven ImplementationConstrain implementation through approved architectureEnterprise systems
Context-Prepared ExecutionSupply task-relevant knowledge, and no moreRepository-aware development
Vertical Slice DeliveryDeliver thin, integrated capabilitiesIncremental delivery
Contract-First ParallelismEnable independent parallel implementationDistributed systems
Plan–Execute–VerifySeparate planning, execution, and verificationComplex tasks
Checkpoint and ResumePreserve continuity across sessionsLong-running execution
Hook-Enforced GuardrailsEnforce policy deterministically around agent actionsAny governed execution
Independent VerifierObtain trustworthy completion evidenceProduction-oriented delivery
Governed ReleaseSeparate implementation authority from release authorityEnterprise CI/CD
Production Outcome VerificationConfirm the resulting business stateOperational acceptance
Failure-to-Guardrail RatchetConvert recurring failures into permanent checksContinuous improvement

Pattern: Specification-First​

Problem. Agents implement plausible but incorrect interpretations of ambiguous requirements.

Solution. Approve a specification and independently verifiable acceptance criteria before significant execution.

intent_to_accepted_change

Figure 20. Specification-First.

Consequences. Upfront clarification effort is traded for less ambiguity, rework, and verification inconsistency. Keep the specification sized to the delivery track.

Pattern: Vertical Slice Delivery​

Problem. Large horizontal batches delay integration and leave intermediate states hard to verify.

Solution. Deliver thin, integrated capabilities across all layers, each independently verified.

feature_slices

Figure 21. Vertical slice delivery.

Consequences. Earlier integration feedback, at the price of disciplined scope definition and compatibility management.

Pattern: Contract-First Parallelism​

Problem. Parallel agents make conflicting interface assumptions.

Solution. Approve interface contracts before parallel implementation begins; verify both sides against the contract.

api_contract_flow

Figure 22. Contract-First Parallelism.

Consequences. Parallel speed-up, but any contract change requires coordinated revision and re-verification.

Pattern: Hook-Enforced Guardrails​

Problem. Natural-language instructions are advisory; agents can overlook or misinterpret them.

Solution. Attach deterministic checks and policy enforcement to defined points in the agent loop (before tool use, after edits, before completion), and return fix-oriented feedback to the agent.

policy_hook_feedback_loop

Figure 23. Hook-Enforced Guardrails.

Consequences. Strong, consistent enforcement and faster feedback; requires maintaining the hooks and keeping their messages actionable.

Pattern: Independent Verifier​

Problem. Implementation and self-generated tests share incorrect assumptions.

Solution. Establish an authoritative verification mechanism outside the implementing agent's control.

trusted_verification_decision

Figure 24. Independent Verifier.

Consequences. Stronger confidence and auditability, at the cost of verification infrastructure and its maintenance.

Pattern: Production Outcome Verification​

Problem. Successful deployment or API execution is mistaken for business success.

Solution. Gather evidence that the intended real-world state has occurred.

operational_acceptance_flow

Figure 25. Production Outcome Verification.

Consequences. Real confidence in outcomes, requiring safe production test arrangements.

Pattern: Failure-to-Guardrail Ratchet​

Problem. The same agent mistake recurs across features, and each is fixed by hand.

Solution. When a failure class recurs, fix the instance, then encode the lesson permanently: a linter rule, structural test, fitness function, hook, skill update, or protected regression test. Over time the delivery system only becomes stricter and more capable in the areas where it has failed.

durable_guardrail_loop

Figure 26. The Failure-to-Guardrail Ratchet.

Consequences. Compounding improvement; requires discipline to avoid accumulating redundant or conflicting rules, so review guardrails periodically and retire those that no longer earn their keep.


The Playbook in Practice: A Complete Walkthrough​

This chapter consolidates the running example into one sequence.

Feature delivery stages​

StageEngineering activityHarness contributionDeliverable
1Understand business requirementAnalyze domain and repository contextFeature brief
2Establish specificationDraft requirements; surface ambiguitiesApproved specification
3Design architectureAnalyze alternatives and existing componentsADRs and design
4Prepare contextResolve repository, architecture, and skill contextContext package
5Decompose featureGenerate dependency-aware plansTask contracts
6Implement tenant registryExecute bounded coding workflowPersistence changes
7Implement provisioningGenerate workflow and recovery logicProvisioning changes
8Implement API and UIImplement approved contractsIntegrated functionality
9Implement infrastructureGenerate approved IaC changesDeployment configuration
10Validate changesRun local checks; assist correctionCandidate change sets
11Verify independentlyIntegrate trusted verificationAcceptance evidence
12Review and authorizePrepare review artifacts and summariesApproved release
13DeployIntegrate with governed CI/CDProduction deployment
14Validate in productionAssist approved operational checksProduction acceptance
15Operate and improveAssist diagnosis; collect feedbackImprovement backlog

Representative sequence​

agentic_delivery_sequence

Figure 27. End-to-end agentic feature delivery sequence.

Feature completion package​

TENANT-001/
|-- feature-brief.md
|-- specification.md
|-- acceptance-criteria.md
|-- architecture.md
|-- adr/ (ADR-001 ... ADR-005)
|-- execution-plan.yaml
|-- task-contracts/
|-- implementation-summary.md
|-- verification/
| |-- acceptance-results.md
| |-- architecture-results.md
| |-- security-results.md
| +-- evidence-references.yaml
|-- release/
| |-- artifact-reference.yaml
| |-- deployment-plan.md
| +-- recovery-plan.md
|-- operations/
| |-- production-validation.md
| |-- runbook.md
| +-- improvement-backlog.md
+-- traceability-matrix.md

These artifacts may live in source control, issue trackers, artifact registries, verification platforms, or operational systems. They need not be duplicated into a single directory.


Metrics, Economics, and Business Value​

Measure outcomes, not agent activity​

Prompt counts, generated lines of code, tool calls, and active agents say little about delivery effectiveness. Measure at three levels.

three_level_measurement

Figure 28. Three levels of engineering performance measurement.

Harness effectiveness metrics​

MetricMeasures
Agent task success rateIndependently accepted task executions
First-pass success rateTasks accepted without corrective iterations
Consistency across repeated runsWhether success holds run after run, not only at best
Human intervention rateDependence on human assistance
Execution failure rateReliability of agent execution
Recovery success rateEffectiveness of recovery mechanisms
Cost per successful taskHarness execution economics
Task completion timeExecution efficiency

These show whether the harness is improving. They do not by themselves show business value.

Software delivery performance metrics​

MetricDefinition
End-to-end feature lead timeTime from agreed feature commitment to production availability
Change lead timeTime from a version-controlled change to production deployment
Deployment frequencyFrequency of production deployments
Change failure rateProportion of deployments needing immediate intervention
Failed deployment recovery timeTime to recover from a failed deployment
Deployment rework rateProportion of deployments arising from unplanned production incidents
Defect escape rateDefects found after the designated verification boundary
Cost per delivered featureAttributable engineering and delivery cost per accepted feature
Feature rework rateProportion of feature work needing corrective implementation
Review queue timeTime candidate changes await review
Verification queue timeTime candidate changes await verification

The five DORA software delivery metrics (change lead time, deployment frequency, failed deployment recovery time, change failure rate, and deployment rework rate) are a sound foundation for throughput and instability. Feature-level metrics are needed to assess the full AI-native value stream. Always read throughput and stability metrics together; speed without stability is not improvement.

End-to-end delivery economics​

Cost per delivered feature
= Human engineering effort
+ Agent execution and inference cost
+ Execution infrastructure cost
+ Review and verification cost
+ Rework and integration cost
+ Allocated platform and release cost
+ Other attributable delivery costs

Include unsuccessful attempts and corrective execution in the measurement population. A cheap first implementation is not necessarily an economical feature.

Illustrative economic comparison​

The following hypothetical comparison covers two approaches to delivering comparable features of equal scope and quality.

Cost componentConventionalAI-native
Human engineering effort$4,000$2,000
Agent execution$0$250
Engineering infrastructure$100$150
Review and verification$800$1,000
Rework and integration$600$500
Allocated platform and release$500$500
Total$6,000$4,400

Here AI-native delivery lowers attributable cost by about 26.7%. Note that review and verification cost rises even as implementation cost falls. These numbers are hypothetical and are not empirical productivity claims.

Business value realization​

For automated tenant onboarding, relevant outcomes include shorter onboarding time, lower manual effort, greater onboarding capacity, fewer provisioning errors, better customer experience, and faster activation of revenue-generating tenants. Establish a baseline before release, track actual results, and account for other factors influencing them.

Key takeaways — Chapter 22

  • Measure harness effectiveness, delivery effectiveness, and business value separately.
  • Count the full cost, including review, verification, and rework.
  • Never claim productivity from code volume.

The Continuous Improvement Loop​

Each delivery should improve the delivery system​

Every feature produces evidence about the organization's engineering capability. Classify recurring failures and convert them into reusable improvements.

continuous_improvement_loop

Figure 29. Evidence-driven improvement of the engineering ecosystem.

Failure classification​

Observed problemLikely improvement area
Agent repeatedly misunderstands requirementsSpecification quality or task context
Agent violates architectural boundariesArchitecture context, skills, or fitness functions
Agent repeatedly misuses toolsTool design, descriptions, and harness orchestration
Tests pass despite incorrect business behaviorIndependent verification
Review queues growOperating model and workflow
Deployment failures increaseRelease engineering and DevSecOps
Delivered features go unusedProduct discovery and adoption
Excessive execution costModel strategy, context, and workflow design
Recurring application-specific defectsApplication architecture or implementation

The right fix is not always another prompt. Investigate the system-level cause before changing the harness, and validate harness changes against a regression suite before release.

Example: tenant isolation​

Suppose agents repeatedly write tenant-related queries without the required tenant restriction. The immediate defect must be fixed. The durable improvement may include:

  1. Clarifying authoritative tenant isolation requirements.
  2. Updating reusable architecture guidance.
  3. Enhancing tenant-aware skills.
  4. Adding automated tenant-isolation fitness tests.
  5. Protecting authoritative negative security tests.
  6. Adding regression tasks to harness evaluations.
  7. Releasing the evaluated improvement.

Fixing the individual defect is AI-Native Software Development. Engineering reusable mechanisms that reduce recurrence is Harness Engineering. Strengthening mandatory lifecycle controls is AI-Native SDLC evolution. This is the Failure-to-Guardrail Ratchet (Section 20.8) in practice.


Organizational Roles and Leadership​

Accountable roles​

RolePrimary responsibility
Product OwnerBusiness intent, priorities, business acceptance
Feature OwnerEnd-to-end delivery accountability
Solution ArchitectMaterial architectural decisions and constraints
Principal EngineerImplementation direction, technical judgment, quality
AI-Native Software EngineerHuman-agent engineering execution
Harness Engineering TeamReusable execution capabilities and harness reliability
Quality EngineeringIndependent verification and quality strategy
Security EngineeringSecurity requirements, controls, and risk assessment
DevSecOps / Platform EngineeringControlled build and release infrastructure
SRE / OperationsProduction reliability and operational acceptance
Head of AI EngineeringStrategy, transformation, governance, and effectiveness

These are responsibility areas, not mandatory separate teams for every feature.

Responsibilities of the Head of AI Engineering​

ResponsibilityExpected outcome
AI-native engineering strategyClear enterprise transformation direction
AI-Native SDLCStandardized, governed lifecycle
Harness adoptionReliable access to appropriate agentic capabilities
Operating modelExplicit human-agent responsibilities and autonomy levels
Specification standardsConsistent, verifiable engineering objectives
Architecture governanceControlled architectural evolution
Independent verificationTrustworthy evidence of correctness
Talent developmentAI-native engineering competencies
Delivery economicsMeasurable cost and productivity outcomes
Production ownershipReliable operational feature delivery
Continuous improvementSystematic evolution of practices and harness capabilities

The goal is not to maximize agent utilization; it is to improve the organization's ability to deliver reliable business value.

The changing role of the senior engineer​

Conventional emphasisAI-native emphasis
Writing implementation codeDirecting and validating implementation
Individual coding productivityEnd-to-end feature effectiveness
Manual repository explorationGoverned context preparation
Manually decomposed tasksStructured human-agent execution planning
Code reviewCode, architecture, and outcome verification
Technical executionEngineering judgment and accountability
Repeated manual correctionsReusable systemic improvements

Strong programming, architecture, debugging, and testing skills remain essential. Agentic development changes how expertise is applied; it does not remove the need for it. Organizations should also plan for the skill-development effect: engineers who only review generated code can lose depth over time, so deliberately preserve hands-on practice and mentoring.


Adopting the Playbook: Maturity and Roadmap​

Five adoption phases​

PhaseFocusExit criterion
1. Controlled adoptionBounded workloads; approved harness; repository instructions; isolated execution; human review; basic measurementRepresentative tasks completed and independently verified within approved boundaries
2. Structured feature deliverySpecifications, acceptance criteria, architectural constraints, task contracts, reusable workflowsTeams deliver complete, bounded features through a repeatable lifecycle
3. Governed production deliveryIndependent verification, fitness functions, security controls, controlled deployment, production validationDelivery satisfies enterprise production requirements
4. Enterprise-scale transformationShared harness across teams; competency frameworks; central governance; delivery metrics; reusable skillsMultiple teams deliver through a consistent, risk-adaptive model
5. Evidence-driven optimizationOptimize workflows, verification capacity, bottlenecks, and economicsImprovements are measured, evaluated, and sustained

A proposed maturity model​

LevelMaturityDefining capability
L1AssistedIndividuals use AI coding tools
L2StructuredTeams use shared context, specifications, and workflows
L3GovernedDelivery includes independent verification and risk-based controls
L4IndustrializedEnterprise-wide capabilities and production governance
L5Continuously evolvingDelivery evidence systematically improves harness, lifecycle, and operating model

This model supports organizational assessment and planning. It is not a universal industry standard.


Common Anti-Patterns​

Anti-patternWhy it failsRecommended alternative
Prompt-to-productionBypasses clarification and verificationSpecification-driven lifecycle
Coding before architectureEncourages structural inconsistencyRisk-proportional architecture decisions
Unbounded feature delegationUncontrolled scopeExplicit task execution contracts
Context dumpingDilutes relevance; raises costTask-specific context preparation
Multi-agent by defaultUnnecessary coordination complexitySimplest effective topology
Agent-authored acceptance criteria without independent reviewCorrelated implementation and verification errorsProtected, reviewed acceptance criteria
Agent self-certificationTreats reported success as evidenceIndependent verification
Oversized pull requestsOverloads review; raises integration riskSmall, independently verifiable changes
Ignoring downstream bottlenecksMoves queues to QA and releaseValue-stream optimization
Excessive execution permissionsRaises security and operational riskLeast-privilege execution
Instruction-only controlsAgents can ignore or misread proseHooks, permissions, and sandboxing
Uncontrolled production deploymentBypasses release accountabilityGoverned CI/CD
Deployment equals completionIgnores real production behaviorProduction outcome verification
Measuring generated code volumeConfuses activity with productivityDelivery and business outcome metrics
Fixing the same agent error repeatedlyNo systemic learningFailure-to-Guardrail Ratchet
Replacing engineering judgment with model outputWeakens architecture and risk decisionsHuman-accountable engineering

Definition of Ready and Definition of Done​

Definition of Ready for agentic implementation​

Apply these at the level appropriate to the feature's delivery track.

Business and specification readiness

  • The business objective is understood.
  • Scope and exclusions are established.
  • Functional requirements are clear and testable.
  • Acceptance criteria are independently verifiable and traced to requirements.
  • Relevant non-functional requirements are measurable.
  • Open questions have owners.

Architecture readiness

  • Affected systems and boundaries are understood.
  • Material decisions are documented.
  • API, event, and data contracts are defined where required.
  • Security and operational constraints are established.

Execution readiness

  • Relevant repository and engineering context is accessible.
  • Tasks and dependencies are identified, with execution contracts.
  • Approved tools and permissions are available and enforced.
  • Verification criteria and environments are available and protected.
  • Ownership and escalation paths are established.

Definition of Done for end-to-end feature delivery​

Implementation

  • Required business functionality is implemented.
  • Changes are version-controlled.
  • Material architectural decisions are satisfied.
  • Approved API and data contracts are preserved or deliberately updated.

Verification

  • Applicable acceptance criteria are independently verified.
  • Required functional and regression tests pass.
  • Architectural fitness checks pass.
  • Applicable security and non-functional requirements are verified.
  • No unreviewed changes to protected tests or verification configuration.
  • Evidence corresponds to the released revision or artifact.

Release

  • Required reviews and authorizations are complete.
  • Deployment artifacts are versioned and traceable.
  • Deployment and recovery plans are established.
  • The feature is deployed and, where intended, activated.

Production operations

  • Production validation has succeeded.
  • Required observability is operational.
  • Operational ownership is established.
  • Runbooks and support documentation are available.
  • Business outcome metrics are defined.

Continuous improvement

  • Material execution failures are analyzed.
  • Reusable harness or process improvements are identified.
  • Unresolved non-blocking issues have accountable owners.

The Definition of Done should not require proof of long-term business ROI at release time. Business value realization may require a separate observation period.


The Consolidated Reference Model​

agentic_sdlc_reference_architecture

Figure 30. The consolidated AI-native end-to-end feature delivery reference model.


Conclusion: Engineering Outcomes, Not Merely Code​

Agentic software engineering changes how implementation work can be performed, coordinated, and accelerated. It does not change the fundamental obligations of software engineering. Requirements must still be understood. Architecture must still be sound. Security must still be established. Software must still be independently verified. Releases must still be governed. Production systems must still be reliable. Business outcomes must still be measured.

The Agentic AI Harness provides the technical capabilities that let human engineers and AI agents collaborate across this lifecycle. The AI-Native SDLC provides process and governance discipline. AI-Native Software Development performs the engineering work. Harness Engineering improves the execution capabilities from delivery evidence. Together they form a repeatable engineering system for delivering business features more effectively without transferring accountability to probabilistic systems.

The philosophy in brief:

Humans establish intent and accountability.

Specifications establish verifiable objectives.

Architecture establishes structural constraints.

The harness enables controlled execution.

Agents accelerate engineering activities.

Independent verification establishes evidence.

Governed delivery establishes production readiness.

Production outcomes establish whether the feature succeeded.

The ultimate measure of AI-native software engineering is not how much code AI generates. It is how consistently the organization can turn business intent into secure, maintainable, reliable, and economically sustainable software.


Appendix A. Glossary​

TermDefinition
Acceptance criterionAn observable condition that must hold for a requirement to be considered satisfied
AgentA model operating in a loop of observation, reasoning, and tool use toward a goal
Agentic AI HarnessThe system of context, tools, orchestration, state, policy, verification integration, and observability surrounding agents
AI-Native SDLCThe lifecycle framework defining phases, responsibilities, artifacts, and controls for human-agent delivery
Architecture decision record (ADR)A short document capturing a material architectural decision, its context, alternatives, and consequences
Autonomy levelA defined degree of independent action permitted to an agent (A0–A4 in this playbook)
Candidate change setThe set of changes produced by an agent, pending independent verification and review
Context engineeringCurating the information an agent receives so that it can perform a task accurately and efficiently
Delivery trackA risk-based classification (A, B, C) that scales lifecycle rigor
Evidence chainThe traceable linkage from business intent to production outcome
Execution contractA task-level definition of objective, inputs, scope, prohibitions, artifacts, verification, and policy
Fitness functionAn executable check that verifies an architectural characteristic
HookA deterministic check or policy attached to a point in the agent loop
Independent verificationVerification whose criteria, execution, and evidence are outside the implementing agent's unilateral control
Progressive disclosureLoading detail only when needed, starting from a concise map
SkillA reusable, loadable package of instructions and resources for a class of tasks
SpecificationA reviewed, versioned, verifiable statement of a feature's intended behavior and constraints
Vertical sliceA thin, integrated increment of capability spanning all architectural layers

Appendix B. Further Reading​

  1. OpenAI. Harness Engineering: Leveraging Codex in an Agent-First World.
  2. Anthropic. Effective Harnesses for Long-Running Agents.
  3. Anthropic. Harness Design for Long-Running Application Development.
  4. Anthropic. Demystifying Evals for AI Agents.
  5. DORA. AI Capabilities Model.
  6. DORA. Software Delivery Performance Metrics.
  7. DORA. Value Stream Mapping for Software Delivery.
  8. Forsgren, N., Humble, J., and Kim, G. Accelerate: The Science of Lean Software and DevOps.
  9. Humble, J., and Farley, D. Continuous Delivery.
  10. NIST. Secure Software Development Framework, SP 800-218.
  11. OWASP. Top 10 for Agentic Applications 2026.
  12. SLSA. Build Provenance.

Engineer the harness. Deliver through the harness. Improve both through evidence.