<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Samay Thakkar</title>
    <description>The latest articles on DEV Community by Samay Thakkar (@samaythakkar).</description>
    <link>https://dev.to/samaythakkar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4231786%2F5e19c24d-4f88-4391-8bea-2b0d307ff946.png</url>
      <title>DEV Community: Samay Thakkar</title>
      <link>https://dev.to/samaythakkar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samaythakkar"/>
    <language>en</language>
    <item>
      <title>Data Readiness Checklist for AI Funding</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Wed, 02 Dec 2026 15:27:16 +0000</pubDate>
      <link>https://dev.to/samaythakkar/data-readiness-checklist-for-ai-funding-3m0g</link>
      <guid>https://dev.to/samaythakkar/data-readiness-checklist-for-ai-funding-3m0g</guid>
      <description>&lt;p&gt;A data framework for AI adoption is a short checklist you run on one use case before funding it: find where its data lives, name an owner who signs off, measure quality against agreed thresholds, confirm you're allowed to use it for AI, and check retention rules. If any check fails without a fix plan, the answer is no-go.&lt;/p&gt;

&lt;p&gt;This post covers only the data side of that decision. A full &lt;a href="https://calidadinfotech.com/blog/enterprise-ai-readiness-assessment-checklist" rel="noopener noreferrer"&gt;AI readiness assessment&lt;/a&gt; also looks at tools, budget and sign-off for the use case as a whole. Ranking use cases and deciding whether to build or buy is part of &lt;a href="https://calidadinfotech.com/consulting/ai-strategy" rel="noopener noreferrer"&gt;AI strategy&lt;/a&gt;. Here we assume you already have a shortlisted use case and need to know one thing: is its data good enough to build on?&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does data decide whether an AI use case works?
&lt;/h2&gt;

&lt;p&gt;The data decides because a model can only be as accurate, current and safe as the data it reads, and data problems usually show up after the budget is spent.&lt;/p&gt;

&lt;p&gt;The evidence is consistent. Gartner predicts that through 2026, &lt;a href="https://www.gartner.com/en/newsroom/press-releases/2025-02-26-lack-of-ai-ready-data-puts-ai-projects-at-risk" rel="noopener noreferrer"&gt;organizations will abandon 60% of AI projects unsupported by AI-ready data&lt;/a&gt;. Its advice is blunt: "if the data has issues, then the data is not ready for AI." Gartner also tells data leaders to align data to specific AI use cases. That is why this checklist scores one use case at a time instead of the whole company.&lt;/p&gt;

&lt;p&gt;Data that is good enough for a monthly dashboard can still fail an AI use case. Take an assistant that answers customer questions in real time. It needs fresh records, per-user permissions and a single version of each customer. A finance report can live with a nightly load and a few duplicates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where does the data for this use case actually live?
&lt;/h2&gt;

&lt;p&gt;Answer this by listing every source the use case will read, down to the table, document store or API, and tracing how each one reaches the AI system.&lt;/p&gt;

&lt;p&gt;Work through it in this order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Write the questions or decisions&lt;/strong&gt; the AI must handle, using real examples from the people who do the work today.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Map each question to a source.&lt;/strong&gt; Record the system, format, owner team, refresh rate and whether it holds personal data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trace the lineage.&lt;/strong&gt; Follow each source from its origin to the point where the AI reads it, including exports, copies and transformations along the way.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flag duplicates and shadow copies&lt;/strong&gt;, such as spreadsheets, old exports and documents with no version history.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The most common finding is the same entity stored several times. A customer can appear in the CRM, billing and support with different addresses and emails. An assistant that retrieves all of those records will give inconsistent answers. Our &lt;a href="https://calidadinfotech.com/consulting/data-governance" rel="noopener noreferrer"&gt;data governance and MDM practice&lt;/a&gt; solves this with a golden record for customer, product and supplier data, using explicit match and survivorship rules.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pass:&lt;/strong&gt; every source is named and its lineage is traced end to end. If the use case could count as a high-risk system under the EU AI Act, this is a legal requirement as well as good practice. &lt;a href="https://www.euaiact.com/article/10" rel="noopener noreferrer"&gt;Article 10&lt;/a&gt; requires data governance practices covering data collection processes and the origin of data, and, for personal data, the original purpose of collection.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who owns each dataset, and who signs off on its use?
&lt;/h2&gt;

&lt;p&gt;Every dataset needs a named business owner and a named technical owner. The business owner, not the AI team, signs off on using it for this purpose.&lt;/p&gt;

&lt;p&gt;Our governance work starts by writing down both owners for every critical entity and dataset. Each sign-off should answer four questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is this data fit for this specific use?&lt;/li&gt;
&lt;li&gt;Which defects are already known?&lt;/li&gt;
&lt;li&gt;Who fixes the data when it breaks, and how fast?&lt;/li&gt;
&lt;li&gt;Who gets notice before a field or schema changes?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last point matters more for AI than for reporting. If an upstream team renames a field, a retrieval pipeline can quietly serve the wrong data. A data contract between producer and consumer, enforced in CI, makes the producer's build fail before that happens.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdata-readiness-checklist-before-funding-ai-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdata-readiness-checklist-before-funding-ai-diagram-1.svg" alt="Who hands what to whom before a dataset is approved for one AI use case" width="917" height="471"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Who hands what to whom before a dataset is approved for one AI use case&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pass:&lt;/strong&gt; each dataset has both owners named and a signed approval. A dataset with no owner is a blocker, because nobody will fix it after launch.&lt;/p&gt;

&lt;h2&gt;
  
  
  How clean and complete must the data be before we build?
&lt;/h2&gt;

&lt;p&gt;The data must be clean enough to meet thresholds you set for this use case before you measure it. Measure on a real sample, not on estimates.&lt;/p&gt;

&lt;p&gt;For high-risk systems, Article 10 requires training, validation and testing data to be relevant, sufficiently representative and, as far as possible, free of errors and complete for the intended purpose. That standard works for any use case. The thresholds below are examples to agree with the business owner, not industry benchmarks:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Dimension&lt;/th&gt;
&lt;th&gt;How to measure it&lt;/th&gt;
&lt;th&gt;Example threshold to agree&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Completeness&lt;/td&gt;
&lt;td&gt;Share of required fields populated in a sample&lt;/td&gt;
&lt;td&gt;Key fields filled in most records; no gaps in fields the AI must cite&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Accuracy&lt;/td&gt;
&lt;td&gt;Spot-check a sample against the source of truth&lt;/td&gt;
&lt;td&gt;Error rate the business owner accepts for this decision&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Uniqueness&lt;/td&gt;
&lt;td&gt;Duplicate rate after match rules run&lt;/td&gt;
&lt;td&gt;Duplicates low enough that answers don't conflict&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Freshness&lt;/td&gt;
&lt;td&gt;Lag between a change at source and availability to AI&lt;/td&gt;
&lt;td&gt;Matched to the use case: seconds for live features, a day for back-office&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Representativeness&lt;/td&gt;
&lt;td&gt;Coverage of regions, products and customer types the AI will serve&lt;/td&gt;
&lt;td&gt;No major segment missing from the data&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Set the numbers first and measure second. If you measure first, the threshold tends to move until the data passes.&lt;/p&gt;

&lt;p&gt;For generative AI, test quality against the questions the system will actually get. We &lt;a href="https://calidadinfotech.com/engineering/generative-ai" rel="noopener noreferrer"&gt;write an evaluation set from real user questions&lt;/a&gt; before choosing a model or a prompt. The same set shows whether the documents can answer those questions at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which permissions and privacy limits apply to AI use?
&lt;/h2&gt;

&lt;p&gt;You need a legal basis and purpose that covers the AI use. The AI must respect each user's existing access rights at query time, and everything the system stores needs a retention rule.&lt;/p&gt;

&lt;p&gt;Two GDPR principles do most of the work here. Both are in &lt;a href="https://gdpr-text.com/read/article-5/" rel="noopener noreferrer"&gt;Article 5&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Purpose limitation:&lt;/strong&gt; personal data is collected for specified, explicit purposes and shouldn't be reused for incompatible ones. Data collected to process an invoice isn't automatically cleared for training a model or feeding a sales assistant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage limitation:&lt;/strong&gt; personal data is kept no longer than necessary for those purposes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check these items for each dataset:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Original purpose vs new use.&lt;/strong&gt; Does the purpose recorded at collection cover this AI use? If not, privacy and legal must clear it or the dataset is out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Classification.&lt;/strong&gt; Mark personal, sensitive and confidential fields, and decide which ones the model may see, which must be masked and which are excluded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Third-party terms.&lt;/strong&gt; Licensed or partner data often limits how it can be reused.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access at query time.&lt;/strong&gt; Retrieval should enforce the asking user's permissions and show its sources, so nobody gets an answer from a document they couldn't open themselves.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retention of AI copies.&lt;/strong&gt; Prompts, logs, embeddings and vector indexes are copies of your data. They need the same retention and deletion rules as the source. Our guide to &lt;a href="https://calidadinfotech.com/blog/privacy-by-design-software-engineering" rel="noopener noreferrer"&gt;privacy by design in software engineering&lt;/a&gt; covers how to enforce this in the pipeline.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How do we set a go or no-go rule for the data?
&lt;/h2&gt;

&lt;p&gt;Score each check as pass, fixable or blocker. It's a go if everything passes. It's a conditional go if the only gaps can be fixed during the pilot, with a named owner and a date. It's a no-go if any blocker remains.&lt;/p&gt;

&lt;p&gt;Agree on what counts as a blocker before the review starts:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Check&lt;/th&gt;
&lt;th&gt;Pass evidence&lt;/th&gt;
&lt;th&gt;Blocker if&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Location and lineage&lt;/td&gt;
&lt;td&gt;Source map traced end to end&lt;/td&gt;
&lt;td&gt;A required source can't be accessed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ownership&lt;/td&gt;
&lt;td&gt;Both owners named, approval signed&lt;/td&gt;
&lt;td&gt;No business owner will sign&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quality&lt;/td&gt;
&lt;td&gt;Sample scores meet agreed thresholds&lt;/td&gt;
&lt;td&gt;Key fields fail with no fix path&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Permissions&lt;/td&gt;
&lt;td&gt;Purpose and access cleared in writing&lt;/td&gt;
&lt;td&gt;No right to use the data for this purpose&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Retention&lt;/td&gt;
&lt;td&gt;Rules set for source and AI copies&lt;/td&gt;
&lt;td&gt;Copies can't be deleted on request&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Typical fixable gaps include duplicates that match rules can resolve, a refresh rate that change data capture can speed up, or lineage that exists but isn't written down. Typical blockers are missing rights and missing owners, because engineering can't fix either one.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdata-readiness-checklist-before-funding-ai-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdata-readiness-checklist-before-funding-ai-diagram-2.svg" alt="Decision path from the data checks to go, conditional go or no-go" width="571" height="931"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Decision path from the data checks to go, conditional go or no-go&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Write the stop criteria into the decision too. A conditional go should name the date by which each gap is closed and say what happens if it isn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should a data readiness sprint produce?
&lt;/h2&gt;

&lt;p&gt;A short, time-boxed sprint should produce evidence a funding committee can check, not a slide deck. That means five artifacts and a decision.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Source map with lineage&lt;/strong&gt; for every input the use case reads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Owner register&lt;/strong&gt; with signed approvals for each dataset.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quality scorecard&lt;/strong&gt; comparing measured results with the thresholds agreed in advance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permissions and retention record&lt;/strong&gt; covering purpose, classification, access rules and how AI copies are deleted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Go or no-go decision&lt;/strong&gt; with any conditions, owners and dates.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Our data governance work ends with an AI data-readiness review: a record of which data models and agents may use, and why. When someone later asks what data an AI system used, you can show them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdata-readiness-checklist-before-funding-ai-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdata-readiness-checklist-before-funding-ai-diagram-3.svg" alt="One way to schedule a two-week data readiness sprint for a single use case" width="100" height="45.415705833114494"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;One way to schedule a two-week data readiness sprint for a single use case&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A go decision leads straight into a build. We start with a paid pilot: one pod, one outcome and success criteria agreed up front. The sprint's scorecard becomes part of those criteria.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;A data framework for AI adoption doesn't need to be a company-wide program. Before funding a use case, run five checks on its data: location and lineage, ownership, quality against thresholds, permissions and retention. Agree in advance on what counts as a blocker, and only fund use cases whose data passes or has a dated fix plan.&lt;/p&gt;

&lt;p&gt;If you have an AI use case waiting for funding and you're not sure its data will hold up, &lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;talk to an engineering lead →&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How is a data readiness check different from an AI readiness assessment?
&lt;/h3&gt;

&lt;p&gt;An AI readiness assessment looks at the whole use case, including tools, budget, skills and sign-off. A data readiness check goes deeper on one part: whether the data the use case needs can be found, has an owner, is good enough and may legally be used. Run the data check once a use case is shortlisted and before money is committed.&lt;/p&gt;

&lt;h3&gt;
  
  
  How long should a data readiness sprint take?
&lt;/h3&gt;

&lt;p&gt;For one use case with a handful of sources, about two weeks is usually enough to map sources, get sign-offs, measure samples and reach a decision. Many sources, unclear ownership or heavy personal data make it take longer. Keep it time-boxed so a missing owner shows up as a blocker instead of an open-ended delay.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do we need a full master data management program before starting AI?
&lt;/h3&gt;

&lt;p&gt;No. Fix the entities the use case actually depends on, often just customer or product, and leave the rest for later. Match and survivorship rules for those entities can be built during a conditional-go pilot if the business owner agrees to a date.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does the EU AI Act's data governance article apply to every AI use case?
&lt;/h3&gt;

&lt;p&gt;Article 10 sets data governance obligations for high-risk AI systems specifically. Many internal assistants and copilots won't fall into that category. Its requirements on data origin, preparation and representativeness are still a sensible standard for any use case that affects customers or decisions.&lt;/p&gt;

&lt;h3&gt;
  
  
  What if the data passes but users still get wrong answers?
&lt;/h3&gt;

&lt;p&gt;Data readiness lowers the risk but doesn't remove it. You still need an evaluation set built from real questions, runtime checks for grounding and sensitive data, and monitoring after launch. Treat the readiness scorecard as the baseline you compare production behaviour against.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/data-readiness-checklist-before-funding-ai" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aistrategy</category>
      <category>datagovernance</category>
      <category>aireadiness</category>
    </item>
    <item>
      <title>gRPC vs REST: Which API Style Fits?</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Wed, 02 Dec 2026 13:47:17 +0000</pubDate>
      <link>https://dev.to/samaythakkar/grpc-vs-rest-which-api-style-fits-olb</link>
      <guid>https://dev.to/samaythakkar/grpc-vs-rest-which-api-style-fits-olb</guid>
      <description>&lt;p&gt;gRPC and REST solve different problems. gRPC sends Protocol Buffers messages over HTTP/2. It suits high-volume calls with typed contracts between services you control, including streaming. REST uses plain HTTP, usually with JSON. It suits public, partner and browser-facing APIs, where reach and familiar tooling matter more. Many enterprise systems use both, with a gateway between them.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the real difference between gRPC and REST?
&lt;/h2&gt;

&lt;p&gt;gRPC is an RPC framework where you write the contract first. REST is an architectural style built on HTTP resources. The practical difference is who controls the clients.&lt;/p&gt;

&lt;p&gt;With gRPC, you &lt;a href="https://grpc.io/" rel="noopener noreferrer"&gt;define services and messages using Protocol Buffers&lt;/a&gt;, then generate client and server code from the &lt;code&gt;.proto&lt;/code&gt; file. gRPC is &lt;a href="https://grpc.io/about/" rel="noopener noreferrer"&gt;built on HTTP/2&lt;/a&gt;, which gives it native bi-directional streaming and custom metadata on each request.&lt;/p&gt;

&lt;p&gt;With REST, resources live at URLs and clients act on them with HTTP verbs, usually exchanging JSON. A contract is optional. When teams write one, it is usually &lt;a href="https://swagger.io/specification/" rel="noopener noreferrer"&gt;OpenAPI&lt;/a&gt;, a language-agnostic way to describe HTTP APIs so people and tools can see what a service does without reading its source code.&lt;/p&gt;

&lt;p&gt;We don't quote a speed multiple here. Binary payloads and connection reuse usually help gRPC, but the real gain depends on payload shape, language runtime and network, so measure it on your own traffic.&lt;/p&gt;

&lt;h2&gt;
  
  
  When does gRPC make sense for service-to-service calls?
&lt;/h2&gt;

&lt;p&gt;gRPC makes sense when you own both ends of the call, the call volume is high, and a shared typed contract saves more effort than the protobuf toolchain costs.&lt;/p&gt;

&lt;p&gt;Signs it fits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You control the callers.&lt;/strong&gt; Internal teams can pull generated stubs from a shared contract repository.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You have services in several languages.&lt;/strong&gt; One &lt;code&gt;.proto&lt;/code&gt; file produces clients in Go, Java, Python and others, so you don't keep hand-written JSON models in sync.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calls are frequent and chatty.&lt;/strong&gt; Smaller payloads and multiplexed connections matter most when one user action fans out into dozens of internal calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You need streaming.&lt;/strong&gt; Telemetry, progress updates on long jobs and live feeds fit streaming RPCs better than repeated polling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You want deadlines on every call.&lt;/strong&gt; gRPC has a &lt;code&gt;DEADLINE_EXCEEDED&lt;/code&gt; status. Per the &lt;a href="https://grpc.io/docs/guides/status-codes/" rel="noopener noreferrer"&gt;gRPC status code reference&lt;/a&gt;, it can be returned even when an operation that changes state actually completed. Make write operations idempotent before you retry them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When is REST still the better choice?
&lt;/h2&gt;

&lt;p&gt;REST is the better choice when you don't control the clients, or when reach and easy debugging matter more than throughput.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Partner and public APIs.&lt;/strong&gt; Any language with an HTTP client can call you. Partners don't need your protobuf toolchain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Browser apps.&lt;/strong&gt; Browsers call REST natively, and gRPC needs extra infrastructure (see below).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Webhooks and event callbacks.&lt;/strong&gt; Third parties expect a plain HTTPS endpoint.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low-volume CRUD and admin tools.&lt;/strong&gt; The performance gain is too small to justify a second toolchain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Debugging across company boundaries.&lt;/strong&gt; A readable JSON request is easier to share in a support ticket than a binary frame.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Place each interface on two axes: how much of its client base is outside your control, and how much streaming or call volume it needs. Internal service calls and telemetry streams point to gRPC. Partner APIs and public webhooks point to REST. Internal admin CRUD works either way. Browser front ends, mobile live feeds and AI agent tools sit in between. They often end up with REST or JSON at the edge and gRPC behind it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fgrpc-vs-rest-which-api-style-fits-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fgrpc-vs-rest-which-api-style-fits-diagram-1.svg" alt="Example interfaces placed by external client reach and streaming or volume need" width="100" height="100.0"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Example interfaces placed by external client reach and streaming or volume need&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How do the two compare on schemas, tooling and browser support?
&lt;/h2&gt;

&lt;p&gt;gRPC gives you stricter contracts and generated code. REST gives you broader tooling and native browser support.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Criterion&lt;/th&gt;
&lt;th&gt;gRPC&lt;/th&gt;
&lt;th&gt;REST&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Contract&lt;/td&gt;
&lt;td&gt;Required &lt;code&gt;.proto&lt;/code&gt; file&lt;/td&gt;
&lt;td&gt;Optional; usually OpenAPI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Payload&lt;/td&gt;
&lt;td&gt;Binary Protocol Buffers&lt;/td&gt;
&lt;td&gt;Usually JSON text&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Transport&lt;/td&gt;
&lt;td&gt;HTTP/2&lt;/td&gt;
&lt;td&gt;Any HTTP version&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Streaming&lt;/td&gt;
&lt;td&gt;Client, server and bi-directional&lt;/td&gt;
&lt;td&gt;Request/response; streaming needs add-ons&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Code generation&lt;/td&gt;
&lt;td&gt;Built into the workflow&lt;/td&gt;
&lt;td&gt;Available via OpenAPI generators&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Browser calls&lt;/td&gt;
&lt;td&gt;Needs gRPC-Web and a proxy&lt;/td&gt;
&lt;td&gt;Native&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Debugging&lt;/td&gt;
&lt;td&gt;Needs protobuf-aware tools&lt;/td&gt;
&lt;td&gt;curl, browser dev tools, any proxy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Learning curve&lt;/td&gt;
&lt;td&gt;Protobuf, codegen, HTTP/2 infrastructure&lt;/td&gt;
&lt;td&gt;Familiar to most engineers&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Browser support is the constraint teams most often find late. Because of browser limitations, &lt;a href="https://github.com/grpc/grpc-web/blob/master/doc/browser-features.md" rel="noopener noreferrer"&gt;gRPC-Web uses a different transport&lt;/a&gt; from HTTP/2 gRPC. Browser clients connect through a proxy, and &lt;a href="https://github.com/grpc/grpc-web" rel="noopener noreferrer"&gt;Envoy is the default&lt;/a&gt; one. That's one more component to deploy, secure and monitor.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you handle versioning, errors and observability in each?
&lt;/h2&gt;

