How do we run a production readiness review across hundreds of repos with AI?
Write the readiness rubric first, then ask one templated question per repo per rubric item: health checks, alert rules, paging routes, CI stages, runbooks. Unblocked answers each question from the code, PRs, docs and chat, with file paths and links. A script stores the verdicts, and owners confirm every gap before it counts.
You run a production readiness review across hundreds of repos by turning the checklist into questions and asking every repo the same ones. Write the rubric, generate one question per repo for each rubric item, require every answer to cite file paths and docs, store the results, and have owners confirm each gap. Unblocked does the answering: a script calls its REST API once per repo and rubric item, and it reads the code, pull requests, docs and chat history to return a verdict with sources. A production readiness review is a check that a service can be run, watched and fixed by the people on call before it carries real traffic. At fleet scale, the hard part is finding the evidence.
Write the readiness rubric before any prompts#
Keep each item narrow enough that a person could check it by hand in a few minutes. One very large team we work with scores every repo and service on five operational items:
- Health checks: is there an endpoint or probe, and is it wired into the deploy?
- Alert rules: do alerts exist for the service's main failure modes?
- Paging routes: does an alert reach a human on a current rotation?
- CI stages: does the pipeline run tests and gate the deploy?
- Runbooks: is there a runbook, and does it match today's alerts?
The same team runs a second rubric next to it, a maturity scale from zero up that covers tests, docs, coding standards, security and agent readiness. It asks how safe it is to let people and coding agents change the repo. The 8 levels of agentic engineering are one way to frame those levels.
Decide which services the rubric applies to. Cortex's docs note that a production readiness scorecard "might apply only to tier 1 services" (Cortex Scorecards), and the same scoping works here. Then write down what "pass" means for each item, in a sentence. "Has a runbook" is weak. "Has a runbook that names the current alerts and the current on-call team" is something an answer can be checked against.
Generate one question per repo per rubric item#
Do not ask "is this repo production ready?" A broad question invites a confident summary that skips the item you care about. The answer has to come from reading the repo. A March 2026 benchmark of repository questions found that agents exploring the code beat direct answering, with "a ~13-point gap for Claude Sonnet 4.5" (SWE-QA-Pro, arXiv 2603.16124). Ask one templated question per item, with the repo filled in, and ask for the same shape back every time. For example:
- Which health check does this service expose, and where is it wired into the deploy config?
- Which alert rules cover this service, and which on-call rotation do they page?
- Which CI stages must pass before this service deploys to production?
- Is there a runbook for this service, and do its steps match the current alerts?
The script is a loop over repos and rubric items. Unblocked's REST API has a research endpoint that takes a query plus an optional instruction for format and detail, and returns a Markdown summary with a sources list. Each source carries a url and a sourceType such as code, pull request, issue, message or documentation (Unblocked research API). Put the output format in the instruction: a pass, fail or unknown verdict, one line of reasoning, and the file paths that prove it. The docs suggest giving each automation "only the access it needs" (programmatic access). Team tokens can be limited to selected data sources, so give the readiness job its own token.
Require citations, store results, have owners confirm#
Treat an answer without a file path as "unknown," never as "pass." The citation is what makes the verdict reviewable. A reviewer can open the cited file and check the answer read it right. Keep the rubric and question templates next to the results, so anyone can see the methodology behind a score.
Store every result as a row: repo, rubric item, verdict, reasoning, sources, and the date. Storing them lets you compare runs, so a repo that passed paging last month and fails now shows up as a change.
Then send each gap to the owning team and ask them to confirm or correct it. Owners catch what the model can't know, such as a shared rotation by design or a service being retired next quarter. If the same item is wrong across many repos, fix the question template. Nothing should auto-file tickets or block deploys from a first run.
Where catalog scorecards fit, and where they stop#
Service-catalog scorecards already do part of this well. Cortex Scorecards check entities against rules on a schedule and can pull "live data from your integrations" (Cortex Scorecards). OpsLevel has Repo File checks that verify "the service's repository contains a file with a certain path or contents" (OpsLevel checks). Backstage Tech Insights runs rule checks over facts that retrievers collect, such as whether an entity's owner field is filled in (Backstage Tech Insights).
All three score what is in the catalog or what a fixed rule can match. That works for checking that a runbook file exists. It struggles with whether the runbook matches the alerts renamed in March, or who gets paged now that the team split. Those answers live in pull requests, chat threads and incident history. A context engine reads the code and that history to fill the catalog in, and a scorecard then checks the stored result on its schedule. Most large teams will want both: the catalog as the system of record, and the readiness job as the thing that keeps it true. The ladder in context engineering across hundreds of repos covers how platform teams set up the context side, and context infrastructure for fleet-scale coding agents covers running jobs like this one at volume.
Limits to plan for#
An AI readiness review is a first pass, not a sign-off. It can only cite what is written down somewhere it can reach. A paging route that lives only in a vendor console the engine is not connected to will come back as "unknown," which is honest but unhelpful. Connect the systems your rubric depends on before you trust a fail.
A fleet readiness review is one of the biggest automations a team runs on Unblocked, so plan for volume. The docs list daily limits on Answers API questions and MCP tool calls, "guardrails against abuse, not a measure of expected usage" (rate limits). Unblocked can raise them, or you can spread a big fleet over a few days.
Answers also drift as the fleet moves. One option for a smaller rubric: an Unblocked Routine can run daily, weekly or on a five-field cron schedule. It runs "as the team member who created it, using that person's permissions" (Routines). Rerun on a schedule, keep the history, and spot-check a sample of passes by hand each run. A pass that no one ever checks is the one that will be wrong during an incident.


