<?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: aymen ben Yedder</title>
    <description>The latest articles on DEV Community by aymen ben Yedder (@aymen_benyedder_616fc74f).</description>
    <link>https://dev.to/aymen_benyedder_616fc74f</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4058382%2F74c7d052-5e14-438a-9a3f-4aee3da9e544.png</url>
      <title>DEV Community: aymen ben Yedder</title>
      <link>https://dev.to/aymen_benyedder_616fc74f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aymen_benyedder_616fc74f"/>
    <language>en</language>
    <item>
      <title>I Was GitOps's Biggest Advocate. Then I Watched Auto-Sync Roll Back a Good Deploy at 3 AM</title>
      <dc:creator>aymen ben Yedder</dc:creator>
      <pubDate>Sun, 16 Aug 2026 18:47:55 +0000</pubDate>
      <link>https://dev.to/aymen_benyedder_616fc74f/i-was-gitopss-biggest-advocate-then-i-watched-auto-sync-roll-back-a-good-deploy-at-3-am-1ga8</link>
      <guid>https://dev.to/aymen_benyedder_616fc74f/i-was-gitopss-biggest-advocate-then-i-watched-auto-sync-roll-back-a-good-deploy-at-3-am-1ga8</guid>
      <description>&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%2Fyp3pus50okjljzk2en2i.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%2Fyp3pus50okjljzk2en2i.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
GitOps is not the problem, unchecked reconciliation is. When auto-sync and self-heal run without a human approval gate, the reconciliation loop becomes an autonomous rollback engine that can undo good deploys, misfire on drift false positives, and burn team trust. The fix is not abandoning GitOps; it is adding guardrails: human approval gates before sync, selective self-heal (disable auto-sync for high-risk apps), dry-run + diff review in CI, and progressive delivery instead of blunt auto-rollback.&lt;br&gt;
&lt;a href="https://aymen.benyedder.top/blog/gitops-reconciliation-auto-sync-human-gate-2026/" rel="noopener noreferrer"&gt;read more ... &lt;/a&gt;&lt;/p&gt;

</description>
      <category>gitops</category>
      <category>cicd</category>
      <category>devops</category>
    </item>
    <item>
      <title>AI Writes 41% of Code. Only 29% of Devs Trust It. Review It Like a Senior Engineer</title>
      <dc:creator>aymen ben Yedder</dc:creator>
      <pubDate>Sat, 08 Aug 2026 00:47:49 +0000</pubDate>
      <link>https://dev.to/aymen_benyedder_616fc74f/ai-writes-41-of-code-only-29-of-devs-trust-it-review-it-like-a-senior-engineer-22hm</link>
      <guid>https://dev.to/aymen_benyedder_616fc74f/ai-writes-41-of-code-only-29-of-devs-trust-it-review-it-like-a-senior-engineer-22hm</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Cross-post note:&lt;/strong&gt; Condensed syndication of the full article on&lt;br&gt;
&lt;a href="https://aymen.benyedder.top/blog/ai-code-review-verification-2026/" rel="noopener noreferrer"&gt;aymen.benyedder.top&lt;/a&gt;.&lt;br&gt;
The &lt;code&gt;canonical_url&lt;/code&gt; points at the original so search engines attribute ranking to the source.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The one-line summary
&lt;/h2&gt;

&lt;p&gt;41% of all code produced globally is now AI-generated — and in some organizations AI authorship already sits at 90%. Only &lt;strong&gt;29%&lt;/strong&gt; of developers trust the accuracy of the tools that write it, and &lt;strong&gt;66%&lt;/strong&gt; report spending more time debugging AI output than expected.&lt;/p&gt;

&lt;p&gt;Treat AI code like code from a capable junior who is fast, confident, and occasionally hallucinating: verify behavior by &lt;strong&gt;execution, not by reading&lt;/strong&gt;; treat tests as &lt;strong&gt;evidence, not proof&lt;/strong&gt;; resolve every suggested dependency against the registry; and &lt;strong&gt;never auto-merge&lt;/strong&gt;. The bottleneck has moved from generation to verification.&lt;/p&gt;

&lt;h2&gt;
  
  
  The trust collapse is measurable
&lt;/h2&gt;

&lt;p&gt;Stack Overflow's 2025 survey (49,009 developers) shows a workforce that adopted AI universally and lost faith in it simultaneously:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;84%&lt;/strong&gt; use or plan to use AI tools, up from 76% in 2024&lt;/li&gt;
&lt;li&gt;Trust in accuracy of AI answers fell &lt;strong&gt;40% → 29%&lt;/strong&gt; in a single year&lt;/li&gt;
&lt;li&gt;Only &lt;strong&gt;3%&lt;/strong&gt; "highly trust" AI output; &lt;strong&gt;46%&lt;/strong&gt; actively distrust it&lt;/li&gt;
&lt;li&gt;Between &lt;strong&gt;45% and 66%&lt;/strong&gt; name "almost right, but not quite" as their top frustration — the exact failure mode that turns a five-minute review into a forty-minute archaeology session&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The perception gap: devs think it's faster. It isn't.
&lt;/h2&gt;