&lt;p&gt;Both styles need explicit rules. gRPC gives you a fixed set of status codes and contracts you can check by machine. With REST, your team has to agree conventions and enforce them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Versioning.&lt;/strong&gt; In protobuf, add new fields rather than changing existing ones. Never reuse a field number, and put the major version in the package name (&lt;code&gt;payments.v1&lt;/code&gt;). In REST, version in the path or a header, and compare OpenAPI files in CI to catch removed fields or changed types. In both cases, run a breaking-change check on every pull request. AI coding assistants can rename a field in seconds, so the gate has to catch it rather than a reviewer's memory.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fgrpc-vs-rest-which-api-style-fits-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fgrpc-vs-rest-which-api-style-fits-diagram-2.svg" alt="Lifecycle of one API contract change from proposal to removal" width="398" height="706"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Lifecycle of one API contract change from proposal to removal&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Errors.&lt;/strong&gt; When a call fails, &lt;a href="https://grpc.io/docs/guides/error/" rel="noopener noreferrer"&gt;gRPC returns one of its status codes&lt;/a&gt; with an optional message. Codes such as &lt;code&gt;INVALID_ARGUMENT&lt;/code&gt;, &lt;code&gt;NOT_FOUND&lt;/code&gt; and &lt;code&gt;FAILED_PRECONDITION&lt;/code&gt; are &lt;a href="https://grpc.io/docs/guides/status-codes/" rel="noopener noreferrer"&gt;never generated by the library, only by your code&lt;/a&gt;, so teams need a shared rule for when to use each one. REST has HTTP status codes but no standard error body. Pick one error shape and use it on every endpoint.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Observability.&lt;/strong&gt; You can read REST traffic in any proxy log. gRPC payloads are binary, so you need tracing and logging that understands protobuf. Trace both styles with the same tooling and record the method, status code and deadline on every call. Our &lt;a href="https://calidadinfotech.com/engineering/observability-sre" rel="noopener noreferrer"&gt;Observability &amp;amp; SRE&lt;/a&gt; practice instruments with OpenTelemetry and sets SLOs users would recognise. That matters more than the protocol choice when something breaks at 3 a.m.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can gRPC and REST work in the same system?
&lt;/h2&gt;

&lt;p&gt;Yes. A common setup is gRPC between internal services and REST/JSON at the edge, connected by a transcoding gateway.&lt;/p&gt;

&lt;p&gt;Google's &lt;a href="https://google.aip.dev/127" rel="noopener noreferrer"&gt;AIP-127&lt;/a&gt; describes how to annotate one gRPC service so it also serves HTTP/JSON. Request bodies use protobuf's canonical JSON encoding. Bi-directional streaming RPCs should not get an HTTP mapping at all. You keep one contract, and both kinds of client can call it.&lt;/p&gt;

&lt;p&gt;In the flow below, a partner sends a JSON order to the gateway. The gateway calls the orders service over gRPC, and the orders service reserves stock from the inventory service over gRPC. The partner never sees protobuf.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fgrpc-vs-rest-which-api-style-fits-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fgrpc-vs-rest-which-api-style-fits-diagram-3.svg" alt="How one partner request crosses from REST at the edge to gRPC between services" width="941" height="471"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;How one partner request crosses from REST at the edge to gRPC between services&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The gateway needs care. Map gRPC status codes to HTTP codes consistently, enforce auth in one place, and make sure deadlines carry through to the services behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do AI agents and tool integrations change the choice?
&lt;/h2&gt;

&lt;p&gt;AI agents mostly call tools through JSON interfaces. Whatever runs behind them, the layer an agent touches is usually JSON.&lt;/p&gt;

&lt;p&gt;The Model Context Protocol (MCP) &lt;a href="https://modelcontextprotocol.io/specification/2025-03-26/basic/transports" rel="noopener noreferrer"&gt;encodes messages as JSON-RPC&lt;/a&gt; and defines two standard transports: stdio and Streamable HTTP. Over HTTP, the client sends each message as an HTTP POST. So an internal gRPC service usually reaches an agent through a thin MCP server or REST endpoint. You don't need to rewrite the service.&lt;/p&gt;

