---
name: undominated-rwkv6-linear-state-audit
description: "Audits RWKV-6 linear recurrent state decay parameters and numerical stability across long token horizons. Recomputed fields must match the other inputs. A pass is not a compliance, safety, or price verdict."
license: MIT
metadata:
  author: Undominated.ai
  version: "1.1.0"
---

# RWKV-6 linear state audit

## Description
Audits RWKV-6 linear recurrent state decay parameters and numerical stability across long token horizons.

## Category
`serving`

## Tags
`serving`, `rwkv`, `linear-attention`, `drift`, `recurrent`

## When to Use
Audit RWKV-6 / Eagle models to detect numerical drift or decay saturation over long context sequences.

## Operational Limitations
Evaluates accumulated drift epsilon against tolerance limits; does not compute forward passes.

## Verification Script
Run the deterministic verification checker:
```bash
python3 scripts/check.py examples/synthetic.json
```
Exit codes:
- `0`: Check passed and thresholds satisfied.
- `1`: Threshold breach or operational violation detected.
- `2`: Schema error or invalid usage.

## What the checker recomputes

The original threshold checks still apply:

- `drift_epsilon` must not be > `max_allowed_drift`.

Every other declared field is type-checked. A negative value is rejected except for deltas, drifts, and gains. A type check does not, by itself, prove the measurement.

`population` and `observedAt` are required. The bundled examples are synthetic fixtures, not market measurements.

```bash
python3 scripts/check.py examples/synthetic.json
python3 scripts/check.py examples/contradiction.json
python3 scripts/check.py examples/broken.json
```

Exit 0 is a pass, exit 1 is a review, and exit 2 is invalid input. A pass does not certify a provider, a regulation, a release, or a price.
