If you ask an engineering team for their architecture diagram, you usually get one of two things: a clean Miro board drawn eighteen months ago for a board meeting, or three conflicting Confluence pages where nobody is sure which version still reflects production.

That gap becomes expensive right before a big commitment. A team proposes a six-month rewrite because delivery has slowed to a crawl. A payment migration or regulatory launch is two quarters away. Cloud spend doubled while traffic grew thirty percent. Leadership knows something is wrong, yet every internal conversation turns into a debate between competing opinions.

I have sat on both sides of consulting audits, and I understand why CTOs are skeptical of them. Too many engagements burn a month interviewing managers, redrawing the same boxes in prettier slides, and handing over an eighty-page PDF recommending “clearer domain boundaries” and “better observability.” Everyone nods in the readout meeting, and nothing changes on Monday.

When I run a 2-week architecture review, I invert the order. Week one starts in the repository, the database, the deploy pipeline, and the cloud bill. Only after seeing how the system actually behaves do I sit down with the engineers who keep it running.

Five Things the Codebase Shows That Diagrams Hide

When you compare an eighteen-month-old Miro board against production code across banking, payments, real-time trading, and regulated European platforms, the same five issues surface in almost the same order. Almost none of them appear on the whiteboard.

1. Database Transactions Held Open Across HTTP Calls

The service map shows neat decoupled boxes: Orders, Billing, Compliance, Notifications. Then you open a service method and find an @Transactional annotation wrapped around three repository writes and two synchronous HTTP calls to downstream services.

Everything looks fine at Tuesday morning traffic. When a downstream service slows down during a deploy or a month-end billing spike hits, threads block, PostgreSQL connection pools dry up, and retries start hammering services that are already struggling. On a regulated European e-invoicing platform that took on 50,000 clients in month one, moving cross-service side effects out of request handlers into Kafka and a transactional outbox kept downstream hiccups from taking down user-facing APIs.

The close cousin is the shared database table acting as an undocumented integration layer. Four services read and write the same tables directly, so nobody knows the blast radius of adding a column or changing an index (Lost in a Forest You Built).

Hidden coupling explains why incidents cascade. The next question is why those bugs keep reaching production when CI stays green.

2. Test Suites That Stay Green While Production Breaks

Code coverage numbers tell you almost nothing on their own. What matters is whether the test setup behaves like production.

Two mismatches come up constantly. The first is running integration tests against embedded H2 while production runs PostgreSQL: SQL quirks, locking behavior like FOR UPDATE SKIP LOCKED, and migration locks never show up until real concurrent traffic hits. The second is heavy mocking, especially in AI-assisted pull requests, where generated tests confirm the exact assumptions baked into generated code while missing broken client contracts, reconnect loops, or framework configuration traps (Teaching the Trail, The Trail That Went Cold).

Checking what CI actually verifies, and where the pipeline quietly stops and hands off to manual steps, usually takes half an hour and explains half of a team’s incident history.

When deploys feel fragile and response times creep up under deadline pressure, teams naturally reach for the fastest lever they have: bigger hardware.

3. Infrastructure Spend Hiding a Design Problem

When latency spikes or queues fall behind, scaling up the database or doubling the container count stops the pager in ten minutes. Two years later, temporary sizing bumps have calcified into a six-figure cloud bill.

Pulling the top ten line items from AWS or GCP alongside pg_stat_statements and application profiles almost always turns up avoidable waste:

  • Database over-provisioning: missing composite indexes or chatty queries masked by oversized RDS instances, plus unbounded log and audit tables.
  • Idle or heavy compute: self-managed clusters burning both compute and engineering hours, or JVM workloads throwing heap memory at data that needs a tighter representation (Deep Tracks).

In payment and cloud engagements, fixing the underlying queries, retention rules, and sizing has cut production cloud spend by 50–85% without touching the core platform stack.

Check before migrating: Never approve a cloud migration or re-platforming to cut costs until you have traced the top five items on your current bill to specific queries, jobs, or traffic patterns. Moving noisy workloads onto a new platform just moves the invoice.

Billing lines show where hardware is absorbing debt. Git history shows where engineers are absorbing it.

4. Modules Nobody Wants to Touch

Git history exposes team bottlenecks faster than any org chart. A quick look at commit frequency, file churn, and contributor overlap shows which directories change every week and which critical modules have only been touched by one person in eighteen months.

# High-churn files over the last 6 months
git log --since="6 months ago" --name-only --pretty=format: \
  | grep -v '^$' | sort | uniq -c | sort -rn | head -20

Put that list next to a few honest 1:1 conversations with engineers who carry the pager, and the real drag on delivery becomes obvious: undocumented invariants, conflicting ADRs that drifted away from the codebase, and pull requests queueing behind the same two senior engineers. When ownership is blurry, hiring more people makes delivery slower instead of faster (The Stampede).

Put those four signals together, and it is easy to see why a tired team eventually pitches a six-month rewrite.