&lt;p&gt;What to get right on that layer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Narrow tools.&lt;/strong&gt; Expose specific actions like "get order status", not your whole service API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clear descriptions and schemas.&lt;/strong&gt; The model chooses tools from their descriptions, so vague names cause wrong calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Errors an agent can act on.&lt;/strong&gt; Return "order not found" with the ID, not a bare &lt;code&gt;5&lt;/code&gt; (&lt;code&gt;NOT_FOUND&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scoped permissions and an audit trail.&lt;/strong&gt; Our &lt;a href="https://calidadinfotech.com/engineering/ai-agents-automation" rel="noopener noreferrer"&gt;AI Agents &amp;amp; Automation&lt;/a&gt; work puts a person on every risky action.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To decide how agents should reach tools and each other, see &lt;a href="https://calidadinfotech.com/blog/mcp-vs-a2a-agent-protocol-guide" rel="noopener noreferrer"&gt;MCP vs A2A: which agent protocol you need&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How should a team decide and test the choice with a pilot?
&lt;/h2&gt;

&lt;p&gt;Decide interface by interface rather than once for the whole company, then test the decision on one real service with measures agreed up front.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;List your interfaces&lt;/strong&gt; and who calls each one: internal services, browsers, partners, agents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apply the routing rules&lt;/strong&gt; below. Outside callers get REST. Internal calls with streaming or high volume are gRPC candidates. Anything agents call gets a JSON tool layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pick one representative service&lt;/strong&gt; and build the candidate style using your real payloads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Measure what matters to you:&lt;/strong&gt; p95 and p99 latency, payload size, CPU per request, how long it takes to add a field end to end, and how long it takes to debug a failed call.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run the same gates as production:&lt;/strong&gt; contract lint, breaking-change checks, tests, security scans and senior review.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write the decision down&lt;/strong&gt; with the numbers, so the next team doesn't reopen it without new evidence.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fgrpc-vs-rest-which-api-style-fits-diagram-4.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fgrpc-vs-rest-which-api-style-fits-diagram-4.svg" alt="Decision path for choosing an API style for one new interface" width="1044" height="1436"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Decision path for choosing an API style for one new interface&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is how we run it at Calidad. Our &lt;a href="https://calidadinfotech.com/engineering/apis-integrations" rel="noopener noreferrer"&gt;APIs &amp;amp; Integrations&lt;/a&gt; practice designs APIs that people and AI agents can call, and connects partners, SaaS tools and legacy systems. Engagements start with a paid pilot: one pod, one outcome and success criteria agreed up front. Every change goes through tests, security checks and senior engineer review, whether a person or an AI wrote it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Choosing between gRPC and REST means deciding who your callers are. Use gRPC where you control both ends and need typed contracts, streaming or high call volume. Use REST where partners, browsers and third parties need to reach you with ordinary tools. Use a gateway, and a JSON tool layer for agents, so both can run in one system. Then prove the choice on one service before you standardise.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choosing an API style for new services or partner integrations?&lt;/strong&gt; &lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;Talk to an engineering lead →&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is gRPC faster than REST?
&lt;/h3&gt;

&lt;p&gt;Often, but by how much depends on your workload. Binary Protocol Buffers payloads and HTTP/2 connection reuse usually help gRPC, especially for chatty internal calls. Payload shape, language runtime and network conditions change the result, so benchmark a representative service with your own data before you migrate anything.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can a browser call a gRPC service directly?
&lt;/h3&gt;

&lt;p&gt;Not with standard gRPC. Because of browser limitations, browsers use gRPC-Web, a different transport that goes through a proxy such as Envoy. The other option is to expose the service as REST/JSON through a transcoding gateway, so browsers call ordinary HTTP endpoints.&lt;/p&gt;

&lt;h3&gt;
  
  
  Should we move our existing REST services to gRPC?
&lt;/h3&gt;

&lt;p&gt;Only where you can measure the problem, such as latency on high-volume internal calls or contract drift between services in different languages. Partner-facing and browser-facing REST APIs usually stay as they are. A gateway lets you move internal hops to gRPC without breaking outside callers.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do MCP tools relate to gRPC services?
&lt;/h3&gt;

&lt;p&gt;MCP encodes messages as JSON-RPC over stdio or Streamable HTTP, so agents don't speak gRPC to your services directly. The usual pattern is a thin MCP server that wraps a few narrow actions from an internal gRPC service. Add scoped permissions and an audit trail.&lt;/p&gt;

&lt;h3&gt;
  
  
  Should a public API ever use gRPC?
&lt;/h3&gt;

&lt;p&gt;It can when your consumers are engineering teams willing to adopt the protobuf toolchain, as with some infrastructure and data APIs. Even then, many providers offer REST/JSON alongside it through transcoding, so smaller partners can still integrate with a plain HTTP client.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/grpc-vs-rest-which-api-style-fits" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>grpc</category>
      <category>rest</category>
      <category>api</category>
      <category>architecture</category>
    </item>
    <item>
      <title>AI Coding Agents for Enterprise Teams</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Wed, 02 Dec 2026 01:37:17 +0000</pubDate>
      <link>https://dev.to/samaythakkar/ai-coding-agents-for-enterprise-teams-180j</link>
      <guid>https://dev.to/samaythakkar/ai-coding-agents-for-enterprise-teams-180j</guid>
      <description>&lt;p&gt;The best AI coding agent for an enterprise team is the one whose changes pass your tests, add the fewest new security findings, take the least senior review time and leave an audit trail you can show. You find it by measuring agents on your own codebase in a paid pilot. Demos and public benchmarks can't tell you this.&lt;/p&gt;

&lt;p&gt;Demo speed is easy to judge and tells you very little. The useful question is what happens after the agent opens a pull request. This scorecard comes from how our pods work. Every change, whether a person or an AI wrote it, has to be tested, secured and reviewed before it ships.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should an enterprise team look for in an AI coding agent?
&lt;/h2&gt;

&lt;p&gt;Look at what an agent's changes cost you once they're in your pipeline, not at how fast it writes code.&lt;/p&gt;

&lt;p&gt;Adoption is not the problem. In the &lt;a href="https://stackoverflow.co/company/press/archive/stack-overflow-2025-developer-survey/" rel="noopener noreferrer"&gt;Stack Overflow 2025 Developer Survey&lt;/a&gt;, 84% of developers said they use or plan to use AI tools. But 46% said they don't trust the accuracy of the output, up from 31% the year before. The same survey found that 45% are frustrated by how long it takes to debug AI-generated code. Your scorecard should measure that trust gap directly.&lt;/p&gt;

&lt;p&gt;Score each agent on five things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Output quality:&lt;/strong&gt; do its changes pass your tests and stay merged?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security:&lt;/strong&gt; how many new findings does each change bring in?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review load:&lt;/strong&gt; how many senior-engineer minutes does each change take?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Release evidence:&lt;/strong&gt; can you trace every change from ticket to production?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fit and controls:&lt;/strong&gt; where your code goes, how long the vendor keeps it, and whether access works with your identity and audit setup. Check these in the vendor's contract terms, not in the marketing copy.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How do you compare agents on the quality of their output, not just speed?
&lt;/h2&gt;

&lt;p&gt;Compare the share of an agent's changes that pass CI and stay merged without a major rewrite, not how fast it produces a diff.&lt;/p&gt;

&lt;p&gt;Start by labelling agent-written pull requests by agent, using a PR label or commit trailer. Then collect the same numbers for each one:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Criterion&lt;/th&gt;
&lt;th&gt;What to measure&lt;/th&gt;
&lt;th&gt;Red flag&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;First-run CI pass rate&lt;/td&gt;
&lt;td&gt;% of agent PRs green on the first pipeline run&lt;/td&gt;
&lt;td&gt;Many PRs need several fix-up commits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Merge-without-rewrite rate&lt;/td&gt;
&lt;td&gt;% merged with only minor reviewer edits&lt;/td&gt;
&lt;td&gt;Reviewers rewrite core logic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Revert and hotfix rate&lt;/td&gt;
&lt;td&gt;Agent changes reverted or patched within 30 days&lt;/td&gt;
&lt;td&gt;Higher than your human baseline&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;New security findings&lt;/td&gt;
&lt;td&gt;SAST, secrets and dependency findings per PR&lt;/td&gt;
&lt;td&gt;Findings that recur after fixes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review minutes per PR&lt;/td&gt;
&lt;td&gt;Reviewer time and number of review rounds&lt;/td&gt;
&lt;td&gt;Large diffs no one can review properly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Test quality&lt;/td&gt;
&lt;td&gt;Do generated tests fail when the logic breaks?&lt;/td&gt;
&lt;td&gt;Coverage rises but assertions are weak&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Evidence completeness&lt;/td&gt;
&lt;td&gt;Ticket, tests, scans and approver linked per change&lt;/td&gt;
&lt;td&gt;Gaps an auditor would find&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Read the numbers in pairs. If an agent ships more PRs while its revert rate climbs, it is moving work downstream, not saving any. Our post on &lt;a href="https://calidadinfotech.com/blog/dora-metrics-when-ai-writes-code" rel="noopener noreferrer"&gt;DORA metrics when AI writes your code&lt;/a&gt; explains why throughput and stability have to be read together.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which tests and security checks should every agent's changes pass?
&lt;/h2&gt;

&lt;p&gt;Every agent's changes should go through the same gates as human code: automated tests, secrets scanning, static analysis on the diff, dependency checks and a required senior review.&lt;/p&gt;

&lt;p&gt;Security is not a theoretical worry. &lt;a href="https://www.veracode.com/resources/analyst-reports/2025-genai-code-security-report/" rel="noopener noreferrer"&gt;Veracode's 2025 GenAI Code Security Report&lt;/a&gt; tested code from more than 100 large language models and found that AI-generated code introduced risky security flaws in 45% of tests. That was a lab result, not your codebase, which is exactly why you should measure your own.&lt;/p&gt;

&lt;p&gt;The minimum gate set for any agent in the pilot:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Unit and integration tests&lt;/strong&gt; that run on every PR, plus a check that the agent didn't weaken or delete existing tests to get a green build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secrets scanning&lt;/strong&gt; before merge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Static analysis scoped to the diff&lt;/strong&gt;, so findings belong to the change that introduced them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dependency checks&lt;/strong&gt; on any package the agent adds or upgrades.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Required code owner review&lt;/strong&gt; for sensitive paths.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We won't repeat the full setup and block rules here. They're in our guide to &lt;a href="https://calidadinfotech.com/blog/security-gates-cicd-ai-written-code" rel="noopener noreferrer"&gt;CI/CD security gates for AI-written code&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fbest-ai-coding-agents-enterprise-teams-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fbest-ai-coding-agents-enterprise-teams-diagram-1.svg" alt="How one agent-written pull request moves through tests, scans and review before its evidence is stored" width="1126" height="551"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;How one agent-written pull request moves through tests, scans and review before its evidence is stored&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How much review load does each agent add, and who carries it?
&lt;/h2&gt;

&lt;p&gt;Review load usually falls on your most senior engineers, so measure reviewer minutes per merged change and treat them as part of the agent's cost.&lt;/p&gt;

&lt;p&gt;An agent that writes a 1,500-line diff in two minutes can easily cost a staff engineer an hour. Track these three numbers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Diff size per PR.&lt;/strong&gt; Smaller, scoped changes are cheaper to review. Score agents on whether they keep changes small when you ask them to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review rounds.&lt;/strong&gt; Each round of "please fix this" is time someone with domain knowledge isn't spending on design.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviewer concentration.&lt;/strong&gt; If two people review 80% of agent PRs, they become the bottleneck, however fast the agent is.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Agree on who reviews what before the pilot starts. Low-risk paths such as tests and internal tools can go to any engineer. Payment, auth and data-handling code needs a code owner. This is how our &lt;a href="https://calidadinfotech.com/services/quality-engineering" rel="noopener noreferrer"&gt;Quality Engineering&lt;/a&gt; work is set up: AI-generated tests get reviewed, review gates apply to every change, and a senior engineer stays accountable for what ships.&lt;/p&gt;

&lt;h2&gt;
  
  
  What release evidence should an agent produce for an audit?
&lt;/h2&gt;

&lt;p&gt;For every change, you should be able to show which agent produced it, what it was asked to do, which tests and scans it passed, who approved it and which build reached production.&lt;/p&gt;

&lt;p&gt;Most of this comes from your pipeline, not from the agent. What matters is whether the agent fits into that pipeline cleanly. Use recognised frameworks as the checklist:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://csrc.nist.gov/projects/ssdf" rel="noopener noreferrer"&gt;NIST SP 800-218, the Secure Software Development Framework&lt;/a&gt;, sets out secure development practices you can map your gates to. NIST has also finalised SP 800-218A, a community profile that adds practices specific to generative AI.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://slsa.dev/spec/v1.0/provenance" rel="noopener noreferrer"&gt;SLSA provenance&lt;/a&gt; is an attestation that a particular build platform produced a given artifact. It ties the code that was reviewed to the binary you shipped.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In practice, a complete evidence record for one agent-written change includes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The ticket or task ID, and the agent and version used&lt;/li&gt;
&lt;li&gt;The PR, with its review comments and approver&lt;/li&gt;
&lt;li&gt;Test results and security scan results for that commit&lt;/li&gt;
&lt;li&gt;Build provenance for the released artifact&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If an agent works in a way that breaks this chain, for example by committing directly or rewriting history, mark it down however good its code is.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you run a paid pilot to compare two agents on your own codebase?
&lt;/h2&gt;

&lt;p&gt;Run both agents on matched tasks from your real backlog for a few weeks, through the same gates, and decide based on the scorecard numbers rather than how the team feels.&lt;/p&gt;

&lt;p&gt;Feelings are an unreliable guide. In a &lt;a href="https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/" rel="noopener noreferrer"&gt;METR randomised controlled trial&lt;/a&gt;, experienced open-source developers took 19% longer to finish issues when they could use AI tools. They had expected a 24% speed-up, and afterwards still believed AI had made them 20% faster. That's one study of early-2025 tools, but the gap between perception and measurement is the lesson.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fbest-ai-coding-agents-enterprise-teams-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fbest-ai-coding-agents-enterprise-teams-diagram-2.svg" alt="METR trial results: expected and perceived speed-up versus measured change in task time" width="100" height="71.42857142857143"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;METR trial results: expected and perceived speed-up versus measured change in task time&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A workable pilot structure:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pick 20–40 real tasks&lt;/strong&gt; that mix bug fixes, small features, test backfill and one refactor. Split them into two matched sets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Record a baseline.&lt;/strong&gt; Use the scorecard metrics from recent human-written PRs in the same repos.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run both agents&lt;/strong&gt; through identical CI gates and review rules, and label every PR.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Score and decide&lt;/strong&gt; against success criteria you wrote down before the pilot started, including a stop rule.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fbest-ai-coding-agents-enterprise-teams-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fbest-ai-coding-agents-enterprise-teams-diagram-3.svg" alt="Phases of a four-week paid pilot comparing two coding agents on matched tasks" width="100" height="57.8539609669441"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Phases of a four-week paid pilot comparing two coding agents on matched tasks&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Our engagements start the same way: a paid pilot with one pod, one outcome and success criteria agreed up front. Our &lt;a href="https://calidadinfotech.com/services/product-engineering-pods" rel="noopener noreferrer"&gt;Product Engineering Pods&lt;/a&gt; work inside your repos, so an agent comparison can run on live roadmap work instead of a sandbox.&lt;/p&gt;

&lt;h2&gt;
  
  
  When is one agent enough, and when do you need several?
&lt;/h2&gt;

&lt;p&gt;One agent is enough when most of your work is similar in size and specification. Several make sense when distinct task types score very differently on your scorecard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report" rel="noopener noreferrer"&gt;Google's 2025 DORA report&lt;/a&gt; found that AI doesn't fix a team. It amplifies what's already there. Adding agents to a weak pipeline amplifies the weaknesses, so get your gates right before you add a second tool.&lt;/p&gt;

&lt;p&gt;Plot your task types on two axes: how well specified the task is, and how large the change is. Small, well-specified work suits almost any agent. Large but well-specified work, such as dependency upgrades or test backfill, may suit a background agent that opens PRs on its own. Large, loosely specified work, such as cross-service refactors or new feature design, should stay engineer-led, with the agent assisting.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fbest-ai-coding-agents-enterprise-teams-diagram-4.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fbest-ai-coding-agents-enterprise-teams-diagram-4.svg" alt="Example task types placed by change size and how well specified they are, showing where an agent fits" width="100" height="100.0"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Example task types placed by change size and how well specified they are, showing where an agent fits&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If your tasks cluster in one quadrant, standardise on one agent. If the pilot shows a clear winner in two different quadrants, run two agents, but every extra agent means another set of terms to review, another label to track and the same gates for all of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Choosing an AI coding agent is a measurement problem. Shortlist on controls and contract terms. Then run a paid pilot on your own backlog that scores CI pass rate, security findings, review minutes and evidence completeness against a human baseline. Pick the agent whose changes your senior engineers can approve fastest and your auditors can trace end to end.&lt;/p&gt;

&lt;p&gt;Want to run that comparison on live work with engineers who gate every release? &lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;Talk to an engineering lead →&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Are public coding benchmarks useful for shortlisting agents?
&lt;/h3&gt;

&lt;p&gt;They're useful for rough shortlisting, because they show whether an agent can handle common tasks at all. They don't reflect your codebase, your conventions, your test suite or your review culture. Use them to narrow the list to two or three candidates, then decide with a pilot on your own repositories.&lt;/p&gt;

&lt;h3&gt;
  
  
  Should we label AI-written commits and pull requests?
&lt;/h3&gt;

&lt;p&gt;Yes. Without a label or commit trailer that records which agent produced a change, you can't measure revert rates, security findings or review time per agent. Labels also give auditors a clear answer when they ask which code came from AI.&lt;/p&gt;

&lt;h3&gt;
  
  
  How long should a pilot comparing two agents run?
&lt;/h3&gt;

&lt;p&gt;Long enough to merge a meaningful number of changes through your normal gates and to see some reverts or follow-up fixes. Three to four weeks on 20–40 matched tasks is a practical starting point. Agree the success criteria and a stop rule before the first task starts.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do agent-written changes need different gates from human-written ones?
&lt;/h3&gt;

&lt;p&gt;The gates should be the same: tests, security scans and required review. You might add checks that matter more for agents, such as flagging deleted or weakened tests and capping diff size, because agents can produce large changes quickly. Keeping one standard for all code also keeps your release evidence consistent.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can Calidad help us run an agent comparison?
&lt;/h3&gt;

&lt;p&gt;Our engagements start with a paid pilot: one pod, one outcome and success criteria agreed up front. Our engineers use AI coding and test tools inside your repositories, and every change goes through tests, security checks and senior review. That setup gives you the scorecard data from real roadmap work. Talk to an engineering lead to scope it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/best-ai-coding-agents-enterprise-teams" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aicodingagents</category>
      <category>enterpriseengineering</category>
      <category>softwarequality</category>
      <category>devsecops</category>
    </item>
    <item>
      <title>Cloud Audit Checklist for Engineers</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Wed, 02 Dec 2026 01:37:16 +0000</pubDate>
      <link>https://dev.to/samaythakkar/cloud-audit-checklist-for-engineers-3eg6</link>
      <guid>https://dev.to/samaythakkar/cloud-audit-checklist-for-engineers-3eg6</guid>
      <description>&lt;p&gt;A cloud audit checklist for engineering teams covers five control areas: access, change control, backups, logging and vulnerability management. Each control needs a named owner and dated evidence, such as access reviews, approved pull requests, restore tests, retained logs and patch records. Together they must show the control worked for the whole audit period, not just on audit day.&lt;/p&gt;

&lt;h2&gt;
  
  
  What do auditors ask engineering teams for?
&lt;/h2&gt;

&lt;p&gt;Auditors ask for proof that each control was designed properly and that it actually ran throughout the period they are reviewing.&lt;/p&gt;

&lt;p&gt;Most auditors work the same way. They ask for a full list of events (every production change, every new user account, every critical vulnerability). Then they pick a sample and ask you to show the evidence for each item. If one sample has no approval or test record, that counts as an exception in the report.&lt;/p&gt;

&lt;p&gt;The length of that period matters. A SOC 2 Type 2 report &lt;a href="https://secureframe.com/blog/soc-2-type-ii" rel="noopener noreferrer"&gt;assesses the design and operating effectiveness of controls over a period of time, typically 3–12 months&lt;/a&gt;. Evidence you put together the week before fieldwork won't cover it. ISO/IEC 27001:2022 groups its &lt;a href="https://sddsg.de/en/blog/iso-27001-anhang-a" rel="noopener noreferrer"&gt;93 Annex A controls into four themes: organisational, people, physical and technological&lt;/a&gt;. Most of the technological theme lands on engineering.&lt;/p&gt;

&lt;p&gt;This is the checklist most engineering teams end up owning:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Control area&lt;/th&gt;
&lt;th&gt;Typical owner&lt;/th&gt;
&lt;th&gt;Artifacts auditors sample&lt;/th&gt;
&lt;th&gt;Where the evidence comes from&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Access&lt;/td&gt;
&lt;td&gt;Platform / IT lead&lt;/td&gt;
&lt;td&gt;Joiner-mover-leaver tickets, quarterly access reviews, MFA settings&lt;/td&gt;
&lt;td&gt;Identity provider, cloud IAM exports&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Change control&lt;/td&gt;
&lt;td&gt;Engineering managers&lt;/td&gt;
&lt;td&gt;Pull requests with approvals, linked tickets, deploy records&lt;/td&gt;
&lt;td&gt;Git host, CI/CD logs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Release testing&lt;/td&gt;
&lt;td&gt;Quality / tech lead&lt;/td&gt;
&lt;td&gt;Test and scan results per release, review sign-off&lt;/td&gt;
&lt;td&gt;CI pipeline, evidence store&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logging&lt;/td&gt;
&lt;td&gt;SRE / platform&lt;/td&gt;
&lt;td&gt;Log retention settings, alert rules, sample log pulls&lt;/td&gt;
&lt;td&gt;Central log platform&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backups&lt;/td&gt;
&lt;td&gt;SRE / DBA&lt;/td&gt;
&lt;td&gt;Backup policies, restore test records&lt;/td&gt;
&lt;td&gt;Cloud backup service, runbooks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vulnerabilities&lt;/td&gt;
&lt;td&gt;Security lead&lt;/td&gt;
&lt;td&gt;Findings register, fix dates, approved exceptions&lt;/td&gt;
&lt;td&gt;Scanners, ticketing system&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Which access and change-control records should exist?
&lt;/h2&gt;

&lt;p&gt;You need records showing who was given access, who approved it, when it was taken away, and that no production change went in without someone other than the author approving it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Access records:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A ticket or HR trigger for each new starter, role change and leaver, with the date access was granted or removed.&lt;/li&gt;
&lt;li&gt;Quarterly access reviews for cloud accounts, production databases and CI/CD admin roles, signed off by the system owner.&lt;/li&gt;
&lt;li&gt;MFA enforcement settings exported from the identity provider. A screenshot alone is weak evidence.&lt;/li&gt;
&lt;li&gt;A list of service accounts and API keys, each with an owner and a rotation date.&lt;/li&gt;
&lt;li&gt;Break-glass account usage logs, each with a reason and a follow-up review.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Change-control records:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Branch protection settings on production repos. Direct pushes are blocked and at least one approver must be someone other than the author.&lt;/li&gt;
&lt;li&gt;For each change, a pull request linked to a ticket, a passing CI run and a deployment record.&lt;/li&gt;
&lt;li&gt;A written emergency-change procedure, plus approvals given after the fact for every emergency change.&lt;/li&gt;
&lt;li&gt;Infrastructure changes handled the same way. Terraform or Kubernetes changes go through pull requests, not console clicks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In SOC 2, these controls &lt;a href="https://soc2auditors.org/insights/soc-2-change-management-controls/" rel="noopener noreferrer"&gt;map to CC8.1 of the AICPA Trust Services Criteria&lt;/a&gt;. A current AICPA draft would renumber them (&lt;a href="https://soc2auditors.org/insights/soc-2-trust-services-criteria/" rel="noopener noreferrer"&gt;change management goes from CC8.1 to three CC7 criteria&lt;/a&gt;), so check which version your auditor will test against. The evidence you need doesn't change with the numbering.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we prove every release was tested and reviewed?
&lt;/h2&gt;

&lt;p&gt;Link every production deployment to a commit, the approval on that commit, and the tests and security checks it passed. Then store that record somewhere it won't be deleted when the CI tool's retention window expires.&lt;/p&gt;

&lt;p&gt;The common failure is that teams &lt;em&gt;do&lt;/em&gt; test and review, but can't prove it for a change made seven months ago. Many CI systems delete old run logs on a schedule, and pull request threads get squashed or lost when repos are migrated. The fix is to write a short evidence record when each deployment happens.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcloud-audit-checklist-engineering-teams-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcloud-audit-checklist-engineering-teams-diagram-1.svg" alt="How one change produces audit evidence from pull request to production" width="1349" height="471"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;How one change produces audit evidence from pull request to production&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Each record should include the commit SHA, the pull request ID, the approver, test and scan results, the artifact digest and a deployment timestamp. Signed build provenance makes this stronger. Under the SLSA framework, Level 2 means &lt;a href="https://owasp.github.io/DevSecOpsGuideline/2-Process/2-3-Build/2-3-6-Supply-Chain-Security/2-3-6-2-Artifact-Signing-and-Provenance/" rel="noopener noreferrer"&gt;provenance is signed and generated by a hosted build platform&lt;/a&gt;. That lets you prove the artifact running in production is the one that passed the gates.&lt;/p&gt;

&lt;p&gt;AI-written code needs the same rule. At Calidad, &lt;a href="https://calidadinfotech.com/engineering" rel="noopener noreferrer"&gt;every release passes three gates&lt;/a&gt;: tests, security checks and a senior engineer's review, whether a person or an AI wrote the change. An auditor doesn't care who typed the code. They care that the gates ran on every change. Our &lt;a href="https://calidadinfotech.com/services/quality-engineering" rel="noopener noreferrer"&gt;Quality Engineering&lt;/a&gt; work builds those gates and the release evidence that comes out of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  What logging and backup evidence is enough?
&lt;/h2&gt;

&lt;p&gt;Logging is enough when you can retrieve security events from any date in the audit period. Backups are enough when you have dated restore tests showing data actually came back.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Logging checklist:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Logs from the cloud control plane, identity provider, Kubernetes audit log and application auth events all go to one central platform.&lt;/li&gt;
&lt;li&gt;Logs are protected from editing or deletion, for example with object lock or a separate log account.&lt;/li&gt;
&lt;li&gt;Server clocks are synchronised, so timestamps line up across systems.&lt;/li&gt;
&lt;li&gt;Alert rules exist for high-risk events (root logins, IAM policy changes, disabled logging), and each alert has an owner.&lt;/li&gt;
&lt;li&gt;Retention settings match your written policy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you don't have a framework-specific number, PCI DSS is a useful reference. Requirement 10.5.1 says to &lt;a href="https://compliance.manzill.com/pci-dss-v4-0/10.5.1/requirement-10-log-and-monitor-all-access-to-system-components-and-cardholder/audit-log-history-is-retained-and-available-for-analysis/" rel="noopener noreferrer"&gt;retain audit log history for at least 12 months, with at least the most recent three months immediately available&lt;/a&gt;. Test this before the auditor does: pull a log from three months ago today, and one from eleven months ago.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Backup checklist:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Backup policies exported as configuration, showing frequency, encryption and copies stored in a separate account or region.&lt;/li&gt;
&lt;li&gt;Recovery time and recovery point targets written down for each critical system.&lt;/li&gt;
&lt;li&gt;Restore tests on a fixed schedule. Each record shows the date, the system, who ran it, how long it took and whether data integrity was checked.&lt;/li&gt;
&lt;li&gt;Failed restore tests followed up with tickets, not quietly re-run.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The restore record matters most. A backup job that reports "success" doesn't prove the data can be restored.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we track vulnerabilities and exceptions?
&lt;/h2&gt;

&lt;p&gt;Keep one register where every finding has a severity, an owner and a fix deadline. Any finding you don't fix needs a written exception with an expiry date.&lt;/p&gt;

&lt;p&gt;Scanner dashboards aren't a register. Pull findings from dependency scanning, container image scanning, SAST, infrastructure-as-code scanning and penetration tests into one ticketing system. Then define fix deadlines by severity in your policy (for example, a shorter deadline for critical than high), and measure each finding against them.&lt;/p&gt;

&lt;p&gt;Prioritise anything that is actually being exploited. CISA's &lt;a href="https://www.cisa.gov/news-events/directives/bod-22-01-reducing-significant-risk-known-exploited-vulnerabilities-revoked" rel="noopener noreferrer"&gt;Known Exploited Vulnerabilities catalog&lt;/a&gt; was set up under a federal directive that CISA now lists as revoked. It is still a practical way to decide what to fix first.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcloud-audit-checklist-engineering-teams-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcloud-audit-checklist-engineering-teams-diagram-2.svg" alt="Lifecycle of one vulnerability finding, including the exception path" width="392" height="510"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Lifecycle of one vulnerability finding, including the exception path&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Exceptions are where auditors look hardest. Each one needs the business reason, any compensating control, who accepted the risk, and an expiry date that sends it back for review. A finding is only closed when a rescan comes back clean.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which controls can the pipeline produce automatically?
&lt;/h2&gt;

&lt;p&gt;The pipeline can produce most change, testing and vulnerability evidence automatically. Access reviews, risk acceptance and restore sign-offs still need a person to make and record a decision.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the pipeline can generate:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Branch protection and required-reviewer settings, exported on a schedule&lt;/li&gt;
&lt;li&gt;Pull request approvals, with the approver checked against the author&lt;/li&gt;
&lt;li&gt;Test results and coverage reports for each build&lt;/li&gt;
&lt;li&gt;Secrets scanning, SAST and dependency scan results for each pull request&lt;/li&gt;
&lt;li&gt;Infrastructure-as-code policy checks on each plan&lt;/li&gt;
&lt;li&gt;SBOMs and signed provenance for each artifact&lt;/li&gt;
&lt;li&gt;Deployment records written to the evidence store&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What still needs people:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Quarterly access reviews and the decision to remove access&lt;/li&gt;
&lt;li&gt;Risk acceptance for vulnerability exceptions&lt;/li&gt;
&lt;li&gt;Restore test sign-off against recovery targets&lt;/li&gt;
&lt;li&gt;Approving the policy documents themselves&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our post on &lt;a href="https://calidadinfotech.com/blog/security-gates-cicd-ai-written-code" rel="noopener noreferrer"&gt;CI/CD security gates for AI-written code&lt;/a&gt; explains how to set up and enforce these checks. Calidad's &lt;a href="https://calidadinfotech.com/consulting/security-devsecops" rel="noopener noreferrer"&gt;Security &amp;amp; DevSecOps&lt;/a&gt; practice finds the gaps, ranks them by risk and builds the checks into your pipeline. If you're moving to the cloud before an audit, our &lt;a href="https://calidadinfotech.com/consulting/cloud-migrations" rel="noopener noreferrer"&gt;Cloud Migrations&lt;/a&gt; work builds in quality, security and delivery assurance from the start, so the new environment produces evidence from day one.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we run a readiness review before the audit?
&lt;/h2&gt;

&lt;p&gt;Before the auditor arrives, test yourself the way they will: list every event, pick samples, and check that each sample has complete evidence.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Map controls to owners.&lt;/strong&gt; Give each control in the checklist table one named owner and one place where its evidence lives.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export the full lists.&lt;/strong&gt; Pull every production change, access change and critical finding for the period so far.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sample and test.&lt;/strong&gt; Pick a random sample from each list (for example, 25 changes) and check the evidence for each one, end to end.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix the gaps.&lt;/strong&gt; Fix the process behind each gap first, then document the gap honestly. Don't backfill approvals after the fact.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Re-test&lt;/strong&gt; the controls that failed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Freeze an evidence index&lt;/strong&gt; that lists each control, its owner, the artifact location and the export date.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcloud-audit-checklist-engineering-teams-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcloud-audit-checklist-engineering-teams-diagram-3.svg" alt="A six-week readiness review before the audit window opens" width="100" height="46.894695378151255"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;A six-week readiness review before the audit window opens&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Do the review early enough to fix what it finds. A gap you find in week one can usually be fixed before the period you're being audited on. One the auditor finds goes in the report.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Audit readiness comes down to whether your evidence is complete. If every change, access grant, backup and finding leaves a dated record while the work happens, audit week is mostly exporting and indexing. Start with the pipeline, because it can generate most of that evidence automatically. Then assign owners for the checks that need a person's judgement.&lt;/p&gt;

&lt;p&gt;If you want help building the gates and the evidence trail, Calidad starts with a paid pilot: one pod, one outcome and success criteria agreed up front. &lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;Talk to an engineering lead →&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How long before an audit should engineering start preparing?
&lt;/h3&gt;

&lt;p&gt;Start before the audit period begins, not before fieldwork. For reports that cover a period of time, such as SOC 2 Type 2, the controls have to be running and producing evidence for the whole window. A readiness review a few weeks before the period starts leaves time to fix gaps.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do AI-generated code changes need different audit evidence?
&lt;/h3&gt;

&lt;p&gt;The control is the same: every change is tested, scanned and approved by someone other than the author before release. What changes is volume, because AI produces more pull requests. That makes automated gates and evidence records written at deployment time more important. Some teams also record which changes were AI-assisted for their own review.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can screenshots count as audit evidence?
&lt;/h3&gt;

&lt;p&gt;Sometimes, but they are weak evidence. They show one moment, and it's hard to prove when they were taken. Exported configuration, system-generated logs and records written by the pipeline are stronger, because they carry timestamps and can be generated again on request.&lt;/p&gt;

&lt;h3&gt;
  
  
  What if we find a control failure during the readiness review?
&lt;/h3&gt;

&lt;p&gt;Fix the process first, then document what happened and when it was fixed. Don't backfill approvals or records after the fact, because auditors check timestamps. A gap that was fixed and documented is easier to explain than one the auditor finds first.&lt;/p&gt;

&lt;h3&gt;
  
  
  Who should own the evidence index?
&lt;/h3&gt;

&lt;p&gt;Usually one person in engineering, often a platform or security lead, keeps the index. Each control keeps its own owner. That person makes sure each artifact is current, findable and exported on schedule. The control owners stay responsible for the control actually running.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/cloud-audit-checklist-engineering-teams" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cloudaudit</category>
      <category>auditreadiness</category>
      <category>soc2</category>
      <category>compliance</category>
    </item>
    <item>
      <title>Running LLMs on Kubernetes: A Guide</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Tue, 01 Dec 2026 19:47:18 +0000</pubDate>
      <link>https://dev.to/samaythakkar/running-llms-on-kubernetes-a-guide-4h04</link>
      <guid>https://dev.to/samaythakkar/running-llms-on-kubernetes-a-guide-4h04</guid>
      <description>&lt;p&gt;Running LLMs on Kubernetes means running a model server as a GPU workload and then adding what a normal web service doesn't need: GPU-aware scheduling, autoscaling on queue depth instead of CPU, staged rollouts checked against an evaluation set, and per-request latency and token-cost metrics. Self-host only when data rules, steady high volume or the need to control the model outweigh the extra on-call work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why are platform teams being asked to run LLMs on Kubernetes?
&lt;/h2&gt;

&lt;p&gt;Most companies already run production on Kubernetes, and model inference is moving there too.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.cncf.io/announcements/2026/01/20/kubernetes-established-as-the-de-facto-operating-system-for-ai-as-production-use-hits-82-in-2025-cncf-annual-cloud-native-survey/" rel="noopener noreferrer"&gt;CNCF's 2025 Annual Cloud Native Survey&lt;/a&gt; found that 82% of container users run Kubernetes in production. It also found that 66% of organizations that host generative AI models use Kubernetes for some or all of their inference. The &lt;a href="https://www.cncf.io/blog/2026/08/28/your-kubernetes-platform-is-ready-for-containers-is-it-ready-for-ai/" rel="noopener noreferrer"&gt;CNCF also points out&lt;/a&gt; that only 7% of organizations deploy AI models daily. So hosting a model is common, but running it as a routine service is not.&lt;/p&gt;

&lt;p&gt;The request usually reaches the platform team for one of these reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Data rules.&lt;/strong&gt; Prompts carry customer or regulated data that can't go to a third-party API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost at volume.&lt;/strong&gt; The token bill for one high-traffic feature has grown large enough that finance wants a comparison.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model control.&lt;/strong&gt; A team needs an open-weight or fine-tuned model, a fixed version, or predictable latency.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When should we self-host a model instead of calling a managed API?
&lt;/h2&gt;

&lt;p&gt;Self-host when a hard requirement outweighs the cost of owning GPUs and on-call. That requirement is usually where the data may go, steady high volume, or a model you must control. Otherwise, use a managed API.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Factor&lt;/th&gt;
&lt;th&gt;Managed API&lt;/th&gt;
&lt;th&gt;Self-hosted on Kubernetes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Data handling&lt;/td&gt;
&lt;td&gt;Provider's terms and regions&lt;/td&gt;
&lt;td&gt;Stays inside your cluster and network&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost shape&lt;/td&gt;
&lt;td&gt;Per token, rises with usage&lt;/td&gt;
&lt;td&gt;GPU hours, paid whether busy or idle&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model choice&lt;/td&gt;
&lt;td&gt;Provider's catalogue&lt;/td&gt;
&lt;td&gt;Open-weight, fine-tuned, pinned versions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operational load&lt;/td&gt;
&lt;td&gt;Provider runs it&lt;/td&gt;
&lt;td&gt;You own drivers, scaling, upgrades, on-call&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Decide in this order. First, check whether an open model you could host passes the same evaluation set as the API model. If it doesn't, the rest of the comparison doesn't matter. We explain how to build that set in &lt;a href="https://calidadinfotech.com/blog/best-llm-enterprise-applications" rel="noopener noreferrer"&gt;choosing the best LLM for enterprise applications&lt;/a&gt;. Next, work out your break-even point: GPU cost per hour divided by the tokens per hour you actually serve at realistic utilization. Compare that with the API's price per token. Idle GPUs are the usual reason self-hosting turns out to cost more than expected.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Frunning-llms-on-kubernetes-platform-guide-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Frunning-llms-on-kubernetes-platform-guide-diagram-1.svg" alt="Decision path for a managed API versus a self-hosted model on Kubernetes" width="585" height="679"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Decision path for a managed API versus a self-hosted model on Kubernetes&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we schedule GPU workloads on Kubernetes without wasting capacity?
&lt;/h2&gt;

&lt;p&gt;Treat GPUs as scarce, whole units. Give them their own node pools, set explicit limits, and share a GPU only where the isolation is good enough for the workload.&lt;/p&gt;

&lt;p&gt;In the classic device-plugin model, GPUs are extended resources. &lt;a href="https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/" rel="noopener noreferrer"&gt;Kubernetes schedules them from limits&lt;/a&gt;: if you set both a request and a limit they must be equal, and GPUs can't be overcommitted. In practice:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Separate GPU node pools with taints&lt;/strong&gt;, so only model servers with matching tolerations land on expensive nodes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One standard way to install drivers and the device plugin&lt;/strong&gt; across nodes, such as NVIDIA's GPU Operator, so node images don't drift apart.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pick a sharing mode for each workload.&lt;/strong&gt; The GPU Operator supports &lt;a href="https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/latest/gpu-sharing.html" rel="noopener noreferrer"&gt;time-slicing to oversubscribe a GPU&lt;/a&gt;, but &lt;a href="https://kubezilla.io/kubernetes-gpu-guide/" rel="noopener noreferrer"&gt;time-sliced workloads share memory with no isolation&lt;/a&gt;, so a crash can affect every workload on that GPU. Multi-Instance GPU (MIG) gives you hardware partitions instead, and combined with time-slicing it can run &lt;a href="https://www.vcluster.com/blog/diy-gpu-sharing-in-kubernetes" rel="noopener noreferrer"&gt;up to seven isolated workloads per GPU&lt;/a&gt;. Use whole GPUs for production LLMs, MIG for small models, and time-slicing for development.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan for Dynamic Resource Allocation (DRA).&lt;/strong&gt; &lt;a href="https://docs.siderolabs.com/kubernetes-guides/advanced-guides/dynamic-resource-allocation" rel="noopener noreferrer"&gt;DRA reached GA in Kubernetes 1.34 and is always on from 1.35&lt;/a&gt;. It lets pods &lt;a href="https://scaleops.com/blog/kubernetes-dynamic-resource-allocation/" rel="noopener noreferrer"&gt;request GPUs by attribute rather than integer count&lt;/a&gt;. Support from drivers and managed Kubernetes services still varies, so check yours.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cache model weights on the node or on a fast volume.&lt;/strong&gt; Downloading tens of gigabytes every time a pod starts wastes GPU time.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How do we autoscale model servers when requests are long and bursty?
&lt;/h2&gt;

&lt;p&gt;Scale on signals from the model server, such as queue depth, requests in flight and KV-cache usage, rather than CPU. Keep some capacity warm, because a new replica can take minutes to load its weights.&lt;/p&gt;

&lt;p&gt;CPU-based autoscaling doesn't work here. The work happens on the GPU, a streamed answer can hold a connection for many seconds, and traffic comes in bursts. What works better:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scale on waiting requests and latency.&lt;/strong&gt; Expose the server's queue length and time to first token, and send them to the Horizontal Pod Autoscaler through a custom-metrics adapter or KEDA.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Account for cold starts.&lt;/strong&gt; A new node, image pull and weight load add up to minutes. Keep at least one or two replicas warm for interactive traffic, and scale to zero only for batch or internal jobs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Route by load, not round-robin.&lt;/strong&gt; Two requests can differ in cost by orders of magnitude. The &lt;a href="https://gateway-api-inference-extension.sigs.k8s.io/" rel="noopener noreferrer"&gt;Gateway API Inference Extension&lt;/a&gt; is an official Kubernetes project. It turns gateways such as Envoy Gateway, kgateway and GKE Gateway into inference gateways that choose a pod using metrics from the model servers and that respect serving priority. The &lt;a href="https://kubernetes.io/blog/2025/06/05/introducing-gateway-api-inference-extension/" rel="noopener noreferrer"&gt;Kubernetes team's announcement&lt;/a&gt; explains the endpoint-picker design.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Separate interactive and batch traffic&lt;/strong&gt; into different pools or priorities, so overnight summarization jobs don't slow down live chat.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Frunning-llms-on-kubernetes-platform-guide-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Frunning-llms-on-kubernetes-platform-guide-diagram-2.svg" alt="How one request is routed to a model server and how load metrics feed routing and autoscaling" width="1186" height="571"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;How one request is routed to a model server and how load metrics feed routing and autoscaling&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we roll out a new model or prompt version without breaking users?
&lt;/h2&gt;

&lt;p&gt;Treat a change to the model, prompt or serving engine like a code release. Run it against the evaluation set, then shadow traffic, then a small canary, and promote it only when quality, latency and cost all hold.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Version everything together.&lt;/strong&gt; Store the model weight digest, server image, prompt template and sampling settings in Git, and deploy them through the same pipeline as your other services. Our &lt;a href="https://calidadinfotech.com/engineering/devops-engineering" rel="noopener noreferrer"&gt;DevOps engineering&lt;/a&gt; practice builds pipelines like this.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run offline evaluation first.&lt;/strong&gt; Score the candidate on questions drawn from real user traffic. In our &lt;a href="https://calidadinfotech.com/engineering/generative-ai" rel="noopener noreferrer"&gt;generative AI work&lt;/a&gt;, we write that evaluation set before choosing a model or prompt, and we run it on every change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shadow traffic.&lt;/strong&gt; Copy live requests to the candidate, compare its answers and latency, and return nothing to users.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Canary.&lt;/strong&gt; Send a small share of traffic through weighted routes at the gateway, with rollback limits agreed in advance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Budget GPU headroom.&lt;/strong&gt; During a canary both versions need GPUs, so reserve that capacity before you start.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Frunning-llms-on-kubernetes-platform-guide-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Frunning-llms-on-kubernetes-platform-guide-diagram-3.svg" alt="Lifecycle of one model or prompt version from candidate to production or rollback" width="531" height="706"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Lifecycle of one model or prompt version from candidate to production or rollback&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What should we monitor for an LLM service: latency, token cost, errors and quality?
&lt;/h2&gt;

&lt;p&gt;Monitor every request on four fronts: latency split into first token and later tokens, token counts mapped to cost, errors and saturation, and answer quality on sampled traffic.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/open-telemetry/semantic-conventions-genai/blob/main/docs/gen-ai/gen-ai-metrics.md" rel="noopener noreferrer"&gt;OpenTelemetry GenAI semantic conventions&lt;/a&gt; give standard names for most of these. Time to first token measures time spent in the queue plus the prefill phase. The conventions are still in &lt;a href="https://clickhouse.com/resources/engineering/llm-inference-latency" rel="noopener noreferrer"&gt;Development status&lt;/a&gt;, so expect some names to change.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Signal&lt;/th&gt;
&lt;th&gt;What it tells you&lt;/th&gt;
&lt;th&gt;Example source&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Time to first token&lt;/td&gt;
&lt;td&gt;Queueing and prompt processing&lt;/td&gt;
&lt;td&gt;&lt;code&gt;gen_ai.server.time_to_first_token&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Time per output token&lt;/td&gt;
&lt;td&gt;Generation speed&lt;/td&gt;
&lt;td&gt;&lt;code&gt;gen_ai.server.time_per_output_token&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Input and output tokens per tenant&lt;/td&gt;
&lt;td&gt;Cost and who drives it&lt;/td&gt;
&lt;td&gt;&lt;code&gt;gen_ai.client.token.usage&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Errors, timeouts, rejected requests&lt;/td&gt;
&lt;td&gt;Availability&lt;/td&gt;
&lt;td&gt;Gateway and server logs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPU memory, utilization, KV cache&lt;/td&gt;
&lt;td&gt;Saturation and wasted capacity&lt;/td&gt;
&lt;td&gt;GPU exporter metrics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Evaluation score on sampled answers&lt;/td&gt;
&lt;td&gt;Quality drift&lt;/td&gt;
&lt;td&gt;Scheduled evaluation job&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;To get cost per request, divide the GPU node cost by the requests served in the same period, then split it across tenants by token share. Base SLOs on what users notice, for example time to first token on interactive requests, rather than raw GPU utilization. Our &lt;a href="https://calidadinfotech.com/engineering/observability-sre" rel="noopener noreferrer"&gt;observability and SRE&lt;/a&gt; team sets SLOs on that basis and instruments services with OpenTelemetry.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we keep model endpoints secure, with access control and data handling?
&lt;/h2&gt;

&lt;p&gt;Put the model behind the same gateway, identity and network controls as any internal API. Then add controls specific to LLMs for prompts, outputs and logs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No direct access to model pods.&lt;/strong&gt; Use deny-by-default NetworkPolicies so that only the gateway can reach model server pods.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identify every caller.&lt;/strong&gt; Use workload identity or mTLS, and set rate limits and token quotas per tenant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Control the model supply chain.&lt;/strong&gt; Pull weights and images from an internal registry, pin them by digest, and scan images before deploying.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decide what gets logged.&lt;/strong&gt; Prompts and outputs contain user data. Redact personal data, set retention periods, and keep raw prompts out of default logs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check inputs and outputs.&lt;/strong&gt; Add prompt-injection checks, topic limits and refusal paths. For retrieval, enforce the user's permissions at query time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Isolate sensitive tenants&lt;/strong&gt; in their own namespaces and, if needed, their own GPU node pools.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What does a first production LLM deployment look like in the first 30 days?
&lt;/h2&gt;

&lt;p&gt;Choose one use case, one model and one SLO. Spend the month proving the whole path works before you add more models.&lt;/p&gt;

&lt;p&gt;The plan below holds up because each week ends with a check. Week 1 ends when the open model passes the evaluation set and the cost model beats the API at your expected volume. If it doesn't, stop and use the API. Week 2 ends when one request can be traced from gateway to GPU. Week 3 ends when a load test with real prompt lengths meets the SLO and the security review signs off. Week 4 ends with a go or no-go decision based on canary results, with a runbook and an on-call rota in place.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Frunning-llms-on-kubernetes-platform-guide-diagram-4.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Frunning-llms-on-kubernetes-platform-guide-diagram-4.svg" alt="A 30-day plan for the first production LLM deployment on Kubernetes" width="100" height="53.31617852219013"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;A 30-day plan for the first production LLM deployment on Kubernetes&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Kubernetes can run LLMs well, but only once GPUs, autoscaling, rollouts, monitoring and security are set up with these workloads in mind. Start with the self-host decision, and prove it with your own evaluation set and real cost figures before you buy capacity. Calidad's DevOps, observability and generative AI engineers work inside your team. We start with a paid pilot: one pod, one outcome, success criteria agreed up front.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Talk to an engineering lead → &lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;https://calidadinfotech.com/contact-us&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Can we run an LLM on Kubernetes without GPUs?
&lt;/h3&gt;

&lt;p&gt;Small, quantized models can run on CPU for low-volume internal tasks. Most interactive production workloads need GPUs to meet a reasonable time-to-first-token target. Test on CPU against your evaluation set and latency SLO before ruling it in or out.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do we need a dedicated model-serving platform, or is a plain Deployment enough?
&lt;/h3&gt;

&lt;p&gt;For one model, a Deployment behind an inference-aware gateway is often enough. A serving layer becomes worth it when you run several models or versions and need repeatable canaries, scale-to-zero and shared monitoring. Add it when the second or third model arrives, not before.&lt;/p&gt;

&lt;h3&gt;
  
  
  How many GPUs do we need for our first model?
&lt;/h3&gt;

&lt;p&gt;That depends on model size, precision, context length and concurrency. GPU memory has to hold both the weights and the KV cache for requests in flight. Run a load test with real prompt lengths and peak concurrency, then add headroom for canaries and cold starts.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do we compare self-hosted cost with managed API pricing?
&lt;/h3&gt;

&lt;p&gt;Divide the hourly cost of your GPU nodes by the tokens per hour they actually serve at realistic utilization, then compare that with the API's price per token. Include engineering and on-call time. Use measured utilization, not peak throughput, because idle GPUs still cost money.&lt;/p&gt;

&lt;h3&gt;
  
  
  Should training and inference share the same cluster?
&lt;/h3&gt;

&lt;p&gt;They can, but put them in separate GPU node pools with priority classes, because inference is latency-sensitive and training jobs are not. Otherwise a long training job can take GPUs that live traffic needs during a burst.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/running-llms-on-kubernetes-platform-guide" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>llm</category>
      <category>gpu</category>
      <category>mlops</category>
    </item>
    <item>
      <title>AI-Written Code: What Auditors Will Ask</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Tue, 01 Dec 2026 19:47:17 +0000</pubDate>
      <link>https://dev.to/samaythakkar/ai-written-code-what-auditors-will-ask-74f</link>
      <guid>https://dev.to/samaythakkar/ai-written-code-what-auditors-will-ask-74f</guid>
      <description>&lt;p&gt;AI governance for enterprise software teams comes down to proof. For every change, you should be able to show who or what wrote it, which tests and security scans it passed, who approved it and exactly what shipped. Auditors rarely ask whether you use AI. They ask whether your change controls still held when you did.&lt;/p&gt;

&lt;p&gt;This post covers the proof trail, not the policy text: what evidence to keep for each change and release, and how to collect it from the pipeline so delivery doesn't slow down.&lt;/p&gt;

&lt;h2&gt;
  
  
  What do auditors and compliance teams actually ask about AI-written code?
&lt;/h2&gt;

&lt;p&gt;They ask the same change-management questions as always, then check whether AI-generated changes slipped around those controls.&lt;/p&gt;

&lt;p&gt;The baseline questions come from the frameworks you already report against:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SOC 2.&lt;/strong&gt; Under the AICPA Trust Services Criteria, &lt;a href="https://www.compliancebase.org/controls/soc-2/cc8-1" rel="noopener noreferrer"&gt;CC8.1 covers authorizing, testing, approving, documenting and implementing changes&lt;/a&gt; to infrastructure, software, data and procedures. Auditors typically request your change policy, &lt;a href="https://www.auditpath.io/blog/soc2-change-management" rel="noopener noreferrer"&gt;branch protection settings, a sample of production deployments with their pull requests, reviewer approvals and CI status, plus emergency-change records&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ISO 27001:2022.&lt;/strong&gt; Control 8.32 calls for &lt;a href="https://www.upguard.com/compliance/iso-27001/8-32" rel="noopener noreferrer"&gt;an audit trail of who requested a change, who approved it, what testing occurred and when it was deployed&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;US federal buyers.&lt;/strong&gt; The CISA secure software attestation form draws its attestations from NIST's SSDF, including &lt;a href="https://wp.nyu.edu/compliance_enforcement/2023/12/11/cisa-releases-revised-draft-of-secure-software-development-self-attestation-form/" rel="noopener noreferrer"&gt;maintaining provenance for internal and third-party code&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI adds a second set of questions on top:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Which AI coding tools and agents are approved, and who can use them?&lt;/li&gt;
&lt;li&gt;Did AI-written changes get the same review and tests as human-written ones?&lt;/li&gt;
&lt;li&gt;Can any agent merge or deploy without a person approving?&lt;/li&gt;
&lt;li&gt;What code and data can those tools see, and is their activity logged?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you can answer these from system records rather than interviews, the audit gets much shorter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which evidence should every AI-assisted change leave behind?
&lt;/h2&gt;

&lt;p&gt;Every change should leave one linked record: the request, the diff, its authorship, the automated check results, the approval and the release that included it.&lt;/p&gt;

&lt;p&gt;The auditor's test is simple. &lt;a href="https://www.compliancebase.org/controls/soc-2/cc8-1" rel="noopener noreferrer"&gt;Pick any change and follow it from request to review to test to deploy without gaps&lt;/a&gt;. That only works if each item carries the same identifiers, usually the ticket key and commit SHA.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Evidence&lt;/th&gt;
&lt;th&gt;Where it lives&lt;/th&gt;
&lt;th&gt;What it proves&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ticket or request ID&lt;/td&gt;
&lt;td&gt;Issue tracker, linked in the PR&lt;/td&gt;
&lt;td&gt;The change was authorized&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Diff and commit SHA&lt;/td&gt;
&lt;td&gt;Version control&lt;/td&gt;
&lt;td&gt;Exactly what changed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Authorship and AI-assist marker&lt;/td&gt;
&lt;td&gt;Commit metadata, PR label&lt;/td&gt;
&lt;td&gt;Who or what wrote it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Test results&lt;/td&gt;
&lt;td&gt;CI run, linked to the SHA&lt;/td&gt;
&lt;td&gt;It works as specified&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security scan results&lt;/td&gt;
&lt;td&gt;CI run, linked to the SHA&lt;/td&gt;
&lt;td&gt;It meets the security bar&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reviewer approval&lt;/td&gt;
&lt;td&gt;PR review record&lt;/td&gt;
&lt;td&gt;A qualified person accepted it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Build provenance and deploy log&lt;/td&gt;
&lt;td&gt;CI/CD platform, artifact registry&lt;/td&gt;
&lt;td&gt;What shipped matches what was reviewed&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A change that fails a gate stays in the record. It goes back to the author, and the failed run stays in the history. Auditors read failed and fixed runs as proof that the gates really do block changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fauditor-evidence-ai-written-code-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fauditor-evidence-ai-written-code-diagram-1.svg" alt="Lifecycle of one AI-assisted change and where each piece of evidence is produced" width="356" height="840"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Lifecycle of one AI-assisted change and where each piece of evidence is produced&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For more on which signals to measure on each change, see our guide to &lt;a href="https://calidadinfotech.com/blog/ai-code-quality-measure-keep-high" rel="noopener noreferrer"&gt;measuring AI code quality&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you record who or what wrote each change and who approved it?
&lt;/h2&gt;

&lt;p&gt;Give every AI agent its own identity, mark AI-assisted work in the commit or pull request, and accept approval only from a person who did not write the change.&lt;/p&gt;

&lt;p&gt;In practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Separate identities for agents.&lt;/strong&gt; An agent that opens pull requests should use its own service account, never an engineer's credentials. That way its commits stand out in the history without anyone tagging them by hand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A consistent AI-assist marker.&lt;/strong&gt; With IDE assistants, the human is still the committer. Agree on one convention, such as a PR label or commit trailer, and enforce it with a PR template check. Apply the same convention in every repository.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Approval from a person, not a bot.&lt;/strong&gt; An AI review comment can be useful input, but it should never count toward required approvals. Set up branch protection so the author, human or agent, cannot approve their own change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code owners for sensitive paths.&lt;/strong&gt; Authentication, payments, infrastructure-as-code and data-access code should need a named owner's review.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is a record where "who wrote it" and "who took responsibility for it" always have two different, named answers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which security scans and test results should be kept as release evidence?
&lt;/h2&gt;

&lt;p&gt;Keep the result of every check that can block a merge, tied to the commit SHA, along with the tool version and any exceptions granted.&lt;/p&gt;

&lt;p&gt;Security evidence for each change:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Secrets scanning results&lt;/li&gt;
&lt;li&gt;Static analysis (SAST) scoped to the diff&lt;/li&gt;
&lt;li&gt;Dependency and licence scans&lt;/li&gt;
&lt;li&gt;Infrastructure-as-code policy checks, where the change touches infrastructure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Security evidence for each release:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A software bill of materials (SBOM). If you place products with digital elements on the EU market, the Cyber Resilience Act requires an SBOM in a machine-readable format such as SPDX or CycloneDX. It must be kept in the technical documentation and &lt;a href="https://openssf.org/blog/2025/10/22/sboms-in-the-era-of-the-cra-toward-a-unified-and-actionable-framework/" rel="noopener noreferrer"&gt;retained for at least ten years after the product is placed on the market&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Container or image scan results for what was deployed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Test evidence:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Unit, integration and acceptance test results from the run that produced the release&lt;/li&gt;
&lt;li&gt;Which tests were skipped or quarantined, and who approved that&lt;/li&gt;
&lt;li&gt;Coverage changes, read together with assertion quality rather than treated as a target&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Exceptions matter as much as passes. A waived finding should record who approved it, why, and when the waiver expires. Our post on &lt;a href="https://calidadinfotech.com/blog/security-gates-cicd-ai-written-code" rel="noopener noreferrer"&gt;CI/CD security gates for AI-written code&lt;/a&gt; covers the block rules in detail.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you show that a release met its gates without manual paperwork?
&lt;/h2&gt;

&lt;p&gt;Make the pipeline the only route to production and let it write the evidence as it runs.&lt;/p&gt;

&lt;p&gt;Three practices do most of the work:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Enforce the controls, then export the settings.&lt;/strong&gt; Branch protection, required checks and required reviews become the control, and an export of their settings proves the control exists. &lt;a href="https://www.compliancebase.org/controls/soc-2/cc8-1" rel="noopener noreferrer"&gt;Deploying only through CI/CD and banning manual console changes&lt;/a&gt; lets commits, tests, approvals and release records link end to end.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sign what you build.&lt;/strong&gt; SLSA defines build levels where provenance &lt;a href="https://slsa.dev/spec/v1.0/requirements" rel="noopener noreferrer"&gt;exists at Level 1, is authentic at Level 2 and unforgeable at Level 3&lt;/a&gt;. On GitHub, &lt;a href="https://github.com/actions/attest-build-provenance" rel="noopener noreferrer"&gt;artifact attestations&lt;/a&gt; bind an artifact's digest to SLSA build provenance and sign it with a short-lived Sigstore certificate. For private repositories you need GitHub Enterprise Cloud.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bundle the evidence for each release.&lt;/strong&gt; A final pipeline step gathers the change list, check results, approvals, SBOM and provenance into one versioned bundle in write-once storage.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fauditor-evidence-ai-written-code-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fauditor-evidence-ai-written-code-diagram-2.svg" alt="Who hands what to whom as evidence is collected automatically from pull request to release" width="1147" height="571"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Who hands what to whom as evidence is collected automatically from pull request to release&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For SOC 2 Type II, auditors may ask you to &lt;a href="https://www.compliancebase.org/controls/soc-2/cc8-1" rel="noopener noreferrer"&gt;export every production deploy for the period&lt;/a&gt; and then pick samples from it. With a bundle for each release, that export becomes a query.&lt;/p&gt;

&lt;h2&gt;
  
  
  How should AI tool access, logs and permissions be documented for review?
&lt;/h2&gt;

&lt;p&gt;Keep an inventory of every approved AI tool and agent, with its scope, data access, identity and log retention. Review it on a schedule, like any other privileged access.&lt;/p&gt;

&lt;p&gt;For each tool or agent, record:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Owner and purpose&lt;/li&gt;
&lt;li&gt;Who can use it, and how access is granted and removed&lt;/li&gt;
&lt;li&gt;Repositories and environments it can read or write&lt;/li&gt;
&lt;li&gt;Data it may see, including whether code or prompts leave your environment, and under which vendor terms&lt;/li&gt;
&lt;li&gt;The identity it acts under and where its actions are logged&lt;/li&gt;
&lt;li&gt;How long logs are kept and who reviews them&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Permissions should follow risk. An IDE assistant that suggests code for a human to commit is low risk. An agent that can merge, run migrations or read production data needs a tighter scope and a person approving each risky action.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fauditor-evidence-ai-written-code-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fauditor-evidence-ai-written-code-diagram-3.svg" alt="Example AI tool permissions placed by system access and business impact, showing where approval is needed" width="100" height="100.0"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Example AI tool permissions placed by system access and business impact, showing where approval is needed&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Your AI governance policy decides which tools are approved. Our &lt;a href="https://calidadinfotech.com/consulting/ai-strategy" rel="noopener noreferrer"&gt;AI strategy practice&lt;/a&gt; covers that side: approved tools, data rules and review requirements. The inventory above is the evidence that the policy is actually followed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does a practical audit-ready release checklist look like for an engineering team?
&lt;/h2&gt;

&lt;p&gt;It's a short list of conditions the pipeline checks automatically. A person signs off only where judgment is needed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before merge, for every change:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Linked to a ticket or request ID&lt;/li&gt;
&lt;li&gt;[ ] AI-assisted work marked, and agent commits made under the agent's own identity&lt;/li&gt;
&lt;li&gt;[ ] Tests pass; skipped tests approved and listed&lt;/li&gt;
&lt;li&gt;[ ] Secrets, SAST and dependency scans pass or have a dated, approved exception&lt;/li&gt;
&lt;li&gt;[ ] Approved by a human reviewer who is not the author, plus code owners for sensitive paths&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;At release:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Built only by the CI platform, with signed provenance&lt;/li&gt;
&lt;li&gt;[ ] SBOM generated and stored with the release&lt;/li&gt;
&lt;li&gt;[ ] Evidence bundle written to write-once storage&lt;/li&gt;
&lt;li&gt;[ ] Deploy run by the pipeline identity and logged&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;On a schedule:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] AI tool and agent inventory reviewed, and unused access removed&lt;/li&gt;
&lt;li&gt;[ ] Branch protection and required-check settings exported&lt;/li&gt;
&lt;li&gt;[ ] Emergency changes reviewed afterwards, with approvals recorded&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At Calidad, every release passes three gates: tests prove it works, security checks prove it's safe, and a senior engineer's review proves it's right. That applies whether a person or an AI wrote the change. Our &lt;a href="https://calidadinfotech.com/services/quality-engineering" rel="noopener noreferrer"&gt;Quality Engineering&lt;/a&gt; service builds that system, including the review gates, security checks and release evidence, into your own pipeline.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Auditors don't need a new framework for AI-written code. They need your existing change controls to cover it, and records that show they did. Give agents their own identities, keep a person as the approver, store check results against the commit and let the pipeline assemble the evidence for each release. Then an auditor's sample request becomes a query.&lt;/p&gt;

