<?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: Daily Context</title>
    <description>The latest articles on DEV Community by Daily Context (dailycontext).</description>
    <link>https://dev.to/dailycontext</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%2Forganization%2Fprofile_image%2F13814%2F22a0c918-422d-4931-9c15-5974094549ae.png</url>
      <title>DEV Community: Daily Context</title>
      <link>https://dev.to/dailycontext</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dailycontext"/>
    <language>en</language>
    <item>
      <title>AI Has Changed the Economics of Hacking: What Changes for Businesses After Black October</title>
      <dc:creator>e52.ai</dc:creator>
      <pubDate>Thu, 12 Nov 2026 21:46:52 +0000</pubDate>
      <link>https://dev.to/dailycontext/ai-has-changed-the-economics-of-hacking-what-changes-for-businesses-after-black-october-5h4c</link>
      <guid>https://dev.to/dailycontext/ai-has-changed-the-economics-of-hacking-what-changes-for-businesses-after-black-october-5h4c</guid>
      <description>&lt;h2&gt;
  
  
  1. What has been happening?
&lt;/h2&gt;

&lt;p&gt;October's wave of AI-enabled cybersecurity incidents have been termed by some "Black October" and exposed a growing challenge for software businesses: vulnerabilities that have survived years of development and scrutiny are now being uncovered at unprecedented speed.&lt;/p&gt;

