AI-SDLC
AI-SDLC
Concepts

Judgment Layer

A new rung on the evaluation ladder between code and generative agents. The judgment layer answers closed-set questions (pick one of N, rate on a rubric, yes or no) with a probability distribution, in one fast call, without generating text. It replaces the keyword and regex heuristics that used to stand in for semantic judgment, and it sits in front of the expensive agents as a cheap gate.

RFC: RFC-0049 — System One Judgment Layer · Status: Signed off; runtime, catalog, log, cache and the first judgment groups shipped October 2026, all in shadow · Runbooks: judgment layer · promotion · definition rules

Three outcomes, one of which is "do nothing"

Every judgment resolves to one of three outcomes:

  • act: the judgment decided.
  • escalate: the judgment is unsure, and the work goes to an operator or a generative model.
  • abstain: the judgment declined. The caller does exactly what it did before the layer existed.

The layer does not write code, review code, merge anything or run on its own. Each call site asks one catalogued judgment. It is off unless a provider is configured.

Where it is used

SeamBeforeWith the judgment layer
Definition-of-Ready Stage BProse rubric scored by a generative agentJudgment-first, with separate tighten and relax definitions
Review routingRegex classifier picks the reviewer setA judgment classifies what the diff touches and how risky each hunk is
Acceptance-criteria coverageNot checkedAdvisory judgment on whether the diff covers the criteria
Finding groundingNot checkedAdvisory judgment on whether a reviewer finding points at real code
Estimation classKeyword heuristicsJudgment picks the class
Decision Catalog dimensionsPlaceholder scorersProduction backend

Shadow first, promote on evidence

Every judgment ships in shadow: the call is made and logged, its answer is ignored, and the existing path decides. Promotion to enforce happens one judgment at a time, and the bar depends on what a wrong answer could do:

Risk classWhat a wrong answer doesPromotion bar
seamFills a seam that had nothing before50 labelled items, 90% act-band precision, or a documented operator override
tightenAdds scrutinySame as seam
relaxReduces review of code that merges50 rows from the findings ledger, 95% precision, and no override path

The runtime checks the bar in code. A promotion record whose numbers do not clear the bar leaves the judgment in shadow. On work that is not from the trusted backlog, every judgment is treated as tighten-only, so a steered answer cannot wave anything through.

Capability liveness

The RFC also closes a process gap: several of these seams had been typed and specified months earlier and never wired, and nothing noticed. Every optional capability now reports whether it ran live, in shadow or degraded. The doctor command and the RFC lifecycle gate read that record, and an RFC can no longer be promoted to Implemented without runtime evidence.

Providers

The layer is provider-neutral. The primary adapter is Jev, typesafe.ai's System One model. A generic OpenAI-compatible adapter ships alongside it for adopters who cannot take on a new vendor; it runs in shadow only because it is uncalibrated.

Where to go next