ai newsDi., 1. Dez.

LLM-Checks im CI: Die sieben Huerden, an denen Teams scheitern

Viele Entwicklerteams bauen derzeit aehnliche Pipelines: Coding-Standards in Markdown, Regeldateien wie CLAUDE.md fuer AI-Agents und GitHub Actions, die PR-Diffs an ein LLM schicken. Der Artikel beschreibt die typischen Stolpersteine beim Aufbau solcher Checks.

dev.toMontag 16:45 · 30.11.DE7 Min. Lesezeit
Bild: dev.to

Every engineering org we talk to at Pandorian.ai is building some version of the same thing right now.

A folder of coding standards in Markdown. A CLAUDE.md or.cursorrules file that tells the AI agents what "good" looks like here. A GitHub Action that sends the PR diff and the rules to an LLM and posts the answer as a comment.

And for the first team, it works. Honestly, it can even work quite well.

Then a second team adopts it. Then ten. Then the CTO asks a simple question: "Which of our standards are actually being followed, and where?" And nobody can answer it.

"What about our legacy code? Are there any standards violations there?"

"Which teams or repositories are quietly bypassing or drifting from our architecture, resilience, or security standards?"

This post is about the gap between an internal DIY tool and an enterprise tool. First, how teams build DIY code governance and the seven walls they hit when they scale it. Then, how we solved those walls at Pandorian. And finally, a free live demo environment you can click through yourself, whether you want to use it or just steal ideas for your own build.

One note before we start: this isn't only about AI-written code. AI just made the problem impossible to ignore. Governance has to cover all code, human and AI, against your organization's own standards.

If you're building governance in-house, your stack probably looks something like this. It's a reasonable design, and every piece of it is a good idea.

A minimal version of step 3 fits in a single workflow file:

#.github/workflows/standards-check.yml on: pull_request jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: git diff origin/main... > diff.txt - run: python review.py --rules standards/*.md --diff diff.txt Enter fullscreen mode Exit fullscreen mode That's a weekend project. It catches real things on day one. Which is exactly why so many teams stop here and call it governance.

The problem isn't the first repo. It's the thirtieth. If you want a deeper look at why this layer matters at all, we wrote about the missing enforcement layer in the SDLC and what AI code governance actually covers.

None of these walls show up in a pilot. All of them show up once you have dozens of repos, multiple languages, hundreds of engineers and a leadership team that wants answers, visibility and control. We covered them in depth in Why AI Code Governance Always Breaks at Scale. Here's the builder's version.

Your rules folder starts with 15 files. A year later it has 140, half of them written by people who have left. Who owns the API naming rule? Which version is current? Is the Confluence page or the Markdown file the source of truth?

Before you can govern code, you have to govern the guidelines: import them, version them, assign an owner to each one, and retire the ones nobody believes in anymore. A Git folder gives you history. It doesn't give you ownership, quality or accountability.

Not every rule applies everywhere. An auth rule might apply to all services. A REST URL convention applies only to public APIs. A library allowlist differs by language. A pattern might belong to one team's service and nowhere else.

In a DIY setup, scoping usually means glob patterns in the workflow file, duplicated across repos. So teams over-enforce (every rule everywhere, lots of noise) or under-enforce (nobody scoped it, so it's off). Both end the same way: engineers stop reading the comments.

Some rules depend on data that moves. Which fields count as PII. Which libraries are approved this quarter. Which internal API routes are allowed. Which services a team may call.

If that context is hardcoded into a prompt or a rules file, your reviewer is wrong the moment the real list changes. A classic example: code that logs request payloads including user emails. It passes tests, it passes human review, and it still violates the PII standard, because the standard lived in a doc nobody wired to enforcement.

Governance isn't an on/off switch. It's a matrix: which rules block a merge and which only warn, which repos are in scope, which directories are excluded, which teams get a grace period, which violations open a ticket.

When every repo carries its own copy of the workflow, that matrix drifts. One repo blocks on a rule, another only warns, a third disabled the check after a noisy week. Engineers notice. A standard enforced inconsistently reads as optional.

This is the wall that ends most DIY projects. The checks run, the results exist, but they're scattered across thousands of CI logs and PR threads.

Leadership asks: Which standards are violated most? Which teams? Is it getting better or worse? Is that new rule catching real issues or just noise? Answering means building a data pipeline and a dashboard on top of your reviewer. Now you're maintaining a product, not a script.

Sending every diff plus every rule to a model costs almost nothing for one team. At hundreds of PRs a day, plus scheduled scans across dozens of repos, token spend grows fast. Cramming 140 rules into one prompt also makes the model worse at each of them.

Doing this efficiently means context scoping, batching, caching and routing rules to the right checks. That's real engineering work, and it never makes it onto the roadmap.

A check that takes several minutes breaks developer flow, and people start asking to skip it. A check that flags something on Monday and not on Tuesday for the same code loses trust immediately.

LLM output varies between runs. Making results consistent, fast and explainable at enterprise PR volume is a hard problem on its own, separate from writing good rules.

None of these walls mean your engineers did a bad job. They mean the DIY approach was designed for a small team workflow and is being asked to run an org-wide operation. Rules drift, teams change, documentation tends to be outdated, AI writes more code every month, and the homegrown system breaks structurally, not because someone forgot to maintain it.

We built Pandorian because we kept seeing teams rebuild the same system and hit the same walls. It's a code governance platform: you define your standards in plain language, or import and consolidate your existing ones, or choose from our ready-made guidelines library. Pandorian then enforces them on every pull request and across full repository scans. Here's how each wall maps to what's in the platform.

You don't have to start from a blank page either. Our Engineering Standards Hub is a library of ready-made guidelines across security, architecture, API design, error handling and more. Use them as-is, adapt them, or just borrow the wording for your own rules file.

The fastest way to kill a governance program is to make developers open another dashboard. So we didn't. Pandorian connects natively to GitHub, GitLab and Azure DevOps and runs as a CI check on every PR, plus standing scans across repos for code already in production. See all supported tools on the integrations page.

From there, enforcement shows up where people already work:

We wrote up the full flow in Code Governance in the Developer Workflow. If you're the one who has to keep ten teams aligned, How to Achieve Engineering Consistency Across Teams in 2026 goes deeper on the org side.

We opened up a free live demo environment so you don't have to take any of this on faith. No repo connection, no sales call. It runs on realistic mock data from an enterprise-sized org, so you see what governance looks like at scale, not on a toy project.

And if you're set on building your own, use the demo anyway. Look at how we structure guidelines, how scoping works, what the violation reports contain. Take the ideas. You'll hit the seven walls either way, and it helps to know what's on the other side.

When you want to run it on your own code, there's a 14-day free trial that connects to GitHub, GitLab or Azure DevOps.

Building a standards checker is easy. Building governance, meaning ownership, scoping, live context, consistent policy, visibility, cost control and speed across an entire org, is a platform. Most teams find that out around wall five.

If you're somewhere on that path, I'd love to hear which wall you hit first. Drop it in the comments.

Amit Kochman is GTM Operations Director at Pandorian, a code governance platform for engineering leaders.

Originaltitel: Building LLM CI Checks for Your Team? Here Are the 7 Walls You'll HitQuelle: dev.to (dev.to). Original öffnen