Work Case study in production

Change governance platform

A Python rules engine that checks each network change against its attachments, flags conflicts between teams, and replaced manual pre-approval review.

RoleSole developer
Scale700+ changes / day
Users15 change approvers
StackPython, SQL Server, GitLab CI/CD
In 30 seconds
Problem

Hundreds of network changes a day were pre-approved by hand, and conflicts between teams slipped through.

Built

A Python rules engine that reads every attachment, runs 35 checks, and ranks the queue by risk and conflict.

Result

Review time per change cut in half. 15 approvers cover more tickets and focus on the changes that could cause outages.

01 How it works

From raw queue to ranked worklist

01 · The problem

Hundreds of changes, read by hand

Every night, hundreds of maintenance changes across 9 verticals need pre-approval. Reviewers read each ticket and its attachments by hand, and two changes hitting the same part of the network in the same window are easy to miss.

review-queue
synthetic data
Review queue: unsorted 712 waiting
CHG-0101 Metro 2 files manual review
CHG-0102 Backbone 4 files manual review
CHG-0103 Transport 3 files manual review
CHG-0104 Voice 1 file manual review
CHG-0105 Video 2 files manual review
No ranking, no conflict view. Every ticket and attachment read by hand.
02 · What I built

A rules engine that reads everything

Changes are pulled incrementally from SQL Server. Text is extracted from every attachment, including OCR on pasted images, and 35 checks run against topology, maintenance-window calendars, and impact data.

change_screen.py
synthetic data
$ python change_screen.py --all-verticals
Attachments parsed
xlsx docx pdf msg ocr
Rule checks35 total
Documentation9 checks
Maintenance windows8 checks
Topology10 checks
Impact8 checks
Cross-referenced against topology, maintenance-window calendars, and impact data.
03 · The result

A ranked worklist, conflicts flagged

Approvers get a ranked list instead of a raw queue, with conflicts flagged before anyone approves. Review time per change dropped by half, so the 15 approvers now cover more tickets and spend their attention on the changes most likely to cause an outage.

review-queue / ranked
synthetic data
Screened 712
Flagged 38
Conflicts 6
Maintenance windows tonight overlap
Core
Backbone
Transport
Metro
Video
00:0002:0004:0006:00
# Change Vertical Checks Risk
1 CHG-0103 Transport
31/35
High
2 CHG-0102 Backbone
33/35
Medium
3 CHG-0107 Core
34/35
Medium
4 CHG-0101 Metro
35/35
Low
5 CHG-0105 Video
35/35
Low
governance / review-queue
synthetic data
Review queue: unsorted 712 waiting
CHG-0101 Metro 2 files manual review
CHG-0102 Backbone 4 files manual review
CHG-0103 Transport 3 files manual review
CHG-0104 Voice 1 file manual review
CHG-0105 Video 2 files manual review
No ranking, no conflict view. Every ticket and attachment read by hand.
02 Architecture

One unattended run, every few minutes

SQL Serverincremental pull
Attachmentsxlsx docx pdf msg ocr
Rules engine35 checks
Rankingrisk + conflicts
DashboardsHTML, auto-refresh
Every change ships through GitLab CI/CD pytest and Playwright suites must pass before anything deploys
03 When it misses

Fixed within the hour

No rules engine catches everything. What matters is how fast a miss turns into a permanent fix.

Missed flaga change slipped through
Root causeanalyzed the fault
Fix in pipelinetests run before deploy
Live in under 1 hourno further impact

When the platform has missed a flag, we analyzed the fault and shipped the fix through the GitLab pipeline within the hour, preventing further impact. Every fix goes through the same 2,000+ test suite as any other release.

04 Engineering

Built to be trusted

2,000+

Automated tests

pytest and Playwright suites run in GitLab CI/CD on every change to the platform.

62 / 101

Outage backtest

Replayed 101 past outages. The platform caught the missed network in 62 of them.

35 checks

Across 9 verticals

Documentation, maintenance windows, topology, and impact, on every change.
DocsWindowsTopologyImpactV1V2V3V4V5V6V7V8V9
4 to 9×

Lighter database load

Incremental SQL Server pulls instead of full reloads on every run.
1×full pull~1/6incremental
Next case study Ops dashboards, moving to AWS