&lt;p&gt;METR's randomized controlled trial (July 2025, arXiv:2507.09089) gave 16 experienced OSS developers 246 real issues from their own codebases with randomized AI access. The result was a clean three-way split between belief and measurement:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Forecast: &lt;strong&gt;24% faster&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Self-assessed after the study: &lt;strong&gt;~20% faster&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Measured effect: &lt;strong&gt;19% slower&lt;/strong&gt; (CI: +2% to +39% — no scenario constituted a speedup)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Developers accepted fewer than &lt;strong&gt;44%&lt;/strong&gt; of AI suggestions. The February 2026 follow-up narrowed the deficit to ~4% slower — less negative, but still no speedup. The constraint has moved: &lt;strong&gt;the old constraint was writing code. The new constraint is reviewing it.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The security data nobody reads
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;45%&lt;/strong&gt; of AI-generated code introduces an OWASP Top 10-class flaw (Veracode, 100+ LLMs, 80 tasks)&lt;/li&gt;
&lt;li&gt;AI-generated code carries &lt;strong&gt;2.74x more vulnerabilities&lt;/strong&gt; than human-written code&lt;/li&gt;
&lt;li&gt;Java is the worst case: &lt;strong&gt;70%+&lt;/strong&gt; failure rate; &lt;strong&gt;86%&lt;/strong&gt; of AI-generated XSS attempts fail&lt;/li&gt;
&lt;li&gt;The trend line is the alarm: syntax pass rate climbed ~50% → ~95% since 2023, while the security pass rate stayed &lt;strong&gt;flat at 45–55%&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CodeRabbit's analysis of 470 open-source PRs independently found AI-contributed PRs create &lt;strong&gt;1.7x more issues&lt;/strong&gt; and are &lt;strong&gt;1.88x more likely to introduce a vulnerability&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The maintainer revolt
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;cURL shut down its $86,000 bug bounty: &lt;strong&gt;20% of submissions were AI garbage&lt;/strong&gt;, valid-report rate fell 15% → 5%&lt;/li&gt;
&lt;li&gt;Ghostty: zero tolerance for drive-by AI PRs — "not anti-AI... anti-idiot"&lt;/li&gt;
&lt;li&gt;QEMU, Gentoo, NetBSD, Debian, Cloud Hypervisor formally ban or restrict AI contributions (QEMU's Developer's Certificate of Origin argument)&lt;/li&gt;
&lt;li&gt;Flux CD's Stefan Prodan: "&lt;strong&gt;AI slop is DDOSing OSS maintainers&lt;/strong&gt;"&lt;/li&gt;
&lt;li&gt;GitHub shipped the ability to disable pull requests entirely&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The 10-point verification checklist
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Read the tests first.&lt;/strong&gt; Do they assert behavior, or echo the implementation? Delete any test that re-implements the logic under test.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run the code, don't read it.&lt;/strong&gt; Execute the happy path &lt;em&gt;and&lt;/em&gt; the error path.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check for deletion smell.&lt;/strong&gt; A PR that only adds code and never removes any is building the wrong abstraction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify dependencies resolve.&lt;/strong&gt; Sonatype found &lt;strong&gt;27.76%&lt;/strong&gt; of AI upgrade recommendations reference versions that don't exist.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search for silent swallow.&lt;/strong&gt; Empty catches, ignored return values, discarded errors — where incidents are born.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trace security-sensitive paths yourself.&lt;/strong&gt; Auth, crypto, payments, filesystem: manual trace from input to trust boundary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run SAST/SCA + mutation testing.&lt;/strong&gt; Mutation testing specifically catches self-referential tests: if killing a mutant doesn't fail the suite, the tests aren't testing the code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check conventions.&lt;/strong&gt; Must match your repository, not the model's training distribution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify error paths actually trigger.&lt;/strong&gt; A generated error path that can never fire is dead code that lies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Timebox verification.&lt;/strong&gt; Reviewing a 400-line generated diff is not faster than writing 80 lines by hand.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Trust tiers — escalate by risk, not by volume
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tier 0 — Boilerplate, config, docs:&lt;/strong&gt; light review. Run it once, move on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tier 1 — Business logic, CRUD, tests:&lt;/strong&gt; normal review plus running the suite.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tier 2 — Auth, crypto, payments, infrastructure, concurrency:&lt;/strong&gt; full senior review, SAST, and a threat model. Never auto-merge. Treat generated tests as inadmissible evidence until mutation-tested.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hybrid-strict gates (auto-approving nothing above Tier 1, named human approver at Tier 2) show &lt;strong&gt;1.7% defect escape vs 4.1% under auto-approve&lt;/strong&gt; — and the tier system only works if the gates are enforced mechanically, not by honor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Read the full version
&lt;/h2&gt;