5. Rewrites Proposed for Narrow Problems

Most of the time when a team asks for permission to rewrite a system from scratch, the whole codebase isn’t actually the problem. Usually there are one or two painful seams: a central table nobody dares migrate, no safe way to compare old and new behavior under live traffic, or a two-hour deploy gauntlet that turns every small fix into a production event.

A full rewrite pauses or starves product work for a year while dragging every forgotten edge case into a fresh codebase. Tracing the actual coupling almost always reveals a smaller cut: enforcing boundaries inside the monolith first, running shadow traffic with per-operation reconciliation (Where the Tracks Divide), or building one repeatable migration path teams can reuse (Old Growth, New Trails).

How Two Weeks Actually Break Down

Two weeks is tight on purpose. It forces you to focus on the few boundaries that matter for the next twelve months instead of cataloging every code smell in the company. In Grupa VII’s Pointer Assessment, the schedule is straightforward:

Week 1: Read the ground and talk to the people running it. Days 1 to 3 go into read-only access: core repositories, CI/CD configs, Terraform or cloud definitions, database schemas, the last six months of incident postmortems, and the billing breakdown. I trace one or two critical paths end-to-end (usually the money path, primary ingestion flow, or highest-load API) from ingress to persistence and downstream consumers.

Days 4 to 6 are three to five 45-minute conversations with engineers who build and operate the system every day. These are 1:1 technical conversations, without management in the room. The questions are plain: What breaks most often? What do you hate deploying? If you had two protected sprints with zero product pressure, what would you fix first?

Week 2: Separate confirmed risks from noise and sequence the next 90 days. Days 7 and 8 are where interview notes get checked against code, query plans, and metrics. Every finding goes into one of three buckets: confirmed structural risk backed by evidence, quantified scaling or cost ceiling, or acceptable mess that should be left alone for now.

Days 9 and 10 are a working readout with the CTO, VP of Engineering, and lead engineers. The output is kept short enough to actually read and use:

  • Where the real coupling points, data flows, and single points of failure sit in production today.
  • Five to eight prioritized fixes for the next 90 days, ordered by risk and payoff, with rough sizing in engineering weeks.
  • What not to do yet (calling off an unnecessary rewrite or premature Kubernetes split often saves more money than every other recommendation combined).
  • Concrete first steps: ADR drafts, migration gates, or initial ticket breakdowns your team can pull into the next sprint.

In practice, the core summary fits on a single page (illustrative redacted format):

BucketFindingConfirmed Evidence90-Day Decision
Structural Risk@Transactional wrapping external HTTP callsConnection pool exhaustion in 3 recent incidentsExtract via transactional outbox (3 eng-weeks)
Cost CeilingOversized primary RDS + 24/7 staging clustersTop 4 queries in pg_stat_statements missing composite indexesAdd indexes + non-prod schedule before resizing (1–2 eng-weeks)
Delivery DragH2 tests hiding PostgreSQL migration locks2 hotfix rollbacks after clean CI runsSwap critical suites to Testcontainers PostgreSQL (2 eng-weeks)
Leave AloneProposed 6-month billing service rewriteOnly 1 table seam blocks current roadmapCancel rewrite; add schema boundary + shadow diff instead

The test of a useful review: Your own engineers should be able to pick up the roadmap on Monday and start shipping fixes without keeping the reviewer on retainer. If the findings only make sense when the consultant explains them, the review wasn’t finished.

When to Do One (and When to Skip It)

An outside review earns its keep when the next two quarters carry real downside. Typical triggers are weighing a rewrite against incremental extraction, planning a zero-downtime payment or cloud migration, watching AWS or GCP spend outpace revenue, growing past fifteen to thirty engineers while velocity drops, or wiring AI workflows onto legacy data boundaries.

People often ask how this differs from technical due diligence (which uses the same code-first mindset I described in Picking Up the Scent). Technical due diligence supports a capital decision: an acquisition, a funding round, or a board risk check. An architecture review supports an execution decision: nobody is buying the company, and you want to find what will break your next two quarters before you sink six months into the wrong fix.

Be realistic about the boundary of a read-only two-week window, too: it exposes structural coupling, query hotspots, pipeline gaps, and delivery risk, yet it cannot substitute for full-scale load testing or fix deep organizational friction on its own without production telemetry and internal ownership.

Skip it if you have a four-person early-stage product still looking for customers. At that stage, imperfect architecture is fine and speed matters more. Skip it as well if leadership has already settled on an answer internally and just wants an outside name on the cover page.

Two weeks inside git history, schemas, and production bills rarely looks glamorous next to a fresh slide deck, yet it replaces an eighteen-month-old Miro diagram and circular debates with a single page of evidence your own engineers can execute on Monday.


Heading into a rewrite decision, migration, or scaling bottleneck? Explore our fixed-scope 2-Week Architecture Review, preview a redacted 1-page sample readout and pre-audit signals on GitHub, or send over one bottleneck through the contact form for three candid observations within 48 hours.