Skip to main content

BaristaLabs Workbench · Built on Next.js & Vercel

See inside legacy code. Ship without guessing.

Codebase X-Ray is an AST-grounded AI workbench that turns undocumented COBOL, Software AG Natural, AS/400, legacy .NET, and SharePoint/InfoPath estates into verified system specifications, dependency graphs, and strangler-fig cloud migration plans—in days instead of quarters.

24+ Years
Enterprise, federal & systems engineering
40+ Clients
Regulated engagements, PoCs & ARB reviews
80% Faster
Analyst review via Natural AST + LLM
$1B+ Platform
U.S. Treasury OFS / SSBCI systems led

01How it works

Deterministic structure first. AI synthesis second.

Pointing a generic coding agent at 20-year-old enterprise code produces confident nonsense that dies in Architecture Review Board scrutiny. We flip the order: parse the real syntax and dependencies first, then ground every model output in verified code.

  1. 01 · Parse · Deterministic AST

    Structure first, never prompt guesswork.

    Undocumented legacy source—COBOL, Software AG Natural, AS/400, legacy .NET, or SharePoint/InfoPath—is parsed into an exact Abstract Syntax Tree, symbol table, and call/data dependency graph before a language model touches a single token.

    • Verified call & data-flow dependency graph
    • Dead-code, shared-state & side-effect inventory
    • Exact file, module, and line-number anchors
  2. 02 · Ground · Bounded LLM Synthesis

    Every business rule cited back to code.

    Frontier models synthesize plain-English requirements, hidden edge cases, and security/compliance risks strictly constrained to parsed AST nodes. Anything ambiguous is flagged in an explicit unknowns ledger rather than papered over.

    • Code-grounded business-rules specifications
    • Explicit unknowns & risk register for SMEs
    • Architecture Review Board evidence packets
  3. 03 · Ship · Strangler-Fig Execution

    Move from audit to working production software.

    Instead of leaving behind a 90-page consulting deck, the workbench produces a phased strangler-fig migration architecture and a runnable vertical-slice prototype deployed cleanly into your cloud tenant.

    • Incremental strangler-fig migration sequence
    • Runnable Next.js / Azure / AWS / Cloudflare slice
    • Clear acceptance tests & team handoff docs

Why grounding wins

Generic AI coding prompts vs. AST-grounded workbench

How legacy code is read

Unbounded LLM prompt

Stuffed into a prompt window or chunked blindly; misses cross-module calls and shared state.

BaristaLabs Codebase X-Ray

Parsed deterministically into a full AST, symbol map, and call/data graph first.

Hallucination control

Unbounded LLM prompt

Invents plausible-sounding business rules that fail when checked by domain analysts.

BaristaLabs Codebase X-Ray

Every generated requirement cites verified AST nodes; gaps go to an explicit unknowns ledger.

Security & ARB readiness

Unbounded LLM prompt

Opaque chat output with no audit trail, data boundary, or rollback contract.

BaristaLabs Codebase X-Ray

Built for regulated environments—clear data boundaries, review gates, and evidence packets.

What you walk away with

Unbounded LLM prompt

Unverified snippets or another slide deck that stalls before production.

BaristaLabs Codebase X-Ray

Verified specs, dependency maps, a strangler-fig roadmap, and a working vertical slice.

02Proven in regulated reality

Built from 24 years inside the systems nobody wants to touch.

Codebase X-Ray wasn't invented in a pitch deck. It distills patterns proven across 40+ federal, financial, legal, and retail engagements—led directly by founder Sean McLellan.

Retail Enterprise · AST + Azure AI Foundry

80% reduction in legacy analyst discovery time

Built a custom parser translating undocumented Software AG Natural mainframe code into an Abstract Syntax Tree integrated with Azure AI Hub and OpenAI Service—producing code-grounded requirements documentation business analysts could actually trust.

U.S. Department of the Treasury · 12-Year Tenure

$1B+ federal platform & breaking ARB release bottlenecks

Led 12 years of mission-critical SharePoint and Power Platform architecture for the Office of Financial Stability (TARP / SSBCI), including a BPM platform managing over $1B in reimbursements. Embedded a .NET JavaScript engine (Jurassic) into SharePoint to turn monthly Architecture Review Board deployments into governed live scripts.

