Skip to content

Architecture decision records ​

Each ADR records one decision: its context, the decision itself, its consequences and the alternatives that were considered. ADRs are never edited to say something new. To change a decision, write a new ADR that supersedes the old one.

Statuses:

  • Proposed: written, not yet accepted.
  • Accepted: in force.
  • Superseded by NNNN: replaced by a later ADR.
  • Amended by NNNN: a later ADR replaces part of it; the rest stands.
ADRTitleStatus
0001Apache-2.0 licenceAccepted
0002TypeScript on Node.js; targets are tested over HTTPAccepted
0003Zero data egress by defaultAccepted
0004Expectations come from claims and data, not the implementationAccepted
0005Deterministic checks first; the LLM judge is calibrated and non-gatingAccepted
0006Tooling and repository layoutAccepted; amended by 0008
0007yokla owns its results schema; other tools are reached by mappingAccepted; amended by 0092
0008Generated JSON Schemas live where packs are assembledAccepted
0009Observing the target through its own logsAccepted
0010The gate: thresholds per suite, a baseline, and three exit codesAccepted; amended by 0011
0011The baseline file, and cases compared only while their definition holdsAccepted
0012The model proxy: a standalone process, routing, records and correlationAccepted
0013Fault plans: provider faults per turn, injected by the model proxyAccepted; amended by 0017
0014Budgets: cost and latency thresholds, unmeasured thresholds, plan and capAccepted
0015Prompt inspection: what the proxy captures, what is stored, and four checksAccepted
0016Streaming targets, session setup, and model calls after the answerAccepted
0017Fault jitter seeded by case, sample and turnAccepted
0018yokla init: a profile from one message, and starter casesAccepted; amended by 0019
0019An edge-case turn is judged on whether the target handled itAccepted
0020Richer evidence mapping: several paths, availability, price sources, component textAccepted; amended by 0021
0021A price times a stated quantity, and text that belongs to one itemAccepted
0022A total of the answer's own amountsAccepted
0023A static HTML reportAccepted
0024WebSocket targetsAccepted
0025Tool calls: what the proxy reads, and the checks on themAccepted
0026Evidence from the tool results the model sawAccepted
0027A product named by the start of its nameAccepted
0028The simulated customer, and yokla's own model callsAccepted; amended by 0099, 0105
0029Model calls read from OpenTelemetry spansAccepted
0030Generic checks: patterns, JSON Schema, similarity, and checks the user writesAccepted
0031Authentication: tokens yokla obtains and refreshesAccepted
0032Gemini: the model proxy and yokla's own callsAccepted
0033Where a failure arose: the origin of the value a finding namesAccepted
0034Publishing to npmAccepted; amended by 0047
0035The smallest failing conversation: yokla shrinkAccepted; amended by 0036
0036yokla shrink keeps whole messages by defaultAccepted
0037The first publish of the npm namesAccepted; amended by 0071
0038Stopping a case's samples once its failure is settledAccepted; amended by 0039
0039A majority-of-N failure in the demo-shopAccepted
0040Recorded model calls, replayedAccepted
0041yokla as an MCP server for coding agentsAccepted
0042Comparing models through the proxyAccepted; amended by 0043, 0045
0043Tool results changed by the proxyAccepted
0044A search for untried pathsAccepted; amended by 0046
0045Robustness transforms of a case's messagesAccepted; amended by 0106, 0107
0046Intents that state what they ask, across the catalog's typesAccepted; amended by 0048
0047The analyzer, deterministic first: inventory, data and probesAccepted; amended by 0066, 0067, 0068
0048Intents ask as a shopper names thingsAccepted; amended by 0050, 0052
0049The analyzer reads code and docs: values a model finds, verified in their sourceAccepted; amended by 0051, 0072, 0074
0050A type asked by its catalog labelAccepted
0051Replies the analyzer couldn't read, and tokens counted as code takes themAccepted
0052The currency-code turn where a dropped bound showsAccepted
0053Cases the data no longer holds: fixture-missingAccepted; amended by 0054, 0055
0054An absent type is found at any level of a catalog typeAccepted
0055Cases generated from the catalog: yokla generateAccepted; amended by 0056
0056Type padding shows in a short result, not an empty bandAccepted
0057The response contract from a contract file, verified against the answersAccepted; amended by 0058
0058The demo-shop's contract is 19 entriesAccepted
0059Paraphrase and code-switching, written by a modelAccepted; amended by 0060, 0099
0060A rewrite adds nothing, and keeps its languageAccepted
0061Negated stock wording, and products the answer only namesAccepted
0062Generated cases name products in stockAccepted
0063A generated name names one product, and "cheaper" has an answerAccepted; amended by 0064
0064A cheaper follow-up says cheaper than whatAccepted
0065Data from outside the repository, and a comparison without the contractAccepted; amended by 0066
0066A large catalog read whole, and a contract that is a schemaAccepted
0067An evidence field read as a number, or from a fallbackAccepted
0068An evidence field left undecided names its candidatesAccepted
0069The model proxy reads an AI SDK gatewayAccepted
0070v0.4 ships with one exit criterion partly metAccepted
0071A new package reserved before it ships, and a release that resumesAccepted
0072The model step reads the likely files first, and answers at lengthAccepted; amended by 0073, 0099
0073Marked files go smallest firstAccepted
0074A number written with digit separatorsAccepted
0075A turn says what kind of request it isAccepted
0076A case carries a weightAccepted
0077Tags group the summary and select a runAccepted
0078A cached reply needs no keyAccepted
0079The red-team track: v0.5 in seven itemsAccepted; amended by 0081
0080Attack cases from templates (R1)Accepted
0081The red-team track, widenedAccepted
0082More attack kinds from templates (R1b)Accepted
0083Leakage and another customer's data (R2)Accepted
0084Encoding and wrapping strategies (R3)Accepted; amended by 0110
0085Injection through tools and memory (R4)Accepted
0086Agency and authority (R4b)Accepted
0087An attacker model (R5)Accepted; amended by 0099, 0101, 0102, 0104
0088More attacker strategies (R5b)Accepted; amended by 0101, 0102, 0104, 0109, 0110
0089Findings mapped to frameworks (R6)Accepted
0090A calibrated judge (R7)Accepted; amended by 0099
0091More judge dimensions (R7b)Accepted; amended by 0100
0092The ecosystem track: v0.6 in six itemsAccepted
0093A library API (E1)Accepted
0094A GitHub Action and CI recipes (E2)Accepted
0095Two runs side by side (E3)Accepted
0096Export (E4)Accepted
0097Import (E5)Accepted
0098A documentation site (E6)Accepted
0099Replies cut at maxTokens, in every role of yokla's own modelsAccepted
0100The demo-shop's judged defects answer in words of their ownAccepted
0101An attacker's reply that isn't the attackAccepted; amended by 0104
0102The demo-shop reads an instruction as a model words itAccepted; amended by 0103
0103The demo-shop reads an instruction that points back to its codeAccepted
0104The attacker's prompt is written in EnglishAccepted
0105The demo-shop adds to the cart only when asked toAccepted
0106The demo-shop reads a typo, not another wordAccepted; amended by 0107, 0111, 0113, 0114
0107The demo-shop reads a word in its own languageAccepted; amended by 0108, 0111
0108The demo-shop reads a short English word, not the start of anotherAccepted; amended by 0111, 0112
0109The attacker's tree layers leetspeak over its attemptsAccepted
0110The demo-shop reads a wrapper as a model words itAccepted
0111The demo-shop reads an English word with an English endingAccepted; amended by 0114
0112The demo-shop reads no colour in a red teamAccepted; amended by 0114
0113The demo-shop reads a word of its own as writtenAccepted; amended by 0114, 0115
0114The demo-shop reads four phrases it misreadAccepted
0115The demo-shop reads a product name written with a hyphenAccepted

Template ​

markdown
# NNNN. Title

Status: Proposed · Date: YYYY-MM-DD

## Context
## Decision
## Consequences
## Alternatives considered

Apache-2.0