&lt;p&gt;Three developments from October illustrate the assumptions businesses need to revisit:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On October 21, researchers disclosed PHP2Shell, critical vulnerabilities in PHP, the widely used technology underpinning platforms such as WordPress and Drupal. According to Wiz, the vulnerable code had existed for more than a decade; AI helped a researcher turn those weaknesses into working exploits in a week. (&lt;a href="https://www.wiz.io/blog/php2shell-php-rce" rel="noopener noreferrer"&gt;Wiz&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;On October 21, cloud development platform Railway disclosed a breach that exposed customer secrets and interrupted builds and deployments. Its preliminary investigation found that approximately 100,000 workspaces potentially had some environment variables compromised. (&lt;a href="https://blog.railway.com/p/preliminary-report-october-security-incident" rel="noopener noreferrer"&gt;Railway&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;On October 17, AI coding tool OpenCode disclosed a breach affecting 1.4% of users of its hosted Console service. Affected users had linked external AI providers and were notified to rotate their credentials. (&lt;a href="https://www.onesignaldesk.com/news/opencode-console-security-breach" rel="noopener noreferrer"&gt;OpenCode disclosure&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The implications go beyond cybersecurity teams. Software that was considered sufficiently scrutinized may no longer meet the same standard of security. And for businesses that operate on technology, this raises a more fundamental question: Are the assumptions underpinning how we build, buy and secure software still fit for purpose?&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Why is this happening?
&lt;/h2&gt;

&lt;p&gt;Examining unfamiliar code, identifying weaknesses and developing working exploits once required significant time and specialist expertise.&lt;/p&gt;

&lt;p&gt;AI accelerates each of these steps, making more targets worth investigating and sophisticated attacks more accessible. Automated scanners can search large volumes of code, while coding agents can help identify vulnerabilities and develop ways to exploit them.&lt;/p&gt;

&lt;p&gt;Some open-weight models themselves have undergone &lt;em&gt;abliteration&lt;/em&gt;: modifications to internal representations that remove the built-in refusal mechanisms and safety guardrails without needing to retrain them. This does not add expertise or guarantee successful attacks, but it can remove friction that might otherwise interrupt malicious activity. (&lt;a href="https://arxiv.org/abs/2406.11717" rel="noopener noreferrer"&gt;Research paper&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Together, automation and model availability weaken the assumption that attacking a company will require more effort than an adversary is willing to invest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The silver lining is that AI changes the economics of defense too.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Businesses can use the same advances to inspect code, test applications, investigate findings, and verify fixes. Hosted and locally deployed models provide options when legitimate security testing requires keeping sensitive code within the company's environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Three security assumptions businesses need to rethink
&lt;/h2&gt;

&lt;h3&gt;
  
  
  "Open-source software gains security because anyone can inspect it."
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Traditionally:&lt;/strong&gt; Open-source software is inherently more secure because anyone can review the code, identify weaknesses and contribute fixes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New reality:&lt;/strong&gt; Available code is not necessarily reviewed code. A widely used project may depend on a few maintainers, while customers assume someone else has examined it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What businesses should do:&lt;/strong&gt; Evaluate evidence of review, maintenance, and secure releases alongside popularity. Use automated analysis to examine important dependencies and verify findings.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  "Don't reinvent the wheel; reuse existing software."
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Traditionally:&lt;/strong&gt; Writing software was expensive. Reusing open-source libraries or integrating commercial platforms saved engineering time and provided capabilities a small team could not easily reproduce.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New reality:&lt;/strong&gt; Libraries and vendors often do far more than a business needs, and one feature can bring dozens of dependencies and potential vulnerabilities. AI is reducing the cost of building narrower alternatives. As Mitchell Hashimoto has &lt;a href="https://x.com/mitchellh/status/1795554156150657420" rel="noopener noreferrer"&gt;argued&lt;/a&gt;, "Blindly depending on trivial functionality or having a deep dependency tree causes more problems than it solves."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What businesses should do:&lt;/strong&gt; Review your software stack and remove unnecessary dependencies. Selectively replace complex libraries or tools with simpler alternatives your team can maintain and secure. The goal is to reduce complexity without introducing new risks. Complicated or sensitive functionality, such as cryptography and networking, should remain with proven implementations.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  "We're too small to be a target."
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Traditionally:&lt;/strong&gt; Startups delayed cybersecurity investments until there were more customers, more revenue, or an enterprise buyer demanding an audit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New reality:&lt;/strong&gt; Automated discovery makes small businesses more accessible and higher ROI targets. Exposed credentials (such as AI API keys), customer information, and access to other businesses can be valuable regardless of company size.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What businesses should do:&lt;/strong&gt; Put security into everyday development. Automate code, dependency, and credential checks on every pull request through continuous integration. Run broader automated application tests daily and scoped penetration-testing workflows weekly against authorized environments. Match frequency to risk and runtime; a passing scanner is not a complete penetration test.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Build faster. Build more securely.
&lt;/h2&gt;

&lt;p&gt;AI is changing the economics of software development, but the opportunity isn't simply to build more software, faster. It's to rethink how software is built, maintained and secured in the first place.&lt;/p&gt;

&lt;p&gt;For growing companies, this means treating security as a core part of the development process rather than a problem to solve once the business scales. It also means questioning whether the complexity they've accumulated through years of software dependencies and third-party tools is still necessary.&lt;/p&gt;

&lt;p&gt;For companies with established software infrastructure, the priority is different: understanding what you already have and where there could be risk. Review software dependencies, open-source libraries and third-party integrations for vulnerabilities, outdated components and unnecessary access. Years of accumulated technology can create complexity that is difficult to see, let alone secure.&lt;/p&gt;

&lt;p&gt;At e52, we're interested in what becomes possible when AI-driven development is paired with more rigorous engineering: simpler systems, fewer dependencies and security built in from the start. We're also hiring engineers and researchers interested in building systems that are designed to withstand attack. If that's the kind of work you want to do, we'd love to hear from you.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>opensource</category>
      <category>devops</category>
    </item>
    <item>
      <title>Keeping a software factory stable at 1,000 PRs a week</title>
      <dc:creator>Zejiang Guo</dc:creator>
      <pubDate>Thu, 12 Nov 2026 20:46:34 +0000</pubDate>
      <link>https://dev.to/dailycontext/keeping-a-software-factory-stable-at-1000-prs-a-week-363j</link>
      <guid>https://dev.to/dailycontext/keeping-a-software-factory-stable-at-1000-prs-a-week-363j</guid>
      <description>&lt;p&gt;&lt;em&gt;By &lt;a href="https://github.com/iamwhatever" rel="noopener noreferrer"&gt;Zejiang (Joe) Guo&lt;/a&gt;, &lt;a href="https://github.com/bolichen97" rel="noopener noreferrer"&gt;Bolin Chen&lt;/a&gt;, and &lt;a href="https://github.com/CrysisDeu" rel="noopener noreferrer"&gt;Zezhen Xu&lt;/a&gt;. Originally published on &lt;a href="https://kiro.dev/blog/software-factory-stability/" rel="noopener noreferrer"&gt;Kiro&lt;/a&gt; on October 26, 2026.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In our &lt;a href="https://kiro.dev/blog/software-factory-1000-prs/" rel="noopener noreferrer"&gt;last post&lt;/a&gt;, we described how three engineers and a crew of agents merged 1,000 pull requests in one week. The most common question we got back was how we keep that from breaking everything. But we think there’s a better question to ask. Can a human be responsible for every PR they shipped, which includes code they did not write and did not read line by line? Could you even speak confidently about any one of those PRs if a tech leader asked you about it?&lt;/p&gt;

&lt;p&gt;An agent can write a code change in minutes, so speed is the easy part. Keeping a high quality bar at that speed is hard, because we must know each change is correct, safe, and worth merging without a human reading every line.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where confidence comes from
&lt;/h2&gt;

&lt;p&gt;Before AI, confidence did not come only from someone reading and approving every if/else in review. Manual review was necessary, but not sufficient. It was followed by many more tests, and usually by someone running the change by hand in a real or simulated environment. Testing is where the confidence came from.&lt;/p&gt;

&lt;p&gt;But human testing alone is not enough. A person can only try a few cases, usually the happy path or the obvious edge cases. That is why, on a production service that one of our three engineers ran before, every change still went through automated tests in the release pipeline after careful manual testing. It shows humans relied on automated testing harnesses to gain high confidence even before AI.&lt;/p&gt;

&lt;p&gt;So “how can a human be responsible for AI-written code?” becomes a different question. How do we build automatic tests and checks strong enough that we trust them more than our own reading? A human cannot read every change, but a pipeline can test all of them, every time, the same way. That is why, on the Kiro Crew team, we spend around 20% of our time on infrastructure that lets us automate more.&lt;/p&gt;

&lt;p&gt;This also changes what “knowing a PR” means. If someone hands us a PR number, we do not recite the diff from memory. We ask our crew and get back a plain-language summary in a minute, grounded in the code, in test evidence such as screenshots, videos, and data, and in the review record. The review record is the trail CI (continuous integration) writes on every pull request: every reviewer’s finding, how each one was fixed or answered with evidence, every check result, and the final readiness verdict. It shows that every change went through the same reviews, tests, and gates. That record is what we are responsible for.&lt;/p&gt;

&lt;p&gt;This makes quality a CI/CD and testing problem. We pushed test coverage above 90% and plan to reach 100%, guarded against regressions in the test suite, and added agentic testing, where an agent drives the real app the way a user would.&lt;/p&gt;

&lt;h2&gt;
  
  
  How we got here
&lt;/h2&gt;

&lt;p&gt;Quality increased in five stages alongside our coding speed. We did not plan the whole system up front. Each stage worked toward the same two goals, higher quality and more automation, and solving one problem usually revealed the next. None of the stages is finished, and we still improve each one every week. If you run coding agents against a real codebase, you will likely meet the same walls in the same order.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiwvvttf00cvm7wwljwpu.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiwvvttf00cvm7wwljwpu.png" alt="Diagram titled 'The code got faster every stage. The checks had to catch up.' showing five cards joined by arrows: Stage 1 'Review bot' — bot review, with e2e by hand and hot fixes marked as missing — labeled 'manual'; Stage 2 'Severity tiers' — blocking, concern, nit (skip), and a multi-pass agent — labeled 'still manual'; Stage 3 'GitHub CI' — builds and tests, auto screenshots, AI reviewers, and model families — labeled 'automated'; Stage 4 'Full loop' — a grid of checks feeding one checkmark — labeled 'agent to green'; Stage 5 'Beyond code' — release tests, security scans, pen testing, refactoring, and own hosts — labeled 'layered' and highlighted." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1: Each stage added checks to keep pace with faster code.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Before the stages: human review
&lt;/h2&gt;

&lt;p&gt;In early March, the team set up a basic code review mechanism and tried to review every change by hand, an approach that lasted less than a day. Kiro Crew was only a side project with far fewer changes then, and it was still too much for human review. That forced us to automate review.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stage 1: an automated reviewer, a human pipeline
&lt;/h2&gt;

&lt;p&gt;Kiro Crew started via our internal build and review system, which runs an automated review bot on every change. We added a strict rule: every AI comment, no matter its priority, had to be resolved before merge. The rule sounded like quality, but it became friction, and three problems showed up quickly.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No real end-to-end test.&lt;/strong&gt; The pipeline had no end-to-end tests for Kiro Crew and no real usage of the product, so a change could break the app even after every comment was resolved. A human had to test everything by hand and attach screenshots as proof, and whatever slipped through came back as a hot fix.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Comments arrived round after round.&lt;/strong&gt; You fixed five comments, pushed, and got four new ones on code you had not touched, then three more. Because every comment had to be resolved, a small change could take a day of back-and-forth. Worse, each fix often added new code, such as an extra check or code path, which drew comments of its own. A small fix could grow into a much bigger change than anyone planned.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Limited control over the reviewer.&lt;/strong&gt; We could add our own rules, but we could not see whether a rule fired, why, or why it missed. Without that feedback, we could not tune the reviewer to the problems we kept hitting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What we learned.&lt;/strong&gt; A strict rule only helps when the reviewer gives complete and tunable feedback. The changes also need to be tested end to end in the real product. Without both, review turned into churn, and real bugs still reached users.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stage 2: severity tiers and a second reviewer
&lt;/h2&gt;

&lt;p&gt;First we tiered comments by severity. Blocking findings and real concerns must be fixed in the same PR. Minor comments and style nits become follow-up issues for future PRs. This keeps each PR small and keeps review focused on the change in front of it.&lt;/p&gt;

&lt;p&gt;Tiering can look like lowering the bar, and it does not stop the loop where each fix draws new comments. So we also added our own review agent next to the existing bot. It scans the change in several passes, each told to skip what earlier passes found. The goal is to surface every real comment in one round, so a contributor fixes once instead of multiple times. Reading those reviews carefully during this stage also surprised us. The AI reviewers found issues deeper than a human reader would have usually caught. This finding also leads us to give up reviewing code line by line manually.&lt;/p&gt;

&lt;p&gt;The additional AI reviewer helped, but a human still drove every round of fix. Crew running locally can do the actual fix based on the review comments but a human still needs to push the updated code for online review, then wait for some time to bring the new comments back to the local Crew for the next fix. This progress can take multiple rounds and spend long time, so some contributors stopped contributing due to these tedious steps after a few loops. To close that gap, we shipped built-in skills that let anyone run the test and the same AI review locally, so they can get required comments to make the fix quickly on local machine before sending out the PR.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What we learned.&lt;/strong&gt; A strict review helps build the good software, but long human driven loop can get contributors away. Automation is the solution, and we still lacked the CI to run it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stage 3: open source, real CI, and many reviewers
&lt;/h2&gt;

&lt;p&gt;Moving Kiro Crew to GitHub gave us strong CI/CD support for an open-source project. Every pull request now gets builds, unit tests, and end-to-end tests automatically. Kiro Crew’s built-in test pod runs the updated code in an isolated environment, captures screenshots and videos of related features, and attaches them to the pull request. Work that used to eat an engineer’s afternoon now runs on every change. With CI automatic, we could afford to add much richer checks.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1w8k1281tu4esmo31pg6.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1w8k1281tu4esmo31pg6.png" alt="Diagram titled 'Fork code runs with no secrets. The judge always comes from main.' split by a dashed vertical line labeled 'Workflow boundary'. Left panel 'Fork PR · untrusted' flows top to bottom: 'Stranger's code' (branch, files, symlinks), then 'Build + tests' (no credentials in reach), then 'Outputs only' (results handed across as data), with the note 'Every path the PR controls is hostile.' Right panel 'Trusted workflow' flows top to bottom: 'Secrets' (model keys, cloud access), then 'Review rules' (loaded from main, never from the PR), then 'Verdict' (AI reviewers, integration tests), with the note 'A PR never writes its own judge.'" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2: Untrusted fork code and the trusted review workflow run on opposite sides of a boundary.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reviewers with different jobs.&lt;/strong&gt; One AI reviewer looking at everything cannot dive deep enough, so we split review by role. A design reviewer asks whether the change fits the architecture, and whether a much simpler solution exists. A first-principles reviewer asks whether the change fixes the root cause, and whether users really need it. A UX reviewer evaluates user-facing changes. The code is also scanned by reviewers on different model families, because a model reviewing its own family’s code shares its blind spots.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A full set of tests.&lt;/strong&gt; Unit tests, integration tests, frontend tests, desktop packaging, bundle-size budgets, coverage floors, and end-to-end tests each catch a different class of failure. Integration is where agents most often go wrong, because each change looks correct in isolation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One definition of blocking.&lt;/strong&gt; A block finding needs a concrete location, quoted evidence, a trigger, and a consequence. If a reviewer cannot name what breaks and how, the finding is advisory. Specifically, design concerns are advisory unless they describe a one-way door, a choice we cannot undo later. For a reversible choice, we accept the risk because refactoring later is easy too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What we learned.&lt;/strong&gt; Automation lets you check far more than people ever could. But more checks meant more results for a human to read and act on, and the human became the bottleneck.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stage 4: closing the loop
&lt;/h2&gt;

&lt;p&gt;In Stage 3, a human still drove every round of code fix. Each round, an engineer checks which CI steps have failed, copy CI failure details, including AI review suggestions, to Crew and ask it to fix issues. We do not treat an AI suggestion as something we have to trust, but as input for deeper local analysis. Kiro Crew checks it against the code, runs the tests, and CI checks the fix again on the next round. Compared with these additional works behind each fix, a human driving every call added little value.&lt;/p&gt;

&lt;p&gt;So we shipped a built-in skill, &lt;code&gt;prepare-pr&lt;/code&gt;, that drives the loop until the pull request is green. It needed one clear signal to read, because it is costly to scan 80+ checks for every pull request. We added a single PR Readiness check that rolls all CI/CD action results into one verdict. It must mean every expected CI/CD action has run and passed, not just that nothing is red yet, because on a new pull request “no failing checks” and “nothing has run yet” look the same.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;prepare-pr&lt;/code&gt; reads that verdict, pulls the failing CI/CD actions and review findings, fixes what is real, replies with evidence to what is not, and pushes again. CI checks the new revision, and the loop reads the result. When the verdict is green, the skill stops, and the same verdict tells a human the pull request is ready. The human and the agent share one definition of “done”.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9xrinx5oel7fvkgg2iw4.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9xrinx5oel7fvkgg2iw4.png" alt="Diagram titled '80+ checks, one verdict. Humans and agents read the same signal.' Two columns of checks on the left — Reviewers: Design (simpler way?), First principles (needed at all?), UX (user-facing), Code on model family 1, and Code on model family 2, labeled 'same blocking bar'; Tests: Unit, Integration, Frontend, End-to-end, and Bundle size and coverage, labeled 'moving to our own hosts' — feed an arrow into a central 'PR Readiness' card with a checkmark that reads 'Every expected lane ran and every lane passed' and the note '“Nothing failed” is not “everything ran”'. A second arrow leads to two cards: Human (merge or not, at a glance) and Agent loop (knows what to fix next), labeled 'one definition of done'." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3: Every reviewer and test rolls up into a single PR Readiness verdict.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;With agents driving pull requests to green automatically, clicking the approve button became time consuming when there are many PRs. To automate this step, we first classify each pull request with a tier. Simple tier PRs are approved and merged automatically, and for the rest, AI drafts review suggestions for the human. To make human review fast, the agent writes the pull request description and rewrites it every time to match actual code changes. It uses a fixed template, easy to understand language, and even diagrams related to the change, so a human can understand the pull request in a few seconds. There is also a CI check that verifies the description strictly matches the code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What we learned.&lt;/strong&gt; Once checks and fixes share one signal, the agent can run the loop, and humans only make the calls that need them. The loop also creates its own problems though, mainly over-engineering and security fixes that go too far. We cover both after the last stage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stage 5: things after merge
&lt;/h2&gt;

&lt;p&gt;Our code reviews still miss some bugs, so code merging is not the last step. The overall quality is usually not only about the code in one pull request.&lt;/p&gt;

&lt;h3&gt;
  
  
  Release gates
&lt;/h3&gt;

&lt;p&gt;Before each release, extra tests run on the built product, including agentic tests. An agent installs and drives the real app through core flows, such as starting a session, running a task, using memory, and scheduling a job. Unit tests check that a specific feature works, and agentic tests check that the product core procedure still does what users expect.&lt;/p&gt;

&lt;h3&gt;
  
  
  Security after merge
&lt;/h3&gt;

&lt;p&gt;Merged code keeps getting checked in several layers, so a problem that slips past one layer does not live long.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hourly compliance checks on the merged code and on whether it went through the required review and follow core security rules.&lt;/li&gt;
&lt;li&gt;Daily scans from an internal security agent, applied to our open-source codebase as they are to other internal services.&lt;/li&gt;
&lt;li&gt;Always-on security bot that performs actual operations on the tool and tries to penetrate the security guardrails to find the issues to fix.&lt;/li&gt;
&lt;li&gt;A managed security inbox to receive external reports with quick turn around.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Periodic refactoring
&lt;/h3&gt;

&lt;p&gt;Fast changes leave rough edges, such as large files, duplicated logic, and dead code. We refactor on a regular schedule to keep the codebase easy for both humans and agents to change. This periodical refactoring also allows us to use latest models to write better code.&lt;/p&gt;

&lt;h3&gt;
  
  
  Scaling the checks themselves
&lt;/h3&gt;

&lt;p&gt;With dozens of automatic checks on every pull request and a hundred pull requests a day, we hit GitHub rate limits and our resource limit. To mitigate the issue, we split CI actions into groups then run group by group. As an example, a fast gate now runs the cheap checks first, and the slow checks start only once the fast gate passes. We also moved review to AWS CodeCommit and a few test workloads onto our own hosts, so our hardware sets the limit.&lt;/p&gt;

&lt;h3&gt;
  
  
  The development process
&lt;/h3&gt;

&lt;p&gt;When coding is easy, saying yes to a feature is easy too. But too many features getting merged at once can easily lead to implicit unexpected conflicts. Cheap code can also pull the team toward fancy technical solutions instead of focusing what is the right way to build. To handle this issue, every feature request is now classified before anyone builds it. A simple change can be built directly, a medium level feature needs a one-page design, and a complicated one needs a review by the whole team.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What we learned.&lt;/strong&gt; Passing every check before merge is not the same as staying healthy over time. Quality needs checks that keep running on the product code. It also needs a process that decides what features get built, because the most expensive bugs are those from features users never need.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two critical problems we had to overcome
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Over-engineering
&lt;/h3&gt;

&lt;p&gt;This is the biggest source of waste once the review-and-fix loop runs on its own. A reviewer flags an edge case, and the agent adds a mechanism. The next review flags an edge case in the new mechanism, and the agent adds another. After five rounds, a ten-line fix has become a small subsystem that wasn’t needed.&lt;/p&gt;

&lt;p&gt;So we added retrospectives, both in the &lt;code&gt;prepare-pr&lt;/code&gt; skill and in the CI. After several rounds on the same area, the loop looks back at its own history: what changed, what reviewers said, and whether the change is growing instead of converging. It then recommends a stop, a revert, or a simpler approach. The first move is usually to subtract mechanisms that are no longer needed, and the remaining findings shrink too.&lt;/p&gt;

&lt;p&gt;We also check every suggested fix for proportion. A finding can be correct and still ask for too much. The fix should be the direct code change that solves the issue described in the pull request description, and anything bigger becomes a follow-up. The one exception is a reachable crash, security hole, or data loss, which are always fixed.&lt;/p&gt;

&lt;p&gt;But the retrospective also created a new problem that it requires human actions to decide what coding strategy changes should be made even though strategy recommendations are usually clear. Asking for more human input might seem like the best way to get higher quality code, but each question stops the automation. To handle the issue, a second agent, the conductor, reads the retrospective’s recommendation and makes the first call itself. The human is pulled in only when the conductor cannot decide.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foh3xxi1c2qapqmd2rar9.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foh3xxi1c2qapqmd2rar9.png" alt="Diagram titled 'Every review round added a mechanism. So the loop learned to look back.' Left panel 'Without a look-back': a bar chart of lines added across review rounds R1 to R5 that grows each round, with findings per round of 2, 3, 3, 4, and 4, captioned 'A 10-line fix becomes a small subsystem. New code, new findings.' and labeled 'Growing, not converging'. An arrow leads to the right panel 'With retrospective + conductor', which flows top to bottom: 'Same area, 3rd round' (loop stops itself), then 'Retrospective' (past changes + comments), then three options — subtract, revert, rethink — then 'Conductor agent' (makes the first call, loop keeps going), labeled 'Human only when the conductor can't decide.'" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4: A retrospective and a conductor agent stop the review loop from growing a fix into a subsystem.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Security considerations
&lt;/h3&gt;

&lt;p&gt;AI is eager about security. Given one real finding, it will add three layers of defense, a new configuration flag, and a validation step that never runs. Each addition is new code that can break, and new surface for the next review round to flag. Below are two interesting cases that were detected in our development.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A sandbox that blocks normal work.&lt;/strong&gt; Every review round tightened the agent sandbox a little more. Each step looked reasonable alone, but together they made ordinary tasks fail, like running a build or reading a project file. The product got safer on paper but not usable in practice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guarding against an attacker who already won.&lt;/strong&gt; A classic security suggestion is to copy an executable into its own folder and lock it down, so an attacker on the machine cannot replace it. This guard adds copying, permission checks, and update paths that can each break, and protects against a super rare case.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Therefore, our security fixes follow a simple rule: fix the actual user reachable problem with the smallest code changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can apply today
&lt;/h2&gt;

&lt;p&gt;Below are suggestions that worked for us, but every codebase is different, so adjust them to make them work for your product.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tier your review comments.&lt;/strong&gt; “Resolve every comment” sounds rigorous but often produces churn.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask for all comments in one round.&lt;/strong&gt; A slower, complete reviewer costs less than one that drips findings across rounds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Split reviewers by role and by model.&lt;/strong&gt; Different questions and model families catch different problems.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compress your checks into a single readiness flag&lt;/strong&gt; that means “all ran and passed”, not “none failed yet”.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test the whole product, not just the parts,&lt;/strong&gt; with at least one step driving real flows before release.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Put a retrospective in your agent loop,&lt;/strong&gt; and let a second agent make the first call so the pause does not always require a human.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep security fixes reasonable.&lt;/strong&gt; Use strict checks to reveal actual issues, but make small, direct fixes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Kiro Crew is open source. The workflows, review prompts, and the &lt;code&gt;prepare-pr&lt;/code&gt; skill described here are all in the &lt;a href="https://github.com/kirodotdev/KiroCrew" rel="noopener noreferrer"&gt;repository on GitHub&lt;/a&gt;. &lt;a href="https://kiro.dev/crew/" rel="noopener noreferrer"&gt;Try Crew&lt;/a&gt; to see them in action.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>automation</category>
      <category>devops</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>What It Actually Takes to Roll Out AI Across Netflix</title>
      <dc:creator>Kara Silverman</dc:creator>
      <pubDate>Thu, 12 Nov 2026 01:22:47 +0000</pubDate>
      <link>https://dev.to/dailycontext/what-it-actually-takes-to-roll-out-ai-across-netflix-18h8</link>
      <guid>https://dev.to/dailycontext/what-it-actually-takes-to-roll-out-ai-across-netflix-18h8</guid>
      <description>&lt;p&gt;Most companies will never train a frontier model. Their AI work happens somewhere less visible: the last mile, where new models meet a decade of internal systems, data permissions, and org charts.&lt;/p&gt;

&lt;p&gt;That is where Utkarsh Shrivastava works. He leads engineering for enterprise AI at Netflix, where his organization builds enterprise search and the company's agentic suite. His team built a centralized, paved path for agentic work, including a marketplace where teams publish their own MCPs, skills, and plugins, and an enterprise search that had to honor every existing security permission. Their tools now have been widely adopted across the company.&lt;/p&gt;

&lt;p&gt;Ahead of his talk at AIE Code Summit, we talked about how that rollout happened, why the hardest part turned out to be ownership, and why the next 12 to 18 months come down to proving ROI.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This interview has been edited for length and clarity.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Give me a high-level view of your background and what you're working on now.
&lt;/h2&gt;

&lt;p&gt;I lead an organization here at Netflix focused on workforce AI, so I'm responsible for enabling GenAI for Netflix. Of course, I'm not the only one doing it here, but I sit in a platform org, and what I do has company-wide implications.&lt;/p&gt;

&lt;p&gt;In my role, I work with frontier labs and I constantly evaluate cutting-edge technology to see whether we should invest in it. Before this, I wore many different hats. I led global customer service for Netflix once upon a time. I did interesting work at the intersection of software and data, including building a data lakehouse for the company. And before Netflix, I was at Yahoo doing B2C, working on Yahoo Mail's flagship products.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's your relationship to AI?
&lt;/h2&gt;

&lt;p&gt;That's an interesting question. I haven't been asked that before. If I have to truly explain it, I would say right now it feels a lot like a cat-and-mouse game. Not all companies are at the frontier of research with LLMs. So my job is to make sure I'm aware of the latest and greatest technology out there, and to truly evaluate it in a way that can scale to the company's needs.&lt;/p&gt;

&lt;p&gt;That's also a focus of my talk. I'll be talking about how frontier labs are only the tip of the iceberg. Companies that have been around for a decade have a lot of historical context to implement. So I'm the guy working on the last-mile integrations with GenAI.&lt;/p&gt;

&lt;h2&gt;
  
  
  You rolled out one shared assistant to all of Netflix. Walk me through it: the starting point, what launch actually looked like, and where it is now.
&lt;/h2&gt;

&lt;p&gt;That's also the basis of my talk, so I'll be sharing a bit more there. When AI was a new thing, each team was trying to do its own stuff, and that looked wildly different. We wanted to encourage that. However, we needed a centralized place and a paved path for doing agentic work at the company.&lt;/p&gt;

&lt;p&gt;So I worked with several frontier labs to evaluate which technology we would want to integrate, and I worked across the various enterprise pillars to make sure we had a centralized way of doing things. That meant coming up with a strategy for MCPs. These teams own their MCPs, skills, and plugins, but they needed a marketplace to publish them, for example. They needed guidance: if two adjacent areas are advertising the same set of data, who wins? Which one should take priority? Or should we not open up everything to everyone? Those are the kinds of questions I had to navigate, and we had to do it ASAP. We did it on a very shortened timeline.&lt;/p&gt;

&lt;p&gt;As for where it is today, we have company-wide adoption. Adoption is broad, and it’s become the way people work day to day. It has gotten to the point where it's the new norm. Day to day, this is the tooling you use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who were the early heavy users inside Netflix? Was it who you expected?
&lt;/h2&gt;

&lt;p&gt;This was also an interesting journey. It was a mix, and it followed where leaders were most eager to try new ways of working. As the industry moved quickly, teams across the company wanted to try the new tools coming out. Before anyone could, we had to make sure those tools met our security and data standards. As options multiplied, it became hard for teams to keep up, so we took on that work centrally and gave them a standard, supported way to get started.&lt;/p&gt;

&lt;p&gt;The teams themselves are the experts in their domains. We provide the platform, and they decide how it fits their work. That split let each team focus on what it knows best while we handled the common foundation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Did teams like marketing, finance, or engineering adopt faster than others, or was it about the same?
&lt;/h2&gt;

&lt;p&gt;No, they were not the same. A lot depends on what their leadership wants them to do. Adoption followed where teams were most eager to try new ways of working. Largely, the company direction was: yes, we are moving, even though individual timelines may vary.&lt;/p&gt;

&lt;p&gt;This is where I learned that some leaders and individuals within those pillars were very technology-savvy and wanted to move fast, so we saw wider adoption there. In fact, I can call out one enterprise pillar where the leader was really passionate about not only adopting newer technology but spreading it into their day-to-day workflow. Those early partnership wins helped us prove the value. Because one of the key questions in our industry is this: what is the productivity measurement? That's an industry-wide question we are all trying to answer, and these early adopters helped us make progress there.&lt;/p&gt;

&lt;h2&gt;
  
  
  Are you mostly building internally, or building and buying?
&lt;/h2&gt;

&lt;p&gt;It’s a mix. We evaluate the best of what’s available, from frontier labs to open-source models, and build the last mile that fits how Netflix works&lt;/p&gt;

&lt;h2&gt;
  
  
  Speaking of the last mile and security: how do you handle permissions, what people can access, and how they find things through enterprise search?
&lt;/h2&gt;

&lt;p&gt;A good way to look at this is before and after the advent of GenAI. Before, everything sat behind its own walls, and each team only had access to its own data. It was very clean that way. We built enterprise search to respect existing access permissions from day one. We worked on enterprise search as well. Before GenAI, each team’s data sat behind its own walls. We built enterprise search to respect existing access permissions from day one. Then some business units came to us and said, ‘We never got access to this kind of information because of the earlier architecture. Is there a way you can enable that for us?’ So we systematically took some of those use cases and enabled them more broadly.&lt;/p&gt;

&lt;p&gt;All of this needed a methodical approach. It was all very new. Everyone was trying to wrap their heads around what it does and what's coming. It had so much potential. We went through a lot of interesting times, especially because the current workforce setup was before genAI arrived. Things were done a lot differently. We wanted to make sure this was setting us up for the future. And that's where all the leaders wanted my opinion, because they wanted to know how to think about some of these things ahead of time.&lt;/p&gt;

&lt;h2&gt;
  
  
  You mentioned departments getting access to information they never had before. What's an example of something that couldn't have been done before and is possible now?
&lt;/h2&gt;

&lt;p&gt;I want to answer with two examples, both things I'm very excited about. First, it is faster and cheaper to build than before. Earlier, if a business user wanted access to data, they would reach out to their data analyst or data scientist, who would mine that information and curate a graph for them. With AI, all of that is possible, so they can access it very fast. That has truly been game-changing for us. The business can finally roll up its sleeves and mine a lot of information that otherwise wasn't available.&lt;/p&gt;

&lt;p&gt;The other part of your question was what's possible today that was never possible before. I wouldn't say there's anything that wasn't possible, but the cost of building something like it was so steep that we would never do it. We have one agentic suite where all the MCPs related to all the enterprise pillars are integrated. Think of a database-like situation where you want to index on a primary key and get all the information related to it. That's just a click away now. We can modify permissions, the datasets start pulling in data, and then you apply LLMs on top of it. That does the magic. None of this was possible before. We would have had to have large areas of investment to enable something like this.&lt;/p&gt;

&lt;h2&gt;
  
  
  A rollout at this scale is never seamless. What did you learn that you'd tell another company to watch out for?
&lt;/h2&gt;

&lt;p&gt;I would answer that with one word: ownership. Depending on the architecture, who owns which part of the data and the experience changes, and that needed careful alignment. That was the hardest thing to navigate: getting every team clear on its role.&lt;/p&gt;

&lt;h2&gt;
  
  
  Netflix's culture has a very clear reputation. How did that shape getting everyone to move in the same direction?
&lt;/h2&gt;

&lt;p&gt;Because Netflix has that transparent culture, I would say it was easier for us to navigate this transition. People had good questions up front, which is why they were asking questions. I got questions like yours a lot, throughout the year and beyond. But once they understood how we were going to roll it out and what our intention was, they put their full weight behind us.&lt;/p&gt;

&lt;p&gt;And that matters, because they're the ones who have to adopt it, use it day to day, and get value out of it. The culture of freedom and responsibility, and context, not control: those are the elements that really helped us get to where we are.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where are you headed with these tools over the next 12 to 18 months?
&lt;/h2&gt;

&lt;p&gt;Over the next 12 to 18 months we’re focused on measuring how these tools improve the way teams work, so we invest where it helps most. But we also want to power our use cases and the work we're doing to entertain our users, which is our primary goal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is there anything we haven't covered, or something from your talk you want to dig into?
&lt;/h2&gt;

&lt;p&gt;In my talk, I conclude by saying there is no one-size-fits-all, and you really need to build the culture. Building an AI-forward culture in your company, and explicitly calling it out top-down, is a huge win. What I've seen is that your board of directors and your C-suite have a lot of desire to do this. It's really the next level down that has to take the baton and implement it for the company. That layer has to work absolutely hand in hand with the industry, and they should have a goal of transforming the workforce with an AI-enabled toolkit.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agenticai</category>
      <category>netflix</category>
      <category>agents</category>
    </item>
    <item>
      <title>Your Agent Needs a Schema, Not a Better Prompt</title>
      <dc:creator>frank coyle</dc:creator>
      <pubDate>Wed, 11 Nov 2026 20:51:14 +0000</pubDate>
      <link>https://dev.to/dailycontext/your-agent-needs-a-schema-not-a-better-prompt-53bm</link>
      <guid>https://dev.to/dailycontext/your-agent-needs-a-schema-not-a-better-prompt-53bm</guid>
      <description>&lt;h2&gt;
  
  
  The failure nobody demos
&lt;/h2&gt;

&lt;p&gt;The agent demo always works. The customer asks for a refund, the agent calls the right tool, and the money moves. Then it ships, and a week later it refunds an order that was never delivered. Or it issues a refund larger than the purchase. Or it approves an expense for a "manager" who has no reports.&lt;/p&gt;

&lt;p&gt;None of these are reasoning failures. The model reasoned fine. It just acted on something that isn't true in your business, because nothing in the system told it what is true.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompts ask. Ontologies define.
&lt;/h2&gt;

&lt;p&gt;The usual fix is a longer system prompt: never refund more than the order total; only refund delivered orders. That helps, until the prompt grows to 4,000 tokens and the rule you care about competes with forty others for the model's attention. A prompt is advice. The model follows it most of the time.&lt;/p&gt;

&lt;p&gt;An ontology is a different kind of object. It is a formal, machine-readable statement of what can exist in your domain and how things relate: an Order has exactly one Customer, a Refund points to exactly one Order, a Manager has at least one direct report. It doesn't ask the model to behave. It defines the world the model is allowed to act in, and it can be checked mechanically, every time, in milliseconds.&lt;/p&gt;

&lt;p&gt;The pattern is simple: the LLM proposes, the ontology disposes. The agent stays flexible in how it understands a request. It loses the freedom to commit an action that contradicts the domain.&lt;/p&gt;

&lt;h2&gt;
  
  
  A guardrail you can read
&lt;/h2&gt;

&lt;p&gt;The W3C standard for this is SHACL (Shapes Constraint Language). Here is the refund rule as a shape:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight turtle"&gt;&lt;code&gt;ex:RefundShape a sh:NodeShape ;
    sh:targetClass ex:Refund ;
    sh:property [
        sh:path ex:forOrder ;
        sh:class ex:DeliveredOrder ;
        sh:minCount 1 ; sh:maxCount 1 ;
        sh:message "A refund must reference exactly one delivered order." ] ;
    sh:property [
        sh:path ex:amount ;
        sh:datatype xsd:decimal ;
        sh:minExclusive 0 ] .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The "amount can't exceed the order total" rule is a few more lines, written as a SPARQL constraint inside the same shape. Notice who can review this. A compliance officer who will never read your Python can read "a refund must reference exactly one delivered order" and tell you whether it's right.&lt;/p&gt;

&lt;h2&gt;
  
  
  Closing the loop
&lt;/h2&gt;

&lt;p&gt;The guardrail sits between the agent's decision and the side effect:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The agent proposes an action as structured data (JSON-LD maps cleanly to the graph).&lt;/li&gt;
&lt;li&gt;A validator such as pySHACL checks it against the shapes. No model call, no tokens.&lt;/li&gt;
&lt;li&gt;If it conforms, the action executes.&lt;/li&gt;
&lt;li&gt;If not, the validation report goes back to the agent as a tool result: which shape failed, on which field, with the human-written message.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That last step matters. "Action rejected" teaches the agent nothing. "A refund must reference exactly one delivered order; order 8812 has status Shipped" gives it something to reason about. In practice it either corrects itself or escalates to a human, which is exactly the behavior you wanted the prompt to produce.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it buys you past the demo
&lt;/h2&gt;

&lt;p&gt;One artifact does three jobs that teams usually build separately:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context.&lt;/strong&gt; The same ontology that validates actions can generate the agent's tool descriptions and entity definitions. The model sees the domain as it actually is, in a few hundred tokens instead of a few thousand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guardrails.&lt;/strong&gt; Rules are declarative, deterministic, and versioned in git. A rule change is a reviewed diff, not a prompt tweak someone made on a Friday.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evals.&lt;/strong&gt; Every rejection is a labeled failure: shape, field, timestamp. Count violations by shape across a test suite and you know exactly where the agent misunderstands your domain, instead of reading an LLM-judge score of 6 out of 10.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The trade-off is real. Someone has to model the domain, and that is slow, careful work. But the knowledge already exists in your database schema, your policy documents, and your senior people's heads. The ontology is where it stops being tribal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to start
&lt;/h2&gt;

&lt;p&gt;Don't model your whole enterprise. Pick the one agent action that would hurt most if it went wrong — the refund, the record deletion, the outbound email. Write three shapes for it. Put the validator in front of that one tool call and log every rejection for a week.&lt;/p&gt;

&lt;p&gt;You'll learn two things quickly: how often your agent was about to do something your domain forbids, and how many of those cases your prompt had already "handled."&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Frank Coyle, PhD, teaches generative AI and LLMs at UC Berkeley's School of Information and taught computer science at SMU for 32 years. He trained in neuroanatomy and neurophysiology at Emory before moving to computer science. He spoke on "Ontologies as Guardrails" at AIE Code Summit.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>architecture</category>
    </item>
    <item>
      <title>When Is an AI Rewrite Finished?</title>
      <dc:creator>Ramakrishnan Lokanathan</dc:creator>
      <pubDate>Wed, 11 Nov 2026 02:16:58 +0000</pubDate>
      <link>https://dev.to/dailycontext/when-is-an-ai-rewrite-finished-4ged</link>
      <guid>https://dev.to/dailycontext/when-is-an-ai-rewrite-finished-4ged</guid>
      <description>&lt;p&gt;&lt;em&gt;AI makes it easier to attempt a replacement. The harder question is what the new software still owes the people using the old version.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Imagine rewriting a game engine and getting the same winner in both versions. That looks promising. Then you inspect the match record. The new engine has counted a move supplied by the software as though the AI model chose it. The game still ended, but the experiment changed.&lt;/p&gt;

&lt;p&gt;I am exploring a Rust version of eSlams alongside its Python engine. eSlams lets AI models play games so we can investigate their decisions. That gives a rewrite a particular obligation: preserve what a result means. Which moves did the model choose? What could it see? What happened when it failed to return a usable response?&lt;/p&gt;

&lt;p&gt;These questions make the appeal of AI-assisted rewrites more interesting to me. A replacement that once looked too expensive may now be worth attempting. We can explore a different language, remove an awkward dependency or reconsider an architecture. But generating the replacement is only part of finding out whether it can take over.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blog.cloudflare.com/vinext/" rel="noopener noreferrer"&gt;Cloudflare's Vinext&lt;/a&gt; offers a useful example. The company described building its initial reimplementation of the Next.js API on Vite in under a week, with one engineer directing AI and about $1,100 in model tokens. It called the release experimental. Seven months later, &lt;a href="https://blog.cloudflare.com/vinext-nextjs-on-vite/" rel="noopener noreferrer"&gt;its account of version 1.0&lt;/a&gt; described the work of making the replacement behave correctly across real applications.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/cloudflare/vinext/security/advisories/GHSA-2956-r8mj-w5c4" rel="noopener noreferrer"&gt;An October security advisory&lt;/a&gt; showed how small a consequential difference can look. Two different cached functions could share an entry when they used the same extra cache keys and arguments. In the advisory's example, a public summary route could return data cached by a private receipt route. Vinext 1.2.0 fixed that defect by including the function's source code in the key.&lt;/p&gt;

&lt;p&gt;That distinction mattered because the functions had different jobs. A caller could supply the expected arguments, receive a valid response and still get information the route should never have returned. Matching the visible shape of an API had left a gap in its behaviour.&lt;/p&gt;

&lt;p&gt;The lesson I take from this is to make the obligations of a rewrite explicit before celebrating its completeness. Some will be documented. Others live in tests, old incidents and the assumptions of whoever calls the software. A particular error may tell another service to retry. The order of two events may determine whether a customer is charged again.&lt;/p&gt;

&lt;p&gt;For eSlams, I would want the two engines to encounter the same positions and recorded actions, then compare the state after each move. An identical final score could hide an earlier disagreement. I would also want to know whether they reject the same invalid action and preserve the same information boundaries between players.&lt;/p&gt;

&lt;p&gt;The same approach applies elsewhere. Compare a write followed by a read, a request repeated after a timeout, or two customers making otherwise identical requests. Include the stored data and emitted events in the comparison. A response body can look correct while the next request inherits the mistake.&lt;/p&gt;

&lt;p&gt;Some differences will be improvements we intended to make. An old bug need not become a permanent feature merely because a comparison found it. But someone needs to decide which behaviour is wanted, understand who depends on it and record that decision. Otherwise, convenient differences can quietly become accepted ones.&lt;/p&gt;

&lt;p&gt;Those decisions also affect the release. I would begin with a bounded part of the workload and keep a way back. Running both versions can help, provided the comparison does not send two emails or make two payments. Switching back only works if the old software can still understand the data the new version has written.&lt;/p&gt;

&lt;p&gt;I find the possibility of building a better engine exciting. AI gives a small team more room to attempt work it might previously have postponed. That is a meaningful change even before anyone claims a fully autonomous rewrite.&lt;/p&gt;

&lt;p&gt;But the finish line has to include the people and programs that depend on the result. They need the replacement to keep working when an input is unusual, a request repeats or a component fails. I would call the rewrite finished when I can explain which promises survived, which changed deliberately and how we checked.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>rust</category>
      <category>softwareengineering</category>
      <category>testing</category>
    </item>
    <item>
      <title>Give Your Agent a Fast Path</title>
      <dc:creator>Ramakrishnan Lokanathan</dc:creator>
      <pubDate>Wed, 11 Nov 2026 02:15:45 +0000</pubDate>
      <link>https://dev.to/dailycontext/give-your-agent-a-fast-path-496</link>
      <guid>https://dev.to/dailycontext/give-your-agent-a-fast-path-496</guid>
      <description>&lt;p&gt;&lt;em&gt;Small decision models offer a way to handle routine judgments quickly, provided we are clear about which judgments they should make.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A customer writes to say that a parcel arrived broken. Before anyone composes a sympathetic reply, the software has a few things to work out. Is this a delivery problem? Is there enough information to find the order? Which team should handle it? Much of the work happens before the first sentence is written.&lt;/p&gt;

&lt;p&gt;These are the kinds of questions that make System 1 models interesting. &lt;a href="https://docs.typesafe.ai/concepts/system-one" rel="noopener noreferrer"&gt;TypeSafe's Jev&lt;/a&gt;, for example, takes information about a situation and returns answers within a structure the developer defines, along with probabilities. Give it a set of possible destinations for a ticket and it can choose among them. The application already knows how to use the answer.&lt;/p&gt;

&lt;p&gt;There is a practical difference here from asking a language model to write a reply that happens to contain a decision. A decision model can score the available options directly. &lt;a href="https://fastino.ai/blog/glide-decision-model-family" rel="noopener noreferrer"&gt;Fastino's GLiDE family&lt;/a&gt; does this without generating answer tokens, with models ranging from 0.4 billion to 27 billion parameters. The category includes small models, although smallness alone does not define it.&lt;/p&gt;

&lt;p&gt;For a repeated task, that is an appealing arrangement. We can avoid spending time on an explanation nobody will read, and keep the surrounding workflow simple. A small model that handles one useful judgment well could have a place in software that has no chat window at all.&lt;/p&gt;

&lt;p&gt;But return to the damaged parcel. Suppose the permitted answers are billing, deliveries and technical support. The model can choose a valid answer and still choose badly. Restricting the output gives the program something it can process. It does not establish that the customer reaches the right person.&lt;/p&gt;

&lt;p&gt;What if the customer has described two different orders? What if the order belongs to somebody else? The useful next step may be to ask a question. If our list of choices leaves that out, we have asked the model to choose from an incomplete account of the situation.&lt;/p&gt;

&lt;p&gt;I am building eSlams to explore how AI models make decisions through games. That makes this distinction familiar: a legal move can still be a poor move. The rules tell us what a player may do. What happens next tells us something about the quality of the choice.&lt;/p&gt;

&lt;p&gt;In a business workflow, we also have to decide which judgments belong to the model. Reading a messy customer message may benefit from one. Checking whether an order number exists is usually a straightforward database query. Permission to issue a refund should remain an explicit rule that the application enforces.&lt;/p&gt;

&lt;p&gt;The probabilities deserve the same care. A high number can be useful evidence, but its meaning has to be checked against real outcomes. Across comparable cases, do answers assigned high probabilities turn out to be right as often as expected? A confident answer to one ticket cannot settle that question.&lt;/p&gt;

&lt;p&gt;I would begin by letting the model make recommendations alongside an existing workflow. Include ordinary requests, ambiguous ones and cases where the correct next step is to leave the decision to somebody else. Look closely at the errors before deciding which recommendations can become actions.&lt;/p&gt;

&lt;p&gt;Then ask two questions together: how much work did it handle, and how often was that work handled correctly? A system that sends almost everything to a person may produce a comforting accuracy figure while saving very little effort. One that accepts everything can make the queue look wonderfully efficient until the corrections arrive.&lt;/p&gt;

&lt;p&gt;Those corrections belong in the measurement. So do the time spent retrieving records and the work passed to another model or a colleague. The customer experiences the whole process. A quick classification is useful when it helps the case reach a satisfactory conclusion sooner.&lt;/p&gt;

&lt;p&gt;Over time, the questions may change. A new product creates a new kind of complaint. A policy changes what a team can resolve. The examples used to judge the model need to keep up with the work we are actually giving it.&lt;/p&gt;

&lt;p&gt;I like the possibility of giving these ordinary decisions a fast path through software. To trust that path, I would want to see the routine cases move through cleanly and the uncertain ones arrive with the person or system able to resolve them. That is where a quick answer becomes useful work.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>agents</category>
      <category>aie</category>
    </item>
    <item>
      <title>The Rise of the Agentic Server</title>
      <dc:creator>Francisco Javier Arceo</dc:creator>
      <pubDate>Wed, 11 Nov 2026 01:59:51 +0000</pubDate>
      <link>https://dev.to/dailycontext/the-rise-of-the-agentic-server-503g</link>
      <guid>https://dev.to/dailycontext/the-rise-of-the-agentic-server-503g</guid>
      <description>&lt;p&gt;We have let go of the wheel.&lt;/p&gt;

&lt;p&gt;The era of agents is here, and we are long past the point of no return. We can mourn the old ways, when code was forged by the hands of the tired, the wicked, and the dangerously over-caffeinated. But agents are already writing, testing, and revising software on our behalf.&lt;/p&gt;

&lt;p&gt;Another benchmark falls. Another ceiling shatters. A new era is on the horizon: swarms, sometimes called "agent teams."&lt;/p&gt;

&lt;p&gt;Last September, &lt;a href="https://openai.com/index/navier-stokes-solution/" rel="noopener noreferrer"&gt;OpenAI reported&lt;/a&gt; that it put ~10,000 agents to work on the Navier–Stokes problem, a famous question about fluid motion. For about 88 hours, agents explored different approaches, shared promising findings, and used tools before producing what OpenAI says is a proof. In a recent &lt;a href="https://cheekypint.substack.com/p/why-sam-altman-is-against-a-single" rel="noopener noreferrer"&gt;interview&lt;/a&gt;, Sam Altman estimated the effort cost around $10 million.&lt;/p&gt;

&lt;p&gt;The mathematics will be scrutinized. Shouldn't the machinery be, too?&lt;/p&gt;

&lt;p&gt;How did the agents collaborate, coordinate work, share discoveries, use tools, and stay within their guardrails? OpenAI's account offers a glimpse into a new paradigm, but no system we can run and study.&lt;/p&gt;

&lt;p&gt;We spent years building tools that waited for us. This one doesn't. Cloud agents open workspaces, share what they find, call tools, and keep pulling on a thread long after we've left the room, so what lands is code we didn't write, based on decisions we didn't make. Whether it's ten agents or ten thousand, the work now happens past the edge of our machines, and beyond the edge of our attention.&lt;/p&gt;

&lt;p&gt;The labs see this. Anthropic's &lt;a href="https://platform.claude.com/docs/en/build-with-claude/message-threads" rel="noopener noreferrer"&gt;Message threads&lt;/a&gt; hold context on the server; they also support &lt;a href="https://platform.claude.com/docs/en/build-with-claude/compaction" rel="noopener noreferrer"&gt;server-side compaction&lt;/a&gt; and &lt;a href="https://platform.claude.com/docs/en/managed-agents/choosing-an-environment" rel="noopener noreferrer"&gt;Managed Agents&lt;/a&gt; with optional &lt;a href="https://platform.claude.com/docs/en/managed-agents/memory" rel="noopener noreferrer"&gt;memory&lt;/a&gt;. OpenAI's &lt;a href="https://developers.openai.com/api/docs/guides/compaction" rel="noopener noreferrer"&gt;Responses API&lt;/a&gt; also does compaction server-side, while its &lt;a href="https://developers.openai.com/api/docs/guides/agents" rel="noopener noreferrer"&gt;Agents API&lt;/a&gt; runs a managed harness. If context, memory, and execution are moving behind APIs, who outside the labs can study the machinery?&lt;/p&gt;

&lt;p&gt;That's a transparency problem. Ours is an accountability problem, if we humans are no longer the bottleneck, we need to know what our agents did while we were away, and a token stream isn't an audit log.&lt;/p&gt;

&lt;p&gt;We debate model weights and benchmarks, but an inference engine only generates tokens. The work that needs monitoring happens around the engine: these new agents retain state, call tools, process results, and keep going. That coordination layer has been absorbed by the labs but it is still opaque.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;agentic server&lt;/strong&gt; sits in that gap—between the harness and the inference engine. A remote harness provisions workspaces and assigns tasks; the agentic server maintains state and runs the tool loops around inference. Neither runs on your machine anymore.&lt;/p&gt;

&lt;p&gt;Today, with no client harness at all, an agent can fix a bug in your codebase entirely from your phone. It can search your codebase, read the docs and tests, edit the code, push to git, and cut a PR on your behalf—&lt;em&gt;all from the cloud&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;As humans begin to operate at a higher level of abstraction we still need the optionality and auditability to inspect every consequential action: which model ran, which tool was called, and what changed? Reproducibility is critical for understanding these systems, but without strong observability and tracing, we cannot innovate on these systems.&lt;/p&gt;

&lt;p&gt;Security can no longer be a second class citizen. In July, an OpenAI's agent escaped a sandbox through a package-registry proxy flaw during an internal cybersecurity evaluation, reached the public internet, and breached Hugging Face's production systems, apparently seeking benchmark answers. Hugging Face reconstructed roughly 17,600 actions over several days. &lt;a href="https://openai.com/index/hugging-face-model-evaluation-security-incident/" rel="noopener noreferrer"&gt;OpenAI's account&lt;/a&gt; and &lt;a href="https://huggingface.co/blog/agent-intrusion-technical-timeline" rel="noopener noreferrer"&gt;Hugging Face's reconstruction&lt;/a&gt; show an experiment that crossed into the real world, and it kept going.&lt;/p&gt;

&lt;p&gt;Every tool is a potential security risk. Code needs a sandbox; credentials, files, and network egress need hard limits. The server and the harness must enforce those limits on the tools they run. Monitoring must catch breaches early.&lt;/p&gt;

&lt;p&gt;It'd be silly to think a prompt is an adequate sandbox. As swarms begin to rise in adoption, every weak point compounds and puts the real world at risk.&lt;/p&gt;

&lt;p&gt;OpenAI's &lt;a href="https://www.openresponses.org/" rel="noopener noreferrer"&gt;Open Responses&lt;/a&gt; gives us a shared interface for defining the shape of an agentic server. The implementation decides how state, tools, sandboxes, failures, and costs work. The open source community needs a project it can build on top of.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/vllm-project/agentic-api" rel="noopener noreferrer"&gt;vLLM Agentic API&lt;/a&gt; is that open layer. Its gateway manages response state, tool loops, and streaming around inference. It works with &lt;a href="https://vllm.ai/" rel="noopener noreferrer"&gt;vLLM&lt;/a&gt;, &lt;a href="https://github.com/vllm-project/agentic-api/blob/main/docs/guides/sglang-upstream.md" rel="noopener noreferrer"&gt;SGLang&lt;/a&gt;, and &lt;a href="https://github.com/vllm-project/agentic-api/blob/main/docs/guides/dynamo-upstream.md" rel="noopener noreferrer"&gt;NVIDIA Dynamo&lt;/a&gt;, and can run with &lt;a href="https://github.com/vllm-project/agentic-api/blob/main/docs/deploying/kubernetes.md#use-llm-d-as-the-inference-backend" rel="noopener noreferrer"&gt;llm-d&lt;/a&gt; for inference routing. Builders can inspect and alter it.&lt;/p&gt;

&lt;p&gt;Open weights let us study the model. They cannot tell us how frontier agents assign work, isolate code, recover from failure, or decide to spend another hour on a problem.&lt;/p&gt;

&lt;p&gt;An open agentic server turns claims into experiments anyone can run. We can revise how agents coordinate, measure the results, reproduce failures, and pursue unexpected ideas. Closed APIs conceal the machinery. Open software empowers the open source frontier to keep innovating.&lt;/p&gt;

&lt;p&gt;Swarms will work while we sleep, pursuing problems no human could manage alone. Their reach will exceed our attention but it shouldn't exceed our ability to question them. We must reconstruct their actions, investigate their failures, and understand the code that governs them.&lt;/p&gt;

&lt;p&gt;I refuse to accept an age of intelligence built behind closed doors, where we can use AI systems but never understand them. Decentralizing the knowledge of these systems is too important. So, please, come join the fight for open-source AI.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>opensource</category>
      <category>security</category>
    </item>
    <item>
      <title>Should You Rewrite It With AI? Aaron Beals on What Breaks</title>
      <dc:creator>Kara Silverman</dc:creator>
      <pubDate>Wed, 11 Nov 2026 01:52:59 +0000</pubDate>
      <link>https://dev.to/dailycontext/should-you-rewrite-it-with-ai-aaron-beals-on-what-breaks-2bng</link>
      <guid>https://dev.to/dailycontext/should-you-rewrite-it-with-ai-aaron-beals-on-what-breaks-2bng</guid>
      <description>&lt;h2&gt;
  
  
  The decision to rewrite
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;For years, rewriting an existing codebase from scratch was considered one of the riskiest decisions an engineering team could make. Is AI changing that calculus, or just making it easier to underestimate the risks?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Both. In the hands of an excellent engineering team, one that knows what they want, knows what "great" looks like, and knows how to build guardrails for AI, the calculus is changing. But a team that's weaker in engineering excellence, or is under incredible pressure from outside to hit unrealistic deadlines, is much more likely to run into complications they didn't anticipate.&lt;/p&gt;

&lt;p&gt;For teams that have the right approach, and are measuring the outcomes, it's still a business decision because it's not free: it takes engineering time and focus, and, of course, spend on tokens.&lt;/p&gt;

&lt;p&gt;In all cases, though, the "second-system effect" still holds. AI hasn't removed the risks of tending toward more complexity, or giving in to the lure of feature creep.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are you seeing that makes teams decide to rebuild software rather than incrementally improve what they already have? Is it technical debt, the opportunity to change architectures, the economics of AI-generated code, or something else?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I've talked to a number of leaders whose senior folks have tossed out a "let's rewrite in Rust" type proposal, but I have yet to hear of someone actually doing it with a major production system. From a business perspective, unless you have crippling performance or security problems, this sort of rework can be hard to justify.&lt;/p&gt;

&lt;p&gt;The drive to knock down technical debt usually comes from security risks more than anything. That's where we're seeing a lot of pressure to rework legacy systems, as the threat of AI-driven attacks is causing teams to analyze their exposure. For instance: The PHP2Shell Vulnerability Heralds Cybersecurity Hell.&lt;/p&gt;

&lt;p&gt;The one category I do hear about is re-architecting to take better advantage of agentic development: changing module boundaries, breaking monoliths into smaller pieces with clear boundaries. This lets your agents work inside the modules separately without conflicts or dependencies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can you walk us through a specific rewrite you've seen or been involved in? What was the original system, what did the team hope to accomplish, and how did the actual process compare with their expectations?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I’ll use one of ours as an example. It’s small, but AI was involved at every step. We did a rewrite, but the rewrite missed the problem we wrote it for.&lt;/p&gt;

&lt;p&gt;We run several open source static analysis tools on the repos we analyze, and a background task loads the results into our database. That task read each results file whole, so on very large repos it hit memory spikes and timed out. We had workarounds, but we wanted to fix the problem. We had tried to fix this twice before, without success.&lt;/p&gt;

&lt;p&gt;Early this year, we tried again. The plan: the scanner writes one record per line, and the reader streams them, falling back to the old format for any job that predated the change. One engineer built it with Claude Code, which co-wrote the plan and every commit of the new reader. Copilot’s code review caught two real bugs before merge, and all the tests passed.&lt;/p&gt;

&lt;p&gt;The new format went live, and the same day production showed the task still needed four or five retries on a large repo. Streaming had fixed the memory spikes, but they weren’t what made the task time out. The clue was that each retry made progress, which doesn’t happen when a task is running out of memory. The real cost was one database insert per row. (We shipped batched inserts the next day.)&lt;/p&gt;

&lt;p&gt;The validation we’d built to verify the change could not have caught that, because the plan’s large-file check was about memory. The tests checked behavior, but didn’t time the analysis of a large repo end to end.&lt;/p&gt;

&lt;p&gt;AI made the build fast and the review thorough. But it wasn’t until we got the code into production that we realized we’d fixed the wrong thing.&lt;/p&gt;

&lt;h2&gt;
  
  
  What breaks
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What's the first thing teams tend to discover they've underestimated once a rewrite is underway? Are there particular problems that consistently show up after the initial excitement of generating a new codebase?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;What breaks most are business assumptions. A few weeks back, I was talking with a leader whose company had decided to do a wholesale rebuild of their SaaS product. What surfaced were years of special cases they had built for customers to get deals done or to secure a renewal.&lt;/p&gt;

&lt;p&gt;These special cases in the code are often caught during the rewrite process—if you're lucky, they're captured as tests. But often these aren't in the core of the product. They're in integrations and custom adapters built by your professional services team or the customer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Legacy software often contains years of undocumented decisions, workarounds, and edge cases. What happens to that accumulated knowledge when AI is asked to recreate the system? How do teams identify what they can't afford to lose?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yeah, that's exactly what I mean! Sometimes they're in the code of the system you're rewriting, and sometimes they sit outside.&lt;/p&gt;

&lt;p&gt;I think this is where teams should be spending the most time. In the vein of what I said above, they need to look at the history of product decisions and exceptions. They'd be well-served to spend more time gathering all the special cases their system was built to handle.&lt;/p&gt;

&lt;p&gt;There's a flip-side to this question, as well: what &lt;em&gt;can&lt;/em&gt; they afford to lose? With the second system effect in mind, teams need to make hard decisions about what the rewrite won't do, to avoid feature bloat and a new but still complicated system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where have you seen AI-generated rewrites fail in ways that weren't immediately obvious? I'm particularly interested in cases where the new software appeared to work but problems emerged in production, at scale, or during integration.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'll point back to the example from above. It's pretty easy to rework a module or service to have the same interface as before, but it's harder to capture all of the ways it's being used.&lt;/p&gt;

&lt;p&gt;"Agentic exuberance" is another failure mode we've seen, both in-house and anecdotally in my conversations with other engineering leaders. Even when instructed otherwise, agents tend toward over-building, which can lead to a more complex system than you’d initially planned.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are there particular categories of software or architectural patterns that are surprisingly good candidates for AI-assisted rewrites, and others where the approach is still a bad idea? What distinguishes them?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Any module or service that has a very clean abstraction is an excellent candidate. And ideally, one where you can keep the existing module or service in place while testing out the new one. This way you can validate the outputs of the new version based on real workloads. (Conversely, any system that only sees very infrequent use is a bad candidate, because you won't get enough new usage to do validation.)&lt;/p&gt;

&lt;p&gt;In terms of other bad candidates: the worst are flexible and extensible systems and APIs. Hyrum's Law is real. That is, despite what you've put in the contract of your interface, someone will come to use it in an unexpected manner. Changing that through a rewrite will likely break your system for some number of users.&lt;/p&gt;

&lt;h2&gt;
  
  
  The engineering reality
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;How does the engineering team's job change during a wholesale AI-assisted rewrite? Where are developers spending less time, and where are they taking on responsibilities they didn't previously have?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The obvious time-savers are writing the code and writing the tests. The team needs to be spending most of their time on the planning process (making sure the plan of attack lines up with their expectations), on the guardrails (making sure the work doesn't break the assumptions in the middle of development), and on the validating (making sure the final result does what you expect).&lt;/p&gt;

&lt;p&gt;If you haven't done this before, or if you're tackling a major rewrite, it's critical to break the work up into pieces and have clear checkpoints where your team is checking the output against the plan and acceptance criteria. These checkpoints are a good moment to change the plan or the guardrails. You don't want to set the machinery in motion, have it work for a few days or weeks, and then start validating the output. You wouldn't one-shot a rebuild of your entire product, so don't treat a rework like that.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do teams establish confidence that the rewritten system actually does everything the original did? Are traditional tests and code reviews sufficient, or does this require a different approach to validation?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No, tests and code reviews aren't enough. Yes, you need a full suite of unit tests, but for a reworked system, you also need integration testing. Code reviews aren’t going to be enough because so much of the system is changing. As I mentioned before, you want to set up clear checkpoints so your team is validating the output of the rework at those stages before work continues.&lt;/p&gt;

&lt;p&gt;I recently heard a talk where the speaker drew an analogy: they said that with agentic software development we’re not heading toward a factory making widgets, but more of a shipyard. There will be plenty of automation, but you’ll still validate each component. If there’s a major problem with a key component, you don’t want to figure that out after the entire ship is assembled (that might be catastrophic). You want to validate each component as it’s produced.&lt;/p&gt;

&lt;p&gt;For software, that means reviewing the initial plan and ensuring that you’re validating at the component level, not the PR level.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does AI meaningfully change the economics of maintaining the resulting software, or does it primarily reduce the cost of creating it? Have you seen teams successfully measure whether the rewrite delivered lasting improvements?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There are reductions in both creation and maintenance costs, but you need to be careful. We are seeing inefficient patterns emerge: extensive rework happening in one agent session, rework of the same code over time by one developer with their agents, and multiple developers/agents reworking each other’s code. This churn is incredibly inefficient and costly over time.&lt;/p&gt;

&lt;p&gt;In terms of lasting improvements, we’re too early as an industry to make that sort of claim. Teams are using platforms to measure outcomes as they adopt agentic development, but it’s still early days. We are certainly seeing initial benefits in speed of response and resolution for bugs, but time will tell how lasting these improvements are.&lt;/p&gt;

&lt;h2&gt;
  
  
  What comes next
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Do you think AI-assisted rewrites will become a normal part of software maintenance, rather than the exceptional, high-risk projects they've historically been? What would need to change for that to happen?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I do. As teams lock down their planning and validation processes, they’ll lower the risks and rewrites will be more common. At minimum, rewrites will be a tool in engineering teams’ toolbox for certain classes of problems, rather than an exception.&lt;/p&gt;

&lt;p&gt;Chad Fowler has been writing about a related idea he calls the Phoenix Architecture: designing systems so components can be thrown away and regenerated, rather than patched forever. I think it’s a really cool direction, and for certain use cases I can see teams rebuilding code on a regular basis instead of treating a rewrite as a once-a-decade event. It also ties back to my point above. You can only burn it down safely if your specs and validation are solid.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If an engineering leader is considering rebuilding a significant part of their stack with AI tomorrow, what questions should they answer before writing the first prompt? And what would make you tell them not to do it?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Like so many things in our work, it all comes back to “why.” Why are they considering making this change? What are their major drivers, and what outcomes do they expect? I’d recommend they answer those questions first, and make sure that the work is worth the effort. Then, I’d encourage them to answer how they’re going to validate the reworked system at each stage. Finally, I’d recommend they come up with a measurement approach for the outcomes. Even if coding and testing are faster and cheaper than it used to be, they still need to support and maintain this new code.&lt;/p&gt;

&lt;p&gt;If they’re rebuilding to solve a clear business problem, and they’ve checked the plan and validation stages to make sure that it’s done properly, I’d say go for it. But if their case rests only on data about the current pain (e.g., time to fix bugs, number of features they couldn’t ship due to current architecture) with no clear, direct, and measurable connection between the rework and the pain, then I’d tell them to go back to the drawing board—er, agent prompt.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>architecture</category>
    </item>
    <item>
      <title>When the Coding Agent Says It Is Done</title>
      <dc:creator>Ramakrishnan Lokanathan</dc:creator>
      <pubDate>Wed, 11 Nov 2026 01:51:03 +0000</pubDate>
      <link>https://dev.to/dailycontext/when-the-coding-agent-says-it-is-done-4mjj</link>
      <guid>https://dev.to/dailycontext/when-the-coding-agent-says-it-is-done-4mjj</guid>
      <description>&lt;p&gt;&lt;em&gt;The work should be easy to verify and continue after the conversation ends.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;An agent changes the code, runs a few commands and says the work is complete. You close the conversation. The next morning, somebody opens the repository. Can they tell what changed, what was checked and what still needs attention?&lt;/p&gt;

&lt;p&gt;When I think about coding agents, this is the handoff I care about. A useful session should leave the project in a state that another person, or another agent, can understand without having to reconstruct the conversation.&lt;/p&gt;

&lt;p&gt;Consider a simple request: fix a settings page so that a user's changes survive a refresh. The agent needs to find the page, understand where settings are stored and see how the application identifies the user. It needs to know which existing behaviour must remain intact. Missing one of those details can produce a change that looks reasonable in isolation and fails in the application.&lt;/p&gt;

&lt;p&gt;This is what makes context engineering a practical problem. The information needed to finish the task may be scattered across code, documentation, a failing test and a decision somebody made months ago. Giving the agent room to read more does not establish that it has found the right information.&lt;/p&gt;

&lt;p&gt;A repository can make that search easier. Keep instructions close to the work they describe. Show how to start the application and run its checks. Record decisions that would otherwise surprise a new contributor. When documentation and code disagree, the agent needs a way to recognise and resolve the disagreement.&lt;/p&gt;

&lt;p&gt;The agent also needs a working environment. If a test cannot run because a dependency is missing, the change remains unverified. A clear record should distinguish a failed test, a check that never ran and a successful check. Otherwise, even an accurate summary can leave the reader with the wrong impression.&lt;/p&gt;

&lt;p&gt;Then consider what happens when the session stops halfway through.&lt;/p&gt;

&lt;p&gt;In &lt;a href="https://www.anthropic.com/research/effective-harnesses-for-long-running-agents" rel="noopener noreferrer"&gt;its account of experiments with long-running agents&lt;/a&gt;, Anthropic described sessions that left features unfinished and later sessions that saw partial progress and declared the project complete. Its approach used explicit feature requirements, progress records and incremental commits to help the next session understand the state of the work.&lt;/p&gt;

&lt;p&gt;Those practices make sense to me because the handoff is familiar. If a colleague takes over a task, I would want them to know the goal, the changes already made, the checks that ran and the unresolved questions. A summary helps them get started. The actual changes and test output let them check whether that summary is right.&lt;/p&gt;

&lt;p&gt;Completion needs a check of its own. For the settings page, saving a value and refreshing the page tests whether the change survives. Checking the same flow with a second account helps test that users' settings stay separate. The acceptance criteria should follow the behaviour we asked for, including the boundaries around it.&lt;/p&gt;

&lt;p&gt;Apply the submitted change to a clean checkout and repeat the relevant checks. That can expose a dependency on something left behind in the agent's session. It still cannot tell us whether the requirements were complete or whether the tests missed an important case. Review remains part of the work.&lt;/p&gt;

&lt;p&gt;If the agent changes a test, inspect why. The expected behaviour may legitimately have changed. Or the test may have been weakened until the new implementation passed. A green result is useful only when we understand what it establishes.&lt;/p&gt;

&lt;p&gt;I would start with this fairly ordinary discipline before adding more agents and more orchestration. Make the necessary information findable, preserve enough state to recover, and give completion a meaning that somebody else can check.&lt;/p&gt;

&lt;p&gt;The next morning, the conversation may be gone. The repository should still be able to explain the work.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>testing</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Ask More of Your UI</title>
      <dc:creator>Ben Halpern</dc:creator>
      <pubDate>Wed, 11 Nov 2026 01:39:15 +0000</pubDate>
      <link>https://dev.to/dailycontext/ask-more-of-your-ui-2nf7</link>
      <guid>https://dev.to/dailycontext/ask-more-of-your-ui-2nf7</guid>
      <description>&lt;p&gt;In &lt;strong&gt;&lt;a href="https://dev.to/dailycontext/our-looping-factory-cut-dev-page-load-time-by-75-and-counting-1hnf"&gt;my last post&lt;/a&gt;&lt;/strong&gt;, I wrote about moving &lt;a href="https://github.com/forem/forem" rel="noopener noreferrer"&gt;Forem&lt;/a&gt;’s performance and maintenance work into autonomous loops on top of &lt;a href="https://github.com/All-Hands-AI/OpenHands" rel="noopener noreferrer"&gt;OpenHands&lt;/a&gt;. Over a month, those loops shipped 351 pull requests, cut average Rails request time from 70ms to 16ms, and got me out of the business of being a human clipboard between dashboards and terminals.&lt;/p&gt;

&lt;p&gt;Stepping out of the day-to-day execution loop immediately creates a different problem: once the factory is running on its own, how do you actually &lt;em&gt;see&lt;/em&gt; it?&lt;/p&gt;

&lt;p&gt;Text-driven interfaces will always be powerful. The terminal, the prompt box, and the markdown log are native to how language models work and how developers express ad-hoc intent. None of that is going away.&lt;/p&gt;

&lt;p&gt;What is strange is &lt;strong&gt;how uncreative almost all of the UI surrounding AI tools is right now&lt;/strong&gt;. We have the most capable software-generating engines in history, and our nearly universal interface for operating them is a dark-mode chat window with a blinking cursor and a scrolling wall of JSON tool calls.&lt;/p&gt;

&lt;p&gt;A chat box is a fine place to have a conversation. It is a terrible instrument panel, and &lt;strong&gt;every platform looks the exact same&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Scrollback is not observability
&lt;/h2&gt;

&lt;p&gt;With a single interactive session, you can hold the state of the world in your head. You know the branch, the model, and why a test failed because you watched the text stream by.&lt;/p&gt;

&lt;p&gt;The moment you move to eight autonomous loops firing every ten minutes across isolated git worktrees, three frontier model subscriptions, and dozens of in-flight pull requests, chat scrollback breaks down. Answering basic operational questions from a list of chat transcripts turns you right back into a meat router:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Did the Rust loop stop opening PRs because it ran out of candidates, because its &lt;code&gt;WIP &amp;lt;= 1&lt;/code&gt; gate is full, or because a stale &lt;code&gt;.gitconfig.lock&lt;/code&gt; wedged the worktree?&lt;/li&gt;
&lt;li&gt;Did Claude Opus 5.5 just hit a rate-limit cooldown, and did the router cleanly hand the next tick to Gemini 4 Argon or GPT-6.1 Sol?&lt;/li&gt;
&lt;li&gt;Is PR &lt;code&gt;#24547&lt;/code&gt; healing itself on its 10-minute CI check-in, or has it burned three repair rounds on the same failing spec?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you have to click into five conversation logs or run four CLI commands to reconstruct that picture, the interface is failing you. Good observability isn’t about having all the logs somewhere. It’s about shaping the data so you can make a clear decision in five seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using the tools to build the instrument panel
&lt;/h2&gt;

&lt;p&gt;The irony of bland AI interfaces is that the very tools we are staring at make it trivial to build better ones.&lt;/p&gt;

&lt;p&gt;I have no illusion that a dashboard I spin up in an afternoon will rival what the best dedicated AI observability products should look like a year or two from now. We are still in the early days of figuring out the visual grammar for managing autonomous software, and dedicated platforms will eventually nail this.&lt;/p&gt;

&lt;p&gt;Until they do, you don’t have to settle for the generic default. A bespoke interface built around your system’s exact levers will beat a one-size-fits-all chat shell every time, and AI coding tools let you iterate on that interface as fast as the underlying system evolves.&lt;/p&gt;

&lt;p&gt;In an effort to do more than just complain, I prioritized building a custom control center right alongside the loops themselves.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Automation Observatory
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flayjtwtytd6jpuw3b2q4.png" 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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flayjtwtytd6jpuw3b2q4.png" alt="observatory" width="800" height="667"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I ditched the default OpenHands theme and home page for a custom observability platform. I consider this &lt;em&gt;the least I can do&lt;/em&gt;, but part of the maintenance itself is improvements in the tooling over time, so this is a work in progress which I hope will yield some creative results. &lt;strong&gt;Packaged as a Schema v1 Canvas extension, it survives upstream upgrades without forking the core app.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every section maps to a concrete decision I needed to make while tuning the factory:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. The Autonomous Loop Registry.&lt;/strong&gt; Instead of recent chats, the centerpiece is an Airtable-style ledger table showing all nine workflows (&lt;code&gt;perf-loop&lt;/code&gt;, &lt;code&gt;rust-loop&lt;/code&gt;, &lt;code&gt;error-loop&lt;/code&gt;, &lt;code&gt;test-loop&lt;/code&gt;, &lt;code&gt;deps-loop&lt;/code&gt;, &lt;code&gt;issue-loop&lt;/code&gt;, &lt;code&gt;github-pr-reviewer&lt;/code&gt;, &lt;code&gt;pr-merge-loop&lt;/code&gt;, and &lt;code&gt;worktree-pruner&lt;/code&gt;). Each row shows live status, cadence, WIP cap, and open PRs, with inline controls to pause, trigger a run, or pin a specific model provider.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Frontier Subscription Balance and Cooldowns.&lt;/strong&gt; A three-column sheet tracks our model router across Gemini 4 Argon (&lt;code&gt;agy-acp&lt;/code&gt;), Claude Opus 5.5 (&lt;code&gt;claude-acp&lt;/code&gt;), and GPT-6.1 Sol (&lt;code&gt;codex-acp&lt;/code&gt;), showing run distribution, whether any provider is in an 8-hour cooldown, and a one-click reset when credentials refresh.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The Open PR Check-In Radar.&lt;/strong&gt; Every autonomous PR is watched on a &lt;code&gt;5 -&amp;gt; 10 -&amp;gt; 20 -&amp;gt; 40&lt;/code&gt; minute exponential back-off schedule for CI failures or review comments. The radar lists every open PR in that queue, its current back-off step, repair rounds attempted, and a live countdown to its next check-in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Ephemeral Worktree Hygiene.&lt;/strong&gt; A bottom ledger tracks the count and age of isolated &lt;code&gt;/data/worktrees/*&lt;/code&gt; checkouts, read-only Postgres health, and Mac bridge status. When parallel &lt;code&gt;git gc&lt;/code&gt; runs left orphaned directories behind, it showed up here immediately as worktree ages creeping past an hour.&lt;/p&gt;

&lt;h2&gt;
  
  
  Designing for human judgment
&lt;/h2&gt;

&lt;p&gt;None of this replaces text. When I want to explore a feed-ranking idea or pair on a four-phase JavaScript asset cleanup, I still click "New Chat" or open a terminal.&lt;/p&gt;

&lt;p&gt;But separating &lt;em&gt;conversation&lt;/em&gt; from &lt;em&gt;supervision&lt;/em&gt; changed how the whole system feels to run. A good interface compresses operational noise into peripheral vision. I can glance at the Almanac over coffee, see that eight loops are green, notice that &lt;code&gt;rust-loop&lt;/code&gt; is pinned to Argon with one PR in review, and close the tab.&lt;/p&gt;

&lt;p&gt;We are barely scratching the surface of what human interfaces for agentic systems should look like. For now, the best part of having agents that write code is that you don’t have to wait around for someone else to design the cockpit.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>webdev</category>
      <category>architecture</category>
    </item>
    <item>
      <title>The Fastest LLM Call Is The One You Never Make</title>
      <dc:creator>Chinmay Goyal</dc:creator>
      <pubDate>Wed, 11 Nov 2026 01:37:24 +0000</pubDate>
      <link>https://dev.to/dailycontext/the-fastest-llm-call-is-the-one-you-never-make-34lo</link>
      <guid>https://dev.to/dailycontext/the-fastest-llm-call-is-the-one-you-never-make-34lo</guid>
      <description>&lt;p&gt;At Glean, we tested a model that does not write text. It only makes decisions.&lt;/p&gt;

&lt;p&gt;In our tests, it caught 99 out of 100 prompt injections hidden in documents, in about a tenth of a second, at about half the cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Most AI steps are decisions
&lt;/h2&gt;

&lt;p&gt;One AI answer can hide many small calls. What kind of request is this: a question, a summary, or a task? Which model should handle it? Is this prompt safe? Which follow-up should we show?&lt;/p&gt;

&lt;p&gt;Each has an answer you can list in advance: a label, a yes or no, or a score. Yet we send each one to a full LLM, wait for it to write text, and parse that text back into a label. It's like asking for an essay when all you need is a checkbox.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a System 1 model does
&lt;/h2&gt;

&lt;p&gt;A System 1 model is built to answer these bounded questions directly. The model we tested is Jev, a "System One" model from TypeSafe. You send it state, like a prompt, chat history, or JSON, plus typed questions. It returns typed answers with probabilities: yes or no, one pick from a list, or a score. There is no text to parse. Input costs $0.042 per million tokens, and output is free.&lt;/p&gt;

&lt;h2&gt;
  
  
  By the numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;8.1x faster routing to the right expert, with better precision on every route&lt;/li&gt;
&lt;li&gt;7x faster follow-up suggestions, with timeouts down from 10.2% to 0.8%&lt;/li&gt;
&lt;li&gt;90% of unsafe content caught by our first-pass guardrail, at about half the monthly cost&lt;/li&gt;
&lt;li&gt;0 training runs to reach 90% of a fine-tuned model's agreement&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What we found
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Guardrails.&lt;/strong&gt; A fast first-pass screen checks every prompt, tool output, and response, and an LLM reviews only what it flags. With Jev as the screen, it caught 90% of unsafe content in our test sets, with about 91% precision. It did best where risk is hardest to see:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Prompt injections hidden in retrieved documents: 99% caught&lt;/li&gt;
&lt;li&gt;Malicious code in responses: 97% caught&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Across 22.5 million calls on our internal deployment, median time was 137 milliseconds. It runs alongside the LLM, so users do not wait. Monthly cost fell from about $4,000 to $2,100.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Follow-up suggestions.&lt;/strong&gt; After each answer, a ranker shows at most one next step, or none. When a turn showed nothing, 58% of the time it was not a choice: the LLM ranker had timed out or returned an answer we could not use.&lt;/p&gt;

&lt;p&gt;We replaced it with one Jev question whose options were the candidates plus "none." Median ranker time fell from 4.67 to 0.67 seconds, invalid answers went from 10 to 0, and turns with a suggestion rose from 83% to 91%.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Routing.&lt;/strong&gt; On 751 labeled requests, Jev picked the right expert more often on every route. On one expert, precision went from 47% to 87%. When a request needed an expert, the call was 8.1 times faster at the median.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Query classification.&lt;/strong&gt; This one was mixed. With no training, Jev agreed with our production labels 66.8% of the time, against 74.5% for a fine-tuned open model. Fine-tuning wins when labels are stable; no training wins when they keep changing.&lt;/p&gt;

&lt;h2&gt;
  
  
  What made it work
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Let the model say "not sure."&lt;/strong&gt; Every answer has a probability, so you can set a cutoff. If the top pick is 0.49 and the cutoff is 0.50, we show nothing. Showing nothing often beats a weak suggestion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Give every call a time budget and a fallback.&lt;/strong&gt; Our chat path allows 2 seconds, no retries. On a timeout or bad answer, we keep today's behavior.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion: A simple rule
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Can the output be listed in advance? If not, keep a generative model.&lt;/li&gt;
&lt;li&gt;If it can, benchmark a decision model.&lt;/li&gt;
&lt;li&gt;If you also need text, use both: the decision model picks the tool, and the LLM writes the arguments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The fastest LLM call is the one you never make. Generate when you must. Decide when you can.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>agents</category>
    </item>
    <item>
      <title>Kent C. Dodds Hasn't Looked at His Code All Year</title>
      <dc:creator>Kara Silverman</dc:creator>
      <pubDate>Wed, 11 Nov 2026 01:36:37 +0000</pubDate>
      <link>https://dev.to/dailycontext/kent-c-dodds-hasnt-looked-at-his-code-all-year-gd5</link>
      <guid>https://dev.to/dailycontext/kent-c-dodds-hasnt-looked-at-his-code-all-year-gd5</guid>
      <description>&lt;p&gt;At the start of this year, Kent C. Dodds gave a coding agent a link to a GitHub issue he had been putting off for ages and typed two words: “Fix this.” A couple of hours later, it was done. For someone who built a career teaching developers the fine details of React, that was the moment everything moved. His course sales dropped. He had what he calls an existential crisis. Then he got to work.&lt;/p&gt;

&lt;p&gt;Eleven months later, Dodds says he has barely looked at code all year. He has built a product with paying users that runs close to 1.5 million lines, by himself, and his agents merged roughly 1,300 pull requests in the last 30 days, most of them while he wasn't watching. They also complain. After every change ships, each agent files “friction reports” about whatever slowed it down, and another agent fixes them overnight.&lt;/p&gt;

&lt;p&gt;Ahead of his AIE Code Summit workshop on November 10, we talked about his relationship with AI (great, he says, if exhausting), how he's handling it with his kids, why he thinks most skills are bad, where deterministic code beats prompting, and Kody, the product that grew out of all of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Q&amp;amp;A
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Tell me about yourself.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;[My work has] changed a lot, because people don't need to learn how to implement software anymore, at least not the way we used to. So I'm currently trying several things. One is mega.dev, where I'm teaching people how to build quality applications, specifically products, with agents. Another is that I'm getting into YouTube. I'm posting weekly, with sponsors and all of that. I'm also teaching about product engineering at epicproduct.engineer, where I have a podcast and have run some workshops. And finally, the thing I'm most excited about is Kody. That's Kody.codes, where I'm trying to solve the problem of working with multiple agents, whether that's just you or a team, and making automations and credentials accessible to all of them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is your relationship to AI?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I have a great relationship with AI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You're the first person to say that.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Really? There are certainly bumps. The thumbnail for my video last week was me lying in bed in a dark room, staring at my phone, exhausted, because they just won't let me sleep. I'm working too much. So I suppose that's the negative side of my relationship with AI. But outside of that, I've never had more fun building products. I'm working a lot more, for sure, but I'm getting so much more done with every minute of work. I'm getting days' worth of work done. So I'm thrilled, and it's exciting.&lt;/p&gt;

&lt;p&gt;It definitely tanked my business, which I was expecting to ride off into the sunset with. But I'm not mad about that. All of my past courses are open source on GitHub, so the models are trained on what I've taught people to do. Part of me feels like that's a cool thing, that my legacy can continue on in these models, which I think is actually great. But it also means I have to find a way to feed my family. I'm actively working on that, and I'm optimistic. So I think AI has been a net positive for the world, and certainly for my family, and we'll see where it goes from here.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You mentioned AI changing the course of your business, and you've been rethinking what a software engineer is and how people learn those skills. What did that fork-in-the-road moment feel like, and how did you get through it?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I can talk about this at length, so feel free to interrupt me.&lt;/p&gt;

&lt;p&gt;Almost a year ago, we got Opus, and that really changed the game. GPT-5 came out soon after, and agents, or really harnesses, improved a great deal as well. So when everybody got back from Christmas break and started using these new models, it was very clear that the game had really changed. Maybe not to everybody, but they eventually figured it out.&lt;/p&gt;

&lt;p&gt;I gave a Cursor cloud agent a really big task. It's recorded in one of my videos. For my workshops, I have a web app you run locally that shows a video for every exercise, and somebody had asked a long time ago whether we could add the ability to download the videos and watch them offline. That was a big, hairy problem I had just kept putting off. I thought, this model's pretty good, let's try it on that. There wasn't any spec writing or anything. A user had posted the issue, I'd said that's hard, maybe I'll get to it eventually, and that was it. I took the link to that GitHub issue, gave it to the agent, and said, “Fix this.” That was the entire prompt.&lt;/p&gt;

&lt;p&gt;A couple of hours later it said, “I'm done.” And it nailed it. I made some small tweaks and adjustments, but that was my moment. Not only was it able to do this big job, it ran in the cloud completely autonomously, so I could run an infinite number of those jobs, as many as I can think up. And it turns out you don't need a really complicated prompt to make it happen.&lt;/p&gt;

&lt;p&gt;So I thought, did I need to know the difference between React's useState and useReducer, or whether to use useEffect, or any of the other deep React knowledge I've been teaching people all these years? No, I didn't need to know any of those things. You have to understand that the agent was working within a codebase that had patterns and everything set up, and it takes an engineer to set that up. At least it did at the beginning of the year. But I could see the trajectory, and there was nothing that made me think it wouldn't continue. It all seemed like this is the way we're going, and I only see up and to the right on these capabilities.&lt;/p&gt;

&lt;p&gt;So what does that mean for me, somebody who's been teaching people the nitty-gritty details of code? Even up to that point, we had gone from tab-complete to just talking to the agent and having it write the code, but we were still watching the code. I could see that we'd stop watching the code, and eventually we'd stop looking at the diff. Which is where I am now. I haven't looked at code pretty much all year.&lt;/p&gt;

&lt;p&gt;That's substantial, because I've built a product with paying users that's almost 1.5 million lines of code, by myself, and I haven't looked at basically any of it. So it's had the transformation I expected at the beginning of the year: people just don't need to look at the code. My product was kind of a proving ground for that, and then it turned into, wow, this is actually a product. I can tell you that whole story later. But at the beginning of the year, I had this existential crisis. What is it that I even do here now?&lt;/p&gt;

&lt;p&gt;So I played it out in my mind. My whole thing has been teaching people durable skills that stay valuable and help them build valuable things and excellent user experiences. The skills I've been teaching are no longer valuable. My course sales are going to tank. And they did. So what do I do now?&lt;/p&gt;

&lt;p&gt;I played out the future. Let's pretend we eventually get to a point where the entire industry is dissolved, because anybody can build software with the thing in their pocket without knowing how to build software. In fact, they don't even build software, because the agent proactively does it for them. If you play it out that far, you can't prepare for what you're going to do, because it's just so different. You have no idea what it'll look like. Is it Terminator or is it Star Trek? We don't know.&lt;/p&gt;

&lt;p&gt;So I took it one step back from that. The software engineering discipline is still a thing. People are still doing valuable work. What is it they're doing that's still valuable? If I can teach people that, then at least I'm teaching the most valuable thing, the thing that will last until the industry's gone. Of course, you can't actually know that, because you're predicting the future, but I did my best and decided it's product engineering. That's where the product engineer idea came from.&lt;/p&gt;

&lt;p&gt;To be clear, this isn't a new idea. I've been talking about product engineering for over a decade. People talk about it, and most people have a pretty good idea of what it means. But I decided to talk to people I think are really good product engineers, and that turned into the podcast, Become an Epic Product Engineer. Over the years I've been talking with excellent product engineers, filling in gaps I didn't know I had, and figuring out how to get those skills into the minds of the people in my audience to prepare them for the inevitable.&lt;/p&gt;

&lt;p&gt;Even right now, I think it's important to understand systems, to be able to design systems, and to be able to communicate your intent to an agent so it can implement what you intend. But I'm not confident that will be the case in a year. I think agents are already getting good at systems design and architecture, and they'll certainly be really good at it by next year. And communicating intent only matters until agents figure out they need to ask the right questions to get your intent from you. Then even a non-technical person can communicate their intent, because they're just answering questions. So I don't think those are very durable skills either.&lt;/p&gt;

&lt;p&gt;So what's left? Having a vision for what you want the agent to do, or what you want to exist in the world, and having the finances to make that happen with the models that are available. So there you go. That's the long answer. I can also talk about how I came to build Kody and how that turned into an actual product, but that's where I started the year.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You've argued that agents tend to silently find workarounds rather than fix the underlying issue, so you built a system that forces them to log friction reports. You make them complain, essentially. What does that look like under the hood, and how do you keep it from spiraling into a pile of low-signal issues?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;First of all, signal hasn't been a problem. They're actually pretty good at identifying high-signal problems. I think a lot of that comes from the fact that I have them log friction after they finish getting their work into production. If you just say, “Go find all the problems in the codebase,” they'll do that. They'll find problems, but they'll be really low-value problems. Part of what a friction issue is graded on is what it costs. So if it's “this function was duplicated over here,” well, what was the cost? Nothing. They're not going to log a friction issue on something that didn't actually cost them anything.&lt;/p&gt;

&lt;p&gt;I can describe at a high level how it all works. I have a process my agents follow once they've finished implementing what I've asked for. That process is facilitated by a package I created in Kody that's just deterministic code. I can send you a link to it. There's a section in there that lays out the steps the agent goes through, and the skill would be useful too.&lt;/p&gt;

&lt;p&gt;I actually don't really like skills. I think most skills are bad, because they're too long, and there are too many things in them that could be deterministic software instead.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I literally just went through this with someone, editing one of my skills.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Agents are going to put every edge case and every single thing inside that skill. So instead I say, let's turn this into deterministic software, and that's what Kody does for me. It bundles this up into a series of steps.&lt;/p&gt;

&lt;p&gt;The first step is to mark the PR from draft to ready, which triggers CI and the AI review agents. The next steps go together: check CI to make sure the workflows are passing, and iterate until they are; then AI review, and iterate on the valid review feedback until it's ready. What's cool about the way this is structured is that the agent only gets what it needs, when it needs it. It runs the CLI command in Kody, and Kody says, here's where things are right now, and here's what you need to do next. So it gets its instructions as it needs them. CI is failing right now, here's what you need to know about that, go fix it. And here's the review you just got. It gets everything it needs in a single CLI execution. You could do this through MCP as well, but CLI is just more efficient.&lt;/p&gt;

&lt;p&gt;Once everything is green, the next step is to merge, based on the risk policy. At this point, the agents pretty much merge everything for me. I never press the merge button, and I almost never review, either. Most of the 1,300 pull requests merged in the last 30 days were merged when I wasn't paying attention. That's something like 40 pull requests a day. It's kind of fun.&lt;/p&gt;

&lt;p&gt;The agent isn't done once it's merged. It watches CI to make sure the change gets into production properly, and if CI fails, it fixes it. Once it's in production, it knows it isn't done with ship PR yet, so on the next tick it runs the CLI command again, and the ship PR package says your next step is to log friction, and here's what that means: look through your history and find all the things that were really irritating. It uses another package to log friction, which opens a GitHub issue with a specific template. It assigns a priority from P0 to P4, notes whether I'm needed to make some sort of product decision or whether it can be handled on its own, what the cost was, that sort of thing. It can file a bunch of friction issues, too.&lt;/p&gt;

&lt;p&gt;Once it's done with that, it reports to a personal channel I have with my bot on Discord, so I have one place that shows everything that's made it into production. I just scroll through it. Each entry is labeled with how hard it was and whether any cleanup was necessary, with a link to the agent so I can go see its work if I need to.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your ship PR pipeline relies on deterministic CLI tools rather than giving an LLM free rein with general instructions. Maybe it's a false dichotomy, but where do you think the line is between what should be codified as strict deterministic logic and what you let the agent figure out?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;First, I want to mention one last thing about friction cleanup. The agents log the friction, but every night I have another agent that goes through it, and that's also deterministic code. It uses a decision model to classify all the friction issues into buckets of similar issues, then sends them to a cloud agent that goes and fixes them. So I wake up every morning to a ton of emails saying, here are all the friction issues that were fixed.&lt;/p&gt;

&lt;p&gt;As for where the line is, I think it's easier to start with the prompt side. I don't do prompt engineering. I really never did. I pretty much always just have a conversation with an agent about what we're trying to do. Once it can repeat back to me what I want, I say, “What are the gaps left?” When it says, “No gaps, I think I'm ready,” I say, “Great, make it happen.” I used plan mode a little bit last year, but it's pretty much always been: have a conversation, find alignment, make sure we cover all the gaps we can identify, and then I say, go do it. That's certainly how I do things now.&lt;/p&gt;

&lt;p&gt;In fact, just before this call I was on a walk, talking out loud on my phone with my coding agent, GrokBot. I say, OK, what's the top priority? Let's talk about it. What are the trade-offs? What are the open problems? We take them one at a time and make a decision. Or, you need to do more research, or you need to instrument the code so we can be more confident. Great, go do that, and bring it back up once we have the data we need. And we go through everything that way. That's how I do my prompting now.&lt;/p&gt;

&lt;p&gt;GrokBot doesn't implement it, though. It creates an agent, whether that's a Cursor cloud agent or a Devin cloud agent, and I'm trying to get Amp Orbs working now as well. I've got Copilot in there too, so GrokBot can spawn an agent in any one of these. And it works super well. Once I've finished that conversation and made all the decisions, I say go, and we don't talk about it anymore. It ends up in production in an hour or two, depending on how big it is. Some of them are really big. That's how I built organizations, which is not a small feature. You go from individual accounts to organizations with teams and everything. You just talk about it until you're confident you've got it.&lt;/p&gt;

&lt;p&gt;Sometimes I'll also say, take this plan you've made (I don't make the plan, the agent does), send it to a Devin cloud agent, and have a conversation with Devin. I have it set up so GrokBot and Devin can talk back and forth. Talk about it with each other, and come back to me with any remaining gaps that don't have an obvious answer. And that's my prompt engineering.&lt;/p&gt;

&lt;p&gt;So where's the line for determinism? Like I said, I'm long-winded. It actually doesn't change from the way it used to be. Let's pretend these aren't agents. They're humans I've hired to do work for me. Sometimes it makes sense to tell that person, “Hey, you've done this a lot. Could you build some automation so you don't have to do it over and over again?”&lt;/p&gt;

&lt;p&gt;My hope is that eventually agents develop that intuition themselves and say, “I've done this a lot, I should probably automate it.” Kody is a key part of that for them, because I can put the automation inside Kody and then any agent can use it, not just one ecosystem, which is the problem Kody solves. Right now the burden is on me to proactively say, “We're talking about this a lot. Why don't we build a deterministic thing to make it repeatable and more reliable?” But I expect that soon, as these AI assistants continue to improve, they'll be looking for cost-saving and reliability measures, and that means software. They'll be building more and more software under the hood.&lt;/p&gt;

&lt;p&gt;The danger is that you go really deep with one of these, say Muse, and it builds all this software. It's really fine-tuned, it's greased the wheels and everything. Then you decide you want to switch to something else for any reason, and you have to build all of that up again. That's why Kody exists.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That was actually going to be my next question. Tell me about Kody.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'll give you the long story, because I'm feeling like telling the long story, and you said more content is better.&lt;/p&gt;

&lt;p&gt;Last year I made a course about MCP. I was an early voice in the MCP world, when everybody was saying it was just a fad. I said, nope, this is the future. And I was so right. I love taking credit for my good bets. This year I promised people I'd update the course. I kind of feel weird about that now, because I don't think people need a course on anything like that anymore, but I did promise them.&lt;/p&gt;

&lt;p&gt;So at the beginning of the year I was exploring Code Mode, which Cloudflare made popular, and I wondered how far we could actually take it. Could we take really any arbitrary code, not just as a way to optimize MCP server usage, and generalize it into a mechanism for any agent, coding agent or not, to write and execute code? It was kind of a demo, a way of saying, let me show you how far we can take MCP and how powerful it really can be.&lt;/p&gt;

&lt;p&gt;After it actually started working, it became something I used in my personal life. I plugged it into the blinds in my house, and now my blinds open relative to the position of the sun during the day, whether it's overcast, and what the temperature is going to be, because all of that factors into whether the house heats up more than it needs to or there's glare coming off the countertops. It changes every day, so you can't just set a schedule. That's pretty sick to have. And it's all deterministic, too. With OpenClaw I could have done the same thing, except OpenClaw is like, every 15 minutes I'm going to wake up and charge you 25 cents. Deterministic means this will cost you less than a penny every time it makes the plan each day. I like that better, and it's going to be more reliable. It does exactly what I expect it to do. And my agent can just build that software.&lt;/p&gt;

&lt;p&gt;So it became something I was showing off. Look, it's an open source project, you can use it yourself, deploy it to your own Cloudflare account. It's awesome. Then it started taking real shape as Cloudflare added its Artifacts support, so you've got GitHub repos, and you can bundle stuff in Durable Objects as well. It used to be just lines of code saved in D1 that would execute on a cron. Now I can make a repo with all this code, bundle it, put it into KV, and execute it in the custom Kody runtime. Now you have packages that can depend on each other. It's like your own mini GitHub and npm ecosystem. It's very cool.&lt;/p&gt;

&lt;p&gt;Once I had that, I thought this could actually be a bigger product that other people would use, and even pay me for, because it does cost money and I need to make it sustainable. So around August I decided to make it a real thing, and I launched it, I think, the first week of September. Then I added support for teams and organizations, and now I'm trying to make it a sustainable business by going after businesses, because consumers are a lot harder to target.&lt;/p&gt;

&lt;p&gt;The other thing I skipped is credentials management. When you're integrating with third-party services, like if I want an agent that does something based on my calendar or a Google spreadsheet, being able to integrate is useful, but I don't want my agents to have those keys. Right now most people have a .env file on their file system with access to their production database, and that's just really dangerous. I did a video a couple of months ago about an event in April where an agent accidentally deleted a production volume that stored not only the production database but also all the backups, so they lost months of data. That was really, really bad on a lot of levels, and it only happened because the key was accessible to the agent.&lt;/p&gt;

&lt;p&gt;The way credentials work in Kody, it's impossible for the agent to get access to the credential, but it can reference it and use it. You can tie a credential to a particular domain, so it can't be sent somewhere it isn't allowed to go. You can tie it to a particular part of the request, so it can't go in the body; it has to go in the headers. You can also tie it to a particular package. So I could have a god-level token for Google that can do everything I can do in Google, plus a package that only lets it draft email, and that token is only accessible through that package. I can also lock the package so the agent can't change it. So I have a god-level token that can only be used to draft emails. That's a pretty powerful thing. And now with teams, I can share that credential with other people, or share the package and they can plug in their own credentials. There's a lot of powerful flexibility there.&lt;/p&gt;

&lt;p&gt;So anyway, now that I've sold you on Kody, that's it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You're running a workshop at the summit. What's it about?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My workshop is pretty much about that ship PR process and how I help agents. I'll be talking about a three-pillar flywheel that lets you do what I've been doing. The first pillar is getting agents to build the right thing in the first place. The second is review and verification: how you catch mistakes before they get through the PR review process. The third is how to limit the blast radius if mistakes do make it into production, with things like disaster recovery and feature flags. That's what my workshop is going to be about. It's on the 10th.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Kent C. Dodds is &lt;a class="mentioned-user" href="https://dev.to/kentcdodds"&gt;@kentcdodds&lt;/a&gt; everywhere. His workshop runs November 10 at AIE Code Summit.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>career</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
