---
id: TST-PFM-SEC-271
title: Manifest throttling unit checks
kind: unit
product_area: platform
module: security
revision: 1
status: draft
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
repository: services-platform
files:
  - modules/security/tests/unit/authorizer/manifest-throttling.spec.ts
implements:
  - ATS-PFM-SEC-015-16
  - ATS-PFM-SEC-015-17
environment: mock
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 1
isolation: >-
  Use the file’s run-owned input objects and test doubles; restore changed environment values and
  installed dependencies after each case.
assertion_evidence:
  - provenance: test
    source: >-
      services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts#retries a
      throttled read with a jittered backoff and then loads the manifest
  - provenance: test
    source: >-
      services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts#shares
      one read between concurrent loads of one partition
  - provenance: test
    source: >-
      services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts#serves
      the last known good manifest, marked stale, when the refresh stays throttled
  - provenance: test
    source: >-
      services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts#leaves a
      throttled source alone for a few seconds while serving the last known good manifest
  - provenance: test
    source: >-
      services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts#refuses
      with the throttle when no manifest was ever loaded
  - provenance: test
    source: >-
      services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts#does not
      retry an error that is not transient
  - provenance: test
    source: >-
      services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts#does not
      share a manifest between stages
  - provenance: test
    source: >-
      services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts#recognises
      throttling and server errors as transient and nothing else
evidence:
  - 'services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts'
  - >-
    Static review at the recorded source revision; executable results remain not-run and conformance
    remains not-verified.
examiner: codex
examined_at: '2026-10-23'
final_text: OpenAI
dependency_review:
  provenance: test
  source: 'services-platform:modules/security/tests/unit/authorizer/manifest-throttling.spec.ts'
  explicit_no_doubles: false
  identified_double_boundaries:
    - the clock
    - registry reads
dependency_evidence: >-
  The production decision runs in-process. The suite substitutes the clock, registry reads where its
  dependency setup supplies them; those boundaries have no live-service proof here.
binding_note: >-
  The file has no scenario binding established by this examination. Its executable checks remain
  registered without assigning them broader acceptance coverage.
---
# Manifest throttling unit checks

## Verification Boundary

The file evaluates production helpers with controlled inputs in-process. The assertion references identify the source checks for manifest throttling.

## What This Suite Proves

The file supplies executable engineering checks for the named subject. No complete acceptance scenario is inferred from the file’s existence.

## What It Does Not Prove

This examination does not run the suite. Passing behavior, deployed conformance and the behavior of substituted dependencies require separate execution evidence.

## Real Dependencies and Test Doubles

The production decision runs in-process. The suite substitutes the clock, registry reads where its dependency setup supplies them; those boundaries have no live-service proof here.

## Must Not Be Doubled

Keep the production helper, schema, matcher or declaration under examination real. Substituting the decision itself would remove the behavior the assertions exercise.
