← Back to the blog

8 September 2026 · Gilles Maury

Shadow AI: why banning it doesn't work, and what does instead

shadow AIgovernanceAIriskFoyer

In most organizations I come across, the question "should we allow AI?" has already been settled — just not by management. Teams are generating business code and automations with AI, sometimes all the way to production, with no validation and no automated tests. That flow exists, it's growing, and it shows up on no dashboard.

It's called shadow AI. Here's how I govern it — without banning it.

Why banning it fails, every time

A ban doesn't remove the practice: it pushes it into the shadows. And by pushing it into the shadows, it removes the one thing still protecting you — your ability to see it.

The reason has nothing to do with indiscipline. It's mechanical: as long as the unofficial route is faster than the official one, a ban isn't a wall, it's a speed bump. Teams don't bypass the framework out of defiance; they bypass it because it costs more than going around it.

Hence the rule I apply: if compliance costs more effort than non-compliance, the framework is decorative. You don't lose control by allowing AI. You lose it by banning something you can't detect.

The default-route principle

The reversal fits in one sentence: don't build a barrier, open a corridor that's faster than the workaround.

A barrier gets bypassed. A default route gets taken — not out of obedience, but because it takes less effort than the alternative. In practice, that means the sanctioned path has to be ready to run and faster from day one than the improvised one. If it takes three weeks of compliance work before the first useful line gets written, nobody will take it, and you're back where you started.

A corridor means checkpoints — not a committee

The corridor isn't a review board: a review committee is too slow, and becomes one more thing to work around.

It's automatic checks placed at every step, each with a binary result: it passes or it blocks. No eyeballing, no interpretation. A red check stops the flow — not as a recommendation, as a mechanical halt.

The point that matters most to management: quality and security are inherited from a pre-approved foundation, not from the skill level of whoever is driving the AI. That's exactly what makes it acceptable for a non-developer to produce something that reaches production: it isn't their personal rigor holding the risk, it's the corridor.

The kit: the default route, made concrete

This is the tangible part, and it's public. The Foyer framework currently ships three kits — one per major technical stack (Python, PHP, Rust). Each one is a runnable skeleton, not a document:

One point of honesty, because this is the kind of nuance that matters when someone sells you a framework: these checks run on your machine or in your containers, on demand. It isn't a hosted dashboard that lights up on its own — it's a harness your team runs, whose result depends on no third-party service.

Who decides what — the part management wants in writing

This is where the framework becomes a governance guarantee, not just a tool.

That's the "answerability" principle: nobody — not the agent, not me — acts with a responsibility they couldn't answer for in front of you.

Where to start: a scoped pilot

Not a transformation program. A pilot:

  1. One kit, one volunteer team, the checks wired in.
  2. Measure over a single iteration: real velocity, security incidents avoided, team peace of mind.
  3. Open the corridor before the shadow becomes the norm — the longer you wait, the bigger the untracked flow gets, and the more the catch-up costs.

What this means for your organization

Your teams are already using AI. So the real question isn't whether you allow it, but whether what they produce passes through checks you chose — or through none at all.

If you'd like to look at what this would mean in your organization, let's talk. The framework and the kits are public and verifiable: gilmry.github.io/foyer.

And if you'd rather have something other than text, it's all below: the video version (8 minutes), the audio version (12 minutes), the original architecture note as a download — all three in French — and the playlist following how KoproGo is steered: project management, product direction, team leadership, on a real product rather than a textbook case.

Going further

Video version (in French) — “Cadrer le shadow AI”, 8 minutes.
Audio version (in French) — “Cadrer le vibe coding avec Foyer”, 12 minutes.
The original architecture note (15 slides, in French)PDF · 14 MB
KoproGo, steered with this method: project management, product direction and team leadership, under real conditions.