Skip to content
mentoor

Topic 6 of 6 · 5 min read

Reviewing an agent-proposed design document

Goal: Review an AI-written design document and flag the components no requirement justifies and the numbers no source supports.

Review an AI-written design by tracing every component back to a requirement and every number back to a source; what cannot be traced is a guess. Models write designs that look complete. They are often longer and more elaborate than the problem needs.

Check yourself · 1 of 3

An AI design adds a message broker, but no requirement mentions asynchronous work. What should a reviewer do?

Choose one answer

Why it matters

An assistant such as Claude, ChatGPT, Gemini or Copilot has read thousands of architecture write-ups. Asked to design a booking app, it can produce a diagram with an API gateway, six services, Kafka, a service mesh and three databases. It will do this for ten users a day as readily as for ten million. It does not feel the cost of running any of it. It also states figures such as "this handles 50,000 requests per second" with no basis.

How to review it

  1. Extract the requirements from the prompt or ticket: users, load, latency, budget, team size, compliance. If the document restates different ones, flag that.
  2. Build a trace table. One row per component, one column for the requirement that needs it. An empty cell means a component with no reason to exist.
  3. Check every number. Where does it come from: the brief, a measurement, a published benchmark, arithmetic you can redo? Unsupported figures go back to the author as questions.
  4. Look for gold plating. Microservices for one small team, a message bus for a task that runs once a day, multi-region for a local business.
  5. Look for missing operations. Deployment, monitoring, alerting, backups and restore, migrations, secrets, cost, and who is on call. Agents often skip these because they are dull.
  6. Check it matches the existing system. Does it use the database, language and cloud account the team already runs, or an invented stack?
  7. Ask the agent to defend it, then verify the answer yourself, because a model will justify almost anything.

Before and after

Weak document: "The platform uses 8 microservices, Kafka and Kubernetes to serve 100,000 concurrent users with 99.99% availability."

Reviewed: "The brief says 2,000 users and a team of three. Traces to a requirement: web app, one database, one queue for email. Removed: Kafka, Kubernetes and six services. The 100,000 and 99.99% figures have no source in the brief and were deleted. Added: backup and restore test, monitoring and an on-call note."

What goes wrong

  • Plausible invented numbers that later become the team's assumptions.
  • Reviewing for style because the document is well written.
  • Accepting extra parts because removing them feels risky.
  • Missing run-the-system work, found only at the first outage.

Examples

The trace table

A design for a 3-person team lists an API gateway, a message broker and a service mesh. In the trace table, the gateway maps to the need for one public entry point and stays, in a simple form. The broker maps to nothing, because email can be sent from a background job. The mesh maps to nothing. Two components are removed.

The invented figure

The document says the system handles "50,000 requests per second". The brief says 4,000 users. Ask where the number came from. If the answer is "typical for this architecture", it is not evidence and the document should state the real, derived load.

Key points

  • Trace each component to a written requirement; a component with no requirement is a candidate for removal.
  • Trace each number to the brief, a measurement or arithmetic you can redo.
  • Models gold-plate: more services, buses and regions than the problem needs.
  • Operations work such as backups, monitoring, deployment and cost is often missing.
  • Asking the agent to defend the design is not verification; check the answer yourself.

Common mistakes

  • Judging the document by how complete and professional it looks.
  • Leaving in components because the model sounded sure of them.
  • Letting unsourced load or availability numbers become the requirement.
  • Not asking where backups, monitoring and deployment appear in the design.

Check yourself · 2 of 3

An AI design states it will serve 50,000 requests per second. The brief lists 4,000 users. What is the best action?

Choose one answer

Check yourself · 3 of 3

Which section are AI-written design documents most likely to leave out?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic