Claude Development and Operations

A Claude prototype may look successful because the developer can watch every response and correct mistakes immediately. A production service cannot depend on that proximity. It needs bounded authority, testable outputs, controlled releases, usable evidence and a way to recover when the model or a dependency behaves unexpectedly. Those requirements begin before the first launch and continue after the initial prompt has been polished.

Anthropic’s certification program distinguishes implementation from architecture. Anthropic Claude Certified Developer – Foundations (CCDV-F) is closely associated with building application behavior, while Anthropic Claude Certified Architect – Foundations (CCAR-F) examines the system-level choices that make the behavior usable. This article approaches their shared engineering ground from day-two operations: what the team must monitor, test, contain, change and explain once customers depend on the application.

Define the service boundary before delegating work

Consider a fictional customer-support workflow that classifies incoming equipment-warranty claims, searches an approved policy collection and prepares a draft recommendation. The application is not authorized to refund money, rewrite account ownership or change warranty terms. Defining these boundaries in normal application code is more reliable than asking the model to remember that certain actions are prohibited. The design must specify which data it can read, which systems it can address, and which changes need human approval.

A useful service contract separates input, output and effects. Inputs include the submitted claim, the authenticated customer context and relevant policy version. The output is a structured recommendation with evidence and uncertainty markers. Effects may include creating a review task, but changing an invoice or issuing a credit is a different permission level. Even if the model proposes an action confidently, the application checks identity, amount, business rule and approval state independently.

This also changes the test strategy. A successful sentence about a refund does not mean a refund was actually authorized. Conversely, a model refusal to refund does not prevent another vulnerable API path from performing it. Locate the enforcement point where an effect occurs, record the decision and make it possible to reject an unsafe operation even when generated language is persuasive.

Keep external context identifiable and fresh

Claude applications often combine the user’s request with retrieved documents, conversation history and tool results. The system should distinguish instructions it is authorized to follow from facts in external content. A policy document can say what warranties cover; it must not be allowed to change the application’s permissions or request hidden credentials. Retrieved text is evidence for a decision, not a new system authority.

For the warranty workflow, track a document identifier, version or effective date, retrieval time and the applicable product line. Two similar policies may disagree because one applies to a different country or was superseded last month. A retrieval hit without provenance can make the model’s explanation sound definite while using the wrong rule. If the available documents conflict, the correct output may be an escalation, not a fabricated reconciliation.

Build evaluation cases around that ambiguity. Supply an expired policy next to an active policy; provide a customer whose region is missing; deliberately include a document whose contents resemble tool instructions. Verify that the service follows its retrieval-selection logic, preserves the source identity and treats instructions embedded in retrieved text as untrusted data. These tests expose failures that an ideal-case prompt demo would never reveal.

Design tool calls as controlled transactions

Tool use turns generated recommendations into operations. With client-side tools, the model requests an operation; the application validates and executes it; the result is returned to the model for further reasoning. That protocol gives the application an opportunity to enforce permissions, schema checks, idempotency and limits. A retry cannot be permitted to duplicate a refund or create the same service ticket repeatedly.

Define tool interfaces around meaningful actions rather than exposing a broad database connection. A warranty-lookup operation might accept an authorized claim identifier and return a limited policy summary. A review-task operation might require a case identifier and a deduplication key. The application, not the model, checks whether the caller may access that customer’s record. Error results must distinguish a temporary service outage from a denied permission and a nonexistent case.

Bound the execution loop. A tool error should not lead to unending attempts, and a maximum-step safeguard should report an incomplete workflow rather than pretending a result was finished. Record which tool was requested, with a sanitized description of its inputs, what returned and which policy allowed execution. These traces support investigation without unnecessarily copying full customer messages or secrets into logs.

Evaluate business outcomes, not just fluent responses

Development testing needs more than one “looks good” example. Create a small corpus of synthetic warranty cases, including approved, excluded, ambiguous, out-of-date and adversarial documents. For each case, state the required behavior and what evidence would establish it. Some checks can be deterministic: required output fields, permitted tool names, document identifiers and absence of unauthorized external actions. Other checks need reviewer judgment, especially whether the recommendation actually applies the correct policy.