&lt;p&gt;If you want help setting this up, start with a paid pilot: one pod, one outcome and success criteria agreed up front, judged on working software and the evidence trail behind it. &lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;Talk to an engineering lead →&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Do we have to tell auditors which code was written by AI?
&lt;/h3&gt;

&lt;p&gt;Most change-management controls, such as SOC 2 CC8.1 and ISO 27001 control 8.32, care whether a change was authorized, tested and approved, not who typed it. But auditors increasingly ask how AI tools are governed. If AI-assisted changes are clearly marked, you can show they passed the same gates without reconstructing anything by hand.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can an AI code reviewer count as the required approver on a pull request?
&lt;/h3&gt;

&lt;p&gt;It shouldn't. Treat AI review comments as input to the human reviewer, and set up branch protection so only named people count toward required approvals. The record should always show a person who accepted responsibility for the change and who is not its author.&lt;/p&gt;

&lt;h3&gt;
  
  
  How long should we keep release evidence?
&lt;/h3&gt;

&lt;p&gt;It depends on the frameworks you report against. A SOC 2 Type II audit samples changes from the whole observation period, so evidence has to cover at least that period. For products in scope of the EU Cyber Resilience Act, the SBOM is part of the technical documentation, which must be kept for at least ten years.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do we need SLSA Level 3 to pass an audit?
&lt;/h3&gt;

