Repository navigation
Security
- Fixed an authentication replay-attack bypass (reported 2026-10-28). The loopback-heuristic replay detection has been replaced with cryptographically single-use tokens. All deployments on
<= 0.2.0should upgrade tov0.2.1immediately. A GitHub Security Advisory with full details will be published alongside this release. - Disable UI encryption-key generation by default (
425f8b3) - Revocable SSRF allowlist on the egress path, with hot-reloadable versioned CAS writes and admin APIs gated by sensitive-operation re-authentication (
e0e370d,9c46cc4,d51468d) - Harden key import: duplicate detection, protocol scoping, and rotation (
bd2a48b) - Stop serving disabled API keys from the auth cache (
782ab0e) - Ed25519 signature verification for license tokens; mirror the issuance trust chain in token verification (
b1c5a80,40cc954)
Guardrails & Compliance
- Field-level guardrail masking on the request path (
cde1b7a) - Incremental streaming checks via a shared SSE writer (
eead398) - Per-request PII vault with reversible masking (
c7a7c07) - Context-aware response checks via
CheckContext.Prompt(e9f15bc) - Guardrail rule versioning with history and rollback (
e841ce0) - Content guardrail gate for MCP tool calls (
f087355) - Standalone crosslink-guard bypass detection service (
f2d7772) - Incident store and manual-review actions for content compliance (
596c5f6) - Detect OpenAI project and service-account key formats (
376d248)
Billing & Usage Durability
- WAL-backed billing durability with idempotent replay (
9e4d648) - Durable settle journal, shadow quarantine, and fail-closed reserve (
2eb41b7) - Billing-integrity gate blocks new billable traffic on double failure (
c36bcb1) - Emergency overflow WAL and capacity-model block engage (
f198a2f) - Request-idempotent reservations and settle-once semantics (
458265d); multiple budget-drift shapes closed with repro tests - Bill semantic-cache HITs through the full ledger chain (
e322a70) - Integrity-block recovery with active probes and restart persistence (
1b16db1) - Persist upstream error type/param, failure stage, and attempt timelines in usage logs, with a usage detail admin endpoint
MCP Toolset
- MCP tool observer wired into the gateway (
7a9fcc9) - Per-key agent toolset profiling with an observer seam (
d078aa4) - Disappeared-tool detection from complete MCP inventories (M2) (
5098e64) - Tool-daily pre-aggregation for DataLens (
4ebfd1f)
Availability & Resilience
- Bound remaining request-path DB lookups under outage (
799969f,802dc7e) - Serve circuit-open rejections from cache; 503 on degraded resolve (
38904f9) - Idle watchdog and per-write deadlines keep streams bounded (
7a1fdaf) - Propagate client disconnects and cap whole-stream duration (
f4e38ca) - Single-flight resolve probes with a bounded negative cache (
da7e0ca) - Auth backend failures now return 503 instead of credential verdicts (
e040dd1)
Gateway & Provider Fixes
- Synthesize SSE terminal event when upstream omits
[DONE](0d8ab18) - Stream parallel tool calls in valid Anthropic order (
6af3063) - Handle developer and function roles in reverse requests (
2e3cabf) - Reject concurrent duplicates of an in-flight idempotency key (
46812bd) - One bounded-JSON contract for every non-stream body (
9b7c0dc) - Configurable upstream idle pool (
c11f3ad)
Admin
POST /keys/importbatch endpoint withkey:importpermission; register existing vendor keys as gateway keys (a98a53a,494b87a)- Guardrail the playground responses path (
3a86a6c) - Reauth token consume via GETDEL-equivalent Lua for Redis < 6.2 (
37d2734)
Dialects & Migrations
- Full migration chains for MySQL/SQLite with M3 schema parity (
f5e881e,1e36be5) - Drop the stale
adapter_typewhitelist constraint (500eeb7) - SQLite
api_keysparity forkey_sourceandprice_multiplier(cf58d5a) - Mock-adapter migration suite verified against real PostgreSQL (
12df533)
Performance
- Composite indexes and the stats chain they enable (
5dba225) - Spool group-commit fsync and batched replay (
4e209b4)
Full changelog: v0.2.0...v0.2.1