Separate model quality from workflow quality. A model may produce a convincing explanation while the retrieved source is stale; another may give a reasonable policy interpretation but return an object the application cannot parse. A structured format can reduce syntax errors yet cannot guarantee the facts are correct. Track both the validity of the data contract and the decision quality against labeled cases.

Turn regression evaluation into a release condition. Changes to models, prompts, retrieval configuration, tool descriptions or policy data should be checked on the same core set and on a few newly discovered failures. Record the exact version of each component. If outcomes worsen, the team needs an actionable rollback point rather than an instruction to “try a stronger prompt.”

Observe an entire request without exposing the user

An operational trace should identify when a request entered the system, which policy and retrieval versions were used, which tools were considered or executed, whether validation passed, what the final outcome was and whether a human reviewed it. Correlation identifiers allow support staff to find the relevant events without searching through raw personal data. Logs should not contain API keys, complete credentials or unrelated customer records merely for convenience.

Monitor latency and cost alongside safety and task completion. A response might be accurate but require so many tool calls that it exceeds the service budget. Another may be fast because it skipped an essential retrieval step. Establish operational objectives for successful completion, escalation rate, error categories, tool timeouts and the age of relevant context. These measures describe different aspects of usefulness; no single token count captures all of them.

Use clear error ownership. A timeout from the policy store should appear as a dependency failure, not as a model hallucination. A malformed model response is different from a valid response whose proposed action violates business policy. Separate these categories in dashboards and incident records so the person able to fix the root cause receives the issue.

Release with ordinary software controls

Claude Code and other developer tooling can accelerate changes, but generated code and configuration still belong in a controlled software delivery process. Source review, automated tests, dependency checks and restricted deployment permissions remain necessary. A project instruction file can describe conventions; it does not replace repository access control or the authority to approve a production change.

Apply CI/CD practices to the complete AI system: prompts, schemas, evaluations, tool clients, policy references and model configuration. A change to a tool description can alter action selection even when executable code stays the same. A change to retrieved content can change outcomes without a software deploy. Those are material configuration changes and deserve traceability.

Restrict production credentials in build environments. If developers use AI-assisted code changes, a separate review should verify that automated edits did not broaden scopes or introduce new external calls. The principles of DevSecOps are relevant because safety is enforced through the delivery system as well as at runtime. A model instruction to “be careful” cannot substitute for a denied deployment permission.

Operate an escalation and recovery path

Not every claim should be answered automatically. A case with missing customer identity, conflicting rules or an action outside approved authority needs a review path that actually reaches a person. The handoff should include the customer’s question, relevant evidence, why automation stopped and which decision a reviewer must make. A bare “human in the loop” label is insufficient when no queue, owner or turnaround expectation exists.

Plan recovery for dependencies and state. If a tool call times out, the workflow should know whether the action was completed before retrying. If a long conversation is compacted, preserve the case identifier, authorized scope, outstanding actions and source references. A summary that quietly drops a pending approval can produce an incorrect second action even though the language appears coherent.

During an incident, operators need a safe mode. The team may disable write-capable tools while retaining read-only claim lookup, or temporarily route all decisions to manual review. Test that contingency while the service is healthy. Recovery should restore business correctness and policy enforcement, not merely a green health check.

Make operational findings improve architecture

A release postmortem should show which design assumption was violated and how the system will detect a recurrence. If wrong-policy retrieval caused a decision error, improve source selection and provenance. If tool retries caused duplicate records, repair transaction semantics. If a reviewer received incomplete context, improve the escalation contract. Each correction belongs at the component that can reliably enforce it.

Production Claude engineering is a continuing agreement between architecture and operations. The model can generate language and request actions, but the application remains accountable for authorization, evidence, external effects and recovery. Build so that every important result can be traced, tested and revised without assuming fluent output is proof of correct behavior.