Financial Services & Insurance · AKS & Terraform

AS/400 modernization & strict ARB cloud migrations

Modernized legacy AS/400 green-screen workflows onto event-driven AKS, Dapr, .NET Core/DB2, Next.js, and Terraform—and delivered cross-regional Azure/Terraform migrations that passed rigorous financial-sector security and Architecture Review Board reviews.

BaristaLabs Studio · 2025–2026 Shipping Record

Principal-level velocity proven in live products

The same hands-on engineering discipline powers our own live App Store, edge, and open-source software—including EV Backroads (evbackroads.com), RouteDrop EV, Supercharger Rally, and tescmd (PyPI CLI & MCP server with 1,600+ automated tests).

03Fixed-outcome engagements

Three ways to put this to work.

We never sell open-ended hourly consulting. Every engagement has written deliverables, clear security boundaries, and direct principal-level ownership from kickoff to handoff.

012–3 Weeks · Fixed Scope

Legacy Codebase X-Ray

For leadership teams sitting on a 15-to-30-year-old system nobody fully understands—and tired of six-month consulting discovery quotes.

  • AST-grounded module, data & dependency map
  • Plain-English business-rules ledger with code citations
  • Security, compliance & Architecture Review Board risk audit
  • Phased strangler-fig roadmap + runnable vertical-slice prototype
Scope a Codebase X-Ray

024 Weeks · Fixed Scope

Production AI Sprint

Take one high-value AI workflow out of demo purgatory and deploy it cleanly into your own Azure, AWS, or Vercel/Cloudflare environment.

  • Document intelligence, grounded RAG, semantic search, or legacy automation
  • Explicit data boundaries, approval gates & evaluation harness
  • Infrastructure as code (Terraform) deployed to your tenant
  • Plain-English runbooks and zero vendor lock-in at handoff
Scope a Production AI Sprint

03Ongoing · 1–1.5 Days / Week

Fractional Principal AI Architect

Senior architectural accountability for executives and engineering leaders who want a 24-year builder governing AI bets, cutting vendor hype, and unblocking delivery.

  • Direct weekly architecture & build reviews with the founder
  • Honest vendor, model, and build-vs-buy evaluation
  • ARB, security, and regulated-data boundary preparation
  • Hands-on prototyping alongside your engineering team
Discuss Fractional Advisory

04Common questions

Straight answers before you share a line of code.

Why do I need AST grounding when frontier models have huge context windows?
Large context windows don't solve structural truth. On undocumented legacy estates—where business logic spans thousands of files, shared tables, copybooks, and implicit side effects—prompting raw code produces confident hallucinations that fail analyst and security review. Parsing the codebase deterministically into an AST and dependency graph first gives the model verified ground truth and lets every generated spec cite exact symbols and lines.
Which legacy stacks can Codebase X-Ray work with?
Our initial workbench targets the legacy estates we know deeply from 24 years of enterprise and federal delivery: legacy .NET / ASP.NET, SharePoint & InfoPath, Software AG Natural, AS/400 & DB2 workflows, and COBOL. Because the parsing layer is modular, we scope parser coverage cleanly before kickoff.
How do you protect proprietary or regulated source code?
Privacy boundaries are set in writing before we touch a single file. Depending on your security posture, analysis can run inside your own Azure, AWS, or isolated cloud tenant—or against a curated representative slice—with explicit data retention, zero model training on your code, and clean credential removal at handoff.
How are engagements scoped and priced?
We work on clear, fixed-scope engagements rather than open-ended hourly billing. Every engagement starts with a direct conversation with Sean to confirm fit, source access, deliverables, what's out of scope, and acceptance criteria—all put in writing before work begins.
What is the current stage of the Codebase X-Ray workbench?
The AST-grounding methodology has already been proven on real enterprise mainframe code (cutting business-analyst review time by 80%). We are now productizing it into a repeatable Next.js and Vercel workbench and onboarding early design partners for Q1 2027.

Design partners & Q1 2027 sprints

Sitting on a legacy system everyone is afraid to touch?

Send a short note describing the stack, the constraint, and what you need to decide next. Sean reads every note personally and replies with an honest read on fit and scope.