---
id: TST-PFM-LLM-067
title: Pure checks for Retry Policy
kind: unit
product_area: platform
module: llm
revision: 1
status: draft
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
repository: services-platform
files:
  - modules/llm/tests/unit/runtime/retry-policy.spec.ts
implements:
  - ATS-PFM-LLM-002-05
  - ATS-PFM-LLM-002-06
environment: mock
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 1
isolation: 'Literal inputs and process-local doubles, restored by the suite.'
evidence:
  - provenance: test
    source: 'services-platform:modules/llm/tests/unit/runtime/retry-policy.spec.ts'
source_boundary:
  provenance: observed
  source: 'services-platform:modules/llm/tests/unit/runtime/retry-policy.spec.ts'
---

# Pure checks for Retry Policy

## Verification Boundary

The suite checks deterministic module behavior and declared configuration using local inputs.

## What This Suite Proves

Retry classification separates recoverable faults. Depleted provider credit does not retry. Combined bindings require every named suite; a component assertion alone does not establish the full experiment.

## What It Does Not Prove

These checks do not establish database transactions, deployed permissions, provider availability or a complete user journey.

## Real Dependencies and Test Doubles

The classifier and delay calculation are real. Constructed errors and controlled randomness supply the cases; policy defaults remain unchanged.

## Must Not Be Doubled

Retain the function, configuration or boundary guard under test and its assertions; replacing them removes the evidence.