&lt;p&gt;Not usually. Change-management controls ask you to prove what shipped and how it was approved, and signed provenance from a hosted build platform already gives you strong evidence of that. Higher SLSA levels make the provenance harder to forge, which matters more if customers or federal buyers ask about software supply chain integrity.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where should we start if our evidence is scattered today?
&lt;/h3&gt;

&lt;p&gt;Start with the pipeline, not the paperwork. Require every production deploy to go through CI/CD, enforce branch protection and required checks, and add a final step that bundles the results for each release. Then run one sample trace, from ticket to deploy, to find the gaps before an auditor does.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/auditor-evidence-ai-written-code" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aigovernance</category>
      <category>compliance</category>
      <category>soc2</category>
      <category>softwaresupplychain</category>
    </item>
    <item>
      <title>AI Governance for Engineering Teams</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Tue, 01 Dec 2026 19:27:17 +0000</pubDate>
      <link>https://dev.to/samaythakkar/ai-governance-for-engineering-teams-21g1</link>
      <guid>https://dev.to/samaythakkar/ai-governance-for-engineering-teams-21g1</guid>
      <description>&lt;p&gt;AI governance for an enterprise software team is a short written policy that says which AI tools engineers may use, what data those tools may see, which AI-written changes need human review before merge, how use is logged, and who owns the rules. Keep it to one page and enforce it in the pipeline, not a slide deck.&lt;/p&gt;

&lt;p&gt;Engineers already use these tools. In the &lt;a href="https://stackoverflow.co/company/press/archive/stack-overflow-2025-developer-survey/" rel="noopener noreferrer"&gt;Stack Overflow 2025 Developer Survey&lt;/a&gt;, 84% of developers said they use or plan to use AI tools, and 46% said they don't trust the accuracy of the output, up from 31% the year before. The point of a policy is to make AI use safe and visible. Stopping it isn't realistic.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does AI governance cover for an engineering team?
&lt;/h2&gt;

&lt;p&gt;It covers five decisions: tools, data, review, logging and ownership. Anything outside those five belongs in a company-wide AI policy, not the engineering one.&lt;/p&gt;

&lt;p&gt;For a reference point, the &lt;a href="https://www.nist.gov/itl/ai-risk-management-framework" rel="noopener noreferrer"&gt;NIST AI Risk Management Framework&lt;/a&gt; groups AI risk work into four functions: Govern, Map, Measure and Manage. Govern is the cross-cutting one, and it covers culture, policies and accountability. For organisations that want a certifiable system, &lt;a href="https://www.iso.org/standard/42001" rel="noopener noreferrer"&gt;ISO/IEC 42001&lt;/a&gt; sets requirements for establishing, maintaining and continually improving an AI management system. You don't need either to start. An engineering policy that covers the five decisions below gives you material you can map to both later.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fai-governance-for-engineering-teams-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fai-governance-for-engineering-teams-diagram-1.svg" alt="The five parts of an engineering AI policy and what each one decides" width="100" height="47.22863144721806"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The five parts of an engineering AI policy and what each one decides&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When we run &lt;a href="https://calidadinfotech.com/consulting/ai-strategy" rel="noopener noreferrer"&gt;AI strategy work&lt;/a&gt; with clients, this is the governance deliverable: a risk policy that sets out approved tools, data rules and review requirements, with owners attached. It's written so engineers can follow it without asking legal first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which AI tools should be approved, and who decides?
&lt;/h2&gt;

&lt;p&gt;Approve a short named list of tools on business accounts. Name one person who can add to it, with security and legal signing off on data terms.&lt;/p&gt;

&lt;p&gt;Before you approve a tool, check:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Account type.&lt;/strong&gt; Engineers use an enterprise or team plan with admin controls, not a personal login.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data terms.&lt;/strong&gt; The contract says whether prompts and code are kept, for how long, and whether they're used for training.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access scope.&lt;/strong&gt; Which repositories, tickets or systems the tool, or an agent built on it, can read or write.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identity.&lt;/strong&gt; The tool uses SSO, so access ends when someone leaves.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exit.&lt;/strong&gt; You know how to switch it off and remove stored data.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Give engineers a request path with a deadline for an answer, such as five working days. Without one, people use unapproved tools and you can't see it. When a tool is approved for trial, set a time limit and say which repositories it may touch.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fai-governance-for-engineering-teams-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fai-governance-for-engineering-teams-diagram-2.svg" alt="Lifecycle of one AI tool in the policy, from request to retirement" width="505" height="510"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Lifecycle of one AI tool in the policy, from request to retirement&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What data may engineers and AI tools touch?
&lt;/h2&gt;

&lt;p&gt;Sort data into classes and write down which classes each approved tool may see. Leave out anything your classification already treats as regulated or secret.&lt;/p&gt;

&lt;p&gt;A workable split for most teams:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Allowed:&lt;/strong&gt; your own source code in approved repositories, public documentation, synthetic test data, and anonymised logs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allowed with conditions:&lt;/strong&gt; internal design docs and tickets, but only in tools with no-retention or no-training terms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never:&lt;/strong&gt; secrets, credentials and keys, production customer data, personal data, regulated records, and anything under a client confidentiality clause that hasn't been cleared.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This isn't only a compliance concern. The &lt;a href="https://genai.owasp.org/llm-top-10/" rel="noopener noreferrer"&gt;OWASP Top 10 for LLM Applications&lt;/a&gt; lists Sensitive Information Disclosure (LLM02) among its top risks. Data pasted into a prompt, or pulled in by a retrieval step, can come out somewhere else.&lt;/p&gt;

&lt;p&gt;Back the rules with controls, because a document alone won't stop a leak. Scan for secrets before commit and on every pull request. Keep production data out of developer environments. Scope agent credentials to read-only unless a person approves a write. If the data rules are part of a wider effort, link them to your existing classification and ownership work. &lt;a href="https://calidadinfotech.com/consulting/data-governance" rel="noopener noreferrer"&gt;Data governance&lt;/a&gt; is where you decide which data models and agents may see.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which AI-written changes need human review before merge?
&lt;/h2&gt;

&lt;p&gt;Every change gets reviewed. Risk decides who reviews it. The author's tool doesn't change the rule. Treat an AI-written change exactly like one a person wrote, then add stricter review for the paths where a mistake costs the most.&lt;/p&gt;

&lt;p&gt;Our own engineering standard follows this rule. Tests, security checks and a senior engineer's review run on every release, whether a person or an AI wrote the change.&lt;/p&gt;

&lt;p&gt;Sort changes by path and type:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Standard:&lt;/strong&gt; tests, docs, internal tooling and boilerplate. One approving reviewer and green pipeline gates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Elevated:&lt;/strong&gt; business logic, public APIs and shared libraries. Approval from the code owner of that area.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High risk:&lt;/strong&gt; authentication, payments, cryptography, infrastructure as code, database migrations, new dependencies, prompts and agent permissions. Code owner approval plus a security reviewer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Make it enforceable in the repository. On GitHub, &lt;a href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners" rel="noopener noreferrer"&gt;code owners&lt;/a&gt; are requested automatically when a pull request touches their files. Turning on "Require review from Code Owners" in branch protection makes that approval mandatory. Note that approval from any one listed owner meets the requirement. For high-risk paths, list a small team of people qualified to approve.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fai-governance-for-engineering-teams-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fai-governance-for-engineering-teams-diagram-3.svg" alt="How one pull request is routed to the right level of review" width="794" height="514"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;How one pull request is routed to the right level of review&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Reviewers should check intent, not just syntax. A test generated from the same prompt as the code can confirm a bug instead of catching it. For the automated half of this, see our guide to &lt;a href="https://calidadinfotech.com/blog/security-gates-cicd-ai-written-code" rel="noopener noreferrer"&gt;CI/CD security gates for AI-written code&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we log AI use and keep an audit trail?
&lt;/h2&gt;

&lt;p&gt;Log at the pull request. That's where intent, code, gate results and approvals already meet, so you don't need a separate system.&lt;/p&gt;

&lt;p&gt;A minimum audit trail has:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;An AI-assisted marker&lt;/strong&gt; on the pull request, such as a label or a commit trailer, that says which approved tool was used.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gate results&lt;/strong&gt; (tests, secrets scan, static analysis, dependency check) stored with the build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviewer identity and approval&lt;/strong&gt;, including the code owner for elevated and high-risk paths.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exceptions&lt;/strong&gt;, meaning any override of a blocking gate, with who approved it and why.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Release evidence&lt;/strong&gt;, linking each deployment to the pull requests it contains.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fai-governance-for-engineering-teams-diagram-4.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fai-governance-for-engineering-teams-diagram-4.svg" alt="Who hands what to whom as one AI-assisted change builds its audit trail" width="1330" height="571"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Who hands what to whom as one AI-assisted change builds its audit trail&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Don't store raw prompts by default. They can contain the very data the policy is meant to protect. Log the tool, the change and the checks. That answers the question auditors usually ask: what shipped, and who confirmed it was right?&lt;/p&gt;

&lt;p&gt;Also record whether your team builds AI features or only uses AI tools. That decides which outside rules apply. Under the EU AI Act, for example, &lt;a href="https://digital-strategy.ec.europa.eu/en/faqs/guidelines-obligations-general-purpose-ai-providers" rel="noopener noreferrer"&gt;obligations for providers of general-purpose AI models&lt;/a&gt; entered into application on 2 August 2025. Which ones apply depends on whether you're the provider placing a model on the market.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who owns the policy after launch, and how often is it reviewed?
&lt;/h2&gt;

&lt;p&gt;One named person owns it, usually the VP of Engineering or head of platform. They review it every quarter, plus whenever certain events happen.&lt;/p&gt;

&lt;p&gt;Security and legal approve changes to the data rules. They don't own the document, because if they did, engineers would treat it as someone else's rules. The owner's job:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Answer tool requests within the stated deadline.&lt;/li&gt;
&lt;li&gt;Review the approved list each quarter and retire unused tools.&lt;/li&gt;
&lt;li&gt;Read the exception log and fix rules that people keep overriding. A rule bypassed every week is wrong or badly enforced.&lt;/li&gt;
&lt;li&gt;Re-review right away when a vendor changes its data terms, a new model or agent capability arrives, an incident happens, or a regulation changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Measure whether it works with numbers you already have: share of pull requests labelled AI-assisted, gate failure rate, exception count, and change failure rate after release. If AI use rises while failures stay flat, the policy is doing its job.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does a policy look like on one page?
&lt;/h2&gt;

&lt;p&gt;It fits in one table. If yours doesn't, it's probably trying to be a company AI ethics policy as well.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Section&lt;/th&gt;
&lt;th&gt;Rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Scope&lt;/td&gt;
&lt;td&gt;All engineers, contractors and AI agents working in company repositories&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Approved tools&lt;/td&gt;
&lt;td&gt;Named list on business accounts with SSO. Anything else needs a request first.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tool requests&lt;/td&gt;
&lt;td&gt;Submitted to the policy owner, answered within 5 working days. Trials are time-limited.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data: allowed&lt;/td&gt;
&lt;td&gt;Own source code, public docs, synthetic test data, anonymised logs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data: never&lt;/td&gt;
&lt;td&gt;Secrets, production customer data, personal and regulated data, uncleared client material&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review&lt;/td&gt;
&lt;td&gt;Every change reviewed. Code owners for owned areas. Owner plus security for high-risk paths.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pipeline gates&lt;/td&gt;
&lt;td&gt;Tests, secrets scan, static analysis and dependency check must pass before merge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Agents&lt;/td&gt;
&lt;td&gt;Least-privilege credentials. A person approves any write to production systems.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logging&lt;/td&gt;
&lt;td&gt;AI-assisted label on the PR, gate results, approvals, exceptions, release evidence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Exceptions&lt;/td&gt;
&lt;td&gt;Only the policy owner can approve, and every one is logged with a reason&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Owner&lt;/td&gt;
&lt;td&gt;VP of Engineering (named). Security and legal approve data rule changes.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review cycle&lt;/td&gt;
&lt;td&gt;Quarterly, plus on new tools, vendor term changes, incidents or regulation changes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Most of these rows can be enforced by settings you already have: SSO, branch protection, code owners, pipeline gates. That's why engineers follow it. The policy describes how the repository already behaves.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;A policy engineers will follow is short, names one owner, and is enforced by the pipeline. Approve a small set of tools, keep sensitive data out of prompts, review every change by risk, and log evidence at the pull request. Then review the policy every quarter and let the exception log tell you what to change. If you want help turning this into gates that run on every release, our &lt;a href="https://calidadinfotech.com/services/quality-engineering" rel="noopener noreferrer"&gt;Quality Engineering&lt;/a&gt; team builds that system end to end.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;Talk to an engineering lead →&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Do we need ISO/IEC 42001 certification to govern AI use in engineering?
&lt;/h3&gt;

&lt;p&gt;No. A one-page engineering policy with enforced pipeline controls covers the day-to-day risk for most teams. ISO/IEC 42001 is useful if customers or regulators ask for a certified AI management system. A policy that already names owners, data rules and review requirements makes that work easier later.&lt;/p&gt;

&lt;h3&gt;
  
  
  Should we ban personal AI accounts entirely?
&lt;/h3&gt;

&lt;p&gt;For company code and data, yes: require business accounts with SSO and known data terms. A ban only works if the approved tools are good enough and requests get a fast answer. Otherwise engineers go back to personal tools where you can't see them.&lt;/p&gt;

&lt;h3&gt;
  
  
  How should AI agents that open pull requests be governed?
&lt;/h3&gt;

&lt;p&gt;Treat an agent like a junior contributor with limited permissions. Give it scoped, least-privilege credentials, label its pull requests, and run it through the same gates and code owner review as any change. A person should approve any action that writes to production systems.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do we roll out the policy without slowing teams down?
&lt;/h3&gt;

&lt;p&gt;Start with the controls that run automatically, like secrets scanning, branch protection and code owners, so most of the policy works without anyone thinking about it. Publish the one-page version, set a short deadline for answering tool requests, and only add stricter review on high-risk paths. Then watch the exception log for rules that get in the way.&lt;/p&gt;

&lt;h3&gt;
  
  
  What metrics show the policy is working?
&lt;/h3&gt;

&lt;p&gt;Track the share of pull requests marked AI-assisted, the gate failure rate, how many exceptions get approved, and the change failure rate after release. If AI-assisted work grows while change failures and exceptions stay flat or fall, the policy is doing its job.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/ai-governance-for-engineering-teams" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aigovernance</category>
      <category>engineeringmanagement</category>
      <category>softwaresecurity</category>
      <category>devsecops</category>
    </item>
    <item>
      <title>Zero-Downtime Database Migration Playbook</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Tue, 01 Dec 2026 19:27:16 +0000</pubDate>
      <link>https://dev.to/samaythakkar/zero-downtime-database-migration-playbook-2g6l</link>
      <guid>https://dev.to/samaythakkar/zero-downtime-database-migration-playbook-2g6l</guid>
      <description>&lt;p&gt;To move a database without downtime, keep the old database live as the source of truth. Copy the existing data, stream every new change to the new store and check that the two match until they agree. Then move reads and writes over in small steps you can undo. Retire the old database only after the new one has run alone, with no problems, for an agreed period.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why do database migrations cause outages?
&lt;/h2&gt;

&lt;p&gt;Most migration outages come from a "big-bang" cutover: stop writes, copy everything, switch the connection string and hope nothing was missed. That plan has four weak points:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Copy time grows with data volume.&lt;/strong&gt; Stripe gives an example: at &lt;a href="https://stripe.com/blog/online-migrations" rel="noopener noreferrer"&gt;one second per object, moving 100 million objects one at a time would take over three years&lt;/a&gt;. Any plan that freezes writes for the length of a copy doesn't work at scale.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The switch can't be undone.&lt;/strong&gt; Once writes land in the new store, the old one is out of date. Going back then means losing data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Problems show up late.&lt;/strong&gt; Wrong data types, missing rows and slow queries usually only appear under real traffic, after the switch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The rollback was never tested.&lt;/strong&gt; The team has a rollback plan on paper but has never run it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AWS's own &lt;a href="https://docs.aws.amazon.com/pdfs/dms/latest/userguide/dms-ug.pdf" rel="noopener noreferrer"&gt;Database Migration Service guide&lt;/a&gt; says a plain full-load copy is a good choice only if you can afford an outage long enough to copy your data. Most businesses can't. Over half of respondents to the &lt;a href="https://intelligence.uptimeinstitute.com/resource/annual-outage-analysis-2025" rel="noopener noreferrer"&gt;Uptime Institute's 2024 survey&lt;/a&gt; said their most recent serious outage cost more than $100,000. One in five said it cost more than $1 million.&lt;/p&gt;

&lt;p&gt;The fix is to break one risky event into a series of small steps, each of which you can undo.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we copy and backfill data while the old system runs?
&lt;/h2&gt;

&lt;p&gt;Take a consistent snapshot of the old database and bulk-load it into the new store. At the same time, capture every change made since the snapshot and replay those changes in order until the new store has caught up.&lt;/p&gt;

&lt;p&gt;This is change data capture (CDC). AWS DMS describes a migration in three phases: &lt;a href="https://docs.aws.amazon.com/pdfs/dms/latest/userguide/dms-ug.pdf" rel="noopener noreferrer"&gt;a full load of existing data, applying the changes cached during that load, then ongoing replication&lt;/a&gt;. It collects changes from the database logs through the engine's own interface. Open-source tools such as &lt;a href="https://debezium.io/documentation/reference/connectors/mysql.html" rel="noopener noreferrer"&gt;Debezium&lt;/a&gt; work the same way: they take a snapshot first, then keep streaming changes from the log.&lt;/p&gt;

&lt;p&gt;Steps that keep the backfill safe:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Record the log position before the snapshot&lt;/strong&gt;, so no change falls into the gap between the copy and the stream.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Load in throttled batches&lt;/strong&gt;, so the copy doesn't slow down the production database your users still depend on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make every write idempotent.&lt;/strong&gt; Insert-or-update by primary key, so a batch that runs twice gives the same result.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transform in the pipeline, not by hand.&lt;/strong&gt; If the new schema splits or renames fields, keep that mapping in version-controlled code with tests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Track replication lag&lt;/strong&gt; until it stays close to zero under normal traffic.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdatabase-migration-without-downtime-playbook-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdatabase-migration-without-downtime-playbook-diagram-1.svg" alt="How existing data and live changes reach the new database while the app keeps writing to the old one" width="1010" height="471"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;How existing data and live changes reach the new database while the app keeps writing to the old one&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;At this stage the application doesn't know a migration is happening. That is the point.&lt;/p&gt;

&lt;h2&gt;
  
  
  When do we use dual writes, and what are the risks?
&lt;/h2&gt;

&lt;p&gt;Use dual writes only when CDC can't do the job. Two common cases are when the new data model can only be produced by application logic, or when you can't read the old database's change log. In every other case, CDC is the safer default.&lt;/p&gt;

&lt;p&gt;Stripe's well-known &lt;a href="https://stripe.com/blog/online-migrations" rel="noopener noreferrer"&gt;four-step pattern&lt;/a&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Write to both stores.&lt;/li&gt;
&lt;li&gt;Move reads to the new one.&lt;/li&gt;
&lt;li&gt;Move writes to the new one only.&lt;/li&gt;
&lt;li&gt;Remove the old data.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It works, but it puts the migration inside your application code. That brings risks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Partial writes.&lt;/strong&gt; Two separate stores can't commit together. One write succeeds, the other fails, and the data drifts apart without anyone noticing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ordering races.&lt;/strong&gt; Two concurrent updates can reach the two stores in different orders.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;More points of failure.&lt;/strong&gt; Every request now depends on two databases, so an outage in the new store can hurt users.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Slower requests.&lt;/strong&gt; Each request waits on a second write.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A &lt;a href="https://medium.com/google-cloud/online-database-migration-by-dual-write-this-is-not-for-everyone-cb4307118f4b" rel="noopener noreferrer"&gt;Google Cloud community analysis&lt;/a&gt; puts it plainly: recovery is far simpler with CDC, and an outage in the target database doesn't affect clients.&lt;/p&gt;

