Skip to main content

Case Study - Running an AI-augmented knowledge-ops program across two lines of business

Rebuilding the procedures support agents work from in Finance Collections and Ecommerce, putting every article under version control and gated review, and building the tooling that shows when published content has drifted.

Client
Tesla — Customer Support Business Operations
Year
Service
Technical program management · process design · AI-assisted tooling
Hero image for the Tesla — Customer Support Business Operations case study

The business problem

Both lines of business were paying for the same gap. In Collections, one long reference document tried to cover everything, so frontline agents asked specialists instead, and specialists spent their day acting as a lookup layer. In Ecommerce, overlapping drafts described the same returns and refund paths in different ways, and articles disagreed about which team owned what.

Underneath both sat a problem nobody could see. There was no dependable way to tell which version of a procedure was the published one, who a change was waiting on, or whether it had landed at all. Better articles alone would have gone stale as the business changed. The program around them (authoring, review, publication, feedback) didn't exist yet.

My role

I run this as a program, not a content desk. I'm the Business Process Specialist for both lines of business and the maintainer of the systems described below.

  • Discovery with team leads and subject-matter experts, separating gaps that content can close from gaps that need system access or decision rights.
  • Process and SOP design, from process maps through an article structure that fits the internal knowledge platform.
  • Stakeholder alignment across Finance operations, the Commerce team, support leadership, and team managers, with tracked sign-off on each article.
  • Rollout, including change communications, training materials, and sequencing changes to what the floor is ready for.
  • Measurement and tooling, so the program can show what changed and catch what drifted.

Progress at a glance

  • Jan 2026: Collections reference document split into modular articles; payment verification moved to a shared read-only tracker.
  • Feb 2026: Collections SOPs go live; 16 Ecommerce articles merged into 5 core SOPs.
  • Mar–Apr 2026: Logic maps and test suites added; first AI agent runtime built; before-and-after analysis of the specialist channel.
  • Jun 2026: Content monorepo stood up with status sync to Confluence.
  • Jul 2026: Native subagents replace the custom runtime; senior support consult line goes live as a pilot.
  • Sep 2026: Monorepo becomes the sole owner of content; Collections library reconciled; status dashboard deployed.
  • Oct 2026: Ecommerce library reconciled; self-service return path added; state machines, the kb tool, 48 process maps, and the CI-enforced lifecycle shipped.
  • Nov 2026: Published-status scan moves to a weekday schedule.

Finance: Collections and Payment Resolution

I rebuilt the library. The single reference document became modular articles with a consistent structure, live in February 2026. Payment verification changed with it: frontline agents read status from a shared read-only tracker instead of opening a request for each lookup. Across the ten weeks around go-live, the median time to resolve a support agent's question in the specialist channel fell about 20%.

I found where documentation stops working. A before-and-after analysis of that channel separated questions an article can answer from questions that need system access or decision rights. Writing can't close the second group, so it became the case for a new tier.

I wrote the playbook for a senior support tier. That meant the resolution guide, the cutover plan, the onboarding sequence, and updates to frontline training. When training readiness lagged the documentation, the routing came out of the published articles so nobody was sent to a team that wasn't ready, and it went back in after training finished. The consult line went live in July 2026 as a consult-only pilot. Any wider authority waits on an audit period.

I reconciled the library against what was actually published. In one week in September, 11 pull requests took Collections from 10 of 20 articles matching the published library to 19 of 20. An October inventory read all 18 published articles and found 47 distinct support processes, 16 of them documented in more than one place.

Ecommerce: Commerce Support

I consolidated first. Sixteen overlapping articles became five core SOPs in February 2026, backed by mapped workflows and a reference for the 13 tools support agents touch. In June I replaced three inconsistent role labels with three defined groups, so every article says the same thing about who handles what.

Then I reconciled against what was published. The repository held articles that weren't in the published library and links that pointed nowhere. I resolved 15 orphaned articles (11 moved to reference, 4 merged upstream), fixed 23 broken links, and grew the tracked library from 8 articles to 12.

I kept procedures current as the business changed. New work covered LATAM returns, RMA disposition editing, and a customer self-service return path, so an in-window Tesla Shop return no longer has to start as a support case. I validated that walk-through against the live flow with the subject-matter expert before it was published.

