lean-ctx 3.9.19

Context Runtime for AI Agents with CCP. 79 MCP tools, 10 read modes, 95+ compression patterns, cross-session memory (CCP), persistent AI knowledge with temporal facts + contradiction detection, multi-agent context sharing, LITM-aware positioning, AAAK compact format, adaptive compression with Thompson Sampling bandits. Supports 24+ AI tools. Reduces LLM token consumption by up to 99%.
1
2
3
4
5
6
7
8
9
10
11
12
# PaymentGateway

The PaymentGateway is the component that talks to the upstream card processor.

## Retry policy

The PaymentGateway retries failed charges using exponential backoff: it starts
with a base delay of 200ms and doubles the delay after every failed attempt
(200ms, 400ms, 800ms, ...). It gives up after a maximum of 5 attempts, at which
point the charge is marked permanently failed and the error is surfaced to the
caller. Only transient upstream errors (HTTP 5xx, timeouts) are retried; a hard
decline is never retried.