&lt;p&gt;If you do use dual writes, keep the old store as the single source of truth. Write to the new store asynchronously from a durable queue rather than inline. Log every failed write and put the whole thing behind a feature flag you can turn off in seconds.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdatabase-migration-without-downtime-playbook-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdatabase-migration-without-downtime-playbook-diagram-2.svg" alt="Deciding between CDC replication and application dual writes for one migration" width="538" height="823"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Deciding between CDC replication and application dual writes for one migration&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we reconcile data between old and new stores?
&lt;/h2&gt;

&lt;p&gt;Check the two stores against each other continuously, at more than one level of detail, and fix the cause of every unexplained difference. Never just patch the rows.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Check&lt;/th&gt;
&lt;th&gt;What it catches&lt;/th&gt;
&lt;th&gt;How often&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Row counts per table or tenant&lt;/td&gt;
&lt;td&gt;Missing or duplicated batches&lt;/td&gt;
&lt;td&gt;Every few minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Checksums per key range&lt;/td&gt;
&lt;td&gt;Silent data drift in bulk&lt;/td&gt;
&lt;td&gt;Hourly or nightly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Field-level diffs on samples&lt;/td&gt;
&lt;td&gt;Transformation and type bugs&lt;/td&gt;
&lt;td&gt;Daily, plus after each deploy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shadow reads&lt;/td&gt;
&lt;td&gt;Query differences under real traffic&lt;/td&gt;
&lt;td&gt;Continuously during the read stage&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Shadow reads send a copy of production queries to the new store and compare the results. Users never see the new store's answer.&lt;/p&gt;

&lt;p&gt;Every difference falls into one of three groups:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Replication lag&lt;/strong&gt;: it clears on its own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A mapping bug&lt;/strong&gt;: fix the code, then re-backfill the affected key range.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A missed write&lt;/strong&gt;: find the code path that skipped it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Set the target as zero unexplained differences, not a percentage. In a ledger, an "acceptable" error rate means money that doesn't add up.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do we move reads and writes in stages?
&lt;/h2&gt;

&lt;p&gt;Move reads first, a slice at a time, behind a feature flag. Switch writes only when the new store is serving all reads correctly.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Shadow reads.&lt;/strong&gt; Compare results; users see only the old store.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read ramp.&lt;/strong&gt; Serve real reads from the new store for one internal tenant, then 1%, 10%, 50% and 100% of traffic. Hold at each step until error rates and latency match the baseline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep each session on one store.&lt;/strong&gt; While writes still go to the old store, replication lag can hide a user's own recent change. Route each user to one store, or keep recently written records on the old one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Switch writes.&lt;/strong&gt; Make the new store the primary. Before this point, start replicating in reverse, from new to old, so the old store stays current.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Soak.&lt;/strong&gt; Run on the new primary through at least one full business cycle, including month-end jobs and batch runs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The write switch is the only moment that needs tight coordination. Some engineering teams accept a pause of a few seconds while the last changes drain. If clients retry, users don't notice.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the rollback plan at each step?
&lt;/h2&gt;

&lt;p&gt;Every stage needs a rollback that loses no data and a named trigger for when to use it. Write both down before the stage starts, and rehearse them on production-sized data.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;Rollback&lt;/th&gt;
&lt;th&gt;Trigger example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Backfill and CDC&lt;/td&gt;
&lt;td&gt;Drop the target and restart from a new snapshot&lt;/td&gt;
&lt;td&gt;Lag keeps growing, or a mapping bug&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dual writes&lt;/td&gt;
&lt;td&gt;Turn off the flag; the old store is still the source of truth&lt;/td&gt;
&lt;td&gt;Error rate or latency rises&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shadow reads&lt;/td&gt;
&lt;td&gt;Stop the shadow traffic&lt;/td&gt;
&lt;td&gt;Load on the new store hurts production&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Read ramp&lt;/td&gt;
&lt;td&gt;Set the flag back to 0%&lt;/td&gt;
&lt;td&gt;Unexplained differences, or a latency target missed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Write switch&lt;/td&gt;
&lt;td&gt;Make the old store primary again; reverse replication kept it current&lt;/td&gt;
&lt;td&gt;Data errors after the switch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Retirement&lt;/td&gt;
&lt;td&gt;Restore from the archived final snapshot&lt;/td&gt;
&lt;td&gt;Audit or legal need for old records&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The write switch is the step teams most often leave without a rollback. Reverse replication is what makes it undoable.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdatabase-migration-without-downtime-playbook-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fdatabase-migration-without-downtime-playbook-diagram-3.svg" alt="Lifecycle of a database cutover, with the rollback path out of each stage" width="292" height="620"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Lifecycle of a database cutover, with the rollback path out of each stage&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is how our &lt;a href="https://calidadinfotech.com/consulting/cloud-migrations" rel="noopener noreferrer"&gt;cloud migrations&lt;/a&gt; practice works: workloads move in phases, with a rollback plan for every step.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should we measure before we retire the old database?
&lt;/h2&gt;

&lt;p&gt;Retire the old database only when the new one has run as the sole primary through a full business cycle and all of the following hold:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reconciliation:&lt;/strong&gt; zero unexplained differences across all tables for the whole soak period.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Traffic:&lt;/strong&gt; no reads or writes reaching the old database. Check its connection logs, not just your code, because old cron jobs and reporting tools often still connect.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance:&lt;/strong&gt; p95/p99 latency (the slowest 5% and 1% of requests) and error rates at or better than the baseline you measured before the migration. If you don't track service-level objectives (SLOs) yet, set them up first; our &lt;a href="https://calidadinfotech.com/engineering/observability-sre" rel="noopener noreferrer"&gt;observability and SRE&lt;/a&gt; work starts there.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recovery:&lt;/strong&gt; backups taken on the new store and a test restore completed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Downstream consumers:&lt;/strong&gt; dashboards, exports and data pipelines pointed at the new store and checked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sign-off:&lt;/strong&gt; the business owner agrees the rollback window can close.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then finish the job. Remove the dual-write code, the replication jobs and the old schema. This is the last step of what Martin Fowler calls &lt;a href="https://martinfowler.com/bliki/ParallelChange.html" rel="noopener noreferrer"&gt;Parallel Change&lt;/a&gt;, also known as expand and contract. If you skip it, the migration leaves behind code that nobody remembers how to run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;A database migration with no downtime isn't one clever trick. It's a series of small steps you can undo:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Backfill with CDC.&lt;/li&gt;
&lt;li&gt;Use dual writes only when you have to.&lt;/li&gt;
&lt;li&gt;Reconcile until there are zero unexplained differences.&lt;/li&gt;
&lt;li&gt;Move reads, then writes, behind flags.&lt;/li&gt;
&lt;li&gt;Retire the old store only when the numbers say so.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Our &lt;a href="https://calidadinfotech.com/services/platform-modernization" rel="noopener noreferrer"&gt;Platform Modernization&lt;/a&gt; pods do this work: they move critical legacy systems onto modern, cloud-native platforms while the business keeps running. Migration code goes through the same three gates as every release we ship: tests, security checks and senior engineer review. Engagements start with a paid pilot: one pod, one outcome and success criteria agreed up front.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;Talk to an engineering lead →&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Can a database migration really have zero downtime?
&lt;/h3&gt;

&lt;p&gt;For reads, yes: a gradual read ramp is invisible to users. The write switch may need a pause of a few seconds while the last changes drain. If clients retry, users won't notice. The aim is no outage users can see, not literally zero milliseconds.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is CDC or dual writes better for a database migration?
&lt;/h3&gt;

&lt;p&gt;CDC is the safer default. It keeps the migration out of your application code, and an outage in the new database doesn't affect users. Use dual writes only when the new data model has to be produced by application logic or the old database's change log isn't available.&lt;/p&gt;

&lt;h3&gt;
  
  
  How long should the old database stay running after cutover?
&lt;/h3&gt;

&lt;p&gt;At least one full business cycle on the new primary, including month-end jobs and batch runs. Keep reverse replication running for that whole period so you can still switch back. Retire the old database only once reconciliation, performance and traffic checks are all clean.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does this approach work when moving from on-premises to the cloud, or between database engines?
&lt;/h3&gt;

&lt;p&gt;Yes. The steps are the same: snapshot, stream changes, reconcile, ramp reads, switch writes, soak and retire. Moving between engines adds a step that translates types and schemas. Keep that translation in tested, version-controlled pipeline code, and expect more reconciliation work.&lt;/p&gt;

&lt;h3&gt;
  
  
  What usually goes wrong in a zero-downtime migration?
&lt;/h3&gt;

&lt;p&gt;The usual failures are writes that silently fail during dual writes, replication lag that hides a user's own recent change, and a write switch with no reverse replication. Old cron jobs and reporting tools that still connect to the old database are another common surprise at retirement.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/database-migration-without-downtime-playbook" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>databasemigration</category>
      <category>zerodowntime</category>
      <category>changedatacapture</category>
      <category>cutover</category>
    </item>
    <item>
      <title>Fixed-Fee vs T&amp;M Software Development</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Sat, 28 Nov 2026 13:27:17 +0000</pubDate>
      <link>https://dev.to/samaythakkar/fixed-fee-vs-tm-software-development-1g7</link>
      <guid>https://dev.to/samaythakkar/fixed-fee-vs-tm-software-development-1g7</guid>
      <description>&lt;p&gt;Time-and-materials (T&amp;amp;M) billing charges you for the hours engineers spend. A fixed-fee pod charges a set price for an agreed outcome, delivered by a whole team. T&amp;amp;M fits work you can't define yet. Fixed-fee pods fit roadmap work where you can name the result, the success criteria and the quality bar before anyone starts.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the difference between fixed-fee pods and time-and-materials?
&lt;/h2&gt;

&lt;p&gt;With T&amp;amp;M you buy effort, and with a fixed-fee pod you buy a result.&lt;/p&gt;

&lt;p&gt;Under T&amp;amp;M you pay agreed hourly rates for the time people log, so the final bill depends on how long the work takes. US federal acquisition rules describe a T&amp;amp;M contract as buying services on the basis of &lt;a href="https://www.ecfr.gov/current/title-48/chapter-1/subchapter-C/part-16/subpart-16.6/section-16.601" rel="noopener noreferrer"&gt;direct labor hours at specified fixed hourly rates&lt;/a&gt;. A fixed price works the other way. The same rules say a firm-fixed-price contract &lt;a href="https://www.ecfr.gov/current/title-48/chapter-1/subchapter-C/part-16/subpart-16.2/section-16.202-1" rel="noopener noreferrer"&gt;places upon the contractor "maximum risk and full responsibility for all costs"&lt;/a&gt;, and it also keeps paperwork for both sides to a minimum.&lt;/p&gt;

&lt;p&gt;A fixed-fee pod adds one more change: you're buying from a team, not a list of individuals. A &lt;a href="https://calidadinfotech.com/services/product-engineering-pods" rel="noopener noreferrer"&gt;Calidad product engineering pod&lt;/a&gt; is a complete team. It has a lead, engineers, QA, DevOps and product, and it owns a slice of the roadmap from the first commit to production.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Time-and-materials&lt;/th&gt;
&lt;th&gt;Fixed-fee pod&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;What you pay for&lt;/td&gt;
&lt;td&gt;Hours at agreed rates&lt;/td&gt;
&lt;td&gt;An agreed outcome per cycle&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Who carries overrun risk&lt;/td&gt;
&lt;td&gt;You&lt;/td&gt;
&lt;td&gt;The vendor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Who manages the work&lt;/td&gt;
&lt;td&gt;Your managers&lt;/td&gt;
&lt;td&gt;The pod's lead, working with your experts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Definition of done&lt;/td&gt;
&lt;td&gt;Tasks closed, hours logged&lt;/td&gt;
&lt;td&gt;Success criteria met and release gates passed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How change lands&lt;/td&gt;
&lt;td&gt;The bill grows&lt;/td&gt;
&lt;td&gt;Traded within the cycle or priced into the next&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What you review&lt;/td&gt;
&lt;td&gt;Timesheets&lt;/td&gt;
&lt;td&gt;Working software and release evidence&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Why does billing by the hour misalign vendor and client incentives?
&lt;/h2&gt;

&lt;p&gt;Hourly billing pays the vendor for effort, so its revenue goes up when work takes longer, whether or not the result gets better.&lt;/p&gt;

&lt;p&gt;The vendor doesn't need to act in bad faith for this to happen. The pricing model creates it on its own. Federal acquisition rules say so directly: T&amp;amp;M &lt;a href="https://www.ecfr.gov/current/title-48/chapter-1/subchapter-C/part-16/subpart-16.6/section-16.601" rel="noopener noreferrer"&gt;provides "no positive profit incentive to the contractor for cost control or labor efficiency"&lt;/a&gt;. That's why those rules require the buyer to supervise the work. In practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Rework is billable.&lt;/strong&gt; A defect found late costs you twice: once to write the code and again to fix it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ramp-up is billable.&lt;/strong&gt; The weeks a new engineer spends learning your domain go on your invoice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Efficiency cuts the vendor's revenue.&lt;/strong&gt; Any tool or practice that saves hours also lowers the bill, so the vendor has little reason to adopt it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Management stays with you.&lt;/strong&gt; Someone on your side has to direct the work, check the hours and judge whether progress is real.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fixed fees have their own risk. A vendor protecting its margin can cut corners on quality. The fix is to write the quality bar into the definition of done, so a shortcut counts as an unfinished outcome rather than a saving. Calidad's &lt;a href="https://calidadinfotech.com/why-calidad" rel="noopener noreferrer"&gt;comparison with traditional outsourcing&lt;/a&gt; sets out this trade. Instead of paying for "hours and headcount", clients pay for agreed outcomes in fixed-fee pods, with tests, security checks and review on every release rather than a testing phase at the end.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you define an outcome a pod can be held to?
&lt;/h2&gt;

&lt;p&gt;An outcome you can hold a pod to is a specific change in working software, with a pass/fail acceptance test, a date and a quality bar, all agreed before work starts.&lt;/p&gt;

&lt;p&gt;Vague outcomes lead to disputes. Use these six steps to make one precise:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Name the result in business terms.&lt;/strong&gt; "Customers can update billing details in the app without raising a support ticket" is an outcome. "Build the billing settings page" is a task.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attach a measure.&lt;/strong&gt; Pick a number the outcome should move, such as tickets per week, checkout completion or time to onboard, and record today's value as the baseline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write acceptance criteria as tests.&lt;/strong&gt; Your subject-matter experts know what "correct" means. Write the criteria with them and make as many as possible executable, so whether a criterion passed is a fact and not an opinion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix the quality bar.&lt;/strong&gt; Calidad uses &lt;a href="https://calidadinfotech.com/engineering" rel="noopener noreferrer"&gt;three gates on every release&lt;/a&gt;: tests prove the change works, security checks prove it's safe and a senior engineer's review proves it's right. Nothing ships without all three, whether a person or an AI wrote the change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;List what's excluded and what you owe.&lt;/strong&gt; Fixed fees fail when the client side stalls. Write down the expert time, environment access and decision turnaround the pod depends on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set the cycle and the review point.&lt;/strong&gt; Short cycles keep each fixed price small enough to estimate honestly.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How are scope changes handled in a fixed-fee pod?
&lt;/h2&gt;

&lt;p&gt;You trade scope changes rather than absorb them. A new request is sized against the current outcome. Then it replaces work of the same size, waits for the next cycle, or changes the outcome and gets a new price.&lt;/p&gt;

&lt;p&gt;Most of the friction in fixed-fee work comes from changes that go unspoken. Four rules prevent it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Swap, don't stack.&lt;/strong&gt; If a new request fits the current cycle, something of equal size comes out. The price and the date stay the same.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Queue by default.&lt;/strong&gt; Requests that can wait go to the next cycle's outcome, where they're priced with everything else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Re-price only when the outcome changes.&lt;/strong&gt; If the request changes what "done" means, both sides agree a revised outcome and fee before the work starts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Separate defects from changes.&lt;/strong&gt; If delivered work fails the acceptance criteria you agreed, the vendor fixes it within the fee. New behaviour is a change, even if it feels like an obvious extension.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some requests get declined. These are ones that fall outside the pod's slice of the roadmap or break an exclusion you both agreed. Declining them is still a decision, and you record it so the same request doesn't come back as an argument later.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Ffixed-fee-pods-vs-time-and-materials-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Ffixed-fee-pods-vs-time-and-materials-diagram-1.svg" alt="Lifecycle of one change request inside a fixed-fee pod cycle" width="586" height="462"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Lifecycle of one change request inside a fixed-fee pod cycle&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  When is time-and-materials still the better choice?
&lt;/h2&gt;

&lt;p&gt;T&amp;amp;M is the better choice when nobody can yet describe the result well enough to price it.&lt;/p&gt;

&lt;p&gt;Federal rules take the same view: T&amp;amp;M &lt;a href="https://www.law.cornell.edu/cfr/text/48/16.601" rel="noopener noreferrer"&gt;may be used only when it is not possible&lt;/a&gt; to estimate the extent or duration of the work with reasonable confidence. For engineering teams, that usually means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Research spikes,&lt;/strong&gt; where the question is whether something is possible at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incident response and production support,&lt;/strong&gt; where the amount of work depends on what breaks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Discovery for a new product idea,&lt;/strong&gt; where the outcome is clear in spirit but you can't yet measure it. Time-box the discovery, then fix the price of the build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Short capacity top-ups&lt;/strong&gt; that your own managers will direct.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two things often look like T&amp;amp;M work but price well as outcomes. One is roadmap features on a live product. The other is a phased platform migration, where each step has a clear rollback point. If you want engineers who join your team for the long run and take direction from your leads, a &lt;a href="https://calidadinfotech.com/engineering/dedicated-teams" rel="noopener noreferrer"&gt;dedicated team&lt;/a&gt; is a different model from a pod. Those engineers are still measured on what ships.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Ffixed-fee-pods-vs-time-and-materials-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Ffixed-fee-pods-vs-time-and-materials-diagram-2.svg" alt="Where common types of engineering work fit between fixed-fee pods and time-and-materials" width="100" height="100.0"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Where common types of engineering work fit between fixed-fee pods and time-and-materials&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How does AI-accelerated delivery change how engineering should be priced?
&lt;/h2&gt;

&lt;p&gt;AI lowers the cost of writing code but not the cost of proving it works, so pricing should follow verified outcomes, not hours.&lt;/p&gt;

&lt;p&gt;The evidence on AI speed is mixed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In a controlled GitHub Copilot experiment, developers with the AI assistant &lt;a href="https://arxiv.org/html/2302.06590" rel="noopener noreferrer"&gt;finished a set programming task 55.8% faster&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;In METR's randomized trial, experienced open-source developers working on real issues in mature repositories &lt;a href="https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/" rel="noopener noreferrer"&gt;took 19% longer when AI tools were allowed&lt;/a&gt;. They still believed the tools had made them faster.&lt;/li&gt;
&lt;li&gt;Google's 2024 DORA research linked higher AI adoption to &lt;a href="https://thenewstack.io/dora-2024-ai-and-platform-engineering-fall-short/" rel="noopener noreferrer"&gt;a 7.2% drop in delivery stability and a 1.5% drop in throughput&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Ffixed-fee-pods-vs-time-and-materials-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Ffixed-fee-pods-vs-time-and-materials-diagram-3.svg" alt="Estimated effect of a 25% rise in AI adoption on delivery, DORA 2024 report" width="100" height="71.42857142857143"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Estimated effect of a 25% rise in AI adoption on delivery, DORA 2024 report&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This breaks hourly pricing in two ways. If AI does save hours, a T&amp;amp;M vendor's revenue falls, so it has little reason to pass the savings on. If AI only seems to save hours, as in the METR trial, you pay for the review and rework that follow.&lt;/p&gt;

&lt;p&gt;A fixed fee for a verified outcome deals with both problems. Speed gains show up as more outcomes per cycle, and the cost of checking AI-written code sits inside the fee, not on a later invoice. When you compare proposals, ask each vendor whether its price includes tests, security checks and senior review on every change. If the answer is "that's a separate phase", the risk has come back to you.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you trial an outcome-based model before signing up?
&lt;/h2&gt;

&lt;p&gt;Run a paid pilot on one real piece of your roadmap, with success criteria agreed in advance, and judge it on working software.&lt;/p&gt;

&lt;p&gt;Calidad starts every engagement this way. The pilot is one pod and one outcome, with success criteria agreed up front. The aim is results in days, and there are no long-term contracts. To get a fair test of any vendor:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pick a real outcome,&lt;/strong&gt; not a showcase. Choose something your team would otherwise build next quarter.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write the criteria and the gates first,&lt;/strong&gt; using the six steps above.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embed the pod with your experts.&lt;/strong&gt; The pod should join the same stand-ups and channels and work toward the same goals, so you see how it really works day to day.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inspect the evidence,&lt;/strong&gt; not just the demo: pull requests, test results, security findings and review records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agree the decision rule before you start:&lt;/strong&gt; scale, adjust or stop. Add pods only when results build up.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Paying by the hour makes sense when you're buying exploration. Paying a fixed fee makes sense when you're buying a result you can describe, test and accept. Most organisations need both: T&amp;amp;M or time-boxed work to find the answer, then fixed-fee pods to build it. As AI changes how code gets written, outcome pricing that includes verification is the most direct way to make sure you pay for software that works.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Talk to an engineering lead →&lt;/strong&gt; &lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;https://calidadinfotech.com/contact-us&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is a fixed-fee pod more expensive than time-and-materials?
&lt;/h3&gt;

&lt;p&gt;The rate may look higher per cycle because the vendor carries the overrun risk and has to price it in. What matters is the total cost of an accepted outcome, including rework, your management time and defects found after release. Compare proposals on that basis, not on hourly rates.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can you mix fixed-fee and T&amp;amp;M in one engagement?
&lt;/h3&gt;