&lt;p&gt;The complete guide — the failure-mode taxonomy, the tooling stack that catches what eyes miss (SAST, SCA, secrets detection, provenance attribution), and 18 sourced references — is on&lt;br&gt;
&lt;a href="https://aymen.benyedder.top/blog/ai-code-review-verification-2026/" rel="noopener noreferrer"&gt;aymen.benyedder.top&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>devops</category>
      <category>github</category>
    </item>
    <item>
      <title>AI Coding Agents in CI/CD: Turn Review Gates Into Your First Line of Defense</title>
      <dc:creator>aymen ben Yedder</dc:creator>
      <pubDate>Fri, 07 Aug 2026 20:59:14 +0000</pubDate>
      <link>https://dev.to/aymen_benyedder_616fc74f/ai-coding-agents-in-cicd-turn-review-gates-into-your-first-line-of-defense-463j</link>
      <guid>https://dev.to/aymen_benyedder_616fc74f/ai-coding-agents-in-cicd-turn-review-gates-into-your-first-line-of-defense-463j</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Cross-post note:&lt;/strong&gt; This is a condensed syndication of the full article published on&lt;br&gt;
&lt;a href="https://aymen.benyedder.top/blog/agentic-ai-cicd-review-gates-2026/" rel="noopener noreferrer"&gt;aymen.benyedder.top&lt;/a&gt;.&lt;br&gt;
The &lt;code&gt;canonical_url&lt;/code&gt; above points at the original so search engines attribute ranking to the&lt;br&gt;
source. Publish the &lt;em&gt;full&lt;/em&gt; article body here (copy from the original page, strip inline&lt;br&gt;
footnotes, keep the &lt;code&gt;&amp;lt;table&amp;gt;&lt;/code&gt; rendered as a markdown table). The section below is the&lt;br&gt;
dev.to-optimized front half.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The one-line summary
&lt;/h2&gt;

&lt;p&gt;AI coding agents in CI/CD are most valuable when they &lt;strong&gt;review&lt;/strong&gt; â€” not when they generate.&lt;br&gt;
Independent telemetry across 100 teams and 23,847 pull requests found the strongest&lt;br&gt;
configuration â€” AI comments inline, humans required, no merge authority â€” cuts median review&lt;br&gt;
time by &lt;strong&gt;55%&lt;/strong&gt; and defect escape from &lt;strong&gt;2.8% to 1.7%&lt;/strong&gt;, while AI-only auto-approve pushes&lt;br&gt;
defect escape to &lt;strong&gt;4.1%&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "code generator" placement underdelivers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hallucination is measurable.&lt;/strong&gt; Sonatype found 27.76% of AI upgrade recommendations referenced non-existent versions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Untrusted dependencies.&lt;/strong&gt; Endor Labs found 49% of AI-imported dependency versions carry known CVEs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Merge rights amplify it.&lt;/strong&gt; CodeRabbit's research shows AI co-authored code carries 1.75x more logic errors and 2.74x more XSS.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The configuration table (2026 telemetry)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Configuration&lt;/th&gt;
&lt;th&gt;Median review time&lt;/th&gt;
&lt;th&gt;30-day defect escape&lt;/th&gt;
&lt;th&gt;Severity-1 per 100 PRs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;No AI review&lt;/td&gt;
&lt;td&gt;4.2 hours&lt;/td&gt;
&lt;td&gt;2.8%&lt;/td&gt;
&lt;td&gt;0.9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI-assisted (inline comments)&lt;/td&gt;
&lt;td&gt;2.6 hours&lt;/td&gt;
&lt;td&gt;2.4%&lt;/td&gt;
&lt;td&gt;â€”&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Hybrid strict (human required, no merge)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;1.9 hours&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;1.7%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.5&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI-only auto-approve&lt;/td&gt;
&lt;td&gt;3.8 hours&lt;/td&gt;
&lt;td&gt;4.1%&lt;/td&gt;
&lt;td&gt;1.6&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The guardrails that make a gate safe
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Human sign-off is non-negotiable&lt;/strong&gt; â€” no auto-approve, no auto-merge, required reviewers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope limits&lt;/strong&gt; â€” warn at ~400 changed lines, block at ~1,000, extra approval on &lt;code&gt;sensitivePaths&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Least-privilege tokens&lt;/strong&gt; â€” &lt;code&gt;permissions: contents: read, pull-requests: write&lt;/code&gt;, nothing else; OIDC for short-lived credentials.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Version everything the agent depends on&lt;/strong&gt; â€” &lt;code&gt;CLAUDE.md&lt;/code&gt; / &lt;code&gt;AGENTS.md&lt;/code&gt; are security-sensitive files (hackerbot-claw poisoned one to attack an AI reviewer).&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Read the full version
&lt;/h2&gt;

&lt;p&gt;The complete guide â€” reference pipeline, OIDC setup, supply-chain hygiene, the "Agents Rule of Two,"&lt;br&gt;
anti-patterns, and the evaluation loop â€” is on&lt;br&gt;
&lt;a href="https://aymen.benyedder.top/blog/agentic-ai-cicd-review-gates-2026/" rel="noopener noreferrer"&gt;aymen.benyedder.top&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>github</category>
      <category>coding</category>
    </item>
  </channel>
</rss>
