Every web agency deals with the same recurring issues on client sites. A missing Strict-Transport-Security header here. A robots.txt that blocks crawlers there. WP_DEBUG accidentally left on in production. SEO meta tags that nobody added when the site launched.
These aren't hard fixes. They're just tedious — and they pile up across 10, 20, 50 client sites. Today, we're shipping DevLab: a new section in SiteBrief that not only detects these problems, but generates the fix and opens a pull request on your GitHub or GitLab repository for your review.
The workflow: Detect → Explain → Fix → PR → You approve
The whole point of DevLab is to compress a task that normally takes 15–30 minutes per site into a single click — while keeping you in full control. Here's what happens:
What DevLab can auto-fix today
Each fix type has a confidence score — a measure of how likely the generated fix is correct without any manual adjustment:
Confidence scores are colour-coded throughout DevLab: green (≥85%) means the fix is safe to merge without testing, amber (≥70%) means you should test on staging first, and orange (<70%) means the generated value is a placeholder that needs your review.
Auto-detection: we find the right file in your repo
One of the more interesting engineering decisions was server type detection. When DevLab generates a fix for, say, a missing security header, it doesn't assume you're on Netlify. It tries each candidate file in order:
- netlify.toml — if found, adds a
[[headers]]block - .htaccess — if found, adds a
Header always setdirective insidemod_headers - nginx.conf (or nginx/default.conf) — if found, injects
add_headerinto the server block
For SEO fixes, it detects your framework: Next.js App Router sites get changes to app/layout.tsx using the metadata export. Plain HTML sites get the appropriate <meta> tags injected into <head>.
We know AI-generated fixes sound scary
We built several layers of trust into the workflow specifically because we know this sounds intimidating at first:
Multi-page SEO crawl
DevLab also extends the existing SEO audit beyond the homepage. When you run an SEO check, SiteBrief now crawls up to 10 internal sub-pages — extracted from the homepage's internal links — and checks each for missing title, description, h1, og:title, and og:description. The results appear in a collapsible "Sub-pages crawled" section in the SEO Audit panel.
PR history and audit trail
Every PR and MR opened by DevLab is recorded. At the top of the DevLab page you'll find a history panel showing all open fixes across your sites — with direct links to review them on GitHub or GitLab, and a Close button to roll back any fix you decide not to merge.
What's coming next
We're working on expanding the auto-fix library. On the short list:
- Staging branch deploys — open the fix PR against a staging branch, not main
- Dependency security updates — scan package.json and composer.json, PR with safe version bumps
- Scheduled maintenance reports — weekly email digest of all issues and fixes across your portfolio