&lt;p&gt;Yes, and that's common. Teams often time-box discovery or support work on hours, then move a defined build to a fixed fee once its outcome and acceptance criteria are clear. The contract should state which work falls under which model.&lt;/p&gt;

&lt;h3&gt;
  
  
  What happens if a fixed-fee pod misses the agreed outcome?
&lt;/h3&gt;

&lt;p&gt;That depends on the contract. The usual principle is that work failing the agreed acceptance criteria gets fixed within the fee. Short cycles limit the exposure on both sides, and a pilot with a pre-agreed decision rule lets you stop before committing further.&lt;/p&gt;

&lt;h3&gt;
  
  
  How long should a fixed-fee cycle be?
&lt;/h3&gt;

&lt;p&gt;Short enough that both sides can estimate it honestly and review real software at the end. Longer cycles mean bigger estimates and more room for disagreement about scope. If you can't define an outcome for the cycle, the work probably isn't ready for a fixed fee.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do fixed-fee pods work for GCCs and long-term teams?
&lt;/h3&gt;

&lt;p&gt;They can. A pod can own a stable slice of the roadmap for a long time, with a new outcome agreed each cycle. For teams you want to direct yourself over the long run, a dedicated team or a GCC built pod by pod may fit better.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/fixed-fee-pods-vs-time-and-materials" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwaredevelopment</category>
      <category>pricing</category>
      <category>engineeringpods</category>
      <category>outsourcing</category>
    </item>
    <item>
      <title>Calidad Software: Why We Chose Quality</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Sun, 22 Nov 2026 11:21:24 +0000</pubDate>
      <link>https://dev.to/samaythakkar/calidad-software-why-we-chose-quality-4818</link>
      <guid>https://dev.to/samaythakkar/calidad-software-why-we-chose-quality-4818</guid>
      <description>&lt;p&gt;Calidad is Spanish for "quality", and Calidad Infotech is named after it on purpose. We are an AI-augmented software engineering company: AI writes much of the code, and our engineers make it right. Every release goes through tests, security checks and senior engineer review before it ships, whether a person or a model wrote the change.&lt;/p&gt;

&lt;p&gt;This post covers where the name comes from, why quality matters more now that AI writes so much code, and what the name commits us to in daily engineering work.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does "calidad" mean, and why name a software company after it?
&lt;/h2&gt;

&lt;p&gt;Calidad means quality: the set of properties that let you judge how good something is.&lt;/p&gt;

&lt;p&gt;The Real Academia Española's &lt;a href="https://dle.rae.es/calidad" rel="noopener noreferrer"&gt;Diccionario de la lengua española&lt;/a&gt; traces the word to the Latin &lt;em&gt;qualitas&lt;/em&gt;. It gives several meanings. The first is the property or set of properties inherent in something that let you judge its value. Another is superiority or excellence. A third is how well a product or service matches its specified characteristics.&lt;/p&gt;

&lt;p&gt;That third meaning is the one that matters in software. Does what shipped do what was specified? Can you show it? Opinions about "good code" vary. A release that meets its specification, and comes with evidence that it does, is something you can check.&lt;/p&gt;

&lt;p&gt;We picked the name because it describes the hard part of the job. AI can write code in seconds. You still need engineers to test it, secure it and stand behind it. In the words on our home page: code is cheap now, quality isn't. AI gives us speed. Quality is the part we never hand off.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does software quality matter more now that AI writes code?
&lt;/h2&gt;

&lt;p&gt;AI now produces code faster than most teams can check it, and the research shows that gap growing.&lt;/p&gt;

&lt;p&gt;Developers use AI more each year but trust its output less. In &lt;a href="https://stackoverflow.co/company/press/archive/stack-overflow-2025-developer-survey/" rel="noopener noreferrer"&gt;Stack Overflow's 2025 Developer Survey&lt;/a&gt;, 84% of developers said they use or plan to use AI tools, up from 76% in 2024. Over the same period, the share who don't trust the accuracy of AI output rose from 31% to 46%. And 45% said debugging AI-generated code takes a lot of time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcalidad-means-quality-software-company-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcalidad-means-quality-software-company-diagram-1.svg" alt="More developers use AI tools each year, while distrust of AI output rose faster (Stack Overflow 2024 vs 2025)" width="100" height="71.42857142857143"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;More developers use AI tools each year, while distrust of AI output rose faster (Stack Overflow 2024 vs 2025)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Code that works can still be unsafe. Veracode's &lt;a href="https://www.businesswire.com/news/home/20250730694951/en/AI-Generated-Code-Poses-Major-Security-Risks-in-Nearly-Half-of-All-Development-Tasks-Veracode-Research-Reveals" rel="noopener noreferrer"&gt;2025 GenAI Code Security Report&lt;/a&gt; ran 80 coding tasks across more than 100 large language models. The models produced functional code, but it contained security vulnerabilities in 45% of cases.&lt;/p&gt;

&lt;p&gt;Faster coding can also make delivery less stable. Google's DORA research found in its 2024 report that a 25% rise in AI adoption was linked to an estimated 7.2% drop in delivery stability and a 1.5% drop in throughput (&lt;a href="https://redmonk.com/rstephens/2024/11/26/dora2024/" rel="noopener noreferrer"&gt;RedMonk's analysis of the report&lt;/a&gt;). The &lt;a href="https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report" rel="noopener noreferrer"&gt;2025 DORA report&lt;/a&gt; summed up the pattern: AI "doesn't fix a team; it amplifies what's already there."&lt;/p&gt;

&lt;p&gt;So the scarce part of software delivery has moved. Typing out code used to be the slow step. Now the slow step is proving the code is correct, secure and safe to release. A company called "quality" should work on that step.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does "AI writes the code, we make it right" mean in practice?
&lt;/h2&gt;

&lt;p&gt;Every change must pass three gates before it ships: tested, secured and reviewed. This applies whether a person or an AI wrote it.&lt;/p&gt;

&lt;p&gt;Each gate answers a different question:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Tested:&lt;/strong&gt; automated tests show the change works and hasn't broken anything that worked before.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secured:&lt;/strong&gt; security checks show the change is safe, including the dependencies it pulls in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviewed:&lt;/strong&gt; a senior engineer's review confirms the change is right for the system, not just syntactically valid.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These gates are mandatory, and the order matters. A change that fails a gate goes back to the author, whether that's an engineer or a model. Nobody gets to skip a check because a deadline is close.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcalidad-means-quality-software-company-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcalidad-means-quality-software-company-diagram-2.svg" alt="How one change, human or AI-written, moves through the three release gates" width="1345" height="336"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;How one change, human or AI-written, moves through the three release gates&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Our &lt;a href="https://calidadinfotech.com/services/quality-engineering" rel="noopener noreferrer"&gt;Quality Engineering&lt;/a&gt; practice builds this system inside a client's own pipeline. It covers AI-generated tests that engineers review, code review gates, security and regression checks, and release evidence for every release. If you want to set this up yourself, our guide on &lt;a href="https://calidadinfotech.com/blog/verify-ai-generated-code-before-production" rel="noopener noreferrer"&gt;how to verify AI-generated code before production&lt;/a&gt; walks through each gate.&lt;/p&gt;

&lt;p&gt;The same rule applies when AI is part of the product itself:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Generative AI features&lt;/strong&gt; get an evaluation set built from real user questions. It runs on every prompt, model or retrieval change, so a regression shows up before users see it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI agents&lt;/strong&gt; get scoped permissions and a full audit trail, and a person approves every risky action.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How does quality show up in the way Calidad teams work?
&lt;/h2&gt;

&lt;p&gt;Quality is part of how each team is set up and how work moves. It isn't a testing phase at the end.&lt;/p&gt;

&lt;p&gt;Four working beliefs run through our teams:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;We design before we scale.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;We automate before we expand.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;We validate early, not late.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;We own what we ship.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most quality problems start with a hand-off, so our engineers work inside your team. They join your subject-matter experts in the same stand-ups and channels and work to the same goals. Your experts know the business, and our engineers know how to build it. Nothing gets lost passing through specs, tickets and middlemen.&lt;/p&gt;

&lt;p&gt;On long-running &lt;a href="https://calidadinfotech.com/engineering/dedicated-teams" rel="noopener noreferrer"&gt;Dedicated Teams&lt;/a&gt;, the rules are written down and agreed up front. They cover code review, tests, how AI tools are used, and the definition of done, and they are checked every sprint. A delivery lead is accountable for pace and quality. This matters because AI-assisted output varies from one person to the next, and review can easily become the bottleneck.&lt;/p&gt;

&lt;p&gt;Here is how this differs from traditional outsourcing, based on our &lt;a href="https://calidadinfotech.com/why-calidad" rel="noopener noreferrer"&gt;Why Calidad&lt;/a&gt; comparison:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Traditional outsourcing&lt;/th&gt;
&lt;th&gt;Calidad&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;What you pay for&lt;/td&gt;
&lt;td&gt;Hours and headcount&lt;/td&gt;
&lt;td&gt;Agreed outcomes, in fixed-fee pods&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Who does the work&lt;/td&gt;
&lt;td&gt;Contractors on the other side of a hand-off&lt;/td&gt;
&lt;td&gt;Engineers embedded with your experts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quality&lt;/td&gt;
&lt;td&gt;A testing phase at the end&lt;/td&gt;
&lt;td&gt;Tests, security checks and review on every release&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Use of AI&lt;/td&gt;
&lt;td&gt;Ad hoc, tool by tool&lt;/td&gt;
&lt;td&gt;Built into how every pod delivers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How you start&lt;/td&gt;
&lt;td&gt;A long contract up front&lt;/td&gt;
&lt;td&gt;A paid pilot, no long-term contracts&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What proof can you see before you commit?
&lt;/h2&gt;

&lt;p&gt;You get a paid pilot: one pod working on one outcome, with success criteria agreed up front. You judge the result on working software, not on a pitch.&lt;/p&gt;

&lt;p&gt;Every engagement follows the same four steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Listen:&lt;/strong&gt; our engineers start by sitting with your experts to learn the domain and agree on the outcome.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prove:&lt;/strong&gt; the pilot runs, with AI doing much of the heavy lifting, and produces working software in days rather than weeks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Own:&lt;/strong&gt; if the pilot meets its criteria, a dedicated pod takes ownership of a slice of your roadmap, with every release going through the same three gates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale:&lt;/strong&gt; you add pods, capabilities or managed capacity only as results build up.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There are no long-term contracts. Clients stay because the work holds up, not because they're locked in. Our post on &lt;a href="https://calidadinfotech.com/blog/paid-pilot-software-vendor-success-criteria" rel="noopener noreferrer"&gt;what a paid software vendor pilot needs&lt;/a&gt; explains how to scope the pilot and make the call to scale or stop.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcalidad-means-quality-software-company-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fcalidad-means-quality-software-company-diagram-3.svg" alt="The four phases of a Calidad engagement, from first conversation to scaling" width="100" height="48.37369005219276"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The four phases of a Calidad engagement, from first conversation to scaling&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here is one example. An e-commerce platform expanding into new regions had growing release delays and inconsistent data flows. We started with a focused cloud and platform maturity assessment. Then we ran a consulting-led pilot with the client's own team to redesign the architecture and delivery workflows. The result was more predictable releases, stronger data governance and a foundation that can scale with the business.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who is Calidad Infotech for?
&lt;/h2&gt;

&lt;p&gt;We work with CTOs, VPs of Engineering and product leaders at enterprises, product companies and Global Capability Centers (GCCs). Our clients are in the US, UK, Europe, Singapore and Africa. Our teams are in Ahmedabad and Bengaluru, India.&lt;/p&gt;

&lt;p&gt;We work in five ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Product Engineering Pods:&lt;/strong&gt; a full product team that owns a slice of your roadmap.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quality Engineering:&lt;/strong&gt; release gates for AI-written code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GCC Enablement:&lt;/strong&gt; setting up a capability center in India one pod at a time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Platform Modernization:&lt;/strong&gt; moving legacy systems to cloud-native platforms without downtime.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dedicated Teams:&lt;/strong&gt; long-term engineers who work in your time zone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our consultants also advise on AI strategy, architecture, DevSecOps, cloud migrations, data governance and cloud costs, and then stay to build what they recommend.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Calidad means quality, and we chose the name because it describes the part of software work AI hasn't made easy. AI made code cheap and fast to write. Making sure that code is correct, secure and safe to release still takes engineers who are accountable for it. Our three gates, embedded teams and pilot-first engagements are how we put that into practice.&lt;/p&gt;

&lt;p&gt;If you're shipping more AI-written code and want proof that each release holds up, &lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;talk to an engineering lead →&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is Calidad Infotech a testing company?
&lt;/h3&gt;

&lt;p&gt;No. We're an AI-augmented software engineering company. We build products, platforms, data systems and AI features. Quality engineering is how every one of our pods ships work: tests, security checks and senior review on each release. It isn't a separate testing service.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do your engineers use AI to write code?
&lt;/h3&gt;

&lt;p&gt;Yes. AI is built into how every pod delivers, and that's where most of our speed comes from. Engineers stay accountable for everything that ships. A change written by AI goes through the same three gates as a change written by a person.&lt;/p&gt;

&lt;h3&gt;
  
  
  How does an engagement with Calidad start?
&lt;/h3&gt;

&lt;p&gt;With a paid pilot: one pod, one outcome, and success criteria agreed before work begins. When you get in touch, an engineering lead replies within 24 hours and has a focused call with you to agree the outcome. There are no long-term contracts.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where are Calidad's teams based, and can they work in our time zone?
&lt;/h3&gt;

&lt;p&gt;Our engineering teams are in Ahmedabad and Bengaluru, India, and we work with clients in the US, UK, Europe, Singapore and Africa. Dedicated engineers join your team for the long term and work in your time zone, with a delivery lead accountable for the team.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do you keep AI features inside our product reliable?
&lt;/h3&gt;

&lt;p&gt;We treat an LLM feature like any other product feature: it gets a spec, a test suite and a budget. That means an evaluation set built from real user questions and run on every change, guardrails on inputs and outputs, and cost and latency targets for each request.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/calidad-means-quality-software-company" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwarequality</category>
      <category>aigeneratedcode</category>
      <category>qualityengineering</category>
      <category>calidadinfotech</category>
    </item>
    <item>
      <title>Is QA Dead in the Age of AI Coding?</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Sat, 21 Nov 2026 13:01:24 +0000</pubDate>
      <link>https://dev.to/samaythakkar/is-qa-dead-in-the-age-of-ai-coding-397o</link>
      <guid>https://dev.to/samaythakkar/is-qa-dead-in-the-age-of-ai-coding-397o</guid>
      <description>&lt;p&gt;No, QA isn't dead. What's ending is manual checking at the end of a sprint. When AI writes much of the code, someone still has to prove each change works. The job moves from finding bugs by hand to designing the tests, review gates, security checks and release evidence that every change must pass before it ships.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is QA dead now that AI writes so much of the code?
&lt;/h2&gt;

&lt;p&gt;No. AI has increased the amount of code that needs checking, and the research shows that unchecked AI output makes delivery less stable.&lt;/p&gt;

&lt;p&gt;Look at what's happening on engineering teams:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Adoption is high, but trust is low.&lt;/strong&gt; In the &lt;a href="https://stackoverflow.co/company/press/archive/stack-overflow-2025-developer-survey/" rel="noopener noreferrer"&gt;Stack Overflow 2025 Developer Survey&lt;/a&gt;, 84% of developers said they use or plan to use AI tools. 46% said they don't trust the accuracy of the output, up from 31% the year before.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stability drops.&lt;/strong&gt; Google's 2024 DORA research estimated that a 25% increase in AI adoption goes with a 7.2% decrease in delivery stability and a 1.5% decrease in throughput (&lt;a href="https://redmonk.com/rstephens/2024/11/26/dora2024/" rel="noopener noreferrer"&gt;RedMonk summary&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security flaws get through.&lt;/strong&gt; &lt;a href="https://www.veracode.com/resources/analyst-reports/2025-genai-code-security-report/" rel="noopener noreferrer"&gt;Veracode's 2025 GenAI Code Security Report&lt;/a&gt; found that AI-generated code introduced security flaws in 45% of its tests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Maintainability gets worse.&lt;/strong&gt; &lt;a href="https://www.gitclear.com/ai_assistant_code_quality_2025_research" rel="noopener noreferrer"&gt;GitClear's analysis&lt;/a&gt; of 211 million changed lines found more duplicated code blocks and more short-term churn as AI assistants spread.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fis-qa-dead-ai-coding-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fis-qa-dead-ai-coding-diagram-1.svg" alt="Share of developers who distrust AI output accuracy, Stack Overflow surveys 2024 vs 2025" width="100" height="71.42857142857143"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Share of developers who distrust AI output accuracy, Stack Overflow surveys 2024 vs 2025&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So the need for QA isn't going away. The old operating model is: a separate testing phase at the end, people clicking through regression suites, and bugs reported after the code is written. That model can't keep up when code arrives faster than anyone can check it by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does AI-generated testing do well, and what does it miss?
&lt;/h2&gt;

&lt;p&gt;AI is good at writing a lot of tests quickly. It's weak at knowing what the software is supposed to do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where it does well:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Drafting unit tests at scale.&lt;/strong&gt; In a &lt;a href="https://arxiv.org/pdf/2603.13724" rel="noopener noreferrer"&gt;study of 2,232 test-related commits&lt;/a&gt;, AI agents wrote 16.4% of all commits that added tests. Their tests had higher assertion density and coverage gains similar to tests written by people.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Individual test quality.&lt;/strong&gt; A &lt;a href="https://arxiv.org/pdf/2608.15188" rel="noopener noreferrer"&gt;separate study&lt;/a&gt; checked Claude-written Python tests with mutation testing and historical-revert testing. They were broadly comparable to tests written by people.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Filling coverage gaps&lt;/strong&gt; in boilerplate, edge-case inputs and well-specified functions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Where it misses:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Intent.&lt;/strong&gt; A test generated from the code checks what the code &lt;em&gt;does&lt;/em&gt;, not what it &lt;em&gt;should&lt;/em&gt; do. If one flawed prompt produced both the code and the test, the test confirms the bug.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope in complex changes.&lt;/strong&gt; The same commit study found that AI tests stayed more localized in complex contributions, so they cover the changed lines and miss the behaviour around them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Coverage that proves nothing.&lt;/strong&gt; Coverage only shows that code ran, not that anything checked the result. One &lt;a href="https://arxiv.org/pdf/2103.08480" rel="noopener noreferrer"&gt;mutation-testing study&lt;/a&gt; found that 14% of 2,041 methods were "pseudo-tested": tests ran them, but no assertion would fail if their logic broke. Generated suites aimed at coverage targets can make this problem worse.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Business rules, security abuse cases and cross-system flows&lt;/strong&gt;, which depend on knowledge that isn't in the repo.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How does the QA role shift from finding bugs to designing quality systems?
&lt;/h2&gt;

&lt;p&gt;The quality engineer stops being the last checkpoint. They now own the automated checks that every change has to pass, whoever or whatever wrote it.&lt;/p&gt;

&lt;p&gt;In practice the system has four parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Executable acceptance criteria.&lt;/strong&gt; Requirements become tests before or alongside the code, written with the subject-matter experts who know what "correct" means.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pipeline gates.&lt;/strong&gt; Every pull request runs tests, secrets scanning, static analysis and dependency checks, and failures block the merge. Our guide to &lt;a href="https://calidadinfotech.com/blog/security-gates-cicd-ai-written-code" rel="noopener noreferrer"&gt;CI/CD security gates for AI-written code&lt;/a&gt; explains how to set these up and enforce them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review rules.&lt;/strong&gt; Required code-owner review, with extra attention on AI-generated tests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Release evidence.&lt;/strong&gt; A record of what ran, what passed and who approved, so you can show why a release was safe to ship.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fis-qa-dead-ai-coding-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fis-qa-dead-ai-coding-diagram-2.svg" alt="Who hands what to whom as one AI-assisted change moves from pull request to release" width="1096" height="581"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Who hands what to whom as one AI-assisted change moves from pull request to release&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;At Calidad this is the &lt;a href="https://calidadinfotech.com/services/quality-engineering" rel="noopener noreferrer"&gt;Quality Engineering&lt;/a&gt; service: AI-generated tests that people review, code review gates, security and regression checks, and release evidence. Every release passes three gates. Tests show it works, security checks show it's safe, and a senior engineer's review shows it's right. Nothing ships without all three, whether a person or an AI wrote the change.&lt;/p&gt;

&lt;h2&gt;
  
  
  What skills do quality engineers need when AI is writing the code?
&lt;/h2&gt;

&lt;p&gt;They need more engineering skill and more judgement about risk, and they spend less time writing scripts by hand.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reading code and diffs.&lt;/strong&gt; Reviewing a pull request quickly enough to spot untested behaviour.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Oracle design.&lt;/strong&gt; Deciding what the right answer is and stating it as a specific assertion, not "it didn't crash."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mutation testing.&lt;/strong&gt; Measuring whether a suite actually catches faults, rather than trusting coverage percentages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pipeline engineering.&lt;/strong&gt; Writing CI configuration, choosing what blocks a merge and keeping suites fast enough to run on every change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security basics.&lt;/strong&gt; Common vulnerability classes, dependency risk and secrets handling. The Veracode numbers above are why this is now part of the job.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Directing and reviewing AI tools.&lt;/strong&gt; Prompting for tests, then rejecting weak ones.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delivery metrics.&lt;/strong&gt; Reading change failure rate and recovery time together with deployment frequency. Our post on &lt;a href="https://calidadinfotech.com/blog/dora-metrics-when-ai-writes-code" rel="noopener noreferrer"&gt;DORA metrics when AI writes your code&lt;/a&gt; shows how.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Domain knowledge.&lt;/strong&gt; Working with business experts on acceptance criteria. AI can't supply this.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your product has LLM features of its own, add evaluation sets: scored test questions that run on every prompt or model change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who reviews the tests that AI writes?
&lt;/h2&gt;

