<?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: Krlz</title>
    <description>The latest articles on DEV Community by Krlz (@krlz).</description>
    <link>https://dev.to/krlz</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%2F947301%2Fa9309253-8434-4599-9db3-27864ef23a92.jpg</url>
      <title>DEV Community: Krlz</title>
      <link>https://dev.to/krlz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/krlz"/>
    <language>en</language>
    <item>
      <title>The AI Refusal Button Is Broken. Now What?</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Tue, 01 Dec 2026 16:16:15 +0000</pubDate>
      <link>https://dev.to/krlz/the-ai-refusal-button-is-broken-now-what-4b3b</link>
      <guid>https://dev.to/krlz/the-ai-refusal-button-is-broken-now-what-4b3b</guid>
      <description>&lt;p&gt;Something interesting is happening in AI, and it isn't another chatbot release.&lt;/p&gt;

&lt;p&gt;Developers are removing safety restrictions from language models. Autonomous agents are coordinating cybersecurity tools. Open-source projects are disappearing while copies continue circulating.&lt;/p&gt;

&lt;p&gt;What should software engineers make of all this? Not panic. Curiosity, skepticism, and preparation.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. You can teach an AI not to say no
&lt;/h2&gt;

&lt;p&gt;If you've used an LLM, you've probably encountered the familiar refusal: &lt;em&gt;I'm sorry, but I cannot assist with that request.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Sometimes that refusal is justified. Sometimes it gets in the way of perfectly legitimate research.&lt;/p&gt;

&lt;p&gt;In 2024, researchers published a fascinating paper: &lt;a href="https://arxiv.org/abs/2406.11717" rel="noopener noreferrer"&gt;Refusal in Language Models Is Mediated by a Single Direction&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;They found that refusal behavior in several language models was strongly associated with a particular direction in their internal representations.&lt;/p&gt;

&lt;p&gt;This helped popularize &lt;strong&gt;abliteration&lt;/strong&gt;, a technique that modifies a model to weaken its refusal behavior.&lt;/p&gt;

&lt;p&gt;Think of it as the difference between persuading a security guard to let you through and modifying the mechanism that tells the guard when to stop you. The analogy isn't perfect, but it captures the difference between prompt-based jailbreaking and modifying model weights.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Jailbreaking&lt;/th&gt;
&lt;th&gt;Abliteration&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Manipulates the input&lt;/td&gt;
&lt;td&gt;Modifies the model&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Usually temporary&lt;/td&gt;
&lt;td&gt;Persists in the modified checkpoint&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Leaves weights unchanged&lt;/td&gt;
&lt;td&gt;Changes internal representations or weights&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;An abliterated model isn't necessarily smarter. It's simply less inclined to refuse. And that distinction matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Freedom from refusals isn't freedom from hallucinations
&lt;/h2&gt;

&lt;p&gt;The local AI community has an interesting debate: can we remove refusals without damaging the model's other abilities?&lt;/p&gt;

&lt;p&gt;Some enthusiasts want fewer interruptions when writing fiction, researching controversial subjects, or experimenting with software. Others worry that excessive compliance makes models less willing to challenge false assumptions.&lt;/p&gt;

&lt;p&gt;A model that always agrees with you isn't necessarily a better model. It might just be a more convincing source of bad information.&lt;/p&gt;

&lt;p&gt;Research into refusal mechanisms is therefore about more than censorship. It is also about understanding how reasoning, uncertainty, and learned behavior interact.&lt;/p&gt;

&lt;p&gt;Explore the community discussions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.reddit.com/r/LocalLLaMA/search/?q=abliteration&amp;amp;restrict_sr=1" rel="noopener noreferrer"&gt;r/LocalLLaMA: discussions about abliteration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.reddit.com/r/LocalLLaMA/search/?q=abliterated%20hallucinations&amp;amp;restrict_sr=1" rel="noopener noreferrer"&gt;r/LocalLLaMA: discussions about hallucinations and abliterated models&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Community experiences are useful, but anecdotes aren't controlled benchmarks.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Enter ARTEX: when the chatbot gets a terminal
&lt;/h2&gt;

&lt;p&gt;ARTEX represents a category of software called &lt;strong&gt;Agentic Offensive Frameworks (AOFs)&lt;/strong&gt;: systems that coordinate security tools using language models as reasoning engines.&lt;/p&gt;

&lt;p&gt;The distinction is simple. A chatbot produces an answer. An agent can act on an answer, observe the result, and decide what to do next.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Objective
    |
    v
AI reasoning and orchestration
    |
    v
Permission-controlled tools
    |
    v
Observations and feedback
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This architecture isn't unique to cybersecurity. Coding assistants, research agents, and workflow automation systems use similar patterns.&lt;/p&gt;

&lt;p&gt;The security concern is what happens when adaptive automation is applied to unauthorized activity. Conventional techniques become cheaper to coordinate, easier to repeat, and potentially faster to execute.&lt;/p&gt;

&lt;p&gt;That does not mean every agent is an elite hacker or that every suspicious request comes from ARTEX. Autonomous systems can be noisy, unreliable, and expensive in unexpected ways.&lt;/p&gt;

&lt;p&gt;For further reading, see &lt;a href="https://www.microsoft.com/en-us/security/blog/2026/11/25/what-defenders-need-to-know-artex-agentic-ai-framework-threat-actors-abuse/" rel="noopener noreferrer"&gt;Microsoft Security's ARTEX coverage&lt;/a&gt; and &lt;a href="https://www.reddit.com/r/cybersecurity/search/?q=ARTEX&amp;amp;restrict_sr=1" rel="noopener noreferrer"&gt;community discussions on r/cybersecurity&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  4. The internet doesn't have an undo button
&lt;/h2&gt;

&lt;p&gt;Another interesting development is the debate around Heretic, a project associated with automated refusal removal, and the withdrawal of publicly available offensive AI tooling.&lt;/p&gt;

&lt;p&gt;The community raises an uncomfortable question: does removing a repository eliminate a capability, or simply make its development less visible?&lt;/p&gt;

&lt;p&gt;Once software and research are distributed, deleting the original repository cannot guarantee that every copy disappears.&lt;/p&gt;

&lt;p&gt;There is another risk: unofficial copies may contain malicious modifications. A container, dependency, or agent extension can compromise the very developer who installs it.&lt;/p&gt;

&lt;p&gt;This is a reminder that AI security is also ordinary software supply-chain security.&lt;/p&gt;

&lt;p&gt;See the &lt;a href="https://www.reddit.com/r/LocalLLaMA/search/?q=Heretic&amp;amp;restrict_sr=1" rel="noopener noreferrer"&gt;Heretic community discussions&lt;/a&gt; and &lt;a href="https://labs.cloudsecurityalliance.org/" rel="noopener noreferrer"&gt;Cloud Security Alliance Labs&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  5. Your system doesn't care whether the attacker is human
&lt;/h2&gt;

&lt;p&gt;If an API exposes another customer's records because of broken authorization, the vulnerability exists regardless of whether a human or an AI discovers it.&lt;/p&gt;

&lt;p&gt;The same applies to leaked credentials, excessive cloud permissions, exposed databases, and vulnerable dependencies.&lt;/p&gt;

&lt;p&gt;What agentic automation changes is the economics of finding and abusing those mistakes.&lt;/p&gt;

&lt;p&gt;As developers, we should be asking better questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Does every API enforce object-level and tenant-level authorization?&lt;/li&gt;
&lt;li&gt;Can a compromised container access more cloud resources than it needs?&lt;/li&gt;
&lt;li&gt;Are deployment credentials short-lived and properly isolated?&lt;/li&gt;
&lt;li&gt;Can an agent execute sensitive actions without independent authorization?&lt;/li&gt;
&lt;li&gt;Would our monitoring detect unusual behavior before significant damage occurs?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These aren't futuristic problems. They're engineering problems we already know how to address.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://owasp.org/projects/api-security-project" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fowasp.org%2Fimages%2Fog%2Fowasp-default.png" height="420" class="m-0" width="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://owasp.org/projects/api-security-project" rel="noopener noreferrer" class="c-link"&gt;
            OWASP API Security Project | OWASP Foundation
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            What is API Security?A foundational element of innovation in today’s app-driven world is the API. From banks, retail and transportation to IoT, autonomous vehicles and smart cities, APIs are a…
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fowasp.org%2Fimages%2Flogos%2Ffavicon-owasp.svg" width="32" height="32"&gt;
          owasp.org
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;h2&gt;
  
  
  6. Never make the LLM your security boundary
&lt;/h2&gt;

&lt;p&gt;If you're building AI agents, MCP servers, or AI-powered developer tools, remember that the model is not your authorization layer.&lt;/p&gt;

&lt;p&gt;A system prompt saying &lt;em&gt;never delete production data&lt;/em&gt; is not equivalent to a database role that cannot delete production data.&lt;/p&gt;

&lt;p&gt;Enforce permissions outside the model. Isolate execution environments. Restrict network access. Require approval for sensitive actions. Record tool activity and make containment possible.&lt;/p&gt;

&lt;p&gt;Design your system so that even a compromised or completely unrestricted model cannot exceed its authorized capabilities.&lt;/p&gt;

&lt;p&gt;Useful resources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://genai.owasp.org/" rel="noopener noreferrer"&gt;OWASP GenAI Security Project&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.nist.gov/itl/ai-risk-management-framework" rel="noopener noreferrer"&gt;NIST AI Risk Management Framework&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://modelcontextprotocol.io/specification/2025-06-18/basic/security_best_practices" rel="noopener noreferrer"&gt;Model Context Protocol security best practices&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  7. Intellectual curiosity is not the enemy
&lt;/h2&gt;

&lt;p&gt;There is a legitimate distinction between studying a dangerous capability and using it to harm someone.&lt;/p&gt;

&lt;p&gt;Understanding how models work, questioning alignment techniques, studying autonomous agents, and investigating their limitations are valuable scientific and engineering activities.&lt;/p&gt;

&lt;p&gt;Open research enables independent scrutiny. It also creates responsibilities: respect authorization, use isolated research environments, disclose vulnerabilities responsibly, and consider the consequences of publishing operational capabilities.&lt;/p&gt;

&lt;p&gt;We should neither romanticize unrestricted AI nor treat intellectual curiosity as inherently suspicious.&lt;/p&gt;

&lt;p&gt;The better response to emerging technology is to understand it deeply enough to build systems that remain secure even when that technology is misused.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;Abliterated models challenge our assumptions about alignment. Agentic frameworks challenge our assumptions about the cost and speed of cyberattacks.&lt;/p&gt;

&lt;p&gt;Neither makes conventional security engineering obsolete. If anything, they make it more important.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Don't build systems that depend on an attacker being polite, inexperienced, or slow.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Stay curious. Stay skeptical. Build defensively.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;December 2026 perspective. Community discussions are not independently verified incident reports, and the performance of modified models varies. The recent ARTEX and Heretic developments discussed here should be checked against primary sources before drawing firm conclusions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;What do you think? Are autonomous offensive agents fundamentally changing cybersecurity, or simply exposing how poorly we have implemented the basics?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>opensource</category>
      <category>programming</category>
    </item>
    <item>
      <title>TypeScript in 2026: A Practical Field Guide</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Fri, 27 Nov 2026 19:17:27 +0000</pubDate>
      <link>https://dev.to/krlz/typescript-in-2026-a-practical-field-guide-pfi</link>
      <guid>https://dev.to/krlz/typescript-in-2026-a-practical-field-guide-pfi</guid>
      <description>&lt;p&gt;TypeScript is not Java with different syntax. It is JavaScript with a static, structural type system. The runtime, data boundaries and failure modes still matter.&lt;/p&gt;

&lt;p&gt;This is a reference for building and maintaining production applications, not a beginner tutorial or a ranking of libraries.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The 2026 baseline
&lt;/h2&gt;

&lt;p&gt;TypeScript 6.0 is a transition toward the native compiler architecture. Read its migration notes before upgrading. The important everyday changes are a modern ESM ecosystem, explicit type imports, faster tooling and native TypeScript execution in recent Node.js releases.&lt;/p&gt;

&lt;p&gt;Use a supported Node.js LTS release for production. Node 24.12+ supports stable type stripping, but executing TypeScript is not type-checking it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;node src/main.ts
npx tsc --noEmit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;For fuller syntax support, use &lt;code&gt;tsx&lt;/code&gt; or a compilation pipeline. Native stripping does not implement tsconfig aliases, JSX, runtime enums or parameter properties. NestJS's typical decorator-based setup needs its own compilation pipeline.&lt;/p&gt;

&lt;p&gt;A baseline for an ESM application running directly on modern Node:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"compilerOptions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"target"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ESNext"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"module"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"NodeNext"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"strict"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"noUncheckedIndexedAccess"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"exactOptionalPropertyTypes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"verbatimModuleSyntax"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"erasableSyntaxOnly"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"rewriteRelativeImportExtensions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"noEmit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"types"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"node"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Set &lt;code&gt;"type": "module"&lt;/code&gt; in package.json, install &lt;code&gt;@types/node&lt;/code&gt;, and use explicit relative file extensions. For a bundled frontend or a compiled library, use a configuration appropriate to that build instead.&lt;/p&gt;
&lt;h2&gt;
  
  
  2. The type system worth mastering
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Use it for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;unknown&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Untrusted input and caught exceptions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;never&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exhaustiveness and impossible states&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;satisfies&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Checking shape while preserving inference&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;as const&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Literal values and readonly tuples&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Generics&lt;/td&gt;
&lt;td&gt;Preserving relationships between types&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;keyof&lt;/code&gt;, indexed access&lt;/td&gt;
&lt;td&gt;Type-safe property access&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mapped types&lt;/td&gt;
&lt;td&gt;Deriving related shapes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Conditional types, &lt;code&gt;infer&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Extracting or transforming types&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;Pick&lt;/code&gt;, &lt;code&gt;Omit&lt;/code&gt;, &lt;code&gt;Record&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Small, focused derived contracts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;Awaited&lt;/code&gt;, &lt;code&gt;ReturnType&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Deriving async and function results&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h3&gt;
  
  
  Model states, not optional properties
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nc"&gt;Job&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'pending'&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'running'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;startedAt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'done'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;resultId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'failed'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;assertNever&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;never&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;never&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`Unexpected state: ${String(value)}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;describe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;job&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Job&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;switch&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;job&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="s1"&gt;'pending'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s1"&gt;'Waiting'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="s1"&gt;'running'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s1"&gt;'Working'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="s1"&gt;'done'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;job&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;resultId&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="s1"&gt;'failed'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;job&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;default&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;assertNever&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;job&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Adding a new state now forces consumers to handle it. A union describes valid states; a transition function must still enforce valid transitions.&lt;/p&gt;
&lt;h3&gt;
  
  
  Preserve inference
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;limits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;search&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="k"&gt;export&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="k"&gt;satisfies&lt;/span&gt; &lt;span class="nc"&gt;Record&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nc"&gt;Operation&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;keyof&lt;/span&gt; &lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="n"&gt;limits&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Generics that express a relationship
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="no"&gt;T&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;K&lt;/span&gt; &lt;span class="k"&gt;extends&lt;/span&gt; &lt;span class="n"&gt;keyof&lt;/span&gt; &lt;span class="no"&gt;T&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;obj&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;T&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;K&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;T&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="no"&gt;K&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;obj&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Use interfaces for extensible object contracts, type aliases for unions and transformations. Neither provides runtime validation. Avoid clever type gymnastics when a simpler contract works.&lt;/p&gt;
&lt;h2&gt;
  
  
  3. Validate data at the boundary
&lt;/h2&gt;

&lt;p&gt;A type assertion is not validation. &lt;code&gt;JSON.parse&lt;/code&gt;, HTTP responses, queue messages and environment variables can contain anything.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'zod'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nc"&gt;CreateJob&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;object&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;candidateId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;uuid&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;priority&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kd"&gt;enum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'normal'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'high'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nc"&gt;CreateJob&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;infer&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="nc"&gt;CreateJob&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;decode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;unknown&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;CreateJob&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nc"&gt;CreateJob&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This example uses Zod 4. Use &lt;code&gt;safeParse&lt;/code&gt; when invalid input is an expected outcome. Keep transport schemas separate from domain entities when their lifecycles differ. Validate configuration once at startup.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/colinhacks" rel="noopener noreferrer"&gt;
        colinhacks
      &lt;/a&gt; / &lt;a href="https://github.com/colinhacks/zod" rel="noopener noreferrer"&gt;
        zod
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      TypeScript-first schema validation with static type inference
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;p&gt;
  &lt;a rel="noopener noreferrer" href="https://github.com/colinhacks/zod/logo.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fcolinhacks%2Fzod%2FHEAD%2Flogo.svg" width="200px" alt="Zod logo"&gt;&lt;/a&gt;
  &lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Zod&lt;/h1&gt;
&lt;/div&gt;


&lt;p&gt;&lt;br&gt;
    TypeScript-first schema validation with static type inference&lt;br&gt;
    &lt;br&gt;&lt;br&gt;
    by &lt;a href="https://x.com/colinhacks" rel="nofollow noopener noreferrer"&gt;@colinhacks&lt;/a&gt;&lt;br&gt;
  &lt;/p&gt;
&lt;br&gt;
&lt;br&gt;

&lt;p&gt;
&lt;a href="https://github.com/colinhacks/zod/actions?query=branch%3Amain" rel="noopener noreferrer"&gt;&lt;img src="https://github.com/colinhacks/zod/actions/workflows/test.yml/badge.svg?event=push&amp;amp;branch=main" alt="Zod CI status"&gt;&lt;/a&gt;
&lt;a href="https://opensource.org/licenses/MIT" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/22b79c19b67730a0efe4d493cb098e1eb94ed6d4363ee936cb99edd84af03da0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f6c696e6861636b732f7a6f64" alt="License"&gt;&lt;/a&gt;
&lt;a href="https://www.npmjs.com/package/zod" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/27a94c1f4809cde1586e7f1af8efc392eb21e5b9830885bbd14db898aae60fe6/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f64772f7a6f642e737667" alt="npm"&gt;&lt;/a&gt;
&lt;a href="https://discord.gg/KaSRdyX2vc" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/e1106e9b7c7e03fb3d96a70b76d903f5e8b69e1d1dc3e117dc84f10505365a07/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3839333438373832393830323431383237373f6c6162656c3d446973636f7264266c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465" alt="discord server"&gt;&lt;/a&gt;
&lt;a href="https://github.com/colinhacks/zod" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/574dcab770ff737db2aa8c327869a627509fec4e4a5baacf97fee299494ee8f8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f636f6c696e6861636b732f7a6f64" alt="stars"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;div&gt;
  &lt;a href="https://zod.dev/api" rel="nofollow noopener noreferrer"&gt;Docs&lt;/a&gt;
  &lt;span&gt;&amp;nbsp;&amp;nbsp;•&amp;nbsp;&amp;nbsp;&lt;/span&gt;
  &lt;a href="https://discord.gg/RcG33DQJdf" rel="nofollow noopener noreferrer"&gt;Discord&lt;/a&gt;
  &lt;span&gt;&amp;nbsp;&amp;nbsp;•&amp;nbsp;&amp;nbsp;&lt;/span&gt;
  &lt;a href="https://twitter.com/colinhacks" rel="nofollow noopener noreferrer"&gt;𝕏&lt;/a&gt;
  &lt;span&gt;&amp;nbsp;&amp;nbsp;•&amp;nbsp;&amp;nbsp;&lt;/span&gt;
  &lt;a href="https://bsky.app/profile/zod.dev" rel="nofollow noopener noreferrer"&gt;Bluesky&lt;/a&gt;
  &lt;br&gt;
&lt;/div&gt;



&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;&lt;a href="https://zod.dev/api" rel="nofollow noopener noreferrer"&gt;Read the docs →&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;



&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What is Zod?&lt;/h2&gt;

&lt;/div&gt;

&lt;p&gt;Zod is a TypeScript-first validation library. Define a schema and parse some data with it. You'll get back a strongly typed, validated result.&lt;/p&gt;

&lt;div class="highlight highlight-source-ts notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-k"&gt;import&lt;/span&gt; &lt;span class="pl-c1"&gt;*&lt;/span&gt; &lt;span class="pl-k"&gt;as&lt;/span&gt; &lt;span class="pl-s1"&gt;z&lt;/span&gt; &lt;span class="pl-k"&gt;from&lt;/span&gt; &lt;span class="pl-s"&gt;"zod"&lt;/span&gt;&lt;span class="pl-kos"&gt;;&lt;/span&gt;

&lt;span class="pl-k"&gt;const&lt;/span&gt; &lt;span class="pl-v"&gt;User&lt;/span&gt; &lt;span class="pl-c1"&gt;=&lt;/span&gt; &lt;span class="pl-s1"&gt;z&lt;/span&gt;&lt;span class="pl-kos"&gt;.&lt;/span&gt;&lt;span class="pl-en"&gt;object&lt;/span&gt;&lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-kos"&gt;{&lt;/span&gt;
  &lt;span class="pl-c1"&gt;name&lt;/span&gt;: &lt;span class="pl-s1"&gt;z&lt;/span&gt;&lt;span class="pl-kos"&gt;.&lt;/span&gt;&lt;span class="pl-en"&gt;string&lt;/span&gt;&lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt;&lt;span class="pl-kos"&gt;,&lt;/span&gt;
&lt;span class="pl-kos"&gt;}&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt;&lt;span class="pl-kos"&gt;;&lt;/span&gt;

&lt;span class="pl-c"&gt;// some untrusted data...&lt;/span&gt;
&lt;span class="pl-k"&gt;const&lt;/span&gt; &lt;span class="pl-s1"&gt;input&lt;/span&gt; &lt;span class="pl-c1"&gt;=&lt;/span&gt; &lt;span class="pl-kos"&gt;{&lt;/span&gt;
  &lt;span class="pl-c"&gt;/* stuff */&lt;/span&gt;
&lt;span class="pl-kos"&gt;}&lt;/span&gt;&lt;span class="pl-kos"&gt;;&lt;/span&gt;

&lt;span class="pl-c"&gt;// the parsed result is validated and type safe!&lt;/span&gt;
&lt;span class="pl-k"&gt;const&lt;/span&gt; &lt;span class="pl-s1"&gt;data&lt;/span&gt; &lt;span class="pl-c1"&gt;=&lt;/span&gt; &lt;span class="pl-v"&gt;User&lt;/span&gt;&lt;span class="pl-kos"&gt;.&lt;/span&gt;&lt;span class="pl-en"&gt;parse&lt;/span&gt;&lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-s1"&gt;input&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt;&lt;span class="pl-kos"&gt;;&lt;/span&gt;

&lt;span class="pl-c"&gt;// so you can use it with confidence :)&lt;/span&gt;
&lt;span class="pl-smi"&gt;console&lt;/span&gt;&lt;span class="pl-kos"&gt;.&lt;/span&gt;&lt;span class="pl-en"&gt;log&lt;/span&gt;&lt;span class="pl-kos"&gt;(&lt;/span&gt;&lt;span class="pl-s1"&gt;data&lt;/span&gt;&lt;span class="pl-kos"&gt;.&lt;/span&gt;&lt;span class="pl-c1"&gt;name&lt;/span&gt;&lt;span class="pl-kos"&gt;)&lt;/span&gt;&lt;span class="pl-kos"&gt;;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;br&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;Zero external dependencies&lt;/li&gt;
&lt;li&gt;Works in Node.js and all modern browsers&lt;/li&gt;
&lt;li&gt;Tiny: &lt;code&gt;2kb&lt;/code&gt; core bundle (gzipped)&lt;/li&gt;
&lt;li&gt;Immutable API: methods return a new instance&lt;/li&gt;
&lt;li&gt;Concise interface&lt;/li&gt;
&lt;li&gt;Works with…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/colinhacks/zod" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;h2&gt;
  
  
  4. Errors are part of the contract
&lt;/h2&gt;