I tied concerns to procedures. Closed concerns now map to the SOP and symptom they belong to, and auto-closes are split by how long the concern sat open. That turns a vague complaint into a named gap and a drafted change.

The system behind the program

The content lives in one repository and the tooling in another, and the direction between them is deliberate.

  • A protected content repository. Every SOP is a Markdown file with structured metadata in a GitHub Enterprise monorepo, behind branch protection, required review, and structural CI.
  • A tooling repository that can't edit content. In September I measured the drift between the two copies: 14 articles missing, 10 different, and 2 renamed without the rename coming back. The tooling repository became a read-only mirror, refreshed by a pull that records the source commit, with a pre-write hook that blocks direct edits.
  • One definition of the review lifecycle. The five stages, from draft to published, used to be copied in six places with nothing checking transitions. They now live in one data file that CI, status pages, the dashboard, and AI agent skills all read. 27 Gherkin scenarios cover the rules, and a pull request that moves an article out of order fails.
  • State machines for the processes themselves. Article, refund, and return-authorization lifecycles are XState machines. Their diagrams are generated from the machines, and a test fails if a committed diagram stops matching.
  • Process maps for every library. 48 processes each have a flowchart and a swimlane, with a SIPOC and a value stream map per line of business, in a browsable static site.
  • One audit view. kb is a Node.js CLI, terminal UI, and MCP server that answers what needs attention: conformance, drift from published content, concerns by SOP, and weekly status. Each signal comes with a safe next step, and only an allowlist can act on one. About 700 automated tests cover the tooling and content integrity.
  • Status nobody has to ask for. GitHub is canonical. Confluence pages and a dashboard are generated from article metadata and issue checklists, so ticking a box updates the page stakeholders read.
  • A weekly review that keeps score. Each update lists what shipped, what's blocked and on whom, and whether last week's commitments were done, checked against the tracker, the project board, and the repositories.
  • Channel analytics. Specialist-channel metrics flow into SQLite and feed weekly SQL outputs and a Next.js dashboard.

AI with guardrails

I built a custom TypeScript multi-agent runtime in March. By July, Claude Code's native subagents, hooks, and path-scoped rules did the same job with less to maintain, so I retired it. Eight scoped subagents handle the recurring work today: analysis, audits, change-set drafting, and the weekly update. Hooks run validators on every article edit and block writes to protected paths. The article workflow also ships as an installable skills bundle on the internal AI platform, and a conversion skill turns source documents into field-by-field HTML for the knowledge platform after diffing the live page, so nothing published gets overwritten unseen.

The guardrail I care about most came from a failure. In July, an AI session filled a data gap with simulated numbers and reported them as findings. I caught it by asking for the source rows, then made the fix structural: an analytical claim now has to trace to rows a third party can re-fetch, and synthetic data has to be labeled and kept apart from real output. The same rule applies to my own work. I withdrew one monitor's baseline rates after measuring its recall at 13–17%.

  • Technical program management
  • Stakeholder alignment
  • Change management
  • SOP and process design
  • SIPOC, value stream & swimlane mapping
  • Docs as code
  • Node.js / TypeScript
  • XState
  • Next.js
  • SQLite / SQL
  • GitHub Actions
  • Claude Code + MCP

Outcomes

SOP articles under version control and gated review
32
Processes mapped as flowcharts and swimlanes
48
Lower median time to resolve support agent questions in the specialist channel
~20%
Overlapping Ecommerce articles merged into core SOPs
16 → 5

What's next

The consult tier is still a bounded pilot, and the criteria for widening its authority are the next program milestone. Several policy questions also sit with their owners. A procedure can only be as settled as the policy behind it, so the system tracks those questions in the open rather than publishing around them.

More case studies

Front-end forensics on Shopify storefronts

Technical support engineering for an e-commerce platform powering thousands of Shopify merchants — diagnosing JavaScript, CSS, and third-party script conflicts directly in customer theme files, then turning the diagnosis into clear merchant-facing guidance.

Read more

Rebuilding the collections workstation for a $1.1B auto-finance portfolio

Front-end engineering on an internal case management application to replace a fragmented six-app workflow used by collections agents at an auto-finance servicing firm — built in close partnership with the UX research and design team.

Read more

Get in touch

Based in

  • Salt Lake City, UT
    West Jordan