&lt;p&gt;A person who didn't produce the code under test reviews them, usually the quality engineer or the module's code owner. A mutation tool then checks whether the tests catch real faults.&lt;/p&gt;

&lt;p&gt;Rules that work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Separate author and verifier.&lt;/strong&gt; Never merge code and its only tests from the same AI session without independent review.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check every assertion.&lt;/strong&gt; Does it compare a specific expected value? Does it come from the requirement or just from the current output?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Look for missing negative paths.&lt;/strong&gt; Invalid input, permission failures, timeouts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Treat surviving mutants as a review finding.&lt;/strong&gt; If you can break the logic and the test still passes, the test goes back for revision.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quarantine flaky tests.&lt;/strong&gt; A test that sometimes fails teaches people to ignore red builds. Fix it or delete it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fis-qa-dead-ai-coding-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fis-qa-dead-ai-coding-diagram-3.svg" alt="Lifecycle of one AI-written test from draft to merge, quarantine or retirement" width="555" height="642"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Lifecycle of one AI-written test from draft to merge, quarantine or retirement&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How should you restructure a QA team for AI-assisted delivery?
&lt;/h2&gt;

&lt;p&gt;Put quality engineers inside the delivery teams, make them owners of the gates, and measure them on escaped defects and change failure rate instead of test cases executed.&lt;/p&gt;

&lt;p&gt;A practical sequence:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Audit where QA time goes.&lt;/strong&gt; Find how much goes to manual regression that could be automated.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automate the regression suite.&lt;/strong&gt; Let AI draft the tests and have people review them, with the rules above.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embed quality in each team.&lt;/strong&gt; A separate QA department that receives finished work recreates the end-of-cycle phase. In Calidad's &lt;a href="https://calidadinfotech.com/services/product-engineering-pods" rel="noopener noreferrer"&gt;Product Engineering Pods&lt;/a&gt;, QA and automation sit in the same team as the lead, engineers, DevOps and product.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name gate owners.&lt;/strong&gt; Each pipeline check needs someone responsible for its rules, its false positives and its speed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Change the scorecard.&lt;/strong&gt; Test cases executed and bugs logged reward activity. Escaped defects, change failure rate and recovery time reward outcomes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pilot on one team&lt;/strong&gt; before rolling out, and compare its stability metrics against teams that haven't changed.&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Responsibility&lt;/th&gt;
&lt;th&gt;Old model&lt;/th&gt;
&lt;th&gt;AI-assisted model&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;When testing happens&lt;/td&gt;
&lt;td&gt;Phase at the end of the sprint&lt;/td&gt;
&lt;td&gt;On every pull request&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Who writes tests&lt;/td&gt;
&lt;td&gt;QA, by hand&lt;/td&gt;
&lt;td&gt;AI drafts, people review&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What QA owns&lt;/td&gt;
&lt;td&gt;Test cases and bug reports&lt;/td&gt;
&lt;td&gt;Gates, rules and release evidence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security&lt;/td&gt;
&lt;td&gt;Separate, often late&lt;/td&gt;
&lt;td&gt;Scans block the merge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Success measure&lt;/td&gt;
&lt;td&gt;Tests run, bugs found&lt;/td&gt;
&lt;td&gt;Escaped defects, change failure rate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Team placement&lt;/td&gt;
&lt;td&gt;Separate QA group&lt;/td&gt;
&lt;td&gt;Inside each delivery team&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;AI made code cheap and fast to produce, but it didn't make it correct. The QA function survives by changing its job: less checking by hand, more designing the system that proves every change works. That means human-reviewed tests, enforced gates, security checks and release evidence. Teams that make this change get AI's speed without the drop in stability.&lt;/p&gt;

&lt;p&gt;If you want to see how this works on your own codebase, Calidad starts with a paid pilot: one pod, one outcome and success criteria agreed up front. &lt;strong&gt;&lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;Talk to an engineering lead →&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Can AI replace exploratory testing?
&lt;/h3&gt;

&lt;p&gt;Not fully. AI can suggest scenarios and generate inputs. Exploratory testing depends on someone noticing behaviour that seems wrong for the business, and that needs domain knowledge AI doesn't have. Keep it as a focused human activity on high-risk flows, and turn what you find into automated tests.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is mutation testing, and why does it matter for AI-written tests?
&lt;/h3&gt;

&lt;p&gt;Mutation testing makes small deliberate changes to your code, such as flipping a condition, and checks whether your tests fail. If they still pass, the tests run the code without actually verifying it. That makes it a better measure than line coverage for judging AI-generated suites, which can reach high coverage with weak assertions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Should AI-written code get different review rules from human-written code?
&lt;/h3&gt;

&lt;p&gt;The gates should be the same: tests, security checks and senior review on every change. What changes is where reviewers look. With AI-written changes, check that the tests come from the requirement and not the generated code, check dependencies the AI added, and look for duplicated logic.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do we know if our quality system is working?
&lt;/h3&gt;

&lt;p&gt;Track escaped defects alongside the DORA stability metrics, change failure rate and time to recover, not just deployment frequency. If you ship more often while failure rate and recovery time stay flat or improve, the gates are working. If speed rises and stability falls, AI output is getting through unchecked.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do we still need dedicated quality engineers if developers write the tests?
&lt;/h3&gt;

&lt;p&gt;Usually yes, but in a different role. Someone has to own the gate rules, review AI-generated tests independently, keep suites fast and reliable, and read the stability metrics. Without a named owner, those jobs tend to get done by no one.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/is-qa-dead-ai-coding" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>qa</category>
      <category>aicoding</category>
      <category>softwaretesting</category>
      <category>qualityengineering</category>
    </item>
    <item>
      <title>Privacy by Design in Software Engineering</title>
      <dc:creator>Samay Thakkar</dc:creator>
      <pubDate>Sat, 14 Nov 2026 12:45:47 +0000</pubDate>
      <link>https://dev.to/samaythakkar/privacy-by-design-in-software-engineering-1mhd</link>
      <guid>https://dev.to/samaythakkar/privacy-by-design-in-software-engineering-1mhd</guid>
      <description>&lt;p&gt;Privacy by design in software engineering means building data protection into how a system is specified, coded, tested and run, instead of adding it after launch. Day to day, that means four things: collect only the fields a feature needs, delete data on a schedule, limit which people and services can read it, and block any release that breaks those rules.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does privacy by design mean for a software engineering team?
&lt;/h2&gt;

&lt;p&gt;For an engineering team, privacy by design means privacy is a set of requirements with tests. It sits alongside latency or uptime, not in a policy document nobody reads.&lt;/p&gt;

&lt;p&gt;Ann Cavoukian developed the idea &lt;a href="https://www.thesedonaconference.org/sites/default/files/conference_papers/Recommended%20[08b]%20Privacy%20By%20Design_Cavoukian.pdf" rel="noopener noreferrer"&gt;in the 1990s as seven foundational principles&lt;/a&gt;. The first two are "proactive not reactive" and "privacy as the default setting". Regulators have since turned the idea into law:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;EU:&lt;/strong&gt; Article 25 GDPR requires controllers to &lt;a href="https://fpf.org/blog/new-fpf-report-unlocking-data-protection-by-design-and-by-default-lessons-from-the-enforcement-of-article-25-gdpr/" rel="noopener noreferrer"&gt;build data protection principles into processing through technical and organisational measures, and to process only the personal data each specific purpose needs&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UK:&lt;/strong&gt; The ICO says you &lt;a href="https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/accountability-and-governance/guide-to-accountability-and-governance/data-protection-by-design-and-by-default/" rel="noopener noreferrer"&gt;must build data protection in from the design stage and throughout the lifecycle&lt;/a&gt;, which runs all the way to decommissioning. The guidance was updated on 5 February 2026 for the Data (Use and Access) Act 2025.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;US (California):&lt;/strong&gt; Under the CCPA, &lt;a href="https://www.insideprivacy.com/ccpa/california-privacy-protection-agency-issues-enforcement-advisory-on-data-minimization/" rel="noopener noreferrer"&gt;collecting, using, keeping and sharing personal information must be "reasonably necessary and proportionate"&lt;/a&gt; to the purpose.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Standards:&lt;/strong&gt; Since February 2023, &lt;a href="https://www.pwc.ch/en/insights/regulation/welcome-to-the-new-iso-31700-standard-for-privacy-by-design.html" rel="noopener noreferrer"&gt;ISO 31700 has set out privacy by design for consumer goods and services&lt;/a&gt;. It is guidance, not a standard you certify against.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The ICO also publishes &lt;a href="https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/designing-products-that-protect-privacy/privacy-in-the-product-design-lifecycle/" rel="noopener noreferrer"&gt;privacy guidance for each stage of the product lifecycle&lt;/a&gt;, written for software engineers, QA testers and product managers. It's a good place for your team to start.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which privacy principles translate into engineering decisions?
&lt;/h2&gt;

&lt;p&gt;Nearly every GDPR &lt;a href="https://gdpr-text.com/read/article-5/" rel="noopener noreferrer"&gt;Article 5 principle&lt;/a&gt; maps to a concrete design or pipeline decision.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Principle&lt;/th&gt;
&lt;th&gt;Engineering decision&lt;/th&gt;
&lt;th&gt;How you prove it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Purpose limitation&lt;/td&gt;
&lt;td&gt;Every personal field is tagged with the purpose it serves&lt;/td&gt;
&lt;td&gt;Schema annotations, data catalog&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data minimisation&lt;/td&gt;
&lt;td&gt;Store derived values (age band, country) instead of raw ones&lt;/td&gt;
&lt;td&gt;Migration review, field-level justification&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Accuracy&lt;/td&gt;
&lt;td&gt;One master record per customer, with merge rules&lt;/td&gt;
&lt;td&gt;Match and survivorship rules, data quality checks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Storage limitation&lt;/td&gt;
&lt;td&gt;Retention period set per data class, enforced by jobs&lt;/td&gt;
&lt;td&gt;Deletion job logs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Integrity and confidentiality&lt;/td&gt;
&lt;td&gt;Least-privilege access, encryption, no production data in test&lt;/td&gt;
&lt;td&gt;Access reviews, pipeline scan results&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Accountability&lt;/td&gt;
&lt;td&gt;Each release records which privacy checks ran&lt;/td&gt;
&lt;td&gt;Release evidence&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How do you design data models that collect only what you need?
&lt;/h2&gt;

&lt;p&gt;To collect only what you need, start from the feature's purpose and justify every personal field before it reaches a migration.&lt;/p&gt;

&lt;p&gt;The European Data Protection Board's guidance lists &lt;a href="https://gdpr-text.com/read/article-5/" rel="noopener noreferrer"&gt;data minimisation elements&lt;/a&gt; that work well as review questions. Can you avoid processing personal data entirely? Can you limit how much you collect? Can you limit who has access? Can you show each field is relevant and necessary? In practice:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Write the purpose first.&lt;/strong&gt; A ticket that adds a personal field says what the field is for and when it stops being needed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Store the least precise value that works.&lt;/strong&gt; An age check needs "over 18", not a date of birth. Regional pricing needs a country, not a street address.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Separate identity from behaviour.&lt;/strong&gt; Keep identifiers in one place and event data under a pseudonymous key. The EDPB recommends &lt;a href="https://gdpr-text.com/read/article-5/" rel="noopener noreferrer"&gt;pseudonymisation where identification is still needed&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tag fields in the schema.&lt;/strong&gt; Give every column holding personal data a classification, an owner and a retention class, so tools can read them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make defaults private.&lt;/strong&gt; Optional sharing, marketing and analytics consent start switched off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep real data out of development.&lt;/strong&gt; The ICO covers &lt;a href="https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/designing-products-that-protect-privacy/privacy-in-the-product-design-lifecycle/" rel="noopener noreferrer"&gt;protecting personal information in development environments&lt;/a&gt;. Use synthetic or masked fixtures.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How do you build retention, deletion and data subject requests into the system?
&lt;/h2&gt;

&lt;p&gt;Make retention and deletion features of the system with owners and tests, not manual jobs someone runs when a request arrives.&lt;/p&gt;

&lt;p&gt;GDPR requires personal data to be &lt;a href="https://gdpr-text.com/read/article-5/" rel="noopener noreferrer"&gt;kept in identifiable form for no longer than necessary&lt;/a&gt;. Rights requests under Articles 15 to 22 must be answered &lt;a href="https://gdpr-info.eu/art-12-gdpr/" rel="noopener noreferrer"&gt;without undue delay and in any event within one month&lt;/a&gt;. Every record holding personal data should follow a defined lifecycle:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fprivacy-by-design-software-engineering-diagram-1.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fprivacy-by-design-software-engineering-diagram-1.svg" alt="Lifecycle of one personal data record, from collection to erasure or anonymisation" width="671" height="510"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Lifecycle of one personal data record, from collection to erasure or anonymisation&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;To make that lifecycle real:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Store retention as configuration.&lt;/strong&gt; Each data class has a period and an action at the end (delete or anonymise). Scheduled jobs apply it and log what they did.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run one deletion service.&lt;/strong&gt; It fans out to every store: primary databases, the warehouse, search indexes, caches, logs, vector stores and third-party processors. When a team adds a store, it registers that store with the service.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan for backups.&lt;/strong&gt; Decide whether backups expire on their own schedule or get a suppression list, so a restore doesn't bring deleted records back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify identity proportionately.&lt;/strong&gt; California regulators say businesses must not demand &lt;a href="https://www.insideprivacy.com/ccpa/california-privacy-protection-agency-issues-enforcement-advisory-on-data-minimization/" rel="noopener noreferrer"&gt;information beyond what is necessary&lt;/a&gt; for consumers to exercise their rights. Match the request against data you already hold.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test deletion like any other feature.&lt;/strong&gt; Create a test user, fill every store, delete the user and check that nothing is left.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do you put privacy checks into the CI/CD pipeline and code review?
&lt;/h2&gt;

&lt;p&gt;Put privacy checks where engineers already work: as automated checks that block the build, plus a required reviewer when a change touches personal data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fprivacy-by-design-software-engineering-diagram-2.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fprivacy-by-design-software-engineering-diagram-2.svg" alt="How a pull request is routed through privacy checks before release" width="670" height="673"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;How a pull request is routed through privacy checks before release&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Useful checks to automate:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Migration linter:&lt;/strong&gt; fails when a new personal-data column has no classification or retention tag.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PII scanners:&lt;/strong&gt; catch personal data written to logs, error trackers or test fixtures.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data contracts:&lt;/strong&gt; fail the producer's build when a &lt;a href="https://calidadinfotech.com/blog/database-schema-changes-ci-cd-practices" rel="noopener noreferrer"&gt;schema change&lt;/a&gt; would break consumers or expose a field. Our &lt;a href="https://calidadinfotech.com/consulting/data-governance" rel="noopener noreferrer"&gt;Data Governance &amp;amp; MDM practice&lt;/a&gt; builds these contracts and quality SLAs into CI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New-processor check:&lt;/strong&gt; flags any analytics SDK or third-party API added to the dependency tree.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code-owner routing:&lt;/strong&gt; sends changes to personal-data paths to a named reviewer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The ICO's lifecycle guidance includes &lt;a href="https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/designing-products-that-protect-privacy/privacy-in-the-product-design-lifecycle/" rel="noopener noreferrer"&gt;pre-release privacy checks&lt;/a&gt;. Automating them means they run on every release, not just at launch.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes when AI writes the code or an LLM feature touches personal data?
&lt;/h2&gt;

&lt;p&gt;AI-written code needs the same privacy gates as human-written code. LLM features need extra controls on what data reaches the model and how long prompts are kept.&lt;/p&gt;

&lt;p&gt;AI coding assistants produce plausible code fast, and with it plausible privacy mistakes. Watch for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;logging whole request objects&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;SELECT *&lt;/code&gt; queries that pull more fields than needed&lt;/li&gt;
&lt;li&gt;new analytics libraries&lt;/li&gt;
&lt;li&gt;fixtures copied from real data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our rule: whether a person or an AI wrote the change, nothing ships without tests, security checks and a senior engineer's review. Our &lt;a href="https://calidadinfotech.com/consulting/security-devsecops" rel="noopener noreferrer"&gt;Security &amp;amp; DevSecOps practice&lt;/a&gt; builds those checks into the pipeline.&lt;/p&gt;

&lt;p&gt;LLM features add a request path where personal data can leak:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fprivacy-by-design-software-engineering-diagram-3.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcalidadinfotech.com%2Fblog%2Fimg%2Fprivacy-by-design-software-engineering-diagram-3.svg" alt="Where permission checks, PII redaction and retention apply in one LLM request" width="1177" height="601"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Where permission checks, PII redaction and retention apply in one LLM request&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Each step in that path does a specific job:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Retrieval enforces the user's permissions when the query runs, so the model never sees documents the user couldn't open.&lt;/li&gt;
&lt;li&gt;Guardrails strip PII the model doesn't need before the prompt leaves your systems.&lt;/li&gt;
&lt;li&gt;Output checks make sure the answer stays grounded and shows its sources.&lt;/li&gt;
&lt;li&gt;Prompt and response logs are personal data too. They get a retention class, and the deletion service covers them and the vector index.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Our &lt;a href="https://calidadinfotech.com/engineering/generative-ai" rel="noopener noreferrer"&gt;Generative AI Apps&lt;/a&gt; work builds these steps in from the start, along with evaluation sets that run on every prompt or model change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who owns privacy decisions: engineering, data governance or legal?
&lt;/h2&gt;

&lt;p&gt;All three own part of it. Legal decides what the law requires, data governance decides who owns each dataset and who may use it, and engineering builds the controls and proves they work.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Legal and the DPO&lt;/strong&gt; interpret regulations, approve purposes and lawful bases, and sign off risk assessments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data governance&lt;/strong&gt; gives each critical dataset a named business owner and technical owner. It also maintains classification and lineage, and decides which data AI models and agents may use.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engineering&lt;/strong&gt; turns those decisions into schema tags, retention jobs, access controls and pipeline gates, and keeps the evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The common failure is handing policy over a wall. A policy engineers can't run as a check gets ignored the first time a deadline slips.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you produce privacy evidence an auditor or regulator can follow?
&lt;/h2&gt;

&lt;p&gt;Produce evidence as a by-product of delivery: every control should leave a record that's generated automatically, not rebuilt from memory before an audit.&lt;/p&gt;

&lt;p&gt;Enforcement shows why this matters. A &lt;a href="https://fpf.org/blog/new-fpf-report-unlocking-data-protection-by-design-and-by-default-lessons-from-the-enforcement-of-article-25-gdpr/" rel="noopener noreferrer"&gt;Future of Privacy Forum analysis of more than 92 cases and rulings&lt;/a&gt; found Article 25 is often enforced together with the general principles and the Article 32 security requirements. Auditors look at what your systems actually do, not your policy.&lt;/p&gt;

&lt;p&gt;Keep these records:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A data inventory:&lt;/strong&gt; a catalog of personal data fields with owner, purpose, classification and lineage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risk assessments&lt;/strong&gt; linked to the tickets and releases they cover.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Release records&lt;/strong&gt; showing which privacy checks ran, what they found and who approved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retention and deletion logs,&lt;/strong&gt; including completed rights requests and how long each took.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Access reviews&lt;/strong&gt; for production data and AI data sources.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our &lt;a href="https://calidadinfotech.com/engineering/accessibility-compliance" rel="noopener noreferrer"&gt;Accessibility &amp;amp; Compliance&lt;/a&gt; engineers work with your legal team so every release leaves evidence an auditor can follow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Privacy by design becomes engineering practice when each principle has a matching control:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a justified, tagged field in the schema&lt;/li&gt;
&lt;li&gt;a retention job with logs&lt;/li&gt;
&lt;li&gt;a deletion service that reaches every store, including vector stores&lt;/li&gt;
&lt;li&gt;a pipeline gate that blocks bad changes&lt;/li&gt;
&lt;li&gt;a release record someone can audit&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;AI makes code cheaper to write, which makes those gates more important, not less. Start with one product area: tag its personal data, build retention and deletion end to end, add the pipeline checks, then expand.&lt;/p&gt;

&lt;p&gt;If you want a team to build this alongside your engineers, starting with a paid pilot on one real outcome, &lt;a href="https://calidadinfotech.com/contact-us" rel="noopener noreferrer"&gt;talk to an engineering lead →&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is privacy by design a legal requirement or a best practice?
&lt;/h3&gt;

&lt;p&gt;In the EU and UK it's a legal requirement: Article 25 of the GDPR and UK GDPR require data protection by design and by default. In California, the CCPA requires processing to be "reasonably necessary and proportionate" to its purpose, which leads to many of the same engineering controls. ISO 31700 offers further guidance but isn't a standard you certify against.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the difference between privacy by design and privacy by default?
&lt;/h3&gt;

&lt;p&gt;Privacy by design means building data protection into a system from the start and throughout its lifecycle. Privacy by default means the system's out-of-the-box settings process only the data needed for each purpose. For example, optional sharing and marketing consent start switched off.&lt;/p&gt;

&lt;h3&gt;
  
  
  How long do we have to respond to a GDPR data subject request?
&lt;/h3&gt;

&lt;p&gt;Article 12 GDPR requires a response without undue delay and in any event within one month of receiving the request. That's why deletion and access should run through an automated service that reaches every data store, not a manual process.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do deletion requests apply to LLM logs and vector databases?
&lt;/h3&gt;

&lt;p&gt;If prompts, responses or embeddings contain or link to personal data, treat them as personal data stores. Give them a retention class and include them in your deletion service, so a rights request reaches them along with your primary databases.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can AI coding assistants be used on systems that handle personal data?
&lt;/h3&gt;

&lt;p&gt;Yes, if their output goes through the same gates as any other change: tests, security and PII scans, and a senior engineer's review. Also set rules on what code and data the assistant may see, and keep production data out of prompts and test fixtures.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article first appeared on &lt;a href="https://calidadinfotech.com/blog/privacy-by-design-software-engineering" rel="noopener noreferrer"&gt;Calidad Infotech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>privacybydesign</category>
      <category>gdpr</category>
      <category>dataprotection</category>
      <category>devsecops</category>
    </item>
  </channel>
</rss>