&lt;p&gt;Use exceptions for unexpected infrastructure failures and explicit results for expected business outcomes.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nc"&gt;Result&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="no"&gt;T&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;E&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;T&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;E&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nc"&gt;CreateError&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'duplicate'&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s1"&gt;'not_allowed'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="nc"&gt;CreatedJob&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Result&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;CreateError&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Map domain errors to HTTP responses at the transport layer. Do not swallow errors, log sensitive payloads, or expose internal stack traces to clients.&lt;/p&gt;
&lt;h2&gt;
  
  
  5. Node.js: understand the runtime
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Concept&lt;/th&gt;
&lt;th&gt;Production implication&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Event loop&lt;/td&gt;
&lt;td&gt;CPU-heavy synchronous work delays other requests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Promises&lt;/td&gt;
&lt;td&gt;Concurrent I/O is not CPU parallelism&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Worker threads&lt;/td&gt;
&lt;td&gt;Isolate expensive CPU work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Streams&lt;/td&gt;
&lt;td&gt;Process large inputs with bounded memory&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backpressure&lt;/td&gt;
&lt;td&gt;Slow producers when consumers cannot keep up&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AbortSignal&lt;/td&gt;
&lt;td&gt;Propagate cancellation and deadlines&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AsyncLocalStorage&lt;/td&gt;
&lt;td&gt;Carry request context through async calls&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h3&gt;
  
  
  Timeouts and cancellation
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;AbortSignal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;timeout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;5_000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`HTTP ${response.status}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;A timeout does not guarantee the remote operation was rolled back. Retry only when the operation is safe or protected by an idempotency mechanism.&lt;/p&gt;
&lt;h3&gt;
  
  
  Bounded concurrency
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pLimit&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'p-limit'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;limit&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;pLimit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;results&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;allSettled&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="n"&gt;ids&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;limit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;fetchRecord&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;For millions of inputs, consume batches or streams instead of allocating millions of queued promises. &lt;code&gt;Promise.all&lt;/code&gt; rejects early but does not cancel the other tasks.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;pipeline&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'node:stream/promises'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;createReadStream&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;createWriteStream&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'node:fs'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;createGzip&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'node:zlib'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;pipeline&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nf"&gt;createReadStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'records.jsonl'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nf"&gt;createGzip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nf"&gt;createWriteStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'records.jsonl.gz'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  6. Backend architecture: choose boundaries before frameworks
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;HTTP / Queue / CLI
        |
    Use cases
        |
  Domain + ports
        |
  Adapter implementations
  SQL / APIs / messaging
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Organize by feature or bounded context. Keep business rules independent of HTTP handlers and database implementation details. Prefer a modular monolith until independent deployment or scaling justifies distribution.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="nc"&gt;JobRepository&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;insert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;job&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;void&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;createJob&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;repo&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;JobRepository&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;repo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;insert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Dependency injection does not require a container. Use one when lifecycle management and composition justify it. Interfaces disappear at runtime; frameworks such as NestJS require runtime injection tokens for interface-based dependencies.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pattern&lt;/th&gt;
&lt;th&gt;When it pays off&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Adapter&lt;/td&gt;
&lt;td&gt;Isolate external services&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Strategy&lt;/td&gt;
&lt;td&gt;Select interchangeable business policies&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Repository&lt;/td&gt;
&lt;td&gt;Encapsulate meaningful persistence operations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;State machine&lt;/td&gt;
&lt;td&gt;Enforce workflow transitions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Transactional outbox&lt;/td&gt;
&lt;td&gt;Commit business changes and pending events together&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Idempotent consumer&lt;/td&gt;
&lt;td&gt;Handle duplicated deliveries safely&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Saga&lt;/td&gt;
&lt;td&gt;Coordinate long-running, compensatable operations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Circuit breaker&lt;/td&gt;
&lt;td&gt;Contain repeated upstream failures&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CQRS&lt;/td&gt;
&lt;td&gt;Distinct read/write needs justify added complexity&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;An outbox is not exactly-once delivery: consumers still need deduplication. Use database unique constraints and atomic operations rather than in-memory flags for cross-process correctness.&lt;/p&gt;
&lt;h2&gt;
  
  
  7. Durable workflows
&lt;/h2&gt;

&lt;p&gt;For operations spanning hours, services or human approvals, consider Temporal instead of hand-rolling timers and retry state.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;proxyActivities&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'@temporalio/workflow'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;activities&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'./activities.js'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;collectRecords&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;buildReport&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;proxyActivities&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="n"&gt;activities&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;startToCloseTimeout&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'2 minutes'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;retry&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;maximumAttempts&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;screening&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;records&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;collectRecords&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;buildReport&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;records&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Workflow code must remain deterministic for replay. Put network calls, database writes and other external effects in activities; make those activities idempotent. Plan for workflow versioning. A simple queue such as BullMQ may be enough for short background jobs.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/temporalio" rel="noopener noreferrer"&gt;
        temporalio
      &lt;/a&gt; / &lt;a href="https://github.com/temporalio/sdk-typescript" rel="noopener noreferrer"&gt;
        sdk-typescript
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Temporal TypeScript SDK
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;p&gt;
  &lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/865cc004b2a080c97df06084e26556735448305bff61042bc10ceffa71d8b129/68747470733a2f2f6173736574732e74656d706f72616c2e696f2f772f74732e706e67"&gt;&lt;img src="https://camo.githubusercontent.com/865cc004b2a080c97df06084e26556735448305bff61042bc10ceffa71d8b129/68747470733a2f2f6173736574732e74656d706f72616c2e696f2f772f74732e706e67" alt="Temporal TypeScript SDK"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/f019dfaf8c020acd5f13564bdc089310c0ca5c82b8ceb38f45aba2cd12c28e3c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6e6f64652d3230253230253743253230323225323025374325323032342d626c75652e7376673f7374796c653d666f722d7468652d6261646765"&gt;&lt;img src="https://camo.githubusercontent.com/f019dfaf8c020acd5f13564bdc089310c0ca5c82b8ceb38f45aba2cd12c28e3c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6e6f64652d3230253230253743253230323225323025374325323032342d626c75652e7376673f7374796c653d666f722d7468652d6261646765" alt="Node 20 | 22 | 24"&gt;&lt;/a&gt;
&lt;a href="https://github.com/temporalio/sdk-typescript/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/edb9bbd9868858d011e704546f96c98ec1cf6ae0120fbd82126dbe78a5d7716a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74656d706f72616c696f2f73646b2d747970657363726970742e7376673f7374796c653d666f722d7468652d6261646765" alt="MIT"&gt;&lt;/a&gt;
&lt;a href="https://www.npmjs.com/search?q=author%3Atemporal-sdk-team" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/051de6be66895c27987302653629afcb0d3d35e19a2388ed69bdc3cac6cafbb5/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4074656d706f72616c696f2f636c69656e743f7374796c653d666f722d7468652d6261646765" alt="NPM"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://temporal.io/" rel="nofollow noopener noreferrer"&gt;Temporal&lt;/a&gt; is a distributed, scalable, durable, and highly available orchestration engine used to
execute asynchronous, long-running business logic in a scalable and resilient way.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Temporal TypeScript SDK&lt;/strong&gt; is the framework for authoring workflows and activities using either the TypeScript or JavaScript programming languages.&lt;/p&gt;
&lt;p&gt;For documentation and samples, see:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.temporal.io/develop/typescript" rel="nofollow noopener noreferrer"&gt;TypeScript Development Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/temporalio/samples-typescript" rel="noopener noreferrer"&gt;TypeScript Samples&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://typescript.temporal.io/" rel="nofollow noopener noreferrer"&gt;TypeScript API Reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.temporal.io" rel="nofollow noopener noreferrer"&gt;General Temporal Documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Quick Start&lt;/h2&gt;
&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Installation&lt;/h3&gt;
&lt;/div&gt;

&lt;p&gt;To add Temporal TypeScript SDK packages to an existing JavaScript project, run:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(for client-level features, e.g. starting or interracting with Workflows)&lt;/em&gt;&lt;/p&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Or `pnpm add` or `yarn add`&lt;/span&gt;
npm install --save \
    @temporalio/client \
    @temporalio/common&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;&lt;em&gt;(for worker-level features, including running Workflows, Activities and Nexus Operations)&lt;/em&gt;&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Or `pnpm add` or `yarn add`&lt;/span&gt;
npm install --save \
    @temporalio/worker \
    @temporalio/workflow \
    @temporalio/activity \
    @temporalio/common&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;All &lt;code&gt;@temporalio/*&lt;/code&gt; packages in a project must have the same version number
This requirement is generally enforced by peer dependencies of the Temporal packages
but…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/temporalio/sdk-typescript" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;



&lt;h2&gt;
  
  
  8. React: separate kinds of state
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;State&lt;/th&gt;
&lt;th&gt;Typical approach&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Local UI&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;useState&lt;/code&gt;, &lt;code&gt;useReducer&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Remote data&lt;/td&gt;
&lt;td&gt;TanStack Query or framework data loaders&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;URL state&lt;/td&gt;
&lt;td&gt;Router search parameters&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Forms&lt;/td&gt;
&lt;td&gt;Native forms or React Hook Form + Zod&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shared client state&lt;/td&gt;
&lt;td&gt;Context, Zustand or Redux Toolkit&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;jobs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;useQuery&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;queryKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'jobs'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;candidateId&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;queryFn&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;signal&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;fetchJobs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;candidateId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;enabled&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;candidateId&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Invalidate affected queries after mutations. Distinguish loading, background fetching, empty and error states. Do not mirror server data into local state without a reason.&lt;/p&gt;

&lt;p&gt;Know React 19 Actions, &lt;code&gt;useActionState&lt;/code&gt;, &lt;code&gt;useOptimistic&lt;/code&gt; and Suspense. Server Components depend on framework support; they are not a drop-in feature of every client application. Effects synchronize with external systems; derive ordinary values during render rather than through effects.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/TanStack" rel="noopener noreferrer"&gt;
        TanStack
      &lt;/a&gt; / &lt;a href="https://github.com/TanStack/query" rel="noopener noreferrer"&gt;
        query
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;p&gt;&lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/6f24d2892982cde820ca7f33685034a1faf01d459640c6333e3a118cee18504e/68747470733a2f2f7374617469632e73636172662e73682f612e706e673f782d707869643d62653264386131312d393731322d346331642d393936332d353830623264346662313333"&gt;&lt;img src="https://camo.githubusercontent.com/6f24d2892982cde820ca7f33685034a1faf01d459640c6333e3a118cee18504e/68747470733a2f2f7374617469632e73636172662e73682f612e706e673f782d707869643d62653264386131312d393731322d346331642d393936332d353830623264346662313333"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div&gt;
  
    
    
    &lt;img src="https://camo.githubusercontent.com/ba02e6cbd7a10df4cfda2fbe2b345820c4d7a04107018e1f0779f1474d7ac655/68747470733a2f2f74616e737461636b2e636f6d2f6170692f726561646d652f71756572792e706e67" alt="TanStack Query" width="900"&gt;
  
&lt;/div&gt;



&lt;div&gt;
&lt;a href="https://www.npmjs.com/package/@tanstack/query-core" rel="nofollow noopener noreferrer"&gt;
  &lt;img alt="" src="https://camo.githubusercontent.com/7dbea3ec3fbf8e31813d4f7d7ca468a581043af6eebb9ebfa50dae9482223b01/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f646d2f4074616e737461636b2f71756572792d636f72652e737667"&gt;
&lt;/a&gt;
 &lt;a href="https://github.com/TanStack/query/stargazers" rel="noopener noreferrer"&gt;
  &lt;img alt="" src="https://camo.githubusercontent.com/c8bedafde762036d23462162dce669d3a15eb12f8ff1112d7200d8e0aeef8d61/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f54616e537461636b2f71756572792e7376673f7374796c653d736f6369616c266c6162656c3d53746172"&gt;
&lt;/a&gt;
&lt;a href="https://bundlejs.com/?q=%40tanstack%2Freact-query&amp;amp;config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22react%22%2C%22react-dom%22%5D%7D%7D&amp;amp;badge=" rel="nofollow noopener noreferrer"&gt;
  &lt;img alt="" src="https://camo.githubusercontent.com/391587a4090a57660b36f02583c5e372642daa9336a36774958b3c6b2f9bbe43/68747470733a2f2f64656e6f2e62756e646c656a732e636f6d2f3f713d4074616e737461636b2f72656163742d717565727926636f6e6669673d7b25323265736275696c642532323a7b25323265787465726e616c2532323a5b25323272656163742532322c25323272656163742d646f6d2532325d7d7d2662616467653d64657461696c6564"&gt;
&lt;/a&gt;
&lt;/div&gt;

&lt;div&gt;
&lt;a href="https://github.com/TanStack/query#badge" rel="noopener noreferrer"&gt;
    &lt;img src="https://camo.githubusercontent.com/b1cd3c6b9ba90c8de25a7effdecd0e3a317b0b031f73c7326b9fce10b5f14f15/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2532302532302546302539462539332541362546302539462539412538302d73656d616e7469632d2d72656c656173652d6531303037392e737667" alt="semantic-release"&gt;
  &lt;/a&gt;
&lt;a href="https://bestofjs.org/projects/tanstack-query" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/1744895f12497a480d1fc759172ff5b6304391e6b38e6186a60f0199fa03a08b/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d68747470733a2f2f626573746f666a732d7365727665726c6573732e6e6f772e73682f6170692f70726f6a6563742d62616467653f66756c6c4e616d653d54616e537461636b253246717565727925323673696e63653d6461696c79" alt="Best of JS"&gt;&lt;/a&gt;
  &lt;a href="https://twitter.com/tan_stack" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/df18b3c53299babe15fbcb72b5258b471793f865615bd9a20662a5b20eca33d1/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f74616e5f737461636b2e7376673f7374796c653d736f6369616c" alt="Follow @TanStack"&gt;&lt;/a&gt;
&lt;/div&gt;

&lt;div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;&lt;a href="https://github.com/sponsors/tannerlinsley/" rel="noopener noreferrer"&gt;Become a Sponsor!&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;


&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;TanStack Query&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;An async state management library built to simplify fetching, caching, synchronizing, and updating server state.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Protocol‑agnostic fetching (REST, GraphQL, promises, etc.)&lt;/li&gt;
&lt;li&gt;Caching, refetching, pagination &amp;amp; infinite scroll&lt;/li&gt;
&lt;li&gt;Mutations, dependent queries &amp;amp; background updates&lt;/li&gt;
&lt;li&gt;Prefetching, cancellation &amp;amp; React Suspense support&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;&lt;a href="https://tanstack.com/query" rel="nofollow noopener noreferrer"&gt;Read the docs →&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Get Involved&lt;/h2&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;We welcome issues and pull requests!&lt;/li&gt;
&lt;li&gt;Participate in &lt;a href="https://github.com/TanStack/query/discussions" rel="noopener noreferrer"&gt;GitHub discussions&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Chat with the community on &lt;a href="https://discord.com/invite/WrRKjPJ" rel="nofollow noopener noreferrer"&gt;Discord&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;See &lt;a href="https://github.com/TanStack/query/./CONTRIBUTING.md" rel="noopener noreferrer"&gt;CONTRIBUTING.md&lt;/a&gt; for setup instructions&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Partners&lt;/h2&gt;

&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class="table-wrapper-paragraph"&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;table&gt;

  &lt;tbody&gt;

&lt;tr&gt;

    &lt;td&gt;
&lt;br&gt;
      &lt;a href="https://www.cloudflare.com?utm_source=tanstack" rel="nofollow noopener noreferrer"&gt;&lt;br&gt;
        &lt;br&gt;
          &lt;br&gt;
          &lt;br&gt;
          &lt;/a&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FTanStack%2Ftanstack.com%2Fmain%2Fsrc%2Fimages%2Fcloudflare-white.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%2Fraw.githubusercontent.com%2FTanStack%2Ftanstack.com%2Fmain%2Fsrc%2Fimages%2Fcloudflare-white.svg" height="60" alt="Cloudflare"&gt;&lt;/a&gt;&lt;br&gt;
        &lt;br&gt;
      &lt;br&gt;
    &lt;/td&gt;

  &lt;/tr&gt;

&lt;/tbody&gt;

&lt;/table&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;div&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/TanStack/query/./media/partner_logo.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FTanStack%2Fquery%2FHEAD%2F.%2Fmedia%2Fpartner_logo.svg" alt="Query &amp;amp; you?" height="65"&gt;&lt;/a&gt;
&lt;p&gt;
We're looking for TanStack Query Partners to join our mission! Partner with us to push the boundaries of TanStack Query and build amazing things together.
&lt;/p&gt;
&lt;a href="mailto:partners@tanstack.com?subject=TanStack%20Query%20Partnership"&gt;&lt;b&gt;LET'S CHAT&lt;/b&gt;&lt;/a&gt;
&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Explore the TanStack Ecosystem&lt;/h2&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/tanstack/config" rel="noopener noreferrer"&gt;&lt;b&gt;TanStack Config&lt;/b&gt;&lt;/a&gt; – Tooling for JS/TS packages&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/tanstack/db" rel="noopener noreferrer"&gt;&lt;b&gt;TanStack DB&lt;/b&gt;&lt;/a&gt; – Reactive sync client store&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/tanstack/devtools" rel="noopener noreferrer"&gt;&lt;b&gt;TanStack DevTools&lt;/b&gt;&lt;/a&gt; – Unified devtools panel&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/tanstack/form" rel="noopener noreferrer"&gt;&lt;b&gt;TanStack Form&lt;/b&gt;&lt;/a&gt; – Type‑safe form state&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/tanstack/pacer" rel="noopener noreferrer"&gt;&lt;b&gt;TanStack Pacer&lt;/b&gt;&lt;/a&gt; – Debouncing, throttling, batching 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/tanstack/query" rel="noopener noreferrer"&gt;&lt;b&gt;TanStack Query&lt;/b&gt;&lt;/a&gt; – Async state &amp;amp; caching&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/tanstack/ranger" rel="noopener noreferrer"&gt;&lt;b&gt;TanStack Ranger&lt;/b&gt;&lt;/a&gt; – Range &amp;amp; slider primitives&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/tanstack/router" rel="noopener noreferrer"&gt;&lt;b&gt;TanStack&lt;/b&gt;&lt;/a&gt;…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/TanStack/query" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;h2&gt;
  
  
  9. The ecosystem: a shortlist, not a shopping list
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Need&lt;/th&gt;
&lt;th&gt;Options&lt;/th&gt;
&lt;th&gt;Decision rule&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;HTTP API&lt;/td&gt;
&lt;td&gt;Fastify, Hono, Express&lt;/td&gt;
&lt;td&gt;Lightweight services and existing ecosystem&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Structured backend&lt;/td&gt;
&lt;td&gt;NestJS&lt;/td&gt;
&lt;td&gt;Modules, DI and consistent conventions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Runtime schemas&lt;/td&gt;
&lt;td&gt;Zod, Valibot&lt;/td&gt;
&lt;td&gt;Validate external data&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data access&lt;/td&gt;
&lt;td&gt;Prisma, Drizzle, Kysely&lt;/td&gt;
&lt;td&gt;ORM convenience vs SQL control&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Messaging&lt;/td&gt;
&lt;td&gt;KafkaJS, BullMQ&lt;/td&gt;
&lt;td&gt;Event log vs job queue&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Durable workflows&lt;/td&gt;
&lt;td&gt;Temporal&lt;/td&gt;
&lt;td&gt;Persistent orchestration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;React, Next.js, Vite&lt;/td&gt;
&lt;td&gt;Match rendering and deployment needs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;API contracts&lt;/td&gt;
&lt;td&gt;OpenAPI, tRPC&lt;/td&gt;
&lt;td&gt;Cross-language compatibility vs TS-first integration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Testing&lt;/td&gt;
&lt;td&gt;Vitest, node:test, Jest&lt;/td&gt;
&lt;td&gt;Runtime and existing codebase fit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Integration/E2E&lt;/td&gt;
&lt;td&gt;Testcontainers, MSW, Playwright&lt;/td&gt;
&lt;td&gt;Real infrastructure and network behavior&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logging/tracing&lt;/td&gt;
&lt;td&gt;Pino, OpenTelemetry&lt;/td&gt;
&lt;td&gt;Structured logs and distributed correlation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tooling&lt;/td&gt;
&lt;td&gt;pnpm, Biome, ESLint&lt;/td&gt;
&lt;td&gt;Consistent reproducible builds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monorepos&lt;/td&gt;
&lt;td&gt;Nx, Turborepo&lt;/td&gt;
&lt;td&gt;Use when multiple packages merit orchestration&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Do not introduce a library merely because it is on this table. Check its maintenance, compatibility, security and operational costs.&lt;/p&gt;
&lt;h2&gt;
  
  
  10. Testing and delivery
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;describe&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;expect&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'vitest'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nf"&gt;describe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'CreateJob schema'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;it&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'rejects an invalid candidate ID'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;CreateJob&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;safeParse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="n"&gt;candidateId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'invalid'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;priority&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'normal'&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;success&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Import &lt;code&gt;CreateJob&lt;/code&gt; from its schema module in a real test. Test domain rules with unit tests, database constraints using real databases, external contracts at integration boundaries, and critical user journeys with Playwright. Include retries, duplicate events, timeouts and concurrency failures.&lt;/p&gt;

&lt;p&gt;CI should perform independent checks:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pnpm install --frozen-lockfile
pnpm &lt;span class="nb"&gt;exec&lt;/span&gt; tsc --noEmit
pnpm &lt;span class="nb"&gt;exec&lt;/span&gt; vitest run
pnpm &lt;span class="nb"&gt;exec&lt;/span&gt; eslint .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Adapt these commands to the project's installed dependencies. Transpilation and successful tests do not automatically guarantee type correctness.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/vitest-dev" rel="noopener noreferrer"&gt;
        vitest-dev
      &lt;/a&gt; / &lt;a href="https://github.com/vitest-dev/vitest" rel="noopener noreferrer"&gt;
        vitest
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Next generation testing framework powered by Vite.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;p&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;a href="https://vitest.dev" rel="nofollow noopener noreferrer"&gt;
    
      
      
      &lt;/a&gt;&lt;a href="https://camo.githubusercontent.com/8f2d5ac650d9507b4fc3d7ab357f270084e52ba2ca967f24baa398313d1a6f11/68747470733a2f2f7669746573742e6465762f7669746573742d6461726b2e737667" class="article-body-image-wrapper"&gt;&lt;img alt="Vitest logo" src="https://camo.githubusercontent.com/8f2d5ac650d9507b4fc3d7ab357f270084e52ba2ca967f24baa398313d1a6f11/68747470733a2f2f7669746573742e6465762f7669746573742d6461726b2e737667" height="60"&gt;&lt;/a&gt;
    
  
  &lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;
Vitest
&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;
Next generation testing framework powered by Vite
&lt;/p&gt;

&lt;p&gt;
  &lt;a href="https://npmx.dev/package/vitest" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/7abf6880dfa9bc87bfe0f20ca465271ca5252a42a23a4600c50221011b4df371/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f7669746573743f636f6c6f723d373239423142266c6162656c3d" alt="current vitest version badge"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;a href="https://chat.vitest.dev" rel="nofollow noopener noreferrer"&gt;&lt;b&gt;Get involved!&lt;/b&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
 &lt;a href="https://vitest.dev" rel="nofollow noopener noreferrer"&gt;Documentation&lt;/a&gt; | &lt;a href="https://vitest.dev/guide/" rel="nofollow noopener noreferrer"&gt;Getting Started&lt;/a&gt; | &lt;a href="https://vitest.dev/guide/#examples" rel="nofollow noopener noreferrer"&gt;Examples&lt;/a&gt; | &lt;a href="https://vitest.dev/guide/why" rel="nofollow noopener noreferrer"&gt;Why Vitest?&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="https://cn.vitest.dev" rel="nofollow noopener noreferrer"&gt;中文文档&lt;/a&gt;
&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h4 class="heading-element"&gt;
&lt;/h4&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://vitejs.dev/" rel="nofollow noopener noreferrer"&gt;Vite&lt;/a&gt;'s config, transformers, resolvers, and plugins. Use the same setup from your app!&lt;/li&gt;
&lt;li&gt;&lt;a href="https://jestjs.io/docs/snapshot-testing" rel="nofollow noopener noreferrer"&gt;Jest Snapshot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.chaijs.com/" rel="nofollow noopener noreferrer"&gt;Chai&lt;/a&gt; built-in for assertions, with &lt;a href="https://jestjs.io/docs/expect" rel="nofollow noopener noreferrer"&gt;Jest expect&lt;/a&gt; compatible APIs&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://vitest.dev/guide/features.html#watch-mode" rel="nofollow noopener noreferrer"&gt;Smart &amp;amp; instant watch mode&lt;/a&gt;, like HMR for tests!&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://vitest.dev/guide/features.html#coverage" rel="nofollow noopener noreferrer"&gt;Native code coverage&lt;/a&gt; via &lt;a href="https://v8.dev/blog/javascript-code-coverage" rel="nofollow noopener noreferrer"&gt;&lt;code&gt;v8&lt;/code&gt;&lt;/a&gt; or &lt;a href="https://istanbul.js.org/" rel="nofollow noopener noreferrer"&gt;&lt;code&gt;istanbul&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Jest-compatible mocking, stubbing, and spies.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/jsdom/jsdom" rel="noopener noreferrer"&gt;JSDOM&lt;/a&gt; and &lt;a href="https://github.com/capricorn86/happy-dom" rel="noopener noreferrer"&gt;happy-dom&lt;/a&gt; for DOM and browser API mocking&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://vitest.dev/guide/browser/" rel="nofollow noopener noreferrer"&gt;Browser Mode&lt;/a&gt; for running component tests in the browser&lt;/li&gt;
&lt;li&gt;Components testing (&lt;a href="https://github.com/vitest-tests/browser-examples/tree/main/examples/vue" rel="noopener noreferrer"&gt;Vue&lt;/a&gt;, &lt;a href="https://github.com/vitest-tests/browser-examples/tree/main/examples/react" rel="noopener noreferrer"&gt;React&lt;/a&gt;, &lt;a href="https://github.com/vitest-tests/browser-examples/tree/main/examples/svelte" rel="noopener noreferrer"&gt;Svelte&lt;/a&gt;, &lt;a href="https://github.com/vitest-dev/vitest/./examples/lit" rel="noopener noreferrer"&gt;Lit&lt;/a&gt;, &lt;a href="https://github.com/marko-js/examples/tree/master/examples/library-ts" rel="noopener noreferrer"&gt;Marko&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Benchmarking support with &lt;a href="https://github.com/tinylibs/tinybench" rel="noopener noreferrer"&gt;Tinybench&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://vitest.dev/guide/projects" rel="nofollow noopener noreferrer"&gt;Projects&lt;/a&gt; support&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/mmkal/expect-type" rel="noopener noreferrer"&gt;expect-type&lt;/a&gt; for type-level testing&lt;/li&gt;
&lt;li&gt;ESM first, top level await&lt;/li&gt;
&lt;li&gt;Out-of-box TypeScript / JSX support&lt;/li&gt;
&lt;li&gt;Filtering, timeouts, concurrent for suite and tests&lt;/li&gt;
&lt;li&gt;Sharding support&lt;/li&gt;
&lt;li&gt;Reporting Uncaught Errors&lt;/li&gt;
&lt;li&gt;Run your tests in the browser natively&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Vitest requires Vite &amp;gt;=v6.4.0 and Node &amp;gt;=v22.12.0&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight highlight-source-ts notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-k"&gt;import&lt;/span&gt; &lt;span class="pl-kos"&gt;{&lt;/span&gt; &lt;span class="pl-s1"&gt;assert&lt;/span&gt;&lt;span class="pl-kos"&gt;,&lt;/span&gt;&lt;/pre&gt;…
&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/vitest-dev/vitest" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;



&lt;h2&gt;
  
  
  11. Production checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Strict types; no unexamined &lt;code&gt;any&lt;/code&gt;, assertions or non-null operators.&lt;/li&gt;
&lt;li&gt;Runtime validation at trust boundaries.&lt;/li&gt;
&lt;li&gt;Explicit timeouts, bounded retries with jitter, bounded concurrency.&lt;/li&gt;
&lt;li&gt;Database constraints, transactional boundaries and idempotency.&lt;/li&gt;
&lt;li&gt;Structured logs, correlation IDs, metrics and traces; redact personal data.&lt;/li&gt;
&lt;li&gt;Authorization at the resource level, parameterized SQL, secure secrets management.&lt;/li&gt;
&lt;li&gt;Graceful shutdown: stop accepting work, drain in-flight tasks, close resources.&lt;/li&gt;
&lt;li&gt;Test real failure modes, not just happy paths.&lt;/li&gt;
&lt;li&gt;Review generated code just like handwritten code; require tests and type checks.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.typescriptlang.org/docs/handbook/intro.html" rel="noopener noreferrer"&gt;TypeScript handbook&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html" rel="noopener noreferrer"&gt;TypeScript 6.0 release notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://nodejs.org/api/typescript.html" rel="noopener noreferrer"&gt;Node.js TypeScript support&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://zod.dev/" rel="noopener noreferrer"&gt;Zod documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://react.dev/" rel="noopener noreferrer"&gt;React documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://tanstack.com/query/latest" rel="noopener noreferrer"&gt;TanStack Query&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.temporal.io/develop/typescript" rel="noopener noreferrer"&gt;Temporal TypeScript SDK&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/p/editor_guide"&gt;DEV editor guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;The goal is not to know every TypeScript feature. It is to make invalid states harder to represent, failures easier to recover from, and systems easier to change.&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>node</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>Engineering Teams in 2026: Build Trust, Not Fear</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Wed, 25 Nov 2026 15:13:03 +0000</pubDate>
      <link>https://dev.to/krlz/engineering-teams-in-2026-build-trust-not-fear-b3j</link>
      <guid>https://dev.to/krlz/engineering-teams-in-2026-build-trust-not-fear-b3j</guid>
      <description>&lt;p&gt;It's Monday morning. Your team has a new AI tool, a growing backlog, another productivity dashboard, and a familiar question: &lt;strong&gt;are we doing enough?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For many developers, 2026 feels like a year of uncertainty. Expectations are changing, jobs feel less predictable, and the definition of a productive engineer seems to shift every few months.&lt;/p&gt;

&lt;p&gt;But we have an opportunity to build something better: teams that deliver valuable software without treating people as interchangeable units of output.&lt;/p&gt;

&lt;p&gt;The good news is that we already have useful research and engineering practices to guide us.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Organize around value, not job titles
&lt;/h2&gt;

&lt;p&gt;Imagine a customer needs a new feature. It travels from product to frontend, backend, QA, infrastructure, and finally operations. Everyone is busy, yet the customer is still waiting.&lt;/p&gt;

&lt;p&gt;The problem may be the organization, not the developers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://teamtopologies.com/key-concepts" rel="noopener noreferrer"&gt;Team Topologies&lt;/a&gt; offers four useful team types:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Team type&lt;/th&gt;
&lt;th&gt;Responsibility&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Stream-aligned&lt;/td&gt;
&lt;td&gt;Own a product area or customer journey end to end.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Platform&lt;/td&gt;
&lt;td&gt;Provide reusable, self-service engineering capabilities.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Enabling&lt;/td&gt;
&lt;td&gt;Help other teams acquire skills and overcome obstacles.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Complicated subsystem&lt;/td&gt;
&lt;td&gt;Own components requiring specialist expertise.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A small company does not need four separate departments. These are responsibilities that can be distributed according to scale.&lt;/p&gt;

&lt;p&gt;A product team should have a clear mission, access to customer feedback, the skills needed to deliver, and enough authority to make everyday decisions. Product, engineering and design should collaborate rather than operate as sequential approval gates.&lt;/p&gt;

&lt;p&gt;Autonomy is not isolation: shared standards, clear interfaces and access to specialist support still matter.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Choose processes that solve actual problems
&lt;/h2&gt;

&lt;p&gt;Scrum, Kanban, DevOps and specification-driven development are not competing religions. They address different needs.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;If your team struggles with…&lt;/th&gt;
&lt;th&gt;Try…&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Changing priorities&lt;/td&gt;
&lt;td&gt;Short planning horizons and regular product feedback&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Too much unfinished work&lt;/td&gt;
&lt;td&gt;Kanban and work-in-progress limits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ambiguous requirements&lt;/td&gt;
&lt;td&gt;Examples, acceptance criteria and lightweight specifications&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Slow or risky releases&lt;/td&gt;
&lt;td&gt;Continuous delivery and automated verification&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cross-team dependencies&lt;/td&gt;
&lt;td&gt;Clear ownership and self-service platforms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Repeated mistakes&lt;/td&gt;
&lt;td&gt;Blameless retrospectives and small improvement experiments&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A simple operating rhythm could include weekly prioritization, continuous delivery, asynchronous updates, and a fortnightly retrospective. Adjust it to the team's needs rather than enforcing a universal calendar.&lt;/p&gt;

&lt;p&gt;Research on Agile team performance emphasizes autonomy, communication and organizational support. See &lt;a href="https://doi.org/10.1108/XJM-03-2026-0016" rel="noopener noreferrer"&gt;Determinants of agile software development team performance (2026)&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Measure the system, not the person
&lt;/h2&gt;

&lt;p&gt;A developer who deletes 500 unnecessary lines, helps a colleague resolve a difficult incident, or prevents a bad architectural decision may create enormous value without producing a large commit count.&lt;/p&gt;

&lt;p&gt;This is why lines of code, individual story points, hours online and AI usage should not become performance targets.&lt;/p&gt;

&lt;p&gt;The SPACE framework makes the point in the title of its foundational paper:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;There's More to It Than You Think&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;— &lt;a href="https://doi.org/10.1145/3454122.3454124" rel="noopener noreferrer"&gt;The SPACE of Developer Productivity (2021)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here are five complementary ways to understand engineering performance:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Framework&lt;/th&gt;
&lt;th&gt;What it helps you understand&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://dora.dev/guides/dora-metrics/" rel="noopener noreferrer"&gt;DORA&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Delivery throughput and instability&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://doi.org/10.1145/3454122.3454124" rel="noopener noreferrer"&gt;SPACE&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Satisfaction, performance, activity, collaboration and efficiency&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://doi.org/10.1145/3595878" rel="noopener noreferrer"&gt;DevEx&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Feedback loops, cognitive load and flow state&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://getdx.com/research/measuring-developer-productivity-with-the-dx-core-4/" rel="noopener noreferrer"&gt;DX Core 4&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Speed, effectiveness, quality and impact&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.microsoft.com/en-us/research/publication/engthrive-make-it-fast-and-easy-to-do-great-work/" rel="noopener noreferrer"&gt;EngThrive&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Speed, ease, quality and developer thriving&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;EngThrive is an emerging 2026 industrial research framework, not a universally validated standard. Its title captures a worthwhile ambition:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Make It Fast and Easy to Do Great Work&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  4. A dashboard that helps rather than intimidates
&lt;/h2&gt;

&lt;p&gt;Start with a small set of team-level measures. Agree on definitions together and compare the same service or team over time.&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;Example measure&lt;/th&gt;
&lt;th&gt;Question to ask&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Value&lt;/td&gt;
&lt;td&gt;Feature adoption or customer task success&lt;/td&gt;
&lt;td&gt;Did we solve the problem?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delivery&lt;/td&gt;
&lt;td&gt;Median and 85th-percentile lead time&lt;/td&gt;
&lt;td&gt;How long does value take to reach users?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quality&lt;/td&gt;
&lt;td&gt;Change fail rate&lt;/td&gt;
&lt;td&gt;Are changes safe?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flow&lt;/td&gt;
&lt;td&gt;Blocked time and work in progress&lt;/td&gt;
&lt;td&gt;Where does work wait?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Experience&lt;/td&gt;
&lt;td&gt;Anonymous team pulse survey&lt;/td&gt;
&lt;td&gt;What makes work unnecessarily difficult?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sustainability&lt;/td&gt;
&lt;td&gt;On-call burden and recovery time&lt;/td&gt;
&lt;td&gt;Can we maintain this pace?&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;DORA's five delivery metrics are deployment frequency, change lead time, failed deployment recovery time, change fail rate and deployment rework rate. Use them where applicable, alongside product and human outcomes.&lt;/p&gt;

&lt;p&gt;For a practical starting point, ask the team three questions each month: Can I get timely feedback? Can I focus on meaningful work? What obstacle should we remove next?&lt;/p&gt;

&lt;p&gt;Never turn anonymous feedback into an individual ranking. Explain who can see the data and how it will be used.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The AI productivity paradox
&lt;/h2&gt;

&lt;p&gt;Suppose a feature takes ten working days to deliver:&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;Days&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Requirements&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Implementation&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Waiting for review&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Testing&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deployment approval&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If AI halves implementation time, the feature still takes nine days. A 50% improvement in coding speed produces only a 10% improvement in total delivery time, assuming everything else stays constant.&lt;/p&gt;

&lt;p&gt;This is a hypothetical example, not measured research data. It illustrates why improving the whole workflow matters more than optimizing one activity.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.atlassian.com/blog/developer/developer-experience-report-2026" rel="noopener noreferrer"&gt;2026 Atlassian Developer Experience report&lt;/a&gt; examines the tension between AI-assisted speed and persistent engineering friction. A useful question is whether saved implementation time is being absorbed by review, validation or coordination.&lt;/p&gt;

&lt;p&gt;Use AI where it helps. Keep human accountability for important decisions. Measure rework and quality alongside speed, and give developers room to learn without making tool adoption a loyalty test.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Try a 30-day team improvement experiment
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Week 1 — Listen.&lt;/strong&gt; Map how work actually moves from idea to production. Ask developers where they lose time. Establish a baseline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 2 — Choose one bottleneck.&lt;/strong&gt; Perhaps reviews wait too long, environments are unreliable, or priorities change daily. Pick one problem the team can influence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 3 — Experiment.&lt;/strong&gt; Try smaller pull requests, protected focus time, automated environment setup or a clearer definition of ready. Record the expected outcome before making the change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 4 — Learn.&lt;/strong&gt; Compare the same measures with the baseline. Discuss quality, delivery and developer experience together. Keep, adapt or abandon the experiment. A month is a learning window, not proof of causality.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Make uncertainty a shared challenge
&lt;/h2&gt;

&lt;p&gt;Psychological safety does not mean lowering engineering standards. It means people can admit mistakes, question decisions, ask for help and raise risks without fear of humiliation.&lt;/p&gt;

&lt;p&gt;Leaders cannot promise that every job will remain unchanged. They can communicate honestly, involve teams in decisions, invest in learning and avoid turning uncertainty into competition between colleagues.&lt;/p&gt;

&lt;p&gt;Developers can contribute too: share knowledge, mentor others, document decisions, improve feedback loops and help make the team stronger.&lt;/p&gt;

&lt;p&gt;The most valuable contribution you make this week might not be a new feature. It might be helping your team understand a problem that nobody else has noticed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We cannot control every change coming to our industry. We can control how we build, how we learn, and how we treat the people building alongside us.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Further reading and research
&lt;/h2&gt;

&lt;p&gt;A selected reading list from the November 2026 research landscape, including foundational papers, newer studies and industry frameworks. Publisher pages may offer PDF downloads; access varies.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://doi.org/10.1016/j.jss.2026.112960" rel="noopener noreferrer"&gt;A design lens to agility in project teams (2026)&lt;/a&gt; — team design and agility.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://doi.org/10.1108/XJM-03-2026-0016" rel="noopener noreferrer"&gt;Determinants of agile software development team performance (2026)&lt;/a&gt; — systematic literature review.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://doi.org/10.1007/s10664-026-10830-6" rel="noopener noreferrer"&gt;Understanding developer well-being (2026)&lt;/a&gt; — &lt;a href="https://link.springer.com/content/pdf/10.1007/s10664-026-10830-6.pdf" rel="noopener noreferrer"&gt;publisher PDF&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://doi.org/10.4230/LIPIcs.ESEM.2026.7" rel="noopener noreferrer"&gt;Characterising Meeting Practices in Software Engineering Teams (2026)&lt;/a&gt; — meeting practices and flow.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.microsoft.com/en-us/research/publication/engthrive-make-it-fast-and-easy-to-do-great-work/" rel="noopener noreferrer"&gt;EngThrive (2026)&lt;/a&gt; — emerging industrial research.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://doi.org/10.1145/3454122.3454124" rel="noopener noreferrer"&gt;SPACE (2021)&lt;/a&gt; and &lt;a href="https://doi.org/10.1145/3595878" rel="noopener noreferrer"&gt;DevEx (2023)&lt;/a&gt; — foundational measurement frameworks.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.atlassian.com/blog/developer/developer-experience-report-2026" rel="noopener noreferrer"&gt;Atlassian State of Developer Experience (2026)&lt;/a&gt; — industry survey, not causal evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The operating rhythm, dashboard and 30-day experiment in this article are practical proposals inspired by these frameworks, not a single experimentally validated methodology.&lt;/p&gt;




&lt;p&gt;What is one thing your team could change tomorrow to make engineering work better for everyone?&lt;/p&gt;


&lt;div class="ltag__tag ltag__tag__id__112"&gt;
    &lt;div class="ltag__tag__content"&gt;
      &lt;h2&gt;#&lt;a href="https://dev.to/t/productivity" class="ltag__tag__link"&gt;productivity&lt;/a&gt; Follow
&lt;/h2&gt;
      &lt;div class="ltag__tag__summary"&gt;
        Productivity includes tips on how to use tools and software, process optimization, useful references, experience, and mindstate optimization.
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;div class="ltag__tag ltag__tag__id__956"&gt;
    &lt;div class="ltag__tag__content"&gt;
      &lt;h2&gt;#&lt;a href="https://dev.to/t/leadership" class="ltag__tag__link"&gt;leadership&lt;/a&gt; Follow
&lt;/h2&gt;
      &lt;div class="ltag__tag__summary"&gt;
        Leadership is not a job title. Is guiding and empowering others.
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>softwareengineering</category>
      <category>productivity</category>
      <category>leadership</category>
      <category>devops</category>
    </item>
    <item>
      <title>Beyond AI Coding: A Developer's Guide to Software Engineering in 2026</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Wed, 25 Nov 2026 14:33:15 +0000</pubDate>
      <link>https://dev.to/krlz/beyond-ai-coding-a-developers-guide-to-software-engineering-in-2026-bpp</link>
      <guid>https://dev.to/krlz/beyond-ai-coding-a-developers-guide-to-software-engineering-in-2026-bpp</guid>
      <description>&lt;p&gt;AI can write code. But how should we organize the work around it?&lt;/p&gt;

&lt;p&gt;As of November 2026, software engineering research is increasingly exploring how developers specify, delegate, coordinate and verify work. With so many new terms appearing, it helps to know what each one actually solves.&lt;/p&gt;

&lt;p&gt;Here is a practical map, grounded in four recent research papers, with ideas you can apply to your next project.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Identify the way you work
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Approach&lt;/th&gt;
&lt;th&gt;What it means&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Traditional development&lt;/td&gt;
&lt;td&gt;You implement the solution yourself.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI-assisted development&lt;/td&gt;
&lt;td&gt;AI suggests code; you integrate it.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Agentic development&lt;/td&gt;
&lt;td&gt;An agent plans, edits files, runs tools and iterates on feedback.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multi-agent development&lt;/td&gt;
&lt;td&gt;Several agents coordinate to complete engineering tasks.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These approaches coexist rather than forming a mandatory maturity ladder.&lt;/p&gt;

&lt;p&gt;Wang et al. describe the shift toward systems that can:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"navigate repositories, edit files, execute tools, and iterate on test feedback."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;— &lt;em&gt;From Code Completion to Agentic Development&lt;/em&gt; [1]&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Identify the engineering practice you need
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Your problem&lt;/th&gt;
&lt;th&gt;Practice to explore&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Unclear requirements&lt;/td&gt;
&lt;td&gt;Specification-Driven Development (SDD)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Agents misunderstand the repository&lt;/td&gt;
&lt;td&gt;Context Engineering&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Repetitive implementation work&lt;/td&gt;
&lt;td&gt;Agentic Software Engineering (ASE)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tasks require coordinated specialists&lt;/td&gt;
&lt;td&gt;Multi-Agent Systems (MAS)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI is disconnected from the lifecycle&lt;/td&gt;
&lt;td&gt;AI-Driven Development Lifecycle (AI-DLC)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Slow releases&lt;/td&gt;
&lt;td&gt;Continuous Delivery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Architectural degradation&lt;/td&gt;
&lt;td&gt;Evolutionary Architecture&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Unreliable implementations&lt;/td&gt;
&lt;td&gt;Continuous Verification&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Too much developer friction&lt;/td&gt;
&lt;td&gt;Platform Engineering and Developer Experience&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Specification-Driven Development (SDD)
&lt;/h3&gt;

&lt;p&gt;Define requirements, constraints and acceptance criteria before implementation. Give the agent something concrete to implement and verify.&lt;/p&gt;

&lt;p&gt;Explore GitHub Spec Kit:&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/github" rel="noopener noreferrer"&gt;
        github
      &lt;/a&gt; / &lt;a href="https://github.com/github/spec-kit" rel="noopener noreferrer"&gt;
        spec-kit
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      💫 Toolkit to help you get started with SDD or any other process!
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
    &lt;a rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/github/spec-kit/main/media/logo_large.webp"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fspec-kit%2Fmain%2Fmedia%2Flogo_large.webp" alt="Spec Kit Logo" width="200" height="200" class="js-gh-image-fallback"&gt;&lt;/a&gt;
    &lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🌱 Spec Kit&lt;/h1&gt;
&lt;/div&gt;
    &lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;&lt;em&gt;Build with a spec, fix a bug, or assess an idea — with your coding agent.&lt;/em&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
    &lt;a href="https://github.com/github/spec-kit/releases/latest" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/dbeb38bf580a239472f5534c4a65cda069ff06eb0af4e6f2fb7520b122462ac8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6769746875622f737065632d6b6974" alt="Latest Release"&gt;&lt;/a&gt;
    &lt;a href="https://github.com/github/spec-kit/stargazers" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/7fcdbc229fc54d1a2580acb77a63f8a66e4e9d1424d8167079ca062930b58de4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6769746875622f737065632d6b69743f7374796c653d736f6369616c" alt="GitHub stars"&gt;&lt;/a&gt;
    &lt;a href="https://github.com/github/spec-kit/blob/main/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/18bf84076988d96c17a393b95ea2d55aeecc8dd71b2c9ad93ef019b33db306b7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6769746875622f737065632d6b6974" alt="License"&gt;&lt;/a&gt;
    &lt;a href="https://github.github.io/spec-kit/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/050265e2cec58d66826e0945a76aaad3ca14aaac6c144382b9aef940db406c6d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d4769744875625f50616765732d626c7565" alt="Documentation"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
    &lt;strong&gt;English&lt;/strong&gt; ·
    &lt;a href="https://github.com/github/spec-kit/./README.zh-CN.md" rel="noopener noreferrer"&gt;简体中文&lt;/a&gt; ·
    &lt;a href="https://github.com/github/spec-kit/./README.ja.md" rel="noopener noreferrer"&gt;日本語&lt;/a&gt; ·
    &lt;a href="https://github.com/github/spec-kit/./README.ko.md" rel="noopener noreferrer"&gt;한국어&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;Spec Kit is an open source toolkit that gives AI coding agents structured
processes, reusable templates, and documented outcomes. Start with a ready-made
process, customize it, or bring your own.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Choose your process&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What you need&lt;/th&gt;
&lt;th&gt;Process&lt;/th&gt;
&lt;th&gt;Outcome&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Build a feature or application&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/github/spec-kit#spec-driven-development" rel="noopener noreferrer"&gt;Spec-Driven Development&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;A specification carried through planning, implementation, and convergence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Diagnose and repair broken behavior&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/github/spec-kit#bug-fixing" rel="noopener noreferrer"&gt;Bug fixing&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;An assessed cause, scoped fix, and recorded verification&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Decide whether an idea deserves investment&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/github/spec-kit#idea-assessment" rel="noopener noreferrer"&gt;Idea assessment&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;An evidence-backed go, clarify, or stop decision&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Adopt or create a different process&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/github/spec-kit#capabilities" rel="noopener noreferrer"&gt;Your own process&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;A process adapted or assembled from reusable primitives&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;These are independent entry points, not mandatory phases. SDD ships in core
bug fixing and assessment are bundled extensions you install when needed, and…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/github/spec-kit" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  Context Engineering
&lt;/h3&gt;

&lt;p&gt;Provide relevant architecture documentation, domain rules, coding conventions and tools. The objective is to give agents the right information, not simply more information.&lt;/p&gt;

&lt;h3&gt;
  
  
  Agentic Software Engineering (ASE)
&lt;/h3&gt;

&lt;p&gt;Delegate bounded tasks: investigate a bug, implement an approved requirement, run tests or suggest a refactoring. Keep permissions and review criteria explicit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Multi-Agent Systems (MAS)
&lt;/h3&gt;

&lt;p&gt;Separate responsibilities when justified. For example, an implementation agent and a verification agent might collaborate. Start with one agent and measure whether additional coordination actually helps.&lt;/p&gt;

&lt;h3&gt;
  
  
  AI-Driven Development Lifecycle (AI-DLC)
&lt;/h3&gt;

&lt;p&gt;Integrate AI across requirements, design, construction and operations, with human oversight at critical decisions. Explore the &lt;a href="https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/" rel="noopener noreferrer"&gt;AWS AI-DLC proposal&lt;/a&gt;. This is an industry methodology, not a proven replacement for Agile.&lt;/p&gt;

&lt;h3&gt;
  
  
  Continuous Software Engineering
&lt;/h3&gt;

&lt;p&gt;Connect discovery, development, delivery and operations through feedback. Continuous delivery, automated testing and evolutionary architecture remain useful regardless of whether AI writes the code.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. What does the research actually say?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  More agents do not automatically mean better results
&lt;/h3&gt;

&lt;p&gt;Díaz-Villegas et al. mapped &lt;strong&gt;94 studies and 1,018 design decisions&lt;/strong&gt;. Only 19.8% of evaluation records attributed evidence to an individual decision, while 52.3% evaluated complete systems [2].&lt;/p&gt;

&lt;p&gt;This makes it difficult to isolate which design choices actually improve outcomes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Framework selection involves trade-offs
&lt;/h3&gt;

&lt;p&gt;De Oliveira et al. qualitatively analyzed eight multi-agent frameworks. In their evaluated README summarization scenario, recommendation effectiveness was comparable, but execution time and token consumption varied [3]. This result should not be generalized to every engineering task.&lt;/p&gt;

&lt;h3&gt;
  
  
  Autonomy still has limitations
&lt;/h3&gt;

&lt;p&gt;Bhardwaj et al. reviewed 126 peer-reviewed journal articles across multiple application domains and highlighted risks including:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"compounding error propagation, indirect prompt injection, memory poisoning"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Most reported implementations were controlled research prototypes [4].&lt;/p&gt;

&lt;h3&gt;
  
  
  Productivity depends on context
&lt;/h3&gt;

&lt;p&gt;Wang et al. point out that:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"empirical benefits vary with task, system, and developer population."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Their survey also distinguishes human oversight from agent architecture: using multiple agents does not require giving them unrestricted autonomy [1].&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Try this on your next feature
&lt;/h2&gt;

&lt;p&gt;Imagine implementing an appointment booking API.&lt;/p&gt;

&lt;p&gt;Instead of asking an agent to build everything, define a small contract first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight gherkin"&gt;&lt;code&gt;Feature: Appointment booking

  Scenario: Prevent double booking
    Given an appointment slot is already booked
    When another customer requests the same slot
    Then the request is rejected
    And the existing appointment remains unchanged
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Then follow a repeatable workflow:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Define the problem
    -&amp;gt; Specify requirements and constraints
    -&amp;gt; Review the implementation plan
    -&amp;gt; Implement with or without an agent
    -&amp;gt; Verify independently
    -&amp;gt; Deploy, observe and learn
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;For this example, add a concurrency integration test to verify that simultaneous requests cannot double-book a slot. A passing unit test alone is not enough.&lt;/p&gt;

&lt;p&gt;Keep reusable knowledge in the repository:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;project/
├── AGENTS.md
├── docs/
│   ├── requirements.md
│   ├── architecture.md
│   └── decisions/
├── src/
└── tests/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This is an illustrative workflow, not a standardized methodology.&lt;/p&gt;
&lt;h2&gt;
  
  
  5. Before adopting another tool
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Identify the engineering bottleneck.&lt;/li&gt;
&lt;li&gt;[ ] Make requirements and constraints explicit.&lt;/li&gt;
&lt;li&gt;[ ] Keep agent permissions limited.&lt;/li&gt;
&lt;li&gt;[ ] Verify outputs with independent checks.&lt;/li&gt;
&lt;li&gt;[ ] Measure review time, defects, rework and delivery time.&lt;/li&gt;
&lt;li&gt;[ ] Add complexity only when its benefits are demonstrated.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Start with the engineering problem, not the AI tool.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  References and downloads
&lt;/h2&gt;

&lt;p&gt;The following papers provide the research basis for this article. The practical workflow and problem-to-practice mapping above are my synthesis, not findings directly tested by these four papers.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Wang, Y., et al. (2026). &lt;em&gt;From Code Completion to Agentic Development: A Survey of AI Coding Agents, Ecosystems, and Evolving Software Engineering Practice&lt;/em&gt;. Data Science and Engineering. &lt;a href="https://doi.org/10.1007/s41019-026-00371-9" rel="noopener noreferrer"&gt;Paper&lt;/a&gt; · &lt;a href="https://link.springer.com/content/pdf/10.1007/s41019-026-00371-9.pdf" rel="noopener noreferrer"&gt;Publisher PDF&lt;/a&gt;. Quotes: p. 1. The survey covers material through February 2026.&lt;/li&gt;
&lt;li&gt;Díaz-Villegas, J., Xiao, Z., &amp;amp; Cravero, A. (2026). &lt;em&gt;Design Problems, Decisions, and Evidence in Agentic Software Engineering: A Systematic Mapping Study&lt;/em&gt;. Electronics, 15, 5121. &lt;a href="https://doi.org/10.3390/electronics15215121" rel="noopener noreferrer"&gt;Paper&lt;/a&gt; · &lt;a href="https://www.mdpi.com/2079-9292/15/21/5121/pdf" rel="noopener noreferrer"&gt;PDF&lt;/a&gt;. Findings: abstract, p. 1.&lt;/li&gt;
&lt;li&gt;De Oliveira, M. C. S., et al. &lt;em&gt;Developing LLM-based multi-agent systems in software engineering: a mixed-method experience report&lt;/em&gt;. Empirical Software Engineering, 32, 72 (2027 issue; accepted August 2026). &lt;a href="https://doi.org/10.1007/s10664-026-10955-8" rel="noopener noreferrer"&gt;Paper&lt;/a&gt; · &lt;a href="https://link.springer.com/content/pdf/10.1007/s10664-026-10955-8.pdf" rel="noopener noreferrer"&gt;Publisher PDF&lt;/a&gt;. Findings: abstract, p. 1.&lt;/li&gt;
&lt;li&gt;Bhardwaj, V., et al. (2026). &lt;em&gt;Agentic workflows in large language models: a comprehensive review of architectures, planning strategies, and real-world applications&lt;/em&gt;. Discover Computing, 29, 908. &lt;a href="https://doi.org/10.1007/s10791-026-10743-4" rel="noopener noreferrer"&gt;Paper&lt;/a&gt; · &lt;a href="https://link.springer.com/content/pdf/10.1007/s10791-026-10743-4.pdf" rel="noopener noreferrer"&gt;Publisher PDF&lt;/a&gt;. Quote and findings: abstract, p. 1.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Publisher PDF access may depend on access rights.&lt;/p&gt;
&lt;h3&gt;
  
  
  Further reading beyond AI
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Modern Software Engineering&lt;/em&gt; — David Farley.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Accelerate&lt;/em&gt; — Nicole Forsgren, Jez Humble and Gene Kim.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Building Evolutionary Architectures&lt;/em&gt; — Neal Ford et al.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Software Engineering at Google&lt;/em&gt; — Titus Winters, Tom Manshreck and Hyrum Wright (editors).&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;The faster we can generate software, the more important it becomes to specify, verify and understand what we are building.&lt;/p&gt;

&lt;p&gt;What engineering practice has made the biggest difference in your projects?&lt;/p&gt;


&lt;div class="ltag__tag ltag__tag__id__195"&gt;
    &lt;div class="ltag__tag__content"&gt;
      &lt;h2&gt;#&lt;a href="https://dev.to/t/softwareengineering" class="ltag__tag__link"&gt;softwareengineering&lt;/a&gt; Follow
&lt;/h2&gt;
      &lt;div class="ltag__tag__summary"&gt;
        
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;



</description>
      <category>softwareengineering</category>
      <category>ai</category>
      <category>architecture</category>
      <category>devops</category>
    </item>
    <item>
      <title>17 Global Problems, 51 Software Startup Ideas: What Developers Can Build for a Better World</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Wed, 18 Nov 2026 12:40:00 +0000</pubDate>
      <link>https://dev.to/krlz/17-global-problems-51-software-startup-ideas-what-developers-can-build-for-a-better-world-49nj</link>
      <guid>https://dev.to/krlz/17-global-problems-51-software-startup-ideas-what-developers-can-build-for-a-better-world-49nj</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;What if your next side project solved a real problem—not just another CRUD tutorial?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The UN's 17 Sustainable Development Goals (SDGs) offer a useful map of problems worth exploring. They are not a list of guaranteed startup opportunities, and software alone cannot solve structural problems. But they can help us ask better product questions.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Imagine a bakery throwing away edible food while people nearby struggle with grocery costs. A rural school has tablets but no reliable internet. A small clinic loses hours to paperwork. A city owns buses but lacks trustworthy operational data.&lt;/p&gt;

&lt;p&gt;These are not necessarily AI problems. They are coordination, access, information, logistics, and workflow problems. Sometimes a modest web app is more useful than an impressive model.&lt;/p&gt;

&lt;p&gt;This article explores &lt;strong&gt;three buildable software ideas for each of the 17 SDGs&lt;/strong&gt;—&lt;strong&gt;51 ideas in total&lt;/strong&gt;—and connects them to documented examples. For every goal, we'll look at a possible MVP, the customer or partner, and a meaningful impact metric.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A note on evidence:&lt;/strong&gt; The real-world examples below are &lt;em&gt;inspiration and proof that an approach has been attempted&lt;/em&gt;, not validation of the proposed startup ideas. Where I mention a product, it does not mean its business model is profitable or transferable to your market. Sources are linked throughout; the central UN/ITU collection contains &lt;strong&gt;34 documented digital solutions across all 17 SDGs&lt;/strong&gt; (&lt;a href="https://www.sdg-digital.org/accelerationagenda-the-showcase" rel="noopener noreferrer"&gt;SDG Digital showcase&lt;/a&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  A quick product lens: impact ≠ adoption ≠ revenue
&lt;/h2&gt;

&lt;p&gt;Before building anything, ask three separate questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Impact:&lt;/strong&gt; What measurable outcome improves for whom?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adoption:&lt;/strong&gt; Who experiences the pain frequently enough to change their workflow?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sustainability:&lt;/strong&gt; Who pays—or funds and maintains—the service over time?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A dashboard that measures a problem is not the same as a system that changes the outcome. And a social benefit does not automatically create a viable subscription business.&lt;/p&gt;




&lt;h2&gt;
  
  
  SDG 1 — No Poverty: make support easier to reach
&lt;/h2&gt;

&lt;p&gt;Poverty is not just missing money; people can also miss benefits, services, and opportunities because the system is difficult to navigate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Benefits navigator:&lt;/strong&gt; a privacy-conscious eligibility checker that explains public assistance programs in plain language and links to official applications.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Income-stability planner:&lt;/strong&gt; a lightweight cash-flow and payment-reminder tool for irregular-income workers, designed to work on low-end phones.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community referral network:&lt;/strong&gt; a case-management platform helping local nonprofits refer people to food, housing, employment, and legal support without duplicating intake.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; choose one city and five benefits; build a searchable eligibility guide with human-reviewed rules, source dates, and an explicit warning that results are indicative.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Municipalities, nonprofits, foundations, or employers—not necessarily the people in need.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; successful referrals, completed applications, and time saved—not app downloads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Eligibility rules change, and incorrect advice can cause harm. Avoid automatically deciding who deserves assistance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; &lt;a href="https://www.undp.org/publications/digital-public-goods-sdgs" rel="noopener noreferrer"&gt;UNDP: Digital Public Goods for the SDGs&lt;/a&gt; examines replicability, governance, and sustainability of public-interest digital systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 2 — Zero Hunger: improve food access and reduce loss
&lt;/h2&gt;

&lt;p&gt;A surprising amount of the food problem is about timing, coordination, and supply-chain visibility.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Surplus-food exchange:&lt;/strong&gt; connect bakeries, groceries, and restaurants with customers or food-rescue organizations before food expires.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Small-farm demand planner:&lt;/strong&gt; aggregate buyer demand so growers can plan harvests and deliveries more accurately.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Food-bank inventory router:&lt;/strong&gt; track stock, expiry dates, dietary requirements, and delivery priorities across distribution sites.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; one neighborhood, ten food businesses, a simple listing/reservation flow, and pickup windows. Start with manual onboarding rather than sophisticated optimization.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Merchants through commissions or subscriptions; foundations or public programs for donation logistics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; kilograms of edible food redistributed, successful pickups, and spoilage reduction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case study — Too Good To Go:&lt;/strong&gt; The platform connects consumers with businesses selling surplus food at reduced prices. Peer-reviewed studies examine its combination of commercial value and environmental impact. Its success depends on both sides of the marketplace participating—not just on the app itself (&lt;a href="https://doi.org/10.1016/j.techfore.2021.120962" rel="noopener noreferrer"&gt;2021 research&lt;/a&gt;; &lt;a href="https://doi.org/10.1016/j.procs.2023.10.077" rel="noopener noreferrer"&gt;2023 case study&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Food safety, pickup reliability, and local density are harder than the CRUD implementation.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 3 — Good Health and Well-Being: remove administrative friction
&lt;/h2&gt;

&lt;p&gt;Not every health-tech product needs to diagnose disease. Better coordination and follow-up can matter enormously.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Small-clinic operations SaaS:&lt;/strong&gt; appointments, patient records, follow-up reminders, and billing for under-digitized practices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Medication adherence companion:&lt;/strong&gt; opt-in reminders and caregiver alerts, without making medical recommendations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community-health referral tracker:&lt;/strong&gt; help authorized professionals coordinate appointments and follow-up across organizations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; one practice, scheduling plus secure reminders, with clear permissions and audit logs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Clinics, health networks, and public-health organizations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; missed appointments, administrative hours, and completed follow-ups.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; &lt;a href="https://www.undp.org/publications/digital-public-goods-sdgs" rel="noopener noreferrer"&gt;UNDP's digital public goods case studies&lt;/a&gt; illustrate why governance and institutional adoption matter as much as code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Health information is sensitive. Consent, access control, security, local law, and clinical oversight are non-negotiable. A veterinary clinic system can improve animal care, but it should not be casually described as achieving human-health SDG 3.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 4 — Quality Education: design for the learner's real environment
&lt;/h2&gt;

&lt;p&gt;A beautiful learning app that requires fast internet may exclude the students who need it most.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Offline-first learning library:&lt;/strong&gt; downloadable lessons, quizzes, and teacher progress sync when connectivity returns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adaptive practice engine:&lt;/strong&gt; diagnose gaps in mathematics or reading and recommend targeted exercises with teacher oversight.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Teacher workflow assistant:&lt;/strong&gt; lesson planning, assignment distribution, and feedback without requiring students to have personal accounts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; one subject, one grade, offline exercises, and a teacher dashboard. Test on inexpensive Android devices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Schools, education networks, foundations, or government programs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; learning gains, lesson completion, and usage under poor connectivity—not time spent in the app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case study — Kolibri:&lt;/strong&gt; Learning Equality's &lt;a href="https://learningequality.org/kolibri/" rel="noopener noreferrer"&gt;Kolibri&lt;/a&gt; is designed for teaching and learning where internet access is limited. It demonstrates that &lt;strong&gt;offline-first is a product requirement, not merely an engineering optimization&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Curriculum alignment, teacher training, and evidence of learning outcomes are the difficult parts.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 5 — Gender Equality: reduce barriers without collecting unnecessary data
&lt;/h2&gt;

&lt;p&gt;Software can help expose inequities and improve access, but it cannot substitute for institutional change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pay-transparency analyzer:&lt;/strong&gt; help organizations audit compensation patterns and explain disparities responsibly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Return-to-work network:&lt;/strong&gt; match caregivers re-entering the workforce with training, mentors, and flexible opportunities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safe-reporting workflow:&lt;/strong&gt; confidential reporting and case tracking for organizations with independent, trained responders.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; an anonymized pay-band reporting tool for one industry, with minimum group-size thresholds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Employers, industry associations, and nonprofits.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; corrected pay gaps, successful placements, or time to resolve cases—subject to rigorous privacy safeguards.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; The &lt;a href="https://www.sdg-digital.org/accelerationagenda-the-showcase" rel="noopener noreferrer"&gt;ITU/UNDP SDG Digital showcase&lt;/a&gt; includes digital approaches to women's empowerment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Do not build a reporting tool without a credible response process. Privacy failures can put people at risk.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 6 — Clean Water and Sanitation: make invisible losses visible
&lt;/h2&gt;

&lt;p&gt;Water infrastructure often fails quietly: a leak can continue for weeks before anyone notices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Leak-detection analytics:&lt;/strong&gt; flag unusual meter patterns in buildings and commercial properties.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community water-quality log:&lt;/strong&gt; let trained operators record sampling results, location, and maintenance actions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sanitation maintenance scheduler:&lt;/strong&gt; prioritize inspections and repairs for facilities with limited maintenance budgets.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; ingest daily meter readings from CSV; detect abnormal consumption using simple baselines; send reviewable alerts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Property managers, utilities, and municipalities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; verified leaks detected, water saved, and repair response time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; The &lt;a href="https://sdgreport2023.gsma.com/sdgs/sdg-17-partnerships-for-the-goals/" rel="noopener noreferrer"&gt;GSMA SDG reports&lt;/a&gt; document mobile-enabled utility and infrastructure partnerships; the broader &lt;a href="https://www.sdg-digital.org/accelerationagenda-the-showcase" rel="noopener noreferrer"&gt;SDG Digital showcase&lt;/a&gt; catalogs goal-specific solutions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Meter data quality, hardware access, and false positives may dominate the engineering effort.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 7 — Affordable and Clean Energy: optimize what already exists
&lt;/h2&gt;

&lt;p&gt;For many customers, the immediate value proposition is lower energy bills and fewer outages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Energy anomaly detector:&lt;/strong&gt; identify unusual consumption and likely equipment issues from smart-meter data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Solar return-on-investment planner:&lt;/strong&gt; model solar installations using local tariffs, shading assumptions, and consumption patterns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community microgrid dashboard:&lt;/strong&gt; visualize generation, storage, demand, and maintenance for local operators.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; utility-bill upload plus monthly usage analysis and transparent savings scenarios.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Building managers, installers, energy service companies, and utilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; verified kWh reduction, reduced outage duration, and payback accuracy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case study — smart metering:&lt;/strong&gt; GSMA describes a collaboration involving Jazz, CISNR, and PESCO in Pakistan to explore mobile-enabled detection of electricity theft and distribution losses (&lt;a href="https://sdgreport2023.gsma.com/sdgs/sdg-17-partnerships-for-the-goals/" rel="noopener noreferrer"&gt;GSMA case study&lt;/a&gt;). It is a reminder that operational data becomes valuable when utilities can act on it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; A savings estimate is not verified savings. Show assumptions and uncertainty.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 8 — Decent Work and Economic Growth: build for overlooked businesses
&lt;/h2&gt;

&lt;p&gt;Millions of small businesses need fewer spreadsheets and less repetitive administration—not a full enterprise ERP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Microbusiness operations SaaS:&lt;/strong&gt; inventory, sales, invoicing, and basic reporting with a minimal learning curve.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shift and labor-compliance planner:&lt;/strong&gt; scheduling, overtime visibility, and reminders aligned to local labor rules.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skills-to-jobs matcher:&lt;/strong&gt; connect verified skills and short training programs with employers, without opaque automated rejection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; a simple inventory-and-sales workflow for one specific trade, such as neighborhood repair shops.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Business owners or industry associations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; administrative hours saved, inventory accuracy, and sustained business usage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; The &lt;a href="https://www.sdg-digital.org/accelerationagenda-the-showcase" rel="noopener noreferrer"&gt;SDG Digital Acceleration Agenda&lt;/a&gt; includes examples related to decent employment and job quality.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Small businesses are price-sensitive and onboarding-intensive. Talk to users before adding features.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 9 — Industry, Innovation and Infrastructure: turn telemetry into action
&lt;/h2&gt;

&lt;p&gt;Connected infrastructure generates data; useful products translate it into operational decisions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Predictive-maintenance starter kit:&lt;/strong&gt; collect equipment events, detect recurring failure patterns, and schedule inspections.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fleet reliability platform:&lt;/strong&gt; unify vehicle telemetry, service histories, and downtime reporting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure incident API:&lt;/strong&gt; standardize reports from field technicians and route them to responsible teams.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; start with historical fault logs and maintenance tickets before buying sensors or training ML models.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Logistics companies, manufacturers, facility operators, and infrastructure contractors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; unplanned downtime, mean time to repair, and maintenance cost per asset.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; &lt;a href="https://www.itu.int/en/mediacentre/Pages/PR-2023-09-18-SDG-digital-outcomes.aspx" rel="noopener noreferrer"&gt;ITU's SDG Digital announcement&lt;/a&gt; describes digital infrastructure, connectivity mapping, and a set of 34 case studies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Prediction without a repair workflow is just another alert nobody acts on.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 10 — Reduced Inequalities: make services genuinely accessible
&lt;/h2&gt;

&lt;p&gt;A service isn't accessible just because it has a website.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility testing assistant:&lt;/strong&gt; flag common usability barriers and generate actionable remediation tasks for developers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multilingual public-service guide:&lt;/strong&gt; explain forms and procedures in multiple languages with source-linked translations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low-bandwidth service portal:&lt;/strong&gt; provide essential workflows through small pages, SMS, or assisted access points.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; audit and improve a narrow class of public-service forms, with real accessibility testing by affected users.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Government agencies, service providers, and enterprises with accessibility obligations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; task completion rates, accessibility issues resolved, and reduced support requests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; &lt;a href="https://www.undp.org/publications/digital-public-goods-sdgs" rel="noopener noreferrer"&gt;UNDP: Digital Public Goods for the SDGs&lt;/a&gt; explores the role of reusable digital systems in development.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Automated accessibility scanners cannot replace testing with real people.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 11 — Sustainable Cities and Communities: help cities operate better
&lt;/h2&gt;

&lt;p&gt;Urban sustainability often comes down to maintenance, mobility, and feedback loops.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Transit route analyzer:&lt;/strong&gt; evaluate vehicle occupancy, service reliability, and route performance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Civic maintenance tracker:&lt;/strong&gt; residents report damaged infrastructure; city teams triage, assign, and close requests transparently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Neighborhood resilience map:&lt;/strong&gt; combine verified data on heat, flood exposure, public facilities, and emergency resources.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; one category of maintenance requests in one district, with public status updates and a staff queue.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Municipalities, transit operators, or civic organizations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; issue-resolution time, repeat incidents, and transit reliability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case study — civic reporting:&lt;/strong&gt; &lt;a href="https://www.fixmystreet.com/" rel="noopener noreferrer"&gt;FixMyStreet&lt;/a&gt; illustrates the idea of turning citizen reports into structured, location-based public-service workflows.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; A reporting app that the municipality does not respond to can make trust worse.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 12 — Responsible Consumption and Production: keep useful materials circulating
&lt;/h2&gt;

&lt;p&gt;The circular economy needs practical discovery, tracking, and logistics—not just environmental messaging.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;B2B surplus-material exchange:&lt;/strong&gt; match usable construction, manufacturing, or packaging leftovers with buyers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repair-history passport:&lt;/strong&gt; record repairs, parts, and service life to support reuse and resale.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Waste analytics for restaurants:&lt;/strong&gt; classify discarded items and identify purchasing or preparation changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; a narrowly focused exchange for one material type and one metro area, with manual quality checks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Suppliers, recyclers, buyers, or facility operators.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; material reused, disposal costs avoided, and repeat transactions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case study — food waste:&lt;/strong&gt; Too Good To Go demonstrates a consumer-facing circular model, but the same coordination principle can apply to industrial materials (&lt;a href="https://doi.org/10.1016/j.procs.2025.09.573" rel="noopener noreferrer"&gt;academic analysis&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Transport, material quality, and transaction trust may be more expensive than the software.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 13 — Climate Action: measure less, change more
&lt;/h2&gt;

&lt;p&gt;Carbon dashboards are easy to prototype. Trustworthy accounting and verified reductions are harder.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Small-business emissions ledger:&lt;/strong&gt; calculate estimates from energy, fuel, and transport records with auditable factors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Building retrofit prioritizer:&lt;/strong&gt; compare insulation, lighting, and equipment upgrades by cost and expected savings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Climate-risk operations planner:&lt;/strong&gt; translate credible hazard datasets into facility-specific preparedness tasks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; calculate electricity-related emissions for one type of business, exposing the factor source, year, and uncertainty.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; SMEs, consultants, property managers, and supply-chain buyers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; independently verified emissions reductions and completed mitigation actions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; &lt;a href="https://www.un.org/sites/un2.un.org/files/global-digi-cooperation-and-sdgs-en.pdf" rel="noopener noreferrer"&gt;UN: Global Digital Cooperation and the SDGs&lt;/a&gt; outlines how digital technologies can support climate and resource-efficiency work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Estimated emissions are not proof of avoided emissions. Avoid unsupported environmental claims.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 14 — Life Below Water: make marine observations actionable
&lt;/h2&gt;

&lt;p&gt;Protecting oceans requires field observations, enforcement, and collaboration across large areas.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Coastal litter mapping:&lt;/strong&gt; collect geotagged cleanup data and identify recurring pollution sources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fishing-gear recovery network:&lt;/strong&gt; coordinate reports of lost nets and safe recovery operations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Marine monitoring portal:&lt;/strong&gt; combine public sensor and satellite datasets into understandable local alerts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; one coastline, verified cleanup submissions, duplicate detection, and monthly hotspot reports.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Coastal municipalities, research institutions, NGOs, and maritime businesses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; verified debris removed, recurring hotspots addressed, and response times.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; The &lt;a href="https://www.un.org/sites/un2.un.org/files/global-digi-cooperation-and-sdgs-en.pdf" rel="noopener noreferrer"&gt;UN digital cooperation report&lt;/a&gt; discusses satellite imagery, machine learning, and digital marketplaces for plastic-waste flows.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Crowdsourced maps need verification, and removing trash is not the same as preventing new pollution.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 15 — Life on Land: protect biodiversity with better evidence
&lt;/h2&gt;

&lt;p&gt;This goal concerns terrestrial ecosystems, forests, land degradation, and biodiversity—not simply every product involving animals.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Habitat-change alert system:&lt;/strong&gt; combine satellite layers and local observations to flag potentially harmful land-use changes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wildlife rescue case manager:&lt;/strong&gt; coordinate authorized rescue organizations, veterinarians, and release follow-up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Invasive-species reporting app:&lt;/strong&gt; allow experts to validate sightings and map expansion over time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; an expert-reviewed observation workflow for one region and one species or habitat type.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Conservation NGOs, land managers, research groups, or public agencies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; validated observations, response time, and documented conservation actions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case study — UN Biodiversity Lab:&lt;/strong&gt; UNDP describes the &lt;a href="https://www.undp.org/publications/un-biodiversity-lab-how-un-champions-digital-public-goods-global-commons" rel="noopener noreferrer"&gt;UN Biodiversity Lab&lt;/a&gt; as an example of a reusable digital public good supporting environmental data and decision-making.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Publishing precise locations of vulnerable species may expose them to harm; location masking and access controls matter.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 16 — Peace, Justice and Strong Institutions: design for accountability
&lt;/h2&gt;

&lt;p&gt;Public-sector software can improve transparency, but trust depends on governance and follow-through.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Public procurement explorer:&lt;/strong&gt; make contracts, amendments, vendors, and spending searchable with clear source links.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Freedom-of-information request tracker:&lt;/strong&gt; manage submissions, statutory deadlines, responses, and appeals.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Legal-aid intake portal:&lt;/strong&gt; help approved organizations route people to the right services without pretending to provide legal advice.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; import a public procurement dataset and build a readable search interface with provenance and update dates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Newsrooms, civil-society organizations, public institutions, and foundations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; records made accessible, requests resolved, and investigation time saved.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research trail:&lt;/strong&gt; The &lt;a href="https://www.un.org/sites/un2.un.org/files/global-digi-cooperation-and-sdgs-en.pdf" rel="noopener noreferrer"&gt;UN digital cooperation report&lt;/a&gt; discusses public technologies and e-government as enablers of better services and accountability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; Transparency tools need source accuracy, correction mechanisms, and protection against misuse.&lt;/p&gt;

&lt;h2&gt;
  
  
  SDG 17 — Partnerships for the Goals: coordinate the people doing the work
&lt;/h2&gt;

&lt;p&gt;Partnerships sound abstract until you try to coordinate organizations with different budgets, data formats, and incentives.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three software ideas&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;NGO–company project matcher:&lt;/strong&gt; connect verified needs with funding, expertise, and volunteer capacity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shared impact-reporting API:&lt;/strong&gt; help organizations report comparable indicators without duplicate data entry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Grant collaboration workspace:&lt;/strong&gt; manage milestones, evidence, responsibilities, and reporting across multiple partners.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;MVP to try:&lt;/strong&gt; one regional network, standardized project profiles, and a simple matching-and-follow-up workflow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who might sustain it?&lt;/strong&gt; Foundations, networks, corporate social-responsibility programs, and public agencies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measure:&lt;/strong&gt; active partnerships, delivered commitments, and reduced reporting effort.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Case study — Partner2Connect:&lt;/strong&gt; The International Telecommunication Union's &lt;a href="https://www.itu.int/hub/2023/09/partner2connect-mobilizing-pledges-and-tracking-implementation/" rel="noopener noreferrer"&gt;Partner2Connect Digital Coalition&lt;/a&gt; uses a public platform for connectivity commitments, progress reporting, and potential partnerships. This is a real example of software supporting coordination—not replacing it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reality check:&lt;/strong&gt; A directory is not a partnership. Track actual commitments and outcomes.&lt;/p&gt;




&lt;h2&gt;
  
  
  Which ideas make sense for a small software team?
&lt;/h2&gt;

&lt;p&gt;The following is &lt;strong&gt;my qualitative assessment&lt;/strong&gt;, not a validated market ranking. “MVP effort” assumes a focused scope, existing cloud services, and no custom hardware.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Idea&lt;/th&gt;
&lt;th&gt;MVP effort&lt;/th&gt;
&lt;th&gt;Potential buyer&lt;/th&gt;
&lt;th&gt;Hardest non-code problem&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Microbusiness SaaS&lt;/td&gt;
&lt;td&gt;Low–medium&lt;/td&gt;
&lt;td&gt;Small businesses&lt;/td&gt;
&lt;td&gt;Distribution and retention&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Clinic operations SaaS&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;Clinics&lt;/td&gt;
&lt;td&gt;Privacy and workflow adoption&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Food surplus marketplace&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;Merchants / partners&lt;/td&gt;
&lt;td&gt;Local marketplace liquidity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Offline education&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;Schools / NGOs&lt;/td&gt;
&lt;td&gt;Curriculum and learning outcomes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fleet maintenance analytics&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;Fleet operators&lt;/td&gt;
&lt;td&gt;Access to clean operational data&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Water leak analytics&lt;/td&gt;
&lt;td&gt;Medium–high&lt;/td&gt;
&lt;td&gt;Property managers&lt;/td&gt;
&lt;td&gt;Meter integrations and verification&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Procurement explorer&lt;/td&gt;
&lt;td&gt;Low–medium&lt;/td&gt;
&lt;td&gt;NGOs / institutions&lt;/td&gt;
&lt;td&gt;Data quality and sustainable funding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Biodiversity observations&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;NGOs / researchers&lt;/td&gt;
&lt;td&gt;Expert validation and safety&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  A practical four-week validation sprint
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Week 1 — Interviews, not architecture.&lt;/strong&gt; Talk to at least 10 people who experience the problem. Ask about the last time it happened, their workaround, and its cost. Don't pitch features yet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 2 — Prototype the workflow.&lt;/strong&gt; Build the smallest path from input to action: report → triage → response, or record → alert → verified intervention.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 3 — Pilot with real users.&lt;/strong&gt; Observe people using it. Record where they abandon the flow. Use manual operations behind the scenes if necessary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 4 — Test sustainability.&lt;/strong&gt; Ask who would pay, approve procurement, provide data, and maintain the system. Agree on one measurable outcome and a next pilot milestone.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Problem → User → Existing workaround → Smallest useful workflow
        → Verified outcome → Buyer / funder → Repeatable delivery
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Engineering principles I would keep across all 17 goals
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Offline and low-bandwidth support&lt;/strong&gt; when access is part of the problem.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility and multilingual UX&lt;/strong&gt; from the first prototype, not the final sprint.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy by design:&lt;/strong&gt; collect only the data needed; use retention limits and role-based access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human review&lt;/strong&gt; for consequential eligibility, health, safety, and legal decisions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interoperability:&lt;/strong&gt; exports, documented APIs, and open formats reduce lock-in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observable impact:&lt;/strong&gt; track the real-world outcome, not just clicks or model predictions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Operational simplicity:&lt;/strong&gt; a reliable monolith may be better than an elaborate microservices architecture.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A final thought: don't start with the SDG badge
&lt;/h2&gt;

&lt;p&gt;Start with someone who has a recurring problem. Understand why existing tools fail. Build the smallest thing that changes their day. Then ask which SDG target your &lt;strong&gt;measured outcome&lt;/strong&gt; genuinely supports.&lt;/p&gt;

&lt;p&gt;The most useful software for sustainability might not look revolutionary. It might be a reliable scheduling tool for an under-resourced clinic, a better inventory system for a food bank, or a maintenance alert that prevents thousands of liters of water from being wasted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The goal is not to build 17 apps for 17 goals. It's to build one useful product that works—and can keep working.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;What overlooked problem would you build for? And who would be the first person you'd interview?&lt;/p&gt;




&lt;h2&gt;
  
  
  Further reading and case-study sources
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://sdgs.un.org/goals" rel="noopener noreferrer"&gt;United Nations — Sustainable Development Goals&lt;/a&gt; — official goals and targets.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.sdg-digital.org/accelerationagenda-the-showcase" rel="noopener noreferrer"&gt;ITU &amp;amp; UNDP — SDG Digital Acceleration Agenda showcase&lt;/a&gt; — 34 digital solutions, two per SDG.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.undp.org/publications/digital-public-goods-sdgs" rel="noopener noreferrer"&gt;UNDP — Digital Public Goods for the SDGs (2023)&lt;/a&gt; — five case studies and sustainability considerations.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.un.org/sites/un2.un.org/files/global-digi-cooperation-and-sdgs-en.pdf" rel="noopener noreferrer"&gt;United Nations — Global Digital Cooperation and the SDGs&lt;/a&gt; — digital technologies across the goals.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://wedocs.unep.org/handle/20.500.11822/36805" rel="noopener noreferrer"&gt;UNEP — Digital Technologies and Food Waste in Kampala&lt;/a&gt; — context-specific food waste research.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://doi.org/10.1016/j.techfore.2021.120962" rel="noopener noreferrer"&gt;Vo-Thanh et al. — Too Good To Go (2021)&lt;/a&gt; — peer-reviewed research on social business and mobile apps.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://doi.org/10.1016/j.procs.2023.10.077" rel="noopener noreferrer"&gt;Too Good To Go case study (2023)&lt;/a&gt; — social innovation and food rescue.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://learningequality.org/kolibri/" rel="noopener noreferrer"&gt;Learning Equality — Kolibri&lt;/a&gt; — offline-first education platform.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.fixmystreet.com/" rel="noopener noreferrer"&gt;MySociety — FixMyStreet&lt;/a&gt; — civic issue reporting.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.undp.org/publications/un-biodiversity-lab-how-un-champions-digital-public-goods-global-commons" rel="noopener noreferrer"&gt;UNDP — UN Biodiversity Lab&lt;/a&gt; — digital public goods for environmental data.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.itu.int/hub/2023/09/partner2connect-mobilizing-pledges-and-tracking-implementation/" rel="noopener noreferrer"&gt;ITU — Partner2Connect&lt;/a&gt; — partnership commitments and tracking.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://sdgreport2023.gsma.com/sdgs/sdg-17-partnerships-for-the-goals/" rel="noopener noreferrer"&gt;GSMA — SDG 17 case studies&lt;/a&gt; — utility and cross-sector partnerships.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;Disclosure: This is an independently written idea and research guide. The proposed MVPs are hypothetical, and the cited examples do not establish demand, impact, or commercial viability for a new product.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>sustainability</category>
      <category>startup</category>
      <category>programming</category>
      <category>socialimpact</category>
    </item>
    <item>
      <title>The Most Important AI Engineering Skill Is Saying No (AI-DLC, bolts, and autonomous agents)</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Wed, 04 Nov 2026 19:52:39 +0000</pubDate>
      <link>https://dev.to/krlz/the-most-important-ai-engineering-skill-is-saying-no-ai-dlc-bolts-and-autonomous-agents-20ob</link>
      <guid>https://dev.to/krlz/the-most-important-ai-engineering-skill-is-saying-no-ai-dlc-bolts-and-autonomous-agents-20ob</guid>
      <description>&lt;p&gt;AI can now propose an architecture, break requirements into tasks, write the implementation, generate tests, and prepare a deployment.&lt;/p&gt;

&lt;p&gt;And we are increasingly building entire development methodologies around that capability.&lt;/p&gt;

&lt;p&gt;AWS introduced the &lt;strong&gt;AI-Driven Development Lifecycle (AI-DLC)&lt;/strong&gt;, with concepts such as &lt;em&gt;Units of Work&lt;/em&gt;, &lt;em&gt;Bolts&lt;/em&gt;, &lt;em&gt;Mob Elaboration&lt;/em&gt;, and &lt;em&gt;Mob Construction&lt;/em&gt;. Frameworks such as &lt;a href="https://specs.md/" rel="noopener noreferrer"&gt;specs.md&lt;/a&gt; bring similar ideas into tools like Claude Code.&lt;/p&gt;

&lt;p&gt;The promise is compelling: shorter development cycles, persistent context, specialized agents, and fewer manual handoffs.&lt;/p&gt;

&lt;p&gt;But after exploring these methodologies, I keep returning to a question that seems more important than how quickly AI can produce software:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who is actually making the engineering decisions?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not who approves the final pull request. Not who clicks "continue" when an agent requests permission.&lt;/p&gt;

&lt;p&gt;Who decides whether an architectural proposal makes sense in the first place?&lt;/p&gt;


&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
&lt;strong&gt;My argument:&lt;/strong&gt; The most valuable human contribution to AI-driven software development may be the ability to reject an AI proposal, establish constraints, demand alternatives, and stop execution.

&lt;p&gt;If developers lose that authority, human-in-the-loop becomes little more than a ceremonial approval process.&lt;br&gt;

&lt;/p&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  We are redesigning software development around AI
&lt;/h2&gt;

&lt;p&gt;For years, the software industry has experimented with methodologies intended to improve how teams deliver software.&lt;/p&gt;

&lt;p&gt;Waterfall emphasized sequential phases. Agile introduced iterative development and faster feedback. Scrum provided a framework for organizing complex work, while Kanban emphasized managing flow.&lt;/p&gt;

&lt;p&gt;Now we have AI-native development methodologies.&lt;/p&gt;

&lt;p&gt;AWS describes AI-DLC as a model in which AI creates plans, asks questions, proposes solutions, and executes work after human validation.&lt;/p&gt;

&lt;p&gt;Its lifecycle has three major phases:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Phase&lt;/th&gt;
&lt;th&gt;AI responsibility&lt;/th&gt;
&lt;th&gt;Human responsibility&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Inception&lt;/td&gt;
&lt;td&gt;Elaborate requirements and propose units&lt;/td&gt;
&lt;td&gt;Validate business intent and scope&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Construction&lt;/td&gt;
&lt;td&gt;Propose designs, generate code, and test&lt;/td&gt;
&lt;td&gt;Make technical decisions and validate results&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operations&lt;/td&gt;
&lt;td&gt;Prepare infrastructure and operational changes&lt;/td&gt;
&lt;td&gt;Provide oversight and authorize consequential actions&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The methodology also introduces &lt;strong&gt;Bolts&lt;/strong&gt;, short execution cycles generally measured in hours or days rather than weeks.&lt;/p&gt;

&lt;p&gt;The ambition is to reorganize the development lifecycle around AI's ability to generate and execute work rapidly.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd2908q01vomqb2.cloudfront.net%2F7719a1c782a1ba91c031a682a0a2f8658209adbf%2F2025%2F07%2F31%2Faidlc-1120x630.png" height="450" class="m-0" width="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/" rel="noopener noreferrer" class="c-link"&gt;
            AI-Driven Development Life Cycle: Reimagining Software Engineering | AWS DevOps &amp;amp; Developer Productivity Blog
          &lt;/a&gt;
        &lt;/h2&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fa0.awsstatic.com%2Fmain%2Fimages%2Fsite%2Ffav%2Ffavicon.ico" width="16" height="16"&gt;
          aws.amazon.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;This is a legitimate direction to explore.&lt;/p&gt;

&lt;p&gt;But there is a subtle difference between accelerating software development and accelerating the production of software artifacts.&lt;/p&gt;

&lt;p&gt;An agent can produce five architectural alternatives in minutes.&lt;/p&gt;

&lt;p&gt;It cannot guarantee that any of them is appropriate for the organization, its operational constraints, or the business problem.&lt;/p&gt;

&lt;p&gt;That distinction becomes increasingly important as agents gain autonomy.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Bolt is not a substitute for engineering judgment
&lt;/h2&gt;

&lt;p&gt;Consider a traditional development team implementing a reservation management feature.&lt;/p&gt;

&lt;p&gt;A developer might spend time understanding the domain, inspecting existing services, discussing edge cases, and choosing an implementation strategy.&lt;/p&gt;

&lt;p&gt;With an AI-driven workflow, an agent may perform much of that investigation and propose an implementation plan.&lt;/p&gt;

&lt;p&gt;The team can then approve the plan and let the agent execute it.&lt;/p&gt;

&lt;p&gt;This sounds efficient.&lt;/p&gt;

&lt;p&gt;But consider what happens when the agent proposes an unnecessarily complicated solution.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Introduce a Kafka topic to propagate reservation state changes, a Redis cache for availability lookups, and a new microservice responsible for reservation lifecycle management.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It sounds like an architecture.&lt;/p&gt;

&lt;p&gt;It even sounds like a reasonably sophisticated one.&lt;/p&gt;

&lt;p&gt;But what if the system currently handles a few hundred reservations per day, uses a single PostgreSQL database, and has no demonstrated scaling problem?&lt;/p&gt;

&lt;p&gt;The correct engineering decision might be:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No. We do not need any of that.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We might need one additional endpoint, a transaction, a database constraint, and two integration tests.&lt;/p&gt;

&lt;p&gt;An AI agent can generate a technically coherent architecture that is nevertheless a poor engineering decision.&lt;/p&gt;

&lt;p&gt;The danger is not only incorrect code.&lt;/p&gt;

&lt;p&gt;It is &lt;em&gt;unnecessary complexity delivered at extraordinary speed&lt;/em&gt;.&lt;/p&gt;


&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
&lt;strong&gt;A successful Bolt should not be measured by how much work the agent completed.&lt;/strong&gt;

&lt;p&gt;It should be measured by whether the team delivered a correct, maintainable increment that solves the intended problem.&lt;br&gt;

&lt;/p&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  Human-in-the-loop is not the same as human-in-control
&lt;/h2&gt;

&lt;p&gt;This distinction deserves more attention.&lt;/p&gt;

&lt;p&gt;Many AI workflows include human checkpoints. The agent presents a plan, and a developer approves or rejects it.&lt;/p&gt;

&lt;p&gt;That is useful, but insufficient.&lt;/p&gt;

&lt;p&gt;Imagine the following interaction:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI:&lt;/strong&gt; I recommend introducing an event-driven architecture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developer:&lt;/strong&gt; Approved.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI:&lt;/strong&gt; I will implement three services and their supporting infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developer:&lt;/strong&gt; Approved.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI:&lt;/strong&gt; Implementation complete. All generated tests pass.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developer:&lt;/strong&gt; Approved.&lt;/p&gt;

&lt;p&gt;There were three human checkpoints.&lt;/p&gt;

&lt;p&gt;Yet we have no evidence that meaningful engineering judgment occurred at any of them.&lt;/p&gt;

&lt;p&gt;Now consider a different interaction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI:&lt;/strong&gt; I recommend introducing an event-driven architecture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developer:&lt;/strong&gt; Why? What problem does it solve that our existing transactional design cannot?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI:&lt;/strong&gt; It could improve decoupling and asynchronous processing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developer:&lt;/strong&gt; Show me three alternatives. Compare operational cost, consistency guarantees, failure recovery, and migration effort. Our team maintains this platform with limited infrastructure capacity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI:&lt;/strong&gt; A transactional implementation appears sufficient under those constraints.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developer:&lt;/strong&gt; Proceed with that approach. Do not introduce new infrastructure.&lt;/p&gt;

&lt;p&gt;The second interaction may produce less code.&lt;/p&gt;

&lt;p&gt;It may also produce substantially better software.&lt;/p&gt;

&lt;p&gt;The developer was not merely validating output.&lt;/p&gt;

&lt;p&gt;The developer was actively shaping the solution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Human-in-the-loop describes participation. Human-in-control describes authority.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;They are not equivalent.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four powers developers must retain
&lt;/h2&gt;

&lt;p&gt;I believe every serious AI engineering workflow should explicitly preserve four human capabilities.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Reject a proposal
&lt;/h3&gt;

&lt;p&gt;Developers must be able to reject a design without having to provide a replacement implementation immediately.&lt;/p&gt;

&lt;p&gt;This matters because rejecting a bad abstraction is often easier than constructing a better one.&lt;/p&gt;

&lt;p&gt;An AI-generated design may be logically consistent but violate established architectural boundaries, introduce unnecessary dependencies, or optimize for a problem that does not exist.&lt;/p&gt;

&lt;p&gt;A useful rejection should identify the concern:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Reject this proposal. It introduces a new service without demonstrating a need for independent scaling, deployment, or domain ownership.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is an engineering decision.&lt;/p&gt;

&lt;p&gt;Not an obstacle to automation.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Establish constraints
&lt;/h3&gt;

&lt;p&gt;AI agents need boundaries.&lt;/p&gt;

&lt;p&gt;Not just coding conventions, but architectural and operational constraints.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;architecture&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;new_microservices&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;prohibited&lt;/span&gt;
  &lt;span class="na"&gt;database&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;postgresql&lt;/span&gt;
  &lt;span class="na"&gt;messaging&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;existing_kafka_topics_only&lt;/span&gt;
  &lt;span class="na"&gt;public_api_breaking_changes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;prohibited&lt;/span&gt;

&lt;span class="na"&gt;reliability&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;retries_must_be_bounded&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;idempotency_required_for_commands&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;backward_compatibility&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;required&lt;/span&gt;

&lt;span class="na"&gt;delivery&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;unrelated_refactoring&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;prohibited&lt;/span&gt;
  &lt;span class="na"&gt;integration_tests&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;required&lt;/span&gt;
  &lt;span class="na"&gt;production_deployment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;manual_approval&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This is an illustrative policy, not a native specs.md configuration file.&lt;/p&gt;

&lt;p&gt;The point is that constraints should be explicit, versioned, and testable wherever possible.&lt;/p&gt;

&lt;p&gt;A developer should not need to repeat the same architectural principles every time a new agent session begins.&lt;/p&gt;
&lt;h3&gt;
  
  
  3. Demand alternatives
&lt;/h3&gt;

&lt;p&gt;One of the most dangerous properties of AI-generated solutions is how persuasive they can appear.&lt;/p&gt;

&lt;p&gt;A complete design document with diagrams, tradeoff tables, and confident explanations can create the impression that the design space has already been explored.&lt;/p&gt;

&lt;p&gt;It may not have been.&lt;/p&gt;

&lt;p&gt;For consequential decisions, developers should ask:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is the simplest viable alternative?&lt;/li&gt;
&lt;li&gt;What can we implement using existing components?&lt;/li&gt;
&lt;li&gt;Which assumptions would make this design inappropriate?&lt;/li&gt;
&lt;li&gt;What are the operational and maintenance costs?&lt;/li&gt;
&lt;li&gt;What would make us reverse this decision six months from now?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These questions force the agent to explore the decision rather than simply defend its first proposal.&lt;/p&gt;
&lt;h3&gt;
  
  
  4. Stop execution
&lt;/h3&gt;

&lt;p&gt;Autonomy should have boundaries.&lt;/p&gt;

&lt;p&gt;An agent should stop when it encounters an unresolved architectural decision, a destructive operation, a security-sensitive change, or a conflict between requirements.&lt;/p&gt;

&lt;p&gt;Consider a database migration.&lt;/p&gt;

&lt;p&gt;The agent discovers that implementing a new feature requires modifying a heavily used table.&lt;/p&gt;

&lt;p&gt;It should not automatically choose a destructive migration merely because doing so would complete the task.&lt;/p&gt;

&lt;p&gt;It should surface the conflict.&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;EXECUTION PAUSED

Reason:
The proposed schema change may break
existing consumers.

Options:
A. Backward-compatible additive migration
B. Versioned API and staged migration
C. Redesign the feature to avoid the change

Decision required:
Authorized engineering owner
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Stopping is not failure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stopping at the correct moment is a feature of a well-governed autonomous system.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  But who should make these decisions?
&lt;/h2&gt;

&lt;p&gt;Not every decision belongs to the same person.&lt;/p&gt;

&lt;p&gt;Product owners and business stakeholders should determine which outcomes matter.&lt;/p&gt;

&lt;p&gt;Domain experts should validate business rules.&lt;/p&gt;

&lt;p&gt;Developers and technical leads should own engineering decisions, including architecture, implementation constraints, reliability, and maintainability.&lt;/p&gt;

&lt;p&gt;Authorized operational owners should control production releases.&lt;/p&gt;

&lt;p&gt;AI can help each group evaluate alternatives and execute approved work.&lt;/p&gt;

&lt;p&gt;It should not silently inherit their authority.&lt;/p&gt;

&lt;p&gt;This is also where AI-DLC should be evaluated against established engineering practices.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://scrumguides.org/scrum-guide.html" rel="noopener noreferrer"&gt;Scrum Guide&lt;/a&gt; makes developers accountable for creating the Sprint Backlog, adapting their plan, and maintaining quality through the Definition of Done.&lt;/p&gt;

&lt;p&gt;AI-DLC changes the mechanics of planning and implementation, but it should not erase that accountability.&lt;/p&gt;

&lt;p&gt;There is a difference between delegating execution and delegating responsibility.&lt;/p&gt;
&lt;h2&gt;
  
  
  What happens when agents start making architecture decisions?
&lt;/h2&gt;

&lt;p&gt;Imagine a team maintaining a mature backend platform.&lt;/p&gt;

&lt;p&gt;The system has accumulated years of architectural decisions, operational lessons, domain-specific exceptions, and integration constraints.&lt;/p&gt;

&lt;p&gt;An AI agent receives a request:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Implement real-time reporting for active alerts.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The agent examines the existing implementation and proposes a separate Redis-backed endpoint for active alerts, while historical alerts remain in PostgreSQL.&lt;/p&gt;

&lt;p&gt;At first glance, the design may appear reasonable.&lt;/p&gt;

&lt;p&gt;But the engineering team knows that this introduces two sources of truth for reporting.&lt;/p&gt;

&lt;p&gt;Now every consumer needs to understand which endpoint to query, how to reconcile results, and what happens during synchronization failures.&lt;/p&gt;

&lt;p&gt;The developer may instead insist on a unified reporting model with explicitly defined state transitions.&lt;/p&gt;

&lt;p&gt;That decision requires understanding more than the immediate feature.&lt;/p&gt;

&lt;p&gt;It requires understanding the system's history, consistency requirements, and future maintenance burden.&lt;/p&gt;

&lt;p&gt;AI can help investigate those concerns.&lt;/p&gt;

&lt;p&gt;But it cannot automatically determine which organizational tradeoffs are acceptable.&lt;/p&gt;

&lt;p&gt;This is precisely where experienced engineering judgment becomes valuable.&lt;/p&gt;
&lt;h2&gt;
  
  
  The problem with measuring AI development through speed
&lt;/h2&gt;

&lt;p&gt;AI-DLC introduces shorter execution cycles, and frameworks such as specs.md provide structured workflows for implementing them.&lt;/p&gt;

&lt;p&gt;But how should we evaluate whether these methodologies work?&lt;/p&gt;

&lt;p&gt;A common demonstration shows an agent producing a working application in a few hours or days.&lt;/p&gt;

&lt;p&gt;That is impressive.&lt;/p&gt;

&lt;p&gt;It is not sufficient evidence of long-term engineering effectiveness.&lt;/p&gt;

&lt;p&gt;I would be more interested in what happens after six months.&lt;/p&gt;

&lt;p&gt;Can another developer understand the architecture?&lt;/p&gt;

&lt;p&gt;Can the team safely introduce a new feature?&lt;/p&gt;

&lt;p&gt;Do the specifications still describe the implementation?&lt;/p&gt;

&lt;p&gt;Can a developer challenge an earlier decision without rebuilding half the platform?&lt;/p&gt;

&lt;p&gt;How much human effort is required to review and repair generated changes?&lt;/p&gt;

&lt;p&gt;And when something fails in production, can the team diagnose it without depending on the original agent's conversation history?&lt;/p&gt;

&lt;p&gt;Those questions are harder to demonstrate than a successful prototype.&lt;/p&gt;

&lt;p&gt;But they are closer to what professional software engineering actually requires.&lt;/p&gt;

&lt;p&gt;A useful evaluation should compare:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;What it reveals&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Acceptance-test success&lt;/td&gt;
&lt;td&gt;Whether the implementation meets requirements&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Human review time&lt;/td&gt;
&lt;td&gt;How much effort correctness requires&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rework after implementation&lt;/td&gt;
&lt;td&gt;Whether the initial solution was appropriate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Architectural complexity&lt;/td&gt;
&lt;td&gt;Whether unnecessary components were introduced&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operational incidents&lt;/td&gt;
&lt;td&gt;Whether the system remains reliable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost per accepted change&lt;/td&gt;
&lt;td&gt;Whether faster generation creates real efficiency&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maintainability over time&lt;/td&gt;
&lt;td&gt;Whether future engineers can safely evolve the system&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Counting completed Bolts is not enough.&lt;/p&gt;

&lt;p&gt;Counting generated lines of code is even less useful.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The meaningful unit of progress is not AI activity. It is validated software value.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Are we accidentally reinventing Waterfall?
&lt;/h2&gt;

&lt;p&gt;There is another uncomfortable possibility.&lt;/p&gt;

&lt;p&gt;Spec-driven AI development often emphasizes generating requirements, architecture documents, implementation plans, tasks, and tests before or during execution.&lt;/p&gt;

&lt;p&gt;These artifacts can improve traceability and preserve context.&lt;/p&gt;

&lt;p&gt;But if teams begin treating AI-generated specifications as authoritative simply because they were approved, we risk recreating a familiar problem.&lt;/p&gt;

&lt;p&gt;The process becomes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Generate extensive requirements.&lt;/li&gt;
&lt;li&gt;Approve the requirements.&lt;/li&gt;
&lt;li&gt;Generate the architecture.&lt;/li&gt;
&lt;li&gt;Approve the architecture.&lt;/li&gt;
&lt;li&gt;Generate the implementation.&lt;/li&gt;
&lt;li&gt;Discover that the original assumptions were wrong.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That is not automatically Agile because the implementation happened in short Bolts.&lt;/p&gt;

&lt;p&gt;Agility requires the ability to revise assumptions and respond to new information.&lt;/p&gt;

&lt;p&gt;A Bolt can be short while the overall process remains rigid.&lt;/p&gt;

&lt;p&gt;Conversely, a team can use AI-generated specifications effectively if those specifications remain open to challenge, revision, and even deletion.&lt;/p&gt;

&lt;p&gt;The value of a specification is not that it exists.&lt;/p&gt;

&lt;p&gt;It is that it helps the team make and revisit decisions.&lt;/p&gt;
&lt;h2&gt;
  
  
  A better AI engineering workflow
&lt;/h2&gt;

&lt;p&gt;I would rather see teams organize AI-assisted development around explicit decision boundaries.&lt;/p&gt;

&lt;p&gt;Not every small change needs a complete architectural review.&lt;/p&gt;

&lt;p&gt;But not every change should run on autopilot either.&lt;/p&gt;

&lt;p&gt;Here is a practical model.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Change&lt;/th&gt;
&lt;th&gt;AI autonomy&lt;/th&gt;
&lt;th&gt;Human involvement&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Documentation correction&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;td&gt;Review output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Small API enhancement&lt;/td&gt;
&lt;td&gt;High within constraints&lt;/td&gt;
&lt;td&gt;Validate contract and tests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Internal refactoring&lt;/td&gt;
&lt;td&gt;Moderate&lt;/td&gt;
&lt;td&gt;Review behavior preservation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cross-service integration&lt;/td&gt;
&lt;td&gt;Limited&lt;/td&gt;
&lt;td&gt;Approve design and failure handling&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data migration&lt;/td&gt;
&lt;td&gt;Restricted&lt;/td&gt;
&lt;td&gt;Approve migration and rollback&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security-sensitive change&lt;/td&gt;
&lt;td&gt;Restricted&lt;/td&gt;
&lt;td&gt;Independent security review&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Production deployment&lt;/td&gt;
&lt;td&gt;Policy-controlled&lt;/td&gt;
&lt;td&gt;Authorized release decision&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The important property is that autonomy is &lt;strong&gt;proportional to risk&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;An agent should not require permission to rename a local variable.&lt;/p&gt;

&lt;p&gt;It should not be allowed to invent a new distributed architecture without engineering approval.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
  An example: an architecture decision prompt for an AI agent
  &lt;br&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Before implementing this feature:

1. Identify the affected domain boundaries.

2. Propose at least two viable solutions,
   including one that reuses existing infrastructure.

3. Compare:
   - Complexity
   - Reliability
   - Operational cost
   - Backward compatibility
   - Migration effort
   - Failure recovery

4. Explicitly identify assumptions and unknowns.

5. Recommend the simplest solution satisfying
   the documented requirements.

6. Do not implement until the architectural
   decision is approved.

7. If new information invalidates the approved
   design, stop and request a new decision.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This is not a replacement for engineering expertise.&lt;/p&gt;

&lt;p&gt;It is a way to make that expertise visible in the workflow.&lt;/p&gt;



&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  The developer's role is changing, but not disappearing
&lt;/h2&gt;

&lt;p&gt;I do not think the future of software engineering is developers manually writing every line of code.&lt;/p&gt;

&lt;p&gt;Nor do I think it is developers approving whatever an autonomous agent produces.&lt;/p&gt;

&lt;p&gt;The interesting future lies between those extremes.&lt;/p&gt;

&lt;p&gt;Developers may spend less time producing routine implementations and more time defining constraints, exploring tradeoffs, validating behavior, and managing complexity.&lt;/p&gt;

&lt;p&gt;But there is a danger in describing this transformation as developers becoming merely supervisors of AI agents.&lt;/p&gt;

&lt;p&gt;Supervision without sufficient technical understanding is fragile.&lt;/p&gt;

&lt;p&gt;If developers stop exercising implementation and architectural judgment, their ability to challenge increasingly sophisticated AI proposals may deteriorate.&lt;/p&gt;

&lt;p&gt;We could end up with systems that are easier to generate than to understand.&lt;/p&gt;

&lt;p&gt;And organizations that can produce software faster than they can responsibly maintain it.&lt;/p&gt;

&lt;p&gt;That would not be an improvement in software engineering.&lt;/p&gt;

&lt;p&gt;It would be an improvement in software production at the expense of engineering control.&lt;/p&gt;
&lt;h2&gt;
  
  
  The real test of AI-DLC
&lt;/h2&gt;

&lt;p&gt;I am interested in AI-DLC, Bolts, and spec-driven development because they attempt to solve real problems: lost context, slow handoffs, inconsistent implementation, and repetitive work.&lt;/p&gt;

&lt;p&gt;I also think they deserve more rigorous evaluation than demonstrations of rapid application generation.&lt;/p&gt;

&lt;p&gt;The most convincing evidence would be a substantial production platform developed and maintained through many AI-driven iterations, with its architectural decisions, specification changes, failures, and operational history available for examination.&lt;/p&gt;

&lt;p&gt;Not just the first successful release.&lt;/p&gt;

&lt;p&gt;The tenth feature.&lt;/p&gt;

&lt;p&gt;The unexpected migration.&lt;/p&gt;

&lt;p&gt;The production incident.&lt;/p&gt;

&lt;p&gt;The architectural decision that turned out to be wrong.&lt;/p&gt;

&lt;p&gt;And the developer who recognized the mistake before an autonomous agent made it worse.&lt;/p&gt;


&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
&lt;strong&gt;The goal should not be to remove developers from the decision-making process.&lt;/strong&gt;

&lt;p&gt;It should be to give developers better information, more alternatives, and greater leverage over the decisions that matter.&lt;/p&gt;

&lt;p&gt;An AI engineering methodology succeeds when it improves engineering judgment—not when it makes that judgment optional.&lt;br&gt;

&lt;/p&gt;
&lt;/div&gt;



&lt;h2&gt;
  
  
  Final thought
&lt;/h2&gt;

&lt;p&gt;AI can propose a solution in seconds.&lt;/p&gt;

&lt;p&gt;It can generate thousands of lines of code, construct tests, document decisions, and execute an entire development workflow.&lt;/p&gt;

&lt;p&gt;But engineering has never been only about producing implementations.&lt;/p&gt;

&lt;p&gt;It is also about knowing when an implementation should not exist.&lt;/p&gt;

&lt;p&gt;When an abstraction is unnecessary.&lt;/p&gt;

&lt;p&gt;When a dependency introduces more risk than value.&lt;/p&gt;

&lt;p&gt;When a requirement is incomplete.&lt;/p&gt;

&lt;p&gt;When a system should remain simple.&lt;/p&gt;

&lt;p&gt;And when execution must stop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The most important AI engineering skill may not be writing better prompts.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It may be knowing when to say no.&lt;/strong&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Further reading
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/" rel="noopener noreferrer"&gt;AWS — AI-Driven Development Life Cycle: Reimagining Software Engineering&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/blogs/devops/building-with-ai-dlc-using-amazon-q-developer/" rel="noopener noreferrer"&gt;AWS — Building with AI-DLC using Amazon Q Developer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/awslabs/aidlc-workflows" rel="noopener noreferrer"&gt;AWS Labs — AI-DLC Workflows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://specs.md/" rel="noopener noreferrer"&gt;specs.md — AI-native development workflows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://scrumguides.org/scrum-guide.html" rel="noopener noreferrer"&gt;The Scrum Guide (2020)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;What do you think? Are AI-native development methodologies giving engineers more control over software design, or gradually turning them into reviewers of decisions made by agents?&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>softwareengineering</category>
      <category>architecture</category>
      <category>productivity</category>
    </item>
    <item>
      <title>The Architecture of Public Opinion: How Digital Media Shapes What We Believe</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Tue, 27 Oct 2026 11:58:27 +0000</pubDate>
      <link>https://dev.to/krlz/the-architecture-of-public-opinion-how-digital-media-shapes-what-we-believe-2lcg</link>
      <guid>https://dev.to/krlz/the-architecture-of-public-opinion-how-digital-media-shapes-what-we-believe-2lcg</guid>
      <description>&lt;h1&gt;
  
  
  The Architecture of Public Opinion
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;How digital media systems shape what we see, what we fear, and what we believe.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Imagine two reports covering the same protest.&lt;/p&gt;

&lt;p&gt;One explains the demands, interviews participants, checks official statements, and reports incidents of violence. The other opens with burning barricades, police sirens, and a headline about chaos.&lt;/p&gt;

&lt;p&gt;Both may contain accurate facts. Yet they produce very different impressions.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A news report doesn't need to be false to create a misleading picture of reality.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The difference is not just the opinion of a journalist. Behind each report is a system: editorial workflows, publishing software, business incentives, recommendation algorithms, and audience feedback.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. News Is a Sociotechnical System
&lt;/h2&gt;

&lt;p&gt;A simplified digital-news pipeline looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Real-world events
       |
       v
News selection
       |
       v
Editorial decisions
(sources, images, words, context)
       |
       v
CMS and publication
       |
       v
Distribution
(search, social, recommendations)
       |
       v
Audience and public conversation
       |
       v
Analytics and feedback --------+
       |                       |
       +----&amp;gt; Future editorial decisions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each step has rules and incentives. Which event is newsworthy? Which photograph gets selected? Who is quoted? Which headline generates the most clicks?&lt;/p&gt;

&lt;p&gt;The final article is a &lt;em&gt;representation&lt;/em&gt; of an event, assembled through decisions. This does not make journalism inherently dishonest; it makes editorial accountability essential.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Three Frameworks for Understanding Influence
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Agenda-setting:&lt;/strong&gt; McCombs and Shaw's classic research explains how media attention can influence which issues audiences consider important. Frequent crime coverage, for example, can raise the perceived importance of crime without telling us whether crime rates are rising.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Framing:&lt;/strong&gt; Robert Entman's framework explains how selecting and emphasizing particular aspects of events promotes particular interpretations. A protest framed mainly through property damage is understood differently from one framed through its political demands.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cultivation theory:&lt;/strong&gt; George Gerbner's work explores how prolonged exposure to recurring television portrayals can influence perceptions of social reality, including danger and violence.&lt;/p&gt;

&lt;p&gt;These are research frameworks, not proof that every viewer is manipulated or that a particular newsroom deliberately distorts reality.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. When Engagement Becomes the Objective
&lt;/h2&gt;

&lt;p&gt;Digital publishers can track clicks, watch time, retention, comments, shares, and advertising revenue.&lt;/p&gt;

&lt;p&gt;Those metrics answer: &lt;em&gt;Did people interact?&lt;/em&gt; They do not necessarily answer: &lt;em&gt;Did people understand?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Consider two articles about migration:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Article A&lt;/strong&gt; provides statistics, historical context, limitations, and interviews with researchers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Article B&lt;/strong&gt; pairs one violent incident with alarming imagery and a provocative headline.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If Article B attracts more attention, a system optimized primarily for engagement may distribute it more widely. The software might be performing perfectly against its target while the larger information system performs poorly against a public-interest goal.&lt;/p&gt;

&lt;p&gt;This echoes &lt;strong&gt;Goodhart's Law&lt;/strong&gt;: once a measure becomes a target, it can lose its value as a measure.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Engagement is a product metric. Public understanding is a social outcome. They are not interchangeable.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  4. Crime, Protest, and Dehumanization
&lt;/h2&gt;

&lt;p&gt;Accurate crime reporting is necessary. So is reporting violence at demonstrations. But reporting these events does not require dehumanizing people.&lt;/p&gt;

&lt;p&gt;Editorial choices can create serious problems when they:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Present suspects as guilty before conviction.&lt;/li&gt;
&lt;li&gt;Generalize individual crimes to entire nationalities or communities.&lt;/li&gt;
&lt;li&gt;Treat all protesters as responsible for the actions of a few.&lt;/li&gt;
&lt;li&gt;Use unrelated images that associate particular groups with danger.&lt;/li&gt;
&lt;li&gt;Remove the demands, history, or social conditions surrounding an event.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A photograph is not neutral merely because it is authentic. Its timing, cropping, caption, and placement affect meaning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Objectivity is not indifference to violence. It is a commitment to evidence, context, proportionality, and human dignity.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Social Media Adds a Feedback Loop
&lt;/h2&gt;

&lt;p&gt;A headline leaves the newsroom and enters social platforms. It becomes a shortened post, a clipped video, a thumbnail, and a comment thread. Audience reactions then influence subsequent exposure.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Editorial framing
      |
      v
Social distribution
      |
      v
Comments, shares, watch time
      |
      v
Ranking and recommendation
      |
      +------&amp;gt; Further exposure
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Under some conditions, engagement-based ranking can amplify emotionally provocative or hostile content. But &lt;strong&gt;amplification is not the same as proven long-term persuasion&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Experiments published in &lt;em&gt;Science&lt;/em&gt; in 2023 found that replacing algorithmic Facebook and Instagram feeds with chronological ones changed content exposure without significant changes in measured political attitudes over the study period. This is a useful reminder to distinguish mechanisms, observations, and causal claims.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. National Identity and the Construction of Outsiders
&lt;/h2&gt;

&lt;p&gt;National identity is not inherently discriminatory. But news narratives can reinforce exclusion when they divide society into legitimate insiders and threatening outsiders.&lt;/p&gt;

&lt;p&gt;In coverage of migration or protests, three distinctions matter:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Responsible distinction&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Who committed a crime?&lt;/td&gt;
&lt;td&gt;Individual responsibility versus collective identity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What happened at a protest?&lt;/td&gt;
&lt;td&gt;Peaceful participation versus specific violent acts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What does a nationality explain?&lt;/td&gt;
&lt;td&gt;Relevant verified context versus unsupported association&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Journalism should neither hide uncomfortable facts nor turn human beings into stereotypes.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Ground News: A Useful but Limited Response
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://ground.news" rel="noopener noreferrer"&gt;Ground News&lt;/a&gt;, founded in Canada by engineers Harleen Kaur and Sukh Singh, compares coverage across news outlets. It highlights differences in political orientation, uneven coverage (&lt;em&gt;Blindspot&lt;/em&gt;), source reliability assessments, and media ownership.&lt;/p&gt;

&lt;p&gt;It draws on external rating organizations including &lt;a href="https://www.allsides.com/media-bias" rel="noopener noreferrer"&gt;AllSides&lt;/a&gt;, &lt;a href="https://adfontesmedia.com/" rel="noopener noreferrer"&gt;Ad Fontes Media&lt;/a&gt;, and &lt;a href="https://mediabiasfactcheck.com/" rel="noopener noreferrer"&gt;Media Bias/Fact Check&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This gives readers a way to compare sources instead of relying on one feed. But outlet-level political ratings do not fact-check individual articles. Nor do they reliably identify misleading image selection, dehumanizing language, or missing social context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ground News helps inspect published outputs. The harder challenge is auditing how those outputs were produced.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  8. What Software Engineering Can Contribute
&lt;/h2&gt;

&lt;p&gt;The comparison with software engineering is useful if we treat it as an analogy, not a literal equivalence:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Software engineering&lt;/th&gt;
&lt;th&gt;Media accountability&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Requirements&lt;/td&gt;
&lt;td&gt;Editorial standards&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quality assurance&lt;/td&gt;
&lt;td&gt;Fact-checking and review&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Observability&lt;/td&gt;
&lt;td&gt;Source and decision traceability&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Change history&lt;/td&gt;
&lt;td&gt;Headline revisions and corrections&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Incident response&lt;/td&gt;
&lt;td&gt;Corrections and public explanations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;Editorial responsibility and oversight&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Performance metrics&lt;/td&gt;
&lt;td&gt;Reach, trust, accuracy, and public value&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Consider &lt;strong&gt;editorial observability&lt;/strong&gt;: retaining evidence for major claims, recording the provenance and context of photographs, and making substantive corrections visible.&lt;/p&gt;

&lt;p&gt;A hypothetical publishing record could look like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;article&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;headline&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Protest in Santiago"&lt;/span&gt;
  &lt;span class="na"&gt;sources&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;official_record&lt;/span&gt;
      &lt;span class="na"&gt;verified&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;eyewitness&lt;/span&gt;
      &lt;span class="na"&gt;verified&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
  &lt;span class="na"&gt;media&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;provenance&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;verified&lt;/span&gt;
    &lt;span class="na"&gt;context_review&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;completed&lt;/span&gt;
  &lt;span class="na"&gt;editorial&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;fact_check&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;completed&lt;/span&gt;
    &lt;span class="na"&gt;corrections_visible&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This schema is illustrative, not a recognized industry standard. Such metadata cannot certify impartiality. It could, however, support more rigorous review and audits while protecting confidential sources.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Governance Is Already Evolving
&lt;/h2&gt;

&lt;p&gt;The EU's &lt;a href="https://digital-strategy.ec.europa.eu/en/policies/digital-services-act-package" rel="noopener noreferrer"&gt;Digital Services Act&lt;/a&gt; requires very large online platforms to assess and mitigate certain systemic risks, including risks to fundamental rights and civic discourse.&lt;/p&gt;

&lt;p&gt;In Chile, &lt;a href="https://www.bcn.cl/leychile/navegar?idNorma=30214" rel="noopener noreferrer"&gt;Law 18.838&lt;/a&gt; establishes a television-regulation framework addressing human dignity and pluralism. Its scope is not identical to regulation of online platforms.&lt;/p&gt;

&lt;p&gt;Researchers are also studying &lt;strong&gt;value-aware news recommendation systems&lt;/strong&gt;: ranking approaches that consider journalistic values alongside immediate relevance or engagement.&lt;/p&gt;

&lt;p&gt;None of these offers a universal algorithm for truth. They do show that information quality must be addressed through system design, governance, and human judgment together.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. When Every Component Succeeds but Society Loses
&lt;/h2&gt;

&lt;p&gt;Imagine a newsroom where reporters are rewarded for speed, editors for audience growth, social teams for shares, and distribution algorithms for retention.&lt;/p&gt;

&lt;p&gt;Everyone may be following the rules. Yet the combined system can reward sensationalism over context.&lt;/p&gt;

&lt;p&gt;Engineers recognize the pattern: &lt;strong&gt;local optimization does not guarantee a desirable system-level outcome&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Fixing it requires more than asking individual journalists to be ethical. It requires examining incentives, workflows, metrics, review processes, and the effects of distribution.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion: What Are We Optimizing?
&lt;/h2&gt;

&lt;p&gt;Digital news is not simply journalism delivered through software. It is a sociotechnical system that helps construct the public's picture of reality.&lt;/p&gt;

&lt;p&gt;That system can expose injustice, support democratic debate, and inform communities. It can also reinforce fear, stereotypes, and hostility when its incentives and editorial practices favor those outcomes.&lt;/p&gt;

&lt;p&gt;A political-bias label alone will not solve this. Neither will a fact-check badge or a supposedly neutral recommendation algorithm.&lt;/p&gt;

&lt;p&gt;We need to understand how the system works, make important decisions traceable, and define success more carefully.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;If a news platform maximizes engagement while undermining public understanding, is it succeeding or failing?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That question belongs to journalists, editors, designers, platform operators, regulators, and software engineers alike.&lt;/p&gt;




&lt;h2&gt;
  
  
  References and Further Reading
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;McCombs, M. E., &amp;amp; Shaw, D. L. (1972). &lt;a href="https://doi.org/10.1086/267990" rel="noopener noreferrer"&gt;The Agenda-Setting Function of Mass Media&lt;/a&gt;. &lt;em&gt;Public Opinion Quarterly&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Entman, R. M. (1993). &lt;a href="https://doi.org/10.1111/j.1460-2466.1993.tb01304.x" rel="noopener noreferrer"&gt;Framing: Toward Clarification of a Fractured Paradigm&lt;/a&gt;. &lt;em&gt;Journal of Communication&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Cohen, S. (1972). &lt;em&gt;Folk Devils and Moral Panics&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Gerbner, G., &amp;amp; Gross, L. (1976). &lt;em&gt;Living with Television: The Violence Profile&lt;/em&gt;. &lt;em&gt;Journal of Communication&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Reuters Institute. &lt;a href="https://reutersinstitute.politics.ox.ac.uk/digital-news-report/2026/dnr-executive-summary" rel="noopener noreferrer"&gt;Digital News Report 2026&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.ivir.nl/publications/popularity-driven-metrics-audience-analytics-and-shifting-opinion-power-to-digital-platforms/" rel="noopener noreferrer"&gt;Popularity-driven Metrics: Audience Analytics and Shifting Opinion Power to Digital Platforms&lt;/a&gt; (2023). &lt;em&gt;Journalism Studies&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.gsb.stanford.edu/faculty-research/publications/how-do-social-media-feed-algorithms-affect-attitudes-behavior" rel="noopener noreferrer"&gt;How Do Social Media Feed Algorithms Affect Attitudes and Behavior?&lt;/a&gt; (2023). &lt;em&gt;Science&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://doi.org/10.1145/3654805" rel="noopener noreferrer"&gt;Where Are the Values? A Systematic Literature Review on News Recommender Systems&lt;/a&gt; (2024). &lt;em&gt;ACM&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ground.news" rel="noopener noreferrer"&gt;Ground News&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://digital-strategy.ec.europa.eu/en/policies/digital-services-act-package" rel="noopener noreferrer"&gt;European Commission — Digital Services Act&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://reutersinstitute.politics.ox.ac.uk/news/guidelines-architecture-how-newsrooms-are-rethinking-ai-governance" rel="noopener noreferrer"&gt;Reuters Institute — From Guidelines to Architecture: AI Governance in Newsrooms&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;This article examines potential mechanisms and documented research, not a claim that all media outlets deliberately manipulate audiences or that algorithms determine individual beliefs.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>journalism</category>
      <category>technology</category>
      <category>architecture</category>
      <category>society</category>
    </item>
    <item>
      <title>The Buy Button Is the Easy Part: The Hidden World of E-Commerce in 2026</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Sun, 25 Oct 2026 17:03:59 +0000</pubDate>
      <link>https://dev.to/krlz/the-buy-button-is-the-easy-part-an-e-commerce-field-guide-for-2026-541e</link>
      <guid>https://dev.to/krlz/the-buy-button-is-the-easy-part-an-e-commerce-field-guide-for-2026-541e</guid>
      <description>&lt;p&gt;Imagine an online store with a beautiful product page. A shopper clicks &lt;strong&gt;Buy Now&lt;/strong&gt;. It feels like one action.&lt;/p&gt;

&lt;p&gt;Behind the monitor, imagine a factory staffed by hundreds of tiny, overworked gnomes. One checks stock. Another calls a bank. Another argues with customs. One is trying to print a shipping label; another is shouting that the food batch has been recalled. The security gnome suspects the coupon is fraudulent. The tax gnome wants to know where the buyer lives. And a very nervous gnome is asking whether the payment actually went through.&lt;/p&gt;

&lt;p&gt;The customer sees a spinner.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;An online purchase is not a button. It is a promise coordinated across organizations that do not share a database, a clock, a legal system, or even a definition of success.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In 2026, AI can generate the storefront in hours. It cannot make the supply chain, financial ledger, product law, or incident response disappear.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Scope:&lt;/strong&gt; Global patterns, with examples from the EU, US, Latin America, and cross-border trade. Laws differ by product, seller location, buyer destination, fulfillment route, and business model. This is an engineering and business primer, not jurisdiction-specific legal advice. The stories below are illustrative scenarios, not documented incidents.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  1. Your product chooses your architecture
&lt;/h2&gt;

&lt;p&gt;Two shops may use the same checkout and have radically different businesses.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What you sell&lt;/th&gt;
&lt;th&gt;The hidden difficulty&lt;/th&gt;
&lt;th&gt;What software must remember&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Fashion&lt;/td&gt;
&lt;td&gt;Size exchanges, seasonal stock, returns&lt;/td&gt;
&lt;td&gt;Variant-level SKUs, reservations, reverse logistics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Electronics&lt;/td&gt;
&lt;td&gt;Serial numbers, warranties, batteries, recalls&lt;/td&gt;
&lt;td&gt;Unit traceability, RMA, restricted shipping&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Packaged food&lt;/td&gt;
&lt;td&gt;Allergens, expiry, imported ingredients&lt;/td&gt;
&lt;td&gt;Lots, FEFO, labeling, quarantine, recall&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Refrigerated food&lt;/td&gt;
&lt;td&gt;Time and temperature&lt;/td&gt;
&lt;td&gt;Cold-chain events, delivery windows, spoilage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cosmetics&lt;/td&gt;
&lt;td&gt;Ingredients and market-specific rules&lt;/td&gt;
&lt;td&gt;Claims, registration or notification where required&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Digital goods&lt;/td&gt;
&lt;td&gt;Fraud, licenses, territorial rights&lt;/td&gt;
&lt;td&gt;Entitlements, activation, revocation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Marketplace&lt;/td&gt;
&lt;td&gt;Many sellers, one customer payment&lt;/td&gt;
&lt;td&gt;Seller onboarding, commissions, settlement ledger&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Subscriptions&lt;/td&gt;
&lt;td&gt;Renewals, cancellations, payment failures&lt;/td&gt;
&lt;td&gt;Mandates, billing cycles, dunning, consent&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Scene: The T-shirt that existed but could not be sold.&lt;/strong&gt; A warehouse has 80 shirts. The site confidently displays “In stock.” Unfortunately, all 80 are size XL, while the buyer wants M. The inventory count is correct; the domain model is wrong.&lt;/p&gt;

&lt;p&gt;The first lesson is not about databases. &lt;strong&gt;It is about understanding what a sellable unit actually means.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. A product can be physically present and legally unsellable
&lt;/h2&gt;

&lt;p&gt;Picture a merchant sourcing specialty coffee from one country and selling it in another. The cartons arrive. The website is ready. But importing, storing, labeling, and selling are distinct permissions and obligations.&lt;/p&gt;

&lt;p&gt;In the &lt;strong&gt;United States&lt;/strong&gt;, the FDA explains that food importers are responsible for compliant, safe, properly labeled food, and relevant facilities and shipments may face registration, prior-notice, verification, and inspection requirements. FDA does not simply “pre-approve” every food importer or product. &lt;a href="https://www.fda.gov/importing-food-products-united-states" rel="noopener noreferrer"&gt;FDA guidance&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In the &lt;strong&gt;European Union&lt;/strong&gt;, the General Product Safety Regulation applies to many non-food consumer products sold online and offline, while food has its own extensive legal framework. The GPSR has applied since December 2024. &lt;a href="https://www.consilium.europa.eu/en/policies/product-safety-market-surveillance/" rel="noopener noreferrer"&gt;EU Council overview&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;Latin America&lt;/strong&gt;, sanitary registration or authorization, labeling, importer responsibilities, invoicing, and consumer rules vary by country. A product approved for one market is not automatically approved for another.&lt;/p&gt;

&lt;p&gt;Therefore &lt;code&gt;quantity &amp;gt; 0&lt;/code&gt; is not a safe definition of availability:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Physical inventory
  ├─ in transit
  ├─ received, pending inspection
  ├─ quarantined / recalled
  ├─ legally cleared, available
  ├─ reserved for orders
  ├─ picked / dispatched
  └─ expired / damaged
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For food, keep &lt;code&gt;lotId&lt;/code&gt;, expiry, allergens, supplier, storage conditions, and the connection between shipped lots and customers. &lt;strong&gt;FEFO&lt;/strong&gt; (first-expiring, first-out) can matter more than FIFO (first-in, first-out).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scene: The recall email.&lt;/strong&gt; A supplier reports contamination in lot &lt;code&gt;K-482&lt;/code&gt;. The business needs to identify which customers received it. If fulfillment only recorded the product SKU, not the shipped lot, the team may know &lt;em&gt;what&lt;/em&gt; was sold but not &lt;em&gt;to whom the risky units went&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;This is why compliance changes the data model, not just the terms-and-conditions page.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Cross-border e-commerce: the border is part of checkout
&lt;/h2&gt;

&lt;p&gt;Suppose a seller in São Paulo ships to Berlin, New York, and Mexico City. The same product can have different duties, indirect taxes, labeling requirements, returns expectations, and restrictions at each destination.&lt;/p&gt;

&lt;p&gt;A global commerce model must distinguish:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Seller of record:&lt;/strong&gt; Who contracts with the buyer?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Importer of record:&lt;/strong&gt; Who is responsible for import formalities?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Merchant of record:&lt;/strong&gt; Who accepts payment and assumes associated obligations?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incoterms / delivery terms:&lt;/strong&gt; Who bears shipping costs and risks at each stage?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tax jurisdiction:&lt;/strong&gt; Where does VAT, GST, sales tax, or a similar obligation arise?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Product jurisdiction:&lt;/strong&gt; Is this item legally marketable at the destination?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These roles can overlap, but they are not interchangeable.&lt;/p&gt;

&lt;p&gt;The EU's &lt;strong&gt;OSS/IOSS&lt;/strong&gt; mechanisms simplify certain cross-border VAT reporting. In September 2026 the European Commission reported more than €125 billion collected through its e-commerce VAT schemes over five years. &lt;a href="https://taxation-customs.ec.europa.eu/news/eu-vat-rules-e-commerce-five-years-more-eur125-billion-vat-revenue-2026-09-03_en" rel="noopener noreferrer"&gt;European Commission&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The EU also introduced major 2026 customs changes affecting low-value e-commerce imports, with additional reforms scheduled later. A price engine that assumes last year's import threshold can become a financial liability. &lt;a href="https://taxation-customs.ec.europa.eu/customs/eu-customs-reform_en" rel="noopener noreferrer"&gt;EU customs reform&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In the US, sales-tax obligations depend on states and nexus rules; marketplaces may have facilitator responsibilities. Across the world, tax and customs rules must be modeled as &lt;strong&gt;versioned, jurisdiction-dependent policies&lt;/strong&gt;, not a single hardcoded percentage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scene: Free shipping wasn't free.&lt;/strong&gt; The store offers a global flat rate. A heavy parcel crosses a customs threshold and requires special handling. The conversion dashboard celebrates; the margin dashboard quietly catches fire.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Revenue is not margin, and a payment is not cash
&lt;/h2&gt;

&lt;p&gt;Consider a hypothetical $100 order. The seller might owe consumption tax, pay for the item, fund shipping, pay a payment processor, acquire the customer through ads, and later handle a return. The merchant may not receive settlement until days after the order.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Contribution per order ≈
  net sales revenue (excluding applicable pass-through taxes)
  − landed product cost
  − payment and platform fees
  − packaging and fulfillment
  − shipping subsidy
  − expected refunds / returns / fraud losses
  − attributable acquisition cost
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is contribution, not accounting profit. Fixed overhead, financing, income taxes, and other items remain.&lt;/p&gt;

&lt;p&gt;The CFO cares about &lt;strong&gt;cash conversion&lt;/strong&gt;; marketing watches &lt;strong&gt;CAC and conversion&lt;/strong&gt;; operations watches &lt;strong&gt;stockouts and returns&lt;/strong&gt;; engineering watches &lt;strong&gt;checkout reliability&lt;/strong&gt;. These metrics describe the same system from different angles.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scene: The record-breaking loss.&lt;/strong&gt; A company doubles sales with aggressive discounts and free returns. Revenue rises; contribution falls. The software did exactly what it was told. The commercial assumptions were the bug.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The cart is a wish; the order is a commitment
&lt;/h2&gt;

&lt;p&gt;The words &lt;em&gt;cart&lt;/em&gt;, &lt;em&gt;quote&lt;/em&gt;, &lt;em&gt;order&lt;/em&gt;, &lt;em&gt;payment&lt;/em&gt;, &lt;em&gt;shipment&lt;/em&gt;, and &lt;em&gt;refund&lt;/em&gt; describe different states and responsibilities.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;sequenceDiagram
  actor Customer
  participant Checkout
  participant Stock as Inventory
  participant PSP as Payment provider
  participant Orders
  participant Warehouse
  Customer-&amp;gt;&amp;gt;Checkout: Buy
  Checkout-&amp;gt;&amp;gt;Stock: Reserve units (with expiry)
  Stock--&amp;gt;&amp;gt;Checkout: Reservation confirmed
  Checkout-&amp;gt;&amp;gt;Orders: Create pending order
  Checkout-&amp;gt;&amp;gt;PSP: Create payment attempt
  PSP--&amp;gt;&amp;gt;Customer: Hosted payment flow
  PSP--&amp;gt;&amp;gt;Checkout: Signed webhook
  Checkout-&amp;gt;&amp;gt;PSP: Verify payment status
  Checkout-&amp;gt;&amp;gt;Orders: Confirm once (idempotent)
  Orders-&amp;gt;&amp;gt;Warehouse: Release for fulfillment&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;The customer's browser returning to a success page is &lt;strong&gt;not proof of payment&lt;/strong&gt;. The backend must verify authoritative payment status, amount, currency, and order identity. See &lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/Third_Party_Payment_Gateway_Integration_Cheat_Sheet.html" rel="noopener noreferrer"&gt;OWASP payment integration guidance&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scene: The spinner that cost $200.&lt;/strong&gt; A customer clicks Pay twice. The first response times out; the bank approved the charge. The second click creates another charge. You now have two payment attempts, one intended purchase, and a support ticket.&lt;/p&gt;

&lt;p&gt;Use idempotency keys, durable operation records, uniqueness constraints, and reconciliation. &lt;strong&gt;Exactly-once delivery is not something you should casually assume from an HTTP request or message broker.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. The last item: where concurrency becomes customer service
&lt;/h2&gt;

&lt;p&gt;Two customers simultaneously buy the final pair of shoes. Both browsers previously read &lt;code&gt;available = 1&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Naively reading, then decrementing, allows overselling. A reservation should be atomic, constrained by available stock, and expire if checkout is abandoned. The exact mechanism might be a conditional SQL update, locking, or a dedicated inventory service.&lt;/p&gt;

&lt;p&gt;But physical stock is messier than database stock: a warehouse worker can damage an item, a shop can sell it offline, or a return can be unsellable. A robust model distinguishes &lt;strong&gt;on-hand, reserved, allocated, damaged, and available-to-promise&lt;/strong&gt; quantities.&lt;/p&gt;

&lt;p&gt;The interesting design question is not “Can Redis make this faster?” It is &lt;strong&gt;“Which system is authoritative, and how does it recover when reality disagrees?”&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Sagas: a distributed transaction is a business story
&lt;/h2&gt;

&lt;p&gt;A saga coordinates multiple local transactions when one atomic database transaction cannot cover the whole workflow. A coordinator may orchestrate the steps, or services may react to events. Both approaches trade simplicity for flexibility and require careful state management. &lt;a href="https://learn.microsoft.com/en-us/azure/architecture/patterns/saga" rel="noopener noreferrer"&gt;Microsoft's saga pattern&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scene: The order that cannot be un-shipped.&lt;/strong&gt; The customer pays, the warehouse dispatches, and then the seller learns the item was recalled. You cannot roll back a truck with &lt;code&gt;ROLLBACK;&lt;/code&gt;. You need a new process: stop delivery if possible, contact the customer, arrange a return or recall, refund appropriately, and preserve the audit trail.&lt;/p&gt;

&lt;p&gt;A refund is not the inverse of history. It is a new financial event. A shipment recall is not an inverse SQL operation. &lt;strong&gt;Compensation is a domain action&lt;/strong&gt;, sometimes requiring humans.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Failure&lt;/th&gt;
&lt;th&gt;Sensible recovery&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Stock reservation fails&lt;/td&gt;
&lt;td&gt;Do not initiate payment; explain unavailability&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Payment definitively declined&lt;/td&gt;
&lt;td&gt;Release reservation and close attempt&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Payment outcome unknown&lt;/td&gt;
&lt;td&gt;Query provider, wait for verified events, reconcile&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shipment creation fails after payment&lt;/td&gt;
&lt;td&gt;Retry safely, change carrier, or initiate exception workflow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Product recalled after dispatch&lt;/td&gt;
&lt;td&gt;Trace affected shipments, initiate recall and customer response&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Don't introduce a saga because the architecture diagram looks impressive. Introduce it when real transactional boundaries and business recovery requirements justify the complexity.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Circuit breakers protect services, not business truth
&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;timeout&lt;/strong&gt; bounds waiting. &lt;strong&gt;Retries with exponential backoff and jitter&lt;/strong&gt; help with transient failures. A &lt;strong&gt;circuit breaker&lt;/strong&gt; stops hammering an unhealthy dependency. A &lt;strong&gt;bulkhead&lt;/strong&gt; limits how much of your system one failing dependency can consume.&lt;/p&gt;

&lt;p&gt;None of these patterns can tell you whether an ambiguous card charge actually succeeded.&lt;/p&gt;

&lt;p&gt;Combine resilience mechanisms with verified webhooks, deduplication, transactional outbox where needed, dead-letter handling, audit trails, and reconciliation. OWASP emphasizes signature verification, replay protection, idempotent handlers, and safe treatment of out-of-order events. &lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/Webhook_Security_Cheat_Sheet.html" rel="noopener noreferrer"&gt;Webhook Security Cheat Sheet&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scene: The helpful retry storm.&lt;/strong&gt; A shipping API slows down. Every worker retries immediately. Traffic multiplies, the provider slows further, and unrelated checkouts begin to time out. The system wasn't attacked; it attacked itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Security means defending commercial invariants
&lt;/h2&gt;

&lt;p&gt;TLS and authentication are the beginning, not the end. Think about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Price tampering:&lt;/strong&gt; the browser must never define the authoritative total.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Broken object-level authorization:&lt;/strong&gt; customer A must not see customer B's orders or addresses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Coupon abuse:&lt;/strong&gt; promotions need transactional eligibility and redemption limits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Webhook forgery/replay:&lt;/strong&gt; external notifications need verified provenance and idempotent effects.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Credential stuffing:&lt;/strong&gt; rate limiting, bot defenses, and appropriate MFA.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sensitive data:&lt;/strong&gt; minimize collection, control retention, encrypt appropriately, and restrict access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Card data:&lt;/strong&gt; hosted/tokenized payment flows can reduce PCI DSS exposure, but integration and compliance scope still require assessment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Privacy requirements differ internationally: GDPR in the EU, a patchwork of federal/state rules in the US, LGPD in Brazil, and other national frameworks. Design for consent or other lawful bases where relevant, data subject rights, retention, breach response, and cross-border transfers—not just a cookie banner.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. Consumer protection and returns are product features
&lt;/h2&gt;

&lt;p&gt;A returns policy is not just a paragraph in the footer. It requires eligibility rules, labels, warehouse inspection, replacement or refund decisions, inventory disposition, tax adjustments, and support communication.&lt;/p&gt;

&lt;p&gt;The EU has distance-selling consumer protections and platform obligations; the US has a different mix of federal and state consumer rules; other countries have their own withdrawal, warranty, and refund frameworks. &lt;a href="https://digital-strategy.ec.europa.eu/en/policies/e-commerce-rules-eu" rel="noopener noreferrer"&gt;European Commission e-commerce overview&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scene: The refund button that does nothing.&lt;/strong&gt; Support marks an order &lt;code&gt;REFUNDED&lt;/code&gt;. Finance sees no corresponding processor transaction. The customer sees no money. A status label is not a financial operation.&lt;/p&gt;

&lt;p&gt;Model &lt;strong&gt;requested&lt;/strong&gt;, &lt;strong&gt;approved&lt;/strong&gt;, &lt;strong&gt;submitted&lt;/strong&gt;, &lt;strong&gt;settled&lt;/strong&gt;, and &lt;strong&gt;failed&lt;/strong&gt; refund states when the provider supports those distinctions. Reconcile against the payment processor and settlement records.&lt;/p&gt;

&lt;h2&gt;
  
  
  11. Marketplaces are not just stores with more products
&lt;/h2&gt;

&lt;p&gt;A marketplace introduces multiple parties: buyer, seller, platform, payment provider, carrier, and sometimes tax authorities. The platform may need identity verification, seller eligibility checks, payout schedules, reserves, dispute management, and a ledger that explains who owns each cent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scene: One order, three sellers.&lt;/strong&gt; A buyer pays $120 for items from three merchants. One cancels, one ships late, and one disputes a fee. A single &lt;code&gt;orders.total&lt;/code&gt; field cannot explain the resulting refunds, commissions, shipping adjustments, and payouts.&lt;/p&gt;

&lt;p&gt;This is where &lt;strong&gt;double-entry-style financial ledgers&lt;/strong&gt;, explicit obligations, and durable event histories become valuable. A database table called &lt;code&gt;transactions&lt;/code&gt; is not automatically an accounting system.&lt;/p&gt;

&lt;h2&gt;
  
  
  12. Build or buy? The AI-era trap
&lt;/h2&gt;

&lt;p&gt;In 2026, AI-assisted development can generate a storefront, cart, admin panel, and integration scaffolding quickly. It cannot validate supplier reliability, write your return policy for every market, own the on-call rotation, or prove that your ledger reconciles.&lt;/p&gt;

&lt;p&gt;For many businesses, &lt;strong&gt;Shopify, WooCommerce, or another maintained commerce platform&lt;/strong&gt; is a better starting point than a custom distributed system. Build differentiated components when the business genuinely requires unusual inventory, pricing, fulfillment, marketplace settlement, or integrations.&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;Default posture&lt;/th&gt;
&lt;th&gt;Reason to evolve&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Test demand&lt;/td&gt;
&lt;td&gt;Hosted platform and proven payment integrations&lt;/td&gt;
&lt;td&gt;Need evidence that anyone wants the product&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operational complexity&lt;/td&gt;
&lt;td&gt;Modular monolith, relational DB, background jobs&lt;/td&gt;
&lt;td&gt;Workflows exceed platform capabilities&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Multiple independent domains&lt;/td&gt;
&lt;td&gt;Selective services, messaging, sagas, tracing&lt;/td&gt;
&lt;td&gt;Independent ownership and scaling justify overhead&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Global platform&lt;/td&gt;
&lt;td&gt;Regional compliance, multi-warehouse, ledger, governance&lt;/td&gt;
&lt;td&gt;Organization and business complexity demand it&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;There is no magic customer-count threshold for microservices. &lt;strong&gt;Complexity is earned by the problem, not awarded by traffic forecasts.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  13. What should a healthy commerce system measure?
&lt;/h2&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;Why it matters&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Checkout conversion and abandonment&lt;/td&gt;
&lt;td&gt;Commercial friction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;p95 checkout/payment latency&lt;/td&gt;
&lt;td&gt;Repeated clicks and failed conversions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Oversell / reservation conflicts&lt;/td&gt;
&lt;td&gt;Broken promises&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Paid but unconfirmed orders&lt;/td&gt;
&lt;td&gt;Financial and customer risk&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Unreconciled settlements&lt;/td&gt;
&lt;td&gt;Cash and accounting uncertainty&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Orders past promised dispatch date&lt;/td&gt;
&lt;td&gt;Fulfillment quality&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Return rate and contribution margin&lt;/td&gt;
&lt;td&gt;Actual unit economics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Recall traceability coverage&lt;/td&gt;
&lt;td&gt;Ability to protect customers&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Correlate &lt;code&gt;cartId&lt;/code&gt;, &lt;code&gt;quoteId&lt;/code&gt;, &lt;code&gt;orderId&lt;/code&gt;, &lt;code&gt;paymentAttemptId&lt;/code&gt;, &lt;code&gt;shipmentId&lt;/code&gt;, and, where relevant, &lt;code&gt;lotId&lt;/code&gt;. Logs must avoid unnecessary personal and payment data.&lt;/p&gt;

&lt;h2&gt;
  
  
  14. The tabletop exercise that reveals the architecture
&lt;/h2&gt;

&lt;p&gt;Try this with engineering, finance, operations, and support:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A customer in Germany buys the last two bags of imported coffee from a cross-border seller. The payment provider times out but later confirms the charge. The webhook arrives twice. The warehouse then quarantines the lot. A tax document has been issued. The customer demands a refund. Who owns the decision, which systems must change, and what evidence proves that the customer got their money back?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A good answer names authoritative states, legal and operational responsibilities, idempotency, compensation, reconciliation, customer communication, and a human owner. “We use Kafka” is not an answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Closing: the real product begins after Pay
&lt;/h2&gt;

&lt;p&gt;An online purchase is a promise made by a business and implemented through software. That promise has to survive imperfect data, failed dependencies, customs borders, product restrictions, accounting realities, and human mistakes.&lt;/p&gt;

&lt;p&gt;The cheerful &lt;strong&gt;Buy Now&lt;/strong&gt; button is easy to draw. The gnomes behind the screen are doing the real work.&lt;/p&gt;




&lt;h2&gt;
  
  
  Primary sources and further reading
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://digital-strategy.ec.europa.eu/en/policies/e-commerce-rules-eu" rel="noopener noreferrer"&gt;European Commission — e-commerce rules&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.consilium.europa.eu/en/policies/product-safety-market-surveillance/" rel="noopener noreferrer"&gt;EU Council — General Product Safety Regulation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://taxation-customs.ec.europa.eu/news/eu-vat-rules-e-commerce-five-years-more-eur125-billion-vat-revenue-2026-09-03_en" rel="noopener noreferrer"&gt;European Commission — EU VAT e-commerce schemes, September 2026&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://taxation-customs.ec.europa.eu/customs/eu-customs-reform_en" rel="noopener noreferrer"&gt;European Commission — EU customs reform&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.fda.gov/importing-food-products-united-states" rel="noopener noreferrer"&gt;FDA — Importing food into the United States&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.wto.org/english/news_e/news26_e/jsec_09jun26_414_e.htm" rel="noopener noreferrer"&gt;WTO — E-commerce agreement implementation discussions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://learn.microsoft.com/en-us/azure/architecture/patterns/saga" rel="noopener noreferrer"&gt;Microsoft — Saga design pattern&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/Third_Party_Payment_Gateway_Integration_Cheat_Sheet.html" rel="noopener noreferrer"&gt;OWASP — Third-party payment gateway integration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/Webhook_Security_Cheat_Sheet.html" rel="noopener noreferrer"&gt;OWASP — Webhook security&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;All scenes are fictional examples designed to illustrate recurring business and engineering failure modes.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ecommerce</category>
      <category>architecture</category>
      <category>softwareengineering</category>
      <category>startup</category>
    </item>
    <item>
      <title>Enterprise Software in 2026: From First Conversation to Production Ownership</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Thu, 22 Oct 2026 02:21:01 +0000</pubDate>
      <link>https://dev.to/krlz/enterprise-software-in-2026-from-first-conversation-to-production-ownership-3h23</link>
      <guid>https://dev.to/krlz/enterprise-software-in-2026-from-first-conversation-to-production-ownership-3h23</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Shipping code is an event. Owning software is a continuing obligation.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A software project can pass every sprint demo and still fail its customer. Perhaps nobody defined what &lt;em&gt;available&lt;/em&gt; meant. Perhaps the vendor delivered source code but not infrastructure access. Perhaps AI generated features faster than the team could verify them. Perhaps an impressive dashboard measured deployments while customers waited hours for business-critical jobs.&lt;/p&gt;

&lt;p&gt;This article follows one &lt;strong&gt;fictional enterprise project&lt;/strong&gt; from initial discovery through procurement, negotiation, implementation, launch, incidents, and handover. Its example numbers, targets, and conversations are &lt;strong&gt;illustrative proposals&lt;/strong&gt;, not industry benchmarks or legal advice. Along the way, we'll connect the decisions to published guidance from DORA, NIST, OWASP, and Google SRE. &lt;strong&gt;No prior familiarity with enterprise-process jargon is assumed:&lt;/strong&gt; terms are explained when they first matter, with a concrete example of what a team actually does.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to read this guide
&lt;/h2&gt;

&lt;p&gt;Each phase answers five practical questions: &lt;strong&gt;Why are we doing this? Who decides? What do we produce? How do we know it worked? Where can AI help without becoming the decision-maker?&lt;/strong&gt; The project is fictional, so its numerical targets are examples of negotiated choices, not universal best practices. If you are a developer, follow the engineering decisions; if you are a product or procurement lead, pay attention to who accepts risk and signs off on results.&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;validation gate&lt;/strong&gt; is simply a checkpoint before the next costly or risky step. It is not necessarily a meeting or an approval committee: it can be a passing automated test, a customer confirming a prototype, or an operations engineer demonstrating a successful restore.&lt;/p&gt;

&lt;h2&gt;
  
  
  The case: a logistics platform with real consequences
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Northstar Logistics&lt;/strong&gt; operates 2,000 vehicles across several countries. Its operations staff coordinate shipments through spreadsheets, email, and a legacy application. The company hires &lt;strong&gt;Harbor Software&lt;/strong&gt;, an external development partner, to build a shipment visibility and exception-management platform.&lt;/p&gt;

&lt;p&gt;Stakeholders:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;th&gt;Accountable for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Executive sponsor&lt;/td&gt;
&lt;td&gt;Funding and business outcome&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Product owner (Northstar)&lt;/td&gt;
&lt;td&gt;Scope, priorities, acceptance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Technical owner (Northstar)&lt;/td&gt;
&lt;td&gt;Architecture, access, continuity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delivery lead (Harbor)&lt;/td&gt;
&lt;td&gt;Delivery plan, staffing, risk communication&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security/data owners&lt;/td&gt;
&lt;td&gt;Security controls, privacy, retention&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SRE/on-call owner&lt;/td&gt;
&lt;td&gt;Production response and recovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;End users&lt;/td&gt;
&lt;td&gt;Workflow feedback and UAT&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A &lt;strong&gt;stakeholder&lt;/strong&gt; is anyone affected by the project or empowered to make a decision. An &lt;strong&gt;accountable owner&lt;/strong&gt; is the person who must make sure an outcome happens, even if others do the work. &lt;strong&gt;UAT (user acceptance testing)&lt;/strong&gt; means real users trying representative workflows to decide whether the product meets their needs—not merely whether the code runs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Business hypothesis:&lt;/strong&gt; reduce the median time to identify and assign a delayed shipment from 45 minutes to 15 minutes within 90 days of rollout, without increasing false alerts or manual workload.&lt;/p&gt;

&lt;p&gt;Notice that the objective is not “build a dashboard.” A dashboard is one possible intervention. The outcome is faster, trustworthy decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  The organizational question: management is not ownership
&lt;/h2&gt;

&lt;p&gt;Before Northstar negotiates a feature, it must decide &lt;strong&gt;who can make which decisions&lt;/strong&gt;. A delivery manager can keep a schedule on track without understanding the production system. An architect can understand every service without having authority to change priorities. Neither is a substitute for the other.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Project management&lt;/strong&gt; coordinates a time-bound initiative: commitments, dependencies, budgets, and delivery risks. &lt;strong&gt;Product management&lt;/strong&gt; decides which customer problems deserve investment and measures whether solving them creates value. &lt;strong&gt;Engineering management&lt;/strong&gt; develops the team's capacity to deliver sustainably: hiring, coaching, staffing, and working conditions. &lt;strong&gt;Technical ownership&lt;/strong&gt; means named people can explain design choices, approve or implement changes, and maintain the system over time. &lt;strong&gt;Service ownership&lt;/strong&gt; adds operational accountability: someone knows when a service is failing and can lead its recovery. &lt;strong&gt;Executive governance&lt;/strong&gt; determines which business risks and investments the organization will accept.&lt;/p&gt;

&lt;p&gt;These are responsibilities, not necessarily six job titles. A small company may combine roles; a regulated enterprise may separate them. The critical requirement is to make decision rights explicit.&lt;/p&gt;

&lt;h3&gt;
  
  
  What modern management research actually suggests
&lt;/h3&gt;

&lt;p&gt;DORA's &lt;a href="https://dora.dev/research/2024/dora-report/" rel="noopener noreferrer"&gt;2024 research&lt;/a&gt; associates stable priorities, user focus, and transformational leadership with stronger outcomes; it also warns that platform initiatives can introduce delivery trade-offs. Its &lt;a href="https://dora.dev/research/2025/dora-report/" rel="noopener noreferrer"&gt;2025 AI research&lt;/a&gt; argues that AI amplifies existing organizational strengths and weaknesses rather than replacing them. These are research findings and associations, &lt;strong&gt;not a guarantee that adopting one management framework causes success&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;DORA's guidance on &lt;a href="https://dora.dev/capabilities/loosely-coupled-teams/" rel="noopener noreferrer"&gt;loosely coupled teams&lt;/a&gt; emphasizes teams that can test, change, and deploy with fewer cross-team dependencies. &lt;strong&gt;Loosely coupled&lt;/strong&gt; does not mean isolated: it means teams agree on clear interfaces so that routine work does not require constant permission or coordination.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.atlassian.com/devops/frameworks/team-topologies" rel="noopener noreferrer"&gt;Team Topologies&lt;/a&gt; model offers a useful vocabulary: a &lt;strong&gt;stream-aligned team&lt;/strong&gt; owns a flow of customer value; a &lt;strong&gt;platform team&lt;/strong&gt; supplies reusable internal capabilities; an &lt;strong&gt;enabling team&lt;/strong&gt; helps others learn specialized skills; and a &lt;strong&gt;complicated-subsystem team&lt;/strong&gt; concentrates scarce expertise. These are design options, not an org chart to copy blindly.&lt;/p&gt;

&lt;h3&gt;
  
  
  A management failure in the Northstar story
&lt;/h3&gt;

&lt;p&gt;Two months into development, the vendor's delivery manager reports: &lt;em&gt;“We're green: 85% of tickets completed.”&lt;/em&gt; The operations director responds: &lt;em&gt;“Dispatchers still cannot trust shipment arrival estimates.”&lt;/em&gt; The technical owner adds: &lt;em&gt;“The event processor has no replay procedure, and only Harbor can deploy it.”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;All three statements can be true. The project is tracking &lt;strong&gt;output&lt;/strong&gt; (tickets), while the business needs an &lt;strong&gt;outcome&lt;/strong&gt; (trustworthy decisions), and engineering needs &lt;strong&gt;operability&lt;/strong&gt; (the ability to diagnose and restore the system).&lt;/p&gt;

&lt;p&gt;A better weekly review shows all three:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;View&lt;/th&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Example signal&lt;/th&gt;
&lt;th&gt;Decision owner&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Product&lt;/td&gt;
&lt;td&gt;Are dispatchers better off?&lt;/td&gt;
&lt;td&gt;% of late shipments detected before escalation&lt;/td&gt;
&lt;td&gt;Northstar product owner&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delivery&lt;/td&gt;
&lt;td&gt;Are changes flowing predictably?&lt;/td&gt;
&lt;td&gt;Change lead time and blocked work age&lt;/td&gt;
&lt;td&gt;Harbor delivery lead + engineering lead&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Technical&lt;/td&gt;
&lt;td&gt;Can we change the system safely?&lt;/td&gt;
&lt;td&gt;Contract-test pass rate; independent deploy drill&lt;/td&gt;
&lt;td&gt;Northstar technical owner&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operations&lt;/td&gt;
&lt;td&gt;Can we recover?&lt;/td&gt;
&lt;td&gt;Restore drill outcome and time&lt;/td&gt;
&lt;td&gt;Named service owner&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Commercial&lt;/td&gt;
&lt;td&gt;Are we buying the right result?&lt;/td&gt;
&lt;td&gt;Cost against accepted business milestones&lt;/td&gt;
&lt;td&gt;Sponsor + procurement&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The signals are &lt;strong&gt;examples to instrument&lt;/strong&gt;, not benchmark targets. Teams should establish a baseline before deciding what counts as improvement.&lt;/p&gt;

&lt;h3&gt;
  
  
  A negotiation about ownership, not just deadlines
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Vendor delivery lead:&lt;/strong&gt; “We can meet the date if we keep infrastructure under our account and hand it over after launch.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customer technical owner:&lt;/strong&gt; “That reduces your setup time, but it creates a dependency we cannot accept for a critical service.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Product owner:&lt;/strong&gt; “What does changing that cost, and does it delay the pilot?”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Vendor delivery lead:&lt;/strong&gt; “Provisioning in your account adds two weeks. We can still pilot with a reduced reporting scope.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Executive sponsor:&lt;/strong&gt; “Agreed, provided we see an independent deployment and restore demonstration before production acceptance.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is a &lt;strong&gt;trade-off negotiation&lt;/strong&gt;: the sponsor chooses between time, scope, and long-term operational control. A useful record is a one-page decision with options, consequences, decision-maker, deadline, and a test proving the choice worked. The vendor is still responsible for delivery, but the customer is not required to depend on the vendor forever.&lt;/p&gt;

&lt;h3&gt;
  
  
  Decision rights: use a DACI, not a maze of approvals
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;DACI&lt;/strong&gt; is a lightweight decision framework: &lt;strong&gt;Driver&lt;/strong&gt; coordinates the decision, &lt;strong&gt;Approver&lt;/strong&gt; makes the final call, &lt;strong&gt;Contributors&lt;/strong&gt; provide expertise, and &lt;strong&gt;Informed&lt;/strong&gt; stakeholders receive the outcome. It differs from a &lt;strong&gt;RACI&lt;/strong&gt; responsibility chart (Responsible, Accountable, Consulted, Informed), which is often used to describe ongoing work rather than one discrete decision.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Decision&lt;/th&gt;
&lt;th&gt;Driver&lt;/th&gt;
&lt;th&gt;Approver&lt;/th&gt;
&lt;th&gt;Contributors&lt;/th&gt;
&lt;th&gt;Evidence required&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Prioritize shipment exception alerts&lt;/td&gt;
&lt;td&gt;Product manager&lt;/td&gt;
&lt;td&gt;Product owner&lt;/td&gt;
&lt;td&gt;Dispatchers, engineers&lt;/td&gt;
&lt;td&gt;Workflow trial and baseline&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Choose event processing design&lt;/td&gt;
&lt;td&gt;Tech lead&lt;/td&gt;
&lt;td&gt;Technical owner&lt;/td&gt;
&lt;td&gt;Security, operations, vendor&lt;/td&gt;
&lt;td&gt;ADR and failure-mode test&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Accept lower pilot scope&lt;/td&gt;
&lt;td&gt;Delivery lead&lt;/td&gt;
&lt;td&gt;Sponsor + product owner&lt;/td&gt;
&lt;td&gt;Finance, tech lead&lt;/td&gt;
&lt;td&gt;Revised SOW and acceptance tests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Release critical service&lt;/td&gt;
&lt;td&gt;Release coordinator&lt;/td&gt;
&lt;td&gt;Authorized service owner&lt;/td&gt;
&lt;td&gt;QA, security, on-call&lt;/td&gt;
&lt;td&gt;Passing gates, rollback rehearsal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Accept contractual SLA exception&lt;/td&gt;
&lt;td&gt;Account manager&lt;/td&gt;
&lt;td&gt;Contractually authorized business owner&lt;/td&gt;
&lt;td&gt;Legal, operations&lt;/td&gt;
&lt;td&gt;Impact, remedy, expiry date&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The table is illustrative. Real approval authority must match company policy and contracts. &lt;strong&gt;Escalation&lt;/strong&gt; should occur when a decision crosses an agreed boundary (budget, customer impact, compliance, architecture), not whenever an engineer changes a line of code.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where AI belongs in modern management
&lt;/h3&gt;

&lt;p&gt;AI can draft meeting summaries, identify conflicting requirements, prepare options for negotiation, flag stale risks, cluster support tickets, and generate proposed ADRs. It can also help explain technical consequences to nontechnical stakeholders. But a generated summary is &lt;strong&gt;not a signed decision&lt;/strong&gt;, a predicted delivery date is &lt;strong&gt;not a commitment&lt;/strong&gt;, and a model's preferred architecture is &lt;strong&gt;not organizational authority&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Northstar sets a simple policy: AI-generated decisions must cite their inputs, distinguish facts from suggestions, identify a human approver, and remain reviewable. Sensitive contract terms or customer data are not sent to tools without approved data-handling controls.&lt;/p&gt;

&lt;p&gt;To test whether AI helps rather than adds bureaucracy, the team measures: &lt;strong&gt;decision latency&lt;/strong&gt; (time from an identified decision to an approved choice), &lt;strong&gt;decision reversals&lt;/strong&gt; (choices reopened due to missing evidence), &lt;strong&gt;meeting-to-action completion&lt;/strong&gt; (actions completed by the agreed date), and &lt;strong&gt;review correction rate&lt;/strong&gt; (AI drafts requiring material correction). Measure these at team or workflow level, not as a leaderboard of individuals. Compare similar work before and after adoption, and inspect adverse effects such as missed context or extra review time.&lt;/p&gt;

&lt;h3&gt;
  
  
  Validate the management model itself
&lt;/h3&gt;

&lt;p&gt;At the end of the pilot, ask five practical questions: Can a dispatcher demonstrate business improvement? Can the team deploy a small change without a cross-company approval chain? Can the customer restore the service without vendor credentials? Is there a named human who can accept an operational risk? Can the organization explain which decisions AI supported and who approved them?&lt;/p&gt;

&lt;p&gt;If any answer is no, the issue may be organizational rather than a missing feature. A project can have excellent ceremonies and still lack meaningful ownership.&lt;/p&gt;




&lt;h2&gt;
  
  
  Phase 0 — Qualify the problem before selling a solution
&lt;/h2&gt;

&lt;p&gt;The vendor runs discovery interviews with dispatchers, operations managers, security, and the legacy-system team. It maps a shipment's journey and records where data is missing or delayed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sample conversation:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Customer:&lt;/strong&gt; We need live tracking for every vehicle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Engineer:&lt;/strong&gt; What decision becomes possible with live tracking that isn't possible today?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customer:&lt;/strong&gt; Dispatchers need to react before a delivery misses its window.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Engineer:&lt;/strong&gt; Would a two-minute update plus a reliable delay alert meet that need? Continuous streaming changes mobile connectivity, storage, and support costs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customer:&lt;/strong&gt; Let's test it with dispatchers rather than assume.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;An &lt;strong&gt;artifact&lt;/strong&gt; is a durable piece of project evidence: a document, recorded decision, prototype, test report, or dashboard. A &lt;strong&gt;baseline&lt;/strong&gt; is the measured starting point against which later improvement is compared. An &lt;strong&gt;assumptions register&lt;/strong&gt; lists claims the team has not yet verified, such as “the carrier API can handle 100 requests per second.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Artifacts:&lt;/strong&gt; problem statement, current-state workflow, stakeholder map, data inventory, baseline metrics, assumptions register, risks, and a one-page business case.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Validation gate:&lt;/strong&gt; sponsor and product owner confirm the problem, a measurable outcome, and the baseline measurement method. Run a small user observation or prototype before committing to architecture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI contribution:&lt;/strong&gt; transcribe approved interviews, cluster recurring pain points, draft process maps, identify contradictory statements. &lt;strong&gt;Human check:&lt;/strong&gt; verify every consequential finding against recordings, participants, or system evidence. Never send confidential interviews to an unapproved model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 1 — Negotiate scope, economics, and control
&lt;/h2&gt;

&lt;p&gt;The parties choose a phased engagement instead of treating a fixed-price contract as a substitute for discovery.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Illustrative commercial proposal:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Discovery:&lt;/strong&gt; two weeks, fixed fee, producing a validated backlog, risk register, and delivery estimate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pilot:&lt;/strong&gt; eight weeks, limited to 100 vehicles and two dispatcher teams; price and scope capped.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expansion:&lt;/strong&gt; funded after pilot acceptance, with explicit change control.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Support:&lt;/strong&gt; separate operational agreement defining hours, severity, escalation, and service credits if applicable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Sample negotiation:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Customer procurement:&lt;/strong&gt; We need a fixed deadline and fixed cost for all countries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Vendor lead:&lt;/strong&gt; We can fix the pilot budget and deadline. We cannot responsibly fix the full integration scope before inspecting the legacy interfaces. We propose a two-week discovery with an option to stop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customer CTO:&lt;/strong&gt; We also need the ability to replace your team.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Vendor lead:&lt;/strong&gt; Agreed. Repositories, infrastructure accounts, pipelines, documentation, and observability will live under your organization's control. We'll define an exit rehearsal as an acceptance condition.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customer procurement:&lt;/strong&gt; How do we handle new compliance requirements?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Vendor lead:&lt;/strong&gt; We'll document their impact on scope, risk, cost, and schedule, and obtain written approval before changing the baseline.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A &lt;strong&gt;statement of work (SOW)&lt;/strong&gt; spells out what the supplier will deliver, by when, and under what acceptance conditions. &lt;strong&gt;Scope&lt;/strong&gt; is the agreed boundary of the work. &lt;strong&gt;Change control&lt;/strong&gt; is how the parties decide whether a new request changes the price, timeline, or risk. &lt;strong&gt;IP (intellectual property)&lt;/strong&gt; concerns rights to code, designs, and other deliverables; &lt;strong&gt;third-party licenses&lt;/strong&gt; can limit how dependencies may be used or redistributed. An &lt;strong&gt;exit strategy&lt;/strong&gt; makes it possible to switch providers without losing access or knowledge.&lt;/p&gt;

&lt;p&gt;For example, “add customs integration for another country” is not automatically a small change just because the screen looks similar. The customer describes the business need; the supplier estimates integration, legal, testing, and support impacts; the authorized owners approve, defer, or trade it against existing scope. &lt;strong&gt;Negotiation should expose trade-offs, not disguise uncertainty as certainty.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Contract checklist:&lt;/strong&gt; statement of work, deliverables, acceptance windows, change-request mechanism, IP ownership and third-party licensing, confidentiality, data processing, subcontractors, security incident notice, service/support responsibilities, termination assistance, source and infrastructure access, warranties, and dispute escalation. Legal counsel should adapt these terms to the jurisdiction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Validation gate:&lt;/strong&gt; both parties sign the scope baseline, assumptions, decision rights, acceptance method, and exit responsibilities. No one should confuse “code handed over” with “system operable independently.”&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 2 — Turn a business goal into testable specifications
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Functional example
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Story:&lt;/strong&gt; As a dispatcher, I want delayed shipments ranked by urgency so I can assign interventions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Acceptance criteria:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Given a shipment predicted to miss its delivery window by more than 20 minutes, when the forecast is updated, the shipment appears in the exception queue.&lt;/li&gt;
&lt;li&gt;A dispatcher can acknowledge an alert and assign an owner.&lt;/li&gt;
&lt;li&gt;Replayed telemetry does not create duplicate active alerts for the same shipment and rule version.&lt;/li&gt;
&lt;li&gt;If location data is stale, the UI clearly shows its age rather than presenting it as current.&lt;/li&gt;
&lt;li&gt;Every acknowledgment and assignment records actor, time, and shipment identifier.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Nonfunctional example
&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;functional requirement&lt;/strong&gt; describes &lt;em&gt;what the system does&lt;/em&gt;: “a dispatcher can assign an alert.” A &lt;strong&gt;nonfunctional requirement (NFR)&lt;/strong&gt; describes &lt;em&gt;how well or under what constraints&lt;/em&gt; it must work: speed, reliability, accessibility, security, or recoverability. An &lt;strong&gt;acceptance criterion&lt;/strong&gt; is an observable condition that lets the customer say yes or no. In the example above, the stale-data warning is not decorative: it prevents a dispatcher from mistaking yesterday's location for a live position.&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;percentile&lt;/strong&gt; summarizes a distribution. If API latency at &lt;strong&gt;p95&lt;/strong&gt; is 400 milliseconds, about 95% of measured requests completed in 400 ms or less, under the specified test conditions; the slowest 5% may take longer. Averages alone can hide those slow experiences. &lt;strong&gt;RTO (recovery time objective)&lt;/strong&gt; is the targeted time to restore a service after disruption; &lt;strong&gt;RPO (recovery point objective)&lt;/strong&gt; is the maximum targeted amount of recent data that could be lost, expressed as time. Neither is a guarantee unless the recovery design and tests support it.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Concern&lt;/th&gt;
&lt;th&gt;Proposed measurable requirement&lt;/th&gt;
&lt;th&gt;Verification&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;API latency&lt;/td&gt;
&lt;td&gt;p95 under 400 ms for selected reads at agreed load&lt;/td&gt;
&lt;td&gt;Load test and production traces&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Availability&lt;/td&gt;
&lt;td&gt;99.9% monthly for defined customer-facing API&lt;/td&gt;
&lt;td&gt;Synthetic checks plus request SLIs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data freshness&lt;/td&gt;
&lt;td&gt;95% of accepted telemetry reflected within 120 seconds&lt;/td&gt;
&lt;td&gt;Event-to-visibility timestamps&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Authorization&lt;/td&gt;
&lt;td&gt;Users can access only permitted tenants and roles&lt;/td&gt;
&lt;td&gt;Negative authorization tests&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Recovery&lt;/td&gt;
&lt;td&gt;RTO 2 hours; RPO 15 minutes for critical state&lt;/td&gt;
&lt;td&gt;Restore and failover exercise&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Auditability&lt;/td&gt;
&lt;td&gt;Changes to assignments traceable to an actor&lt;/td&gt;
&lt;td&gt;Audit log test&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Accessibility&lt;/td&gt;
&lt;td&gt;Target WCAG 2.2 AA for relevant web workflows&lt;/td&gt;
&lt;td&gt;Automated and manual review&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are &lt;strong&gt;starting negotiation values&lt;/strong&gt;, not promises that every system can or should meet. Define the population, exclusions, load profile, and measurement window before approving them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Validation gate:&lt;/strong&gt; product, engineering, security, and operations sign off on representative examples, failure behavior, data ownership, and measurable NFRs. Trace each critical requirement to a test or observable signal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI contribution:&lt;/strong&gt; propose edge cases, convert approved requirements into draft Gherkin scenarios, review ambiguities. &lt;strong&gt;Human check:&lt;/strong&gt; independently compare generated tests to the requirement; an AI can write a test that faithfully validates the wrong behavior.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 3 — Architecture and risk decisions
&lt;/h2&gt;

&lt;p&gt;The team chooses an incremental architecture: a telemetry ingestion adapter, event stream, shipment-state processor, alert rules service, operational API, and web UI. It deliberately avoids splitting every function into a microservice.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
  T[Vehicle telemetry] --&amp;gt; I[Ingestion adapter]
  I --&amp;gt; Q[Durable event stream]
  Q --&amp;gt; P[Shipment state processor]
  P --&amp;gt; D[(Operational data store)]
  P --&amp;gt; R[Alert rules]
  R --&amp;gt; D
  D --&amp;gt; A[API]
  A --&amp;gt; U[Dispatcher UI]
  P --&amp;gt; O[Metrics and traces]
  A --&amp;gt; O&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;An &lt;strong&gt;architecture decision record (ADR)&lt;/strong&gt; is a short explanation of a significant technical choice, its alternatives, and its consequences. It helps the next engineer understand &lt;em&gt;why&lt;/em&gt; the system looks this way. A &lt;strong&gt;durable event stream&lt;/strong&gt; retains messages so processors can recover or replay them. &lt;strong&gt;Idempotency&lt;/strong&gt; means processing the same business event twice has the same intended effect as processing it once. A &lt;strong&gt;dead-letter queue&lt;/strong&gt; isolates messages that repeatedly fail so they can be inspected instead of blocking everything. &lt;strong&gt;Eventual consistency&lt;/strong&gt; means different parts of the system may briefly disagree while updates propagate.&lt;/p&gt;

&lt;p&gt;Imagine a vehicle losing connectivity, then uploading the same position twice. Without idempotency, the system could create two delay alerts. With a stable event identifier and deduplication rule, the second upload does not cause a second business action.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ADR-004 — Asynchronous telemetry processing&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context:&lt;/strong&gt; connectivity is intermittent; messages may be duplicated or reordered.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decision:&lt;/strong&gt; durable events, explicit idempotency keys, bounded retries, dead-letter handling, and freshness indicators.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Alternatives:&lt;/strong&gt; synchronous direct writes; batch imports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consequences:&lt;/strong&gt; additional operational complexity, eventual consistency, replay and schema-evolution obligations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Revisit when:&lt;/strong&gt; volume, delay, or operational burden invalidates the assumptions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Threat model:&lt;/strong&gt; tenant isolation, forged telemetry, compromised API tokens, overprivileged service accounts, leaked location history, supply-chain compromise, and AI-agent access to production secrets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Validation gate:&lt;/strong&gt; architecture review checks failure modes, load estimates, security boundaries, ADR trade-offs, and a working vertical slice. A diagram alone is not evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 4 — Agree on how the team communicates
&lt;/h2&gt;

&lt;p&gt;Communication is an engineering control when it preserves decisions and surfaces uncertainty. A &lt;strong&gt;cadence&lt;/strong&gt; is the agreed frequency of communication. &lt;strong&gt;Async updates&lt;/strong&gt; are written updates that do not require everyone in a meeting. A &lt;strong&gt;risk register&lt;/strong&gt; is a living list of potential problems, their probability or impact, owners, and mitigation plans. A &lt;strong&gt;steering meeting&lt;/strong&gt; is where sponsors resolve decisions the delivery team cannot make alone.&lt;/p&gt;

&lt;p&gt;A useful status report does not merely say “80% done.” It states what was verified, what could prevent success, who must decide, and by when. &lt;strong&gt;Amber&lt;/strong&gt; means attention is required; it does not mean failure.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Cadence&lt;/th&gt;
&lt;th&gt;Participants&lt;/th&gt;
&lt;th&gt;Output&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Daily async update&lt;/td&gt;
&lt;td&gt;Delivery team&lt;/td&gt;
&lt;td&gt;Done / next / blocked / risk&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Weekly product review&lt;/td&gt;
&lt;td&gt;Product + engineering&lt;/td&gt;
&lt;td&gt;Demo, acceptance, priority decisions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Weekly risk review&lt;/td&gt;
&lt;td&gt;Delivery, technical and security owners&lt;/td&gt;
&lt;td&gt;Updated risk register and mitigations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Architecture decision as needed&lt;/td&gt;
&lt;td&gt;Relevant engineers + owner&lt;/td&gt;
&lt;td&gt;ADR with alternatives and consequences&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monthly steering meeting&lt;/td&gt;
&lt;td&gt;Sponsor + vendor leadership&lt;/td&gt;
&lt;td&gt;Budget, outcomes, escalations, scope decisions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Incident bridge&lt;/td&gt;
&lt;td&gt;On-call, incident commander, stakeholders&lt;/td&gt;
&lt;td&gt;Timeline, mitigations, next update time&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Example weekly update:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Status: Amber — telemetry integration&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Completed: replay-safe ingestion prototype, 14 integration tests.&lt;br&gt;&lt;br&gt;
Evidence: duplicate events no longer create duplicate shipment-state transitions in the test environment.&lt;br&gt;&lt;br&gt;
Risk: partner API rate limit is undocumented; pilot throughput may be affected.&lt;br&gt;&lt;br&gt;
Decision needed by Thursday: authorize a partner load test or accept a lower initial fleet limit.&lt;br&gt;&lt;br&gt;
Owner: Northstar integration lead. Next update: Friday 15:00.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Validation gate:&lt;/strong&gt; decisions have owners and deadlines; risks have mitigation or explicit acceptance. A green status without evidence is not a control.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 5 — Build with AI, without outsourcing accountability
&lt;/h2&gt;

&lt;p&gt;AI can help throughout the lifecycle, but different tasks require different permissions and verification. Here &lt;strong&gt;AI agent&lt;/strong&gt; means software that can use tools and take multiple steps (for example, reading an issue, editing a branch, and running tests), not just a chat assistant answering a question. A &lt;strong&gt;human-in-the-loop&lt;/strong&gt; control means an authorized person must review or approve a consequential action. A &lt;strong&gt;code owner&lt;/strong&gt; is the designated reviewer responsible for a portion of the repository.&lt;/p&gt;

&lt;p&gt;The central risk is &lt;strong&gt;verification debt&lt;/strong&gt;: code, tests, and documents can be generated faster than the team can check their correctness. A polished AI summary is not evidence that an interviewee said something; a passing AI-written test is not evidence that the intended business rule was correct. Give agents the least permissions they need and preserve an audit trail of actions.&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;Useful AI work&lt;/th&gt;
&lt;th&gt;Required human verification&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Discovery&lt;/td&gt;
&lt;td&gt;Interview synthesis, gap detection&lt;/td&gt;
&lt;td&gt;Source-backed findings and user confirmation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Specifications&lt;/td&gt;
&lt;td&gt;Edge cases, acceptance-test drafts&lt;/td&gt;
&lt;td&gt;Product owner approves intended behavior&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Architecture&lt;/td&gt;
&lt;td&gt;Alternatives, failure scenarios&lt;/td&gt;
&lt;td&gt;Engineers test assumptions and own ADRs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Coding&lt;/td&gt;
&lt;td&gt;Scaffolding, refactoring, migrations&lt;/td&gt;
&lt;td&gt;Code review, tests, security checks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Testing&lt;/td&gt;
&lt;td&gt;Test generation, fuzz-case suggestions&lt;/td&gt;
&lt;td&gt;Independent oracle and meaningful assertions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operations&lt;/td&gt;
&lt;td&gt;Incident summaries, query suggestions&lt;/td&gt;
&lt;td&gt;On-call confirms diagnosis and commands&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reporting&lt;/td&gt;
&lt;td&gt;Release-note and metric summaries&lt;/td&gt;
&lt;td&gt;Validate against telemetry and change records&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Example AI-agent policy:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;agent_policy&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;approved_tools&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;repository_reader&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;test_runner&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;issue_tracker&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;default_permissions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;read_only&lt;/span&gt;
  &lt;span class="na"&gt;allowed_changes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;feature_branch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;pull_request&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;prohibited&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;production_deploy&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;secret_read&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;permission_grants&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="na"&gt;required_checks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;human_code_owner_review&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;automated_tests&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;dependency_and_secret_scans&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;security_review_for_sensitive_changes&lt;/span&gt;
  &lt;span class="na"&gt;audit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;record_agent_identity&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="na"&gt;record_tool_actions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is a conceptual policy, &lt;strong&gt;not&lt;/strong&gt; a vendor-specific enforceable configuration. Enforce permissions in the actual identity, repository, CI, and infrastructure systems. Treat retrieved documents, issue descriptions, and tool output as untrusted inputs to agents.&lt;/p&gt;

&lt;p&gt;A useful &lt;strong&gt;AI evaluation&lt;/strong&gt; compares similar work over time: cycle time, review burden, escaped defects, rework, and customer outcomes. Do not infer productivity from generated lines of code or number of prompts. Use matched tasks or staged pilots where possible; control for task complexity and team differences.&lt;/p&gt;

&lt;p&gt;DORA's 2025 research reported widespread AI adoption and positive associations with throughput and product performance, while finding a negative association with delivery stability. That is a warning against equating faster code production with a healthier delivery system. &lt;a href="https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report" rel="noopener noreferrer"&gt;DORA 2025&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;OWASP SAMM's AI-assisted development guidance similarly emphasizes approved tools, scoped permissions, source and licensing policies, and deterministic verification beyond AI-based review: &lt;a href="https://owaspsamm.org/docs/guides/ai-assisted-development/" rel="noopener noreferrer"&gt;OWASP SAMM guidance&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 6 — Define objective release gates
&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;quality gate&lt;/strong&gt; is a condition that must pass before a change proceeds. &lt;strong&gt;CI/CD (continuous integration / continuous delivery or deployment)&lt;/strong&gt; automates building, checking, and preparing or releasing changes. A &lt;strong&gt;pull request (PR)&lt;/strong&gt; is a proposed code change reviewed before merging. A &lt;strong&gt;contract test&lt;/strong&gt; checks that two components agree on their interface. A &lt;strong&gt;canary release&lt;/strong&gt; exposes a new version to a small fraction of traffic first; a &lt;strong&gt;rollback&lt;/strong&gt; returns to the previous version, while &lt;strong&gt;roll-forward&lt;/strong&gt; fixes the issue in a new version. &lt;strong&gt;Artifact provenance&lt;/strong&gt; records how a deployable package was built and from which source.&lt;/p&gt;

&lt;p&gt;The team creates a &lt;strong&gt;Definition of Done&lt;/strong&gt; for a feature and a stricter &lt;strong&gt;production release gate&lt;/strong&gt; for a deployable change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Feature done:&lt;/strong&gt; reviewed acceptance criteria, passing relevant tests, observability included, documentation updated, no unapproved critical security findings, and product-owner acceptance for user-facing behavior.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Production gate:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Build is reproducible and artifacts have provenance.&lt;/li&gt;
&lt;li&gt;Unit, integration, contract, and risk-relevant end-to-end tests pass.&lt;/li&gt;
&lt;li&gt;Dependency, secrets, and static-security checks satisfy policy.&lt;/li&gt;
&lt;li&gt;Performance checks meet the agreed load envelope.&lt;/li&gt;
&lt;li&gt;Database migrations are forward/backward compatible or have a safe plan.&lt;/li&gt;
&lt;li&gt;Feature flags, canary rollout, and rollback or roll-forward procedures are rehearsed.&lt;/li&gt;
&lt;li&gt;Dashboards and alerts cover the new critical path.&lt;/li&gt;
&lt;li&gt;Named owner accepts residual risks and authorizes release.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Failure example:&lt;/strong&gt; the generated code passes unit tests but accidentally allows one tenant to query another tenant's shipments. The negative authorization suite fails. The pipeline blocks release even though the feature demo looks correct.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Validation gate:&lt;/strong&gt; store the evidence in the PR, build, test report, and release record. Exceptions require a named approver, expiry date, mitigation, and follow-up issue.&lt;/p&gt;

&lt;p&gt;NIST's &lt;a href="https://csrc.nist.gov/projects/SSDF" rel="noopener noreferrer"&gt;Secure Software Development Framework&lt;/a&gt; provides a useful organizing model: prepare the organization, protect software, produce well-secured software, and respond to vulnerabilities.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 7 — SLIs, SLOs, SLAs, and operational negotiation
&lt;/h2&gt;

&lt;p&gt;An &lt;strong&gt;SLI (service level indicator)&lt;/strong&gt; is the number measured in production, such as the percentage of successful requests. An &lt;strong&gt;SLO (service level objective)&lt;/strong&gt; is the internal target for that indicator, such as 99.9% in 30 days. An &lt;strong&gt;SLA (service level agreement)&lt;/strong&gt; is a customer-facing contractual promise that defines coverage, measurement, support, exclusions, and possibly remedies if commitments are missed. An SLO does not automatically become an SLA.&lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;error budget&lt;/strong&gt; is the amount of unreliability allowed by an SLO. At 99.9% request success, the budget is 0.1% failed eligible requests over the chosen window. Teams can use that budget to decide whether to prioritize new features or reliability improvements. &lt;strong&gt;Sev-1&lt;/strong&gt; is a severity classification for a major incident; each organization must define its actual impact threshold. &lt;strong&gt;Acknowledgment time&lt;/strong&gt; is how quickly someone responds to an incident report, not how quickly the system is fixed.&lt;/p&gt;

&lt;p&gt;For the pilot, Northstar and Harbor propose:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Availability SLI:&lt;/strong&gt; successful eligible API requests / all eligible API requests, with explicit rules for timeouts and excluded traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Availability SLO:&lt;/strong&gt; at least 99.9% over a rolling 30-day window.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Freshness SLI:&lt;/strong&gt; share of accepted events visible to dispatchers within 120 seconds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Freshness SLO:&lt;/strong&gt; at least 95% over seven days.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Support SLA:&lt;/strong&gt; severity-based response and escalation commitments, distinct from time-to-resolution promises.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For one million eligible requests in the SLO window, a 99.9% target allows &lt;strong&gt;1,000 unsuccessful requests&lt;/strong&gt;. If the system records 1,300, it misses the objective. A 99.9% time-based target corresponds to about &lt;strong&gt;43.2 minutes&lt;/strong&gt; of unavailability in 30 days, but request-based and time-based budgets are &lt;strong&gt;not interchangeable&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example support negotiation:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Customer:&lt;/strong&gt; We want all incidents fixed within one hour.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Operations lead:&lt;/strong&gt; We can commit to a 15-minute acknowledgment for Sev-1 incidents with 24/7 coverage, but cannot guarantee every root cause is resolved in an hour. Let's separately define restoration targets, escalation, communication intervals, and service remedies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customer:&lt;/strong&gt; What if we lose tracking during a carrier outage?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Operations lead:&lt;/strong&gt; The system should mark the data stale, queue retries where possible, and report dependency impact. The contract needs to distinguish our controllable failures from upstream outages without hiding the user's experience.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Illustrative severity matrix:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Severity&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;th&gt;Acknowledgment target&lt;/th&gt;
&lt;th&gt;Update cadence&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Sev-1&lt;/td&gt;
&lt;td&gt;Widespread loss of critical dispatch functionality&lt;/td&gt;
&lt;td&gt;15 min, 24/7&lt;/td&gt;
&lt;td&gt;Every 30 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sev-2&lt;/td&gt;
&lt;td&gt;Major degradation with workaround&lt;/td&gt;
&lt;td&gt;1 hour during support coverage&lt;/td&gt;
&lt;td&gt;Every 2 hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sev-3&lt;/td&gt;
&lt;td&gt;Limited issue&lt;/td&gt;
&lt;td&gt;1 business day&lt;/td&gt;
&lt;td&gt;Agreed in ticket&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Do not copy these commitments into a contract without verifying staffing, monitoring, holidays, time zones, and actual ability to respond.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Error-budget policy:&lt;/strong&gt; when the service exhausts its agreed budget, pause discretionary risky releases and prioritize reliability, with exceptions for urgent security and recovery work. Google's &lt;a href="https://sre.google/workbook/error-budget-policy/" rel="noopener noreferrer"&gt;SRE error-budget policy example&lt;/a&gt; illustrates how to formalize that decision without using reliability as a punishment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 8 — Measure the entire system, not just the developers
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Metrics are useful only when they support decisions.&lt;/strong&gt; A &lt;strong&gt;KPI (key performance indicator)&lt;/strong&gt; is a selected metric tied to a goal, such as reducing time to assign delayed shipments. &lt;strong&gt;Instrumentation&lt;/strong&gt; is the code or configuration that records events, logs, traces, and metrics. A &lt;strong&gt;trace&lt;/strong&gt; follows a request through components; a &lt;strong&gt;log&lt;/strong&gt; records an event; a &lt;strong&gt;metric&lt;/strong&gt; aggregates a measurement over time. &lt;strong&gt;DORA&lt;/strong&gt; is a research program that studies software-delivery performance and provides operational metrics; its measures are not individual developer scorecards.&lt;/p&gt;

&lt;p&gt;Create a &lt;strong&gt;measurement plan&lt;/strong&gt; before the pilot. Every metric needs a definition, event source, owner, review cadence, and response when it moves.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Formula or method&lt;/th&gt;
&lt;th&gt;Data source&lt;/th&gt;
&lt;th&gt;Decision it informs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Business&lt;/td&gt;
&lt;td&gt;Median alert-to-assignment time&lt;/td&gt;
&lt;td&gt;Median(assignment time − actionable alert time)&lt;/td&gt;
&lt;td&gt;Audit events&lt;/td&gt;
&lt;td&gt;Does the product improve dispatch?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Business&lt;/td&gt;
&lt;td&gt;False-alert rate&lt;/td&gt;
&lt;td&gt;False alerts / reviewed alerts&lt;/td&gt;
&lt;td&gt;Labeled review sample&lt;/td&gt;
&lt;td&gt;Are we creating noise?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Product&lt;/td&gt;
&lt;td&gt;Weekly active dispatchers&lt;/td&gt;
&lt;td&gt;Distinct users completing core action&lt;/td&gt;
&lt;td&gt;Privacy-aware events&lt;/td&gt;
&lt;td&gt;Is the workflow adopted?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delivery&lt;/td&gt;
&lt;td&gt;Change lead time&lt;/td&gt;
&lt;td&gt;Commit-to-production elapsed time&lt;/td&gt;
&lt;td&gt;Git + deployment records&lt;/td&gt;
&lt;td&gt;Where is delivery delayed?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delivery&lt;/td&gt;
&lt;td&gt;Deployment frequency&lt;/td&gt;
&lt;td&gt;Production deployments per period&lt;/td&gt;
&lt;td&gt;CI/CD&lt;/td&gt;
&lt;td&gt;Can changes move safely?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delivery&lt;/td&gt;
&lt;td&gt;Change fail rate&lt;/td&gt;
&lt;td&gt;Deployments requiring immediate intervention / deployments&lt;/td&gt;
&lt;td&gt;Incidents + deployments&lt;/td&gt;
&lt;td&gt;Are releases destabilizing service?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delivery&lt;/td&gt;
&lt;td&gt;Failed deployment recovery time&lt;/td&gt;
&lt;td&gt;Time to recover from a failed deployment&lt;/td&gt;
&lt;td&gt;Incident timeline&lt;/td&gt;
&lt;td&gt;How quickly can we recover?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delivery&lt;/td&gt;
&lt;td&gt;Deployment rework rate&lt;/td&gt;
&lt;td&gt;Unplanned incident-related deployments / deployments&lt;/td&gt;
&lt;td&gt;Deployment classifications&lt;/td&gt;
&lt;td&gt;How much emergency rework occurs?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reliability&lt;/td&gt;
&lt;td&gt;API success ratio&lt;/td&gt;
&lt;td&gt;Successful eligible requests / eligible requests&lt;/td&gt;
&lt;td&gt;Gateway telemetry&lt;/td&gt;
&lt;td&gt;Is the SLO met?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reliability&lt;/td&gt;
&lt;td&gt;p95 latency&lt;/td&gt;
&lt;td&gt;95th percentile of eligible request durations&lt;/td&gt;
&lt;td&gt;Traces/metrics&lt;/td&gt;
&lt;td&gt;Is the experience responsive?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data&lt;/td&gt;
&lt;td&gt;Duplicate effect rate&lt;/td&gt;
&lt;td&gt;Duplicate state changes / replayed or duplicate messages&lt;/td&gt;
&lt;td&gt;Processor audit&lt;/td&gt;
&lt;td&gt;Is idempotency working?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security&lt;/td&gt;
&lt;td&gt;Critical finding age&lt;/td&gt;
&lt;td&gt;Days since confirmed finding opened&lt;/td&gt;
&lt;td&gt;Vulnerability tracker&lt;/td&gt;
&lt;td&gt;Are critical risks being reduced?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost&lt;/td&gt;
&lt;td&gt;Cost per tracked vehicle-day&lt;/td&gt;
&lt;td&gt;Allocated service spend / active vehicle-days&lt;/td&gt;
&lt;td&gt;Cloud billing + usage&lt;/td&gt;
&lt;td&gt;Does scaling make economic sense?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI&lt;/td&gt;
&lt;td&gt;AI-assisted rework rate&lt;/td&gt;
&lt;td&gt;AI-assisted changes requiring rework / AI-assisted changes&lt;/td&gt;
&lt;td&gt;PR classification + issues&lt;/td&gt;
&lt;td&gt;Is AI creating downstream burden?&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;DORA now defines &lt;strong&gt;five&lt;/strong&gt; software-delivery performance metrics, including deployment rework rate. Use its current definitions rather than an outdated four-metric slide: &lt;a href="https://dora.dev/guides/dora-metrics/" rel="noopener noreferrer"&gt;DORA metrics guide&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example instrumentation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;shipment_alert_created{shipment_id, rule_version, timestamp}
shipment_alert_assigned{shipment_id, actor_id, timestamp}
telemetry_accepted{event_id, source, timestamp}
telemetry_visible{event_id, timestamp}
deployment_completed{service, version, timestamp}
incident_opened{severity, service, timestamp}
incident_restored{incident_id, timestamp}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is an &lt;strong&gt;event schema illustration&lt;/strong&gt;, not a recommendation to put shipment IDs, event IDs, or actor IDs into Prometheus metric labels. High-cardinality identifiers belong in appropriately protected logs, traces, or event stores; aggregate metrics should use bounded labels. Protect personal and location data with access controls and retention limits.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to validate a metric
&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;measurement window&lt;/strong&gt; is the period being analyzed. A &lt;strong&gt;denominator&lt;/strong&gt; is the population included in a rate; changing it can make a metric look better without improving reality. &lt;strong&gt;p90&lt;/strong&gt; means 90% of observations are at or below that value. &lt;strong&gt;High-cardinality labels&lt;/strong&gt; are labels with very many distinct values (for example, one per shipment); putting them on time-series metrics can overwhelm monitoring systems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Worked example:&lt;/strong&gt; Suppose 80 of 100 reviewed alerts were actionable and 20 were false alarms. The false-alert rate is 20/100 = &lt;strong&gt;20%&lt;/strong&gt;, provided the sample is representative. If the team quietly excludes difficult cases, that number becomes misleading. Suppose assignment times are 5, 10, 15, 20, and 120 minutes. The median is &lt;strong&gt;15 minutes&lt;/strong&gt;, but the 120-minute outlier still matters for operations; track a tail percentile too.&lt;/p&gt;

&lt;p&gt;For alert-to-assignment time, verify the start event represents an actionable alert, not a background recalculation; use consistent clocks; exclude test data; inspect missing assignments; compare median and p90; segment by region and shift; and sample raw records manually. Without these checks, a falling median might simply mean the team stopped recording difficult cases.&lt;/p&gt;

&lt;p&gt;For AI-assisted changes, establish a baseline and compare &lt;strong&gt;review time, escaped defects, change fail rate, and outcomes&lt;/strong&gt;. Label changes consistently, note mixed human/AI work, and avoid ranking individual engineers. An observational improvement is not proof that AI caused it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 9 — Run a pilot and decide with evidence
&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;pilot&lt;/strong&gt; is a limited real-world rollout designed to test assumptions before broad deployment. A &lt;strong&gt;go/no-go decision&lt;/strong&gt; is an explicit choice to proceed, delay, or stop based on agreed evidence. A &lt;strong&gt;control group&lt;/strong&gt;, where feasible, is a comparable group not yet receiving the change; it helps distinguish the product's effect from unrelated improvements. A pilot without predetermined success conditions can easily become a demonstration where every result is interpreted as success.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pilot plan:&lt;/strong&gt; 100 vehicles, two teams, four weeks of live operation after readiness approval. Compare against a baseline and, where feasible, a similar team not yet using the new workflow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Illustrative pilot results:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measure&lt;/th&gt;
&lt;th&gt;Baseline&lt;/th&gt;
&lt;th&gt;Pilot&lt;/th&gt;
&lt;th&gt;Interpretation&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Median alert-to-assignment&lt;/td&gt;
&lt;td&gt;45 min&lt;/td&gt;
&lt;td&gt;18 min&lt;/td&gt;
&lt;td&gt;Better, but short of 15-min target&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;p90 alert-to-assignment&lt;/td&gt;
&lt;td&gt;110 min&lt;/td&gt;
&lt;td&gt;75 min&lt;/td&gt;
&lt;td&gt;Tail remains problematic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;False-alert rate&lt;/td&gt;
&lt;td&gt;12%&lt;/td&gt;
&lt;td&gt;9%&lt;/td&gt;
&lt;td&gt;Improvement; review sample quality&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;API availability&lt;/td&gt;
&lt;td&gt;Not applicable&lt;/td&gt;
&lt;td&gt;99.95%&lt;/td&gt;
&lt;td&gt;Above proposed 99.9% SLO&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Freshness within 120 sec&lt;/td&gt;
&lt;td&gt;Not applicable&lt;/td&gt;
&lt;td&gt;93%&lt;/td&gt;
&lt;td&gt;Below proposed 95% SLO&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dispatcher satisfaction&lt;/td&gt;
&lt;td&gt;3.0/5&lt;/td&gt;
&lt;td&gt;4.0/5&lt;/td&gt;
&lt;td&gt;Positive but survey bias possible&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Steering committee decision:&lt;/strong&gt; do &lt;strong&gt;not&lt;/strong&gt; declare complete success based on one favorable number. Extend the pilot for two weeks, prioritize freshness and p90 delays, and then reassess. The contract's acceptance criteria and change-control mechanism determine whether this is remediation within scope or new work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Validation gate:&lt;/strong&gt; documented go/no-go decision, evidence pack, residual risks, and named owner for every unresolved issue.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 10 — Operate, respond, learn
&lt;/h2&gt;

&lt;p&gt;At 09:12, telemetry ingestion falls behind after a partner sends a burst of messages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example incident communications:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;09:20 — Initial notice:&lt;/strong&gt; We are investigating delayed shipment updates affecting some dispatchers. Current location timestamps remain visible. Next update by 09:50.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;09:42 — Progress:&lt;/strong&gt; Ingestion backlog is elevated. We have reduced nonessential processing and are draining the queue. No evidence of lost accepted events so far; verification continues.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10:18 — Restoration:&lt;/strong&gt; Processing delay has returned within the operational threshold. We will monitor recovery and publish a post-incident review within three business days.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A &lt;strong&gt;runbook&lt;/strong&gt; is a tested operational procedure: how to recognize a problem, where to look, what actions are safe, and when to escalate. A &lt;strong&gt;postmortem&lt;/strong&gt; (or post-incident review) examines how an incident happened and how the system can be improved. &lt;strong&gt;Observability&lt;/strong&gt; is the ability to understand internal system behavior from its signals, rather than guessing from a green server-status light.&lt;/p&gt;

&lt;p&gt;The postmortem documents impact, detection delay, timeline, contributing factors, what worked, and corrective actions. Avoid blaming individuals; focus on system improvements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example follow-up:&lt;/strong&gt; add backlog-based autoscaling within tested limits, replay a production-like burst in staging, and introduce an alert on the freshness SLI rather than relying solely on CPU utilization.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Validation gate:&lt;/strong&gt; run the new test, verify alerts fire, assign remediation owners, and confirm that the same failure mode is less likely or less damaging. Closing the incident ticket is not equivalent to closing the risk.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 11 — Handover and the ownership test
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Handover&lt;/strong&gt; transfers practical responsibility, not just files. &lt;strong&gt;Infrastructure as code (IaC)&lt;/strong&gt; means environments are defined and reproducible through versioned configuration. A &lt;strong&gt;restore exercise&lt;/strong&gt; proves that backups can actually recover usable data. &lt;strong&gt;Operational independence&lt;/strong&gt; means the customer can deploy, diagnose, recover, and make changes without hidden reliance on the supplier.&lt;/p&gt;

&lt;p&gt;A mature handover is not a ZIP file and a farewell meeting. Northstar should be able to deploy, restore, diagnose, and evolve the system without depending on Harbor's undocumented knowledge.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exit rehearsal:&lt;/strong&gt; Northstar engineers, using their own identities, provision a nonproduction environment, deploy a release, rotate a secret, diagnose a simulated outage, restore data from backup, and make a small approved change. Harbor observes but does not operate the keyboard.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Handover evidence:&lt;/strong&gt; repository and artifact ownership; infrastructure-as-code; architecture and ADRs; API/schema contracts; access and credential inventories; runbooks; dashboards; on-call routing; dependency/license inventory; backup restoration records; known risks; costs; and a transition support plan.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Validation gate:&lt;/strong&gt; the customer performs the exit rehearsal successfully, with agreed exceptions tracked to resolution. Ownership becomes a demonstrated capability, not a contract adjective.&lt;/p&gt;

&lt;h2&gt;
  
  
  A reusable gate matrix
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Gate&lt;/th&gt;
&lt;th&gt;Owner&lt;/th&gt;
&lt;th&gt;Required evidence&lt;/th&gt;
&lt;th&gt;Fail action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Problem validated&lt;/td&gt;
&lt;td&gt;Product sponsor&lt;/td&gt;
&lt;td&gt;Baseline, interviews, outcome&lt;/td&gt;
&lt;td&gt;Redo discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Contract agreed&lt;/td&gt;
&lt;td&gt;Commercial/legal owners&lt;/td&gt;
&lt;td&gt;SOW, acceptance, IP, exit terms&lt;/td&gt;
&lt;td&gt;Renegotiate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Requirements approved&lt;/td&gt;
&lt;td&gt;Product + technical owners&lt;/td&gt;
&lt;td&gt;Testable stories and NFRs&lt;/td&gt;
&lt;td&gt;Clarify and rescope&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Architecture accepted&lt;/td&gt;
&lt;td&gt;Technical + security owners&lt;/td&gt;
&lt;td&gt;ADRs, threat model, prototype&lt;/td&gt;
&lt;td&gt;Reduce risk or redesign&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Change ready&lt;/td&gt;
&lt;td&gt;Code owner&lt;/td&gt;
&lt;td&gt;PR, tests, scans, review&lt;/td&gt;
&lt;td&gt;Block merge&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Release ready&lt;/td&gt;
&lt;td&gt;Release owner&lt;/td&gt;
&lt;td&gt;Test evidence, rollback, telemetry&lt;/td&gt;
&lt;td&gt;Block deployment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pilot accepted&lt;/td&gt;
&lt;td&gt;Product owner&lt;/td&gt;
&lt;td&gt;Outcome and SLO evidence&lt;/td&gt;
&lt;td&gt;Remediate or change scope&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Operations ready&lt;/td&gt;
&lt;td&gt;Service owner&lt;/td&gt;
&lt;td&gt;Runbooks, on-call, restore test&lt;/td&gt;
&lt;td&gt;Delay handover&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Exit validated&lt;/td&gt;
&lt;td&gt;Customer technical owner&lt;/td&gt;
&lt;td&gt;Independent operational rehearsal&lt;/td&gt;
&lt;td&gt;Extend transition&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What to automate—and what not to
&lt;/h2&gt;

&lt;p&gt;Automate repeatable evidence collection: builds, tests, security scans, deployment records, service indicators, change logs, and cost allocation. Use AI to reduce clerical work and broaden analysis. Keep accountable human decisions at business acceptance, security exceptions, architectural trade-offs, contractual changes, and high-impact production operations.&lt;/p&gt;

&lt;p&gt;The deeper point is that &lt;strong&gt;AI makes the gap between producing code and owning outcomes more visible&lt;/strong&gt;. If generated code accelerates delivery but review, integration, operations, and customer learning remain bottlenecks, the organization has only moved the queue.&lt;/p&gt;

&lt;p&gt;In 2026, enterprise software maturity should be judged less by how quickly a team produces artifacts and more by whether it can &lt;strong&gt;prove value, explain decisions, recover from failure, control risk, and transfer operational independence&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  A short glossary to keep nearby
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Term&lt;/th&gt;
&lt;th&gt;Plain-language meaning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;SLA / SLO / SLI&lt;/td&gt;
&lt;td&gt;Customer commitment / internal reliability target / actual measurement&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NFR&lt;/td&gt;
&lt;td&gt;A requirement about quality or constraints, not just functionality&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ADR&lt;/td&gt;
&lt;td&gt;A written record explaining a technical decision and trade-offs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RTO / RPO&lt;/td&gt;
&lt;td&gt;Target recovery time / maximum targeted data-loss window&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;UAT&lt;/td&gt;
&lt;td&gt;Users checking whether the solution meets real needs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SOW&lt;/td&gt;
&lt;td&gt;Contractual description of work, deliverables, and acceptance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CI/CD&lt;/td&gt;
&lt;td&gt;Automated integration, verification, and release workflows&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DORA&lt;/td&gt;
&lt;td&gt;Research-backed software-delivery performance measures&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Error budget&lt;/td&gt;
&lt;td&gt;Reliability failure allowance implied by an SLO&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Idempotency&lt;/td&gt;
&lt;td&gt;Repeating an operation does not repeat its business effect&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Canary&lt;/td&gt;
&lt;td&gt;Releasing to a small audience before full rollout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Runbook&lt;/td&gt;
&lt;td&gt;A repeatable guide for operating or recovering a service&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;FinOps&lt;/td&gt;
&lt;td&gt;Collaborative management of cloud spending and value&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DACI / RACI&lt;/td&gt;
&lt;td&gt;Decision roles (Driver, Approver, Contributors, Informed) / work responsibility roles (Responsible, Accountable, Consulted, Informed)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stream-aligned team&lt;/td&gt;
&lt;td&gt;Team organized around a customer-value flow, rather than a single technical layer&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Decision latency&lt;/td&gt;
&lt;td&gt;Time between identifying a decision and obtaining an authorized decision&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Further reading and research basis
&lt;/h2&gt;

&lt;p&gt;These are primary or authoritative practitioner sources. They support the frameworks and general findings above; the fictional scenario, dialogue, targets, and pilot data are original teaching examples.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;DORA — Software Delivery Performance Metrics.&lt;/strong&gt; Current five-metric definitions, measurement pitfalls, and application-level comparisons. &lt;a href="https://dora.dev/guides/dora-metrics/" rel="noopener noreferrer"&gt;https://dora.dev/guides/dora-metrics/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Cloud / DORA — 2025 State of AI-Assisted Software Development.&lt;/strong&gt; Research on AI adoption, organizational capabilities, throughput, product performance, and stability. &lt;a href="https://cloud.google.com/resources/content/2025-dora-ai-assisted-software-development-report" rel="noopener noreferrer"&gt;https://cloud.google.com/resources/content/2025-dora-ai-assisted-software-development-report&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Cloud — Announcing the 2025 DORA Report.&lt;/strong&gt; Summary of survey findings and their interpretation. &lt;a href="https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report" rel="noopener noreferrer"&gt;https://cloud.google.com/blog/products/ai-machine-learning/announcing-the-2025-dora-report&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NIST — Secure Software Development Framework (SP 800-218).&lt;/strong&gt; Secure development practices and governance. &lt;a href="https://csrc.nist.gov/projects/SSDF" rel="noopener noreferrer"&gt;https://csrc.nist.gov/projects/SSDF&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NIST NCCoE — DevSecOps Notional Reference Model.&lt;/strong&gt; Lifecycle gates, supply-chain provenance, and AI-assisted DevSecOps considerations. &lt;a href="https://pages.nist.gov/nccoe-devsecops/notational-reference-model.html" rel="noopener noreferrer"&gt;https://pages.nist.gov/nccoe-devsecops/notational-reference-model.html&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OWASP SAMM — Guidance for AI-Assisted Development.&lt;/strong&gt; AI governance, security testing, tools, autonomy, and verification. &lt;a href="https://owaspsamm.org/docs/guides/ai-assisted-development/" rel="noopener noreferrer"&gt;https://owaspsamm.org/docs/guides/ai-assisted-development/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google SRE Workbook — Error Budget Policy.&lt;/strong&gt; Operational policy example for balancing releases and reliability. &lt;a href="https://sre.google/workbook/error-budget-policy/" rel="noopener noreferrer"&gt;https://sre.google/workbook/error-budget-policy/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DORA — Loosely Coupled Teams.&lt;/strong&gt; Team autonomy, deployability, and coordination dependencies. &lt;a href="https://dora.dev/capabilities/loosely-coupled-teams/" rel="noopener noreferrer"&gt;https://dora.dev/capabilities/loosely-coupled-teams/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DORA — 2024 Accelerate State of DevOps.&lt;/strong&gt; Leadership, stable priorities, user-centricity, and platform trade-offs. &lt;a href="https://dora.dev/research/2024/dora-report/" rel="noopener noreferrer"&gt;https://dora.dev/research/2024/dora-report/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Atlassian — Team Topologies.&lt;/strong&gt; Overview of stream-aligned, platform, enabling, and complicated-subsystem teams. &lt;a href="https://www.atlassian.com/devops/frameworks/team-topologies" rel="noopener noreferrer"&gt;https://www.atlassian.com/devops/frameworks/team-topologies&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UK Government Digital Service — Service Level Objectives.&lt;/strong&gt; Practical service objectives and continuous improvement. &lt;a href="https://gds-way.digital.cabinet-office.gov.uk/standards/slo.html" rel="noopener noreferrer"&gt;https://gds-way.digital.cabinet-office.gov.uk/standards/slo.html&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;What is the strongest proof of ownership you've seen in an enterprise handover: source-code access, a successful restore, or the customer's ability to ship the next feature without the vendor?&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwareengineering</category>
      <category>architecture</category>
      <category>ai</category>
      <category>devops</category>
    </item>
    <item>
      <title>When Code Becomes Cheap, Ownership Becomes Everything</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Wed, 21 Oct 2026 03:40:19 +0000</pubDate>
      <link>https://dev.to/krlz/when-code-becomes-cheap-ownership-becomes-everything-4j1m</link>
      <guid>https://dev.to/krlz/when-code-becomes-cheap-ownership-becomes-everything-4j1m</guid>
      <description>&lt;p&gt;&lt;em&gt;Are we witnessing the end of traditional software factories, or the beginning of a more interesting kind of engineering organization?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For decades, many software organizations have relied on a familiar formula: need more features, hire more developers; need faster delivery, add another team; need lower costs, outsource to a lower-cost market.&lt;/p&gt;

&lt;p&gt;That formula built an enormous global industry. But in 2026, AI assistants can generate implementations, tests, documentation, and increasingly complex changes. This raises an uncomfortable question for traditional software factories:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;If writing code becomes cheaper, what exactly are we paying external development providers for?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I don't think outsourcing will disappear. I think the ability to produce code is becoming less distinctive than the ability to &lt;strong&gt;understand, operate, and evolve the product behind it&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The software factory was built around scarcity
&lt;/h2&gt;

&lt;p&gt;The traditional factory emerged from legitimate needs: scarce local engineering talent, temporary specialist requirements, and a desire for flexible delivery capacity. External providers can offer talent, speed, and predictable commercial arrangements.&lt;/p&gt;

&lt;p&gt;But there has always been a tension: &lt;strong&gt;the people producing software aren't necessarily the people who own its consequences&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A project can pass acceptance tests and be delivered on schedule. Six months later, nobody at the customer may remember why an integration is asynchronous, why a database constraint was omitted, or why an unusual validation exists.&lt;/p&gt;

&lt;p&gt;The repository explains &lt;em&gt;what&lt;/em&gt; the system does. It seldom preserves the full history of &lt;em&gt;why&lt;/em&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A company can own every line of source code and still lack the capability to evolve its own product.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is not unique to outsourcing. Internal teams with high turnover or weak documentation can lose knowledge too. But project-based handovers make the problem particularly visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI changes the economics of implementation—not necessarily delivery
&lt;/h2&gt;

&lt;p&gt;In three randomized field experiments involving &lt;strong&gt;4,867 developers&lt;/strong&gt;, researchers estimated &lt;strong&gt;26.08% more completed tasks&lt;/strong&gt; among developers given access to an AI coding assistant (standard error: 10.3 percentage points). The results varied across settings, and the outcome was completed tasks—not lifetime product cost or customer value. The paper appeared online in &lt;em&gt;Management Science&lt;/em&gt; in 2026.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pubsonline.informs.org/doi/abs/10.1287/mnsc.2025.00535" rel="noopener noreferrer"&gt;Source: Cui et al., &lt;em&gt;The Effects of Generative AI on High-Skilled Work&lt;/em&gt;, &lt;em&gt;Management Science&lt;/em&gt; (2026)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Google's &lt;a href="https://dora.dev/research/2025/dora-report/" rel="noopener noreferrer"&gt;2025 DORA research&lt;/a&gt; similarly suggests widespread AI adoption, while emphasizing that AI &lt;strong&gt;amplifies the strengths and weaknesses&lt;/strong&gt; of the surrounding organization.&lt;/p&gt;

&lt;p&gt;But faster code generation is not always faster delivery. In a randomized study of &lt;strong&gt;16 experienced open-source developers working on 246 tasks&lt;/strong&gt;, METR found that access to early-2025 AI tools &lt;strong&gt;increased completion time by 19%&lt;/strong&gt; in the studied setting.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://metr.org/Early_2025_AI_Experienced_OS_Devs_Study-paper.pdf" rel="noopener noreferrer"&gt;Source: METR, &lt;em&gt;Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;METR's &lt;a href="https://metr.org/blog/2026-02-24-uplift-update/" rel="noopener noreferrer"&gt;February 2026 update&lt;/a&gt; discussed newer evidence of potential speedups but also methodological limitations that prevented a reliable estimate.&lt;/p&gt;

&lt;p&gt;These experiments should not be averaged into a single productivity number: they examine different people, tools, tasks, and outcomes. The lesson isn't that AI is always faster or slower. It is that &lt;strong&gt;code production and successful software delivery are different things&lt;/strong&gt;. Review, integration, operational risk, and long-term maintenance still matter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Outsourcing contracts are changing—but causality remains uncertain
&lt;/h2&gt;

&lt;p&gt;According to the &lt;a href="https://ir.isg-one.com/news-market-information/press-releases/news-details/2026/Driven-by-AI-Americas-Tech-Services-Demand-Accelerates-in-Q2-to-New-High-ISG-Index/default.aspx" rel="noopener noreferrer"&gt;ISG Americas Q2 2026 Index&lt;/a&gt;, combined cloud and managed-services contract value rose &lt;strong&gt;39% year over year&lt;/strong&gt;, while traditional IT outsourcing contract value declined &lt;strong&gt;23%&lt;/strong&gt;. Engineering services, including AI integration work, increased &lt;strong&gt;9%&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Technology services spending can grow while some traditional delivery models shrink.&lt;/p&gt;

&lt;p&gt;This is not proof that AI caused the decline. ISG measures particular contract categories and sizes, and a quarter does not establish a permanent trend. But it challenges the assumption that every form of software outsourcing benefits equally from technological growth.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
  What exactly does ISG measure?
  &lt;p&gt;ISG's outsourcing index tracks commercial contracts meeting its reporting thresholds, including annual contract value. Its combined market includes cloud-based as-a-service offerings and managed services. Cloud infrastructure spending is not equivalent to custom software development. A decline in one outsourcing category does not prove that software engineering demand as a whole has declined.&lt;/p&gt;



&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Four regions, different market signals
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🇺🇸 North America: Pressure on transactional delivery
&lt;/h3&gt;

&lt;p&gt;North American companies are major buyers of global software services. The Americas ISG data shows weaker traditional application development and maintenance contracting alongside strong cloud and AI-related demand.&lt;/p&gt;

&lt;p&gt;One plausible explanation is a changing build-versus-buy calculation: if a capable internal team can implement more with AI, outsourcing routine implementation solely for labor capacity may become less compelling.&lt;/p&gt;

&lt;p&gt;But &lt;strong&gt;reducing coding contracts is not reducing the need for engineering accountability&lt;/strong&gt;. Architecture, security, integrations, and production operations still need owners.&lt;/p&gt;

&lt;h3&gt;
  
  
  🇨🇱 South America: Beyond cheaper nearshore developers
&lt;/h3&gt;

&lt;p&gt;Latin America has developed a substantial nearshore engineering ecosystem based on time-zone alignment, technical talent, and competitive costs.&lt;/p&gt;

&lt;p&gt;A &lt;a href="https://publications.iadb.org/en/digital-trade-latin-america-and-caribbean-connecting-markets-powering-growth" rel="noopener noreferrer"&gt;2026 report from the IDB, World Bank, and WTO&lt;/a&gt; found that Latin American and Caribbean exports of digitally delivered services grew from &lt;strong&gt;$18.5 billion in 2005 to $87.7 billion in 2024&lt;/strong&gt;, yet represented only about &lt;strong&gt;2% of the global total&lt;/strong&gt;. These figures cover more than software outsourcing.&lt;/p&gt;

&lt;p&gt;If customers can use AI to increase internal capacity, the strongest regional opportunities may move toward differentiated expertise: financial infrastructure, healthcare interoperability, logistics, cloud modernization, distributed systems, and regulated integrations.&lt;/p&gt;

&lt;p&gt;The opportunity is not merely to provide cheaper programmers. It is to become a more valuable engineering partner.&lt;/p&gt;

&lt;h3&gt;
  
  
  🇪🇺 Europe: Continuity and specialization
&lt;/h3&gt;

&lt;p&gt;The &lt;a href="https://ir.isg-one.com/news-market-information/press-releases/news-details/2026/Europes-Demand-for-Tech-Services-Accelerates-in-Q2-As-Spending-on-AI-and-Managed-Services-Rises-ISG-Index/default.aspx" rel="noopener noreferrer"&gt;ISG EMEA Q2 2026 Index&lt;/a&gt; reported &lt;strong&gt;21% year-over-year growth&lt;/strong&gt; in managed-services contract value, contrasting with the Americas.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ec.europa.eu/eurostat/en/web/products-eurostat-news/w/ddn-20260527-2" rel="noopener noreferrer"&gt;Eurostat&lt;/a&gt; reported &lt;strong&gt;10.45 million ICT specialists&lt;/strong&gt; employed in the EU in 2025.&lt;/p&gt;

&lt;p&gt;Europe's long-lived enterprise systems, regulated environments, and multinational integrations can reward stable providers with deep institutional knowledge. The distinction is not external versus internal: it is &lt;strong&gt;continuous responsibility versus interchangeable project staffing&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  🇮🇳 Asia: Scale is not disappearing
&lt;/h3&gt;

&lt;p&gt;The &lt;a href="https://ir.isg-one.com/news-market-information/press-releases/news-details/2026/Asia-Pacific-Spending-on-Tech-Services-Sharply-Higher-in-Q2-as-AI-Drives-Demand-ISG-Index-Shows/default.aspx" rel="noopener noreferrer"&gt;ISG Asia Pacific Q2 2026 Index&lt;/a&gt; reported &lt;strong&gt;50.5% year-over-year growth&lt;/strong&gt; in combined technology-services contract value, including strong growth in cloud services. Individual categories performed differently.&lt;/p&gt;

&lt;p&gt;India's established outsourcing ecosystem and global capability centers (GCCs) show that globally distributed engineering can remain important. GCCs also illustrate an alternative: permanent engineering organizations abroad, with closer strategic alignment and knowledge continuity than a succession of temporary projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  A production incident reveals the ownership gap
&lt;/h2&gt;

&lt;p&gt;Imagine a logistics platform where an apparently small change adds a field to a shipment event. An AI agent updates the schema, the API, the migration, and the tests in an afternoon. The feature passes acceptance testing.&lt;/p&gt;

&lt;p&gt;Weeks later, an older consumer replays events and interprets missing values incorrectly. A customer-facing report becomes inconsistent. The immediate fix is small; discovering the business meaning of the field, the replay semantics, and the reason the older consumer exists is not.&lt;/p&gt;

&lt;p&gt;This is a hypothetical example, not a measured case study. It illustrates the difference between delivering an implementation and carrying the consequences of a decision across the product lifecycle. The same failure could happen with an internal team: employment status is not a substitute for institutional memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  When AI-generated output becomes a review bottleneck
&lt;/h2&gt;

&lt;p&gt;The cost of producing a plausible change is not the same as the cost of establishing that it is correct. A team can now receive more pull requests, test cases, and proposed fixes than its review and validation process can safely absorb. The bottleneck moves from typing to &lt;strong&gt;verification, prioritization, and integration&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This distinction matters for outsourced delivery, too. A provider may show an impressive increase in completed tickets while the customer's architecture group, security reviewers, or production engineers inherit an expanding queue of unresolved decisions. The appropriate response is not to reject AI-generated work, but to invest in automated checks, clear ownership boundaries, review capacity, and reliable production feedback.&lt;/p&gt;

&lt;p&gt;In economic terms, lowering the price of implementation can &lt;em&gt;increase&lt;/em&gt; demand for the complementary capabilities that make implementation useful. That is a hypothesis about organizational behavior, not a measured prediction that every company will hire more core engineers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a core engineering team?
&lt;/h2&gt;

&lt;p&gt;A core team is not defined simply by who signs its paychecks. It is defined by &lt;strong&gt;who remains accountable after a feature ships&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;That team understands the domain, architectural trade-offs, operational failure modes, product priorities, and consequences of change.&lt;/p&gt;

&lt;p&gt;Consider two delivery arrangements:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Project delivery&lt;/th&gt;
&lt;th&gt;Continuous product ownership&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Receive requirements&lt;/td&gt;
&lt;td&gt;Clarify and challenge requirements&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Implement accepted scope&lt;/td&gt;
&lt;td&gt;Consider effects on the whole system&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pass tests and hand over&lt;/td&gt;
&lt;td&gt;Monitor behavior in production&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Close the engagement&lt;/td&gt;
&lt;td&gt;Remain accountable for evolution&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Neither model guarantees good engineering. But continuous responsibility creates stronger incentives to consider long-term costs.&lt;/p&gt;

&lt;p&gt;A feature that takes two days to generate can still create years of maintenance obligations.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does research say about ownership?
&lt;/h2&gt;

&lt;p&gt;The 2024 study &lt;a href="https://doi.org/10.1007/s10664-024-10538-5" rel="noopener noreferrer"&gt;&lt;em&gt;Examining Ownership Models in Software Teams: A Systematic Literature Review and a Replication Study&lt;/em&gt;&lt;/a&gt; reviewed &lt;strong&gt;79 papers&lt;/strong&gt; and revisited relationships between ownership and software quality. Not all previously reported correlations with defects replicated.&lt;/p&gt;

&lt;p&gt;That matters: &lt;strong&gt;a smaller number of contributors does not automatically mean fewer bugs&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We should distinguish:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Code ownership:&lt;/strong&gt; Who changes particular files or components?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge ownership:&lt;/strong&gt; Who understands the decisions and constraints?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Product ownership:&lt;/strong&gt; Who is accountable for behavior, outcomes, and evolution?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These overlap, but they are not identical. The third is the organizational capability I believe becomes increasingly valuable in the AI era.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI doesn't eliminate engineering responsibility
&lt;/h2&gt;

&lt;p&gt;Imagine asking an AI agent to add a customer field and propagate it across several services. It may update models, APIs, migrations, events, and tests rapidly.&lt;/p&gt;

&lt;p&gt;An engineer familiar with the system still needs to ask: Are old consumers compatible? Is the field sensitive? What happens during replay? Is the migration safe? What happens if downstream processing fails? Does the change contradict an earlier business decision?&lt;/p&gt;

&lt;p&gt;AI can help investigate these questions. But &lt;strong&gt;someone must establish which questions matter, validate the answers, and accept responsibility&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;DORA's central organizational insight is relevant here: stronger testing, internal platforms, feedback loops, and team practices help turn AI assistance into actual delivery value. Fragile organizations may merely generate changes faster than they can safely absorb them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The economics of ownership
&lt;/h2&gt;

&lt;p&gt;AI can reduce the marginal cost of drafting code, but the &lt;strong&gt;total cost of a change&lt;/strong&gt; also includes discovering requirements, reviewing and integrating changes, migration, observability, incident response, and future modifications. Lowering one component does not automatically lower the whole.&lt;/p&gt;

&lt;p&gt;A useful &lt;em&gt;conceptual&lt;/em&gt; model is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Lifecycle cost = implementation + integration + verification
               + operations + rework + knowledge-transfer cost
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is an accounting lens, not a validated empirical formula. It also explains why billing by developer-hours can become a poor proxy for value: the customer cares about sustainable outcomes, while an hourly contract directly prices labor inputs. Outcome-based contracts have their own problems—attribution, scope, and risk allocation—and do not magically solve accountability.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small core team with a large capability surface
&lt;/h2&gt;

&lt;p&gt;The alternative is not necessarily full insourcing.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;              PRODUCT STRATEGY
                     |
              CORE PRODUCT TEAM
                     |
       +-------------+-------------+
       |             |             |
     Domain      Architecture   Operations
    knowledge    &amp;amp; decisions    &amp;amp; reliability
       |             |             |
       +-------------+-------------+
                     |
            CONTINUOUS OWNERSHIP
                     |
       +-------------+-------------+
       |             |             |
   AI agents      External      Specialized
   &amp;amp; tooling      engineers     providers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The core team retains domain knowledge, architectural authority, release decisions, and operational accountability. External specialists provide expertise or capacity. AI assists with implementation, analysis, documentation, and tests.&lt;/p&gt;

&lt;p&gt;This is a proposed operating model, not an empirically established optimal staffing ratio.&lt;/p&gt;

&lt;p&gt;The question shifts from &lt;strong&gt;“How many developers do we need for these tickets?”&lt;/strong&gt; to &lt;strong&gt;“Which capabilities must we retain to own this product, and which can we obtain externally?”&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Outsourcing is not one business model
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Arrangement&lt;/th&gt;
&lt;th&gt;What the customer buys&lt;/th&gt;
&lt;th&gt;Where continuity can live&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Staff augmentation&lt;/td&gt;
&lt;td&gt;Temporary engineering capacity&lt;/td&gt;
&lt;td&gt;Usually in the customer's core team&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fixed-scope project&lt;/td&gt;
&lt;td&gt;A defined deliverable&lt;/td&gt;
&lt;td&gt;At risk during handover unless deliberately transferred&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Managed service&lt;/td&gt;
&lt;td&gt;Ongoing service performance&lt;/td&gt;
&lt;td&gt;With the provider, if incentives and access support it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dedicated external product team&lt;/td&gt;
&lt;td&gt;Long-lived product capability&lt;/td&gt;
&lt;td&gt;Across customer and provider, with shared governance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Global capability center&lt;/td&gt;
&lt;td&gt;An enduring distributed organizational capability&lt;/td&gt;
&lt;td&gt;Within the company's own operating model&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are ideal types, not mutually exclusive categories. The useful dividing line is &lt;strong&gt;who has decision rights, production visibility, and a duty to preserve knowledge after delivery&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The strongest counterargument: outsourcing can improve ownership
&lt;/h2&gt;

&lt;p&gt;There is a serious objection to the thesis: a specialist provider with a stable team, strong operational discipline, and experience across many customers may preserve knowledge &lt;strong&gt;better&lt;/strong&gt; than an internal team that rotates engineers, underinvests in documentation, or reorganizes every year. Some firms also cannot economically retain every specialist needed for security, accessibility, data platforms, or regulatory compliance.&lt;/p&gt;

&lt;p&gt;That is why the argument should not be reduced to &lt;em&gt;insource everything&lt;/em&gt;. The defensible principle is to retain &lt;strong&gt;the ability to make informed decisions and hold partners accountable&lt;/strong&gt;, while allowing responsibility for execution—and sometimes operations—to be shared contractually with enduring external teams. Continuity, access, incentives, and decision rights matter more than payroll classification.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three futures for the software factory
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Commodity factories face pressure
&lt;/h3&gt;

&lt;p&gt;Providers competing mainly on available developers and hourly rates may find it harder to differentiate when customers and competitors share powerful AI tools.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Specialized providers become more valuable
&lt;/h3&gt;

&lt;p&gt;Domain expertise, complex integrations, security, regulated systems, and modernization may remain defensible areas of external engineering value. These providers sell judgment and outcomes, not just hours.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. External teams become genuine product teams
&lt;/h3&gt;

&lt;p&gt;A long-term external team can have stable membership, operate production, participate in architecture, and retain institutional knowledge. &lt;strong&gt;External employment is not incompatible with ownership.&lt;/strong&gt; The key is whether responsibility survives delivery milestones.&lt;/p&gt;

&lt;h2&gt;
  
  
  Measure ownership, not output volume
&lt;/h2&gt;

&lt;p&gt;Counting developers, tickets, story points, or generated lines of code cannot establish whether a product is becoming more sustainable.&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;Better measure&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Delivery&lt;/td&gt;
&lt;td&gt;Lead time from validated need to production&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reliability&lt;/td&gt;
&lt;td&gt;Change failure rate and recovery time&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maintainability&lt;/td&gt;
&lt;td&gt;Cost and risk of subsequent changes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Knowledge continuity&lt;/td&gt;
&lt;td&gt;Time for a new engineer to make a safe change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Product impact&lt;/td&gt;
&lt;td&gt;Adoption, retention, revenue, or operational outcomes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor dependence&lt;/td&gt;
&lt;td&gt;Ability to operate and change without a particular supplier&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Economics&lt;/td&gt;
&lt;td&gt;Total lifecycle cost, including rework and incidents&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I'd like to see longitudinal studies comparing AI-enabled permanent product teams with outsourced project teams, controlling for product maturity, complexity, and engineering practices. The existing evidence does not yet justify a universal claim that one model wins.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical test for product ownership
&lt;/h2&gt;

&lt;p&gt;Before expanding or replacing an engineering provider, ask: Can we explain our most consequential architectural decisions? Can we deploy, roll back, and recover without one particular contractor? Who decides whether a requested feature is safe for existing customers? Who investigates incidents six months after handover? How quickly can a new engineer make a safe change?&lt;/p&gt;

&lt;p&gt;If the answers are unclear, the risk is not simply vendor lock-in. It is &lt;strong&gt;capability lock-out&lt;/strong&gt;: possessing the repository without possessing the knowledge, access, and judgment needed to evolve it.&lt;/p&gt;

&lt;p&gt;A useful practical exercise is to run a &lt;strong&gt;supplier-absence drill&lt;/strong&gt;: choose a low-risk production change and ask the retained team to trace the requirement, identify affected consumers, ship behind a rollback plan, and explain how they would investigate an incident. The goal is not to prove that the vendor is dispensable. It is to discover which capabilities depend on undocumented relationships before a crisis exposes them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The question we should be asking in 2026
&lt;/h2&gt;

&lt;p&gt;For years, software organizations were designed around the scarcity of people who could write code. AI changes that constraint without removing the need for engineering expertise.&lt;/p&gt;

&lt;p&gt;As implementation becomes more accessible, domain understanding, architectural judgment, operational reliability, and accountability may become even more valuable.&lt;/p&gt;

&lt;p&gt;That doesn't mean every company should build everything internally. It means companies should avoid accidentally outsourcing the knowledge and decision-making capabilities required to sustain their products.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The question is no longer just who can build the software. It's who will understand it, maintain it, and take responsibility for what happens next.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Perhaps that's what AI is really forcing us to reconsider: not the value of developers, but the value of ownership.&lt;/p&gt;




&lt;h2&gt;
  
  
  Reading the evidence carefully
&lt;/h2&gt;

&lt;p&gt;The productivity studies above are experiments about development tasks; DORA describes associations and organizational practices; ISG measures qualifying commercial contracts; and regional trade statistics include services other than software. None directly estimates the causal effect of AI on outsourcing employment, nor proves that internally employed teams outperform enduring external teams. The regional interpretations and future scenarios are arguments to test, not observed outcomes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources and further reading
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://pubsonline.informs.org/doi/abs/10.1287/mnsc.2025.00535" rel="noopener noreferrer"&gt;Cui et al. (2026), &lt;em&gt;The Effects of Generative AI on High-Skilled Work&lt;/em&gt;, &lt;em&gt;Management Science&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://metr.org/Early_2025_AI_Experienced_OS_Devs_Study-paper.pdf" rel="noopener noreferrer"&gt;METR (2025), &lt;em&gt;Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://metr.org/blog/2026-02-24-uplift-update/" rel="noopener noreferrer"&gt;METR (2026), Developer Productivity Experiment Update&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dora.dev/research/2025/dora-report/" rel="noopener noreferrer"&gt;Google DORA (2025), &lt;em&gt;State of AI-assisted Software Development&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://doi.org/10.1007/s10664-024-10538-5" rel="noopener noreferrer"&gt;Koana et al. (2024), &lt;em&gt;Examining Ownership Models in Software Teams&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://link.springer.com/chapter/10.1007/978-3-031-94544-1_5" rel="noopener noreferrer"&gt;&lt;em&gt;A Mosaic of Perspectives: Understanding Ownership in Software Engineering&lt;/em&gt; (2025)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ir.isg-one.com/news-market-information/press-releases/news-details/2026/Driven-by-AI-Americas-Tech-Services-Demand-Accelerates-in-Q2-to-New-High-ISG-Index/default.aspx" rel="noopener noreferrer"&gt;ISG (2026), Americas Q2 Technology Services Index&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ir.isg-one.com/news-market-information/press-releases/news-details/2026/Europes-Demand-for-Tech-Services-Accelerates-in-Q2-As-Spending-on-AI-and-Managed-Services-Rises-ISG-Index/default.aspx" rel="noopener noreferrer"&gt;ISG (2026), EMEA Q2 Technology Services Index&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ir.isg-one.com/news-market-information/press-releases/news-details/2026/Asia-Pacific-Spending-on-Tech-Services-Sharply-Higher-in-Q2-as-AI-Drives-Demand-ISG-Index-Shows/default.aspx" rel="noopener noreferrer"&gt;ISG (2026), Asia Pacific Q2 Technology Services Index&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://publications.iadb.org/en/digital-trade-latin-america-and-caribbean-connecting-markets-powering-growth" rel="noopener noreferrer"&gt;IDB, World Bank &amp;amp; WTO (2026), &lt;em&gt;Digital Trade in Latin America and the Caribbean&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ec.europa.eu/eurostat/en/web/products-eurostat-news/w/ddn-20260527-2" rel="noopener noreferrer"&gt;Eurostat (2026), ICT Specialists in the EU&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;This article presents an interpretation of multiple studies and market reports, not a causal demonstration that AI is replacing outsourcing. The underlying sources measure different populations and outcomes.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What do you think?&lt;/strong&gt; If your main development provider disappeared tomorrow, could your team still deploy, debug, and evolve the product?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>softwareengineering</category>
      <category>architecture</category>
      <category>productivity</category>
    </item>
    <item>
      <title>UML Got a Bad Reputation. I Still Built a Tool for It.</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Fri, 16 Oct 2026 18:31:24 +0000</pubDate>
      <link>https://dev.to/krlz/uml-got-a-bad-reputation-i-still-built-a-tool-for-it-19ga</link>
      <guid>https://dev.to/krlz/uml-got-a-bad-reputation-i-still-built-a-tool-for-it-19ga</guid>
      <description>&lt;p&gt;Sometimes I need to see a problem before I can explain it.&lt;/p&gt;

&lt;p&gt;Who calls this service? What happens if the request fails? Is this actually one feature, or three separate problems hiding under the same name?&lt;/p&gt;

&lt;p&gt;A few boxes and arrows can make those questions easier to answer. So can a mind map that starts messy and gradually becomes a plan.&lt;/p&gt;

&lt;p&gt;That's why I still like UML—and why I rebuilt &lt;strong&gt;Codiva PlantUML&lt;/strong&gt;, my browser-based editor for text-based diagrams.&lt;/p&gt;

&lt;p&gt;Yes, UML. The thing you may remember from university assignments, enormous class diagrams, and arguments about which arrowhead to use.&lt;/p&gt;

&lt;p&gt;I think there's still a lot to like once you bring it back to everyday development.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://portafolio.codiva.cl/codiva-plantuml/" class="crayons-btn crayons-btn--primary" rel="noopener noreferrer"&gt;Open Codiva PlantUML&lt;/a&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  A little history: why all those boxes existed
&lt;/h2&gt;

&lt;p&gt;Before UML, there were several competing approaches to modeling object-oriented systems. Grady Booch, James Rumbaugh, and Ivar Jacobson brought their methods together, helping create the &lt;strong&gt;Unified Modeling Language&lt;/strong&gt;. It became an OMG standard in 1997.&lt;/p&gt;

&lt;p&gt;The idea was useful: give people a shared visual vocabulary for describing software. A relationship or interaction shouldn't need an entirely new notation every time you change teams.&lt;/p&gt;

&lt;p&gt;Then came the baggage many developers associate with it: elaborate modeling tools, diagrams produced as deliverables, and designs that took longer to maintain than the code they described.&lt;/p&gt;

&lt;p&gt;If your introduction to UML involved modeling every getter and setter before writing a working program, I understand the lack of enthusiasm.&lt;/p&gt;

&lt;p&gt;But I still find value in the smaller habit underneath it: &lt;strong&gt;put a model of the problem somewhere you can inspect it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A sequence diagram can reveal a round trip nobody noticed. A state diagram can expose a transition nobody defined. Even an unfinished sketch can show that two people have been imagining different systems throughout the same meeting.&lt;/p&gt;

&lt;p&gt;Those are useful discoveries before implementation.&lt;/p&gt;

&lt;h2&gt;
  
  
  A diagram can help you think before it helps you document
&lt;/h2&gt;

&lt;p&gt;We often talk about diagrams as something you make after understanding a system, so someone else can understand it too.&lt;/p&gt;

&lt;p&gt;I like the earlier stage just as much: making a diagram &lt;em&gt;to find out what I understand&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Say you're planning an asynchronous report feature. In prose, it sounds simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The user requests a report, a worker generates it, and we notify them when it's ready.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Start drawing it, and the questions appear:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Who owns the report's status?&lt;/li&gt;
&lt;li&gt;What happens when the worker retries?&lt;/li&gt;
&lt;li&gt;Can the user request the same report twice?&lt;/li&gt;
&lt;li&gt;What does “ready” mean if notification fails?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The picture gives those questions somewhere to live. You can change the model while the change is still cheap.&lt;/p&gt;

&lt;p&gt;The diagram doesn't have to represent the entire system. Often the most useful one answers a single question.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mind maps are a great place to start
&lt;/h2&gt;

&lt;p&gt;Before I know the sequence of events, I may only know the pieces of the problem.&lt;/p&gt;

&lt;p&gt;That's where mind maps help: take a vague feature, give it a few branches, and keep splitting until the unknowns become visible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PlantUML supports mind maps too.&lt;/strong&gt; They aren't part of the UML standard; PlantUML extends beyond UML into other useful diagram types.&lt;/p&gt;

&lt;p&gt;Here's a small example you can paste into the editor:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@startmindmap
* Asynchronous reports
** User experience
*** Request a report
*** Check progress
*** Download the result
** Processing
*** Queue the job
*** Generate the file
*** Retry failures
** Questions
*** Duplicate requests?
*** File expiration?
*** Notification failure?
@endmindmap
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The asterisks define the hierarchy. Add another level when an idea needs breaking down; move a branch when you realize it belongs elsewhere.&lt;/p&gt;

&lt;p&gt;I find this useful for feature planning, exploring an unfamiliar domain, or organizing the questions I want to take into a technical discussion.&lt;/p&gt;

&lt;p&gt;An outline works too. Seeing its branches together can make gaps and uneven complexity easier to notice.&lt;/p&gt;

&lt;p&gt;Then, when one branch needs a closer look, you can turn it into a more specific diagram.&lt;/p&gt;

&lt;h2&gt;
  
  
  A few UML diagrams still earn their place
&lt;/h2&gt;

&lt;p&gt;You don't need to learn the whole notation to get something useful from it.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;When I want to understand…&lt;/th&gt;
&lt;th&gt;I reach for…&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Who talks to whom, and in what order&lt;/td&gt;
&lt;td&gt;A sequence diagram&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Which states exist and what changes them&lt;/td&gt;
&lt;td&gt;A state diagram&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How a workflow branches&lt;/td&gt;
&lt;td&gt;An activity diagram&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How domain concepts relate&lt;/td&gt;
&lt;td&gt;A class diagram&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How the system's parts connect&lt;/td&gt;
&lt;td&gt;A component diagram&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A class diagram, for example, can show the relationships between an order, its items, and a payment without listing every method in the codebase.&lt;/p&gt;

&lt;p&gt;A sequence diagram can make the difference between “request accepted” and “work completed” explicit:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@startuml
actor User
participant API
queue Jobs
participant Worker

User -&amp;gt; API: Request report
API -&amp;gt; Jobs: Enqueue job
API --&amp;gt; User: Accepted + report ID
Jobs -&amp;gt; Worker: Deliver job
Worker -&amp;gt; Worker: Generate report

alt generation succeeds
  Worker -&amp;gt; API: Mark report ready
else generation fails
  Worker -&amp;gt; API: Record failure
end
@enduml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This sketch also leaves things unresolved. How does the user learn that the report is ready? What happens after a failure?&lt;/p&gt;

&lt;p&gt;That's a useful next conversation. The diagram has already helped identify it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I like writing diagrams as text
&lt;/h2&gt;

&lt;p&gt;Visual editors are great for sketching freely. With PlantUML, I like being able to describe the relationships and let the renderer handle their arrangement.&lt;/p&gt;

&lt;p&gt;That gives me a few practical advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reviewable changes.&lt;/strong&gt; A pull request can show a new participant, message, or state transition.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source beside the code.&lt;/strong&gt; A &lt;code&gt;.puml&lt;/code&gt; file can follow the same branches and review process as the feature it explains.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Easy reuse.&lt;/strong&gt; Copy a flow, adjust a few lines, and explore an alternative.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Less time arranging boxes.&lt;/strong&gt; I can focus on the interaction before worrying about presentation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are trade-offs. Automatic layout won't always look the way you want, and a large diagram can become difficult to read regardless of how you generate it. Text also doesn't keep documentation accurate by itself; someone still has to maintain it.&lt;/p&gt;

&lt;p&gt;For me, the sweet spot is a small, editable diagram with a clear purpose.&lt;/p&gt;

&lt;p&gt;If you already use Mermaid and it fits your workflow, great. I see the habit of keeping useful diagrams as text as the bigger win. PlantUML happens to be the tool I wanted to build around.&lt;/p&gt;

&lt;h2&gt;
  
  
  Meet Codiva PlantUML
&lt;/h2&gt;

&lt;p&gt;I had an older editor built with CodeMirror 5, Bootstrap, and CDN dependencies. It rendered through the public PlantUML server and had been sitting there for a while.&lt;/p&gt;

&lt;p&gt;I rebuilt it with &lt;strong&gt;Astro, React islands, CodeMirror 6, and my own containerized PlantUML engine&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The goal was a convenient place to open an example, work through an idea, and export a diagram without setting up a local environment.&lt;/p&gt;

&lt;p&gt;The editor includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Syntax highlighting and autocomplete for participants you've declared.&lt;/li&gt;
&lt;li&gt;Syntax diagnostics with line highlighting.&lt;/li&gt;
&lt;li&gt;Formatting from the context menu.&lt;/li&gt;
&lt;li&gt;Dark mode.&lt;/li&gt;
&lt;li&gt;SVG and PNG export.&lt;/li&gt;
&lt;li&gt;Six examples to start from.&lt;/li&gt;
&lt;li&gt;No account required.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Rendering happens on my backend, so diagram source is sent to that server when you use the hosted editor.&lt;/p&gt;

&lt;p&gt;It's free to use. There's an optional coffee link in the footer to help with the server bill.&lt;/p&gt;

&lt;h2&gt;
  
  
  A couple of things I learned rebuilding it
&lt;/h2&gt;

&lt;p&gt;Running the engine myself gave me more control over responsiveness and diagnostics. It also gave me a few bugs worth remembering.&lt;/p&gt;

&lt;h3&gt;
  
  
  Keep the JVM warm
&lt;/h3&gt;

&lt;p&gt;Launching a new JVM for each render took around &lt;strong&gt;1,115 ms&lt;/strong&gt; in my setup. Keeping PlantUML running brought the warm local engine measurement down to around &lt;strong&gt;14 ms&lt;/strong&gt;, averaged over 10 requests.&lt;/p&gt;

&lt;p&gt;Over HTTPS, I observed roughly &lt;strong&gt;180 ms&lt;/strong&gt;, compared with around &lt;strong&gt;560 ms&lt;/strong&gt; for the public endpoint in my comparison. Those are observations from my deployment, rather than a general benchmark; network location, diagram complexity, and server load all matter.&lt;/p&gt;

&lt;p&gt;PlantUML's built-in &lt;a href="https://plantuml.com/picoweb" rel="noopener noreferrer"&gt;PicoWeb server&lt;/a&gt; provides a simple way to keep the engine running:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;java -jar plantuml.jar -picoweb:8777
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  A successful response can contain an unsuccessful diagram
&lt;/h3&gt;

&lt;p&gt;My sequence-diagram test passed. A class diagram then failed because the container was missing Graphviz.&lt;/p&gt;

&lt;p&gt;The surprising part: the response was &lt;strong&gt;HTTP 200 with a valid SVG containing the error message&lt;/strong&gt;. My status-code check was happy. The person trying to render the diagram wasn't.&lt;/p&gt;

&lt;p&gt;I used &lt;strong&gt;Smetana&lt;/strong&gt;, PlantUML's Java port of Graphviz, to handle layout in my setup. The editor also needed useful diagnostics rather than leaving users to read an error drawn inside an image.&lt;/p&gt;

&lt;p&gt;That's the improvement I care about most: if you make a syntax mistake while thinking through a flow, the editor should help you get back to the flow.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
  Implementation detail: selecting Smetana and mapping error lines
  &lt;p&gt;PlantUML supports selecting Smetana in diagram source:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;!pragma layout smetana
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Its documentation also lists the CLI option &lt;code&gt;-Playout=smetana&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;In my server integration, the proxy injects the pragma into the rendering copy, leaving the editor contents and exported source as written. That added line means diagnostic positions need mapping back to the original source.&lt;/p&gt;

&lt;p&gt;My application layer uses PlantUML diagnostics to return a 422 response with a line number for syntax errors. That response contract is part of the editor's backend; starting PicoWeb alone doesn't provide it.&lt;/p&gt;



&lt;br&gt;
&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Give one of your ideas a diagram
&lt;/h2&gt;

&lt;p&gt;If you've been carrying a feature around in your head, try putting its main branches into a mind map. If a flow keeps getting lost in paragraphs, try a sequence diagram.&lt;/p&gt;

&lt;p&gt;That's the kind of everyday use I built this editor for.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://portafolio.codiva.cl/codiva-plantuml/" class="crayons-btn crayons-btn--primary" rel="noopener noreferrer"&gt;Try Codiva PlantUML — no account needed&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;I'd love feedback on the editor, especially anything that gets in the way of turning an idea into a readable diagram.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do you still use UML—or did diagrams find their way back into your workflow through mind maps, Mermaid, or something else?&lt;/strong&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  References and further reading
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.omg.org/uml/why-uml-is-important.htm" rel="noopener noreferrer"&gt;OMG: UML's origins and purpose&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://plantuml.com/mindmap-diagram" rel="noopener noreferrer"&gt;PlantUML: mind map syntax&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://plantuml.com/layout-engines" rel="noopener noreferrer"&gt;PlantUML: layout engines&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://plantuml.com/picoweb" rel="noopener noreferrer"&gt;PlantUML: PicoWeb server&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>showdev</category>
      <category>architecture</category>
      <category>productivity</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I Built a Message Bus for AI Agents. Do I Actually Need a Framework?</title>
      <dc:creator>Krlz</dc:creator>
      <pubDate>Tue, 06 Oct 2026 04:53:05 +0000</pubDate>
      <link>https://dev.to/krlz/i-built-a-message-bus-for-ai-agents-do-i-actually-need-a-framework-2p0m</link>
      <guid>https://dev.to/krlz/i-built-a-message-bus-for-ai-agents-do-i-actually-need-a-framework-2p0m</guid>
      <description>&lt;p&gt;I have been using a simple data bus to let agents working on projects communicate.&lt;/p&gt;

&lt;p&gt;It does the obvious things: an agent sends a message, another receives it, and work continues. But with new agent frameworks appearing constantly, I started wondering whether this approach was already outdated.&lt;/p&gt;

&lt;p&gt;That question led to a more useful one:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does my system need beyond delivering messages?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine two agents collaborating on a feature. One implements it. Another reviews it. Then the implementation agent restarts, a message gets delivered twice, and the reviewer approves changes against an old commit.&lt;/p&gt;

&lt;p&gt;The agents can still communicate. The project is now in trouble.&lt;/p&gt;

&lt;p&gt;This is where the framework discussion becomes interesting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four layers that are easy to mix up
&lt;/h2&gt;

&lt;p&gt;Before picking a framework, separate the responsibilities:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Examples&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Transport&lt;/td&gt;
&lt;td&gt;How does a message reach a worker?&lt;/td&gt;
&lt;td&gt;Your service, a queue, HTTP, a message broker&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Agent interoperability&lt;/td&gt;
&lt;td&gt;How does an independent agent discover and request work from another?&lt;/td&gt;
&lt;td&gt;A2A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Orchestration&lt;/td&gt;
&lt;td&gt;Who acts next, and what happens after failure?&lt;/td&gt;
&lt;td&gt;LangGraph, application code, workflow engines&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tools and context&lt;/td&gt;
&lt;td&gt;How does an agent access external capabilities and data?&lt;/td&gt;
&lt;td&gt;MCP, ordinary APIs, tool functions&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A bus can deliver a task without understanding its lifecycle. A protocol can describe a task without deciding your project's dependencies. An orchestrator can coordinate workers while using your existing bus underneath.&lt;/p&gt;

&lt;p&gt;These layers can coexist.&lt;/p&gt;


&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
&lt;strong&gt;A useful starting point:&lt;/strong&gt; keep message delivery, task ownership, and execution state explicit. Choose frameworks according to the responsibility you want them to own.&lt;br&gt;

&lt;/div&gt;


&lt;h2&gt;
  
  
  MCP and A2A: where each fits
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://a2a-protocol.org/latest/" rel="noopener noreferrer"&gt;MCP and A2A have complementary roles&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;MCP equips an agent with tools and context: query a database, inspect a repository, or call a service.&lt;/p&gt;

&lt;p&gt;A2A provides a contract for communicating with independent agents: discover capabilities, exchange messages, follow tasks, and retrieve outputs.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A developer uses an MCP tool to inspect an issue.&lt;/li&gt;
&lt;li&gt;It delegates an investigation to a remote specialist through A2A.&lt;/li&gt;
&lt;li&gt;Your coordinator records the task and waits for the result.&lt;/li&gt;
&lt;li&gt;A queue buffers execution while the specialist is unavailable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also expose an agent as an MCP tool. That can be perfectly adequate for a bounded request. A2A becomes more relevant when you want the independent agent's task lifecycle and capabilities represented through a common protocol.&lt;/p&gt;

&lt;p&gt;Neither protocol automatically settles who may merge code, retry a deployment, or approve a project milestone. Those are application decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is actually new in 2026?
&lt;/h2&gt;

&lt;p&gt;There are concrete developments worth watching, beyond another framework launch.&lt;/p&gt;

&lt;h3&gt;
  
  
  A2A now has a stable baseline and a CLI
&lt;/h3&gt;

&lt;p&gt;The A2A project &lt;a href="https://a2a-protocol.org/dev/blog/2026/03/12/a2a-protocol-ships-v10-production-ready-standard-for-agent-to-agent-communication/" rel="noopener noreferrer"&gt;announced its first stable v1.0 specification in March 2026&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;On October 1, it &lt;a href="https://a2a-protocol.org/latest/blog/2026/10/01/introducing-a2a-cli/" rel="noopener noreferrer"&gt;introduced an official command-line client&lt;/a&gt;. That is useful for scripts, CI jobs, and coding assistants that can run commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Read an agent's capabilities.&lt;/span&gt;
a2a card get https://agent.example.com

&lt;span class="c"&gt;# Submit a request and receive updates.&lt;/span&gt;
a2a send -a https://agent.example.com --stream \
  &lt;span class="s2"&gt;"Review the task contract and identify missing acceptance criteria."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;The URL above is illustrative; these commands require an installed CLI and a reachable A2A server, with authentication configured where required. I have not executed them against a live agent for this article.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/a2aproject" rel="noopener noreferrer"&gt;
        a2aproject
      &lt;/a&gt; / &lt;a href="https://github.com/a2aproject/a2a-cli" rel="noopener noreferrer"&gt;
        a2a-cli
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      The official command-line interface for interacting with A2A (Agent2Agent) compatible agents.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;A2A CLI&lt;/h1&gt;
&lt;/div&gt;

&lt;div width="800"&gt;
   &lt;a rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/a2aproject/A2A/refs/heads/main/docs/assets/a2a_logo/color/SVG/a2a_color.svg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fa2aproject%2FA2A%2Frefs%2Fheads%2Fmain%2Fdocs%2Fassets%2Fa2a_logo%2Fcolor%2FSVG%2Fa2a_color.svg" width="600" alt="Agent2Agent Protocol Logo"&gt;&lt;/a&gt;
   &lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;
       Discover, message, and manage A2A agents from your terminal
   &lt;/h3&gt;
&lt;/div&gt;


&lt;/div&gt;

&lt;p&gt;
  &lt;a href="https://github.com/a2aproject/a2a-cli/releases/latest" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/6be19301855691016928eb801f37743b8b0a2a44c4a4cb8e2116141a43e4d8ff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f61326170726f6a6563742f6132612d636c693f736f72743d73656d766572" alt="Latest release"&gt;&lt;/a&gt;
  &lt;a href="https://github.com/a2aproject/a2a-cli/./LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/e90a57929ad12613a78004f6e4579ef4db625b1ac6af801a8458d92eb3993844/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f61326170726f6a6563742f6132612d636c69" alt="License: Apache-2.0"&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;A2A CLI&lt;/strong&gt; (&lt;code&gt;a2a&lt;/code&gt;) is the official command-line client for &lt;a href="https://a2a-protocol.org/latest/" rel="nofollow noopener noreferrer"&gt;A2A (Agent2Agent) agents&lt;/a&gt;, maintained by the &lt;strong&gt;A2A Project Team&lt;/strong&gt;.&lt;/p&gt;

&lt;div&gt;
  &lt;a rel="noopener noreferrer" href="https://github.com/a2aproject/a2a-cli/./docs/demo/a2a-demo.gif"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fa2aproject%2Fa2a-cli%2FHEAD%2F.%2Fdocs%2Fdemo%2Fa2a-demo.gif" alt="a2a CLI demo: build a server from a script, then discover and message it" width="720"&gt;&lt;/a&gt;
&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Why the A2A CLI&lt;/h2&gt;

&lt;/div&gt;

&lt;p&gt;A2A is a bidirectional protocol: any A2A agent can act as a client to another and hand off a task. But an agent without an A2A layer can't easily send messages or receive updates. The A2A CLI fills that gap.&lt;/p&gt;

&lt;p&gt;With it, you — or any model, agent, or coding harness that can call tools — can discover A2A agent's capabilities and send it work.&lt;/p&gt;

&lt;p&gt;Three ways to get started:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Empower AI coding assistants&lt;/strong&gt; — give your coding agent the &lt;code&gt;a2a&lt;/code&gt; tool to offload work to remote A2A agents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interact instantly&lt;/strong&gt; — fetch agent cards, send messages, and stream real-time updates from the terminal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automate workflows&lt;/strong&gt; — seamlessly integrate A2A agents with…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/a2aproject/a2a-cli" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;h3&gt;
  
  
  Durable execution is a prominent framework capability
&lt;/h3&gt;

&lt;p&gt;LangGraph documents &lt;a href="https://docs.langchain.com/oss/python/langgraph/persistence" rel="noopener noreferrer"&gt;persistent state and checkpoints&lt;/a&gt;. Microsoft Agent Framework documents &lt;a href="https://learn.microsoft.com/en-us/agent-framework/workflows/" rel="noopener noreferrer"&gt;checkpoints and resuming&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;My reading of these capabilities: framework selection increasingly deserves a recovery test alongside the usual delegation demo.&lt;/p&gt;

&lt;p&gt;Can the run continue after interruption? Which operations will replay? What state survives? What must your tools make idempotent?&lt;/p&gt;

&lt;p&gt;Persistent conversation history helps, but it is only one part of recovering work.&lt;/p&gt;
&lt;h3&gt;
  
  
  AutoGen advice needs a date attached
&lt;/h3&gt;

&lt;p&gt;The &lt;a href="https://github.com/microsoft/autogen" rel="noopener noreferrer"&gt;AutoGen repository&lt;/a&gt; now identifies the project as being in maintenance mode and directs new projects toward Microsoft Agent Framework.&lt;/p&gt;

&lt;p&gt;Existing AutoGen applications may still be useful. For a new build, I would evaluate the successor before following an older tutorial.&lt;/p&gt;
&lt;h2&gt;
  
  
  Which framework would I choose?
&lt;/h2&gt;

&lt;p&gt;This is a practical shortlist, not a market-share ranking. The fit assessments are my engineering judgment; the links describe the underlying capabilities.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;Documented approach&lt;/th&gt;
&lt;th&gt;Where I would evaluate it first&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://reference.langchain.com/python/langgraph/overview" rel="noopener noreferrer"&gt;LangGraph&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Stateful graphs, subgraphs, checkpoint storage, multi-agent patterns&lt;/td&gt;
&lt;td&gt;Explicit project workflows with recovery requirements&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://ai.pydantic.dev/multi-agent-applications/" rel="noopener noreferrer"&gt;Pydantic AI&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Tool-based delegation, programmatic handoffs, typed graph control flow&lt;/td&gt;
&lt;td&gt;Python services with validated task inputs and results&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://learn.microsoft.com/en-us/agent-framework/workflows/orchestrations/" rel="noopener noreferrer"&gt;Microsoft Agent Framework&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Sequential, concurrent, handoff, group chat, manager-led orchestration&lt;/td&gt;
&lt;td&gt;Applications needing several coordination patterns&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.crewai.com/core-concepts/Agents" rel="noopener noreferrer"&gt;CrewAI&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Collaborative Crews and event-driven Flows&lt;/td&gt;
&lt;td&gt;Prototyping teams with distinct responsibilities&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.agno.com/teams/overview" rel="noopener noreferrer"&gt;Agno&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Coordinate, route, broadcast, and task-based team modes&lt;/td&gt;
&lt;td&gt;Specialist teams with a coordinating leader&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://mastra.ai/ai-agent-framework" rel="noopener noreferrer"&gt;Mastra&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;TypeScript agents and workflows with suspend/resume&lt;/td&gt;
&lt;td&gt;Agent functionality embedded in TypeScript applications&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For my bus-based setup, LangGraph and Pydantic AI are particularly interesting.&lt;/p&gt;

&lt;p&gt;LangGraph gives me a place to express transitions: assign work, await implementation, validate results, request review, and finish or retry.&lt;/p&gt;

&lt;p&gt;Pydantic AI is attractive when I want ordinary Python functions and validated contracts to remain central. Its documentation distinguishes delegation from handing control to another agent, which is a distinction worth preserving in your own design.&lt;/p&gt;

&lt;p&gt;CrewAI and Agno make it easier to express a team. I would still test whether their execution model fits long-running work, independent processes, and project ownership before adopting them.&lt;/p&gt;
&lt;h2&gt;
  
  
  Ready-to-run agents are another category
&lt;/h2&gt;

&lt;p&gt;An agent framework is something you build with. An agent runtime is something you can run as a worker.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/NousResearch/hermes-agent/blob/main/plugins/platforms/a2a/README.md" rel="noopener noreferrer"&gt;Hermes's current repository includes an A2A integration&lt;/a&gt;, with peer discovery, calls, and capability-based orchestration. Availability depends on your installed version; documentation on &lt;code&gt;main&lt;/code&gt; is not a guarantee about an older release.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://opencode.ai/docs/agents/" rel="noopener noreferrer"&gt;OpenCode supports primary agents and specialized subagents&lt;/a&gt;, with configurable prompts, models, and permissions. That makes it a candidate coding worker. Its local delegation features alone do not give your distributed system task ownership or recovery.&lt;/p&gt;

&lt;p&gt;Connecting existing workers may be a smaller change than rebuilding them inside a single framework.&lt;/p&gt;
&lt;h2&gt;
  
  
  Give agents a task contract
&lt;/h2&gt;

&lt;p&gt;The first improvement I would make to a simple bus is to replace ambiguous requests with structured assignments.&lt;/p&gt;

&lt;p&gt;Instead of:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Help with the backend.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Send a bounded task with enough information to produce a verifiable result.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;
  Example application task envelope
  &lt;br&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"schema_version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"message_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"msg-1042"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"task_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"task-87"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"project_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"project-alpha"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"event_type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"task.requested"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"target_capability"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"backend.implementation"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"idempotency_key"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"task-87-attempt-1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"deadline"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-10-07T18:00:00Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"input"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"repository"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"project-alpha"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"base_commit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"abc1234"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"goal"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Add pagination to the orders endpoint"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"acceptance_criteria"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="s2"&gt;"Preserve the existing authorization checks"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="s2"&gt;"Return a stable cursor for subsequent pages"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="s2"&gt;"Include integration tests for empty and full pages"&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"expected_output"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"branch"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"string"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"commit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"string"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"test_report"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"artifact reference"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This is an illustrative application schema, &lt;strong&gt;not an A2A wire-format example&lt;/strong&gt;. Validate it at your boundary and map it to the protocol or framework you use.&lt;/p&gt;



&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Adding an idempotency field does not itself prevent duplicate side effects. Your storage and execution logic have to enforce the behavior.&lt;/p&gt;

&lt;p&gt;Likewise, include acceptance criteria because the worker needs a target it can check. A fluent explanation of completed work is weaker evidence than a commit and test report.&lt;/p&gt;
&lt;h2&gt;
  
  
  Design for the moment a worker disappears
&lt;/h2&gt;

&lt;p&gt;For project agents, I would use a durable task record with states such as:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;State&lt;/th&gt;
&lt;th&gt;Meaning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Queued&lt;/td&gt;
&lt;td&gt;Available for a worker to claim&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Running&lt;/td&gt;
&lt;td&gt;Claimed under a lease, with progress recorded&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Awaiting review&lt;/td&gt;
&lt;td&gt;Output exists and requires validation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Completed&lt;/td&gt;
&lt;td&gt;Required checks have accepted the output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Failed&lt;/td&gt;
&lt;td&gt;The attempt ended unsuccessfully&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cancelled&lt;/td&gt;
&lt;td&gt;Further execution is no longer requested&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are application states, not prescribed protocol states.&lt;/p&gt;

&lt;p&gt;A worker should claim a task atomically. While working, it renews its lease. If the lease expires, the coordinator decides whether to retry, reconcile partial results, or request intervention.&lt;/p&gt;

&lt;p&gt;For external side effects, lease ownership alone may be insufficient. A stale worker can keep running after another worker takes over. Use fencing or destination-level idempotency where the operation requires it.&lt;/p&gt;

&lt;p&gt;For code, I would also isolate work in branches or worktrees and bind the review to a specific commit. If the implementation changes afterward, the earlier review should not silently apply to the new version.&lt;/p&gt;
&lt;h2&gt;
  
  
  Measure collaboration before adding more agents
&lt;/h2&gt;

&lt;p&gt;My suggested evaluation starts with a small set of representative tasks and deliberate failures:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Deliver the same task twice.&lt;/li&gt;
&lt;li&gt;Restart a worker halfway through execution.&lt;/li&gt;
&lt;li&gt;Return an invalid result schema.&lt;/li&gt;
&lt;li&gt;Let a reviewer receive an outdated commit.&lt;/li&gt;
&lt;li&gt;Exhaust the task's time or token budget.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Track accepted outcomes, total cost, retries, and time to completion. Compare the multi-agent workflow with a single-agent baseline doing the same work.&lt;/p&gt;

&lt;p&gt;More agents introduce more handoffs. Each handoff deserves evidence that it improves the result.&lt;/p&gt;
&lt;h2&gt;
  
  
  The architecture I would build next
&lt;/h2&gt;

&lt;p&gt;I would keep the bus, put task ownership and state in durable storage, and introduce orchestration where the workflow needs it.&lt;/p&gt;

&lt;p&gt;Then I would add A2A at the boundary for independently deployed agents, and MCP where workers need external tools.&lt;/p&gt;

&lt;p&gt;That gives me an incremental path:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Define a task contract and validate results.&lt;/li&gt;
&lt;li&gt;Add atomic claims, leases, and retry limits.&lt;/li&gt;
&lt;li&gt;Record artifact references and execution history.&lt;/li&gt;
&lt;li&gt;Introduce a framework for complex transitions and recovery.&lt;/li&gt;
&lt;li&gt;Add interoperability without forcing every worker into the same runtime.&lt;/li&gt;
&lt;/ol&gt;


&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
&lt;strong&gt;Before replacing your bus, test whether your system can explain who owns a task, what has already happened, and what is safe to do next.&lt;/strong&gt;&lt;br&gt;

&lt;/div&gt;


&lt;p&gt;Those answers make an agent system easier to trust, regardless of which framework runs the reasoning loop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How are you coordinating your agents today: a shared queue, a task board, a framework, or direct calls? What failed first when you added a second worker?&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Research snapshot: October 6, 2026. Capability claims link to official documentation or repositories. Recommendations and the proposed task design are my assessment, not benchmark results. Forem Liquid embeds follow the &lt;a href="https://dev.to/p/editor_guide"&gt;DEV editor guide&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>programming</category>
      <category>distributed</category>
    </item>
  </channel>
</rss>
