Category Specification Dossier•1488 Verified Rules

Backend & High-Concurrency Systems Guardrails

Enterprise behavioral specifications for FastAPI, Go Clean Architecture, Rust Tokio, Prisma, and high-concurrency microservices. Prevent event loop blocking and connection pool leaks.

Common Fatal AI Traps Prevented in BACKEND:
  • •Calling blocking synchronous database drivers inside async FastAPI route handlers
  • •Goroutine memory leaks from unbuffered channels and missing Context cancellations
  • •Unchecked errors in Go services silently swallowing critical failures
  • •Prisma N+1 query floods and unclosed connection pool handles under load
  • •Missing HNSW indexes on high-dimensional pgvector semantic search tables
Showing 1488 of 1488 backend specifications
fastify-5-schema-compilers-encapsulation-production-standard
backendcritical

Fastify 5 Schema Compilers & Encapsulation Production Standard

Fastify relies on lexical encapsulation contexts to sandbox decorators, hooks, and compiled validation/serialization schemas without memory leaks or cross-tenant bleed. In Fastify 5, misuse of global compilers or failing to encapsulate plugin boundaries causes compiled `fast-json-stringify` serializers and Ajv validators to either crash on duplicate IDs, leak private data across sibling scopes, or bypass JIT compilation optimizations. Production services must enforce strict encapsulation hierarchies and type-safe schema compilation across every routing subtree.

Blocks:Mutating global AJV/fast-json-stringify compilers or exposing route-level decorators and hooks across sibling plugin contexts without encapsulation boundaries.
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-concurrency
backendcritical

Bun Embedded SQLite WAL Mode & Transaction Synchronization Standard

Production database standard for bun:sqlite. Mandates enabling Write-Ahead Logging (PRAGMA journal_mode = WAL), busy timeouts, and using db.transaction() for atomic operations without lock starvation.

Blocks:AI opens bun:sqlite with default rollback journals and un-isolated batch inserts, triggering SQLITE_BUSY crashes under concurrent requests.
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-batch-transactions
backendcritical

Drizzle ORM Batch API & Interactive Transaction Isolation Standard

Production database standard for Drizzle ORM (PostgreSQL & MySQL). Mandates using db.batch() over HTTP drivers to prevent round-trip waterfalls, explicit db.transaction() with serializable/read-committed isolation, and strictly avoids unawaited query promises.

Blocks:AI loops single insert queries over serverless HTTP DB drivers (Neon / PlanetScale), creating 20x network latency waterfalls and partial failure states.
Targets:Cursor•Claude•Windsurf•Codex
temporal-io-deterministic-workflow
backendcritical

Temporal.io Workflow Code Determinism & Side Effect Isolation Standard

Production standard for Temporal.io distributed orchestrations. Mandates strict determinism inside workflow functions, strictly prohibiting Math.random(), Date.now(), mutable global variables, or direct network/database calls outside Temporal Activities.

Blocks:AI calls Date.now() or fetch() directly inside a Temporal workflow function, causing non-deterministic replay crashes during worker upgrades.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-0-threaded-io-cluster-failover-production-standard
backendcritical

Valkey 8.0 Threaded I/O & Cluster Failover Production Standard & Concurrency Guardrail

Valkey 8.0 introduces dual-channel multi-threaded I/O to scale network throughput while preserving single-threaded execution atomicity. Clustered deployments must strictly handle MOVED/ASK redirects and slot hashing constraints during node failovers and shard migration. Failure to enforce slot co-locality via hash tags in multi-key operations and Lua scripts causes CROSSSLOT errors and catastrophic transactional rollback failures during cluster rebalancing.

Blocks:Executing un-hashed multi-key commands and Lua scripts across disparate nodes while failing to handle cluster redirects and transient failover states.
Targets:Cursor•Claude•Windsurf•Codex
surrealdb-2-0-live-queries-record-links-production-standard
backendcritical

SurrealDB 2.0 Live Queries & Record Links Production Standard

SurrealDB 2.0 introduces strict RecordId types, an overhauled Rust engine, and push-based LIVE QUERY streaming over WebSockets. In production, unmanaged live queries cause persistent socket leaks and cluster memory exhaustion, while handling record links as arbitrary strings breaks transactional graph traversal and schema validation.

Blocks:Treating record IDs as raw interpolated strings and abandoning live query UUID subscriptions without deterministic teardown.
Targets:Cursor•Claude•Windsurf•Codex
duckdb-node-js-zero-copy-apache-arrow-ingest-production-standard
backendcritical

DuckDB Node.js Zero-Copy Apache Arrow Ingest & Concurrency Standard

DuckDB in Node.js requires strict adherence to zero-copy memory boundaries when streaming Arrow IPC records and executing parallel analytical queries across connection pools. Naive JSON serialization, raw ArrayBuffer copies, or concurrent queries sharing a single un-pooled Connection instance trigger V8 heap exhaustion, memory leaks, or native segfaults. Production architectures must enforce worker-safe connection pooling, explicit Arrow RecordBatch streaming via C++ IPC bindings, and strictly bounded memory limits.

Blocks:Deserializing analytical query results into native V8 JavaScript objects or executing concurrent queries on a single un-pooled DuckDB Connection handle.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-0-threaded-io-cluster-failover-guardrails
backendcritical

Valkey 8.0 Threaded I/O & Cluster Failover Production Standards

Valkey 8.0 leverages asynchronous multi-threaded I/O for socket read/write operations while preserving single-threaded execution for command mutations. In distributed cluster deployments, unhandled MOVED and ASK redirections during automatic master failovers cause cascading connection pool exhaustion and silent command drops. Furthermore, multi-key operations and Lua scripts execute atomically only when all involved keys map to the identical cluster hash slot via explicit hash tags.

Blocks:Executing cross-slot multi-key commands without hash tags while ignoring cluster failover redirects and socket pool saturation.
Targets:Cursor•Claude•Windsurf•Codex
langgraph-2026-stateful-checkpointers-human-in-the-loop-production-standard
backendcritical

LangGraph Stateful Checkpointers & Resilient Human-in-the-Loop Concurrency Guardrail

LangGraph production systems require durable checkpointers, deterministic thread scoping, and atomic human-in-the-loop (HITL) interrupt semantics to preserve workflow states across restarts and horizontal scaling. Relying on transient in-memory checkpointers or blocking asynchronous loops destroys state continuity and causes workflow deadlocks during deployments. Teams must mandate transactional state backends, native interrupt triggers, and schema-validated resumes within immutable channel reducers.

Blocks:Deploying ephemeral in-memory checkpointers in distributed environments and hijacking graph control with unpersisted manual prompts instead of native interrupt primitives.
Targets:Cursor•Claude•Windsurf•Codex
litellm-proxy-load-balancing-fallback-routing-production-standard
backendcritical

LiteLLM Proxy Load Balancing & Fallback Routing Production Standard

Production LiteLLM proxy deployments must maintain deterministic fallback topologies, bounded semantic cache lifecycles, and tenant-isolated token quota budgets across heterogeneous model providers. Without explicit circuit breaking and tier-aware load balancing, transient provider rate limits escalate into catastrophic cascading failures across upstream microservices. Reliable gateway architectures decouple client call-sites from provider-specific error formats by enforcing uniform retry budgets and distributed cache invalidation.

Blocks:Naive direct model invocations lacking circuit breakers, fallback groups, and budget bounds that crash downstream services on provider HTTP 429 bursts.
Targets:Cursor•Claude•Windsurf•Codex
valkey-threaded-io-cluster-failover-standard
backendcritical

Valkey 8.0 Multi-Threaded I/O, Cluster Slot Pinning, and Failover Resilience

Enforces deterministic cluster hash tagging for multi-key atomic operations and Lua scripts to prevent CROSSSLOT execution failures in Valkey 8.0. Mandates dynamic cluster topology discovery, backpressure-aware connection pooling for threaded I/O, and automated retry mechanisms for MOVED and ASK redirects during cluster failovers.

Blocks:Unpinned Multi-Key Script Execution with Naive Single-Node Clients Failing During Failover Re-Sharding
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-s3-native-storage-standard
backendcritical

Bun 1.2 SQLite WAL Concurrency & Native S3 Streaming Invariant

Enforces strict concurrency and zero-copy data flow standards for Bun 1.2 applications using native bun:sqlite and Bun.s3. Forbids executing asynchronous network I/O or S3 streaming within synchronous SQLite WAL transaction boundaries, mandates optimal WAL pragmas, and enforces end-to-end memory-efficient streaming.

Blocks:Interleaving Async S3 Network I/O Inside SQLite Write Transactions Causing Database Lock Starvation
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-tower-resilience
backendcritical

Axum 0.8 Type-Safe State Extractors & Tower Service Composition

Enforces strict type safety and architectural invariants for Axum 0.8 applications using Router::with_state, sub-state derivation via FromRef, and Tower middleware composition. Prohibits untyped Extension state sharing and unhandled extractor rejections that trigger server panics or unformatted 500 responses.

Blocks:Untyped Extension Injection and Unhandled Missing State Panics in Axum 0.8
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-failover-standard
backendcritical

Valkey 8.0 Threaded I/O, Cluster Routing, and Script Atomicity Guardrails

Enforces strict cluster-topology handling, deterministic hash-tag slot affinity for transactional scripts, and resilient backoff redirection protocols for Valkey 8.0 multi-threaded deployments. Prevents CROSSSLOT evaluation exceptions, slot discovery thundering herds during failovers, and socket contention during threaded I/O execution.

Blocks:Un-tagged multi-key Lua scripting and unhandled MOVED/ASK redirect storms during node failover.
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-s3-streaming-invariants
backendcritical

Bun 1.2 Native SQLite WAL Concurrency & S3 Direct-Stream Pipeline Invariants

Enforces strict production invariants for Bun 1.2 embedded database and object storage operations. Mandates WAL-mode PRAGMA concurrency configuration, prepared statement lifecycle reuse in 'bun:sqlite', and zero-copy S3 streaming via 'Bun.s3' to prevent node heap buffer exhaustion.

Blocks:Buffering multi-megabyte payloads in process heap while executing un-indexed SQLite writes in rollback journal mode without statement preparation.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-v5-middleware-graceful-shutdown
backendcritical

Go Chi v5 Deterministic Middleware Hierarchy & Signal-Driven Graceful Shutdown

Enforces strict middleware sequencing, hierarchical sub-router boundary isolation, context-propagated timeout cancellation, and zero-downtime signal-driven HTTP server shutdown in Go Chi v5 services. Eliminates dropped in-flight requests during rolling deployments, unmanaged goroutine leaks, and middleware duplication across mounted subtrees.

Blocks:Uncontrolled Process Termination, Inverted Middleware Stacks, and Context-Blind Handler Execution
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-threaded-io-failover-standard
backendcritical

Valkey 8.0 Multi-Threaded I/O, Cluster Slot Redirects, and Hash-Tag Script Atomicity

Enforces strict hash-tag slot pinning for atomic multi-key Lua/Functions and resilient MOVED/ASK cluster redirection handling in Valkey 8.0. Prevents CROSSSLOT runtime exceptions, connection thrashing during automated failovers, and false concurrency assumptions under multi-threaded I/O.

Blocks:Executing unpinned multi-key Lua scripts across cluster slots while mishandling MOVED/ASK redirects and failover state transitions.
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-s3-native-storage
backendcritical

Bun 1.2 Embedded SQLite WAL & S3 Native Zero-Copy Streaming Invariants

Enforces deterministic concurrency control and high-throughput zero-copy streaming when combining Bun 1.2's native bun:sqlite engine with Bun.s3 storage. Mandates WAL journal mode with synchronous normal settings, prepared statement reuse, and direct stream piping between SQLite BLOB reads/writes and native S3 multipart operations without intermediate in-memory buffering. Eliminates event loop blocking, file lock deadlocks, and Node.js wrapper overhead.

Blocks:Unbuffered in-memory reads, missing WAL journal configuration, and redundant AWS-SDK wrapping in Bun runtimes
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-tower-resilience-standard
backendcritical

Axum 0.8 Type-Safe State Composition and Tower Service Invariants

Enforces strict type safety and panic resilience across Axum 0.8 State extractors and Tower middleware stacks. Mandates compile-time substate extraction via FromRef, prevents router state decoupling panics, and guarantees zero unhandled rejection panics through CatchPanic layers and custom IntoResponse error boundaries.

Blocks:Runtime router panics and broken substate isolation caused by untyped state degradation, missing CatchPanic middleware, and unconstrained Tower layers.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-slot-routing-atomicity
backendcritical

Valkey 8.0 Cluster Hash Tagging, Redirection Handling, and Non-Blocking Scripting

Valkey 8.0 multi-threaded I/O parallelizes socket read/write processing across I/O threads but maintains single-threaded execution semantics for data mutability and cluster slot routing across nodes (slots 0-16383). Developers must enforce explicit hash tagging for multi-key atomicity, strictly declare all keys in Lua or Function execution to prevent cross-slot deadlocks, and implement resilient MOVED and ASK redirection handlers with slot cache invalidation during cluster failover.

Blocks:Cross-Slot Lua Execution and Unhandled Failover Redirections Inducing Stalled I/O Pipelines
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-failover
backendcritical

Valkey 8.0 Threaded I/O Configuration, Cluster Failover, and Lua Slot Invariants

Enforces strict cluster routing, hash-tag slot alignment, and resilient connection pooling under Valkey 8.0 multi-threaded I/O architectures. Guarantees atomic Lua script execution across cluster shards while preventing unhandled MOVED/ASK redirect storms and failover split-brain writes.

Blocks:Executing untagged multi-key operations and unhandled MOVED/ASK redirects across Valkey cluster shards.
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-s3-native-standard
backendcritical

Bun 1.2 Embedded SQLite WAL & S3 Native Zero-Copy Streaming Invariants

Enforces high-throughput architectural patterns using Bun 1.2 native bun:sqlite and Bun.s3. Mandates strict WAL mode configuration with synchronous NORMAL pragmas, zero-copy buffer queries, and streaming multipart uploads directly via Bun.s3 client to prevent event loop starvation and heap bloat.

Blocks:Blocking disk I/O via default DELETE journal mode and buffering S3 payloads entirely in RAM
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-slot-atomicity-failover
backendcritical

Valkey 8.0 Cluster Hash Tagging, Redirection & Failover Invariants

Valkey 8.0 leverages multi-threaded I/O for socket processing while enforcing single-threaded command determinism across 16,384 cluster slots. Distributed systems targeting Valkey Cluster MUST enforce hash tagging for multi-key operations and Lua scripts to prevent CROSSSLOT errors, and MUST handle MOVED/ASK redirections with managed topology refreshes during master failover.

Blocks:Un-tagged Multi-Key Operations and Unbounded Redirection Failures During Cluster Failover
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-tower-guardrails
backendcritical

Axum 0.8 Type-Safe State Extractors & Tower Middleware Invariants

Enforces Axum 0.8 compile-time type-safe state access via FromRef sub-states rather than fallible dynamic Extension extractors. Mandates defensive Tower middleware ordering with CatchPanicLayer and structured custom rejection handlers to ensure zero unhandled panics or degraded error telemetry.

Blocks:Dynamic Extension Extraction and Unprotected Tower Pipelines Yielding Runtime Panics
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-tower-service-invariants
backendcritical

Axum 0.8 Type-Safe State Extractors and Resilient Tower Middleware Stack

Enforces strict type safety and subtyping for Axum 0.8 State extractors using FromRef, paired with panic-free Tower middleware composition. Mandates CatchPanicLayer boundary encapsulation, explicit error conversion into Response types, and zero unhandled extractor mismatches at compile time.

Blocks:Monolithic Untyped State Extraction with Fragile Middleware Ordering and Unhandled Panic Rejections
Targets:Cursor•Claude•Windsurf•Codex
go-chi-v5-middleware-graceful-shutdown-standard
backendcritical

Chi v5 Router Composition, Context Cancellation, and Graceful Shutdown

Enforces deterministic HTTP server lifecycles, sub-router isolation, and context-cancellation propagation in Go Chi v5 microservices. Mandates signal-driven shutdown deadlines with http.ErrServerClosed handling and prevents goroutine or database connection leaks across downstream I/O boundaries.

Blocks:Unbounded HTTP servers lacking SIGTERM shutdown deadlines and ignoring request context cancellation in sub-router handlers.
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-state-and-tower-composition
backendcritical

Axum 0.8 Type-Safe State Sub-typing and Tower Panic Boundary Invariants

Enforce compile-time type-safe state injection via Axum's FromRef pattern across nested routers and guarantee zero unhandled runtime panics using Tower CatchPanicLayer middleware. Handlers must consume state via cloned aggregates or derived sub-states, and must never rely on process-terminating unwraps or loose dynamic state containers.

Blocks:Nested Routers Missing FromRef Implementations and Naked Tower Middleware Stacks Leaking Panics
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-tower-resilience
backendcritical

Axum 0.8 Type-Safe State, Tower Middleware Invariants, and Panic Isolation

Mandates type-safe State and FromRef extraction over dynamic Extensions, strictly enforces extractor parameter ordering where body-consuming extractors must be terminal, and guarantees zero unhandled connection drops via Tower CatchPanicLayer and typed rejections.

Blocks:Untyped runtime extensions, inverted handler extractor ordering, and missing panic layers that terminate HTTP connections abruptly.
Targets:Cursor•Claude•Windsurf•Codex
valkey-cluster-failover-threaded-io-guardrail
backendcritical

Valkey 8.0 Threaded I/O Topology, Slot Routing & Lua Atomicity Standard

Enforces strict hash-tag slot locality for multi-key commands and Lua scripts across Valkey 8.0 clusters. Mandates resilient handling of MOVED and ASK redirection topologies during automatic node failovers and configures non-blocking cluster connection pools to prevent event-loop thread starvation under asynchronous threaded I/O workloads.

Blocks:Executing untagged cross-slot multi-key Lua scripts and naive reconnect loops on MOVED/ASK cluster failovers
Targets:Cursor•Claude•Windsurf•Codex
valkey-cluster-threaded-io-failover-standard
backendcritical

Valkey 8.0 Cluster Topologies, Multi-Threaded I/O, and Cross-Slot Lua Atomicity

Enforces strict cluster-aware client configurations, explicit hash tagging for multi-key Lua scripts, and robust handling of MOVED/ASK redirections under Valkey 8.0's multi-threaded I/O engine. Prevents silent data corruption, cross-slot transaction aborts, and connection storms during automated cluster failovers.

Blocks:Executing un-tagged multi-key Lua operations on un-clustered clients during failover topology transitions
Targets:Cursor•Claude•Windsurf•Codex
bun-12-sqlite-wal-s3-native-storage-standard
backendcritical

Bun 1.2 Embedded SQLite WAL Concurrency & Native S3 Zero-Copy Streaming Standard

Enforces strict production invariants for Bun 1.2 runtime storage primitives: SQLite WAL mode with non-blocking concurrent readers, zero-copy query execution via bun:sqlite prepared statements, and direct multipart streaming transfers using Bun.s3 native client without intermediate memory buffering.

Blocks:Memory-Buffered S3 Transfers, Unprepared Statements, and Exclusive Locking SQLite Mode in Bun 1.2
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-0-8-state-tower-resilience-standard
backendcritical

Rust Axum 0.8 Strict State Extraction & Tower Middleware Resilience

Enforces compile-time type-safe state extraction via Axum 0.8 State and FromRef sub-states while prohibiting untyped Extension-based dependency injection. Mandates deterministic Tower middleware ordering featuring outer CatchPanicLayer, structured TraceLayer, and typed custom rejections to eliminate unhandled panics and silent TCP connection terminations.

Blocks:Untyped Extension Injection, Inverted Middleware Layering, and Panic-Induced Client Disconnections
Targets:Cursor•Claude•Windsurf•Codex
go-chi-middleware-routing-graceful-shutdown
backendcritical

Chi v5 Context-Aware Middleware Chaining, Safe Route Mounting, and Signal-Driven Graceful Shutdown

Enforces deterministic Chi v5 middleware execution order, strict request context propagation to prevent zombie goroutines, safe sub-router mounting, and non-blocking signal-driven HTTP server shutdown. Guarantees that in-flight requests cleanly drain during deployments without data corruption or abrupt socket drops.

Blocks:Unbounded Context Execution, Hard Process Halts, and Leaked In-Flight Connections in Chi Web Services
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-threaded-io-production-standard
backendcritical

Valkey 8.0 Multi-Threaded I/O, Slot Redirection, and Lua Atomicity Standard

Enforces strict cluster-aware client configuration, hash-tag slot alignment, and non-blocking command execution for Valkey 8.0 deployments. Guarantees zero-downtime cluster topology transitions during failovers while preventing CROSSSLOT errors and event-loop thread starvation under asynchronous threaded I/O workloads.

Blocks:Dynamic Key Generation in Lua Scripts and Static Cluster Topologies Causing CROSSSLOT Exceptions and Dropped Failover Traffic
Targets:Cursor•Claude•Windsurf•Codex
bun-1-2-sqlite-wal-s3-streaming-standard
backendcritical

Bun 1.2 Embedded SQLite WAL Concurrency & S3 Zero-Copy Streaming Invariants

Enforces non-blocking embedded database and object storage patterns in Bun 1.2+. Mandates Write-Ahead Logging (WAL) with strict busy timeouts and prepared statements for 'bun:sqlite', alongside zero-allocation ReadableStream piping for Bun S3 native clients to prevent event-loop stalls and out-of-memory heap panics.

Blocks:Buffering S3 payloads entirely in Node.js memory buffers and executing ad-hoc un-journaled bun:sqlite queries without WAL pragma locks.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-resilience
backendcritical

Valkey 8.0 Threaded I/O, Slot Redirection, and Lua Atomicity Guardrails

Valkey 8.0 employs an asymmetric dual-channel threaded I/O engine where socket parsing runs in parallel while command execution remains strictly single-threaded per shard. Distributed cluster deployments must enforce explicit hash-tag slot affinity on multi-key operations and handle ASK/MOVED redirection gracefully during node failover to prevent pipeline thrashing and slot corruption.

Blocks:Executing un-hashed multi-key Lua scripts and naive pipelines without slot-refresh backoff during cluster failovers.
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-s3-streaming-standard
backendcritical

Bun 1.2 SQLite WAL Concurrency & S3 Zero-Copy Streaming Standard

Mandates production configuration for Bun 1.2's native bun:sqlite engine using Write-Ahead Logging (WAL), busy timeout resiliency, and zero-copy iteration. Enforces direct kernel-level streaming for S3 native storage via Bun.s3 without intermediate heap memory buffering.

Blocks:Blocking In-Memory SQLite Contention & Heap-Exhausting S3 Buffering
Targets:Cursor•Claude•Windsurf•Codex
bun-1-2-sqlite-wal-s3-native-storage-standard
backendcritical

Bun 1.2 Embedded SQLite WAL Concurrency & Native S3 Zero-Copy Streaming Standard

Enforces high-throughput, memory-safe data operations in Bun 1.2 using bun:sqlite with Write-Ahead Logging (WAL) and Bun's native S3 Client. Mandates zero-copy statement execution via bun:sqlite typed queries and precludes buffering unbounded binary streams in memory by leveraging Bun.s3 native multipart streaming.

Blocks:Buffering Out-of-Process SQLite Bindings in Memory & Buffering Entire S3 Blobs as Node Buffers
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-invariants
backendcritical

Valkey 8.0 Threaded I/O, Cluster Slot Redirects, and Multi-Key Scripting

Enforces strict production invariants for Valkey 8.0 deployments utilizing multi-threaded I/O, automated cluster failover, and atomic scripting. Mandates hash-tagging for multi-key atomicity, zero-drift MOVED and ASK redirect topology refreshes, and I/O pool configuration tuned to eliminate main-thread starvation.

Blocks:Executing un-tagged multi-key Lua scripts and executing blind retries on MOVED/ASK redirects during failover.
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-state-tower-panic-resilience
backendcritical

Rust Axum 0.8 Compile-Time State Extraction and Tower Middleware Invariants

Mandate compile-time type-safe state injection using Axum 0.8 State and FromRef traits instead of runtime Extension extractors. Enforce deterministic Tower middleware ordering via ServiceBuilder with CatchPanicLayer and customized rejection types to eliminate unhandled connection drops.

Blocks:Runtime Panics from Untyped Extension Extractors, Unhandled Panics Crashing HTTP Connections, and Broken Middleware Stacks
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-topology-guardrail
backendcritical

Valkey 8.0 Threaded I/O, Slot Redirect Handling, and Hash Tag Atomicity Standard

Enforces architectural patterns for Valkey 8.0 cluster topologies, multi-threaded I/O management, and multi-key script execution. Eliminates CROSSSLOT execution failures, cascading failover loops, and thread pool starvation by mandating hash tags, dual-phase redirection handling (MOVED vs. ASK), and non-blocking transaction designs.

Blocks:Unpartitioned Cross-Slot Multi-Key Operations with Naive Redirect Handling Under Multi-Threaded I/O
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-0-8-state-tower-guardrails
backendcritical

Axum 0.8 Type-Safe State Extractors & Resilient Tower Middleware Composition

Enforces Axum 0.8 idioms for type-safe state extraction via FromRef and State<T>, deterministic Tower ServiceBuilder middleware sequencing, and mandatory CatchPanicLayer integration. Prevents runtime state-resolution panics, dropped connections, and silent request body consumption errors.

Blocks:Runtime Extension extraction failures, inverted Tower middleware order, and unhandled handler panics causing connection drops
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-type-safe-state-and-tower-composition
backendcritical

Axum 0.8 Type-Safe State Extraction, Tower Middleware Composition & Panic Guardrails

Mandates compile-time type-safe state extraction via Axum 0.8's State extractor and FromRef pattern, eliminating runtime Extension panics. Enforces deterministic Tower ServiceBuilder layer ordering and boundary-level panic interception to ensure zero unhandled connection drops.

Blocks:Runtime Panics via Fallible Extension Extractors & Dropped Connections from Inverted Tower Layers
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-tower-resilience-guardrail
backendcritical

Axum 0.8 Type-Safe State Extraction, Tower Middleware Ordering, and Panic Boundary Invariants

Enforces compile-time type-safe state extraction via Axum 0.8's State and FromRef traits instead of runtime Extension lookups. Mandates strict Tower ServiceBuilder middleware ordering with CatchPanicLayer, TimeoutLayer, and TraceLayer to prevent runtime panics, dropped connections, and untyped state degradation.

Blocks:Runtime panics from missing request extensions, misordered Tower layers dropping traces, and unhandled extractor rejections
Targets:Cursor•Claude•Windsurf•Codex
go-chi-v5-middleware-graceful-shutdown-production-standard
backendcritical

Go Chi v5 Middleware Isolation, Context Cancellation, and Signal-Driven Graceful Shutdown

Mandates deterministic HTTP lifecycle management in Go Chi v5 services through isolated sub-router middleware stacks, strict r.Context() propagation to downstream I/O, and non-blocking OS signal-trapping graceful shutdown. Prevents dropped in-flight requests, detached context goroutine leaks, and middleware leakage across sibling sub-routes.

Blocks:Synchronous Server Blocking, Context Abandonment, and Leaky Sub-Router Middleware Hierarchies
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-failover-invariants
backendcritical

Valkey 8.0 Threaded I/O, Slot Redirects, and Cross-Slot Script Atomicity Standard

Enforces architectural invariants for Valkey 8.0 deployments, mandating explicit hash-tag slot pinning for multi-key commands and Lua/function scripts, client-side resilience against MOVED and ASK redirection storms during topology failovers, and optimal threaded I/O configuration to avoid thread contention.

Blocks:Executing un-bracketed multi-key Lua scripts alongside unthrottled MOVED/ASK redirect retry loops during cluster failovers.
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-0-8-state-tower-guardrail
backendcritical

Axum 0.8 Type-Safe State Sub-Extraction, Tower Layer Ordering, and Zero-Panic Rejections

Enforces strict type-safe state extraction via FromRef, disciplined Tower middleware layer ordering, and resilient panic suppression in Axum 0.8 applications. Eliminates executor thread termination and ensures custom extractors resolve failures into deterministic, typed HTTP responses.

Blocks:Monolithic state cloning, inverted Tower layer execution order, and unhandled extractor panics crashing async executor tasks
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-tower-resilience-standard
backendcritical

Axum 0.8 Type-Safe State Architecture, Substates, and Tower Middleware Resilience

Enforces compile-time type-safe dependency injection via Axum 0.8 State and FromRef substate extraction, preventing runtime type misses from Extension. Mandates fault-tolerant Tower Service layers featuring CatchPanicLayer and custom rejection types to eliminate unhandled panics and silent connection drops.

Blocks:Dynamic runtime Extension extraction and unhandled panic propagation without Tower CatchPanic layers.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-failover-guardrail
backendcritical

Valkey 8.0 Cluster Topology, Cross-Slot Atomicity, and Threaded I/O Invariants

Enforces strict hash-tag slot alignment for multi-key commands and Lua functions in Valkey 8.0 clusters, prevents event loop starvation under Threaded I/O configurations, and guarantees robust dynamic slot cache invalidation during cluster failovers.

Blocks:Unhashed multi-key Lua executions causing CROSSSLOT errors and unhandled MOVED/ASK redirect thrashing during failover
Targets:Cursor•Claude•Windsurf•Codex
axum-state-extractor-tower-pipeline-standard
backendcritical

Rust Axum 0.8 Type-Safe State Extraction & Tower Resiliency Pipeline

Enforces compile-time type-safe state extraction via Axum 0.8 FromRef traits, strict sequential extractor ordering with terminal body consumption, and deterministic Tower middleware ordering with explicit panic recovery boundaries to eliminate dropped socket connections.

Blocks:Dynamic Extension injection, premature body extraction, and naked Tower pipelines causing runtime panics and connection drops.
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-0-8-state-tower-resilience
backendcritical

Axum 0.8 Modular State Extraction and Tower Panic Isolation

Enforces strict type-safe state modularization using axum 0.8 FromRef extractors and resilient Tower middleware chaining. Mandates fail-safe Tower Service composition with CatchPanicLayer and structured IntoResponse rejections to prevent silent connection termination.

Blocks:Monolithic state coupling with legacy Extension extractors and missing Tower panic boundaries.
Targets:Cursor•Claude•Windsurf•Codex
valkey-cluster-failover-multithread-io-standard
backendcritical

Valkey 8.0 Cluster Topology, Slot Redirects, and Lua Atomicity Guardrails

Enforces strict cluster slot affinity using hash tags across multi-key operations and Lua scripts in Valkey 8.0, paired with topology-aware connection lifecycle management. Prevents runtime CROSSSLOT errors, stale replica reads during cluster failover elections, and pipeline starvation under multi-threaded I/O loads.

Blocks:Cross-Slot Lua Execution and Unhandled MOVED/ASK Redirects During Valkey Cluster Failover
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-08-state-tower-resilience
backendcritical

Rust Axum 0.8 Type-Safe State Extractors and Tower Middleware Composition

Enforces compile-time type-safe dependency injection via Axum 0.8 State and FromRef traits while guaranteeing panic-free Tower middleware composition. Prohibits untyped Extension state passing and mandates exhaustive IntoResponse rejection handling across all boundary extractors and service layers.

Blocks:Untyped Extension Passing, Monolithic State Coupling, and Unhandled Tower Service Panics
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-failover-io-threading-guardrails
backendcritical

Valkey 8.0 Cluster Topology, Failover Redirection, and Multi-Key Script Invariants

Enforces strict production invariants for Valkey 8.0 clusters utilizing asynchronous multi-threaded I/O, hash-tagged atomic multi-key Lua scripts, and resilient slot topology refresh handling on MOVED and ASK cluster redirects during failover.

Blocks:Executing un-tagged multi-key operations or blocking Lua scripts under threaded I/O while mishandling cluster slot migrations and failover redirections.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-failover-io-threading
backendcritical

Valkey 8.0 Threaded I/O Topology, Hash Tags, and Failover Guardrails

Enforces strict key hash-tagging for multi-key operations and atomic Lua scripts, alongside cluster-aware client configuration for Valkey 8.0 threaded I/O deployments. Prevents CROSSSLOT runtime exceptions, pipeline stalls, unhandled MOVED/ASK redirect storms, and connection pool exhaustion during master failovers.

Blocks:Executing un-tagged multi-key Lua scripts via non-clustered clients without backoff-resilient MOVED/ASK redirection handling.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-threaded-io-failover
backendcritical

Valkey 8.0 Cluster Topology Routing, Hash Tagging, and Threaded I/O Guardrails

Enforces strict hash tag partition alignment ({tag}) for atomic Lua scripts and multi-key operations in Valkey 8.0 clusters, alongside deterministic cluster redirect handling (MOVED/ASK) with exponential backoff. Precludes CROSSSLOT exceptions, uncoordinated failover reconnect loops, and unbuffered pipeline degradation in threaded I/O environments.

Blocks:Executing un-tagged multi-key Lua scripts and naive reconnect handling during Valkey cluster failovers.
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-08-state-tower-guardrails
backendcritical

Rust Axum 0.8 Type-Safe State Extraction and Tower Middleware Invariants

Mandates compile-time type-safe application state sharing in Axum 0.8 using FromRef and State extractors instead of untyped extensions. Enforces resilient Tower middleware pipelines ordered with panic boundaries, tracing, and deterministic error-to-response transformations to guarantee zero uncaught panic rejections.

Blocks:Untyped Extension Injections and Fragile Tower Pipeline Ordering Causing Unhandled Handler Panics
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-topology-standard
backendcritical

Valkey 8.0 Threaded I/O Topology Refresh, Hash Slot Affinity, and Script Atomicity Guardrails

Enforces strict cluster slot affinity, dynamic topology discovery, and non-blocking transaction patterns for Valkey 8.0 deployments. Guarantees zero CROSSSLOT script aborts, deterministic client failover during master re-elections, and prevents head-of-line blocking under multi-threaded socket I/O configurations.

Blocks:Executing un-hashed multi-key Lua scripts against naive single-node clients during Valkey cluster failovers.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-v5-structured-middleware-graceful-shutdown
backendcritical

Chi v5 Context-Aware Middleware Sequencing and Graceful Server Lifecycle

Enforces strict ordering of Chi v5 middleware stacks, deterministic request context propagation, and signal-driven HTTP graceful shutdown with bounded drain intervals. Prevents goroutine leaks, unhandled context cancellations across sub-routers, and abrupt connection termination under deployment rollouts.

Blocks:Unordered Global Middleware, Ignoring Request Contexts in Downstream Handlers, and Abrupt Process Termination via log.Fatal
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-08-state-tower-service-invariants
backendcritical

Axum 0.8 Type-Safe State Extraction and Tower Middleware Invariants

Enforce strict compile-time state safety in Axum 0.8 using type-safe State extractors and modular FromRef sub-states instead of dynamic Extension containers. Mandate deterministic Tower middleware stack ordering with CatchPanicLayer and ServiceBuilder to guarantee zero unhandled panics or silent connection drops.

Blocks:Relying on Dynamic Extensions, Monolithic AppState Coupling, and Omitting CatchPanicLayer in Tower Middleware Stacks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slots-replication-buffers
backendcritical

PostgreSQL 17 Logical Replication Failover Slots & Memory Buffer Invariants

PostgreSQL 17 introduces native logical replication slot failover synchronization across physical standbys, requiring explicit failover flag enablement and coordinated synchronized_standby_slots configuration. Applications managing logical streaming consumers must guard against unconstrained WAL retention by enforcing max_slot_wal_keep_size alongside bounded logical_decoding_work_mem to prevent primary disk exhaustion and shared_buffers pollution. Failure to enforce these invariants leads to broken consumer streams post-failover or catastrophic WAL accumulation.

Blocks:Unsynchronized Logical Slots without WAL Keep Limits Inducing Failover Loss and WAL Disk Saturation
Targets:Cursor•Claude•Windsurf•Codex
chromadb-hnsw-tenant-isolated-filtering
backendcritical

ChromaDB 0.6+ Multi-Tenant Namespaces and HNSW Metadata Filter Optimization

ChromaDB 0.6+ mandates strict tenant and database namespace isolation at the client and collection tier instead of monolithic collection filtering. Executing high-selectivity tenant filters against an unpartitioned shared HNSW graph causes query recall collapse, filter thrashing, and potential data leakage across tenant boundaries.

Blocks:Monolithic Shared Collection with Soft Tenant Filtering and Unindexed HNSW Traversal
Targets:Cursor•Claude•Windsurf•Codex
drizzle-038-prepared-statements-pooling-standard
backendcritical

Drizzle ORM 0.38 Prepared Statement Lifecycle & Pool Saturation Guardrails

Enforces strict lifecycle management for Drizzle ORM prepared statements across pooled connections, preventing named-statement collisions and pool exhaustion in relational queries. Requires transaction-scoped execution tokens, explicit error isolation for deterministic rollbacks, and explicit pool exhaustion backpressure policies.

Blocks:Global Unparameterized Prepared Statements Causing PgBouncer Collisions and Connection Pool Starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres17-logical-replication-buffers-standard
backendcritical

PostgreSQL 17 Failover Slots, Logical Streaming, and Memory Buffer Invariants

Enforces strict failover synchronization for logical replication slots introduced in PostgreSQL 17 alongside bounded WAL retention and explicit streaming modes. Guarantees memory buffer isolation by constraining logical_decoding_work_mem and shared_buffers to prevent disk spillover and out-of-memory cascades during large transactional streams.

Blocks:Unsynchronized Logical Slots Without Failover Control and Unbounded WAL Retention
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-buffers-standard
backendcritical

PostgreSQL 17 Failover Slot Synchronization, Streaming Decoding, and Memory Invariants

PostgreSQL 17 introduces native logical replication slot synchronization (`sync_replication_slots`) and failover-enabled logical slots (`failover = true`). Failure to configure failover slots alongside bounded `max_slot_wal_keep_size`, adequate `logical_decoding_work_mem`, and streaming transaction parameters leads to unmitigated WAL exhaustion, catastrophic failover data duplication, and buffer pool eviction under high write volume.

Blocks:Unsynchronized Unbounded Logical Replication Slots Spilling to Disk and Exhausting WAL on Failover
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-threaded-io-failover-invariants
backendcritical

Valkey 8.0 Multi-Threaded I/O, Hash Slot Affinity, and Failover Topology Invariants

Enforces strict hash-tag slot affinity for Lua scripts and multi-key transactions in Valkey 8.0, preventing CROSSSLOT errors across cluster shards. Mandates automated cluster topology refresh and backoff strategies during failovers and slot migrations (handling MOVED and ASK redirects), while guaranteeing compatibility with Valkey 8.0 multi-threaded I/O bounds.

Blocks:Executing Untagged Multi-Key Operations and Failing to Refresh Topology on Failover Slot Redirects
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-and-buffer-invariants
backendcritical

PostgreSQL 17 Logical Replication Failover Slots & Memory Buffer Standards

Standardizes the programmatic management of PostgreSQL 17 logical replication slots and memory buffers in high-availability topologies. Mandates the use of PG17 failover-enabled slots synchronized across physical standbys, explicit max_slot_wal_keep_size bounding, and calibrated logical_decoding_work_mem to prevent primary node crashes and split-brain data streams.

Blocks:Unsynchronized Logical Slots Lacking Failover Flags and Unbounded WAL Retention
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-topology-threaded-io-guardrail
backendcritical

Valkey 8.0 Threaded I/O, Slot Pinning, and Cluster Failover Standards

Enforces strict architectural boundaries for Valkey 8.0 cluster topologies utilizing asynchronous multi-threaded I/O. Mandates mandatory hash-tag pinning for multi-key commands and atomic Lua scripts, deterministic handling of MOVED and ASK cluster redirects with exponential backoff and jitter, and prevents cluster topology refresh stampedes during primary failover events.

Blocks:Unpinned Multi-Key Script Execution with Naive Slot Refresh Stampedes
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-buffer-invariants
backendcritical

PostgreSQL 17 Logical Replication Failover Slots & Memory Buffer Invariants

Enforces PostgreSQL 17 native failover-enabled logical replication slot architecture, synchronized standby configuration, bounded WAL retention, and deterministic shared_buffers/logical_decoding_work_mem allocation. Prevents silent replication loss during physical primary failovers and eliminates cascading WAL disk exhaustion under high subscriber lag.

Blocks:Creating Unmanaged Logical Slots Without Failover Support or WAL Retention Bounds
Targets:Cursor•Claude•Windsurf•Codex
chromadb-06-hnsw-metadata-filtering-tenant-sharding
backendcritical

ChromaDB 0.6 HNSW Filter Optimization & Tenant-Isolated Sharding Guardrail

Enforces strict tenant isolation, optimal metadata indexing, and post-filter recall guarantees in ChromaDB 0.6+. Prevents catastrophic HNSW graph traversal exhaustion caused by pre-filtering high-cardinality multi-tenant workloads within a single global collection.

Blocks:Global Single-Collection Multi-Tenancy with Inefficient Pre-Filtering Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-failover-threaded-io-standard
backendcritical

Valkey 8.0 Threaded I/O, Cluster Slot Redirects, and Lua Atomicity

Enforces strict hash tagging for cross-key atomicity, zero-downtime cluster topology refresh during failovers, and non-blocking execution limits under Valkey 8.0 multi-threaded I/O. Prevents CROSSSLOT command rejections, network thread starvation, and stale replica reads during cluster node rebalancing.

Blocks:Executing un-tagged multi-key Lua scripts and naive reconnect loops during cluster slot migration or failover
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-s3-native-streaming
backendcritical

Bun 1.2 Embedded SQLite WAL Concurrency and Native S3 Streaming Invariants

Enforces production-grade concurrency invariants for Bun 1.2 embedded bun:sqlite with Write-Ahead Logging (WAL) and native zero-copy S3 streaming storage. Prevents database lock starvation (SQLITE_BUSY), unbounded heap consumption during object storage transfers, and unescaped SQL execution.

Blocks:Unconfigured SQLite Rollback Journals with In-Memory S3 File Buffering
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-io-failover-standard
backendcritical

Valkey 8.0 Threaded I/O Topology Caching, Hash Tagging, and Failover Resilience

Enforces strict hash-tag slot pinning for multi-key transactions and Lua scripts, explicit topology refresh pipelines for MOVED/ASK redirects during node failovers, and non-blocking command execution to prevent stalling Valkey 8.0 threaded I/O buffers.

Blocks:Executing unpinned multi-key Lua scripts without cluster hash tags and failing to invalidate slot topology on MOVED/ASK cluster redirects.
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-extractors-tower-service-guardrail
backendcritical

Axum 0.8 Type-Safe State Extractors & Tower Service Composition

Mandate compile-time type-safe state injection using Axum 0.8 `State` extractors with modular `FromRef` derivations instead of fallback runtime `Extension` layers. Enforce robust Tower middleware ordering via `ServiceBuilder` with properly configured `CatchPanicLayer` to prevent unhandled thread panics from dropping TCP connections without RFC-compliant HTTP error responses.

Blocks:Using Untyped Extension Extractors with Misordered Tower Layers Causing Silent 500s and Connection Resets on Panic
Targets:Cursor•Claude•Windsurf•Codex
chromadb-0-6-hnsw-filtering-multitenancy
backendcritical

ChromaDB 0.6 HNSW Filter Optimization and Tenant Isolation Standard

Enforces strict tenant isolation, optimal HNSW index utilization, and structured metadata filtering semantics for ChromaDB 0.6.x. Eliminates unindexed full-collection post-filtering scans and tenant crosstalk vulnerabilities by enforcing dedicated collection sharding or prefixed deterministic namespaces combined with valid boolean metadata filter trees. Guarantees that query operations pass strict typing validations and avoid runtime unhandled exceptions during approximate nearest neighbor graph traversals.

Blocks:Global Single-Collection Querying with Post-Hoc Dynamic Metadata Filtering Across Tenants
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-tower-resilience-production-standard
backendcritical

Axum 0.8 Type-Safe State Subtyping, Tower Middleware Ordering, and Panic Catching

Enforces type-safe state extraction using Axum 0.8's FromRef trait for modular sub-routers, strict Tower ServiceBuilder middleware sequencing, and mandatory CatchPanicLayer integration. Prevents runtime routing panics, state extraction mismatches, and unhandled thread panics dropping active client connections without structured HTTP 500 telemetry.

Blocks:Dynamic Extension-based state injections and unordered Tower middleware stacks lacking panic safety boundaries.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-buffer-governance
backendcritical

PostgreSQL 17 Failover Slot Sync, Logical Decoding Buffers, and WAL Safeguards

Enforces PostgreSQL 17 logical replication invariants: enabling native slot failover synchronization across physical standbys, enforcing explicit logical_decoding_work_mem boundaries to govern shared buffer interactions, and mandating finite max_slot_wal_keep_size limits to eliminate catastrophic primary node disk exhaustion.

Blocks:Deploying Unsynchronized Logical Slots with Uncapped WAL Retention and Unbounded Decoding Buffers
Targets:Cursor•Claude•Windsurf•Codex
chromadb-hnsw-metadata-filtering-tenant-isolation
backendcritical

ChromaDB 0.6 HNSW Filtering, Multi-Tenant Namespaces, and Shard Architecture

Enforces strict tenant namespace isolation and calibrated HNSW graph indexing for ChromaDB 0.6+. Prevents catastrophic recall drop caused by graph candidate exhaustion during metadata pre-filtering by mandating tenant/database client scoping, metadata index alignment, and dynamic search_ef compensation.

Blocks:Global Monolith Collections with Blind Metadata Filtering and Uncalibrated HNSW Traversal
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-tower-production-standard
backendcritical

Rust Axum 0.8 Type-Safe State Extraction & Resilient Tower Middleware Stack

Enforces compile-time verified sub-state extraction using Axum 0.8's FromRef pattern instead of runtime-panicking Extension extractors. Mandates strictly ordered Tower ServiceBuilder middleware stacks with CatchPanicLayer and custom rejection types to eliminate silent dropouts and unhandled connection terminations.

Blocks:Fragile Runtime Extension Extractors and Unprotected Tower Middleware Panic Crashes
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-failover-io-threading-guardrail
backendcritical

Valkey 8.0 Threaded I/O, Cluster Slot Routing, and Hash-Tag Script Atomicity

Enforces strict cluster-aware patterns in Valkey 8.0 deployments, mandating explicit hash tags ({...}) for all multi-key operations and Lua scripts to prevent CROSSSLOT exceptions. Demands cluster client topologies with automated slot-refresh triggers upon MOVED/ASK redirects and prevents main-thread stalls by keeping Lua operations strictly O(1) amidst multi-threaded I/O.

Blocks:Executing un-hashed multi-key Lua scripts and naive reconnect loops during cluster failovers and socket migrations.
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-and-tower-resilience
backendcritical

Axum 0.8 Sub-State Extraction, Tower Ordering, and Panic Resilience Guardrail

Enforces type-safe sub-state extraction using Axum 0.8's FromRef trait, prevents application crashes via tower-http CatchPanicLayer integration, and guarantees deterministic Tower middleware execution order. Mandates custom error rejections implementing IntoResponse across all extractors to eliminate unformatted plain-text 400/422 failures.

Blocks:Global Arc-bloated state extraction, unshielded panics crashing HTTP worker runtimes, and inverted Tower layer ordering.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-and-buffer-management
backendcritical

PostgreSQL 17 Logical Replication Failover Slots & Memory Buffer Invariants

Mandates PostgreSQL 17 failover-enabled logical replication slots across physical standby topologies, deterministic WAL retention bounds, and dedicated decoding memory buffers. Prevents silent subscriber invalidation during primary-standby failovers, unbounded disk exhaustion, and backend OOM termination under high-throughput logical streaming.

Blocks:Creating unmanaged logical replication slots without failover synchronization and leaving WAL keep limits unconstrained.
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-tower-resilience-guardrail
backendcritical

Axum 0.8 State Extraction and Tower Middleware Stack Production Invariants

Mandates type-safe state injection via Axum 0.8 State extractors and FromRef modular sub-state derivation while strictly prohibiting untyped Extension usage for application context. Enforces deterministic Tower ServiceBuilder layer sequencing and mandatory CatchPanicLayer boundaries to guarantee zero unhandled thread panics across async runtimes.

Blocks:Untyped runtime Extension extraction coupled with unstructured Tower middleware ordering that drops panic barriers and leaks internal faults.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-io-threads-cluster-failover-standard
backendcritical

Valkey 8.0 Multi-Threaded I/O, Cluster Failover, and Slot Atomicity Standard

Enforces strict cluster routing invariants and non-blocking multi-threaded I/O compatibility in Valkey 8.0. Mandates hash-tagging for multi-key Lua scripts to prevent CROSSSLOT errors, enforces non-blocking client topology refresh on MOVED/ASK redirects during master failover, and protects threaded I/O pipelines from long-running command stalls.

Blocks:Executing un-hashed multi-key scripts across Valkey cluster slots and ignoring MOVED/ASK topology reconfigurations during failover
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-tower-service-guardrail
backendcritical

Axum 0.8 Substate Extraction, Tower Middleware Composition & CatchPanic Enforcement

Enforces Axum 0.8 compile-time type-safe substate extraction via `FromRef`, strict Tower layer ordering via `ServiceBuilder`, and boundary panic containment. Eliminates runtime dynamic extractor failures and unhandled thread panics dropping raw TCP streams.

Blocks:Untyped Dynamic Extensions and Unordered Tower Middleware Causing Silent Panics and Runtime Extraction Failures
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-memory-invariants
backendcritical

PostgreSQL 17 Logical Failover Slots and Shared Buffer Invariants

Enforces architectural guardrails for PostgreSQL 17 streaming logical replication and memory buffer allocation. Mandates the use of PG17 native failover-enabled logical slots with standby synchronization, bounded WAL retention limits, and strict memory budgeting between shared_buffers and logical_decoding_work_mem.

Blocks:Creating Unsynchronized Logical Replication Slots Without Failover Flags or Bounded WAL Retention
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-buffer-invariants
backendcritical

PostgreSQL 17 Failover Slot Sync, Streaming Decoding, and Buffer Invariants

Enforces PostgreSQL 17 logical replication and memory architecture guardrails across database orchestrators and migration scripts. Mandates failover-enabled replication slots synchronized to physical standbys, enforces controlled streaming modes to eliminate disk spillage during logical decoding, and guarantees strict bounds on shared_buffers, logical_decoding_work_mem, and max_slot_wal_keep_size to prevent primary cluster exhaustion.

Blocks:Unsynchronized Unbounded Logical Replication Slots Causing WAL Exhaustion and Failover Data Loss
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-0-8-state-tower-service-safety
backendcritical

Axum 0.8 Type-Safe State Extractors & Tower Middleware Invariants

Enforces Axum 0.8 compile-time type-safe State and Substate extraction via FromRef, strict Tower ServiceBuilder middleware ordering with CatchPanicLayer, and zero unhandled panic rejections across HTTP handler boundaries.

Blocks:Fragile untyped extensions, substate type-mismatch compilation panics, and unshielded middleware stacks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slot-buffer-guardrail
backendcritical

PostgreSQL 17 Failover Slot Synchronization and Memory Buffer Guardrails

Enforces failover-enabled logical replication slots and synchronized standby slot coordination introduced in PostgreSQL 17 to prevent subscriber dropouts during physical failover. Mandates explicit allocation boundaries for logical_decoding_work_mem, max_slot_wal_keep_size, and shared_buffers to prevent buffer cache pollution and catastrophic WAL disk exhaustion.

Blocks:Creating Legacy Non-Failover Logical Slots with Unbounded WAL Retention and Unpinned Buffer Memory
Targets:Cursor•Claude•Windsurf•Codex
chromadb-v06-hnsw-filter-tenant-sharding
backendcritical

ChromaDB 0.6 Multi-Tenant Isolation and HNSW Filter Optimization

Enforces tenant-scoped collection partitioning and HNSW index calibration in ChromaDB 0.6+. Eliminates cross-tenant data leakage risks and prevents catastrophic vector recall collapse caused by global soft-filtering over monolithic collections.

Blocks:Global Multi-Tenant Monolith with Post-Query Metadata Filtering
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-memory-failover-invariants
backendcritical

PostgreSQL 17 Failover Slot Synchronization, Streaming Decoding, and Memory Sizing Guardrails

Enforces strict production standards for PostgreSQL 17 logical replication topologies. Mandates the use of PG17 native failover-enabled logical slots, parallel streaming decoding, bounded WAL retention limits, and isolated logical_decoding_work_mem sizing to avoid primary node WAL disk exhaustion and catastrophic split-brain during standby promotion.

Blocks:Unsynchronized Logical Replication Slots with Unbounded WAL Retention and Unstreamed Large Transactions
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-08-state-extractors-tower-service-guardrail
backendcritical

Rust Axum 0.8 Type-Safe State Extractors & Tower Service Invariants

Enforces compile-time type-safe dependency injection via Axum 0.8 State extractors with FromRef composition and Tower ServiceBuilder layers. Mandates zero-panic resilience through CatchPanicLayer and structured custom rejections across all HTTP boundaries.

Blocks:Runtime Extension Panics and Missing CatchPanicLayer Tower Boundaries
Targets:Cursor•Claude•Windsurf•Codex
bun-1-2-sqlite-wal-s3-native-storage
backendcritical

Bun 1.2 Embedded SQLite WAL Concurrency & S3 Multipart Stream Guardrails

Enforces high-throughput, low-latency architecture using Bun 1.2's native `bun:sqlite` engine and native `Bun.s3` client. Guarantees non-blocking WAL-mode concurrency, zero-copy buffer queries, robust checkpointing, and unbuffered backpressure-governed multipart stream uploads directly between storage tiers.

Blocks:Blocking disk I/O with standard Node wrappers, unbuffered in-memory S3 uploads, and default SQLite rollback journals causing concurrency deadlocks.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-memory-guardrails
backendcritical

PostgreSQL 17 Failover Slot Synchronization & Buffer Tuning Invariants

Enforces PostgreSQL 17 failover-enabled logical replication slot configurations and validates synchronized standby slots to prevent replication invalidation upon node promotion. Guarantees memory safety by decoupling logical decoding allocations from shared_buffers, tuning logical_decoding_work_mem to prevent disk spilling, and setting max_slot_wal_keep_size boundaries.

Blocks:Unsynchronized failover-disabled logical slots and unbounded logical memory allocation leading to failover data loss and shared_buffers eviction storms
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-threaded-io-guardrails
backendcritical

Valkey 8.0 Multi-Threaded I/O, Cluster Slot Redirects, and Lua Atomicity Guardrails

Mandates deterministic hash-tag slot pinning, automated MOVED/ASK redirect recovery with topology refreshes, and non-blocking multi-key atomic primitives in Valkey 8.0. Prevents CROSSSLOT cluster execution aborts and eliminates main-thread lockups that bottleneck Valkey 8.0 multi-threaded socket I/O engines.

Blocks:Cross-slot multi-key atomic executions and manual cluster redirect bypass stalling Valkey 8.0 threaded I/O pipelines
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-08-state-tower-resilience-standard
backendcritical

Axum 0.8 Strict Type-Safe State Extraction and Tower Middleware Invariants

Enforces compile-time type safety for Axum 0.8 application state through the FromRef substate pattern, prevents connection dropping via explicit CatchPanicLayer and HandleErrorLayer integration, and forbids runtime extension lookups in favor of strongly typed State extractors.

Blocks:Dynamic Runtime Extension Lookups, Missing Panic Guards, and Unbounded Tower Error Propagation
Targets:Cursor•Claude•Windsurf•Codex
valkey-cluster-failover-multithreaded-io-standard
backendcritical

Valkey 8.0 Threaded I/O, Cluster Slot Routing, and Hash-Tag Atomicity Invariants

Enforces strict cluster-aware client configurations, explicit hash tag slot co-location for multi-key Lua scripts, and non-blocking multi-threaded I/O constraints in Valkey 8.0 deployments. Prevents unhandled MOVED/ASK redirect storms during replica promotion, cross-slot script runtime exceptions, and main thread execution freezes that degrade heartbeat detection.

Blocks:Unpinned Multi-Key Lua Execution and Unbounded Slot Refresh Storms During Cluster Failover
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-memory-invariants
backendcritical

PostgreSQL 17 Logical Replication Failover Slots & Memory Buffer Invariants

Mandates PostgreSQL 17 failover-enabled logical replication slots combined with synchronized standby slots to guarantee zero subscription loss upon physical replica promotion. Enforces strict logical_decoding_work_mem boundaries and bounded max_slot_wal_keep_size to prevent catastrophic WAL disk bloat and shared_buffers memory contention during high-throughput logical streaming.

Blocks:Unsynchronized Legacy Replication Slots and Unbounded WAL Retention Crashing Primaries
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-state-tower-service-invariants
backendcritical

Axum 0.8 Type-Safe State Extractors and Tower Middleware Invariants

Enforces compile-time verified state injection via Axum 0.8 State and FromRef patterns while prohibiting untyped Extension usage. Mandates structured Tower ServiceBuilder middleware composition with panic boundaries to eliminate unhandled panics and runtime injection failures.

Blocks:Runtime Panics via Untyped Extensions and Missing Tower CatchPanic Layer
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-topology-slot-atomicity
backendcritical

Valkey 8.0 Multi-Threaded I/O, Topology Failover, and Cluster Script Invariants

Valkey 8.0 cluster architectures require strict hash-tag co-location for multi-key operations and scripts to prevent CROSSSLOT runtime failures. Applications must leverage cluster-aware connection pooling with automated slot cache invalidation on MOVED/ASK redirects to prevent connection thrashing and deadlocks during primary-replica failovers.

Blocks:Executing un-bracketed multi-key Lua scripts with static node clients against dynamic Valkey clusters
Targets:Cursor•Claude•Windsurf•Codex
valkey-cluster-failover-threaded-io-guardrails
backendcritical

Valkey 8.0 Threaded I/O Slot Pinning & Failover Invariants

Enforces strict hash-tag slot pinning for multi-key operations and Lua scripts while mandating automated MOVED/ASK redirect recovery in Valkey 8.0. Prevents CROSSSLOT exceptions, uncoordinated failover split-brains, and main-thread execution starvation across threaded I/O engine topologies.

Blocks:Unpinned Multi-Key Script Execution and Naive Non-Cluster Client Failover Routing
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-type-safe-state-tower-service-guardrail
backendcritical

Axum 0.8 Type-Safe State Sub-Extractors and Infallible Tower Middleware

Enforces compile-time type safety in Axum 0.8 by mandating State extractors with FromRef composition over untyped Extensions. Guarantees infallible Tower middleware stacks through structured CatchPanicLayer boundaries and deterministic IntoResponse error mapping.

Blocks:Runtime Extension Panics and Monolithic State Coupling Without CatchPanic Guardrails
Targets:Cursor•Claude•Windsurf•Codex
valkey-cluster-failover-atomicity-standard
backendcritical

Valkey 8.0 Cluster Topology, Failover Resiliency, and Slot-Pinned Script Execution

Mandates explicit hash-tag pinning for multi-key operations and Lua scripts to guarantee atomicity and prevent CROSSSLOT errors in Valkey 8.0 clusters. Requires dynamic cluster topology refreshes with exponential backoff on MOVED/ASK redirects to prevent connection thrashing during failovers. Enforces non-blocking execution pipelines to fully leverage Valkey 8.0 threaded I/O capabilities.

Blocks:Unpinned Multi-Key Operations and Naive Redirect Handling Causing CROSSSLOT Aborts and Failover Cascades
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-buffers-guardrail
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization & Buffer Isolation Guardrail

Mandates PostgreSQL 17 failover-enabled logical replication slots (`failover => true`) synchronized with physical standbys to prevent CDC divergence after HA failovers. Enforces explicit `logical_decoding_work_mem` boundaries to prevent logical decoding workers from exhausting `shared_buffers` and spilling unbounded change streams to disk, combined with strict `max_slot_wal_keep_size` limits to protect WAL partitions.

Blocks:Ephemeral Failover Slots with Unbounded WAL Decoders Spilling to Disk and Thrashing Shared Buffers
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slots-buffer-guardrail
backendcritical

PostgreSQL 17 Logical Replication Failover Slots & Memory Buffer Invariants

Enforces strict configuration and programmatic management of PostgreSQL 17 logical failover slots, standby synchronization, and memory-bounded decoding buffers. Prevents silent replication breakage during physical node failover, disk exhaustion via runaway WAL retention, and OOM kills by mandating synchronized slots, explicit WAL limits, and bounded logical decoding memory.

Blocks:Creating Unsynchronized Logical Replication Slots Without Failover Support or WAL Retention Caps
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-tower-guardrail
backendcritical

Axum 0.8 Modular Sub-State Extraction, CatchPanicLayer, and Tower ServiceBuilder

Enforces type-safe modular state extraction using Axum 0.8's FromRef pattern, deterministic Tower ServiceBuilder layer ordering, and mandatory CatchPanicLayer integration. Prevents monolithic state coupling, middleware execution inversion, and unhandled thread panics dropping HTTP connections without RFC 7807/JSON error responses.

Blocks:Monolithic State Passing, Inverted Tower Middleware Chains, and Unhandled Panic Dropouts
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-topology-lua-guardrails
backendcritical

Valkey 8.0 Threaded I/O Cluster Failover and Lua Hash-Tagging Standard

Enforces strict hash-tag slot pinning for multi-key Lua scripts and resilient cluster topology refresh handling during Valkey 8.0 failovers. Prevents CROSSSLOT evaluation runtime errors and thundering herd connection deadlocks caused by unhandled MOVED/ASK redirects in high-throughput multi-threaded I/O environments.

Blocks:Executing un-hashed multi-key Lua scripts and lacking automated cluster slot refresh on MOVED/ASK redirects
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-s3-streaming-production-standard
backendcritical

Bun 1.2 Embedded SQLite WAL Concurrency & Native S3 Zero-Copy Streaming

Enforces deterministic concurrency protocols for Bun 1.2 embedded SQLite databases alongside zero-copy streaming through Bun's native S3 client API. Mandates Write-Ahead Logging (WAL) pragmas to prevent lock contention and eliminates heap exhaustion by piping streaming payloads directly to object storage without intermediate buffer allocation.

Blocks:Unbounded Memory Buffering for S3 Uploads and Default SQLite Lock Contention
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-extractors-tower-service-safety
backendcritical

Axum 0.8 Type-Safe State Extractors & Tower Middleware Invariants

Mandate strict compile-time state propagation via Axum 0.8 State extractors with FromRef sub-state delegation instead of dynamically typed extensions. Enforce explicit panic isolation and deterministic Tower middleware composition to guarantee zero unhandled worker panics and seamless HTTP response conversion.

Blocks:Relying on dynamic Extension extractors and unordered Tower middleware leading to unhandled worker panics and runtime injection failures.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-failover-io-standard
backendcritical

Valkey 8.0 Threaded I/O Sharding, Hash-Tag Atomicity, and Failover Resilience

Enforces strict cluster slot pinning via hash tags for multi-key commands and atomic Lua scripts while configuring cluster topology auto-discovery and backoff retry logic. Prevents CROSSSLOT routing errors, pipeline stall during Valkey 8.0 threaded I/O processing, and service degradation during automated node failover.

Blocks:Cross-Slot Key Execution in Multi-Key Lua Scripts and Missing Cluster Redirection Backoff During Failover
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-state-tower-resilience
backendcritical

Rust Axum 0.8 Type-Safe State Extractors & Tower Service Composition

Mandates compile-time verified application state extraction using Axum 0.8 State and FromRef sub-states, eliminating runtime untyped Extension lookups. Enforces strict Tower middleware layering order with mandatory panic-catching boundaries and deterministic error response mappings.

Blocks:Runtime state injection via Extension<T> and unprotected Tower middleware stacks causing silent connection drops on panics.
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-buffers
backendcritical

PostgreSQL 17 Logical Failover Slots, Decoding Buffers, and Memory Invariants

Enforces strict PostgreSQL 17 logical replication configuration invariants, requiring synchronized failover replication slots across physical standby nodes and bounded WAL retention limits. Prevents primary crash cycles from uncontrolled disk exhaustion and WAL bloat by enforcing `max_slot_wal_keep_size`, `logical_decoding_work_mem` ceilings, and PG17 `failover = true` slot flags.

Blocks:Unsynchronized Unbounded Logical Replication Slots Causing Primary Disk Exhaustion and Standby Dropouts
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-slot-redirect-script-atomicity
backendcritical

Valkey 8.0 Multi-Threaded I/O, Hash-Tag Clustered Routing, and Failover Resilience

Enforces strict hash-tag slot affinity for all multi-key operations and Lua scripts in Valkey 8.0 clusters, preventing CROSSSLOT errors during node re-sharding. Mandates explicit MOVED and ASK redirect exponential-backoff handling and proscribes CPU-intensive or long-running blocking operations that stall Valkey 8.0 threaded I/O pipelines.

Blocks:Un-hashed Cross-Slot Lua Execution and Unhandled Failover Redirect Storms
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-and-tower-composition
backendcritical

Axum 0.8 Type-Safe State Extractors & Tower Service Composition

Mandates compile-time type-safe state injection via Axum 0.8's State extractor and FromRef sub-states instead of dynamic Extension lookups. Enforces strict Tower layer composition order with mandatory panic isolation boundaries to guarantee zero unhandled rejection crashes in production.

Blocks:Using dynamic Extensions or unisolated Tower layers causing runtime panic drops and state omission crashes
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-failover-resilience
backendcritical

Valkey 8.0 Threaded I/O, Cluster Slot Routing, and Script Invariants

Valkey 8.0 leverages enhanced multi-threaded I/O while maintaining a single-threaded command execution core, making operations vulnerable to cross-slot failures and unhandled cluster topology mutations. In distributed cluster deployments, any multi-key operation or Lua script execution without proper hash-tag alignment will trigger CROSSSLOT errors, while failover events without backoff-jittered slot-cache invalidation precipitate thundering herd failures. Applications MUST enforce deterministic hash-tagging, decouple I/O concurrency from blocking scripts, and handle MOVED/ASK redirections with rate-limited topology refreshes.

Blocks:Executing Non-Hash-Tagged Multi-Key Scripts and Unhedged Failover Connection Storms in Valkey Clusters
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-tower-panic-resilience
backendcritical

Axum 0.8 Type-Safe State Extractors, Tower Middleware Ordering, and Panic Boundary Architecture

Mandates compile-time type-safe state injection via Axum 0.8 State and FromRef extractors, strictly forbidding untyped Extension usage. Enforces deterministic Tower ServiceBuilder layer execution order and requires CatchPanicLayer boundaries to guarantee zero connection-dropping unhandled panics.

Blocks:Dynamic runtime Extension extraction leading to unhandled runtime panics, inverted Tower middleware evaluation, and naked worker panics dropping HTTP sockets.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-topology-slot-atomicity-standard
backendcritical

Valkey 8.0 Threaded I/O, Cluster Slot Pinning, and Failover Architecture

Enforces strict cluster hash-tag pinning for multi-key operations and Lua scripts to prevent CROSSSLOT errors during Valkey 8.0 cluster failovers and resharding. Mandates resilient client topology caching, automated MOVED/ASK redirect recovery, and connection pooling calibrated to Valkey 8.0 threaded I/O throughput capabilities.

Blocks:Executing un-hashed multi-key Lua scripts and naive failover handling causing CROSSSLOT exceptions and cluster split-brain reads
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-slot-lua-atomicity-failover
backendcritical

Valkey 8.0 Multi-Threaded I/O, Hash Slot Routing & Lua Atomicity Guardrails

Enforces strict hash-tag pinning for multi-key operations and Lua scripts in Valkey 8.0 clusters to prevent CROSSSLOT execution failures. Mandates non-blocking transactional script boundaries and resilient topology refresh configurations to safeguard Valkey 8.0 multi-threaded I/O pipelines during master failovers.

Blocks:Unpinned Cross-Slot Lua Scripts and Topology-Blind Retries Triggering Main-Thread Starvation and MOVED Storms
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-slot-redirect-and-lua-atomicity
backendcritical

Valkey 8.0 Cluster Slot Routing, Failover Redirects, and Lua Atomicity Guardrails

Enforces strict hash-tag slot pinning for all multi-key operations and Lua scripts, paired with robust MOVED/ASK redirect handling and dynamic topology refreshes during Valkey 8.0 cluster failovers. Prevents CROSSSLOT runtime exceptions, socket stalls during threaded I/O parallel processing, and cascading failover dropouts.

Blocks:Executing unpinned multi-key Lua scripts without hash tags and omitting cluster redirect/topology refresh logic during failover.
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-0-8-state-and-tower-middleware-invariants
backendcritical

Axum 0.8 Type-Safe Sub-State Composition & Resilient Tower Middleware Ordering

Mandates compile-time type-safe FromRef sub-state extraction and deterministic Tower ServiceBuilder ordering in Axum 0.8 services. Prevents runtime extractor rejections, state type mismatches across modular sub-routers, and connection dropping from unhandled task panics.

Blocks:Relying on untyped Extension injection and unhandled panics instead of FromRef State and CatchPanicLayer composition.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-buffer-invariants
backendcritical

PostgreSQL 17 Logical Replication Failover Synchronization & Memory Buffer Invariants

Enforces strict PostgreSQL 17 logical replication topologies, requiring failover-enabled logical slots and physical standby synchronization via synchronized_standby_slots. Mandates deterministic memory allocations for shared_buffers and logical_decoding_work_mem to prevent disk spilling and out-of-memory cascading failures during replication stream decode.

Blocks:Creating un-synchronized logical slots lacking failover flags while under-allocating decoding memory buffers
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-tower-production-standard
backendcritical

Axum 0.8 Type-Safe State Extractors & Resilient Tower Middleware Stack Standard

Enforces compile-time verified state extraction using Axum 0.8 State extractors with modular FromRef implementations, eliminating unsafe runtime Extension lookups. Mandates deterministic Tower middleware composition with explicit panic boundaries and tracing layers to guarantee zero unhandled worker panics and complete observability.

Blocks:Runtime Extension Panics and Missing Tower Panic Boundaries
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-failover-multithreaded-io
backendcritical

Valkey 8.0 Threaded I/O, Cluster Redirection, and Hash-Tagged Lua Atomicity

Enforce strict hash-tag slot isolation for multi-key transactions and Lua scripts within Valkey 8.0 cluster topologies. Mandate resilient MOVED/ASK redirect handling with automatic slot cache invalidation and backoff to survive replica-to-primary failovers without stalling Valkey's event loop or causing CROSSSLOT exceptions.

Blocks:Cross-Slot Execution Failures and Unhandled MOVED/ASK Redirect Storms During Failover
Targets:Cursor•Claude•Windsurf•Codex
valkey-cluster-io-failover-production-standard
backendcritical

Valkey 8.0 Threaded I/O Topology, Cluster Hash Tags, and Script Atomicity Guardrails

Enforces strict cluster slot routing invariants and non-blocking command safety under Valkey 8.0's multi-threaded I/O engine. Prevents CROSSSLOT evaluation exceptions during master failovers, eliminates split-brain script executions, and mandates hash-tagging alongside exponential backoff slot refreshes.

Blocks:Executing Cross-Slot Lua Scripts and Unbounded Cluster Reconnection Storms during Master Failover
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-and-buffers-guardrail
backendcritical

PostgreSQL 17 Failover Replication Slots, Streaming Decoding, and Memory Tuning Invariants

Enforces strict configuration and migration invariants for PostgreSQL 17 logical replication and shared buffer allocation. Requires failover slot synchronization across physical standby instances, streaming logical transaction decoding thresholds, and mathematically bounded buffer and work memory provisioning to prevent WAL disk exhaustion and out-of-memory cascading failures during subscriber failover.

Blocks:Unsynchronized Logical Slots, Unbounded In-Memory Decoding, and Overcommitted Shared Buffers Leading to WAL Starvation
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-threaded-io-failover-guardrails
backendcritical

Valkey 8.0 Multi-Threaded I/O, Cluster Slot Pinning, and Failover Resilience

Enforces strict hash-tag pinning for multi-key operations and Lua scripts, explicit topology refresh intervals during cluster failover (MOVED/ASK redirects), and non-blocking multi-threaded I/O client integration in Valkey 8.0. Prevents runtime CROSSSLOT errors, split-brain command execution, and thread-pool exhaustion during primary-replica promotions.

Blocks:Unpinned Cross-Slot Lua Scripts and Static Node Connections Causing Failover Deadlocks and CROSSSLOT Exceptions
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-type-safe-state-tower-service-guardrails
backendcritical

Axum 0.8 Type-Safe State Extractors & Tower Middleware Production Guardrails

Enforces strict type-safe state extraction via Axum 0.8 State and FromRef patterns, eliminates runtime Extension panics, mandates outer-boundary CatchPanicLayer integration, and standardizes infallible Tower middleware composition.

Blocks:Untyped runtime Extension extraction, misordered Tower middleware layers, and unhandled panic drops.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-failover-threaded-io
backendcritical

Valkey 8.0 Multi-Threaded I/O Hash Slot Integrity and Failover Invariants

Mandates strict hash-tag alignment for multi-key operations, atomic Lua key declarations, and proactive cluster topology reconciliation in Valkey 8.0. Prevents CROSSSLOT errors, pipeline corruption during node failovers, and latency degradation in multi-threaded I/O environments.

Blocks:Cross-Slot Key Access, Undeclared Dynamic Lua Keys, and Unhandled Cluster Failover Reconnection Storms
Targets:Cursor•Claude•Windsurf•Codex
axum-state-extractor-tower-service-safety
backendcritical

Axum 0.8 Type-Safe State Extraction & Tower Middleware Composition

Mandates compile-time type-safe state propagation via Axum 0.8 State extractors and FromRef sub-state delegation, forbidding untyped Extension injections. Enforces deterministic Tower ServiceBuilder middleware ordering with CatchPanicLayer boundaries to guarantee zero unhandled runtime panics and uniform error responses.

Blocks:Untyped runtime Extension extraction and unordered Tower middleware stacks causing MissingExtension panics and dropped HTTP connections.
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-state-extractors-tower-service-production-standard
backendcritical

Axum 0.8 Type-Safe State Extraction, Tower Ordering, and Panic Boundaries

Enforces strict type safety for Axum 0.8 State extractors using FromRef, correct Tower ServiceBuilder layer sequencing, and mandatory CatchPanicLayer integration. Prevents compile-time state inference breakdowns, silent connection drops from unhandled panics, and state contamination across nested routers.

Blocks:Monolithic state cloning, inverted Tower layer ordering, and unhandled handler panics aborting TCP connections without HTTP 500 responses.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-failover-production-standard
backendcritical

Valkey 8.0 Threaded I/O, Cluster Slot Pinning, and Failover Resilience

Valkey 8.0 scales network ingestion via threaded I/O while preserving single-threaded execution for commands and Lua scripts. Multi-key operations and script invocations across clustered nodes must strictly pin keys to identical slots via explicit hash tags, avoid blocking the main event loop, and configure client-side topology updates to gracefully handle MOVED/ASK redirects and automated master failovers without connection dropping or transaction corruption.

Blocks:Executing Cross-Slot Multi-Key Lua Scripts and Naive Client Topologies During Failover
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-state-tower-resilience-guardrail
backendcritical

Axum 0.8 Type-Safe State Subtyping & Tower Panic-Resilient Middleware Composition

Enforces Axum 0.8 compile-time type-safe state sharing using FromRef sub-states instead of dynamic Extensions, alongside resilient Tower middleware stacks. Mandates CatchPanicLayer boundary encapsulation, deterministic middleware execution ordering, and total elimination of unhandled extractor panics through explicit IntoResponse rejection handling.

Blocks:Relying on dynamic Extension extraction for shared state and omitting CatchPanicLayer or FromRef sub-state delegation in Axum routers
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-tower-panic-resilience-guardrail
backendcritical

Axum 0.8 Type-Safe State Extractors & Tower Service Composition Guardrail

Enforces strict type safety and compile-time validation for State extractors alongside modular sub-state derivation using FromRef in Axum 0.8. Mandates explicit CatchPanic layers, proper Tower service layer ordering, and zero unhandled rejections to prevent silent connection termination or service starvation under panic conditions.

Blocks:Untyped Extensions, Missing FromRef Sub-state Derivation, and CatchPanic-less Tower Stacks
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-s3-streaming
backendcritical

Bun 1.2 SQLite WAL Concurrency and Native S3 Zero-Copy Streaming

Enforces high-throughput, low-latency data patterns in Bun 1.2 by configuring SQLite with Write-Ahead Logging (WAL) and proper busy timeouts, alongside native Bun S3 streaming primitives. Prevents connection starvation, SQLITE_BUSY deadlocks, and excessive heap memory allocation from in-memory stream buffering.

Blocks:Ad-Hoc Unprepared SQLite Queries with Default Rollback Journals and In-Memory S3 Buffering
Targets:Cursor•Claude•Windsurf•Codex
valkey-threaded-io-cluster-failover-invariant
backendcritical

Valkey 8.0 Threaded I/O Slot Hash-Tagging and Failover Invariants

Enforces strict hash-tag slot alignment for multi-key operations and atomic Lua scripts in Valkey 8.0 cluster mode. Prevents CROSSSLOT errors, main-thread starvation under threaded I/O, and connection drops during unhandled MOVED/ASK failover redirects.

Blocks:Executing un-hashed cross-slot Lua scripts and failing to handle cluster slot topology refreshes during failovers
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-08-state-tower-guardrail
backendcritical

Axum 0.8 Strict Type-Safe State Extraction and Tower Middleware Invariants

Mandates compile-time verified dependency injection via Axum 0.8 State extractors with FromRef modular sub-state derivation. Enforces deterministic Tower Service layer ordering with CatchPanicLayer at the perimeter to guarantee zero unhandled runtime panic drops.

Blocks:Untyped Extension Passing, Missing FromRef Decompositions, and Unhandled Panic Connection Drops
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-extractors-tower-service
backendcritical

Axum 0.8 Type-Safe State Extractors & Resilient Tower Middleware Ordering

Enforces strict Axum 0.8 compile-time state derivation through FromRef sub-states and infallible Tower middleware topologies. Prevents runtime extractor panics from legacy Extension<T> patterns and guarantees unhandled panic isolation via structured CatchPanicLayer ordering.

Blocks:Monolithic State Coupling and Inverted Tower Middleware Causing Extractor Mismatches and Panic Leaks
Targets:Cursor•Claude•Windsurf•Codex
chromadb-06-hnsw-embedding-filtering
backendcritical

ChromaDB 0.6+ Multi-Tenant Partitioning, HNSW Tuning, and Structured Metadata Filtering

Enforces strict tenant isolation, optimal HNSW index construction parameters, and pre-filter query planning for ChromaDB 0.6+. Prevents post-query filter starvation, catastrophic memory exhaustion in monolithic collections, and tenant data leakage across shared vector spaces.

Blocks:Monolithic Multi-Tenant Collections with Unbounded Post-Query Metadata Filtering and Default HNSW Graph Topologies
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-08-state-tower-resilience-guardrail
backendcritical

Axum 0.8 Safe State Extraction, Strict Middleware Sequencing, and Zero-Panic Invariants

Enforces compile-time type-safe state injection via Axum 0.8 FromRef sub-states, guarantees that consume-body extractors are placed strictly last in handler signatures, and mandates a standardized Tower ServiceBuilder stack equipped with CatchPanicLayer and explicit timeout handling to eliminate uncaught unwinds and dropped HTTP connections.

Blocks:Untyped runtime extensions, misordered consuming extractors, and missing Tower CatchPanicLayer causing silent connection termination.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-io-atomicity-guardrail
backendcritical

Valkey 8.0 Threaded I/O, Slot Redirect Handling, and Hash-Tagged Lua Atomicity

Enforces strict architectural invariants for Valkey 8.0 cluster topologies, preventing CROSSSLOT errors, main-thread event loop starvation under threaded I/O, and unhandled MOVED/ASK redirects during cluster node failovers. Mandates explicit curly brace hash tagging on all multi-key operations and atomic scripts, accompanied by topology-aware cluster client configurations.

Blocks:Executing Multi-Key Lua Scripts Without Hash Tags and Relying on Non-Cluster Clients During Failovers
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-08-state-tower-service-guardrail
backendcritical

Rust Axum 0.8 Type-Safe State Extractors & Tower Service Invariants

Enforces type-safe state propagation using Axum 0.8 sub-states via axum::extract::FromRef, deterministic Tower ServiceBuilder middleware sequencing, and panic-resilient request pipelines with zero unhandled extractor rejections.

Blocks:Monolithic Untyped State Injection and Inverse Tower Middleware Stacking Causing Unhandled Panics and Compile Failure
Targets:Cursor•Claude•Windsurf•Codex
chromadb-0-6-hnsw-metadata-filtering-tenancy
backendcritical

ChromaDB 0.6 HNSW Metadata Filtering and Multi-Tenant Isolation Standard

Enforces deterministic multi-tenant isolation, HNSW index parameter calibration, and structured boolean metadata filtering in ChromaDB 0.6+. Prevents catastrophic recall collapse resulting from sparse in-graph metadata filtering on monolithic vector collections and eliminates cross-tenant data leakage risks.

Blocks:Sparse In-Graph Metadata Post-Filtering on Monolithic Collections Causing HNSW Recall Collapse and Tenant Bleed
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-threaded-io-resilience
backendcritical

Valkey 8.0 Cluster Slot Pinning, Lua Hash-Tagging, and Failover Resiliency

Mandates strict hash slot pinning via curly-brace hash tags for all multi-key operations and atomic Lua scripts in Valkey 8.0 Cluster deployments. Enforces production-grade cluster failover routing, requiring explicit topology refresh limits, exponential backoff on MOVED redirects, and ASKING preambles for slot migration to prevent failover cascading outages.

Blocks:Executing unpinned multi-key Lua scripts causing CROSSSLOT exceptions and unhandled cluster redirection cascades during replica promotion.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-io-atomicity-guardrails
backendcritical

Valkey 8.0 Cluster Failover, Hash Slot Routing & Lua Atomicity Standard

Enforces strict cluster hash tagging, automated MOVED/ASK redirect handling, and non-blocking Lua scripts on Valkey 8.0. Guarantees atomic cross-command execution across multi-threaded I/O boundaries while preventing cluster routing failures and main-thread execution stalls during primary node failover.

Blocks:Un-tagged Multi-Key Lua Execution and Unhandled Cluster Redirects Causing CROSSSLOT Exceptions and Write Starvation During Failover
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-cluster-failover-multithreaded-io-standard
backendcritical

Valkey 8.0 Cluster Routing, Multi-Threaded I/O, and Atomic Script Invariants

Enforces strict cluster slot routing invariants, failover resilience, and deterministic cross-slot atomic script execution in Valkey 8.0. Prevents runtime CROSSSLOT errors, unbounded connection churn during master failovers, and latency regressions arising from uncoordinated multi-threaded I/O client configurations.

Blocks:Executing un-tagged multi-key Lua scripts and naive failover loops causing CROSSSLOT panics and cluster storm disconnects.
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-tower-guardrails
backendcritical

Axum 0.8 Substate Derivation, Tower Layer Ordering, and Zero-Panic Invariants

Enforces type-safe modular substate extraction via axum::extract::FromRef, non-blocking asynchronous concurrency, strict Tower ServiceBuilder middleware ordering, and deterministic panic recovery to prevent connection resets and state-leak vulnerabilities in Axum 0.8 microservices.

Blocks:Monolithic state extraction with blocking standard mutexes and unhandled Tower panic drops causing connection resets and thread starvation.
Targets:Cursor•Claude•Windsurf•Codex
axum-08-state-tower-safety-guardrail
backendcritical

Axum 0.8 Type-Safe State Subtyping, Fallback Layers, and Safe Extractor Composition

Enforces strict type safety and panic-free request lifecycle management for Rust Axum 0.8 and Tower ecosystems. Dictates compositional sub-state extraction via FromRef, prevents router-level runtime type mismatches, and mandates centralized, catch-panic Tower layer topologies. Guarantees that router nesting, middleware stacking, and custom extractors never cause runtime unhandled panics or silent state dropouts.

Blocks:Global Monolithic State Coupling with Unhandled Layer Panics and Untyped Extension Leaks
Targets:Cursor•Claude•Windsurf•Codex
fastify-5-schema-encapsulation-guardrails
backendcritical

Fastify 5 Encapsulation Boundaries, Custom Compilers, and Route Scopes

Enforces boundary encapsulation in Fastify 5 to prevent schema contamination and hook leakage across plugin hierarchies. Mandates isolated route contexts for hooks and serializers while preserving safe centralized schema resolution via fast-json-stringify and Ajv.

Blocks:Leaking Route-Level Hooks and Schema Collisions Across Sibling Contexts via Misused fastify-plugin Hoisting
Targets:Cursor•Claude•Windsurf•Codex
surrealdb-2-live-queries-record-links-standard
backendcritical

SurrealDB 2.0 Graph Relations, Record Linkage, and Live Subscription Lifecycle Management

Enforces typed RecordId instantiation, atomic graph relations (RELATE), and strict lifecycle management for SurrealDB 2.0 Live Queries. Prevents memory leaks from orphaned live query UUIDs and data corruption from untyped string-concatenated record links during WebSocket streaming.

Blocks:Leaking Live Query Subscriptions via Unkilled UUIDs and Corrupting Graph Relations with String-Interpolated IDs
Targets:Cursor•Claude•Windsurf•Codex
duckdb-nodejs-zero-copy-arrow-ingest
backendcritical

Zero-Copy Apache Arrow Ingest and Safe Connection Management in DuckDB Node.js

Enforces zero-copy Apache Arrow table hydration and query consumption when interacting with DuckDB in Node.js. Prevents event-loop starvation and OOM crashes caused by intermediate JavaScript object serialization of high-cardinality result sets. Mandates dedicated per-thread or isolated connection contexts to guarantee thread safety and memory reclamation during concurrent OLAP evaluations.

Blocks:Converting Large Arrow RecordBatches to Plain JavaScript Object Arrays with Shared DuckDB Connections
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-threaded-io-cluster-failover-standard-valkey-8-0-threa-935
backendcritical

Valkey 8.0 Threaded I/O, Cluster Slot Redirects, and Hash-Tag Script Atomicity

Valkey 8.0 leverages an asymmetric multi-threaded I/O engine while retaining single-threaded core execution. In a clustered topology, all multi-key operations and Lua scripts must strictly isolate keys to a single hash slot via curly-brace hash tags, and client instances must implement dynamic topology refresh listeners to handle MOVED and ASK slot redirects transparently during failovers without socket pool exhaustion.

Blocks:Executing untagged multi-key Lua scripts and naive connection routing leading to CROSSSLOT errors and cluster failover blackouts.
Targets:Cursor•Claude•Windsurf•Codex
langgraph-stateful-checkpointers-hitl-standard
backendcritical

LangGraph Persistent Checkpointing and Resumable Human-in-the-Loop Orchestration

Enforces enterprise-grade state persistence, thread-safe checkpoints, and safe Human-in-the-Loop (HITL) workflows in LangGraph. Mandates durable checkpointer storage, idempotent node execution, and isolated post-approval side effects to prevent duplicate external actions during graph replay.

Blocks:Volatile In-Memory Checkpointing, Side-Effect Leaks Prior to Interrupts, and Thread Contamination
Targets:Cursor•Claude•Windsurf•Codex
litellm-proxy-resilience-quota-routing
backendcritical

LiteLLM Proxy Multi-Provider Failover, Semantic Cache TTLs, and Budget Routing

Enforces enterprise-grade resilience and financial governance across LiteLLM Proxy gateway integrations. Mandates deterministic model-tier fallback routing, bounded semantic cache TTLs with similarity thresholds, and strict upstream token budget enforcement to eliminate unmitigated failover loops and cascade billing overages.

Blocks:Unbounded Primary-Model Routing with Indefinite Semantic Caching and Unchecked Rate-Limit Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-buffers-standard
backendcritical

PostgreSQL 17 Failover Slot Synchronization and Memory Buffer Invariants

Enforces PostgreSQL 17 logical replication failover slot synchronization and precise memory allocation across streaming pipelines. Prevents catastrophic primary disk exhaustion from unmanaged WAL accumulation, consumer desynchronization on physical replica promotion, and out-of-memory crashes from unconstrained logical decoding buffers.

Blocks:Creating unmonitored logical replication slots without failover sync, max WAL retention limits, and bounded decoding memory
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-prepared-statements-pooling-standard
backendcritical

Drizzle ORM 0.38 Prepared Statements, Connection Pool Sizing, and Transaction Isolation

Enforces strict connection pool lifecycle boundaries, parameter placeholder reuse in prepared statements, and lexical transaction handle isolation in Drizzle ORM 0.38+. Eliminates pool starvation, prepared statement cache thrashing, and uncommitted phantom state during failed transactional execution.

Blocks:Escaping Lexical Transaction Scopes and Constructing Dynamic Unparameterized Prepared Statements
Targets:Cursor•Claude•Windsurf•Codex
temporal-workflow-determinism-heartbeat-standard
backendcritical

Temporal Deterministic Workflow Orchestration and Resilient Activity Lifecycle

Temporal workflows must be strictly deterministic to ensure replay safety during event history reconstruction. Long-running activities must define explicit heartbeat timeouts with periodic heartbeat emissions, and all workflow waiting states must use SDK non-blocking timers instead of native runtime timers.

Blocks:Non-Deterministic Workflow Logic, Native System Timers, and Unmonitored Long-Running Activities
Targets:Cursor•Claude•Windsurf•Codex
kafka-3-9-kraft-idempotent-producer-standards
backendcritical

Kafka 3.9 KRaft Metadata Quorum & Exactly-Once Idempotent Producer Invariants

Enforces strict configuration and runtime transactional semantics for Kafka 3.9 ZooKeeper-less (KRaft) metadata quorums. Guarantees message deduplication via idempotent producer settings and prevents split-brain partition states during controller leader elections and cooperative sticky consumer group rebalances.

Blocks:Non-idempotent producer configurations with blind retries and non-transactional commits causing data duplication during KRaft controller failover
Targets:Cursor•Claude•Windsurf•Codex
meilisearch-1-12-hybrid-search-tenant-tokens
backendcritical

Meilisearch 1.12 Vector Hybrid Search Pagination, Scoped Tenant Tokens, and Typo Invariants

Enforces secure multi-tenant isolation, deterministic semantic search pagination, and strict typo-tolerance boundaries in Meilisearch 1.12+. Mandates cryptographic tenant token generation with embedded tenant filters, offset-to-limit pagination bounds for vector rankers, and disables typo-tolerance on high-entropy unique entity identifiers.

Blocks:Leaking Cross-Tenant Records via Unsigned Search Queries, Typo Corruption on IDs, and Silent Truncation in Vector Hybrid Pagination
Targets:Cursor•Claude•Windsurf•Codex
redis-7-4-hash-ttl-stream-pel-lifecycle
backendcritical

Redis 7.4 Field-Level Hash TTL Invalidation and Stream PEL Retention Guardrails

Mandates deterministic key lifecycle management using Redis 7.4 per-field hash expiration (HEXPIRE/HPEXPIRE) to eliminate key-space fragmentation and expensive multi-key invalidations. Enforces strict idempotent processing and proactive Pending Entries List (PEL) reclamation (XAUTOCLAIM) for Redis Streams to prevent unbounded memory bloat and silent message drops under volatile eviction policies.

Blocks:Unbounded Consumer Group PEL Growth and Whole-Key Invalidation with Stale Hash Fields
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-concurrency-limits-loadshedding
backendcritical

Axum 0.8 Deterministic Concurrency Limits & Transport Load Shedding

Enforces deterministic bounded concurrency and proactive HTTP 503 load shedding in Axum 0.8 applications using Tower middleware. Guarantees that overload conditions trigger explicit transport-level shedding with Retry-After headers rather than thread pool exhaustion or generic 500 server errors.

Blocks:Unbounded In-Flight Requests and Unhandled Tower BoxError Overloads Causing Cascading Failures
Targets:Cursor•Claude•Windsurf•Codex
openfga-zanzibar-rebac-guardrails
backendcritical

OpenFGA Zanzibar ReBAC Invariants & High-Throughput Verification

Enforces deterministic graph evaluation and zero-divergence tuple synchronization in OpenFGA Zanzibar architectures. Mandates batch evaluations or ListObjects over iterative Check calls, strict transactional outbox delivery for tuple mutations, and explicit authorization model version pinning.

Blocks:N+1 Iterative Graph Checks and Direct Dual-Write Tuple Divergence
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slot-sync
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization & HA Standby Alignment

Enforces failover-enabled logical replication slots and synchronized standby slot coordination introduced in PostgreSQL 17. Guarantees that physical standby replicas maintain synchronized logical decoding slots prior to failover, preventing message loss, slot invalidation, or re-consumption gaps across HA transitions.

Blocks:Unsynchronized Logical Slots and Unconstrained LSN Forwarding Without Physical Standby Alignment
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-ffi-worker-isolation-guardrail
backendcritical

Bun 1.2 Zero-Copy FFI & Native Worker Thread Memory Safety Invariant

Enforces strict memory ownership, pointer lifecycle validation, and deterministic buffer pooling when passing high-throughput analytical buffers across Bun 1.2 C-ABI FFI and native Worker thread boundaries. Prevents silent heap corruption, use-after-free, and race conditions resulting from JavaScript garbage collection preempting native memory references.

Blocks:Unpinned Pointer Passing & Shared Mutable ArrayBuffer Transfer Across FFI Worker Boundaries
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-io-cdc-replication-guardrails
backendcritical

Postgres 17 Asynchronous I/O Tuning & CDC Logical Slot WAL Guardrails

Configures Postgres 17 native async I/O parameters for high-throughput vectorized operations while enforcing strict WAL-retention ceilings via max_slot_wal_keep_size on CDC replication streams. Prevents cluster-wide disk exhaustion outages caused by stalled downstream CDC consumers and ensures deterministic streaming reads across high-volume pipelines.

Blocks:Uncapped Logical Replication Slots and Unbounded CDC Lag Exhausting Node Storage
Targets:Cursor•Claude•Windsurf•Codex
bun-1-2-worker-tenant-memory-isolation
backendcritical

Bun 1.2 Multi-Tenant Worker Memory Isolation & Execution Quotas

Enforces strict heap budgets, thread-level WebWorker isolation, and execution CPU/memory quotas when running untrusted multi-tenant workloads in Bun 1.2. Prohibits in-process evaluation and ensures all worker instances are aggressively terminated via deterministic abort signals and heap bounds to prevent noisy-neighbor memory leakage.

Blocks:Executing untrusted tenant code within the primary process heap or unmetered, long-lived WebWorkers without hard termination ceilings.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-opentelemetry-w3c-trace-propagation
backendcritical

Go Chi OpenTelemetry W3C Trace Context and Baggage Propagation Invariant

Mandates deterministic W3C trace context (traceparent, tracestate) and baggage extraction/injection across Go Chi HTTP routing layers, downstream network calls, and concurrent Goroutine boundaries. Prohibits context severance caused by raw context.Background() usage in asynchronous operations or unpropagated outbound HTTP requests.

Blocks:Trace Context Severance via Unpropagated Goroutines and Raw Outbound HTTP Requests
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slots
backendcritical

PostgreSQL 17 Synchronized Logical Replication Failover Slots

Enforces failover-enabled logical replication slots and standby slot synchronization introduced in PostgreSQL 17. Guarantees that downstream CDC consumers, Debezium instances, and transactional outbox workers survive physical primary failover without silent data loss, split-brain LSN divergence, or massive duplicate event replays.

Blocks:Unsynchronized logical slots on HA clusters causing catastrophic event loss or missing outbox CDC feeds during primary failover.
Targets:Cursor•Claude•Windsurf•Codex
nextjs-server-action-taint-idempotency-production-standard
backendcritical

Next.js 15 Server Action Taint Boundaries and Cryptographic Idempotency Guardrail

Enforces strict isolation between server-side domain entities and client-facing responses using React taint APIs, combined with distributed cryptographic idempotency enforcement. Prevents accidental server secret leakage across the serialization boundary and eliminates double-execution of non-idempotent business mutations.

Blocks:Leaking Untracked Internal Entities to Clients and Executing Mutating Actions Without Idempotency Locking
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-service-draining-zero-downtime-handoff
backendcritical

Axum 0.8 Tower Service Draining & Zero-Downtime Socket Handoff

Enforces deterministic graceful shutdown, Tower service-level connection draining, and socket file-descriptor inheritance in Axum 0.8. Guarantees zero dropped TCP connections, prevents mid-stream HTTP/2 frame truncation, and enables uncorrupted WebSocket/SSE termination during continuous deployment orchestrations. Mandates bounded drain deadlines with cancellation tokens to avoid hung container evictions.

Blocks:Abrupt Process Termination and Unbounded tokio::select Without In-Flight Connection Draining
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-strict-serialization-guardrail
backendcritical

FastAPI Pydantic V2 Strict Mode Ingestion and Rust-Backed Zero-Copy Schema Masking

Enforces Pydantic V2 strict validation across all FastAPI endpoint contracts to prevent loose type coercion exploits such as string-to-integer mutation and truthy boolean pollution. Mandates compiled Rust-core validation, optimized jsonable_encoder circumvention via model_dump(mode='json'), and explicit field exclusion projection to prevent CPU-bound event-loop starvation and accidental data exfiltration.

Blocks:Lax Type Coercion and CPU-Bound Serialization via Legacy jsonable_encoder and Permissive Pydantic V1 Configs
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-concurrency-isolation-production-standard
backendcritical

Bun 1.2 Native SQLite WAL Isolation and Multi-Threaded Concurrency Guardrail

Mandates write-ahead logging (WAL), synchronous normal modes, tuned busy timeouts, and immediate transaction locking for Bun 1.2 native bun:sqlite multiplexing across clustered workers. Eliminates SQLITE_BUSY contention deadlocks, connection exhaustion, and dirty reads during concurrent read/write transactions across OS threads.

Blocks:Ad-Hoc Unsynchronized bun:sqlite Handles with Deferred Transactions across Bun Workers
Targets:Cursor•Claude•Windsurf•Codex
axum-08-multi-phase-graceful-drain
backendcritical

Axum 0.8 Multi-Phase Graceful Drain & Rolling Deployment Invariant

Enforces zero-downtime rolling deployments in Axum 0.8 by mandating a coordinated multi-phase drain lifecycle: load-balancer deregistration quiescence, bounded HTTP/1.1 and HTTP/2 stream completion, and ordered downstream connection pool termination.

Blocks:Immediate SIGTERM Termination Dropping Inflight Requests and Leaking Multiplexed HTTP/2 Streams
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-direct-io-json-table-projections
backendcritical

PostgreSQL 17 Direct I/O Tuning & SQL:2023 JSON_TABLE Projections

Mandates the use of PostgreSQL 17 SQL:2023 standard JSON_TABLE projections for bulk event ingestion and configures asynchronous direct I/O (io_direct) for write-ahead log (WAL) and data writes. Eliminates client-tier JSON deserialization overhead, reduces Node/Go memory pressure, and prevents operating system buffer cache double-buffering during high-throughput ingest.

Blocks:Client-Side In-Memory JSON Shredding and Unbuffered JSONB Table Unnesting Under Buffered Disk I/O
Targets:Cursor•Claude•Windsurf•Codex
bun-cluster-worker-sqlite-isolation
backendcritical

Bun 1.2 Worker Cluster & Native SQLite WAL Multi-Tenant Memory Boundary Enforcement

Enforces strict memory isolation ceilings and tenant-segregated SQLite WAL boundaries across Bun 1.2 clustered worker threads. Guarantees zero cross-tenant shared-memory bleed, mitigates noisy-neighbor heap exhaustion, and prevents WAL shm lock contention in ultra-low-latency edge microservices.

Blocks:Cross-Tenant Shared SQLite Handles and Unbounded Worker Heap Allocation
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-backpressure-guardrail
backendcritical

Axum 0.8 Tokio Cancellation Token & Bounded Backpressure Guardrail

Enforces deterministic cancellation and bounded queue backpressure across Axum 0.8 service pipelines using tokio_util::sync::CancellationToken and bounded Tokio mpsc channels. Prevents socket starvation, ghost resource consumption, and runaway compute when HTTP clients disconnect or downstream pipelines saturate.

Blocks:Unbounded Channel Spawning and Unguarded Long-Running Tasks Without Cancellation Checks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-slot-failover
backendcritical

PostgreSQL 17 Logical Replication Slot Failover Synchrony & Zero-Downtime Migration Standard

Enforces failover-enabled logical replication slots and synchronized standby slot topologies introduced in PostgreSQL 17. Guarantees downstream subscribers (e.g., Debezium, audit consumers, microservice outboxes) survive physical primary failover without silent message drops, LSN regression, or full table rebuilds.

Blocks:Unsynchronized Logical Slots and Unconfigured Standby Slot Promotion Leading to LSN Drift and Consumer Resync Loops
Targets:Cursor•Claude•Windsurf•Codex
bun-multi-tenant-worker-heap-sandboxing
backendcritical

Deterministic Heap-Capped Worker Isolation & Lifecycle Eviction in Bun 1.2

Enforces strict memory boundaries and tenant isolation for high-density multi-tenant workloads in Bun 1.2. Mandates deterministic per-tenant worker recycling based on post-execution heap inspection and strict memory limits, preventing out-of-memory (OOM) cascade failures across shared compute nodes.

Blocks:Unbounded In-Process Tenant Execution and Unmonitored Worker Reuse Leading to Host OOM Cascades
Targets:Cursor•Claude•Windsurf•Codex
axum-zero-copy-streaming-cancellation
backendcritical

Axum 0.8 Zero-Copy Streaming & Cooperative Cancellation Guardrail

Enforces strict zero-copy chunk streaming and deterministic cooperative cancellation for Axum 0.8 backends over HTTP/2 and HTTP/3. Guarantees that client disconnects, QUIC stream resets, and downstream backpressure propagate upstream to immediately halt resource consumption without orphan tasks or unbounded buffering.

Blocks:Unbounded In-Memory Buffering and Orphaned Producer Loops on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-outbox-pgvector-convergence
backendcritical

Strict Linearizability for Postgres 17 Logical Replication Outbox & pgvector Convergence

Enforces strict linearizability and zero data loss between primary ACID entity transactions and downstream HNSW/IVFFlat vector embeddings. Mandates transactional outbox writes collocated within the primary transaction, consumed via Postgres 17 failover-capable logical replication slots (pg_create_logical_replication_slot with failover=true) and synchronized replication slots, completely eliminating dual-write split-brain anomalies and orphaned vector states.

Blocks:Dual-Writing to Vector Stores or Updating Embeddings In-Transaction Causing Tail Latency and Stale Out-of-Order Vectors
Targets:Cursor•Claude•Windsurf•Codex
pg17-memory-budgeting-worker-scaling-guardrail
backendcritical

PostgreSQL 17 Memory Budgeting & Dynamic Worker Guardrail

Enforces deterministic work_mem allocation, dynamic shared memory (DSM) ceiling bounds, and capped parallel query worker execution paths in PostgreSQL 17. Eliminates container OOM kills triggered by unconstrained concurrent sorts, hash tables, and parallel partitioned index scans across multi-tenant workloads.

Blocks:Global Uncapped work_mem and Unbounded Parallel Worker Fan-Out Inducing Linux OOM Kills
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-lifecycle-goroutine-leak-prevention
backendcritical

Go Chi Context Propagation & Deterministic Goroutine Lifecycle Invariant

Enforces strict context-tree inheritance and bounded goroutine lifecycles within Go Chi HTTP handlers. Eliminates unbounded goroutine accumulation and orphaned I/O operations caused by abrupt HTTP/3 client stream cancellations (QUIC RESET_STREAM) and connection drops under peak load.

Blocks:Spawning detached, unbounded goroutines or ignoring request context cancellation during client disconnect spikes
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-compiled-schema-validation-standard
backendcritical

FastAPI & Pydantic v2 Compiled Schema Validation and Zero-Allocation Serialization Standard

Enforces strict Pydantic v2 TypeAdapter and SchemaSerializer compilation patterns in FastAPI endpoints to eliminate Python runtime reflection overhead. Eliminates silent data corruption caused by permissive type coercion and replaces naive jsonable_encoder serialization with compiled Rust-backed pydantic-core zero-allocation byte streams.

Blocks:Uncompiled Model Instantiation and Permissive Type Coercion in High-Throughput FastAPI Pipelines
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-zero-copy-streaming-guardrail
backendcritical

Axum 0.8 Extractor-Driven Zero-Copy Multipart Streaming Invariants

Enforces strict zero-copy streaming invariants for high-throughput multipart ingestion in Rust Axum 0.8 services. Prohibits in-memory payload aggregation into vectors or intermediate buffers, mandating chunk-level direct piping to sinks via tokio_util and bounded backpressure extractors. Guarantees predictable, sub-megabyte resident set size (RSS) per connection during concurrent multi-gigabit payload transfers.

Blocks:Heap Buffer Accumulation via In-Memory Ingestion of Multipart Payloads (e.g., field.bytes().await or Vec<u8> Aggregation)
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-replication-slots-cdc-integrity
backendcritical

Postgres 17 Failover Replication Slots & Idempotent CDC Outbox Continuity

Enforces Postgres 17 failover-enabled logical replication slots and physical standby synchronization barriers for Transactional Outbox CDC pipelines. Prevents silent WAL truncation, event drops, and replay storms during primary failover and standby promotion by guaranteeing slot persistence across timeline switches.

Blocks:Creating un-synchronized legacy logical replication slots without failover flags and running un-hedged CDC tailing vulnerable to standby promotion data loss.
Targets:Cursor•Claude•Windsurf•Codex
bun-isolated-native-worker-pool-standard
backendcritical

Bun 1.2 Isolated Native Worker Thread Topologies for Multi-Tenant Workloads

Enforces bounded, zero-copy native Worker thread pools in Bun 1.2 to isolate CPU-intensive multi-tenant execution. Mitigates JavaScriptCore (JSC) heap fragmentation, thread starvation, and event-loop blocking by requiring deterministic lifecycle management and Transferable Object ownership transfer.

Blocks:Ad-Hoc Worker Spawning with Deep-Cloned Payloads and Unbounded Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-synchronization-invariants
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization & Zero-Loss CDC Guarantees

Enforces failover-enabled logical replication slots and synchronized standby invariants in Postgres 17+ to guarantee zero-data-loss Change Data Capture (CDC) during physical standby promotion. Mandates explicit failover slot registration, physical standby alignment via synchronized_standby_slots, and verified slot sync states during failover cutovers.

Blocks:Creating unflagged logical replication slots and dropping/recreating slots across node promotions, inducing silent CDC data loss.
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-zero-copy-transfer-boundaries
backendcritical

Bun 1.2 Clustered Worker Zero-Copy Transfer and Ownership Boundary Standards

Enforces strict memory ownership semantics and explicit zero-copy transfer lists when passing binary payloads across Bun 1.2 worker pools. Disallows implicit structured cloning of large TypedArrays and prevents use-after-transfer race conditions on detached ArrayBuffers.

Blocks:Implicit Structured Clone Memory Duplication and Post-Transfer Access on Detached Buffers
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-token-lifecycle-scoping
backendcritical

Axum 0.8 Tokio CancellationToken Distributed Lifecycle Scoping

Mandates explicit, hierarchical cancellation trees using Tokio CancellationToken across Axum 0.8 request pipelines. Enforces deterministic cancellation propagation through database transactions, external HTTP calls, and background workers upon client disconnection or SIGTERM pod termination.

Blocks:Detached Spawning and Unscoped Async Pipelines Leaking DB Pool Connections on HTTP Aborts
Targets:Cursor•Claude•Windsurf•Codex
fastapi-sse-client-disconnect-backpressure
backendcritical

FastAPI Async Generator SSE Disconnect Detection and Upstream Backpressure Invariant

Requires all FastAPI Server-Sent Events (SSE) and StreamingResponse async generators to actively poll ASGI disconnect state via `request.is_disconnected()` or monitor underlying transport signals. Failing to detect disconnects causes orphaned upstream database/API subscriptions, memory leaks, and worker event-loop starvation when clients drop connections midway.

Blocks:Orphaned Infinite Async Generators Consuming Upstream Streams After Client HTTP Disconnection
Targets:Cursor•Claude•Windsurf•Codex
pg17-hnsw-memory-boundary-enclaves
backendcritical

PostgreSQL 17 Pgvector HNSW Indexing Memory Boundary Enclaves

Enforces deterministic memory boundaries and scalar quantization enclaves during pgvector HNSW index builds on PostgreSQL 17. Prevents Linux cgroup OOM killer panics by mathematically budgeting session-scoped maintenance_work_mem against vector dimensionality, maximum graph out-degrees (m), and parallel maintenance workers.

Blocks:Unbounded HNSW Graph Materialization with Default maintenance_work_mem and Full-Precision Float32 Vectors
Targets:Cursor•Claude•Windsurf•Codex
axum-08-streaming-tower-backpressure-invariants
backendcritical

Axum 0.8 Zero-Copy Streaming and Tower Layer Backpressure Invariants

Enforces strict backpressure propagation and zero-copy byte slicing across Axum 0.8 routes and Tower middleware layers. Prevents catastrophic memory amplification under high-concurrency I/O by prohibiting unbounded body materialization into memory. Guarantees deterministic O(1) allocation overhead during asynchronous pipeline forwarding.

Blocks:Unbounded Eager Body Materialization and Backpressure Dropping in Tower Middleware
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-logical-slot-synchronization
backendcritical

PostgreSQL 17 Native Failover Slot Synchronization for Zero-Downtime CDC Continuity

Mandates PostgreSQL 17 native logical failover slots and physical standby synchronization for change-data-capture (CDC) pipelines. Prevents catastrophic LSN divergence, stream recreations, and data loss during physical standby promotion by enforcing failover-enabled logical slots and physical standby slot coordination.

Blocks:Creating uncoordinated logical slots on primary nodes without failover enablement or standby slot dependencies.
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-zero-copy-ipc-standard
backendcritical

Bun 1.2 Zero-Copy Worker Thread IPC Standard

Enforces strict zero-copy Inter-Process Communication (IPC) across Bun native Worker threads using transferable ArrayBuffers and SharedArrayBuffers with Atomics. Eliminates JavaScriptCore (JSC) structured clone serialization overhead and memory copying on CPU-bound payloads. Guarantees deterministic, sub-millisecond execution times for parallel backend workloads.

Blocks:Implicit Structured Clone Serialization of Large TypedArrays and JSON Objects Across Bun Worker Boundaries
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-sql-json-table-optimization-invariants
backendcritical

Postgres 17 SQL/JSON JSON_TABLE Optimization & Memory Invariants

Enforces strict query planning invariants and memory bounds when projecting JSON/JSONB payloads into relational tabular formats using Postgres 17 JSON_TABLE. Mandates precise SQL/JSON path evaluation, typed column projection with strict error handling, and the prevention of unindexed full-table nested scans or memory bloat caused by unbounded path expansion. Guarantees queries retain index-driven scan paths and work_mem compliance.

Blocks:Unbounded JSON_TABLE Path Projections with Implicit Type Casts and Silent Error Fallbacks
Targets:Cursor•Claude•Windsurf•Codex
go-synctest-virtual-clock-concurrency-standard
backendcritical

Go 1.24 synctest Virtual Clock Concurrency & Lease Invariants

Mandates deterministic verification of asynchronous workflows, distributed lease expirations, and HTTP timeouts using Go 1.24 testing/synctest. Eliminates flaky wall-clock sleeps, ensures instant synthetic time advancement, and enforces strict bubble boundary isolation to prevent untracked goroutine leaks in Go Chi microservices.

Blocks:Non-Deterministic Wall-Clock Sleep Polling and Unbounded Goroutine Leaks in Asynchronous Tests
Targets:Cursor•Claude•Windsurf•Codex
pg17-hnsw-directio-concurrent-reindexing
backendcritical

Postgres 17 Concurrent Direct I/O HNSW Vector Indexing Guardrails

Governs shared memory buffer allocation, session-scoped maintenance work memory, and WAL generation thresholds during concurrent high-dimensional HNSW vector index builds. Prevents backend connection stalls and replication lag caused by unthrottled I/O and shared buffer churn during pgvector index creation or re-indexing in PostgreSQL 17.

Blocks:Global maintenance_work_mem escalation and unthrottled CONCURRENTLY index builds exhausting shared buffers and stalling connection pools.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-nonblocking-validator-guardrail
backendcritical

FastAPI & Pydantic V2 Non-Blocking Event-Loop Validator Invariant

Pydantic V2 validators execute synchronously during HTTP payload deserialization before the route handler is invoked. Performing synchronous I/O, network calls, or blocking operations inside field or model validators blocks the asyncio event loop directly or exhausts AnyIO worker threadpools under load, causing catastrophic request queuing and API starvation.

Blocks:Performing Synchronous Blocking I/O or Heavy Compute Inside Pydantic V2 Validators
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-taskgroup-concurrency-guardrail
backendcritical

FastAPI Lifespan Asyncio TaskGroup Structured Concurrency Guardrail

Enforces Python 3.12+ structured concurrency patterns in FastAPI applications using asyncio.TaskGroup within the lifespan context manager. Prevents dangling background coroutines, ContextVar cross-request contamination, and unhandled task crashes during ASGI graceful shutdown sequences.

Blocks:Fire-and-forget asyncio.create_task() spawned during application lifespan without TaskGroup bounds or cooperative cancellation
Targets:Cursor•Claude•Windsurf•Codex
bun-postgres-zero-copy-streaming-standard
backendcritical

Bun 1.2 Native PostgreSQL Zero-Copy Binary Streaming Protocol Guardrail

Enforces Bun 1.2 native SQL streaming abstractions and zero-copy byte pipeline handoffs for high-volume analytical workloads. Prohibits intermediate JavaScript object materialization and text-encoding roundtrips to prevent heap pressure, garbage collection latency spikes, and process crashes on multi-gigabyte payloads.

Blocks:In-Memory Result Materialization and Serialization of Analytical Result Sets
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-nogil-extension-isolation
backendcritical

FastAPI Free-Threaded (Python 3.13 nogil) Concurrency & Extension Isolation

Enforces strict memory safety and isolation invariants for FastAPI running on Python 3.13 free-threaded builds (nogil). Direct access to legacy, non-thread-safe C-extensions and unsynchronized shared mutable state within free-threaded workers induces silent memory corruption and SIGSEGV faults.

Blocks:Executing non-nogil-verified C-extensions and unsynchronized shared mutable state in free-threaded FastAPI threadpools
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-logical-replication-ha
backendcritical

PostgreSQL 17 Failover Slot Synchronization & Logical Replication HA Guardrail

Enforces seamless zero-loss, minimal-duplicate logical decoding across physical replica failovers using Postgres 17 failover slot synchronization. Mandates failover: true on logical slots, standby slot synchronization via pg_sync_replication_slots(), and two-phase commit tracking. Prevents data divergence, silent slot invalidation, and runaway WAL bloat during planned switchovers and uncoordinated primary crashes.

Blocks:Unsynchronized Logical Slots Causing Stream Eviction, Catastrophic WAL Gaps, or Massive Stream Replays Post-Promotion
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-context-cancellation-zero-alloc-ring-buffer
backendcritical

Go 1.24 Context Cancellation Propagation & Zero-Allocation Ring Buffers

Enforces strict context cancellation tree propagation alongside zero-allocation lock-free ring buffer telemetry under sustained HTTP proxy load. Prevents orphan goroutine leaks, heap escape churn, and tail-latency degradation by leveraging Go 1.24 context.AfterFunc, context.WithoutCancel, and cacheline-padded atomic circular arrays.

Blocks:Orphaned Goroutine Leakage and GC Pause Spikes via Unbound Channels and Escaping Closures
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-taskgroup-cancellation-standard
backendcritical

FastAPI Lifespan Structured Concurrency & TaskGroup Graceful Cancellation

Enforces deterministic structured concurrency within FastAPI lifespan contexts using Python 3.11+ TaskGroups or AnyIO task groups. Prevents unhandled dangling coroutines, post-teardown execution against closed connection pools, and unorderly process termination across multi-worker ASGI environments during SIGTERM/SIGINT events.

Blocks:Unscoped fire-and-forget asyncio.create_task calls causing worker shutdown corruption and orphaned coroutines
Targets:Cursor•Claude•Windsurf•Codex
pg17-json-table-memory-bounds-streaming
backendcritical

PostgreSQL 17 JSON_TABLE Memory Bounds and Streaming Projection Invariants

Enforces strict memory ceilings, bounded path evaluations, and deterministic cardinality controls when projecting JSONB payloads using PostgreSQL 17 JSON_TABLE. Eliminates backend work_mem exhaustion, temp file disk spills, and query planner degradation caused by unbounded document materialization and lax nested array evaluations.

Blocks:Unbounded JSON_TABLE Projections with Lax Path Expansions and Unconstrained Document Materialization
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sharedarraybuffer-zero-copy-concurrency
backendcritical

Bun 1.2 Clustered Worker Zero-Copy SharedBuffer Invariants

Mandates zero-copy shared memory architectures using SharedArrayBuffer and Atomics for Bun 1.2 worker thread pools processing high-bandwidth I/O. Eliminates Structured Clone serialization overhead, V8/JSC heap churn, and cross-thread garbage collection pressure during concurrent stream processing.

Blocks:Structured-Clone Serialization Bottlenecks and Unsynchronized Buffer Mutation Across Worker Pools
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-sync
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization and Zero-Lag Subscriber Migration

PostgreSQL 17 introduces native logical replication failover slot synchronization (`sync_replication_slots` and `failover = true`). When orchestrating high-availability database clusters, downstream subscribers must never point to logical replication slots that are unmanaged by physical standbys, nor fail over without verifying `synchronized_standby_slots` on the primary and slot confirmation on the promoted node to prevent data loss or duplicate stream processing.

Blocks:Creating un-synchronized logical slots or performing subscriber cutover without validating slot LSN advancement across physical replicas
Targets:Cursor•Claude•Windsurf•Codex
bun-deterministic-native-addon-queue-standard
backendcritical

Bun 1.2 Native Addon Boundary & Deterministic Async Queue Standard

Enforces deterministic backpressure and thread isolation when executing C++ native addons (Node-API/Bun FFI) alongside high-throughput TypeScript edge workers in Bun 1.2. Prevents JavaScriptCore (JSC) microtask starvation, event-loop lag, and unmanaged native memory heap thrashing by mandating off-main-thread execution and bounded queue scheduling.

Blocks:Executing blocking C++ FFI bindings synchronously on the main thread inside concurrent microtask chains, starving JSC event-loop ticks.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-taskgroup-structured-concurrency
backendcritical

FastAPI Lifespan Structured Concurrency with Python 3.12+ TaskGroup

Enforces strict structured concurrency within FastAPI application lifespans using Python 3.12+ asyncio.TaskGroup and ASGI state propagation. Eliminates leaked zombie coroutines, dropped telemetry/event batches, and non-deterministic SIGTERM teardowns during container orchestration draining.

Blocks:Unbounded asyncio.create_task in FastAPI routes/events leading to orphaned coroutines on SIGTERM shutdown
Targets:Cursor•Claude•Windsurf•Codex
pgvector-08-hnsw-partitioned-maintenance-standard
backendcritical

pgvector 0.8 HNSW Partitioned Indexing and Parallel Worker Configuration Standard

Enforces strict partition-aligned HNSW indexing, deterministic parallel index creation, and maintenance work memory allocations for pgvector 0.8+ on PostgreSQL 17. Unpartitioned global HNSW indexes on multi-million row datasets exhaust shared buffers and cause catastrophic tail latency spikes (p99 > 4000ms) during concurrent writes and background vacuuming.

Blocks:Global Unpartitioned HNSW Vector Indexing with Default Worker and Memory Configuration
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-guardrail
backendcritical

Bun 1.2 Native WebSocket Backpressure & Drain Guardrail

Enforces strict backpressure monitoring and zero-allocation drain lifecycle handling on Bun native WebSockets. Mandates buffer bounds checking and consumer eviction via getBufferedAmount() to prevent edge runtime OOM crashes during asymmetric pub/sub fan-outs.

Blocks:Blind socket fan-out broadcasting without drain handlers or buffered amount limits, causing unbounded buffer accumulation and SIGKILL OOMs.
Targets:Cursor•Claude•Windsurf•Codex
pg17-pooled-rls-partition-invariants
backendcritical

PostgreSQL 17 Transaction-Pooled RLS and Declarative Partition Invariants

Enforces deterministic multi-tenant isolation under high-throughput PgBouncer transaction pooling and PostgreSQL 17 declarative partitioning. Mandates transaction-local context parameterization (`SET LOCAL`), mandatory `FORCE ROW LEVEL SECURITY` across parent and partition tables, and composite partition-key primary index integrity to guarantee zero cross-tenant bleeding and prevent bypasses during partition pruning or logical replication streaming.

Blocks:Leaking Tenant Context via Session-Scoped Variables and Unenforced Partition RLS Under Transaction Pooling
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-worker-stream-backpressure
backendcritical

Zero-Copy Byte-Stream Serialization and Backpressure Guardrails for Bun 1.2 Worker Pools

Mandates explicit ownership transfers using ArrayBuffer transfer lists and strict backpressure propagation via ReadableStream and TransformStream over native Bun 1.2 multithreaded worker boundaries. Eliminates high-frequency structured clone CPU penalties, buffer duplication spikes, and unbounded heap exhaustion under stream contention.

Blocks:Unbounded ArrayBuffer Structured Cloning and Lost Backpressure Across Native Worker Boundaries
Targets:Cursor•Claude•Windsurf•Codex
go-chi5-context-propagation-graceful-drain
backendcritical

Go Chi 5 Structured Context Propagation, Request Budgeting, and Graceful Concurrency Drain

Enforces strict context cancellation inheritance, timeout budgeting via Chi middleware, and robust worker drain coordination during rolling deployment OS signals. Prevents orphaned goroutines, detached context anti-patterns, and mid-flight connection resets on SIGTERM.

Blocks:Detaching context with context.Background() in Chi handlers and uncoordinated goroutine execution during SIGTERM shutdowns
Targets:Cursor•Claude•Windsurf•Codex
axum-08-zero-allocation-extractor-pipeline
backendcritical

Axum 0.8 Zero-Allocation Request Extractor Pipeline

Enforces strict zero-allocation extraction patterns in Axum 0.8 request pipelines to eliminate intermediate heap buffers and prevent multi-gigabit throughput degradation. Guarantees compile-time lifetime safety and bound constraints across contiguous raw network byte buffers.

Blocks:Heap-Cloning Deserializers and Unbounded Intermediate Buffers in High-Throughput Request Paths
Targets:Cursor•Claude•Windsurf•Codex
go-chi-structured-concurrency-cancellation
backendcritical

Go 1.24 Chi Context-Bound Structured Concurrency & Graceful Cancellation

Enforces strict hierarchical context derivation, explicit lifetime containment, and bounded timeout propagation across concurrent fan-outs within Go 1.24 Chi HTTP routing pipelines. Prevents orphan goroutines, descriptor leaks, and distributed cascading failures by requiring all sub-tasks to bind to request context lifecycle signals.

Blocks:Detached Goroutine Spawning and Context-Agnostic Channel Blocking
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-memory-tuning-index-pinning-guardrail
backendcritical

Postgres 17 Workload-Adaptive Memory Tuning & High-Concurrency Index Pinning

Prevents catastrophic transaction ID (TXID) wraparound outages and query plan degradation across multi-terabyte transactional datasets. Enforces Postgres 17 radix-tree vacuum memory utilization, adaptive WAL checkpoint smoothing, and deterministic buffer pinning of mission-critical indexes via pg_prewarm to protect shared buffer hit rates under concurrent write spikes.

Blocks:Unbounded Autovacuum Degradation, Missing Buffer Pinning, and Premature WAL Flush Storms Under High Concurrency
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-native-memory-pinning
backendcritical

Bun 1.2 WebSocket Hibernation & Zero-Heap Connection Pinning

Enforces zero-heap WebSocket lifecycle patterns in Bun 1.2+ by offloading idle socket state to native kernel structures (epoll/kqueue) through native pub/sub topics and transient descriptors. Eliminates multi-gigabyte JavaScriptCore heap degradation across high-fanout deployments by prohibiting persistent JavaScript socket references and unbounded closure captures.

Blocks:Retaining ServerWebSocket references in heap collections or closures, defeating native kernel hibernation
Targets:Cursor•Claude•Windsurf•Codex
temporal-workflow-determinism-replay-verification
backendcritical

Temporal Core Deterministic Workflow Replay & State Machine Verification

Enforces strict determinism constraints within Temporal workflow definitions to eliminate non-deterministic event history divergence and workflow state corruption during replay and continuous deployment cycles. Mandates workflow-safe runtime primitives, isolation of side effects within activities, and explicit version gating with workflow patching APIs.

Blocks:Non-Deterministic Workflow Mutation and State Corruption via Native Runtime Primitives and Unversioned Control Flow
Targets:Cursor•Claude•Windsurf•Codex
tokio-cooperative-budgeting-blocking-offload-guardrails
backendcritical

Tokio 1.40 Cooperative Task Budgeting & Blocking Offload Guardrails

Enforces strict cooperative scheduling and blocking isolation in Tokio 1.40 runtimes to prevent executor thread starvation. Guarantees long-running computational or synchronous I/O operations are offloaded to dedicated threadpools while unbounded async loops yield control via cooperative budget checks.

Blocks:Starving Tokio Worker Threads with Synchronous I/O, Rayon in Task Contexts, and Unbounded Yield-Free Async Loops
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-zero-lock-partition-pruning-guardrail
backendcritical

Postgres 17 Zero-Lock DDL Invariants and Microsecond Partition Pruning

Enforces strict DDL migration patterns and query structures in PostgreSQL 17 to eliminate table-level ExclusiveLocks on high-throughput ledgers. Guarantees run-time and compile-time partition pruning using immutable routing keys while avoiding lock-queue starvation via explicit timeout backoffs.

Blocks:Unbounded AccessExclusiveLock Acquisition and Dynamic Partition Filter Degeneration
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-goroutine-leak-guardrails
backendcritical

Go Chi Context Deadline Propagation and Goroutine Leak Prevention

Enforces strict HTTP request context propagation, deterministic timeout boundaries, and leak-free concurrency in go-chi microservices. Prohibits detached background goroutines that outlive request scopes without structured cancellation, preventing thread exhaustion, connection pool starvation, and file descriptor leaks.

Blocks:Detaching Goroutines from Request Lifecycles Without Cancellation Channels or Resource Drainage
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-failover-slots
backendcritical

PostgreSQL 17 Streaming I/O Optimization and Synchronized Logical Replication Failover

PostgreSQL 17 introduces vectorized streaming I/O read-ahead alongside native logical replication slot synchronization across physical standbys. Production architectures must enforce failover-enabled logical slots and streaming I/O configurations to guarantee zero data loss and prevent subscriber desynchronization during primary failovers.

Blocks:Creating unmanaged logical replication slots without failover synchronization and ignoring PG17 streaming I/O block controls
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-pydantic-v2-serialization-production-standard
backendcritical

FastAPI Structured Lifespans and Pydantic V2 Zero-Copy Deserialization Invariants

Enforces modern FastAPI async lifespan context managers over deprecated startup/shutdown events to guarantee deterministic resource teardown. Mandates Pydantic V2 compiled Rust parsing (validate_json/TypeAdapter) directly on raw request payloads to eliminate event-loop blocking and memory allocation bottlenecks under high-concurrency microservice workloads.

Blocks:Blocking Python Event Loops with Deprecated Startup Hooks and V1-Style Python-Space JSON Deserialization
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-failover-slots-streaming-io-standard
backendcritical

PostgreSQL 17 Managed Logical Failover Slots & Streaming I/O Synchronization

Enforces deterministic zero-data-loss failover synchronization across read replicas using PostgreSQL 17 native failover slots (`failover = true`) bound to `synchronized_standby_slots`. Simultaneously optimizes the replication ingestion pipeline via Postgres 17 direct block streaming I/O and vectorized read prefetching (`io_combine_limit`), preventing worker stall during high-throughput WAL replay.

Blocks:Creating Unmanaged Logical Replication Slots Without Standby Synchronization and Default I/O Concurrency
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-buffer-pool-standard
backendcritical

Bun 1.2 Zero-Copy WebSocket Hibernation & Buffer Pool Standard

Enforces Bun 1.2's kernel-level WebSocket hibernation engine and zero-copy binary streaming protocols across all real-time services. Prohibits stateful V8 closure references to ServerWebSocket instances, mandating topic-based pub/sub offloading and pooled ArrayBuffer allocations to maintain microsecond tail latency under millions of concurrent idle connections.

Blocks:Retaining Persistent ServerWebSocket References and Unpooled Buffer Allocations
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-graceful-drain-concurrency-production-standard
backendcritical

Axum 0.8 Tower Graceful Draining & Concurrency-Limit Isolation

Enforces strict concurrency bounding and deterministic connection draining in Axum 0.8 / Tower HTTP services. Prevents thread starvation and rolling-deployment connection blackholes by decoupling TCP accept loops from bounded task pools and enforcing hard deadlines on inflight request completion during SIGTERM.

Blocks:Unbounded TCP connection ingestion with open-ended graceful shutdown causing Kubernetes pod termination timeouts and cascading thread pool exhaustion
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-nogil-shared-state-invariant
backendcritical

FastAPI Python 3.13 Free-Threaded (No-GIL) Shared-State Thread-Safety Guardrail

Enforces strict thread-safety and concurrency invariants in FastAPI applications deployed on Python 3.13 free-threaded (PEP 703) runtimes. Strictly eliminates unshielded mutable in-memory singletons and race conditions across OS thread pools and asynchronous event loops while maximizing true multi-core parallel execution.

Blocks:Unprotected In-Memory Shared Mutable State Across Free-Threaded Worker Pools
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-sharedarraybuffer-ipc-clustering
backendcritical

Bun 1.2 Zero-Copy SharedArrayBuffer IPC & Worker Clustering Standard

Enforces zero-copy inter-process and inter-worker communication across Bun 1.2 worker clusters using SharedArrayBuffer and Atomics synchronization primitives. Eliminates structured-cloning overhead, garbage collector thrashing, and sub-millisecond latency spikes in high-throughput multi-core workloads.

Blocks:Serializing High-Frequency Payloads via Structured Clone postMessage Across Bun Workers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-async-resource-teardown
backendcritical

FastAPI Lifespan Context Manager Async Resource Teardown and Worker Drain

Enforces deterministic resource lifecycle management using FastAPI's asynccontextmanager lifespan protocol instead of deprecated @app.on_event handlers. Guarantees structured teardown of async connection pools, active task queues, and external clients within a protected try/finally block during SIGTERM or application termination.

Blocks:Leaking unclosed connection pools and dropping active in-flight worker tasks via legacy @app.on_event handlers
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-cancellation-deadline-propagation
backendcritical

Go Chi Context Cancellation & Strict Deadline Propagation

Enforces strict downstream context propagation, client disconnect detection, and boundary timeouts across Go Chi HTTP middleware and handlers. Prevents orphaned goroutine leaks, uncancelable long-running transactions, and database pool starvation during premature client termination.

Blocks:Discarding r.Context() or spawning background goroutines with context.Background() in HTTP middleware pipelines
Targets:Cursor•Claude•Windsurf•Codex
pg17-stat-io-direct-io-memory-guardrail
backendcritical

PostgreSQL 17 pg_stat_io Telemetry and Cache Double-Buffering Guardrail

Establishes automated telemetry thresholds on PostgreSQL 17 pg_stat_io metrics to identify and prevent OS page cache double-buffering and shared buffer eviction storms during high-concurrency analytical and streaming workloads. Mandates automated rate-of-change tripwires on bulkread and normal I/O contexts alongside cursor-constrained streaming in application services.

Blocks:Unmonitored Bulk Ingestion and Analytics Inducing OS Page Cache Double-Buffering and Buffer Thrashing
Targets:Cursor•Claude•Windsurf•Codex
bun-tcp-backpressure-drain-invariants
backendcritical

Bun 1.2 TCP Zero-Copy Backpressure and Socket Drain Lifecycle Enforcement

Mandates strict handling of TCP socket backpressure in Bun 1.2+ runtimes by evaluating socket.write() return codes and synchronizing with the asynchronous drain lifecycle. Bypassing backpressure checks during high-throughput streams causes unmanaged native heap accumulation in Bun worker runtimes, leading to silent latency degradation and resident set size (RSS) out-of-memory crashes.

Blocks:Unchecked Fire-and-Forget Streaming Over TCP Sockets Without Drain Lifecycle Flow Control
Targets:Cursor•Claude•Windsurf•Codex
go-range-over-func-early-exit-cleanup
backendcritical

Go 1.24 Push Iterator Early-Exit and Goroutine Leak Prevention

Enforces strict termination and resource cleanup invariants in Go 1.24 range-over-func push iterators (iter.Seq and iter.Seq2). Yield calls returning false indicate downstream consumer breaks, requiring immediate cessation of traversal, deterministic lock releases, and active cancellation of associated producer goroutines.

Blocks:Ignoring yield() return values or failing to propagate cancellation to concurrent worker goroutines during iterator breaks.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-freethreaded-concurrency-isolation
backendcritical

Free-Threaded Python 3.13 Concurrency Isolation and Safe Shared Memory Standard

Enforces strict thread-safe request context isolation and synchronization primitives for FastAPI microservices running under free-threaded Python 3.13 (PEP 703). Prevents data races, torn reads, and cross-thread memory corruption caused by concurrent mutations to unsynchronized module-level state, standard collections, and shared object pools.

Blocks:Unsynchronized Global State Mutation and Context Bleed Under Free-Threaded Execution
Targets:Cursor•Claude•Windsurf•Codex
go-arena-allocation-chi-gateway
backendcritical

Deterministic Go 1.24 Arena Lifecycle Management in Chi Gateway Pipelines

Enforces strict request-scoped arena allocation lifecycles using `arena.NewArena()` within Chi HTTP middleware. Prevents memory corruption, premature free panic vulnerabilities, and use-after-free bugs caused by arena-allocated pointers leaking past the HTTP request-response cycle into long-lived goroutines or global sync pools in 100k+ RPS workloads.

Blocks:Leaking Request-Scoped Arena References to Asynchronous Goroutines and Global Contexts
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-control
backendcritical

Postgres 17 Synchronized Logical Replication Slot Failover Protocol

Enforces Postgres 17 native failover-enabled logical replication slots and synchronized standby slot topologies across high-availability clusters. Guarantees that physical standby nodes maintain synchronized logical replication slot state (confirmed_flush_lsn) prior to cluster failovers. Eliminates message data loss, catastrophic duplicate streaming replays, and downstream consumer corruption during automated Patroni or Kubernetes orchestrator promotions.

Blocks:Provisioning Logical Replication Slots Without Failover Capabilities and Uncoordinated Physical Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-engine
backendcritical

Bun 1.2 High-Density WebSocket Epoll Hibernation Architecture

Enforces Bun's native C++ epoll/kqueue WebSocket hibernation runtime lifecycle to sustain millions of concurrent edge connections. Prohibits JavaScript closures, event-emitter bindings, and long-lived heap object references per socket that defeat the V8/JSC GC reclamation during idle states. Mandates strictly typed native `ws.data` payloads and pub/sub topic routing to maintain sub-kilobyte memory footprints per connection.

Blocks:Attaching State to Closures or Event Handlers Defeating Native Socket Hibernation
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-buffering-backpressure-guardrail
backendcritical

Axum 0.8 Tower Service Buffering and Adaptive Backpressure Standard

Enforces strict bounds on Tower Service Buffers and mandates proactive load shedding and concurrency limits in Axum 0.8 middleware stacks. Prevents unbounded request queuing, memory exhaustion, and async runtime thread starvation by ensuring downstream saturation sheds load via cooperative backpressure and explicit HTTP 503/429 status codes.

Blocks:Unbounded Tower buffer layers combined with unconstrained task spawning that exhausts Tokio runtime worker threads during downstream saturation.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-cancellation
backendcritical

FastAPI AnyIO Structured Concurrency & TaskGroup Cancellation Standard

Enforces strict structured concurrency in FastAPI using AnyIO task groups and explicit cancellation scopes bound to client disconnect lifecycles. Prevents orphaned background coroutines, CPU starvation, and connection pool exhaustion by guaranteeing that unhandled client terminations immediately propagate cancellation through hierarchical task trees while shielding critical cleanup routines.

Blocks:Spawning unbound coroutines via asyncio.create_task and ignoring client disconnect events
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-direct-io-buffer-pinning-standard
backendcritical

PostgreSQL 17 Asynchronous Direct I/O and Vectorized Buffer Pinning Standard

Enforces architectural patterns for PostgreSQL 17 asynchronous streaming read pipelines and direct I/O orchestration to eradicate Linux kernel page-cache double-buffering and tail latency spikes. Ensures analytical queries, sequential scans, and bulk ingestion operations leverage vectorized multi-block buffer pinning and bypass OS buffer layers safely.

Blocks:Unbuffered synchronous table scans thrashing OS page cache and inducing severe double-buffering lock contention
Targets:Cursor•Claude•Windsurf•Codex
pgvector-halfvec-hnsw-memory-guardrail
backendcritical

pgvector 0.8+ Halfvec Quantized HNSW Index Memory Footprint Guardrail

Enforces 16-bit scalar quantization (halfvec) on PostgreSQL pgvector 0.8+ HNSW indexes to reduce index working set memory footprint by 50% and prevent out-of-memory (OOM) kernel panics at hyper-scale. Mandates maintenance_work_mem budget bounds during index construction, iterative re-ranking pipelines against full-precision vectors when required by recall SLAs, and strict validation of operator classes.

Blocks:Building Standard 32-bit Float HNSW Indexes at Scale Causing Memory Exhaustion and Node Crashes
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-shared-memory-lifetime-guardrail
backendcritical

Bun 1.2 Native C-FFI ArrayBuffer Shared-Memory Lifetime Guardrail

Enforces deterministic ownership contracts and explicit disposal lifecycles when exchanging zero-copy off-heap buffers between Bun's JavaScriptCore runtime and native C/Rust libraries via bun:ffi. Eliminates use-after-free bugs, dangling pointer reads, and fatal double-free corruptions caused by garbage collection uncoordination.

Blocks:Accessing raw native pointers as untracked ArrayBuffers without deterministic pinning or explicit disposal tracking
Targets:Cursor•Claude•Windsurf•Codex
bun-als-worker-context-preservation
backendcritical

Bun 1.2 AsyncLocalStorage Context Preservation and Tenant Isolation Across Native Worker Threads

Enforces deterministic serialization, boundary transport, and safe re-hydration of AsyncLocalStorage context across Bun 1.2 native Worker threads. Guarantees zero trace context loss and eliminates catastrophic cross-tenant credential or telemetry bleeding caused by mutable worker pools and implicit thread boundaries.

Blocks:Implicit Async Context Assumption Across postMessage Thread Boundaries Causing Telemetry Evaporation and Tenant Impersonation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-stream-pydantic-v2-bounded-memory
backendcritical

FastAPI Async Stream Chunking & Pydantic V2 Memory-Bounded Deserialization

Enforces bounded memory usage during large multipart or streaming uploads in FastAPI by mandating chunked async ingestion and streaming deserialization. Eliminates denial-of-service vulnerabilities caused by unbounded heap allocation from eager `UploadFile.read()` or monolithic `request.body()` validation in Pydantic V2.

Blocks:Monolithic Eager Upload Buffering and Unbounded In-Memory JSON Parsing
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-cancellation-goroutine-lifetime
backendcritical

Go Chi Context-Aware Goroutine Lifetime & Stream Drain Invariant

Enforces deterministic goroutine termination and channel cancellation tied directly to request contexts within Go Chi HTTP services. Guarantees that client-initiated disconnects, QUIC stream resets, and HTTP/3 transport cancellations immediately tear down spawned worker routines and cleanly unblock pending channel transmissions to prevent cumulative memory and descriptor leaks.

Blocks:Unbounded Goroutine Spawning and Unmonitored Channel Operations Leading to Resource Leaks on Aborted HTTP/3 Streams
Targets:Cursor•Claude•Windsurf•Codex
pg17-streaming-io-failover-slot-sync
backendcritical

Postgres 17 Streaming I/O Optimization and Native Failover Slot Synchronization

Mandates PostgreSQL 17 native logical replication failover slot synchronization and streaming I/O engine configuration for cross-region distributed topologies. Guarantees zero data loss and sub-second cutover by strictly enforcing synchronized_standby_slots, failover-enabled logical slots, and streaming I/O buffer invariants.

Blocks:Unsynchronized Logical Replication Slots and Unbounded I/O Inducing Data Loss During Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
go-124-synctest-virtual-clock-concurrency-invariant
backendcritical

Go 1.24 synctest Virtual Clock Concurrency Verification Invariant

Mandates that all multi-goroutine state machines, backoff retries, and lock contention pathways undergo deterministic virtual clock verification via Go 1.24 testing/synctest bubbles prior to release. Prohibits wall-clock time.Sleep synchronization in concurrent tests, enforcing instant simulated time advancement and provable race/deadlock isolation.

Blocks:Flaky Wall-Clock Sleep and Arbitrary Threshold Waiting in Concurrent State Testing
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-tcp-reuseport-handoff-standard
backendcritical

Bun 1.2 Zero-Copy TCP Socket Re-Binding and SO_REUSEPORT Handoff Standard

Mandates kernel-level SO_REUSEPORT socket configuration and zero-copy TCP buffer lifecycles in Bun 1.2 microservices during rolling deployments. Prevents TCP reset (RST) spikes, port-binding contention, and in-flight zero-copy buffer eviction during blue/green process replacements. Enforces non-destructive socket drainage and strict dual-process overlap until health-probe convergence.

Blocks:EADDRINUSE collisions and abruptly dropped TCP connections from premature teardown without SO_REUSEPORT socket handoffs.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-failover-slot-invariants
backendcritical

Postgres 17 Streaming I/O & Failover Slot Invariants

Enforces deterministic replication slot failover synchronization and vectorized streaming I/O bounds in PostgreSQL 17 topologies. Prevents unbounded WAL retention spirals, logical subscriber invalidation across node promotions, and unthrottled streaming read/write saturation during zero-downtime cluster transitions.

Blocks:Unsynchronized Logical Slots and Unbounded WAL Retention Leading to Cascading Cluster Exhaustion on Failover
Targets:Cursor•Claude•Windsurf•Codex
bun-native-socket-zero-copy-simd-deserialization
backendcritical

Bun 1.2 Native Socket Zero-Copy SIMD Deserialization & Buffer Lifecycle Invariant

Enforces strict native ArrayBuffer lifecycle pooling and deterministic zero-copy subarray slicing within Bun.listen TCP sockets. Prohibits implicit TypedArray and Node.js Buffer allocations in high-throughput hot paths to eliminate JavaScriptCore heap fragmentation and optimize SIMD-accelerated deserialization.

Blocks:Transient Buffer Allocations, Escaping Chunk Slices, and Desynchronized Memory Lifecycles Under Native TCP Streaming
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydanticv2-asyncio-offloading-standard
backendcritical

FastAPI & Pydantic V2 Non-Blocking Rust Bridge & Event-Loop Thread-Pool Offloading

Enforces non-blocking asyncio thread-pool offloading during dense synchronous Pydantic V2 Rust-backed schema validation and serialization in high-throughput FastAPI endpoints. While Pydantic V2 core (`pydantic-core`) is compiled in Rust, its execution runs synchronously on Python's GIL-bound main OS thread, causing catastrophic event-loop starvation when processing multi-megabyte payloads or large collections. All CPU-bound validation and transformation pipelines must explicitly dispatch to worker thread pools via `asyncio.to_thread` or Starlette background worker primitives.

Blocks:Executing Synchronous Pydantic V2 Rust Deserialization In-Band Inside Async FastAPI Route Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-multi-worker-zero-copy-http-invariants
backendcritical

Bun 1.2 Multi-Worker Clustering and Zero-Copy HTTP Invariants

Enforces Linux SO_REUSEPORT kernel socket load balancing and strict zero-copy ArrayBuffer transfer semantics across Bun workers. Eliminates single-threaded event-loop starvation, V8/JSC structured-clone serialization overhead, and garbage collection pauses under multi-gigabit HTTP throughput.

Blocks:Monolithic Event-Loop Saturation via Single-Process Bun.serve and IPC JSON Serialization
Targets:Cursor•Claude•Windsurf•Codex
postgres17-pgvector-direct-io-memory-guardrails
backendcritical

PostgreSQL 17 Streaming Direct I/O and pgvector Buffer Memory Invariants

Enforces memory residency invariants, PostgreSQL 17 Direct I/O parameters, and pg_prewarm buffer management for pgvector workloads. Prevents HNSW vector index node eviction and kernel page cache double-buffering during high-throughput semantic searches.

Blocks:Unbounded HNSW Graph Traversal and Missing Buffer Pinning Causing Disk Thrashing and P99 Vector Latency Spikes
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-sqlalchemy-pool-lifecycle
backendcritical

FastAPI Async SQLAlchemy 2.0 Connection Pool Lifecycle Invariants

Enforces strict scope boundaries and deterministic cleanup for SQLAlchemy 2.0 AsyncSession lifecycles within FastAPI applications. Prevents connection pool starvation, context variable bleeding, and orphaned connection checkouts across concurrent TaskGroups and streaming responses. Mandates explicit session scoping per concurrency unit and forbids leaking AsyncSession instances across async generator boundaries.

Blocks:Orphaned connection pool checkout and deadlock via unclosed async generators and shared AsyncSession instances across TaskGroups
Targets:Cursor•Claude•Windsurf•Codex
bun-isolated-worker-sandboxing-cgroups
backendcritical

Bun 1.2 Isolated Worker Sandboxing & Cgroup Resource Boundaries

Mandates strict resource isolation, deterministic memory limits, and preemptive lifecycle recycling when executing untrusted multitenant workloads in Bun 1.2+. Requires pairing native Bun Workers or child processes with Linux cgroups v2 boundary constraints, strict RSS/heap inspection, and hard abort timeouts to prevent noisy-neighbor starvation and host process OOM panics.

Blocks:Unbounded Native Worker Spawning Without Cgroup Jails or Heap Watchdogs
Targets:Cursor•Claude•Windsurf•Codex
temporal-go-workflow-determinism-replay-guardrails
backendcritical

Temporal Go SDK Workflow Determinism, Side-Effect Isolation, and Safe Replay Versioning

Enforces absolute determinism and side-effect isolation within Temporal Go workflow definitions to prevent NonDeterministicWorkflowError panics during event history replays. Mandates the use of Temporal-encapsulated primitives (workflow.Now, workflow.Sleep, workflow.Go, workflow.Channel) and strict change-management versioning via workflow.GetVersion across rolling cluster deployments.

Blocks:Invoking Non-Deterministic Native Primitives and Mutating Orchestration Graph Without workflow.GetVersion Migration Barriers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-structured-concurrency
backendcritical

FastAPI & AnyIO TaskGroup Structured Concurrency Guardrail

Enforces strict structured concurrency in FastAPI request lifecycles using AnyIO TaskGroups to prevent orphaned child coroutines and leaked resources. Mandates that all concurrent fan-out operations remain bound to the request scope, ensuring immediate and clean cancellation cascading when a client disconnects or an upstream timeout occurs.

Blocks:Unbounded Fire-and-Forget asyncio.create_task Spawning Zombie Routines on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-sse-ws-graceful-draining-sigterm
backendcritical

Axum Tokio In-Flight SSE & WebSocket Deterministic Channel Draining on SIGTERM

Long-lived HTTP streaming (SSE) and WebSocket connections in Axum must not rely solely on default hyper/axum graceful shutdown hooks, which stall indefinitely on open streams. Production services must coordinate Kubernetes SIGTERM teardown using CancellationToken hierarchies and TaskTracker primitives to stop ingress, flush buffered channel frames, dispatch WS 1001 (Going Away) close handshakes or SSE terminal events, and deterministically bound task draining before pod eviction.

Blocks:Leaking Open Streams Across Container Teardown Causing Hard SIGKILLs and Truncated In-Flight Payloads
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-streaming-ingestion
backendcritical

Postgres 17 JSON_TABLE Streaming Ingestion with Memory-Constrained Temp Buffers

Enforces SQL/JSON standard JSON_TABLE projections and strict transactional memory boundaries (work_mem and temp_buffers) for high-throughput JSON document ingestion in Postgres 17. Eliminates client-side V8 heap exhaustion and Postgres backend palloc OOM spikes while preventing intermediate staging tables from evicting hot pages in shared_buffers.

Blocks:Client-Side In-Memory Deserialization and jsonb_to_recordset Causing Postgres Backend OOM and Shared Buffer Churn
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-in-memory-partitioning-guardrail
backendcritical

Postgres 17 pgvector HNSW Working-Set In-Memory Partitioning and Buffer Isolation

Enforces strict temporal or categorical range-partitioning on pgvector tables with separate HNSW index builds per partition. Prevents catastrophic Postgres shared buffer cache thrashing and kernel page I/O stalls by isolating vector similarity searches exclusively to memory-fit partitions, backed by pg_prewarm and partition pruning invariants.

Blocks:Monolithic pgvector Table HNSW Indexing Causing Shared Buffer Cache Thrashing and Global IO Stalls
Targets:Cursor•Claude•Windsurf•Codex
go-slog-context-baggage-chi-goroutine-leak-prevention
backendcritical

Go 1.24 slog Trace Baggage Propagation and Detached Goroutine Safety in Chi Handlers

Enforces immutable W3C trace and baggage propagation through Go 1.24 structured logging (log/slog) across multiplexed Chi router pipelines. Mandates the use of context.WithoutCancel with supervised asynchronous task handoffs to eliminate orphan goroutine memory leaks and broken distributed trace lineages caused by premature HTTP request context termination.

Blocks:Firing Naked Goroutines with r.Context() or context.Background() in HTTP Handlers Leading to Silent Context Canceled Aborts and Severed Distributed Traces
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-generator-stream-teardown-guardrail
backendcritical

Deterministic Teardown for Dependency-Injected Async Generators in Streaming Endpoints

Enforces deterministic release of sockets, transactions, and telemetry spans yielded by FastAPI async generator dependencies during client disconnects or ASGI stream cancellations. Because Starlette StreamingResponse teardowns occur outside the immediate task context upon asyncio.CancelledError, generator dependencies must guarantee idempotency and shield finalization blocks from premature task death.

Blocks:Resource Leakage via Abrupt ASGI Cancellation in Dependency-Injected Streaming Generators
Targets:Cursor•Claude•Windsurf•Codex
fastapi-threadpool-starvation-contextvar-propagation
backendcritical

FastAPI Blocking Worker Threadpool Isolation & ContextVar Telemetry Propagation

Enforces strict isolation of blocking synchronous dependencies onto dedicated, capacity-bounded worker pools to prevent event loop and default AnyIO threadpool starvation. Guarantees deterministic propagation of contextvars (e.g., OpenTelemetry spans, tenant IDs, correlation IDs) across asyncio-to-thread boundaries without state leaking or dropping.

Blocks:Executing blocking synchronous operations inside async def handlers or offloading to raw executors that drop ContextVar state and exhaust global worker threadpools.
Targets:Cursor•Claude•Windsurf•Codex
postgres17-logical-failover-slot-sync-invariants
backendcritical

PostgreSQL 17 Failover Slot Synchronization & Logical Outbox Idempotency

Enforces strict failover synchronization invariants for PostgreSQL 17 logical replication slots across HA clusters. Mandates the use of 'failover = true' on primary publication slots, coordinated pg_sync_replication_slots() synchronization on standbys, and consumer-side deterministic LSN/transaction-ID deduplication to prevent message replay storms and outbox corruption following cluster promotion.

Blocks:Unsynchronized Logical Slots and Non-Idempotent Outbox Consumption Trigger Massive Data Duplication on Promotion
Targets:Cursor•Claude•Windsurf•Codex
hyper-v1-h3-zero-copy-dynamic-flow-control
backendcritical

Hyper 1.0 Zero-Copy HTTP/3 Dynamic Flow Control Framing Architecture

Mandates zero-copy chunk framing and dynamic QUIC flow control orchestration across Hyper 1.0 and HTTP/3 streaming pipelines. Eliminates socket buffer amplification, stream starvation, and head-of-line blocking by propagating transport-level backpressure directly into frame encoders without intermediate vector allocations.

Blocks:Naive Vector Buffering and Unbounded Stream Spooling Leading to Bufferbloat and Out-of-Memory Cascade During QUIC Congestion
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-sync-postgresql-17-lo-496
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization Standard

Enforces strict failover slot synchronization and standby confirmation protocol introduced in PostgreSQL 17 for zero-data-loss CDC architectures. Mandates synchronized slots on physical standbys and synchronized subscription failovers to prevent duplicate downstream ingestion and uncoordinated LSN rewind during primary node failover events.

Blocks:Unsynchronized Logical Slots and Uncoordinated Standby Promotion Causing CDC Replay and Downstream Poisoning
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-cancellation-io-timeout-standard
backendcritical

Go Chi Structured Context Cancellation and Downstream IO Deadline Standard

Enforces deterministic lifecycle binding between inbound HTTP requests in Go Chi routers and all downstream database, RPC, and goroutine operations. Prevents resource exhaustion, connection pool starvation, and runaway zombie computations by ensuring that client disconnections and middleware deadlines strictly propagate through request contexts.

Blocks:Orphaned Execution via context.Background() and Unchecked HTTP Disconnection
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-free-threaded-concurrency
backendcritical

FastAPI Python 3.13 Free-Threaded (PEP 703) Thread-Safe State Mutations

Enforces strict synchronization and memory safety when running FastAPI under Python 3.13t free-threaded mode (GIL disabled). Eliminates implicit reliance on the Global Interpreter Lock for atomic mutations across shared in-memory caches, singletons, app.state, and unverified C-extensions executing on multicore thread pools.

Blocks:Unsynchronized Global/Module State Mutations and Non-Thread-Safe C-Extension Execution Under Disabled GIL
Targets:Cursor•Claude•Windsurf•Codex
go-chi-otel-goroutine-context-propagation
backendcritical

Deterministic OpenTelemetry Context Propagation Across Goroutines in Go Chi

Enforces strict context propagation across asynchronous goroutine boundaries within Go Chi HTTP services. Passing the raw request context directly to fire-and-forget goroutines causes context cancellation upon HTTP handler return, while spinning up goroutines with context.Background() severs trace lineages and drops baggage. Engineers must explicitly detach cancellation while propagating trace and baggage metadata, or derive child contexts from context.WithoutCancel.

Blocks:Spawning Asynchronous Goroutines with Direct HTTP Request Context or Blank context.Background()
Targets:Cursor•Claude•Windsurf•Codex
pg17-cdc-failover-slot-sync-production-standard
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization for Zero-Data-Loss CDC

Enforces PostgreSQL 17 native failover-enabled logical replication slots (`failover = true`) and primary standby synchronization (`synchronized_standby_slots`). This guarantees logical replication slots persist across HA failovers, preventing CDC stream destruction, missing change events, and catastrophic rewind loops.

Blocks:Provisioning Unsynced Logical Replication Slots That Disappear or Desynchronize During HA Failover
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tokio-cancellation-safe-handler-standard
backendcritical

Axum 0.8 Tokio Cancellation-Safe Async Handler Standard

Enforces strict cancellation-safety invariants across Axum 0.8 HTTP handlers and Tokio async operations. Prevents orphan DB states, partial buffer flushes, and socket pool exhaustion when client connections terminate early or tokio::select! branches drop incomplete futures. Requires critical business mutations and database transactions to run within detached supervisor tasks or atomic linear sequences insulated from client transport lifecycle.

Blocks:Running Non-Cancellation-Safe Database and External Mutations Directly in Client-Bound Tokio Futures
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-sync-postgresql-17-lo-730
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization Invariants

Enforces deterministic configuration and client-side failover guards for PostgreSQL 17 synchronized logical replication slots. Prevents silent data stream dropouts, unbounded WAL accumulation, and duplicate event ingestion during physical standby promotion across multi-region HA clusters. Mandates failover-enabled slot creation, primary synchronized_standby_slots gating, and strict post-promotion LSN boundary reconciliation.

Blocks:Unsynchronized Logical Slot Provisioning and Blind Consumer Reconnection During Physical Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-backpressure-drainage-policy
backendcritical

Bun 1.2 Native WebSocket Hibernation & Backpressure Drainage Policy

Enforces Bun 1.2 native WebSocket server invariants by delegating idle connection state to the native C++ event loop via WebSocket Hibernation and strictly handling TCP backpressure during packet transmission. Prevents V8 heap exhaustion and silent message dropping under high-concurrency loads (100k+ concurrent connections) by forbidding JavaScript closure retention on socket instances and requiring drain-driven writes.

Blocks:Retaining JavaScript WebSocket References in Userland State and Ignoring ws.send() Backpressure Return Codes
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-afterfunc-resource-finalization
backendcritical

Go Chi context.AfterFunc HTTP/2 Resource Finalization & Leak Prevention

Enforces deterministic resource finalization and external socket termination in Go Chi handlers using Go 1.21+ context.AfterFunc. Eliminates orphan watcher goroutines while ensuring immediate, non-blocking teardown of downstream TCP/gRPC connections upon HTTP/2 client disconnects (RST_STREAM).

Blocks:Spawning dedicated watchdog goroutines or failing to deregister context cancellation hooks for long-lived sockets
Targets:Cursor•Claude•Windsurf•Codex
bun-atomics-sharedarraybuffer-concurrency-standard
backendcritical

Bun 1.2 Atomics & SharedArrayBuffer Inter-Worker Concurrency Standard

Enforces deterministic, lock-free inter-worker synchronization using SharedArrayBuffer and the Atomics API within Bun 1.2 runtimes. Prevents main event-loop stalls, data races, and torn reads/writes across native Worker threads under heavy compute loads. Mandates explicit memory barriers, aligned typed views, and non-blocking wait/notify patterns on main threads.

Blocks:Unsynchronized SharedArrayBuffer mutations and blocking Atomics.wait on the main worker event loop
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-http2-goaway-graceful-draining-standard
backendcritical

Rust Axum HTTP/2 GOAWAY Graceful Connection Draining Standard

Enforces RFC 9113 compliant HTTP/2 GOAWAY frame sequencing and deterministic stream draining in Rust Axum microservices. Guarantees zero dropped in-flight multiplexed requests and clean client reconnection signaling during rolling blue/green deployments and pod evictions.

Blocks:Naive Server Termination Dropping In-Flight HTTP/2 Streams via Premature TCP RST/FIN
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-generator-backpressure-pydantic-v2-memory-invariant
backendcritical

FastAPI Async Generator Backpressure & Pydantic V2 Memory Invariant

Enforces strict backpressure handling and zero-accumulation memory bounds for Server-Sent Events (SSE) and chunked binary streams in FastAPI. Prevents unbounded heap growth and event loop starvation caused by unconstrained buffer accumulation, eager Pydantic V2 collection materialization, and missed client disconnection signals.

Blocks:Eager model collection materialization and unbounded queueing during SSE/chunked response streaming.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-streaming-io-buffer-boundary
backendcritical

Postgres 17 Asynchronous Streaming I/O Buffer Allocation Boundary

Enforces strict session-level buffer allocation and asynchronous streaming I/O bounds for vector index operations in PostgreSQL 17. Eliminates shared buffer lock contention (LWLock:buffer_mapping/buffer_content) and OS page cache thrashing under concurrent high-throughput analytic scans by routing queries to dedicated read pools with isolated RingBuffer strategies and configured prefetch limits.

Blocks:Executing Concurrent Unbounded Vector Scans in Default OLTP Shared Buffers Causing Cache Eviction and LWLock Contention
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-concurrency-limiter-thread-pool-standard
backendcritical

FastAPI AnyIO Concurrency Limiter and Thread Pool Offload Standard

Enforces non-blocking execution boundaries for synchronous Python compute and legacy I/O routines within FastAPI applications. Mandates the explicit configuration of AnyIO thread pool capacity limiters and prevents event loop thread starvation by offloading blocking operations via isolated, token-bounded thread pools.

Blocks:Executing Blocking Sync Calls Inside Async Def or Using Unbounded Thread Pools That Exhaust System Resources
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-sync-guardrail
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization Guardrail

Enforces failover-safe logical replication and Change Data Capture (CDC) streaming pipelines on PostgreSQL 17+. Mandates failover-enabled logical slots, primary synchronized_standby_slots barrier coordination, and standby slot synchronization to prevent missing WAL segment errors, LSN drift, and CDC corruption during physical replica promotions.

Blocks:Unsynchronized Logical Slots on HA Clusters Triggering WAL Starvation and CDC Corruption on Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-streaming-backpressure-watermark
backendcritical

Bun 1.2 Native WebSocket Streaming Backpressure and Buffer Watermark Guardrail

Mandates explicit backpressure management, low-level buffer watermark checks, and drain lifecycle coordination for native Bun 1.2 WebSocket streaming. Prevents unbounded heap growth and event-loop lag caused by slow consumers during high-throughput live broadcasts.

Blocks:Unchecked Fire-and-Forget ws.send() Loops Saturating Native Memory Without Drain Handling
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-cancellation-safety-drain
backendcritical

Axum 0.8 Tower Async Cancellation Safety & Graceful Drain Standard

Enforces asynchronous cancellation safety and deterministic graceful drain semantics across Axum 0.8 and Tower service layers. Eliminates dropped in-flight HTTP/3 QUIC streams and dangling database transactions during Kubernetes rolling updates by decoupling transactional side effects from raw client drop lifecycles.

Blocks:Dangling Database Transactions and Abrupt QUIC Stream Termination via Unsafe tokio::select! in Axum Handlers
Targets:Cursor•Claude•Windsurf•Codex
drizzle-pg-abortsignal-cancellation-standard
backendcritical

Drizzle ORM Distributed AbortSignal & PostgreSQL Backend Cancellation Invariant

Terminates active PostgreSQL backend queries when incoming client HTTP requests or distributed trace deadlines abort. Merely rejecting TypeScript promises leaves database workers executing orphan queries (ghost queries), causing thread pool starvation and unreleased transactional table locks.

Blocks:Detached Client Aborts Spawning Ghost PostgreSQL Transactions via Unbound Drizzle Promises
Targets:Cursor•Claude•Windsurf•Codex
pg17-bounded-cdc-replication-slots-guardrail
backendcritical

PostgreSQL 17 Streaming I/O and Bounded CDC Replication Slot Architecture

Enforces deterministic boundaries on logical decoding replication slots and leverages PostgreSQL 17 streaming I/O capabilities to eliminate unconstrained Write-Ahead Log (WAL) disk exhaustion. Prevents transaction catalog bloat and replica stalls by enforcing hard WAL retention ceilings, proactive slot invalidation handlers, and non-blocking asynchronous WAL consumption.

Blocks:Unbounded Logical Replication Slots Causing WAL Disk Saturation and Engine Deadlock
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-backpressure-adaptive-concurrency
backendcritical

Axum 0.8 Deterministic Tower Backpressure and Adaptive Concurrency Limiting

Enforces deterministic tail latency and graceful connection shedding in Axum 0.8 workloads under saturated HTTP/3 and WebSocket conditions. Mandates the correct ordering of Tower middleware to isolate unbuffered TCP/QUIC streams and prevent unbounded task allocation during load spikes. Requires integration of adaptive concurrency limiting algorithms with fast-reject 503 responses before connection handshakes occur.

Blocks:Unbounded Task Spawning and Unordered Tower Layers Inducing Memory Blowup and Latency Cascades
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-zero-copy-transfer-standard
backendcritical

Bun 1.2 Multi-Threaded Worker Zero-Copy Buffer Ownership Standard

Enforces strict transfer list semantics and zero-copy ArrayBuffer ownership handoffs across Bun 1.2 multi-threaded Web Worker isolates. Eliminates multi-gigabyte memory fragmentation, heap cloning thrash, and garbage collection stop-the-world pauses in high-throughput data processing pipelines. Mandates explicit transfer list registration, post-transfer neutered checks, and typed buffer lifecycle management.

Blocks:Implicit Structured Cloning of Large TypedArrays and Shared Memory Leaks Across Worker Isolate Boundaries
Targets:Cursor•Claude•Windsurf•Codex
pg17-json-table-zero-copy-ingestion
backendcritical

PostgreSQL 17 JSON_TABLE Zero-Copy Projection & Plan-Cache Safe Ingestion

Mandates native ANSI SQL/JSON JSON_TABLE projection for high-throughput batch ingestion pipelines on PostgreSQL 17+, completely bypassing Node.js heap allocations and plan-cache invalidation. Eliminates multi-pass jsonb_array_elements / jsonb_to_recordset table-scan overhead by binding payloads to single parameterized JSONB arguments evaluated strictly at the storage engine level.

Blocks:Heap-Bloating In-Memory Batch Transformations and Dynamic Multi-Row SQL Value Construction
Targets:Cursor•Claude•Windsurf•Codex
axum-stream-decompression-bounded-buffer-limits
backendcritical

Axum 0.8 Decompression Zip-Bomb & Bounded Buffer Guardrail

Enforces strict dual-stage bounded limits on wire transfers and decompressed streams in Axum 0.8 applications. Prevents catastrophic memory exhaustion and worker thread panics caused by decompression bombs (zip-bombs) and unmetered HTTP chunked transfer encodings.

Blocks:Unbounded Decompressed Body Collection and Misordered Tower Layers Permitting Zip-Bomb OOM
Targets:Cursor•Claude•Windsurf•Codex
axum-adaptive-concurrency-gradient-load-shedding
backendcritical

Axum 0.8 Adaptive Concurrency & Gradient-Based Dynamic Load Shedding

Enforces gradient-based dynamic concurrency limits and immediate load shedding in Axum 0.8 Tower service pipelines. Static concurrency caps fail catastrophically during un-batched agentic AI bursts due to extreme RTT variance, causing head-of-line queuing, memory bloat, and cascading timeouts across the service mesh.

Blocks:Hardcoded Static Concurrency Limits & Unbounded Buffering Inducing Latency Collapse
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hnsw-wal-fencing-guardrail
backendcritical

PostgreSQL 17 HNSW Vector Index WAL Fencing and Memory Guardrail

Enforces strict session-scoped maintenance_work_mem constraints and replication lag fencing during concurrent pgvector HNSW index builds. Mitigates massive write-ahead log (WAL) amplification and prevents logical/physical replica divergence in high-throughput multi-tenant RAG architectures.

Blocks:Unbounded concurrent HNSW index builds flooding WAL pipelines and desynchronizing database replicas
Targets:Cursor•Claude•Windsurf•Codex
go-arena-allocation-streaming-invariants
backendcritical

Go 1.24 Bounded Arena Allocation Invariants for Streaming Pipelines

Enforces strict bounded memory arena lifecycles across high-throughput streaming JSON and gRPC message ingest pipelines in Go 1.24. Eliminates GC pacing pressure and stop-the-world pauses by isolating deserialization graph allocations to disposable arena segments. Guarantees safety by preventing arena-allocated pointer leaks into long-lived state via explicit egress boundary cloning.

Blocks:Leaking Disposable Arena Pointers to Egress Heaps or Escaping Transient Allocations into Global GC Scope
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-v1-body-cancellation-invariants
backendcritical

Axum/Hyper-v1 Zero-Copy Request Body Cancellation & Memory Invariants

Enforces deterministic socket teardown, zero-copy buffer disposal, and cancellation safety when consuming streaming request bodies in Axum 0.7+ and Hyper 1.x. Prevents worker thread pinning and dangling TCP connections during aborted multipart uploads by enforcing structured drop mechanics and asynchronous backpressure.

Blocks:Buffering multipart payloads or blocking worker threads during stream consumption, bypassing Hyper's cancellation-driven socket reclamation.
Targets:Cursor•Claude•Windsurf•Codex
bun-native-connection-pool-thread-safety-guardrail
backendcritical

Bun 1.2 Native Database Driver & Thread-Local Connection Pool Isolation

Enforces thread-isolated connection pooling and prevents file descriptor corruption in Bun 1.2 runtimes. Native SQLite (bun:sqlite) and Postgres (bun:sql) instances allocate underlying C/Zig memory pointers and OS descriptors that are not safe for cross-worker sharing or concurrent cross-thread mutations. AI agents must enforce strict thread-local connection instantiation or serialize-by-value worker RPC architectures.

Blocks:Sharing Native Database Instances Across Bun Worker Threads Causing FD Corruption and Segfaults
Targets:Cursor•Claude•Windsurf•Codex
axum-cancel-safe-body-extraction-drain-standard
backendcritical

Axum 0.8 Cancel-Safe Body Extraction and Drain Standard

Enforces deterministic cancellation safety and complete HTTP body consumption when processing chunked or multipart streams in Axum 0.8 / Hyper 1.0. Prevents half-open TCP socket leaks, uncollected connection pools, and downstream backpressure deadlocks resulting from client aborts or unhandled error early-returns.

Blocks:Partial body reads and naked select! loops triggering Hyper 1.0 socket exhaustion on early client termination
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-prefetch-isolation
backendcritical

Postgres 17 Direct I/O and Asynchronous Streaming Read Ring Buffer Isolation

Enforces strict isolation of analytical sequential reads from the OLTP shared buffer pool using Postgres 17 streaming read APIs and Direct I/O configurations. Prevents kernel page-cache pollution, double-buffering overhead, and BufferMapping lock contention during bulk data access. Mandates dedicated connection routing and session-scoped streaming ring buffers for high-throughput scans.

Blocks:Executing Unconstrained Bulk Scans Over OLTP Pools Causing Buffer-Pool Lock Contention and Cache Thrashing
Targets:Cursor•Claude•Windsurf•Codex
bun-native-cluster-zero-downtime-reloading
backendcritical

Bun 1.2 Native Cluster Zero-Downtime Hot Reloading and FD Passing

Enforces strict master-worker IPC handshakes, listening socket migration, and atomic connection draining for Bun 1.2 runtimes. Prevents dropped TCP connections and port collisions during rolling zero-downtime deployments by decoupling process lifecycles via Unix domain socket file descriptor passing and graceful HTTP/WebSocket drain signals.

Blocks:Hard-killing Bun worker processes or binding shared SO_REUSEPORT sockets without an atomic IPC drain handshake
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-guardrails
backendcritical

Postgres 17 JSON_TABLE Memory Allocation and Streaming Guardrails

Enforces strict memory boundaries and deterministic path evaluations for Postgres 17 SQL/JSON JSON_TABLE projections. Unbounded wildcard path traversals and unconstrained joins against high-cardinality JSON collections can exhaust backend private work_mem and trigger OOM terminations. All queries utilizing JSON_TABLE must enforce strict path specifications, deterministic error-handling clauses, and localized work_mem ceilings.

Blocks:Unbounded JSON_TABLE Path Projections Inducing Backend OOM via Unconstrained Tuple Materialization
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-zerocopy-deserialization-guards
backendcritical

FastAPI & Pydantic V2 Zero-Copy Deserialization & Strict Memory Guards

Enforces Rust-backed strict validation via Pydantic V2's TypeAdapter directly on raw byte buffers, bypassing intermediate Python dictionary allocations and preventing type coercion vulnerabilities. Mandates hard bounded streaming ingest controls to eliminate memory exhaustion and request tampering on multi-gigabit asynchronous endpoints.

Blocks:Unbounded Intermediate Dict Deserialization and Loose Type Coercion Vulnerability
Targets:Cursor•Claude•Windsurf•Codex
pg17-vectorized-io-workmem-partitioning
backendcritical

Postgres 17 Vectorized Streaming I/O and Tenant WorkMem Quota Partitioning

Postgres 17 introduces vectorized streaming asynchronous sequential read-ahead (AIO) for bulk scans, joins, and aggregates. In multi-tenant environments, unbounded AIO combined with static work_mem permits aggressive analytical scans to monopolize OS page caches and backend execution buffers, resulting in noisy-neighbor starvation. Database client wrappers and transaction orchestrators must enforce dynamic transaction-scoped work_mem caps and bind asynchronous sequential read-ahead buffers strictly to tenant-tier resource profiles before executing analytical workloads.

Blocks:Global Unbounded AIO Read-Ahead with Static WorkMem Inducing Cache Eviction and Multi-Tenant Query Starvation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-memory-arena-request-lifetime-binding
backendcritical

Go Chi Context Memory Arena Allocation & Request-Scoped Lifetime Binding

Enforces strict request-scoped memory arena allocation within Go Chi middleware to eliminate runtime garbage collection overhead during high-throughput microservice traffic spikes. Mandates contiguous arena allocation or reusable byte buffer pools for per-request metadata and strictly forbids persisting arena-allocated pointers beyond the HTTP handler lifetime. Violations result in use-after-free corruption, race conditions across pooled resources, or catastrophic GC pauses from heap escape.

Blocks:Escaping Heap Allocations via Chi Context Value Injection and Arena Pointer Retention Post-Request
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-sync-ha-replication-guardrail
backendcritical

PostgreSQL 17 Logical Replication Slot Failover Synchronization Guardrail

Enforces strict configuration and application-level handling of PostgreSQL 17 failover-enabled logical replication slots across high-availability physical standby promotions. Prevents change-data-capture message loss, silent stream truncation, and uncoordinated LSN regression during unexpected primary node failovers.

Blocks:Unsynchronized Logical Slots Dropping or Replaying Corrupted Data Streams Post-Failover
Targets:Cursor•Claude•Windsurf•Codex
bun-multi-worker-zero-copy-transfer
backendcritical

Bun 1.2 Structured Worker Concurrency and Zero-Copy Buffer Transfer

Enforces strict zero-copy ownership transfer of typed binary memory between Bun 1.2 workers and the main thread, eliminating IPC serialization latency and memory bloat. Mandates explicit transfer lists in postMessage calls and bounds worker lifecycle management to prevent event-loop stalls during CPU-heavy tasks.

Blocks:Structured Clone Heap Stalls and Detached Buffer Race Conditions
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-quic-session-migration-invariants
backendcritical

Go 1.24 Chi HTTP/3 QUIC Resilient Session Migration Architecture

Enforces transport-agnostic authenticated session lifecycles for Go 1.24 Chi HTTP/3 architectures across network transitions. Eliminates socket reset storms and unauthorized session invalidation during cellular and Wi-Fi handoffs through connection ID stability, stateless reset token configuration, and IP-independent RPC context binding.

Blocks:Pinning Session Authentication and RPC Contexts to Ephemeral Socket 4-Tuples Under HTTP/3 QUIC
Targets:Cursor•Claude•Windsurf•Codex
pg17-incremental-backup-block-tracking-invariants
backendcritical

PostgreSQL 17 Incremental Backup & WAL Summarization Invariants

Enforces continuous write-ahead log (WAL) summarization and deterministic block-level delta tracking in PostgreSQL 17 to prevent full-table relation scans during multi-terabyte backups. Eliminates I/O freeze windows and checkpoint spikes by asserting backup manifest chain continuity and validating WAL summary ranges prior to pg_combinebackup execution. Protects high-throughput transactional engines from catastrophic recovery latency and disk bandwidth saturation.

Blocks:Executing Unverified Basebackups or Severing WAL Summarization Chains Leading to Catastrophic Full I/O Re-Scans
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-state-graceful-draining-standard
backendcritical

FastAPI Lifespan State Graceful Draining & Signal Invariance

Enforces deterministic teardown of connection pools and active asynchronous worker tasks within ASGI lifespan contexts during container SIGTERM signals. Prevents abrupt socket termination, unhandled CancelledError leaks, and state corruption across Kubernetes zero-downtime rolling deploys.

Blocks:Premature Resource Destruction and Fire-and-Forget Task Severance in Deprecated Event Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-pointer-ownership-guardrail
backendcritical

Deterministic Bun 1.2 Native FFI Pointer Ownership and Memory Safety Guardrail

Enforces strict pointer lifetime management and explicit foreign heap deallocation semantics when interfacing with native dynamic libraries via Bun 1.2 `bun:ffi`. Prevents use-after-free, unmanaged memory leaks across event loop turns, and V8/JSC garbage collector desynchronization by strictly mandating explicit lifetime wrapping, finalization registration, and asynchronous boundary protection.

Blocks:Escaping Raw FFI Pointers Across Asynchronous Event Loop Ticks Without Explicit Heap Ownership or Finalization
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-lease-concurrency
backendcritical

Deterministic WAL Transaction Leasing for Bun 1.2 Native SQLite

Prevents transient write lock starvation (`SQLITE_BUSY`) and phantom dirty reads across multi-threaded worker pools in Bun 1.2. Mandates explicit busy-timeout configurations, synchronous transaction lease queues with deterministic rollback boundaries, and strict WAL write checkpoint isolation.

Blocks:Ad-Hoc Unsynchronized Write Transactions Causing SQLITE_BUSY Cascades and Unbounded Thread Pool Starvation
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-async-cancellation-stream-isolation
backendcritical

Axum 0.8 Tower Service Async Cancellation Safety and Stream Isolation

Enforces strict cancellation safety and state isolation in Axum 0.8 and Tower services when handling streaming HTTP bodies and chunked client responses. Prevents state corruption, partial distributed commits, and resource leaks caused by Tokio futures being abruptly dropped upon downstream client disconnections.

Blocks:Executing non-atomic multi-step side effects across await points inside cancellable HTTP body streams
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-highwatermark
backendcritical

Bun 1.2 Native WebSocket Backpressure and High-Watermark Drain Management

Enforces strict per-socket buffered amount verification and cooperative backpressure in Bun 1.2 native WebSockets. Mandates drain lifecycle handler implementation and high-watermark boundaries to eliminate unbounded heap growth and process-level OOM crashes during high-throughput message fanouts.

Blocks:Unchecked ws.send() Loop Fanout Leading to Silent Buffer Bloat and Fatal OOM Disruption
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-structured-async-stream-cancellation-guardrail
backendcritical

Axum 0.8 Structured Async Stream Cancellation and Resource Leakage Guardrail

Mandates deterministic cancellation propagation from Axum 0.8 HTTP streaming responses down to database cursors, channel consumers, and Tokio tasks. Prevents orphan background tasks, pinned database connection pools, and memory leaks when clients prematurely disconnect or abort TCP connections.

Blocks:Detached Tokio Spawns and Unchecked Stream Consumers Causing Silent DB Connection Exhaustion on TCP Client Drop
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-http2-goaway-graceful-draining
backendcritical

Axum 0.8 HTTP/2 GOAWAY Graceful Connection Draining Invariant

Guarantees zero-loss rolling updates under orchestrator lifecycle events by enforcing deterministic HTTP/2 GOAWAY frame sequencing and read-side socket draining before orchestrator SIGKILL deadlines. Prevents in-flight request termination, connection reset errors (RST_STREAM/ECONNRESET), and upstream 502 Bad Gateway responses during Kubernetes container retirement.

Blocks:Dropping the server future immediately upon SIGTERM or omitting bounded HTTP/2 connection drain timeouts
Targets:Cursor•Claude•Windsurf•Codex
pg17-parallel-apply-replication-invariant
backendcritical

PostgreSQL 17 Parallel Apply Logical Replication and CDC Invariant Guardrail

Enforces strict configuration and migration invariants for PostgreSQL 17 parallel apply logical replication workers across cross-region subscriber topologies. Guarantees transaction-order serialization without cascading serialization-failure deadlocks or subscriber replication slot unbounded bloat during high-concurrency ingestion. Eliminates single-worker apply bottlenecks while preserving foreign key dependency graph order and cross-table consistency.

Blocks:Applying Unpartitioned Parallel Streaming Apply Without Serialization Order Guardrails or Worker Pool Bounds
Targets:Cursor•Claude•Windsurf•Codex
go-chi-zero-alloc-typed-context-propagation-guardrail
backendcritical

Go Chi Zero-Allocation Typed Context Propagation Standard

Enforces zero-allocation typed context extraction and propagation within high-throughput Go Chi microservices. Prevents severe GC pause spikes and heap fragmentation caused by chaining context.WithValue with boxed primitive or struct values on the HTTP hot path by leveraging pooled pointers and single-key unified state propagation.

Blocks:Heap-Allocating Un-pooled Request State via Chained context.WithValue Invocations
Targets:Cursor•Claude•Windsurf•Codex
fastapi-asgi-streaming-backpressure-cancellation-guardrail
backendcritical

FastAPI ASGI Streaming Backpressure & Cooperative Task Cancellation Guardrail

Enforces strict cooperative cancellation and backpressure propagation between ASGI HTTP client disconnect events and underlying async generator pipelines. Prevents catastrophic worker thread starvation, uncollected generator frames, and phantom compute leaks by polling request disconnect status and handling asyncio.CancelledError during chunk yielding.

Blocks:Silent Async Generator Execution Post-Client Disconnect Leading to Worker Thread Pool Starvation
Targets:Cursor•Claude•Windsurf•Codex
openfga-rebac-cache-consistency-batching
backendcritical

OpenFGA ReBAC Contextual Tuple Caching and Deterministic Batching Invariant

Enforces deterministic batch evaluation and version-consistent contextual tuple caching for OpenFGA relationship-based access control (ReBAC). Eliminates N+1 authorization network hops and prevents authorization bypasses or stale permission grants caused by unversioned cache keys.

Blocks:Sequential Per-Resource OpenFGA Checks with Stale, Unversioned Contextual Tuple Caching
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hnsw-partition-memory-guardrail
backendcritical

Postgres 17 Concurrent HNSW Partitioning and Vector Memory Ceiling Invariant

Prevents query worker and migration runner OOM-kills during high-dimensional vector search on Postgres 17. Guarantees that parallel HNSW index builds on partitioned tables enforce strict session-bounded maintenance memory ceilings and serialized leaf-partition builds, preventing cgroup memory quota exhaustion during concurrent hybrid search workloads.

Blocks:Unbounded parallel HNSW index construction on partitioned tables starving query workers and causing SIGKILL OOMs
Targets:Cursor•Claude•Windsurf•Codex
bun-socket-backpressure-zerocopy-invariant
backendcritical

Bun 1.2 Kernel Socket Backpressure & Zero-Copy WebSocket Stream Standard

Enforces deterministic TCP buffer drainage thresholds and binary chunk recycling across high-throughput Bun WebSocket server connections. Mandates explicit inspection of ws.getBufferedAmount() combined with reactive drain callbacks to prevent native kernel-buffer saturation and process-level out-of-memory cascading faults.

Blocks:Unbounded WebSocket chunk streaming and ad-hoc Buffer allocations without socket drainage coordination causing native heap runaway.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-taskgroup-standard
backendcritical

FastAPI AnyIO Structured Concurrency & TaskGroup Invariant Standard

Enforces strict structured concurrency in FastAPI route handlers and domain services via AnyIO TaskGroups and deterministic cancellation scopes. Prohibits fire-and-forget background asyncio tasks that cause silent task abandonment, orphan database sessions, and connection pool exhaustion.

Blocks:Orphan Asyncio Tasks Leaking Database Connection Pools and Silently Swallowing Failures
Targets:Cursor•Claude•Windsurf•Codex
temporal-durable-execution-determinism-guardrail
backendcritical

Temporal Durable Execution Determinism and Virtual Clock Invariant

Enforces strict execution determinism across Temporal workflow definitions to prevent replay mismatch panics during worker redeployments. Prohibits native wall-clock queries, unseeded random number generation, raw socket/HTTP I/O, native timers, and unversioned control flow modifications within workflow contexts.

Blocks:Leaking Native Wall Clocks, Unseeded Randomness, or Direct Network I/O Inside Temporal Workflows
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-async-cancellation-safety-invariant
backendcritical

Axum 0.8 & Tower Async Cancellation Safety Invariant

Enforces strict async cancellation safety across Axum 0.8 handlers and Tower middleware layers. In Tokio runtimes, premature client disconnects drop the request future synchronously at any `.await` boundary, leading to severed transactions, half-applied state transitions, and connection starvation unless atomic mutations are shielded or decoupled.

Blocks:Executing Non-Atomic Multi-Step Mutations Inside Ephemeral Request Futures Subject to Client Disconnect Drops
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-memory-adaptive-hash-join-governor
backendcritical

Postgres 17 Memory-Adaptive Hash Join Concurrency Governor Guardrail

Enforces deterministic memory-bounded query execution for PostgreSQL 17 multi-node hash joins during analytical concurrency bursts. Prevents server-wide out-of-memory (OOM) events and cascade temp-file I/O thrashing by dynamically computing and setting transaction-local work_mem ceilings governed by active join concurrency tokens.

Blocks:Unbounded static work_mem allocation and uncoordinated parallel hash join execution under high analytical concurrency
Targets:Cursor•Claude•Windsurf•Codex
go-coroutine-range-over-func-leak-prevention
backendcritical

Go 1.24 Coroutine Pull-Iterator Resource Leak and Panic Unwinding Standard

Enforces strict lifecycle management and deterministic cleanup for Go 1.24 range-over-func push-to-pull iterator conversions (`iter.Pull` and `iter.Pull2`). Guarantees that pull-iterator coroutines terminate predictably upon early consumer termination, panic propagation, or context cancellation without leaking coroutine goroutines or underlying OS/database resources.

Blocks:Orphaned Coroutine Goroutines and Leaked File/Connection Handles via Discarded iter.Pull Stop Functions
Targets:Cursor•Claude•Windsurf•Codex
temporal-workflow-determinism-replay-invariants
backendcritical

Temporal.io Deterministic Workflow Execution & Replay Safety Guardrails

Enforces strict determinism constraints within Temporal workflow execution contexts to prevent non-deterministic history corruption during workflow replays. Mandates isolated side-effect delegation to Temporal Activities, deterministic runtime primitives, and versioned code-path branching via patching APIs for long-running orchestration sagas.

Blocks:Executing Non-Deterministic System Calls, Native Timers, or Unversioned Logic Mutations in Workflow Scopes
Targets:Cursor•Claude•Windsurf•Codex
go-range-over-func-pull-iterator-cleanup-guardrail
backendcritical

Go 1.24 Range-Over-Func Pull Iterator Defer Cleanup and Heap Leak Elimination

Mandates strict lifecycle management and explicit cleanup semantics for Go 1.24 range-over-func pull iterators created via iter.Pull and iter.Pull2. Eliminates coroutine runtime leaks, goroutine starvation, and high-frequency heap escapes during early breaks or consumer errors in streaming ingest engines.

Blocks:Discarding Pull Iterator Stop Closures Leading to Goroutine and Coroutine Resource Starvation
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-sync-standard
backendcritical

PostgreSQL 17 Failover-Safe Logical Replication Slot Synchronization

Enforces mandatory failover slot synchronization and physical standby synchronization boundaries for logical replication slots in PostgreSQL 17 topologies. Eliminates downstream CDC data loss, silent event skips, and replication lag panics during physical replica promotion by ensuring logical slots are synchronized to physical standbys with sync_replication_slots enabled. Prevents consumer consumption ahead of physical standby persistence.

Blocks:Creating unmanaged logical replication slots without failover sync or synchronized_standby_slots tracking
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-token-cascading-abort-invariant
backendcritical

Axum 0.8 Tokio CancellationToken Request Tree Cascading Abort Invariant

Enforces deterministic cancellation trees in Axum 0.8 applications by binding Tokio CancellationToken hierarchies to incoming HTTP request lifecycles. Prevents orphaned CPU-intensive operations, thread starvation, and dangling uncommitted database transactions when clients disconnect prematurely.

Blocks:Detached Workflows and Zombie Database Transactions on Client TCP Drop
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-sync-wal-retention-guardrail
backendcritical

PostgreSQL 17 Failover Slot Synchronization & WAL Retention Guardrail

Enforces PostgreSQL 17 native logical replication slot synchronization on physical standbys alongside deterministic max_slot_wal_keep_size thresholds. Guarantees zero downstream logical subscriber rebuilds upon regional primary promotion while strictly preventing primary cluster storage exhaustion from disconnected slots.

Blocks:Unsynchronized Standby Slots with Unbounded WAL Retention Crashing Disks During Failovers
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-zero-allocation-batch-prepared-cache
backendcritical

Drizzle ORM 0.38 Zero-Allocation Batch Prepared Statement Cache Invariant

Enforces static module-level prepared statement instantiation and deterministic placeholder binding in Drizzle ORM 0.38 on edge runtimes. Prevents dynamic query compilation, AST regeneration, and ephemeral statement allocations inside hot ingestion loops to eliminate V8 garbage collection pauses.

Blocks:Dynamic In-Loop Query Compilation and Ephemeral Prepared Statements Inducing Heap Fragmentation and Isolate GC Spikes
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydanticv2-strict-anyio-concurrency-budgets
backendcritical

FastAPI Pydantic V2 Strict Mode & AnyIO Concurrency Budgets

Enforces Pydantic V2 strict validation across all request DTOs to eliminate silent type coercion vulnerabilities while mandating explicit AnyIO CapacityLimiter tokens for offloaded synchronous work to prevent threadpool saturation and event loop starvation under load.

Blocks:Silent Data Mutation via Lax Pydantic Coercion Combined with Unbounded AnyIO Threadpool Saturation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-propagation-streaming-guardrails
backendcritical

Go Chi Context Propagation & Zero-Leak HTTP Streaming Guardrails

Enforces strict request context tree propagation and deterministic connection resource cleanup in Go Chi HTTP servers. Mandates explicit cancellation listener loops and connection-hijack buffer draining to eliminate goroutine leaks, socket exhaustion, and zombie background workers in high-throughput Server-Sent Events (SSE) and WebSocket endpoints.

Blocks:Orphaned Goroutines and Leaked File Descriptors via Detached Contexts and Unmonitored HTTP Streaming Loops
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-graceful-connection-draining-barrier
backendcritical

Axum 0.8 Deterministic HTTP/2 Graceful Draining Barrier

Enforces a two-phase connection draining barrier for Axum 0.8 and Tokio servers during orchestrated rolling deployments. Prevents client-side TCP resets and dropped HTTP/2 multiplexed streams by ensuring network mesh/ingress deregistration delays precede server shutdown, followed by deterministic HTTP/2 GOAWAY frame emission and in-flight request draining.

Blocks:Immediate Process Termination and Abrupt Socket Drops During Ingress Rollouts
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-dynamic-backpressure-autopacing
backendcritical

Bun 1.2 WebSocket Dynamic Backpressure Auto-Pacing Standard

Enforces strict socket-level backpressure management during high-throughput WebSocket broadcast and fan-out operations in Bun 1.2+. Eliminates unconstrained heap memory growth and OOM crashes by monitoring `ws.getBufferedAmount()` and suspending publisher pipelines until the `drain` event clears the kernel network buffer.

Blocks:Unchecked Fire-and-Forget Broadcast Loops Causing Heap Exhaustion Under Slow Clients
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-vectorized-projection-guardrail
backendcritical

Postgres 17 JSON_TABLE Projection & Nested Path Bounded Guardrail

Enforces strict structural constraints, index-backed predicate pushdowns, and nesting boundaries on PostgreSQL 17 JSON_TABLE queries. Unbounded JSON path traversals and unindexed JSON_TABLE expansions cause quadratic memory expansion in work_mem and disk spillages on multi-gigabyte JSONB datasets. All transformations must combine jsonb_path_ops index filtering with bounded path projections to preserve query engine throughput.

Blocks:Unbounded JSON_TABLE evaluation scanning raw JSONB without indexed pushdown and Cartesian sibling nesting
Targets:Cursor•Claude•Windsurf•Codex
tokio-cooperative-scheduling-task-budgeting
backendcritical

Tokio 1.4x Cooperative Scheduling Task Budgeting & Worker Thread Isolation

Prevents async runtime worker pool starvation under high concurrency by enforcing cooperative yielding budgets in compute-heavy async loops and isolating synchronous, blocking, or CPU-intensive execution into dedicated blocking thread pools. Mandates explicit use of tokio::task::yield_now, spawn_blocking, or rayon offloading to uphold sub-millisecond tail latencies.

Blocks:Starving Tokio Worker Threads with Unbudgeted CPU Loops and Synchronous Blocking Calls
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-quic-graceful-draining
backendcritical

Go Chi v5 Deterministic HTTP/3 QUIC Dual-Stack Graceful Draining Standard

Enforces deterministic graceful shutdown orchestration for dual-stack HTTP/1.1+HTTP/2 (TCP) and HTTP/3 (QUIC/UDP) Chi v5 microservices. Mandates emission of QUIC GOAWAY frames and closure of early listeners while orchestrating bounded bidirectional stream completion to prevent dropped in-flight UDP RPCs during zero-downtime rolling deployments.

Blocks:Hard Socket Termination of UDP Listeners Dropping In-Flight QUIC Streams During Container SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
bun-cluster-websocket-backpressure-bounding
backendcritical

Bun 1.2 Clustered WebSocket Native Backpressure & Memory Bounding Guardrail

Enforces strict native backpressure monitoring and memory bounding across multi-core Bun 1.2 WebSocket workers running with SO_REUSEPORT. Mandates active buffered-amount validation, drain hook orchestration, and explicit slow-consumer eviction to eliminate cascading Out-Of-Memory (OOM) worker panics during broadcast surges.

Blocks:Unbounded Direct Broadcast Loops Silently Buffering Payload Queues to Worker OOM Termination
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-connection-migration-context-cancellation-invariants
backendcritical

Go Chi HTTP/3 Connection Migration and Context Cancellation Propagation

Guarantees immediate propagation of cancellation signals and QUIC stream teardowns down to database transactions and worker routines during rapid mobile network migrations. Enforces strict binding to r.Context() and prevents detached context leakage when underlying HTTP/3 UDP 4-tuples shift or fail path validation.

Blocks:Decoupled Context Lifecycles and Goroutine Leaks During QUIC Stream Resets and Network Handoffs
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-data-replay-defense
backendcritical

Go Chi HTTP/3 0-RTT Replay Defense & Idempotency Enforcement

HTTP/3 and TLS 1.3 0-RTT connection resumption permits early data transmission that is inherently vulnerable to network-level replay attacks. In Go Chi microservices executing financial transactions or state mutations, middleware must intercept non-safe requests containing the 'Early-Data: 1' header or QUIC early-data context and reject them with HTTP 425 (Too Early), forcing the client to retransmit after the full cryptographic handshake completes.

Blocks:Executing state-altering or financial handlers during HTTP/3 0-RTT early data without HTTP 425 rejection or distributed idempotency fencing.
Targets:Cursor•Claude•Windsurf•Codex
pg17-async-io-hnsw-streaming-guardrail
backendcritical

PostgreSQL 17 Asynchronous Streaming I/O and pgvector HNSW Invariant Standard

Enforces session-level streaming asynchronous I/O and dedicated buffer management for high-concurrency HNSW vector similarity queries in PostgreSQL 17. Eliminates synchronous prefetch stalls and OS page-cache thrashing by coupling io_combine_limit and io_uring with pre-warmed, memory-bounded pgvector index scans. Prevents tail-latency degradation and keeps p99 vector retrieval sub-10ms across concurrent tenant workloads.

Blocks:Unbounded Synchronous Random-Read HNSW Traversal Inducing OS Page-Cache Thrashing and P99 Latency Spikes
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sharedarraybuffer-atomics
backendcritical

Data-Race-Free Worker Synchronization via SharedArrayBuffer and Atomics in Bun 1.2

Enforces deterministic, zero-copy inter-worker state synchronization in Bun 1.2 using SharedArrayBuffer and standard Atomics operations. Prevents silent data races, torn reads/writes, and IPC serialization throughput collapse by mandating atomic memory barriers and explicit ring-buffer queue synchronization patterns.

Blocks:Unsynchronized SharedArrayBuffer Mutations and Structured Cloning Serialization Bottlenecks
Targets:Cursor•Claude•Windsurf•Codex
bun-1-2-websocket-kernel-backpressure-guardrail
backendcritical

Bun 1.2 Native WebSocket Backpressure & Recycled Direct Memory Architecture

Under high-throughput outbound streaming, unbounded invocations of ws.send() trigger socket buffer bloat, unmanaged kernel queue expansion, and severe memory exhaustion. Bun services must govern stream velocity using ws.send() backpressure feedback, aggregate writes with ws.cork(), resume throttled producers exclusively via the native drain(ws) callback, and reuse pre-allocated slab buffers for outbound payloads.

Blocks:Unbounded Fire-and-Forget ws.send() Loops Inducing Kernel Buffer Bloat and Out-Of-Memory Crashes
Targets:Cursor•Claude•Windsurf•Codex
go-chi-quic-0rtt-anti-replay-standard
backendcritical

Go Chi HTTP/3 QUIC 0-RTT Early-Data Anti-Replay Standard

Enforces cryptographic replay attack mitigation on QUIC 0-RTT early data within Go Chi HTTP/3 services. Mandates strict HTTP method safety invariants (RFC 8470) and route-level validation to reject early-data execution of state-mutating handlers via HTTP 425 Too Early. Guarantees downstream cache coherence via explicit Vary header injection.

Blocks:Permitting State Mutations or Unvalidated Endpoints Over QUIC 0-RTT Early Data
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tokio-cooperative-budgeting-standard
backendcritical

Axum 0.8 Tokio Cooperative Task Budgeting & Cancellation Safety Standard

Mandates explicit cooperative task budgeting and cancellation-safe branching across Axum 0.8 middleware, extractors, and request streaming pipelines. Guarantees that compute-bound or tight I/O iterations yield control back to the Tokio runtime executor to prevent multi-threaded thread-pool starvation, latency tail spikes, and corrupt state on client disconnects.

Blocks:Unbounded iteration without cooperative budget checks and cancellation-unsafe futures in tokio::select! middleware branches
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-cdc-invariant
backendcritical

Postgres 17 Failover Slot Logical Replication Synchronization Standard

Enforces failover-enabled logical replication slots and synchronized standby progression introduced in Postgres 17 for mission-critical Change Data Capture (CDC) architectures. Ensures downstream streaming consumers can immediately reconnect to promoted physical standbys without replication slot invalidation, stream rewind failures, or duplicate message amplification. Mandates explicit failover slot creation, standby slot synchronization configuration, and LSN-safe consumer reconnection protocols.

Blocks:Creating unmanaged logical replication slots without failover sync, causing CDC consumer permanent failure or data loss upon standby promotion.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-async-generator-backpressure
backendcritical

FastAPI Pydantic v2 Async Generator Backpressure Standard

Enforces strict TCP backpressure and bounded memory allocation for FastAPI StreamingResponse endpoints yielding Pydantic v2 serialized data. Eliminates fatal worker OOM events by coupling asynchronous database cursors and Pydantic serialization loops to ASGI send/drain cycles.

Blocks:Unbounded Async Generator Generation Leading to Worker Heap Exhaustion via Unthrottled ASGI Response Buffering
Targets:Cursor•Claude•Windsurf•Codex
temporal-deterministic-replay-sanitization
backendcritical

Temporal Durable Workflow Deterministic State Replay Sanitization

Enforces strict determinism across Temporal durable workflow functions by eliminating native non-deterministic runtime calls. Workflows are event-sourced state machines that replay historical event logs; any divergence introduced by unseeded entropy, unmanaged system clocks, or direct I/O execution will trigger NonDeterministicWorkflowPolicy errors and break workflow execution invariants.

Blocks:Calling native random generators, standard date lookups, direct network I/O, or asynchronous race conditions within workflow orchestrators.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-zero-allocation-stream-ingestion
backendcritical

Zero-Allocation Chunked Stream Ingestion & Backpressure Clamp for Go Chi

Enforces memory-bounded chunked stream consumption using sync.Pool byte slice recycling, http.MaxBytesReader payload caps, and buffered concurrency tokens on Go Chi routes. Eliminates heap allocations and GC thrashing during heavy webhook burst traffic by processing payloads in fixed-size reusable buffers while shedding load with HTTP 429/503 when worker capacity saturates.

Blocks:Unbounded io.ReadAll and Heap-Escaping Buffer Allocation Under Webhook Bursts
Targets:Cursor•Claude•Windsurf•Codex
bun-cluster-socket-handoff-zero-downtime-draining-production-standard
backendcritical

Atomic Socket Migration and Graceful In-Flight Draining in Bun Cluster Topologies

Enforces deterministic, zero-downtime rolling worker recycles in Bun 1.2+ server clusters by utilizing atomic socket handoff and non-destructive worker draining. Guarantees zero dropped TCP SYN packets or truncated in-flight TLS streams by decoupling the listening socket lifecycle from individual worker lifecycles.

Blocks:Abrupt Process Termination and Uncoordinated Socket Teardown Triggering TCP Reset (RST) and 502 Bad Gateway Cascades
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-cancellation-propagation
backendcritical

FastAPI AnyIO Structured Concurrency & Disconnect Cancellation Guardrail

Enforces strict structured concurrency using AnyIO TaskGroups bound to incoming FastAPI request lifecycles. Guarantees that client HTTP disconnections deterministically trigger cancellation scopes across all nested coroutines, immediately aborting active database transactions and returning pooled connections to prevent connection starvation.

Blocks:Unbounded Background Tasks and Ignored Client Disconnections Leading to DB Pool Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-data-quarantine-middleware
backendcritical

Go Chi HTTP/3 0-RTT Early-Data Quarantine and Replay Defense Standard

Enforces strict quarantine and validation of HTTP/3 QUIC 0-RTT early data across Go Chi routers. Prevents replay attack vulnerabilities by rejecting non-idempotent mutations executed under early data with HTTP 425 Too Early and mandating replay-safe context propagation.

Blocks:Permitting Unsafe State Mutations and Non-Idempotent Handlers Over QUIC 0-RTT Early Data
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-slot-synchronization-guardrail
backendcritical

PostgreSQL 17 Logical Replication Slot Synchronization Guardrail

Enforces failover-ready logical replication slots on PostgreSQL 17 primary instances and validates slot synchronization across physical streaming standbys prior to promotion. Guarantees zero data loss and prevents subscriber divergence or invalidated slots during planned failovers or ungraceful primary promotions.

Blocks:Promoting Physical Standbys or Reconnecting CDC Subscribers Without Validating PG17 Failover Slot Synchronization State
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-failover-slot-sync
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization Guardrail

Enforces Postgres 17 native logical replication failover slot synchronization across physical standbys. Prevents downstream CDC data duplication and message loss during standby promotion by requiring the FAILOVER clause and strict validation of synchronized_standby_slots alignment before WAL consumption.

Blocks:Unsynchronized Logical Slots Advancing Beyond Physical Standby Confirmed LSN
Targets:Cursor•Claude•Windsurf•Codex
axum-multipart-streaming-backpressure
backendcritical

Axum 0.8 Streaming Multipart Byte-Budget Ceiling & Early-Abort Invariant

Enforces strict streaming chunk consumption with explicit byte-budget ceilings on Axum 0.8 multipart extractors to prevent unbounded memory allocation and heap exhaustion. Guarantees deterministic backpressure and explicit early-abort mechanics, eliminating socket buffer starvation and unconsumed TCP stream desynchronization during payload validation failures.

Blocks:Unbounded Field Buffering via field.bytes() and Dangling Socket Starvation on Early Error Abort
Targets:Cursor•Claude•Windsurf•Codex
go124-weak-pointer-cache-finalizer-deadlock-prevention
backendcritical

Go 1.24 Weak Pointer Cache Eviction & Finalizer Deadlock Invariant

Enforces non-blocking weak reference tracking and decoupled cleanup semantics using Go 1.24 weak.Pointer and runtime.AddCleanup. Prohibits synchronous mutex acquisition in finalization routines and circular references that induce GC sweep latency spikes or permanent deadlock.

Blocks:Lock Inversion and Object Resurrection via Synchronous Mutex Acquisition in GC Finalizers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-generator-streaming-session-cleanup
backendcritical

FastAPI Async Generator Lifecycle & DB Session Cleanup in Streaming Responses

Enforces deterministic teardown of asynchronous database sessions and contextual resources during FastAPI StreamingResponse lifecycles. Guards against database connection pool starvation caused by unhandled asyncio.CancelledError and GeneratorExit exceptions when clients disconnect prematurely during chunk iteration.

Blocks:Leaking Active Database Connections via Unhandled Generator Cancellations in Streaming Responses
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-cluster-backpressure-protocol
backendcritical

Bun 1.2 Native WebSocket Backpressure & Zero-Copy Buffer Recycling Protocol

Enforces strict TCP-level backpressure management and zero-copy binary buffer pooling for Bun 1.2 native WebSocket servers. Prohibits unchecked calls to `ws.send()` by evaluating `ws.getBufferedAmount()` against high-water marks and leveraging native `drain()` handlers with `ws.cork()` payload batching to eliminate kernel buffer bloat and Out-Of-Memory (OOM) crashes under high fan-out load.

Blocks:Unbounded `ws.send()` dispatching without `getBufferedAmount()` checks and missing native `drain()` lifecycle control.
Targets:Cursor•Claude•Windsurf•Codex
kafka-kraft-quorum-reconfiguration-standard
backendcritical

Apache Kafka 4.0 KRaft Dynamic Quorum Reconfiguration & Epoch Guard Standard

Mandates strict quorum epoch verification, single-voter transitions, and replica catch-up preconditions during KRaft dynamic quorum reconfiguration (KIP-853) in Kafka 4.0. Prevents split-brain divergence, quorum loss, and metadata log truncation during controller cluster topology changes.

Blocks:Unfenced Concurrent Controller Membership Mutations Without Epoch Fencing
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-concurrency-guardrail
backendcritical

FastAPI AnyIO Structured Concurrency TaskGroup Scoping Guardrail

Enforces strict structured concurrency in FastAPI services by requiring AnyIO TaskGroups for all concurrent execution paths instead of untracked asyncio.create_task calls. Prevents orphaned background coroutines, silent exception swallowing, and memory leaks by ensuring asynchronous child tasks are deterministically bound to the parent request context or explicit application lifecycle scopes.

Blocks:Spawning Unbound Coroutines via asyncio.create_task Causing Silent Task Death and Context Leaks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-projection-invariant
backendcritical

Postgres 17 JSON_TABLE SQL:2023 Projection Invariant

Enforces SQL:2023 JSON_TABLE projection over client-side parsing or legacy LATERAL jsonb_array_elements cross-joins for nested JSONB querying. Direct engine-level columnar transformation prevents memory bloat, avoids V8 heap spikes, and leverages native Postgres execution plan optimizations.

Blocks:Client-Side In-Memory JSON Parsing and Chained jsonb_array_elements Tuple Explosion
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-logical-slot-sync
backendcritical

PostgreSQL 17 Failover-Safe Logical Replication Slot Synchronization

PostgreSQL 17 introduces synchronized logical replication slots across physical standby failovers. Infrastructure and migration automation must mandate failover-enabled logical slots, primary-side standby coordination, and multi-host client failover strings to prevent data duplication, missing WAL segments, and cluster desynchronization after primary failover.

Blocks:Creating Logical Slots Without Failover Support and Standby Slot Coordination
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-backpressure-bounded-zero-copy-stream-pipeline
backendcritical

Axum 0.8 Backpressure-Bounded Zero-Copy Stream Body Pipeline

Mandates that incoming and outgoing payloads in Axum 0.8 services are processed using bounded, zero-copy byte streams that propagate flow control end-to-end. Forbids in-memory aggregation via `to_bytes` and unbounded intermediate buffers to ensure strict O(1) heap residency during arbitrary payload transfers.

Blocks:Unbounded In-Memory Payload Buffering and Decoupled Channel Flooding in Stream Handlers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-taskgroup
backendcritical

FastAPI AnyIO Structured Concurrency and TaskGroup Exception Aggregation Standard

Enforces deterministic structured concurrency in FastAPI request lifecycles using AnyIO TaskGroups instead of unbounded fire-and-forget tasks or loose coroutine aggregation. Guarantees clean cancellation propagation to all child tasks upon client disconnect or downstream failure, preventing orphan background execution and resource leaks through unified ExceptionGroup handling.

Blocks:Spawning Unbounded Fire-and-Forget Coroutines and Swallowing Child Exceptions in FastAPI Request Cycles
Targets:Cursor•Claude•Windsurf•Codex
temporal-workflow-determinism-replay-invariants-temporal-sdk-det-180
backendcritical

Temporal SDK Deterministic Workflow Sandboxing & State Replay Invariants

Temporal workflows compute state through deterministic event-sourcing replay; any deviation between execution passes results in a catastrophic NonDeterministicWorkflowError. This standard enforces strict isolation against ambient system clocks, unsandboxed asynchronous timers, random number generation, and external I/O operations inside workflow logic.

Blocks:Executing Ambient Node.js/V8 Non-Deterministic APIs and External Side Effects Inside Workflow Code
Targets:Cursor•Claude•Windsurf•Codex
go-weak-pointer-concurrent-cache-eviction
backendcritical

Go 1.24 Weak Pointer Concurrent Cache Eviction and Memory Reclamation

Enforces Go 1.24 `weak.Pointer` semantics combined with `runtime.AddCleanup` for high-throughput in-memory routing tables, session registries, and object caches. Prevents unbounded heap growth and GC retention cycles by ensuring long-lived cache maps do not anchor active objects past their operational lifecycle.

Blocks:Anchoring Strong References in Concurrent Maps Causing Heap Retention Cycles and OOM
Targets:Cursor•Claude•Windsurf•Codex
tokio-cooperative-budget-yielding-axum
backendcritical

Tokio 1.40 Cooperative Task Yielding & Budget Allocation in Axum

Enforces deterministic cooperative task yielding and CPU budget management within Axum request pipelines and Tokio async contexts. CPU-intensive operations such as large payload deserialization, cryptographic verification, or iteration over unbounded datasets must yield execution via `tokio::task::yield_now()` or be offloaded via `tokio::task::spawn_blocking` to prevent worker thread starvation and tail latency amplification.

Blocks:Running Unbudgeted Synchronous CPU Loops Inside Tokio Worker Threads Without Explicit Cooperative Yielding
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tokio-task-budgeting-cancellation-guardrail
backendcritical

Axum 0.8 Tokio Cooperative Task Budgeting & Cancellation Guardrail

Prevents async runtime worker thread starvation and connection leakages under hyper-concurrent streaming workloads (including HTTP/3) in Axum 0.8 and Tokio. Mandates bounded cooperative yielding intervals in CPU-intensive or iterative async pipelines using tokio::task::consume_budget or tokio::task::yield_now. Enforces deterministic cancellation handling via tokio_util::sync::CancellationToken and Drop-safe async primitives across long-lived connection lifetimes.

Blocks:Unbounded Tight Loops in Async Handlers Causing Worker Thread Starvation and Abandoned Zombie Stream Processing on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
openfga-rebac-traversal-depth-cycle-guardrail
backendcritical

OpenFGA ReBAC Sub-Graph Traversal Depth and Cycle Invariant Enforcement

Dynamic relationship-based access control (ReBAC) graphs risk recursive stack exhaustion and algorithmic denial-of-service (DoS) during resolution of cyclic or deeply nested transitive relations. This guardrail mandates bounded recursion depth thresholds, visited-node cycle detection via memoized resolution paths, and deterministic execution deadlines across all custom OpenFGA query orchestrators.

Blocks:Unbounded Recursive Sub-Graph Traversal and Missing Graph Cycle Detection in Custom ReBAC Clients
Targets:Cursor•Claude•Windsurf•Codex
bun-direct-fs-zero-copy-async-streaming
backendcritical

Bun 1.2 Direct FileSystem Zero-Copy Async Streaming Guardrail

Enforces kernel-level zero-copy payload routing in Bun 1.2 runtime by passing native BunFile handles directly to HTTP responses. Bypasses intermediate JavaScriptCore (JSC) heap buffer allocations and leverages native sendfile/copy_file_range syscalls for ultra-high-throughput file serving. Prohibits reading binary files into user-space JavaScript memory buffers or manual stream chunk piping.

Blocks:Buffering Disk Files into JSC Memory Heap via ArrayBuffer, Buffer.from, or Manual Stream Loops
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-taskgroup-graceful-drain
backendcritical

FastAPI AnyIO Structured TaskGroup Graceful Drain Invariant

Enforces strict nursery lifecycle boundaries using AnyIO TaskGroups anchored to the ASGI lifespan context to prevent asynchronous task leakage during rolling deployments. Prohibits fire-and-forget background tasks and unmanaged asyncio.create_task calls that lead to truncated database writes, broken socket states, and connection pool starvation upon SIGTERM.

Blocks:Spawning Unbound Fire-and-Forget Coroutines Outside ASGI Lifespan Nurseries
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-data-anti-replay
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Idempotency Boundary Standard

Enforces strict RFC 8470 and RFC 9114 replay mitigation for HTTP/3 and QUIC 0-RTT early data connections in Go Chi services. Guarantees that mutating endpoints reject unsafe early data with HTTP 425 Too Early or require cryptographically signed, temporally bounded idempotency tokens validated atomically via distributed key stores.

Blocks:Mutating State from Unvalidated 0-RTT Early Data Allowing Replay-Driven Financial or State Duplication
Targets:Cursor•Claude•Windsurf•Codex
fastapi-taskgroup-structured-concurrency-isolation
backendcritical

FastAPI & Pydantic v2 Structured Concurrency and TaskGroup Isolation

Enforces Python 3.12+ asyncio.TaskGroup boundaries and Pydantic v2 zero-copy Rust-backed validation for concurrent request workloads. Eliminates fire-and-forget coroutine leaks, uncaught background exceptions, and unhandled sub-task failures by mandating PEP 654 ExceptionGroup handling and strict lifecycle scoping.

Blocks:Unbounded asyncio.create_task Invocations and Leaked Coroutine Lifecycles Bypassing Exception Boundaries
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-active-active-conflict-resolution-guardrail
backendcritical

Postgres 17 Active-Active Logical Replication Conflict Resolution Guardrail

Enforces deterministic origin-filtering and automated timestamp-based last-write-wins (LWW) resolution across bi-directional Postgres 17 replication topologies. Prevents infinite update looping, replication worker stalls, and silent regional data divergence. Mandates origin tracking, immutable monotonically increasing clock vectors, and trigger-enforced row convergence.

Blocks:Naive Bi-Directional Subscriptions Lacking Origin Filtering and Deterministic LWW Conflict Handlers
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-token-graceful-drain
backendcritical

Axum 0.8 Tokio CancellationToken Propagation and Graceful Drain Invariant

Enforces cooperative async task cancellation and deterministic connection draining across Axum 0.8 routes, Tower middleware layers, and spawned Tokio background workers. Guarantees zero dropped in-flight transactions or truncated TCP frames during Kubernetes SIGTERM rolling terminations.

Blocks:Detached Background Tasks and Naked Graceful Signals Causing In-Flight Transaction Truncation on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
openfga-rebac-subgraph-traversal-latency-budget-guardrail
backendcritical

OpenFGA Distributed ReBAC Subgraph Traversal Latency Budget Guardrail

Enforces deterministic depth limits and strict sub-5ms p99 cache-aside memoization policies for recursive OpenFGA relationship-based access control (ReBAC) evaluations across microservices. Prevents unbounded graph traversals, circular reference latency spikes, and downstream connection pool exhaustion by requiring contextual multi-tier caching (in-memory L1 LRU + Redis L2) and strict per-request evaluation deadlines.

Blocks:Unbounded Recursive ReBAC Subgraph Traversal Without Memoization or Latency Budgets
Targets:Cursor•Claude•Windsurf•Codex
bun-clustered-worker-websocket-hibernation-isolation-standard
backendcritical

Bun 1.2 Clustered Worker WebSocket Hibernation Isolation Standard

Enforces zero-memory-leak WebSocket lifecycle management in Bun 1.2+ multi-worker cluster deployments by mandating the native C++ WebSocket hibernation API over in-memory socket retaining patterns. Ensures that worker threads do not retain JavaScript references to idle sockets, delegate cross-worker fanout to native Bun PubSub or an external broker rather than IPC socket transfer, and isolate worker memory footprints to achieve deterministic resource reclaiming.

Blocks:Retaining JavaScript WebSocket References in Worker Event Loops Breaking Bun Native Hibernation and PubSub Isolation
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-sync-cdc-guardrail
backendcritical

PostgreSQL 17 Failover Slot Synchronization for Zero-Data-Loss CDC

Enforces failover replication slot synchronization introduced in PostgreSQL 17 to prevent silent data loss and unbounded duplication during physical cluster failovers. Requires failover-enabled logical slots on the primary, synchronized standby worker coordination via synchronized_standby_slots, and consumer LSN confirmation validation across streaming worker boundaries.

Blocks:Creating unsynchronized logical replication slots on the primary without physical standby slot synchronization barriers
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-cooperative-cancellation-propagation
backendcritical

Axum 0.8 & Hyper 1.x Cooperative Request Cancellation Propagation

Enforces deterministic cancellation propagation across asynchronous boundaries in Axum 0.8 and Hyper 1.x services. Prevents orphaned compute and connection pool exhaustion by binding subtasks and database operations to client socket drop lifecycles using structured cancellation tokens and RAII drop guards.

Blocks:Detached background execution and unlinked Tokio spawns running after HTTP client disconnection
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-exceptiongroup-containment
backendcritical

FastAPI AnyIO Structured Concurrency ExceptionGroup Containment

Enforces strict boundary containment and unwrapping of Python 3.11+ ExceptionGroup and anyio.ExceptionGroup instances inside FastAPI endpoints, background tasks, and ASGI worker loops. Failure to handle task group exceptions at the concurrency boundary causes them to bubble through Starlette middleware without invoking typed exception handlers, tearing down ASGI worker processes and dropping in-flight client connections.

Blocks:Leaking Unhandled ExceptionGroups Across ASGI Middleware Boundaries Crashing Worker Pools
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-backpressure-stream-throttling
backendcritical

Axum 0.8 Layered Tower Backpressure Stream Throttling

Enforces deterministic backpressure propagation across Axum 0.8 routing pipelines and Tower middleware layers down to underlying network sockets. Mandates strictly bounded channel buffering and frame consumption via http-body 1.0 to eliminate unbounded heap growth during slow-consumer and slow-read attacks.

Blocks:Eager Buffering and Unbounded Asynchronous Queues in Streaming Tower Layers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-parallel-apply-buffer-bound
backendcritical

PostgreSQL 17 Logical Replication Parallel Apply Buffer Bound Invariant

Enforces strict memory buffering constraints and worker limits on PostgreSQL 17 parallel apply logical replication subscribers. Unbounded worker memory allocation during high-volume multi-partition streaming transactions depletes host memory and triggers subscriber postmaster SIGKILL terminations via the OS OOM killer.

Blocks:Unbounded Parallel Apply Workers and Unconstrained Buffer Memory in Logical Replication
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-connection-scoped-rls-session-invariant
backendcritical

Drizzle ORM Connection-Scoped RLS Session Context Invariant

Enforces mandatory transactional session-context injection (e.g., SET LOCAL app.current_tenant_id) within Drizzle ORM transactions prior to executing queries under PostgreSQL Row Level Security (RLS). Prevents cross-tenant data leakage caused by asynchronous connection pool reuse when ambient session parameters persist or default to empty scopes.

Blocks:Global Pool Querying Without Local Transactional Tenant Context Injection
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-propagation-goroutine-teardown-guardrail
backendcritical

Go Chi Structured Context Propagation and Goroutine Teardown Guardrail

Enforces strict context deadline inheritance, cooperative goroutine cancellation, and bounded lifecycle synchronization in Go Chi HTTP services. Prevents silent memory bloat, resource exhaustion, and zombie goroutines caused by detaching contexts or spawning unmonitored background routines from active HTTP handlers under sustained load.

Blocks:Spawning fire-and-forget goroutines or stripping request context deadlines in Chi handlers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-sync-cdc-invariant
backendcritical

Postgres 17 Failover Slot Sync Invariant for Resilient Logical CDC

Enforces PostgreSQL 17 failover-enabled logical replication slots and synchronized standby slot topologies across active change-data-capture (CDC) pipelines. Eliminates data loss, stream dropouts, and unbounded duplicate replays during automated physical replica promotions.

Blocks:Creating Unsynchronized Logical Replication Slots Without Standby WAL Anchors and Failover Flags
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-iterative-scan-rls-guardrail
backendcritical

pgvector 0.8 HNSW Iterative Scan Bounded Multi-Tenant RLS Isolation

Mandates explicit iterative scan configuration (hnsw.iterative_scan and hnsw.max_scan_tuples) and tenant partitioning bounds when performing approximate nearest-neighbor searches under Row-Level Security (RLS). Prevents post-filtering graph starvation, unbounded index traversal latency spikes, and silent query truncation in multi-tenant vector workloads.

Blocks:Executing unconstrained HNSW vector queries against RLS-protected tables without iterative scan tuning and tuple traversal budgets
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-data-anti-replay-go-chi-http-3-0--597
backendcritical

Go Chi HTTP/3 0-RTT Early-Data Anti-Replay Idempotency Standard

Enforces strict rejection of non-idempotent HTTP methods in QUIC/HTTP/3 0-RTT early data and mandates distributed replay cache verification for permissible early requests. Protects state-mutating handlers from double-execution vulnerabilities caused by network-level packet replication or passive eavesdropper replays during TLS 1.3/QUIC connection resumption.

Blocks:Executing state-mutating operations or unverified idempotent calls over HTTP/3 0-RTT early data
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-zero-copy-streaming-tower-pipeline
backendcritical

Axum 0.8 Zero-Copy Streaming and Backpressured Tower Service Invariants

Enforces zero-allocation and bounded-memory streaming pipelines in Axum 0.8 microservices handling multi-gigabit workloads. Mandates explicit frame-based backpressure across Tower layers and strictly forbids buffering unbounded bodies into contiguous memory allocations. Guarantees constant memory consumption regardless of payload size under heavy concurrent ingress.

Blocks:Buffering Unbounded Request Payloads into Contiguous Buffers Without Flow Control
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python-313-nogil-concurrency-engine
backendcritical

FastAPI Python 3.13 Free-Threaded Concurrency and Memory Model Standards

Enforces strict thread-safety, zero-copy memory patterns, and non-blocking scheduling for FastAPI services deployed on Python 3.13 free-threaded (python3.13t, No-GIL) builds. Prevents race conditions on shared mutable structures and thread starvation caused by blocking the ASGI event loop with CPU-bound vector computations.

Blocks:Mutating shared Python collections across concurrent threads and running CPU-bound workloads directly on the uvloop event loop
Targets:Cursor•Claude•Windsurf•Codex
bun-multi-worker-sqlite-wal-concurrency
backendcritical

Bun 1.2 Multi-Worker SQLite WAL Concurrency Isolation & Busy Timeout Guardrail

Ensures transaction serializability and prevents thread-locking stalls across clustered Bun workers executing concurrent read-write transactions on embedded SQLite. Mandates Write-Ahead Logging (WAL) configuration, explicit busy timeouts, immediate transactions for mutations, and proper resource disposal to avoid database lock contention (SQLITE_BUSY). Prevents event-loop thread blocking and process deadlocks across separate OS processes or web workers accessing shared SQLite database files.

Blocks:Unbounded Event-Loop Starvation via Default Deferred Transactions and Missing WAL Busy Handlers in Multi-Worker Bun
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-aware-inflight-request-draining
backendcritical

Deterministic Request Draining and Bounded Context Propagation in Go Chi

Enforces bounded lifecycle fencing and strict context propagation across Go Chi middleware pipelines during rolling pod terminations. Guarantees in-flight HTTP requests complete within a bounded grace period while rejecting ingress traffic and preventing uncoordinated goroutine abandonment during SIGTERM events.

Blocks:Hard Server Teardown and Unbounded Detached Goroutines Causing Dropped Edge Connections During Rolling Updates
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-zerocopy-streaming
backendcritical

FastAPI with Pydantic v2 Zero-Copy Serialization Streaming Standard

Enforces direct streaming serialization using Pydantic v2's Rust-backed engine (pydantic-core) and chunked byte generators for large JSON payloads. Eliminates multi-gigabyte heap allocations and Python GIL stalls by bypassing Starlette's default intermediate dict materialization.

Blocks:In-Memory Materialization of Bulk Model Collections via Default FastAPI response_model
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-cancellation-connection-draining-protocol
backendcritical

Axum 0.8 Tower Cancellation Propagation and Connection Draining Protocol

Enforces cooperative cancellation propagation, TaskTracker-bound asynchronous lifecycles, and deterministic connection draining in Axum 0.8 applications. Prevents dropped multiplexed HTTP/3 and HTTP/2 streams and incomplete database mutations during rolling updates.

Blocks:Detaching unmonitored Tokio tasks and terminating runtimes abruptly without signaling GOAWAY frames or awaiting TaskTracker completion.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-halfvec-bounded-indexing
backendcritical

Postgres 17 pgvector Halfvec Quantization & Worker-Bounded Indexing Standard

Mandates 16-bit halfvec quantization over standard 32-bit vectors and establishes strictly bounded maintenance_work_mem alongside capped parallel maintenance workers. This prevents shared-buffer eviction cascades, memory exhaustion, and query pipeline stalls during continuous high-velocity LLM embedding upserts.

Blocks:Unquantized 32-bit Vector Storage with Unconstrained Parallel Maintenance Workers Inducing Buffer Cache Thrashing
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-deterministic-cache-eviction
backendcritical

Go 1.24 Weak Pointers and Cleanup-Driven Deterministic In-Memory Cache Eviction

Governs the use of Go 1.24 weak pointers (weak.Pointer) and runtime.AddCleanup within high-throughput Go Chi in-memory cache topologies. Replaces legacy runtime.SetFinalizer patterns and explicit stop-the-world eviction sweeps to eliminate GC pacing spikes, finalizer thread starvation, and cyclic reference memory leaks under extreme HTTP request concurrency.

Blocks:Legacy runtime.SetFinalizer and Strong Reference Maps Inducing GC Latency Spikes and Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-slot-failover-lag-fencing
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization & Lag Fencing Invariants

Enforces explicit failover-enabled logical replication slots (failover = true) and strict lag-fencing orchestration during automated physical standby promotions in PostgreSQL 17. Guarantees that CDC consumers and downstream event streams never suffer unrecoverable LSN divergence or silent message loss across multi-region failovers.

Blocks:Unfenced Standby Promotion with Desynchronized Logical Slots Leading to CDC Consumer Invalidation and Silent Data Divergence
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-swiss-table-cache-isolation
backendcritical

Go 1.24 Weak Pointer & Swiss Table Cache Isolation Standard

Enforces memory isolation and zero-retention ephemeral caching using Go 1.24's native weak.Pointer and Swiss Table runtime map architecture. Prevents high-throughput multi-gigabit ingress buffers from escaping into tenured heap generations and triggering catastrophic Garbage Collection (GC) Mark-Sweep latency spikes.

Blocks:Pinning Ephemeral Payloads via Strong-Pointer Caches Triggering Millisecond GC Pause Degradation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-zero-rtt-anti-replay-barrier
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Mutation Barrier

Enforces an application-layer barrier against TLS 1.3 and QUIC 0-RTT early-data replay amplification attacks within Go Chi routers. State-mutating requests (POST, PUT, PATCH, DELETE) received as early data must be rejected immediately with HTTP 425 (Too Early) before hitting business logic or database layers.

Blocks:Executing state-mutating operations on unvalidated 0-RTT early data requests
Targets:Cursor•Claude•Windsurf•Codex
pgvector-08-hnsw-resident-set-partition-pruning
backendcritical

Deterministic HNSW Index Memory-Locking & Partition Pruning Standard

Enforces strict partition key propagation and pre-warmed HNSW index residency in PostgreSQL 17 with pgvector 0.8+. Prevents unpruned multi-partition graph traversals and memory cache thrashing during high-concurrency approximate nearest neighbor (ANN) vector queries.

Blocks:Global Unpartitioned HNSW Traversal with Cache Eviction Cascades
Targets:Cursor•Claude•Windsurf•Codex
otel-genai-streaming-backpressure-standard
backendcritical

OpenTelemetry GenAI Semantic Conventions and Streaming Backpressure Telemetry

Standardizes OpenTelemetry GenAI semantic conventions across asynchronous LLM streaming pipelines to prevent distributed trace fragmentation and metrics drift. Enforces strict parent-child span linkage, time-to-first-token (TTFT) duration recording, prompt-injection guardrail span containment, and backpressure queue latency telemetry across reactive streams.

Blocks:Detached LLM Stream Tracing with Opaque Latency and Uninstrumented Backpressure
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-streaming-memory-bounds
backendcritical

FastAPI 0.115+ & Pydantic V2 Bounded Streaming Deserialization Memory Ceiling

Enforces strict byte-budget memory ceilings and bounded chunk ingestion for high-throughput streaming and multipart endpoints in FastAPI 0.115+ and Pydantic V2. Prevents worker process Out-Of-Memory (OOM) panics caused by unbounded request buffering and unconstrained native Rust deserialization during high-concurrency payload injection.

Blocks:Unbounded Request Body Buffering and Monolithic Rust Deserialization Triggering Worker OOM
Targets:Cursor•Claude•Windsurf•Codex
go-chi-v5-context-afterfunc-cleanup-orchestration
backendcritical

Deterministic Resource Cleanup and Rollbacks with Chi v5 and context.AfterFunc

Enforces asynchronous, non-blocking distributed resource cancellation and database transaction rollbacks upon client connection termination (such as HTTP/3 QUIC stream resets) using Go 1.21+ `context.AfterFunc`. Prevents orphan lock retention, dangling distributed leases, and zombie worker routines when a client disconnects prior to HTTP handler completion in Chi v5 routers.

Blocks:Relying Exclusively on Synchronous Defer Blocks and Epoll Context Checks in Handlers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-hnsw-iterative-pruning
backendcritical

PostgreSQL 17 Memory-Optimized pgvector HNSW Iterative Search and Buffer Protection

Enforces strict transaction-scoped tuning for pgvector HNSW iterative index scans in PostgreSQL 17 to eliminate shared_buffers thrashing during concurrent high-throughput ingestion. Prevents unconstrained vector graph traversals from causing buffer cache eviction storms and starvation by mandating relaxed iterative scan ordering and deterministic scan tuple ceilings.

Blocks:Unbounded HNSW Graph Traversal and Post-Filtering Thrashing Shared Buffer Pools
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-heap-fence-production-standard
backendcritical

Bun 1.2 Multi-Tenant Isolated Worker Heap Fence & Zero-Copy Memory Standard

Enforces strict isolated execution boundaries and memory fencing across multi-tenant Bun worker threads. Mandates bounded worker pooling, explicit heap telemetry watchdogs with rapid process termination, and zero-copy transferable ArrayBuffer or SharedArrayBuffer pooling to eliminate noisy-neighbor heap exhaustion in edge micro-runtimes.

Blocks:Unbounded Worker Spawning with Structured Cloning Allocations Inducing Host OOM
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-lifecycle
backendcritical

FastAPI AnyIO Structured Concurrency TaskGroup Lifecycle Guardrail

Eliminates orphaned async background tasks, thread pool starvation, and leaked socket descriptors triggered by premature client disconnections. Mandates the use of AnyIO TaskGroup cancellation scopes bound directly to the FastAPI request lifecycle instead of unmonitored asyncio fire-and-forget tasks or unbounded BackgroundTasks. Guarantees deterministic cooperative cancellation cascades, resource deallocation, and shielded critical sections during connection drops.

Blocks:Spawning detached coroutines via asyncio.create_task or unbounded background tasks that outlive client disconnection and leak resources.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-radix-vacuum-memory-accounting
backendcritical

PostgreSQL 17 Radix Tree Memory Accounting Invariant for Adaptive Vacuuming

PostgreSQL 17 replaces flat dead-tuple arrays with an adaptive radix tree (TidStore), lifting the legacy 1GB dead-tuple indexing limitation. Infrastructure orchestration and database access layers must dynamically account for concurrent autovacuum worker memory and radix-tree overhead, enforcing per-table scale factors and bounded maintenance budgets to prevent container OOMs and transaction ID wraparound under heavy ingest.

Blocks:Unbounded Radix Allocation and Static Maintenance Memory Leading to OOM or Wraparound Halts
Targets:Cursor•Claude•Windsurf•Codex
pg17-aio-direct-io-memory-invariants-standard
backendcritical

PostgreSQL 17 AIO and Direct-IO Subsystem Memory Invariants

Governs the allocation and execution limits for PostgreSQL 17 asynchronous I/O worker pools, direct-IO buffers, and parallel streaming query patterns. Enforces deterministic session-level resource boundaries and streaming backpressure during high-throughput vector index scans and parallel sequential scans to prevent kernel buffer bloat and system-terminating Out-Of-Memory (OOM) panics.

Blocks:Unbounded concurrent parallel vector or sequential scans overwhelming io_uring queues and direct-IO ring buffers, triggering kernel OOM panics.
Targets:Cursor•Claude•Windsurf•Codex
axum-sse-backpressure-disconnect-cleanup
backendcritical

Axum 0.8 SSE Stream Disconnect Lifecycle and Broadcast Backpressure Invariant

Mandates deterministic client disconnect propagation and Tokio broadcast subscriber teardown for Server-Sent Events (SSE) endpoints in Axum 0.8. Eliminates zombie worker tasks and ghost compute leaks by binding stream drop semantics directly to Tokio cancellation tokens and handling broadcast lag errors defensively.

Blocks:Spawning Unlinked Long-Polling Background Tasks and Leaking Tokio Broadcast Receivers on Client Abort
Targets:Cursor•Claude•Windsurf•Codex
go124-chi-http3-quic-graceful-draining-guardrails
backendcritical

Go 1.24 Chi HTTP/3 QUIC Graceful Connection Draining and Migration Invariants

Mandates strict decoupling of UDP packet listener shutdown from active QUIC connection context lifecycles when serving HTTP/3 over Chi in Go 1.24. Precludes sudden socket termination by enforcing coordinated GOAWAY frame dissemination, bidirectional stream draining timeouts, and atomic connection closure without severing live client address migrations during rolling container deployments.

Blocks:Premature UDP Packet Socket Closure and Abrupt QUIC Engine Termination Dropping In-Flight Multiplexed Streams
Targets:Cursor•Claude•Windsurf•Codex
openfga-contextual-tuple-bound-latency-guardrail
backendcritical

OpenFGA 1.6 Contextual Tuple Bounding & Recursion Depth Guardrail

Enforces strict cardinality constraints on dynamic contextual tuples and sets explicit evaluation depth limits during OpenFGA authorization checks. Prevents combinatorial graph expansion and tail-latency degradation across high-cardinality Zanzibar relationship graphs by mandating fail-fast validation, chunked batch evaluation, and client-side deadline propagation.

Blocks:Unbounded Contextual Tuple Injection Causing High-Cardinality Zanzibar Traversal Storms
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-task-supervisor-invariant
backendcritical

FastAPI Lifespan-Managed Async Task Pipeline and Drain Invariant

Enforces deterministic, structured async worker lifecycles managed strictly through FastAPI lifespan context managers. Prevents orphaned background tasks, silent unhandled task exceptions, and thread/database pool exhaustion during client disconnection cascades by prohibiting ad-hoc asyncio.create_task and legacy Starlette BackgroundTasks for unbounded processing.

Blocks:Ad-hoc asyncio.create_task spawning and unmonitored BackgroundTasks leaking resources on client disconnect
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-parallel-budgeting
backendcritical

Postgres 17 Streaming I/O and Parallel Hash Execution Budgeting

Enforces strict session-level resource admission controls and deterministic parameter scaling for PostgreSQL 17 streaming read operations and parallel hash join execution. Prevents kernel page cache eviction spirals, NVMe queue saturation, and Out-Of-Memory (OOM) terminations caused by unconstrained concurrent analytical OLAP queries.

Blocks:Global Memory Oversubscription and Unbounded Parallel Streaming I/O Prefetching
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tokio-streaming-backpressure-sse-draining
backendcritical

Axum 0.8 Tokio Streaming Backpressure & SSE Connection Draining Standard

Enforces bounded channels, consumer-driven stream backpressure, and coordinated connection draining for Server-Sent Events (SSE) and WebSockets during zero-downtime rolling deploys in Axum 0.8. Prevents memory leaks caused by unbounded queueing and abrupt client socket terminations using CancellationToken and graceful shutdown barriers.

Blocks:Unbounded mpsc Channel Buffering and Abrupt Connection Severing on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slot-sync-postgres-17-logi-632
backendcritical

Postgres 17 Failover Slot Synchronization & Lag Invariant

Enforces strict failover slot synchronization (`failover = true` and `pg_sync_replication_slots()`) between primary and physical standby instances in Postgres 17. Guarantees zero message loss for active change data capture (CDC) consumers during unplanned primary failovers while actively gating primary transaction commit horizons via `synchronized_standby_slots` to avert catastrophic slot lag and disk-exhausting WAL bloat.

Blocks:Creating Logical Replication Slots Without Failover Flags or Synchronized Standby Slot Gating
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-zero-copy-tls-standard
backendcritical

Bun 1.2 WebSocket Hibernation and Native Zero-Copy TLS Standard

Enforces Bun 1.2+ native WebSocket hibernation semantics and kernel-offloaded zero-copy TLS to maximize connection density across hundreds of thousands of concurrent sockets. Prohibits retaining JavaScript-side references to active sockets and mandates native topic subscriptions and epoll-backed idle suspension.

Blocks:Retaining Long-Lived WebSocket References in JavaScript Memory and Manual Socket Iteration
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-transaction-cancellation-safety
backendcritical

Axum 0.8 Cancellation Safety and RAII Rollback in Async Database Transactions

Enforces strict cancellation safety invariants across Axum 0.8 handlers holding database connections and transactions. Guarantees that premature HTTP client disconnections during async stream evaluation or unbounded yield points immediately trigger deterministic RAII rollbacks rather than starving connection pools, abandoning uncommitted transactions, or executing partial transactional side-effects.

Blocks:Holding Open Database Transactions Across Unbounded Client Streaming Yields Causing Pool Exhaustion on Cancellation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-transaction-local-rls-guardrail
backendcritical

Postgres 17 Multi-Tenant Transaction-Local RLS Variable Enforcement

Enforces transaction-scoped session variable injection ('SET LOCAL app.current_tenant_id') for multi-tenant Row-Level Security (RLS) policies within pooled database connections. Prohibits session-level parameter leakage ('SET app.current_tenant_id') across pooled clients that triggers catastrophic cross-tenant data exposure. Mandates explicit parameter validation, deterministic cast safety, and fail-closed RLS policies relying on nullif() and current_setting().

Blocks:Session-Scoped SET in Connection Pools Causing Cross-Tenant RLS Leaks
Targets:Cursor•Claude•Windsurf•Codex
nats-jetstream-deduplication-ack-window-alignment
backendcritical

NATS JetStream 2.10 Clustered Deduplication Window and Ack Wait Alignment Invariant

Enforces deterministic at-most-once and exactly-once processing semantics across NATS JetStream 2.10 distributed clusters. Guarantees that stream-level duplicate tracking windows (`duplicate_window`) strictly exceed consumer acknowledgement wait periods (`ack_wait`) by at least a safety propagation buffer, while requiring deterministic, high-entropy `Nats-Msg-Id` headers on all publisher operations. Prevents phantom message duplication cascades during network partitions, consumer retry cycles, and Raft leader re-elections.

Blocks:Mismatched Duplicate Window and Consumer Ack Wait Resulting in Silent Double-Processing Cascades
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-native-memory-fence-finalization-isolation
backendcritical

Bun 1.2 Worker Memory Fence & FinalizationRegistry Isolation Guardrail

Enforces strict isolate boundaries and thread-safe lifecycle management for native C-bindings and Node-API handles across Bun 1.2 multi-threaded Workers. Prevents premature resource collection, cross-worker heap pollution, and use-after-free segfaults caused by uncoordinated FinalizationRegistry callbacks on transferred raw pointers.

Blocks:Cross-Worker Raw Pointer Leakage Subject to Asynchronous Foreign-Isolate Finalization
Targets:Cursor•Claude•Windsurf•Codex
go-chi-distributed-context-cancellation-leak-quarantine
backendcritical

Go Chi v5 Distributed Context Cancellation & Goroutine Leak Quarantine

Enforces strict propagation of HTTP request contexts across Chi v5 routers, downstream gRPC calls, and asynchronous worker goroutines. Eliminates goroutine leaks and cascading connection starvation by mandating context-derived channels, timeout inheritance, and structured concurrency patterns like errgroup.Group with derived context boundaries.

Blocks:Orphaned background goroutines and decoupled contexts causing silent resource exhaustion and zombie microservice queries.
Targets:Cursor•Claude•Windsurf•Codex
pg17-adaptive-workmem-hashjoin-spill-control
backendcritical

PostgreSQL 17 Adaptive WorkMem Hash-Join Memory Spilling Guardrail

Enforces deterministic bounded memory limits for PostgreSQL 17 multi-batch hash joins across concurrent analytical workloads. Mandates session-level dynamic work_mem scaling, hash-spill plan verification, and resource group isolation to completely prevent OS OOM-killer invocations during concurrent batch join spikes.

Blocks:Global Unbounded work_mem Sizing Combined with Uncalibrated Hash-Join Memory Accounting Causing OOM Crashes
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-multipart-streaming-buffer-fencing
backendcritical

FastAPI Async Multipart Chunked Streaming & Bounded Buffer Fencing

Enforces strict chunked async streaming protocols for multi-gigabyte multipart file uploads and payload ingestion in FastAPI. Mandates backpressured async generators with bounded rolling byte buffers and incremental Pydantic v2 parsing to prevent unmanaged heap inflation and event-loop starvation. Eliminates standard UploadFile in-memory spooling and unconstrained eagerly parsed JSON payloads on large data vectors.

Blocks:Eager In-Memory Multipart Buffering and Blocking File Reads Leading to OOM Panics and Event-Loop Starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres17-streaming-io-readahead-concurrency-boundary
backendcritical

Postgres 17 Streaming I/O Engine Read-Ahead Concurrency Boundary

Configures strict per-connection block prefetch ceilings against POSIX Direct I/O subsystem saturation to eliminate buffer cache lock contention during concurrent sequential analytics scans. In Postgres 17, unconstrained streaming read-ahead across parallel worker processes overwhelms OS queue depths and evicts hot OLTP pages through buffer pool thrashing. Enforcing calibrated io_combine_limit, maintenance_io_concurrency, and query-scoped prefetch boundaries prevents kernel I/O starvation and maintains deterministic p99 latencies.

Blocks:Unbounded Parallel Read-Ahead Starving Buffer Mapping Locks and Kernel I/O Ring Buffers
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-buffer-pinning-reclamation
backendcritical

Bun 1.2 Native FFI Buffer Pinning and Explicit Memory Reclamation Standard

Establishes deterministic lifecycle boundaries and pin-tracking for Uint8Array memory buffers crossed between Bun 1.2 runtime and foreign native dynamic libraries (C/Rust). Prevents premature JavaScript garbage collection, use-after-free (UAF), and native memory leaks during asynchronous FFI invocations and worker-thread dispatch under high-throughput I/O.

Blocks:Ephemeral FFI pointer conversions causing catastrophic use-after-free or unbounded unmanaged heap leaks
Targets:Cursor•Claude•Windsurf•Codex
pg17-streaming-io-vector-scan-buffer-guardrail
backendcritical

Postgres 17 Streaming I/O Vector Scan Buffer Pool Guardrail

Enforces deterministic configuration and session-level constraints for PostgreSQL 17 asynchronous streaming I/O and vectorized scans. Saturates high-bandwidth NVMe storage during bulk analytical queries while isolating ring buffer access strategies (BAS_BULKREAD) to prevent eviction of hot OLTP cache blocks from shared buffers.

Blocks:Global Unconstrained Table Scans Evicting Low-Latency OLTP Buffer Pools via Unbounded Streaming I/O
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-pydantic-v2-core-schema-cache
backendcritical

FastAPI Lifespan-Scoped Pydantic V2 Core Schema Cache Invariant

Enforces pre-compilation and immutable caching of Pydantic V2 TypeAdapters and complex CoreSchemas during the FastAPI application lifespan initialization phase. Prevents runtime thread-safety overhead, JIT schema validator recompilation, and tail-latency degradation under high-concurrency request execution paths.

Blocks:Dynamic Runtime Instantiation of Pydantic TypeAdapter or SchemaValidator Within Request Handlers
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tokio-task-cancellation-backpressure-standard
backendcritical

Axum 0.8 Tokio Task Cancellation & Hyper Socket Disconnect Guardrail

Enforces strict cancellation safety, RAII-driven cleanup, and child task termination for Axum 0.8 handlers backed by Tokio and Hyper. Mandates explicit cancellation token trees and abort-on-drop semantics to eliminate orphaned background workers, zombie streaming connections, and database connection pool starvation when clients abruptly disconnect.

Blocks:Spawning detached tokio::spawn workloads inside Axum handlers without CancellationToken or RAII abort guards
Targets:Cursor•Claude•Windsurf•Codex
go-coroutine-iterator-arena-allocation-invariant
backendcritical

Go 1.24 Range-over-Func Iterator and Arena Memory Lifetime Invariants

Mandates strict lifetime boundaries and zero-escape semantics when combining Go 1.24 iterators (iter.Seq, iter.Seq2, iter.Pull) with memory arenas or reusable scratch allocations. Eliminates GC pause overhead in high-throughput streaming pipelines while mathematically preventing use-after-free corruption caused by retaining ephemeral pointers across iteration reset phases.

Blocks:Retaining or Escaping Ephemeral Arena-Allocated Pointers Across Range-over-Func Yield Boundaries
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-sync-invariant
backendcritical

Postgres 17 Failover Slot Sync Replication Invariant for Transactional Outbox

Enforces failover logical replication slot synchronization natively introduced in Postgres 17 across streaming physical standby instances. Guarantees zero message loss and prevents silent outbox replication stream drops or catastrophic offset regression during planned or unplanned failovers.

Blocks:Creating unsynced physical/logical replication slots causing silent event drops or duplicate re-emission upon standby promotion.
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-graceful-connection-drain
backendcritical

Axum 0.8 Hyper v1 Graceful Connection Drain and Lease Standard

Guarantees deterministic zero-downtime rolling deployments by decoupling socket listener termination from in-flight request cancellation. Enforces explicit connection drain timeouts, correct HTTP/2 GOAWAY emission, and bounded keep-alive leases before SIGKILL triggers.

Blocks:Immediate Runtime Future Dropping and Unbounded HTTP/2 Keep-Alive Lease Starvation During SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-memory-caging-zero-copy-production-standard
backendcritical

Bun 1.2 Worker Isolation: Zero-Copy Transfer and Memory Caging Standard

Enforces deterministic heap boundaries and zero-copy transferable memory mechanics for native Workers in Bun 1.2. Eliminates process-wide Out-Of-Memory (OOM) cascades in high-throughput edge nodes by caging worker allocation limits and preventing structured clone serialization overhead. Guarantees detached buffer transfers and active thread resource caging under sustained concurrency.

Blocks:Spawning uncaged Bun workers with structured clone serialization of binary payloads, causing GC amplification and parent process SIGKILLs.
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-cache-lifetime-invariants
backendcritical

Go 1.24 Weak Pointer & Finalizer-Free Cache Lifetime Invariants

Enforces modern Go 1.24+ memory reclamation standards using weak.Pointer and runtime.AddCleanup for high-concurrency caches. Prevents garbage collector multi-phase sweep delays and Stop-The-World (STW) latency spikes caused by legacy runtime.SetFinalizer object resurrection and leaking strong cache references.

Blocks:Retaining strong references in cache indices or using runtime.SetFinalizer causing GC resurrection loops and tail-latency spikes
Targets:Cursor•Claude•Windsurf•Codex
temporal-workflow-determinism-replay-migration-standard
backendcritical

Temporal Durable Execution Determinism & Replay Verification Standard

Enforces strict workflow determinism invariants, backward-compatible migration patterns using workflow.patched(), and automated history replay verification in CI/CD. Eliminates NonDeterministicWorkflowPolicy errors, replay divergence, and state corruption across distributed asynchronous workers undergoing rolling deployments.

Blocks:Unversioned Workflow Topology Mutations and Non-Deterministic Runtime Operations Causing Production Replay Panics
Targets:Cursor•Claude•Windsurf•Codex
pg17-streaming-direct-io-buffer-guardrail
backendcritical

PostgreSQL 17 Streaming Direct I/O Buffer Pool Invariant

Enforces PostgreSQL 17 streaming I/O configurations and ring-buffer allocation invariants across high-throughput backend services. Prevents kernel page-cache duplication, dirty write stalls, and NVMe bus contention during concurrent high-volume sequential scans and OLTP transactions.

Blocks:Unbounded Sequential Scans and Default Direct I/O Mismatches Inducing OS Cache Double-Buffering
Targets:Cursor•Claude•Windsurf•Codex
bun-native-socket-pool-lifecycle-invariant
backendcritical

Bun 1.2 Native TCP & UDS Socket Connection Pool and Zero-Copy Lifecycle

Enforces deterministic connection reuse, fixed-size ring buffer pooling, and zero-copy byte transport across Bun 1.2 native TCP (`Bun.connect`) and Unix Domain Socket (UDS) IPC boundaries. Prevents cross-boundary V8/JSC GC thrashing, socket handle exhaustion, and heap fragmentation under multi-gigabit throughput workloads.

Blocks:Ephemerally allocating `Bun.connect` handlers and cloning dynamic ArrayBuffers per-transaction without backpressure pooling
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-worker-thread-boundary-loop-starvation-guardrail
backendcritical

FastAPI AnyIO Worker Thread Boundary and Event Loop Starvation Guardrail

Enforces strict physical boundaries between the asyncio event loop, AnyIO worker thread pools, and process pools in FastAPI applications. Prevents synchronous legacy I/O drivers, unbuffered disk operations, and heavy CPU-bound serialization from monopolizing the event loop tick and inducing severe cascading tail-latency under burst concurrency.

Blocks:Executing blocking synchronous I/O or heavy CPU-bound parsing directly within `async def` endpoints, starving the single-threaded asyncio event loop.
Targets:Cursor•Claude•Windsurf•Codex
pg17-json-table-workmem-ceiling
backendcritical

PostgreSQL 17 JSON_TABLE Execution Memory Bounds & WorkMem Invariants

Enforces transaction-scoped work_mem ceilings and chunked ingestion during PostgreSQL 17 JSON_TABLE columnar parsing. Prevents catastrophic backend OOM kills under concurrent high-throughput SQL/JSON unpack operations by bounding plan-node allocation buffers and eliminating unbounded NESTED PATH projections.

Blocks:Global Unbounded Ingestion and Unconstrained NESTED PATH Projections in JSON_TABLE
Targets:Cursor•Claude•Windsurf•Codex
temporal-workflow-determinism-and-patch-versioning
backendcritical

Temporal Durable Execution Determinism and Replay Versioning Invariants

Enforces strict static determinism barriers prohibiting non-deterministic system clocks, random generators, native timers, and direct I/O inside Temporal workflow scopes. Mandates deterministic Temporal SDK primitives and structural versioning via workflow.patched() to guarantee identical event history replays across multi-year long-running workflows.

Blocks:Executing Non-Deterministic Host Runtime Calls and Unversioned Workflow DAG Mutations
Targets:Cursor•Claude•Windsurf•Codex
go-124-swiss-map-cacheline-alignment
backendcritical

Go 1.24 Swiss Table Map Allocation and Cache-Line Invariant

Enforces strict cache-line alignment and false-sharing isolation when utilizing Go 1.24's Swiss Table-backed runtime maps in concurrent workloads. Mandates explicit memory padding, per-core sharding, and allocation pre-sizing to maximize SIMD control-byte probing throughput without triggering CPU L1/L2 cache-line bouncing.

Blocks:Global Mutex Contention and Unaligned Struct Packaging over Shared Swiss Map Partitions
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-guardrail
backendcritical

Postgres 17 JSON_TABLE Memory Projection & Bounded Expansion Standard

Mandates strict memory guardrails, column dimension bounds, and traversal depth limits when using Postgres 17 JSON_TABLE row projection functions. Prohibits unbounded NESTED PATH expansions over high-volume hierarchical JSON payloads that cause catastrophic backend work_mem exhaustion and OOM kills.

Blocks:Unbounded Hierarchical JSON_TABLE Expansion Inducing Postgres Backend Out-Of-Memory Crashes
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-v1-rapid-reset-mitigation-standard
backendcritical

Axum & Hyper v1 Deterministic HTTP/2 Rapid Reset Invariant

Enforces strict HTTP/2 and HTTP/3 stream lifecycle budgets on Axum and Hyper v1 services to eliminate CVE-2023-44487 Rapid Reset attacks. Requires deterministic per-connection reset quotas, bounded stream concurrency, and explicit connection shutdown when reset frequency thresholds are breached.

Blocks:Default Axum/Hyper Server Configuration Permitting Unbounded RST_STREAM Cancellation Floods
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-kernel-backpressure-standard
backendcritical

Bun 1.2 Native WebSocket Kernel Backpressure and Buffer Draining Standard

Mandates explicit C-level memory buffer monitoring and drain-event orchestration for Bun native WebSockets. In high-throughput streaming pipelines, blind calls to ws.send() accumulate un-drained packets inside native uWebSockets C++ ring buffers outside the JavaScript runtime heap, evading V8/JSC GC thresholds and triggering silent OS OOM termination. This standard enforces watermarked backpressure control, producer pause/resume states, and bounded client disconnect thresholds.

Blocks:Blind ws.send() invocation during high-throughput streaming without bufferedAmount tracking and drain lifecycle handling.
Targets:Cursor•Claude•Windsurf•Codex
openfga-contextual-tuples-transaction-isolation-standard
backendcritical

OpenFGA Contextual Tuples Transaction Isolation & TOCTOU Eradication Standard

Mandates that ephemeral contextual tuples provided to OpenFGA authorization checks are strictly derived from and bound to transactional database snapshots (or locked rows). This eradicates Time-of-Check to Time-of-Use (TOCTOU) authorization vulnerabilities where parent reassignment, tenancy migration, or ownership transfer occurs concurrently between check evaluation and database mutation.

Blocks:Evaluating Ephemeral Contextual Tuples from Unlocked or Pre-Transaction Cache Prior to Mutation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-memory-budgeting-standard
backendcritical

Postgres 17 Streaming Read-Ahead & Shared I/O Memory Isolation Standard

Enforces strict session-level memory limits, worker pool segregation, and controlled asynchronous read-ahead buffer sizing for PostgreSQL 17 streaming I/O. Prevents vectorized parallel sequential scans and aggressive prefetching buffers from saturating shared disk rings and evicting concurrent transactional OLTP working sets.

Blocks:Unbounded Parallel Scans and Global Streaming Read-Ahead Saturating Shared Buffer Pools for Concurrent OLTP
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-memory-context-clamping-guardrail
backendcritical

Postgres 17 Backend Memory-Context Clamping & Preemptive Resource Guardrails

Enforces strict query-level memory quotas and leverages PostgreSQL 17 enhanced memory context introspection (pg_backend_memory_contexts) to prevent Linux OOM-killer invocations. Requires programmatic session-level clamping of work_mem and statement_timeout alongside proactive termination of runaway memory-consuming analytical queries. Prevents uncontrolled backend memory growth across complex hash joins, materializations, and sort operations.

Blocks:Global Unclamped work_mem Allocation Leading to Backend Process Linux OOM Evictions
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-guardrail
backendcritical

FastAPI 0.115+ AnyIO Structured Concurrency and TaskGroup Isolation

Enforces strict structured concurrency in FastAPI 0.115+ via AnyIO TaskGroups to ensure deterministic cancellation trees and bounded resource lifecycles. Forbids unmanaged asyncio.create_task and legacy BackgroundTasks for core business operations, completely eliminating dangling child coroutines, silent task drop, and unhandled nursery exceptions.

Blocks:Fire-and-Forget Coroutine Spawning via asyncio.create_task and Unbound BackgroundTasks
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cooperative-cancellation-barrier
backendcritical

Axum 0.8 State Extractors & Tokio Task Cooperative Cancellation Barrier

Enforces deterministic cancellation boundaries across Axum 0.8 request pipelines and background Tokio worker tasks. Prevents orphaned database transactions, unbounded I/O streams, and thread starvation when HTTP/3 clients abruptly drop connections or trigger stream resets (RST_STREAM). Mandates RAII rollback guards and explicit tokio_util::sync::CancellationToken propagation across async boundaries.

Blocks:Orphaned Tokio Tasks and Leaked Connection Handles on Abrupt HTTP/3 Client Resets
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-work-mem-spill-prevention
backendcritical

Postgres 17 SQL/JSON JSON_TABLE Memory Boundary and Work-Mem Spill Prevention Guardrail

Enforces deterministic batch chunking, explicit projection boundaries, and work_mem allocation guards for Postgres 17 JSON_TABLE transformations in CDC ingest paths. Eliminates silent temp-file disk thrashing by preventing cardinality misestimates and unbounded hash joins from exceeding memory limits.

Blocks:Unbounded Dynamic JSON_TABLE Projection Spilling to Temp Disk Files During CDC Ingestion
Targets:Cursor•Claude•Windsurf•Codex
go-chi-wazero-wasm-isolation-boundary
backendcritical

Strict In-Process Wazero WASM Isolation for Multi-Tenant Chi Middleware

Enforces strict memory page ceilings, lifecycle sandboxing, and secure host function boundaries for dynamic request enrichment plugins executed via Wazero in Go 1.24 Chi HTTP pipelines. Prohibits global mutable runtime modules and unbound host function exports to eliminate cross-tenant data bleed and noisy-neighbor OOM panics while preserving zero-IPC performance.

Blocks:Executing Multi-Tenant Plugins on Shared Wazero Module Instances with Unbounded Memory and Raw Pointer Host Exports
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-replication-slot-sync-standard
backendcritical

PostgreSQL 17 Failover Logical Replication Slot Synchronization Invariant

Enforces PostgreSQL 17 native logical replication slot synchronization across physical High Availability (HA) replicas. Prevents event loss, catastrophic replay storms, and corrupted downstream stream offsets during replica promotion by requiring failover-enabled slots and synchronized standby barriers.

Blocks:Unflagged Logical Slot Creation and Missing Standby Synchronization Barriers
Targets:Cursor•Claude•Windsurf•Codex
pydantic-v2-rust-core-strict-validation
backendcritical

Pydantic V2 Rust-Core Strict Ingestion Boundary Standard

Mandates compile-level strict validation mode and direct binary deserialization via pydantic-core at all external network boundaries. Eliminates silent implicit type coercion vulnerabilities and bypasses Python GIL runtime serialization bottlenecks by delegating parsing directly to the Rust core.

Blocks:Lax Type Coercion and Intermediate Dict Allocation at Network Boundaries
Targets:Cursor•Claude•Windsurf•Codex
nats-jetstream-deterministic-deduplication-guardrail
backendcritical

Deterministic Deduplication and Optimistic Concurrency Invariants in NATS JetStream 2.11

Mandates deterministic Nats-Msg-Id generation and optimistic concurrency headers across all publisher operations in NATS JetStream 2.11. Eliminates phantom state drifts and dual-write anomalies across geo-distributed clusters by enforcing stream-level deduplication windows and aggregate sequence invariants instead of relying on distributed two-phase locking.

Blocks:Publishing State-Altering Events with Ephemeral UUIDs and Missing Concurrency Control Headers
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-buffer-pinning-alignment-guardrail
backendcritical

Bun 1.2 Native FFI Concurrent Buffer Pinning & Memory Alignment Guardrail

Prevents garbage collector memory-compaction race conditions, invalid pointer invalidations, and unaligned memory traps when zero-copy passing typed array buffers between Bun's JavaScriptCore runtime and native C/Rust shared libraries. Enforces explicit pointer lifetime pinning, explicit memory boundary alignment verification, and lifecycle-bounded execution across asynchronous FFI task boundaries.

Blocks:Zero-Copy Transient TypedArray Passing Without Explicit Memory Alignment and Reference Pinning Across Async Native Boundaries
Targets:Cursor•Claude•Windsurf•Codex
nats-jetstream-deduplication-window-invariant
backendcritical

NATS JetStream 2.11 Clustered Message Deduplication Window Invariant

Enforces deterministic, non-zero deduplication windows and client-side monotonic Nats-Msg-Id generation across Raft-replicated JetStream streams. Prevents at-least-once message explosion and silent double-execution during network partitions, cluster failovers, and slow consumer re-transmissions. Mandates aligned StreamConfig duplicate_window durations that match or exceed max consumer ack wait and producer retry horizons.

Blocks:Publishing to JetStream without Nats-Msg-Id headers or using duplicate_window shorter than producer retry timeouts
Targets:Cursor•Claude•Windsurf•Codex
go-124-swissmap-cache-reclamation-invariant
backendcritical

Go 1.24 SwissMap Cache Memory Reclamation and Bucket Retention Invariant

Go 1.24 replaces internal map internals with a high-performance Swiss Table implementation that reduces group overhead but retains allocated group control words and table capacity across high-churn clear/delete operations. High-throughput concurrent caches must mandate epoch-based generation rotation or explicit map reconstruction rather than unbounded clear/delete iterations, avoiding permanent heap inflation and GC scan tail-latency. Strict non-blocking read paths and atomic pointer rotations are enforced to guarantee deterministic runtime GC sweeps.

Blocks:Unbounded map clearance and key deletion in high-churn Go 1.24 caches causing zombie group table retention and GC scan overhead.
Targets:Cursor•Claude•Windsurf•Codex
iceberg-v3-rest-catalog-occ-fencing
backendcritical

Apache Iceberg v3 REST Catalog OCC Commit Fencing & Monotonic State Validation

Enforces strict Optimistic Concurrency Control (OCC) fencing and monotonic sequence assertion on Apache Iceberg v3 REST catalog commit operations. Prevents silent data corruption, phantom table updates, and lost commits caused by concurrent writes across heterogeneous compute engines (e.g., Spark, Trino, Flink). Catalogs and clients must validate metadata-log lineage, sequence numbers, and assert-table-uuid checks atomically before committing table updates.

Blocks:Blind Catalog Pointer Overwrites and Missing Sequence Number Fencing in REST Catalog Commit Handlers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-parallel-memory-guardrail
backendcritical

PostgreSQL 17 JSON_TABLE Parallel Worker Memory & Projection Guardrail

Enforces strict memory governance and cursor streaming on PostgreSQL 17 JSON_TABLE evaluations during parallel query execution. Prevents runaway per-worker work_mem consumption and Out-Of-Memory (OOM) backend crashes caused by unindexed lateral unwrapping of deeply nested JSONB payloads across parallel gather nodes.

Blocks:Unbounded Parallel JSON_TABLE Projections on Unindexed JSONB Payloads Exhausting Per-Worker work_mem
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-data-anti-replay-ring-buffer
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Ring Buffer Invariant

Enforces deterministic prevention of QUIC/HTTP/3 0-RTT early-data replay amplification attacks across stateless Go Chi services. Guarantees that mutating HTTP verbs reject early data with HTTP 425 Too Early and safe early-data requests are validated via an in-memory lock-free partitioned sliding ring buffer strike register without introducing cross-node round-trip latencies.

Blocks:Executing State-Mutating or Unfiltered 0-RTT Early Data Without Monotonic Strike-Register Replay Validation
Targets:Cursor•Claude•Windsurf•Codex
wasi-0-2-capability-sandbox-isolation
backendcritical

Deterministic Capability-Based Sandbox Isolation for WASI 0.2 Plugins

Third-party guest WebAssembly components executing under WASI 0.2 must strictly adhere to capability-based security invariants by eliminating ambient host authority. Host runtimes must construct explicit, bounded WASI contexts with pre-opened virtual directories, restricted socket interfaces, and deterministic resource limiters to prevent host breakout and resource exhaustion.

Blocks:Ambient Host Privilege Leakage via Unconstrained WASI Context Inheritance
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-sync-postgresql-17-lo-801
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization Invariant

PostgreSQL 17 introduces native logical replication slot failover support via the failover parameter and pg_sync_replication_slots(). Backend orchestration and database clients must ensure logical slots are explicitly flagged with failover = true and synchronized across physical standbys before acknowledging primary promotion, preventing silent data duplication or permanent WAL subscriber stalls.

Blocks:Creating Logical Slots Without Failover Capabilities or Promoting Physical Standbys Without Verifying Slot Synchronization
Targets:Cursor•Claude•Windsurf•Codex
bun-v12-clustered-websocket-backpressure-drain-guardrail
backendcritical

Bun 1.2 Native Clustered WebSocket Memory-Drain Backpressure Invariant

Enforces deterministic high-watermark socket buffering and non-blocking backpressure drain policies for Bun 1.2 clustered native WebSockets. Eliminates silent OOM crashes, buffer starvation, and runaway worker heap allocation under slow-consumer scenarios by requiring explicit return code evaluation from `ws.send()` and coordinated `drain` lifecycle handler implementation.

Blocks:Unchecked Fire-and-Forget `ws.send()` Leading to Silent Out-Of-Memory Panics in Bun Worker Clusters
Targets:Cursor•Claude•Windsurf•Codex
fastapi-stream-backpressure-cancellation-contract
backendcritical

FastAPI Streaming Response Disconnect Handling and Resource Cancellation Contract

Enforces deterministic cancellation of upstream compute, external LLM streams, and database server-side cursors upon downstream HTTP/TCP client disconnection in FastAPI. Prevents catastrophic resource exhaustion and dangling background tasks by mandating periodic ASGI disconnect polling or structured async generator cleanup semantics.

Blocks:Unchecked Async Streaming Yields Leading to Dangling LLM Inferences and Database Cursor Leaks
Targets:Cursor•Claude•Windsurf•Codex
drizzle-read-your-writes-lsn-consistency
backendcritical

Drizzle ORM Read-Your-Writes Causal Consistency via LSN Tracking

Enforces causal consistency across distributed primary-replica database topologies when using Drizzle ORM. Guarantees that client sessions read their own writes by capturing commit WAL LSN tokens on mutations and routing read queries to the primary if replicas have not caught up to the required LSN state.

Blocks:Unsynchronized Replica Reads Leading to Stale Data Reads Immediately After Writes
Targets:Cursor•Claude•Windsurf•Codex
go-chi-graceful-shutdown-stream-drain
backendcritical

Go Chi Deterministic Graceful Shutdown & In-Flight Stream Drain Invariant

Enforces deterministic graceful shutdown semantics for Go Chi services handling HTTP/1.1 and HTTP/2 multiplexed streams. Prevents dropped client streams, unbuffered transport frame truncations, and orphan goroutines by unifying BaseContext cascading, explicit stream cancellation listeners, and synchronized drain timeouts.

Blocks:Uncoordinated http.Server.Shutdown with Orphan Streaming Goroutines and Unbound HTTP/2 Truncation
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-task-tracker-graceful-draining
backendcritical

Axum 0.8 Tokio Task-Tracker and Graceful Draining Standard

Enforces deterministic two-phase graceful shutdown in Axum 0.8 services using tokio-util TaskTracker and CancellationToken. Prevents HTTP/2 stream truncation, uncommitted database transaction abandonment, and abrupt socket terminations during rapid Kubernetes SIGTERM scale-down events.

Blocks:Untracked Background Spawns and Instant Process Exit on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-hnsw-quantization-invariants
backendcritical

Postgres 17 pgvector Scaled HNSW Halfvec Quantization Standards

Mandates half-precision scalar quantization (halfvec) and strict hyperparameter boundaries for HNSW indexes on high-dimensional vector embeddings in Postgres 17. Eliminates unconstrained shared buffer consumption, maintenance memory exhaustion, and connection starvation during concurrent write-heavy vector ingestion pipelines.

Blocks:Unquantized Float32 HNSW Indexing Under High-Concurrency Vector Ingestion
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-serialization-boundary-invariant
backendcritical

FastAPI Pydantic v2 Compiled Boundary Serialization and ORM Leak Prevention

Enforces compiled C/Rust-level serialization boundaries via Pydantic v2's pydantic-core rather than raw Python dictionary hydration or unvalidated ORM pass-through. Mandates explicit `response_model` definitions with `from_attributes=True` and strict field exclusion to eliminate arbitrary internal ORM attribute leaks (e.g., hashed passwords, internal foreign keys) while reducing CPU overhead and latency. Prohibits manual `.dict()` or unvalidated `dict(orm_instance)` dumps across public HTTP egress boundaries.

Blocks:Leaking sensitive ORM attributes and degrading serialization throughput via ad-hoc dictionary conversions or unconstrained model returns
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-aio-hnsw-vector-guardrail
backendcritical

PostgreSQL 17 Direct AIO HNSW Vector Pipeline Guardrail

Enforces direct asynchronous I/O (AIO) utilization for high-dimensional vector search on PostgreSQL 17 using pgvector. Eliminates backend thread blocking and kernel context-switch stalls during massive HNSW graph traversals by guaranteeing proper connection pool settings, vectorized batching, and kernel-level io_uring/posix AIO prefetch alignment.

Blocks:Unbuffered Synchronous Sequential Scans and Thread Starvation on HNSW Vector Traversals
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-messageport-transfer-invariant
backendcritical

Bun 1.2 Worker MessagePort Zero-Copy Structured-Cloning Transfer Invariant

Enforces strict zero-copy memory transfers across Bun 1.2 multi-threaded Worker contexts via MessagePort and Web Worker APIs. Guarantees linear memory ownership transfer using Transferable ArrayBuffer instances, preventing severe serialization latency, GC pressure, and race conditions on detached memory buffers.

Blocks:Implicit Structured-Clone Payload Duplication and Post-Transfer Mutation of Detached Buffers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-zero-copy-ingestion
backendcritical

FastAPI Pydantic V2 Zero-Copy Buffer Ingestion Invariants

Enforces direct memory buffer ingestion in high-throughput FastAPI endpoints handling multi-megabyte payloads. Circumvents default starlette/pydantic byte-string reallocations by streaming raw bytes into Pydantic v2's Rust-backed deserializer (`pydantic-core`) or memory-mapped buffers. Prevents fatal Out-Of-Memory (OOM) amplification and high Garbage Collection pause spikes under sustained ingestion loads.

Blocks:Implicit string/bytes payload buffering triggering 4x memory amplification during Pydantic schema parsing
Targets:Cursor•Claude•Windsurf•Codex
apache-iceberg-partition-evolution-compatibility-guardrail
backendcritical

Apache Iceberg Partition Evolution and Schema Invariant Guardrail

Enforces non-breaking schema and hidden partition evolution invariants on Apache Iceberg lakehouse tables to guarantee deterministic query engine scan planning. Mandates void transforms for retired partition fields, preserves source column field IDs, and strictly prevents physical partition rewrites or field ID reassignments that cause query pruning degradation across distributed engines (Trino, Spark, DuckDB).

Blocks:Mutating existing partition field specs in-place or re-ordering schema field IDs during Iceberg partition updates
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-free-threaded-state-isolation
backendcritical

FastAPI 0.115+ Free-Threaded (Python 3.13t) State Isolation & Thread-Safety Standard

Guarantees strict request context encapsulation, thread isolation, and memory-safe shared state under Python 3.13 free-threaded (GIL-disabled, PEP 703) runtimes. Prevents severe race conditions, cross-request state leakage, and memory corruption caused by legacy assumptions of GIL-backed atomicity.

Blocks:Relying on Implicit GIL Atomicity and Mutable Global Singletons in Free-Threaded Async Execution
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-zero-rtt-replay-guardrail
backendcritical

Go 1.24+ Chi HTTP/3 0-RTT Early-Data Anti-Replay Guardrail

Enforces RFC 8470 early-data verification and rejection on state-mutating HTTP methods over QUIC/HTTP/3 in Go Chi routers to prevent 0-RTT replay vulnerabilities. Rejects unsafe requests arriving in 0-RTT early data with HTTP 425 Too Early before executing any business logic. Ensures non-idempotent operations cannot be replayed across networks by eavesdroppers capturing initial QUIC flights.

Blocks:Allowing State-Mutating Handlers to Process QUIC 0-RTT Early Data Without HTTP 425 Rejection
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-partition-iterative-filter-pushdown
backendcritical

pgvector 0.8+ / Postgres 17 Partition-Pruned Iterative HNSW Scan Invariant

Requires strict partition boundary pushdown and explicit iterative HNSW scan configuration in pgvector 0.8+ and Postgres 17. Omitting partition keys or relying on unindexed metadata predicates forces HNSW iterative traversal to exhaust candidate queues and fall back to multi-second unindexed sequential scans.

Blocks:Global Unpartitioned Vector Search with Unindexed Post-Filters Triggering Sequential Scans
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-streaming-backpressure-standard
backendcritical

Axum 0.8 Tokio Cooperative Task Budgeting and Streaming Backpressure Guardrail

Enforces strict bounded channels, explicit Tokio cooperative task budget yielding, and client-driven backpressure on all streaming HTTP response pipelines in Axum 0.8. Eliminates Tokio thread starvation, unbounded heap growth, and runaway producer tasks when downstream clients read slowly or disconnect prematurely.

Blocks:Unbounded Channel Buffering and Tight Serialization Loops in Axum Streaming Endpoints
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-socket-splice-invariant
backendcritical

Bun 1.2 Zero-Copy TCP Socket Splice Pipeline Invariant

Mandates kernel-level zero-copy TCP socket piping in Bun edge proxy gateways to prevent userspace buffer allocations and JavaScript heap thrashing. Enforces direct socket pipe chaining over manual chunk aggregation in event listeners to maintain high-throughput kernel splicing.

Blocks:Userspace Buffer Intermediation in Proxy Sockets Inducing High GC Pressure and Kernel Transition Overhead
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-standby-failover-slot-sync-standard
backendcritical

PostgreSQL 17 Failover Slot Sync & CDC Continuity Guardrail

Enforces PostgreSQL 17 native logical replication failover slot synchronization and LSN progression controls across high-availability clusters. Guarantees logical replication slots survive automated primary failovers without CDC event stream duplication, un-replicated transaction loss, or pipeline restart panics.

Blocks:Creating un-synchronized logical slots without failover flags and standby_slot_names coordination
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-goroutine-lifecycle
backendcritical

Go Chi Structured Context Deadline & Goroutine Tree Lifecycle Propagation

Mandates strict structured concurrency and cancellation propagation from Chi HTTP request contexts to all downstream goroutines and I/O clients. Prevents orphaned background operations, memory leaks, and database connection pool exhaustion when clients disconnect or streaming requests terminate prematurely.

Blocks:Detached Background Context Spawning and Goroutine Leaks in Chi HTTP Handlers
Targets:Cursor•Claude•Windsurf•Codex
axum-08-typed-state-graceful-draining-production-standard
backendcritical

Axum 0.8 Typed State Extraction & Graceful Connection Draining Invariant

Enforces compile-time type-safe sub-state extraction via FromRef and deterministic connection draining bounded by hard termination deadlines in Axum 0.8. Guarantees leak-free thread handoffs and prevents orchestrator SIGKILL aborts during zero-downtime rolling deployments.

Blocks:Runtime Extension Extraction Failures and Unbounded Rolling Deploy Connection Freezes
Targets:Cursor•Claude•Windsurf•Codex
pg17-streaming-vacuum-freeze-horizon-management
backendcritical

Postgres 17 Streaming Vacuum & Proactive XID Horizon Management

Enforces strict Transaction ID (XID) horizon tracking, adaptive per-table freeze limits, and Postgres 17 radix-tree vacuum buffer controls for high-throughput append-only workloads. Eliminates catastrophic stop-the-world anti-wraparound vacuum spikes by decoupling freeze cycles from generic autovacuum defaults and utilizing streaming memory management.

Blocks:Default Autovacuum Configuration on Multi-Terabyte Append Tables Causing Emergency Anti-Wraparound I/O Saturation
Targets:Cursor•Claude•Windsurf•Codex
clickhouse-arrow-flight-sql-zero-copy-ingestion-standard
backendcritical

ClickHouse Arrow Flight SQL Zero-Copy Stream Ingestion Standard

Enforces direct columnar memory transfer from microservice partitions to ClickHouse analytics engines via Apache Arrow Flight SQL. Eliminates CPU serialization bottlenecks, heap memory amplification, and GC pressure by prohibiting row-by-row transformation and JSON string serialization during ingestion pipelines.

Blocks:Hydrating columnar memory buffers into row objects or JSON payloads prior to ingestion
Targets:Cursor•Claude•Windsurf•Codex
nextjs-15-dynamic-io-cache-determinism
backendcritical

Next.js 15 Dynamic I/O Cache Determinism & Uncached IO Quarantine

Enforces strict isolation between static prerenders and dynamic runtime operations under Next.js 15 Dynamic I/O (experimental.dynamicIO). Guarantees that uncached operations like raw database queries, cookies, and headers are quarantined behind explicit connection boundaries and Suspense fallbacks, while deterministic data paths leverage explicit 'use cache' directives with deterministic cacheLife and cacheTag declarations.

Blocks:Leaking Dynamic Primitives or Uncached Async I/O into Prerenderable Component Subtrees
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-bounds
backendcritical

Deterministic Memory Quotas and Disk-Spill Prevention for Postgres 17 JSON_TABLE

Enforces deterministic work_mem allocation and chunked streaming execution for Postgres 17 JSON_TABLE projections. Prevents uncontrolled temp file disk spilling and worker process OOM terminations when transforming high-throughput semi-structured JSON payloads into relational tuples.

Blocks:Monolithic In-Memory JSON Deserialization and Unbounded Projections Inducing Temp Disk Spilling
Targets:Cursor•Claude•Windsurf•Codex
fastapi-taskgroup-structural-isolation-standard
backendcritical

FastAPI Async Native TaskGroup Concurrency Structural Isolation

Enforces structured concurrency invariants across FastAPI asynchronous request handlers using Python 3.12+ asyncio.TaskGroup. Mandates fail-fast cooperative cancellation, strict ExceptionGroup unwrapping, and deterministic cleanup to eliminate orphaned background coroutines and unbounded connection leaks during fan-out execution.

Blocks:Orphaned coroutine leakage and silent background execution via asyncio.gather with return_exceptions or unmanaged create_task fan-out
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-async-resource-drain-standard
backendcritical

FastAPI Lifespan Async Resource Cleanup & Signal Drain Standard

Mandates strict async resource lifecycle management via FastAPI lifespan context managers to prevent socket leaks, aborted transactions, and dropped traces during Kubernetes SIGTERM rolling deployments. Guarantees that in-flight requests, connection pools, streaming tasks, and telemetry exporters safely drain and shut down within bounded timeouts.

Blocks:Unmanaged background tasks and deprecated on_event hooks abruptly severed by SIGTERM causing orphaned connections and corrupted state
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-concurrent-merge-deterministic-row-locking-standard
backendcritical

Postgres 17 Concurrent MERGE Deterministic Row-Locking Standard

Enforces strict deterministic ordering on surrogate keys for all batch MERGE statements and their supporting Common Table Expressions (CTEs) in PostgreSQL 17. Unordered set processing across concurrent microservices causes interleaved tuple evaluation, triggering cyclic lock dependencies and fatal deadlocks (SQLSTATE 40P01). All batch inputs MUST be sorted by primary key prior to evaluation and locked in an ascending or uniform direction.

Blocks:Unordered Batch MERGE Ingestion Inducing Circular Lock Dependencies (Deadlock 40P01)
Targets:Cursor•Claude•Windsurf•Codex
drizzle-serverless-pgbouncer-prepared-statement-invariant
backendcritical

Drizzle ORM Serverless Transaction-Pool Prepared Statement Invariant

Enforces explicit disabling of named prepared statements and caps connection allocations when connecting Drizzle ORM to transaction-mode connection poolers such as PgBouncer, Supabase Pooler, or AWS RDS Proxy. Prevents SQLSTATE 42P05 collisions, cross-client state contamination, and ephemeral serverless socket exhaustion. Mandates strict client configuration for postgres.js, node-postgres, and serverless edge adapters.

Blocks:Instantiating Drizzle ORM in serverless runtimes using default driver options, triggering duplicate prepared statement exceptions (42P05) and pooler socket exhaustion.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-lifespan-standard
backendcritical

FastAPI AnyIO Structured Concurrency and Deterministic Lifespan Standard

Enforces structured concurrency across FastAPI application lifespans and asynchronous request boundaries via AnyIO TaskGroups. Eliminates orphan background task leaks, guarantees deterministic cancellation propagation, and prevents connection pool exhaustion or use-after-free conditions during process termination.

Blocks:Spawning detached asyncio.create_task coroutines and closing shared database or network pools prior to background task termination
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-synchronized-failover-slots-guardrail
backendcritical

Postgres 17 Synchronized Logical Replication Failover Slots Guardrail

Enforces Postgres 17 failover-ready logical replication slots by mandating the failover flag on physical primaries, configuring standby sync slots, and binding logical slots to physical replication standby slots via synchronized slot machinery. Guarantees zero change-data-capture message loss, prevents WAL bloat, and avoids downstream subscriber divergence during HA promotion.

Blocks:Creating unsynchronized logical slots without failover-enablement or standby synchronization in Postgres 17 topologies
Targets:Cursor•Claude•Windsurf•Codex
drizzle-zero-downtime-dual-write-schema-evolution
backendcritical

Drizzle ORM Zero-Downtime Dual-Write Schema Evolution Guardrail

Enforces the expand-and-contract pattern for Drizzle ORM schema modifications in high-concurrency 24/7 OLTP environments. Strictly prevents atomic in-place column renames, type mutations, and immediate column drops that cause downtime across phased application fleet rollouts. Mandates explicit multi-phase dual-writing, non-destructive migration sequences, and type-safe schema fallback readers.

Blocks:Executing in-place schema column renames or destructive drops directly in Drizzle ORM definitions during rolling deployments.
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tokio-select-cancellation-safe-state-standard
backendcritical

Axum 0.8 Tokio Select Cancellation-Safe State Standard

Enforces strict cancellation safety in Axum 0.8 asynchronous handlers using tokio::select! or timeout wrappers. Prevents dangling database transactions, orphaned resource handles, and half-consumed stream states caused by unpinned or non-cancellation-safe futures being dropped upon abrupt HTTP/3 client disconnection or socket termination.

Blocks:Dropping Non-Cancellation-Safe Futures in tokio::select! Branches During Client Disconnects
Targets:Cursor•Claude•Windsurf•Codex
pg17-json-table-memory-bounded-streaming-projection
backendcritical

PostgreSQL 17 SQL/JSON JSON_TABLE Memory-Bounded Streaming Projection

Enforces deterministic memory bounds and prevents query engine OOMs when projecting relational rows from massive semi-structured payloads using PostgreSQL 17 SQL/JSON JSON_TABLE. Mandates strict path projection, explicit column typing with fail-safe error handling, and transaction-local work_mem caps to guarantee streaming execution without intermediate AST materialization.

Blocks:Unbounded JSON Parsing via Full-Document LATERAL recordset Deserialization
Targets:Cursor•Claude•Windsurf•Codex
bun-clustered-worker-native-sql-isolation-standard
backendcritical

Bun 1.2 Clustered Worker Native SQL Connection Pool Isolation Standard

Enforces strict per-worker thread-pinned lifecycle management for native SQL clients (`bun:sqlite`, native Postgres/MySQL clients) when operating under Bun clustered worker topologies. Prevents cross-worker socket desynchronization, file descriptor leaks, and IPC contention by prohibiting shared connection handles across process or thread boundaries.

Blocks:Sharing or Hoisting Native Database Clients Across Bun Worker Thread Boundaries
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-parallel-hnsw-memory-pinning
backendcritical

Postgres 17 pgvector Parallel HNSW Index Build Memory Pinning Standard

Governs session-scoped maintenance_work_mem sizing and max_parallel_maintenance_workers allocation during parallel HNSW vector index builds in Postgres 17. Enforces strict aggregate memory safety invariants to prevent Out-Of-Memory (OOM) Linux kernel cgroup terminations on active transactional primaries. Mandates CONCURRENTLY index construction alongside ephemeral per-session GUC resets and query cancellation timeouts.

Blocks:Global maintenance_work_mem Oversubscription Spawning Unconstrained Parallel HNSW Worker OOM Evictions
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-adaptive-concurrency-shedding-standard
backendcritical

Axum 0.8 Adaptive Concurrency Limiting & Latency-Based Load Shedding

Production Axum 0.8 services must reject traffic dynamically via moving latency percentiles (such as Vegas or Gradient estimators) instead of static semaphore bounds. Static concurrency thresholds fail under tail-latency degradations, causing unbounded thread/task queuing, socket exhaustion, and cascading microservice collapse across distributed topologies.

Blocks:Static Semaphore Concurrency Limiting Causing Queue Saturation and Cascade Failures
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-allocation-bound
backendcritical

Postgres 17 JSON_TABLE Memory Allocation Bound & Execution Ceiling

Enforces strict transaction-scoped memory allocation limits and row-projection caps on PostgreSQL 17 SQL/JSON JSON_TABLE queries. Deeply nested JSON path evaluations and unbounded NESTED PATH clauses expand combinatorially in backend process memory, requiring explicit SET LOCAL work_mem boundaries and deterministic pagination to prevent backend Out-Of-Memory (OOM) process termination and connection drops.

Blocks:Unbounded JSON_TABLE Queries with Deeply Nested Paths Over Exhaustible Connection Pools
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-cancellation-shielding-standard
backendcritical

FastAPI AnyIO Client Disconnect Shielding & Atomic Pipeline Guardrail

Enforces non-cancellable shielded scopes and deterministic cleanups in multi-step asynchronous database transactions under FastAPI. Prevents orphaned mutations, unreleased connection pool slots, and transaction leaks when upstream HTTP clients disconnect mid-pipeline.

Blocks:Unshielded async transaction pipelines interrupted by client disconnects, causing orphaned mutations and DB pool starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-cdc-failover-slot-sync
backendcritical

Postgres 17 Failover Slot Synchronization Guardrail for CDC Pipelines

Mandates the use of Postgres 17 logical failover replication slots and synchronized standby slot topologies for all streaming Change Data Capture (CDC) architectures. Eliminates WAL retention truncation, stream corruption, and duplicate event storms across Kafka Connect and Debezium during primary-replica failovers.

Blocks:Creating Unsynchronized Logical Replication Slots Vulnerable to WAL Truncation During Failover
Targets:Cursor•Claude•Windsurf•Codex
temporal-workflow-determinism-patching-invariant
backendcritical

Temporal Workflow Determinism & Dynamic Patch Invariant Guardrail

Temporal workflows must maintain absolute event-history replay determinism across deployments. Any modification to existing workflow definitions—including reordering activities, mutating control-flow branches, or removing timers—must use deterministic versioning primitives (patched/deprecatePatch) to prevent non-deterministic execution exceptions and workflow corruption during rolling deployments.

Blocks:Mutating Workflow Control Flow or Schedule Commands Without Version Patching
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http2-sse-stream-lifecycle-guardrail
backendcritical

Go Chi HTTP/2 SSE Stream Lifecycle and Context Cancellation Standard

Enforces deterministic context cancellation propagation, unbuffered channel drain safeguards, and explicit client termination handling for HTTP/2 and Server-Sent Events (SSE) handlers in Go Chi. Eliminates silent goroutine leaks, orphan producers, and socket descriptor exhaustion triggered by premature client TCP/TLS RST or HTTP/2 stream cancellations.

Blocks:Unbounded Goroutine Spawning and Channel Deadlocks on Abrupt HTTP/2 Stream Cancellation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-propagation
backendcritical

Go Chi Upstream Context Deadline & Cascading RPC Cancellation Guardrail

Enforces strict derivation and propagation of HTTP request contexts across Chi middleware, database transactions, and outbound RPC trees. Guarantees deterministic cascading cancellation upon client disconnection or middleware timeout expiration, eliminating orphan goroutines and socket exhaustion under heavy degradation.

Blocks:Severing context trees with context.Background() and unmonitored goroutines during outbound RPC fan-out
Targets:Cursor•Claude•Windsurf•Codex
drizzle-multitenant-prepared-statement-cache-partitioning
backendcritical

Drizzle ORM Multi-Tenant Prepared Statement Isolation & Cache Partitioning

Mandates strict tenant-partitioned prepared statement caching and pool-aware execution strategies in multi-tenant Drizzle ORM architectures. Eliminates cross-tenant query plan pollution, statement name collisions under transaction pooling (PgBouncer), and process memory leaks in dynamic schema environments.

Blocks:Global Unpartitioned Prepared Statement Caching Across Dynamic Multi-Tenant Schemas
Targets:Cursor•Claude•Windsurf•Codex
go-chi-graceful-draining-goroutine-leak-prevention
backendcritical

Go 1.24 Chi Context-Driven Graceful Pipeline Draining & Goroutine Leak Invariants

Enforces strict context propagation, deterministic goroutine lifecycle bounding, and orderly HTTP server draining for Go 1.24 applications using the Chi router during Kubernetes SIGTERM rolling updates. Prevents dropped in-flight requests and lingering background workers by synchronizing OS signal captures, net/http server shutdowns, and context-chained channel pipelines with sync.WaitGroup barriers.

Blocks:Unbounded Background Goroutines, Detached Contexts, and Abrupt Process Termination Dropping In-Flight Workloads
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hnsw-concurrency-autovacuum-guardrails
backendcritical

Postgres 17 pgvector HNSW Concurrency & Autovacuum Budgeting Guardrails

Enforces deterministic table-level autovacuum budgeting, transaction batching, and resource isolation for pgvector HNSW indexes in PostgreSQL 17. Prevents OOM kills, index bloat, and catastrophic p99 vector search latency degradation caused by unthrottled concurrent inserts and autovacuum worker resource starvation.

Blocks:Default Autovacuum Settings with Unbounded Concurrent Inserts on HNSW Vector Tables
Targets:Cursor•Claude•Windsurf•Codex
pg17-subxact-overflow-logical-decoding-guardrail
backendcritical

PostgreSQL 17 Subtransaction Snapshot Overflow & Logical Decoding Protection

Enforces strict limits on nested subtransactions and savepoints to prevent PGPROC cache overflow (>64 subxacts) and SubtransSLRU lock contention. Eliminates catastrophic replication worker stalling, ReorderBuffer disk spillages, and replication lag during high-throughput Change Data Capture (CDC).

Blocks:Unbounded Iterative Savepoints Inside Long-Lived Transactions Triggering SLRU Thrashing
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-high-watermark-standard
backendcritical

Bun 1.2 Native WebSocket Backpressure High-Watermark Standard

Enforces strict backpressure monitoring on Bun native WebSockets using `ws.getBufferedAmount()` and the return value of `ws.send()`. Failure to handle backpressure allows slow or malicious consumers to force unbounded C++ heap buffer allocations in uWebSockets, causing process-level Out-Of-Memory (OOM) crashes under sustained broadcast loads.

Blocks:Unchecked Fire-and-Forget Streaming Over Saturated Bun WebSockets Inducing Native Heap Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-cancellation-cascade
backendcritical

Go Chi Context-Aware Deadline and Upstream Cancellation Cascade

Enforces strict propagation of Chi HTTP request contexts (`r.Context()`) down to all database drivers, external RPC calls, and derived child goroutines. Prevents orphaned goroutines, zombie connection leaks, and wasted compute across downstream dependencies when clients abort or disconnect prematurely.

Blocks:Ignoring r.Context() or Decoupling Background Goroutines with context.Background()
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-safe-mutex-invariants
backendcritical

Axum 0.8 Tokio Cancellation-Safe State Invariants & Mutex Hygiene

Enforces strict cancellation safety in Axum 0.8 handlers backed by Tokio runtimes. Prevents partial state mutation, deadlocks, and invariant corruption when HTTP/2 RST_STREAM or client TCP drops abort handlers mid-execution across .await points.

Blocks:Mutating shared zero-copy state across async yield points without cancellation-safe transactional rollback.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-asyncpg-lifespan-drain-protocol
backendcritical

FastAPI Lifespan Asyncpg Connection Pool Drain Protocol

Enforces graceful connection draining for asyncpg connection pools during FastAPI lifespan context teardown. Mandates bounded timeouts using asyncio.wait_for with explicit fallback to pool termination, preventing container shutdown hangs and orphaned in-flight database transactions during rolling orchestrator deployments.

Blocks:Unbounded Asyncpg Pool Closure or Missing Fallback Causing Hanging Lifespans and SIGKILL Socket Drops
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-serial-write-barrier
backendcritical

Bun 1.2 Native SQLite Multi-Threaded WAL Flush Synchronization Standard

Enforces a strict serial write barrier architecture with isolated read replicas when using Bun 1.2 native bun:sqlite across multi-threaded workers. Prohibits multi-isolate concurrent write transactions and uncoordinated WAL checkpoints that trigger SQLITE_BUSY locks, deadlocks, and WAL file bloat.

Blocks:Uncoordinated Multi-Isolate Write Connections and Arbitrary WAL Checkpoints Causing SQLITE_BUSY Lock Contention
Targets:Cursor•Claude•Windsurf•Codex
postgres17-json-table-nested-projection-memory-bounds
backendcritical

Postgres 17 JSON_TABLE Nested Projection Memory Bounds Guardrail

Enforces strict batching, Cartesian isolation, and memory bounding on Postgres 17 JSON_TABLE queries during high-throughput nested JSON ingestion. Uncoordinated multi-level NESTED PATH clauses expand intermediate tuple slots inside executor memory contexts, causing backend memory exhaustion and worker process termination. Application code must enforce ingestion chunk sizes, bounded path projections, and transactional work_mem thresholds.

Blocks:Unbounded Multi-Level NESTED PATH Projections Triggering Backend Worker OOM Crashes
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-lifespan-graceful-draining-invariant
backendcritical

FastAPI Async Lifespan Graceful Draining & Deterministic Cancellation Trees

Enforces deterministic cancellation trees, task registry draining, and socket flushing during container SIGTERM teardown within FastAPI async lifespans. Prohibits fire-and-forget unmanaged background tasks and out-of-order resource teardown to eliminate transaction corruption and dropped in-flight requests.

Blocks:Unmanaged Fire-and-Forget Coroutines Severed Mid-Flight During SIGTERM Container Eviction
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-propagation-standard
backendcritical

Go Chi Context Deadline Propagation and Client Abort Sentinel Guardrail

Mandates the strict propagation of Chi HTTP request contexts (`r.Context()`) across database drivers, cache layers, and fan-out worker goroutines. Prevents thread pool exhaustion, unmonitored orphan executions, and phantom database transactions caused by client dropouts.

Blocks:Discarding request contexts in handlers or detaching goroutines, leading to orphaned database workloads and connection pool starvation.
Targets:Cursor•Claude•Windsurf•Codex
temporal-deterministic-replay-patch-fencing
backendcritical

Temporal Workflow Deterministic Replay & Patch-Fencing Standard

Enforces strict determinism constraints and explicit event-history patch fencing for distributed state workflows. Prevents non-deterministic workflow execution corruption, deadlocks, and worker crashes caused by modifying active replay execution graphs without proper Temporal SDK patch primitives.

Blocks:Unfenced Workflow Mutation Inducing NonDeterministicWorkflowError During History Replay
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sharedarraybuffer-zero-copy-standard
backendcritical

Bun 1.2 Multi-Worker SharedArrayBuffer Zero-Copy and Atomic Memory Fences

Mandates zero-copy memory boundaries across Bun 1.2 Worker instances using SharedArrayBuffer and explicit Transferable objects to eliminate structured clone serialization latencies. Enforces strict synchronization invariants using the Atomics API to prevent data races and memory corruption in shared typed arrays.

Blocks:Implicit Structured Cloning and Unsynchronized Shared Memory Access in Multi-Threaded Workers
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-request-cancellation-drain
backendcritical

Axum 0.8 Tower Leaf-Node Request Cancellation and Socket Drain Invariant

Enforces deterministic downstream socket cleanup and prevents orphaned Tokio task leaks when HTTP/3 client streams abort mid-flight during backpressured operations. Mandates explicit cancellation propagation via tokens and guards across Tower leaf services and decoupled background tasks.

Blocks:Spawning Unmonitored Tokio Tasks and Ignoring Stream Abort Drops in Axum Request Pipelines
Targets:Cursor•Claude•Windsurf•Codex
pg17-combinebackup-manifest-sequencing-guardrail
backendcritical

PostgreSQL 17 pg_combinebackup Block Invariant and Manifest LSN Sequencing

Enforces strict monotonic LSN and manifest checksum validation across distributed storage tiers when constructing backup chains for PostgreSQL 17 native incremental backups. Prevents block-level corruption and divergence during synthetic full reconstruction via pg_combinebackup under concurrent WAL archiving and tier migration.

Blocks:Unordered Manifest Ingestion and LSN Window Gaps in Synthetic Full Backup Assembly
Targets:Cursor•Claude•Windsurf•Codex
bun-native-worker-arraybuffer-transfer-guardrail
backendcritical

Bun 1.2 Native Worker ArrayBuffer Zero-Copy Transfer Guardrail

Enforces deterministic ownership transfer of TypedArray underlying ArrayBuffers across Bun 1.2 native workers using explicit transfer lists. Disallows structured-cloning of binary payloads across thread boundaries, which triggers silent native heap re-allocation, uncoordinated dual-ownership, and severe native memory fragmentation under high I/O throughput. Mandates explicit detaching and zero-copy semantics via postMessage transfer lists.

Blocks:Implicit Structured Cloning of Large Binary Buffers Across Worker Boundaries Leading to Native Heap Bloat and Memory Fragmentation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-taskgroup-bounds
backendcritical

FastAPI AnyIO Structured Concurrency & TaskGroup Cancellation Boundaries

Enforces strict structured concurrency boundaries using AnyIO task groups and cancellation scopes in FastAPI endpoints. Prevents zombie background tasks, orphaned fan-out coroutines, and connection leaks when clients abruptly terminate HTTP or Server-Sent Events (SSE) connections.

Blocks:Spawning unparented asyncio tasks or using asyncio.gather without structured cancel scopes during HTTP client disconnects.
Targets:Cursor•Claude•Windsurf•Codex
bun-s3-streaming-zero-copy-backpressure-guardrail
backendcritical

Bun 1.2 Native S3 Streaming Zero-Copy Backpressure Standard

Enforces zero-copy stream piping for Bun 1.2 native S3 client uploads to prevent unconstrained V8/JSC heap allocation. Mandates direct linkage between incoming consumer HTTP request bodies or native file streams and native S3 target writers without intermediate JavaScript buffer allocation.

Blocks:Buffering HTTP Request Payloads into Memory Before Forwarding to S3 Multipart Uploads
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-memory-spooling-invariant
backendcritical

Postgres 17 CDC Logical Decoding Memory Quotas and Worker Parallelism Guardrail

Enforces strict memory allocation limits and streaming worker parallelism for PostgreSQL 17 logical replication and CDC pipelines. Prevents replication lag spikes, temporary disk spooling thrashing, and apply-worker head-of-line blocking during multi-gigabyte schema migrations and bulk writes.

Blocks:Unbounded Memory Spooling and Monolithic Apply Workers During Large-Scale Data Migrations
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-async-cancellation-drop-cleanup-invariant
backendcritical

Axum 0.8 & Tower Async Cancellation & Drop Cleanup Invariant

Enforces cancellation-safe handlers and deterministic drop mechanics across Axum 0.8 and Tower service pipelines. Ensures aborted client TCP connections and early drops immediately propagate down the future tree to abort downstream SQL/database operations, preventing connection pool exhaustion and phantom writes.

Blocks:Detaching or shielding uncancelable database futures from client drop notifications, causing ghost queries and connection pool starvation.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-replication-slot-synchronization-standard
backendcritical

PostgreSQL 17 Native Logical Replication Slot Failover Synchronization Standard

Enforces strict configuration and runtime verification of PostgreSQL 17 native failover-enabled logical replication slots. Prevents data loss, message duplication storms, and unrecoverable consumer drift in high-availability CDC pipelines by mandating 'failover = true' on slots and synchronizing physical standby slots before promoting secondary nodes.

Blocks:Unsynchronized Logical Slots Causing CDC Pipeline Invalidation and Lost Changes Post-Failover
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-runtime-addcleanup-finalizer-replacement
backendcritical

Go 1.24 runtime.AddCleanup Finalizer Replacement Standard

Mandates replacing legacy runtime.SetFinalizer with Go 1.24's runtime.AddCleanup across unmanaged OS descriptors and Cgo lifecycles. Eliminates multi-cycle GC retention, resurrection vulnerabilities, and serialized finalizer goroutine deadlocks by decoupling deallocation state from parent object references.

Blocks:Using runtime.SetFinalizer Induces Object Resurrection, Multi-Cycle GC Leaks, and Serialized Goroutine Head-of-Line Blocking
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-task-cancellation-shielding
backendcritical

Axum 0.8 Tokio Task Cancellation Shielding Standard

Enforces architectural shielding for in-flight side-effecting operations in Axum 0.8 against client TCP disconnects. In Hyper and Axum, dropping an HTTP connection immediately drops the handler future at its current yield point, risking partial distributed state mutations, dangling external API calls, and incomplete transactional boundaries.

Blocks:Awaiting multi-step transactional side-effects directly within unshielded Axum HTTP handler futures
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-hnsw-memory-budgeting
backendcritical

Postgres 17 pgvector HNSW Dynamic Memory and Maintenance Budget Guardrail

Enforces strict session-scoped memory budgeting and connection concurrency controls when building and streaming into pgvector HNSW indexes in Postgres 17. Prevents host kernel OOM kills by systematically bounding maintenance_work_mem, constraining max_parallel_maintenance_workers, and governing working memory during high-throughput vector ingestion.

Blocks:Global Unbounded maintenance_work_mem and Unthrottled Streaming Vector Ingestion Inducing Process-Wide OOM
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-async-streaming-serialization
backendcritical

FastAPI & Pydantic v2 Async Chunked Stream Rust-Level Serialization Guardrail

Mandates direct, unbuffered serialization via Pydantic v2's Rust-backed model_dump_json() within asynchronous generators feeding StreamingResponse or Server-Sent Events (SSE). Prohibits intermediate Python dictionary materialization and synchronous standard library json.dumps calls to eliminate Global Interpreter Lock (GIL) contention, event-loop starvation, and heap bloat on infinite or large-scale data streams.

Blocks:Intermediate Dict Materialization and Synchronous JSON Serialization in Async Stream Generators
Targets:Cursor•Claude•Windsurf•Codex
fastify-v5-asynclocalstorage-context-isolation-standard
backendcritical

Fastify v5 AsyncLocalStorage Request Context Isolation & Anti-Bleed Standard

Enforces strict AsyncLocalStorage boundary encapsulation across Fastify v5 request lifecycles to prevent cross-tenant telemetry, logging, and security context leakage. Mandates execution within async hook boundaries (onRequest/preHandler) using explicit `als.run()` scopes instead of naive `als.enterWith()`, ensuring determinism across asynchronous continuations, connection pool handoffs, and microtask queues.

Blocks:Ambient ALS Mutability via enterWith() and Hook De-synchronization Leading to Cross-Tenant Context Pollution
Targets:Cursor•Claude•Windsurf•Codex
go-synctest-concurrency-bubble-invariants
backendcritical

Go 1.24 synctest Concurrency Bubble Isolation and Deterministic Time Invariants

Mandates strict isolation of synthetic time bubbles when using Go 1.24 testing/synctest for concurrent and distributed systems testing. Prevents deadlocks and runtime panics caused by cross-bubble synchronization leakage, unconfined background goroutines, and unmocked real-world operating system I/O.

Blocks:Escaping synctest Bubbles via External Channels or Unmocked Real-Time System I/O
Targets:Cursor•Claude•Windsurf•Codex
pgvector-halfvec-hnsw-memory-guardrail-pgvector-0-8-hal-939
backendcritical

pgvector 0.8 Half-Vector HNSW Index Build Memory Guardrail

Enforces deterministic maintenance_work_mem boundaries and max_parallel_maintenance_workers constraints during pgvector 0.8 halfvec (fp16) HNSW index builds. Prevents Linux Out-Of-Memory (OOM) killer panics caused by unconstrained per-worker memory allocation multiplying across concurrent vector indexing pipelines.

Blocks:Global Unchecked maintenance_work_mem and Vector Casting During Parallel HNSW Indexing
Targets:Cursor•Claude•Windsurf•Codex
drizzle-edge-connection-pooling-prepared-statements
backendcritical

Drizzle ORM Edge Runtime Pooling and Prepared Statement Invariants

Mandates explicit connection pool sizing and prepared statement disabling when configuring Drizzle ORM across ephemeral edge runtimes and transaction poolers (PgBouncer/Supabase/Neon). Prevents connection starvation, 42P05 prepared statement collisions, and micro-VM memory exhaustion under high concurrency.

Blocks:Instantiating Per-Request Database Clients and Enabling Prepared Statements Through Transaction-Mode Connection Poolers
Targets:Cursor•Claude•Windsurf•Codex
iceberg-rest-catalog-clickhouse-zero-copy-invariants
backendcritical

Apache Iceberg REST Catalog and ClickHouse Zero-Copy Ingestion Invariants

Enforces strict optimistic concurrency control (OCC) commit protocols on Iceberg REST Catalog endpoints while managing ClickHouse zero-copy table attachments. Guarantees linearizable ACID metadata transitions, eliminates catalog split-brain states, and prevents orphaned object storage data files during concurrent sub-second analytical streaming writes.

Blocks:Unfenced Metadata Appends and Direct Object Storage Writes Bypassing REST Catalog CAS Contracts
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-invariant
backendcritical

Bun 1.2 Native WebSocket Backpressure & Auto-Paced Drain Invariant

Enforces strict backpressure handling and drain threshold auto-pacing on native Bun 1.2 WebSocket connections. Prevents silent C++ uSockets buffer accumulation, event-loop starvation, and native heap exhaustion under high-throughput concurrent loads by mandating backpressure state inspection and asynchronous stream suspension until native drain hooks fire.

Blocks:Unchecked Native ws.send() Broadcasting Without Drain Listeners or High-Water Mark Throttling
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hashjoin-adaptive-spill-memory-cap-standard
backendcritical

Postgres 17 Hash Join Adaptive Spill Memory-Cap Standard

Enforces deterministic per-query memory limits and spill-to-disk safeguards for multi-tenant analytical workloads in PostgreSQL 17. Guarantees that hash join allocations adaptively respect transaction-scoped work_mem and hash_mem_multiplier boundaries, preventing concurrent multi-tenant aggregations from triggering Linux kernel OOM (Out-Of-Memory) killer termination.

Blocks:Unbounded Hash Table Expansion Triggering Host-Level OOM Killer During Multi-Tenant Analytical Aggregations
Targets:Cursor•Claude•Windsurf•Codex
fastapi-sse-client-disconnect-backpressure-pipeline
backendcritical

FastAPI Async SSE Client Disconnect & Backpressure Propagation Standard

Mandates explicit client disconnect detection and active task cancellation within FastAPI Server-Sent Events (SSE) and StreamingResponse pipelines. Eliminates orphan upstream LLM generation loops, unmetered token depletion, and dangling TCP/HTTP/2 kernel buffer handles when downstream clients drop connections.

Blocks:Zombie Token Generation and Socket Buffer Leakage via Unmonitored Async Generators
Targets:Cursor•Claude•Windsurf•Codex
axum-adaptive-load-shedding-guardrail
backendcritical

Axum 0.8 Adaptive Load-Shedding & Dynamic Concurrency Guardrail

Protects Tokio asynchronous runtime worker threads from catastrophic queue saturation and metastable latency collapse by enforcing dynamic Little's Law concurrency thresholds per route. Replaces static, unbounded channel buffers with adaptive latency-gradient load shedders that immediately reject excess traffic with HTTP 503 and accurate Retry-After directives. Guarantees that internal runtime task scheduling queues remain bounded under heavy p99 tail-latency degradation.

Blocks:Unbounded Task Queuing and Static Concurrency Limits Leading to Tokio Worker Starvation
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-dual-wal-orchestration-standard
backendcritical

Bun 1.2 SQLite WAL Checkpoint and Multi-Process Lock Orchestration Guardrail

Enforces deterministic write-ahead log (WAL) pragmas, synchronous checkpoint boundaries, and cross-process lock orchestration for native bun:sqlite in Bun 1.2. Eliminates SQLITE_BUSY lock starvation, unbounded WAL file growth, and transactional corruption under high-throughput edge concurrency.

Blocks:Ad-Hoc Inline Checkpointing and Unsynchronized Multi-Worker Writes in Native bun:sqlite
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-streaming-io-nvme-alignment
backendcritical

PostgreSQL 17 Asynchronous Streaming I/O & NVMe Block Strata Alignment

Mandates explicit mathematical alignment between PostgreSQL 17 io_combine_limit and the underlying NVMe storage block strata across database provisioning scripts, configuration management, and analytical query sessions. Prevents NVMe queue serialization, split-page I/O churn, and CPU context switching during asynchronous vectorized table and bitmap heap scans.

Blocks:Running PostgreSQL 17 on High-Throughput NVMe with Default or Misaligned io_combine_limit and Asynchronous I/O Settings
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-cancellation-propagation-backpressure
backendcritical

Axum 0.8 Tower Client Cancellation Propagation and Database Backpressure

Couples HTTP/2 RST_STREAM and HTTP/3 client socket disconnections directly to Tokio task abort handles and database transactions within Tower services. Prevents orphaned upstream database queries and connection pool exhaustion when clients abort in-flight requests under load.

Blocks:Spawning Detached Tokio Tasks in Handlers Causing Database Pool Starvation on Client Socket Drops
Targets:Cursor•Claude•Windsurf•Codex
pgvector-08-hnsw-mmap-resident-ceiling
backendcritical

pgvector 0.8 HNSW Memory-Mapped Vector Resident Ceiling and Quantization Invariant

Enforces strict scalar quantization thresholds (SQ8/halfvec) and kernel-level resident set size ceilings for pgvector 0.8 HNSW indexes running on PostgreSQL 17. Prevents unconstrained virtual memory page faulting and Linux kernel OOM panics caused by concurrent high-dimensional approximate nearest neighbor (ANN) searches exhausting cgroup memory allocations.

Blocks:Unquantized 1536+ dimension HNSW index instantiation without explicit work_mem ceilings and mmap page budgeting.
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-ceiling
backendcritical

Bun 1.2 Native WebSocket Backpressure Memory Ceiling and Drain Governor

Enforces strict socket backpressure management using Bun's native WebSocket return values and drain lifecycle hook. Prevents unbounded native C++ heap accumulation and catastrophic OOM crashes during asymmetric client slow-drain conditions.

Blocks:Unchecked ws.send() flooding in async loops without evaluating socket bufferedAmount or implementing the drain lifecycle hook.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-nogil-subinterpreter-isolation-boundary
backendcritical

FastAPI Python 3.13 Free-Threaded (No-GIL) Subinterpreter Isolation Boundary

Enforces strict thread-safe memory isolation and concurrency boundaries across Python 3.13 free-threaded subinterpreters and worker threads within FastAPI services. Mandates zero implicit shared mutable state, synchronized memory buffers, and lock-free thread-safe queues when processing CPU-bound asynchronous tasks without GIL safety nets.

Blocks:Unsynchronized Mutable Global State and GIL-Dependent Race Conditions in Free-Threaded Python 3.13 Async Routes
Targets:Cursor•Claude•Windsurf•Codex
axum-sse-task-cancellation-standard
backendcritical

Axum SSE Channel Disconnection & Task Cancellation Standard

Enforces proactive cancellation propagation via Tokio AbortHandles or CancellationToken during Axum Server-Sent Events (SSE) stream termination. Prevents orphaned background worker tasks, zombie database connections, and unbounded memory leaks caused by decoupled mpsc channels when HTTP clients abruptly disconnect.

Blocks:Spawning detached Tokio tasks feeding unmonitored SSE channels without drop-detection or cancellation tokens
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-parallel-apply-deadlock-governor
backendcritical

PostgreSQL 17 Parallel Apply Worker Conflict and Deadlock Governor

Standardizes PostgreSQL 17 logical replication parallel worker provisioning, conflict detection, and transactional dependency tracking. Enforces deterministic apply concurrency limits, explicit replica identities, and lock ordering to prevent cross-worker deadlocks and out-of-order commit hazards in multi-subscriber clusters.

Blocks:Unconstrained Parallel Apply Allocation and Ambiguous Replica Identities Causing Worker Deadlocks and Data Divergence
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-cancellation-token-propagation
backendcritical

Axum 0.8 Tower Cancellation Token Propagation & Zombie Transaction Guardrail

Enforces strict cooperative cancellation token propagation across Axum 0.8 Tower middleware, route handlers, and database adapters. Eliminates orphan compute, task leakage, and lingering zombie database transactions caused by abrupt client disconnections (HTTP/2 RST_STREAM, HTTP/1.1 socket drop).

Blocks:Detached Background Spawning and Silent Drop Failures Causing Zombie Transactions and Connection Pool Starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-block-level-incremental-backup-lsn-sync
backendcritical

PostgreSQL 17 Incremental Backup LSN Synchronization and WAL Summary Guardrail

PostgreSQL 17 introduces native block-level incremental backups driven by WAL summarization (pg_walsummarizer). Orchestration engines must enforce strict write-ahead log summary continuity, LSN boundary monotonicity, and manifest chain validation across distributed standbys to prevent silent data corruption during pg_combinebackup restoration.

Blocks:Executing Incremental Backups Without WAL Summary Continuity and Standby LSN Alignment Validation
Targets:Cursor•Claude•Windsurf•Codex
go124-iter-pull-resource-disposal
backendcritical

Go 1.24 iter.Pull Explicit Defer-Stop Coroutine Lifecycle Guardrail

Go 1.24 pull iterators (iter.Pull and iter.Pull2) allocate underlying coroutine runtime machinery to transform push iterators into stateful pull closures. Failure to invoke the returned stop function when execution terminates before sequence exhaustion permanently leaks the runtime goroutine and pinned stack allocations. All pull iterators must enforce an immediate defer-stop contract across all error, early exit, and panic paths.

Blocks:Dangling iter.Pull Coroutines Leaking Background Goroutines on Early Exit
Targets:Cursor•Claude•Windsurf•Codex
pg17-vectorized-streaming-io-buffer-invariant
backendcritical

PostgreSQL 17 Streaming I/O Buffer Bound & Zero-Checkpoint Bulk Upsert Standard

Enforces strict session-level memory bounds via temp_buffers and work_mem to prevent disk spills during vectorized staging table operations. Guarantees zero write-ahead log (WAL) overhead and eliminates checkpoint stalls during high-throughput bulk upserts by leveraging unlogged temporary tables and aligned batch sizes that exploit PostgreSQL 17 streaming read/write infrastructure.

Blocks:Unbounded Direct-to-Target Bulk Upserts Triggering Checkpoint Spikes and Excessive Shared Buffer Eviction
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-pointer-lifecycle-and-ownership-standard
backendcritical

Bun 1.2 FFI Deterministic Pointer Lifecycle & Native Memory Ownership Guardrail

Enforces deterministic pointer ownership, zero-copy memory safety, and leak/double-free prevention across the Bun 1.2 C-ABI FFI boundary. Mandates explicit Disposable lifecycle protocols, nullification guards on deallocated pointers, and strict isolation between JavaScript V8/JSC GC-managed typed arrays and foreign heap allocations.

Blocks:Dangling Pointer Deallocation, Double-Free, and V8/JSC Buffer Corruption in Bun FFI Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
fastapi-freethreaded-subinterpreter-state-quarantine
backendcritical

FastAPI Free-Threaded Worker Sub-Interpreter State Quarantine

Enforces strict isolation of request-scoped C-extension state and non-thread-safe resources within Python 3.13+ free-threaded (PEP 703) runtimes. Prevents silent heap corruption, re-entrancy crashes, and thread race conditions across GIL-free worker threads through PEP 554/684 sub-interpreter channel topologies and thread-local state bounds. Mandates immutability boundaries across worker channels when interfacing with legacy C-extensions or thread-unsafe global state.

Blocks:Global C-Extension Singleton Access in GIL-Free Python 3.13+ Async Workers
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-per-tenant-lease-shedding
backendcritical

Axum 0.8 Per-Tenant Semaphore Lease & Deterministic Backpressure Load Shedding

Enforces deterministic bounded concurrency per tenant via Tower middleware lease acquisition prior to async handler buffer allocation. Prevents noisy-neighbor memory exhaustion and thread starvation by shedding excess requests with HTTP 429 before streaming request bodies into memory.

Blocks:Buffering Request Payloads in Handlers Before Acquiring Tenant Concurrency Leases
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-subtransaction-cache-overflow-defense-standard
backendcritical

PostgreSQL 17 Subtransaction Cache Overflow Defense Standard

Prevents catastrophic ProcArrayLock and SubtransSLRU latch contention across all concurrent connections caused by exceeding PGPROC_MAX_CACHED_SUBXIDS (64). Mandates strict avoidance of iterative savepoints, nested ORM rollback scopes in loops, and requires atomic batching or partitioned transactional boundaries.

Blocks:Loop-Scoped Savepoints and Deeply Nested ORM Subtransactions Inducing Subtrans SLRU Lock Saturation
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tokio-tower-graceful-drain-websocket-cancellation
backendcritical

Axum 0.8 Tokio Tower Bounded Graceful Drain & WebSocket Cancellation Protocol

Enforces deterministic, bounded connection draining during SIGTERM/SIGINT teardown in Axum 0.8 and Tokio runtimes. Requires tokio_util CancellationToken propagation across nested Tower service layers and coordinated Close frame broadcasts to stateful WebSockets before runtime drop to prevent dropped in-flight requests and orphaned socket descriptors.

Blocks:Unbounded Axum serve_with_graceful_shutdown causing abruptly aborted TCP sockets and unnotified WebSocket client disconnections
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-vectorized-streaming-standard
backendcritical

Postgres 17 Direct I/O and Vectorized Streaming Buffer Standard

Postgres 17 introduces native direct I/O (io_direct) and vectorized streaming read interfaces that bypass OS page cache double-buffering. Enforcing direct block alignment, asynchronous I/O prefetch rings, and memory-safe streaming cursor sessions prevents filesystem cache thrashing and collapses p99 tail latencies under concurrent analytics workloads.

Blocks:Unbounded OS Page Cache Double-Buffering with Synchronous Non-Vectorized Row Scans
Targets:Cursor•Claude•Windsurf•Codex
go-weak-pointer-finalizer-free-cache-standard
backendcritical

Go 1.24 Weak Pointer Finalizer-Free In-Memory Cache Invariant

Mandates the use of Go 1.24 standard library weak.Pointer for L1 runtime caches in latency-sensitive RPC services. Prohibits runtime.SetFinalizer and strong-pointer storage in eviction tables to prevent multi-generation GC promotion, stop-the-world finalizer queues, and heap fragmentation.

Blocks:Retaining Strong References or Attaching runtime.SetFinalizer in In-Memory Caches Induces Head-of-Line GC Blocking
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-structured-drain-sse-lifeline-standard
backendcritical

Axum 0.8 Tokio Structured Drain & In-Flight SSE Lifeline Standard

Enforces deterministic, zero-loss socket termination and bounded backpressure drain for active Server-Sent Events (SSE) and WebSocket connections during rolling deployments in Axum 0.8. Eliminates zombie socket hangs and abrupt TCP RST terminations by wiring coordinated tokio_util cancellation tokens and explicit protocol termination frames into the server shutdown lifecycle.

Blocks:Unbounded Long-Lived Streams Causing Deployment Deadlocks or Abrupt Client Drops via SIGKILL
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-sync-cdc-invariant-postgres-17-fail-186
backendcritical

PostgreSQL 17 Failover Slot Sync & Logical Replication Invariants

Enforces failover-safe logical replication slots introduced in PostgreSQL 17 to prevent message loss or unbounded re-streaming during high-availability switchovers. Mandates `failover = true` on logical slots, strict synchronization across physical standbys via `synchronized_standby_slots`, and downstream LSN tracking to uphold exactly-once or at-least-once CDC processing invariants.

Blocks:Creating unmanaged logical replication slots that are dropped or rewound upon physical standby failover
Targets:Cursor•Claude•Windsurf•Codex
bun-socket-kernel-backpressure-drain-standard
backendcritical

Bun 1.2 Kernel Socket Zero-Copy Backpressure Drainage Standard

Enforces strict TCP backpressure drainage and zero-copy memory preservation when dispatching high-throughput data via Bun 1.2 native socket primitives. Prevents unbounded internal C++/JSC write-queue allocation and kernel socket buffer saturation that leads to catastrophic process out-of-memory (OOM) termination under multi-gigabit workloads.

Blocks:Fire-and-forget socket.write() calls ignoring partial writes and missing drain event synchronization
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-wal-quota
backendcritical

Postgres 17 Logical Failover Slots with Mandatory WAL Quota Boundaries

Postgres 17 introduces native failover-capable logical replication slots (FAILOVER = true) that synchronize across physical streaming standbys. To prevent catastrophic primary disk exhaustion when subscribers fail or network partitions occur, every logical failover slot provisioning and health-check routine must enforce a non-negotiable max_slot_wal_keep_size boundary paired with reactive invalidation monitoring.

Blocks:Unbounded Logical Failover Slots Retaining Indefinite WAL Logs Causing Primary Node Outages
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-backpressure-streaming-guardrail
backendcritical

Axum 0.8 Backpressure-Bounded Zero-Allocation Streaming Standard

Mandates strict byte-limit boundaries and end-to-end backpressure propagation across all Axum 0.8 streaming extractors and response pipelines. Prevents catastrophic heap exhaustion, buffer bloat, and slowloris memory DoS vulnerabilities by eliminating unbounded chunk aggregation in Tokio runtimes.

Blocks:Unbounded Request Ingestion and Decoupled Async Stream Buffering
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-cache-reclamation-invariant
backendcritical

Go 1.24 Weak Pointer In-Memory Cache Reclamation and Finalizer Safety

Go 1.24 introduced native weak pointers via the 'weak' package, enabling GC-cooperative in-memory caches that safely release heap allocations without periodic TTL sweeper overhead. Implementing this pattern requires strict enforcement of dereference validation invariants, avoiding intermediate pointer pinning during cache reads, and preventing phantom memory leaks across concurrent map reads.

Blocks:Unchecked Weak Pointer Dereference and Strong Reference Pinning Inside In-Memory Caches
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-kernel-backpressure-guardrail
backendcritical

Bun 1.2 Native WebSocket Kernel TCP Backpressure & Drain Invariants

Enforces mandatory TCP backpressure handling and kernel socket drainage monitoring for Bun 1.2+ native WebSockets. Prevents catastrophic heap exhaustion and silent message dropping under bursty bidirectional workloads by integrating the native drain lifecycle hook and bounded per-socket write queues.

Blocks:Unbounded Fire-and-Forget ws.send() Broadcasting Leading to Kernel Buffer Exhaustion and Heap OOM
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-zero-rtt-anti-replay-gate
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Verification Gate for Mutating Requests

Enforces strict HTTP/3 QUIC 0-RTT (Early Data) validation invariants within Go Chi routing pipelines to prevent replay attacks on state-mutating operations. Mutating HTTP verbs (POST, PUT, PATCH, DELETE) and unsafe GET endpoints must reject Early Data with HTTP 425 Too Early or require single-use cryptographic token validation before execution. Safe read paths utilizing 0-RTT must be verified strictly idempotent and protected against side-effect leakages.

Blocks:Executing Unvalidated State-Mutating Operations Inside Replayable QUIC 0-RTT Early Data Payloads
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-lifespan-cancellation-boundary
backendcritical

FastAPI AnyIO Lifespan Cancellation and Pool Teardown Boundary

FastAPI background workers and database pool acquisitions must be strictly anchored to an explicit AnyIO task group within the application lifespan boundary. Unsupervised coroutines and unshielded pool disposal cause worker deadlocks and connection leaks during pod SIGTERM teardown, resulting in hard kills by the container runtime.

Blocks:Spawning Unmanaged Background Coroutines and Executing Unshielded Pool Teardown in Lifespan Contexts
Targets:Cursor•Claude•Windsurf•Codex
pg17-json-table-workmem-ceiling-invariant
backendcritical

PostgreSQL 17 SQL/JSON JSON_TABLE WorkMem Ceiling Invariant

Enforces deterministic memory bounds and streaming execution semantics when evaluating PostgreSQL 17 native SQL/JSON operators (JSON_TABLE, JSON_QUERY, JSON_VALUE) over high-cardinality nested structures. Prevents backend worker Out-Of-Memory (OOM) panics by mandating transaction-local work_mem ceilings, explicit data type projections with byte-bounded VARCHAR limits, and streaming chunk-based batching.

Blocks:Unbounded JSON_TABLE materialization inside default sessions triggering backend worker OOM kills
Targets:Cursor•Claude•Windsurf•Codex
bun-native-ffi-cabi-memory-ownership
backendcritical

Bun 1.2 Native FFI C-ABI Off-Heap Memory Ownership Protocol

Enforces deterministic lifecycle management and strict single-owner semantics for off-heap native memory allocated via Bun 1.2 FFI. Eliminates silent use-after-free segmentation faults and off-heap RSS memory exhaustion when high-throughput event loops interface with native C/Rust shared libraries. Mandates TC39 Explicit Resource Management alongside FinalizationRegistry fail-safes for non-trivial native allocations.

Blocks:Unmanaged C-Allocated Pointers Exposed Directly to JavaScript Event Loop Contexts Without Deterministic Deallocation Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-sync-postgres-17-logi-490
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization Guardrail

Enforces strict failover safety for Change Data Capture (CDC) pipelines leveraging PostgreSQL 17 logical replication. Mandates the configuration of failover-enabled logical slots on the primary, synchronized slots on physical standbys via synchronized_standby_slots, and validation of confirmed_flush_lsn boundaries prior to promoting standbys, preventing silent data duplication or permanent data loss during HA cutovers.

Blocks:Unsynchronized Logical Replication Slots During Physical Standby Failover Causing CDC Stream Invalidation or Data Loss
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-lifespan-deterministic-drain-standard
backendcritical

FastAPI Async Lifespan Deterministic Connection Pool Drain Standard

Enforces deterministic cancellation tokens and socket draining across async HTTP and database client pools during FastAPI ASGI lifespan shutdown. Guarantees in-flight transactions finish within bounded grace periods and prevents socket leakage and RST dropouts during rolling Kubernetes pod evictions.

Blocks:Leaking sockets and severing active transactions via uncoordinated async pool teardown on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-native-backpressure-invariant
backendcritical

Bun 1.2 Native WebSocket Backpressure & High-Watermark Guardrail

Enforces strict handling of native backpressure in Bun WebSocket servers during high-concurrency fan-out operations. Failing to check the return byte count of `ws.send()` causes unconstrained native buffer allocations in the underlying uSockets/JSC runtime, leading to silent memory leaks and process termination under load.

Blocks:Unchecked `ws.send()` or `ws.publish()` fan-out causing native uSockets buffer inflation and unmitigated OOM kills
Targets:Cursor•Claude•Windsurf•Codex
axum-graceful-drain-websocket-fencing
backendcritical

Axum 0.8 Tower Graceful Connection Drain & WebSocket Handshake Fencing

Enforces deterministic zero-downtime rolling deploys in Axum 0.8 by decoupling TCP connection draining from stateful HTTP upgrade handshakes. Mandates an atomic handshake fence to reject new WebSocket upgrades with 503 during shutdown, alongside bounded dual-phase horizons that dispatch RFC 6455 1001 Close frames to active sessions before hyper socket termination.

Blocks:Unbounded WebSocket Upgrades Stalling Axum Graceful Drains and Causing SIGKILL Dropped Frames
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-zero-rtt-anti-replay-fencing
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Session Ticket Fencing

Enforces distributed anti-replay validation for HTTP/3 0-RTT (Early Data) across multi-node Go Chi edge deployments. Protects against TLS 1.3 replay attacks by gating early data behind synchronized monotonic timestamp windows, strict HTTP method idempotency enforcement, and atomic single-use ticket reservation backed by a distributed key-value store.

Blocks:Unvalidated 0-RTT Early Data Processing on Non-Idempotent Endpoints Enabling Multi-Node Replay Attacks
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal2-checkpoint-starvation-backpressure
backendcritical

Bun 1.2 SQLite WAL2 Auto-Checkpoint Starvation Mitigation

Enforces cooperative backpressure and explicit frame threshold throttling on embedded SQLite (WAL/WAL2 mode) under Bun 1.2. Prevents unbounded disk bloat and severe read latency degradation caused by high-concurrency write loops starving background checkpoint threads.

Blocks:Unbounded Concurrent Write Loops Starving WAL Checkpoints and Causing Frame Bloat
Targets:Cursor•Claude•Windsurf•Codex
axum-08-task-scoped-cancellation-token-propagation
backendcritical

Axum 0.8 Task-Scoped Cancellation Token Propagation & Connection Leak Prevention

Enforces deterministic cancellation hierarchies across Axum 0.8 request pipelines to prevent orphan async compute and database pool starvation upon client disconnect. Mandates wrapping spawned asynchronous child routines and heavy IO in scoped cancellation tokens tied to the request lifetime. Guarantees that dropping the top-level HTTP handler future cleanly aborts all downstream work and immediately returns pooled resources.

Blocks:Spawning Detached Async Tasks and Unguarded Pool Checkouts Without Client Disconnect Propagation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-json-table-memory-allocator
backendcritical

Postgres 17 Streaming JSON_TABLE Zero-Materialization Allocator Standard

Enforces non-materializing, stream-based evaluation for Postgres 17 SQL/JSON JSON_TABLE queries during high-volume document ingestion. Prevents catastrophic backend OOM conditions caused by eager JSONB AST deserialization and unbounded memory context retention by streaming raw text buffers directly into relational columns without intermediate DOM allocation.

Blocks:Eager JSONB Parsing and Deep AST Materialization in JSON_TABLE Query Execution
Targets:Cursor•Claude•Windsurf•Codex
temporal-workflow-determinism-drift-invariant
backendcritical

Temporal Durable Workflow Determinism and History Drift Invariant

Enforces strict static execution-path determinism and version-gated branching within Temporal workflows. Prevents fatal NonDeterministicWorkflowError panics and corrupted event-history replay states during hot deployments of long-running executions.

Blocks:Unversioned Execution Graph Mutation and Non-Deterministic Primitives in Flight Paths
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal2-concurrent-replica-guardrail
backendcritical

Bun 1.2 Native SQLite WAL2 Concurrency and Read-Replica Connection Guardrail

Enforces strict isolation between a singleton writer connection and dedicated read-only replica handles using Bun 1.2 native bun:sqlite. Prevents thread-pool deadlocks, SQLITE_BUSY lock escalation anomalies, and writer starvation during high-throughput multi-threaded worker offloading.

Blocks:Sharing Mutable SQLite Handles Across Multi-Threaded Workers Without WAL Tuning or Read-Only Segregation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-w3c-otel-context-propagation-guardrail
backendcritical

Go Chi v5 Panic-Safe W3C Trace & Baggage Propagation Standard

Enforces deterministic extraction and injection of W3C Trace Context (traceparent, tracestate) and distributed Baggage across Go Chi v5 middleware chains. Guarantees panic-safe span lifecycle management, semantic error recording, and context preservation to eliminate orphan traces and broken distributed causality.

Blocks:Broken Context Inheritance and Leaked Spans via Manual Header Handling or Naive Middleware Chaining
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-synchronization-invariant
backendcritical

Postgres 17 Logical Replication Slot Failover Synchronization Invariant

Enforces failover-enabled logical replication slots and standby slot synchronization introduced in PostgreSQL 17. Eliminates CDC event loss and duplicate replay during primary-to-standby switchover by ensuring physical standbys continuously synchronize logical replication slots before promotion.

Blocks:Creating Logical Slots Without Failover Invariants and Blindly Switching Consumers to Out-of-Sync Standbys
Targets:Cursor•Claude•Windsurf•Codex
drizzle-zero-downtime-concurrent-migration-invariant
backendcritical

Drizzle ORM Zero-Downtime Concurrent Migration & Shadow View Swap Invariant

Enforces an expand-and-contract dual-column shadowing protocol for all schema evolutions and type conversions executed with Drizzle ORM. Eliminates ACCESS EXCLUSIVE write-lock contention under heavy concurrent workloads by forbidding monolithic in-place column alterations and blocking DDLs. Mandates phased backward-compatible migrations guarded by strict lock timeouts, asynchronous backfills, and atomic view/column aliasing swaps.

Blocks:In-Place Synchronous Column Alteration with Blocking Table Locks
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-cache-canonicalization-standard
backendcritical

Go 1.24 weak.Pointer Memory Interning and Non-Retaining Cache Standard

Enforces strict canonicalization and deduplication invariants using Go 1.24's standard library `weak.Pointer` for in-memory object interning. Eliminates GC retention cycles, unbounded heap growth, and synchronization deadlocks during high-throughput cross-request deduplication without keeping unreachable heap objects alive artificially.

Blocks:Strong-Reference Map Leak and Stale Dereference Race in Memory Interning Pools
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-simd-streaming-guardrail
backendcritical

Postgres 17 JSON_TABLE & SIMD Ingestion Memory Bounds

Enforces bounded chunking, explicit work_mem isolation, and memory-safe projection limits when utilizing Postgres 17's SQL/JSON JSON_TABLE feature and SIMD-accelerated JSON parsers. Prevents backend worker out-of-memory (OOM) crashes and CPU starvation during high-throughput JSON batch ingestion by requiring micro-batched payloads and strict path projection constraints.

Blocks:Ingesting Unbounded JSON Payloads into Unmetered JSON_TABLE Queries Causing PG Worker OOM
Targets:Cursor•Claude•Windsurf•Codex
sqlx-tokio-dead-socket-eviction-guardrail
backendcritical

SQLx/Tokio Active Heartbeat and TCP Half-Close Eviction Invariant

Enforces strict pre-acquisition health validation, aggressive idle eviction, and kernel-level TCP keepalive probes within SQLx pools managed by Tokio runtimes. This eliminates transaction lockups and zero-window worker stalls caused by silent connection state drops across cloud NAT gateways, proxies, and service mesh boundaries.

Blocks:Trusting stale pool connections across cloud NAT boundaries without test-on-acquire or kernel keepalives
Targets:Cursor•Claude•Windsurf•Codex
go-chi-quic-http3-0rtt-anti-replay-guardrail
backendcritical

Strict Chi HTTP/3 0-RTT Early Data Anti-Replay Guardrail

Enforces deterministic rejection of non-idempotent HTTP methods transmitted within TLS 1.3/QUIC 0-RTT early data frames across Go Chi microservices. Prevents replay attacks against stateful mutations by returning HTTP 425 Too Early, restricting 0-RTT processing strictly to safe, idempotent operations in compliance with RFC 8470 and RFC 9114.

Blocks:Executing stateful mutations (POST/PUT/PATCH/DELETE) on unvalidated QUIC 0-RTT early data
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hnsw-vector-partition-pruning-guardrail
backendcritical

Postgres 17 HNSW Vector Index Partition-Pruning Alignment

Guarantees billion-scale vector similarity lookups avoid catastrophic unindexed table scans by enforcing composite scalar-vector partition pruning at the query planner level. In Postgres 17 and pgvector 0.7+, declarative partitioning combined with localized HNSW indexing requires exact scalar predicate alignment to prevent the query planner from fanning out unpruned sub-plan index scans or falling back to sequential scans across partitioned tables.

Blocks:Global Vector Probing Without Deterministic Partition Pruning Predicates
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-postmessage-backpressure-guardrail
backendcritical

Bun 1.2 Native Worker PostMessage Queue Backpressure & Memory Bounds

Enforces bounded queue depths and explicit bidirectional backpressure on Bun 1.2 Worker thread message dispatching. Prevents silent native heap and RSS ballooning caused by unacknowledged postMessage queues during high-throughput CPU-bound processing bursts.

Blocks:Unbounded postMessage Fire-and-Forget Dispatch Leading to Silent Native Heap Exhaustion and OOM Crashes
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-invariant-bun-1-2-native-w-975
backendcritical

Bun Native WebSocket Backpressure Drain & High-Watermark Guardrail

Enforces strict high-watermark backpressure checks and drain-driven event dispatching on Bun native WebSockets (`Bun.serve`). Unchecked streaming without inspecting `ws.send()` byte returns or awaiting the `drain(ws)` lifecycle hook creates unmonitored native uWebSockets heap allocations that lead to silent process termination via OOM.

Blocks:Fire-and-forget WebSocket streaming without checking send return values or handling native drain lifecycle events.
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-frame-budgeted-streaming-invariant
backendcritical

Axum 0.8 / Tower Deterministic Frame-Budgeted Multipart Streaming Invariant

Enforces strict frame and memory budgeting on incoming multipart request streams within Axum 0.8 and Tower services. Prevents heap exhaustion and uncontrolled resource consumption triggered by unbuffered or malicious HTTP/3 DATA frame bursts by decoupling zero-copy network frames from unbounded heap allocators and asserting deterministic backpressure-aware quotas.

Blocks:Unbounded Stream Ingestion and Naive Multipart Unwrapping Permitting HTTP/3 Frame Amplification OOM
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-route-cache-contract
backendcritical

Go 1.24 Weak-Pointer Dynamic Route Cache & Canonicalization Contract

Enforces Go 1.24 weak pointer semantics (`weak.Pointer`) for dynamic HTTP path-trie canonicalization caches to eliminate cache-induced memory leaks without generational sweep overhead. Mandates non-escaped value validation, atomic nil-checks on dereferencing, and bounded key retention to prevent cardinality-induced heap exhaustion.

Blocks:Retaining Strong References in Path Canonicalization Caches Causing Unbounded Trie Heap Growth
Targets:Cursor•Claude•Windsurf•Codex
drizzle-prepared-statement-pool-eviction-standard
backendcritical

Drizzle ORM Prepared Statement Connection-Pool Eviction & Multiplexer Protection

Enforces strict bounds on dynamic prepared statement generation and mandates explicit statement lifecycle controls across multi-tenant PostgreSQL pools. Dynamic interpolation and unconstrained statement names exhaust backend connection memory and trigger prepared statement collision errors behind transaction poolers like PgBouncer and Supabase Supavisor. All dynamic queries must execute in direct un-cached modes or maintain deterministic, tenant-isolated parameterized identities.

Blocks:Unbounded Dynamic Prepared Statement Proliferation Causing Session-Pooler Exhaustion and Tenant Cross-Contamination
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio4-structured-concurrency-invariant
backendcritical

FastAPI with AnyIO 4 Structured Concurrency TaskGroup Invariant

Enforces strict structured concurrency invariants using AnyIO 4 TaskGroups across FastAPI ASGI endpoints and service boundaries. Prevents orphaned background tasks, broken cancellation cascades, and uncontrolled exception fan-out across concurrent external I/O operations by mandating deterministic cancellation scopes and PEP 654 ExceptionGroup handling.

Blocks:Unbounded asyncio.create_task and asyncio.gather Fan-Out Leaking Coroutines Across ASGI Worker Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slot-sync-postgresql-17-lo-524
backendcritical

PostgreSQL 17 Logical Replication Slot Failover Synchronization Invariant

Enforces failover-enabled logical replication slots and physical standby synchronization invariants introduced in PostgreSQL 17. Guarantees that logical replication slots are synchronized to hot standbys before WAL retirement, preventing downstream CDC stream corruption, message drops, or mass duplication during automated cluster failovers.

Blocks:Creating unmanaged logical replication slots without failover capability or synchronized standby coordination, causing stream loss or massive duplicates on failover.
Targets:Cursor•Claude•Windsurf•Codex
bun-native-websocket-kernel-backpressure-standard
backendcritical

Bun 1.2 Clustered WebSocket Kernel Backpressure & Buffer Guardrail

Enforces strict socket-level backpressure management and native drain lifecycle handling in Bun 1.2 clustered WebSocket runtimes. Prevents catastrophic OOM container restarts caused by unbounded kernel/C++ buffer accumulation when streaming high-frequency LLM tokens to slow TCP clients.

Blocks:Unbounded WebSocket Token Streaming without Native Buffer Probing or Drain Suspension
Targets:Cursor•Claude•Windsurf•Codex
openfga-rebac-depth-clamping-cycle-guardrail
backendcritical

OpenFGA ReBAC Recursive Cycle Clamping and Transitive Graph Depth Standard

Prevents catastrophic denial-of-service vulnerabilities caused by unbounded transitive graph traversals, circular group nestings, and unchecked contextual tuple expansions in OpenFGA Relationship-Based Access Control (ReBAC). Mandates cycle-detection pre-validation on tuple writes, strict execution budgets with deadline clamping on authorization checks, and fail-closed traversal boundary policies.

Blocks:Unbounded ReBAC Graph Traversal and Cyclic Relation Expansion Causing Service Starvation
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-eviction-boundary
backendcritical

Bun 1.2 WebSocket Engine Server-Side Hibernation & Memory Eviction Guardrail

Enforces Bun 1.2 native uWebSockets-backed server-side hibernation semantics for ultra-dense real-time connection pooling. Prevents JavaScript V8/JSC heap exhaustion by eliminating long-lived JavaScript closure references, external maps, and non-pruned buffers, allowing idle sockets to drop their JS wrappers and sleep in kernel memory without V8 heap allocation.

Blocks:Retaining JavaScript Object References and External Map Registries for Dormant WebSockets
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-shielding-invariant
backendcritical

FastAPI AnyIO Structured TaskGroup Exception Shielding Invariant

Enforces strict structured concurrency via AnyIO TaskGroups within FastAPI asynchronous execution contexts to guarantee deterministic cancellation propagation. Prevents orphaned background tasks and resource leaks by mandating explicit cancellation scopes and shielding critical cleanup blocks during task group failure.

Blocks:Unstructured coroutine spawning via asyncio.create_task or unshielded cancellation blocks leaking zombie background workers.
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-slot-sync-failover-invariant
backendcritical

Postgres 17 Logical Replication Slot Failover Synchronization Invariant

Postgres 17 introduces native logical replication slot synchronization from primary to physical standbys via failover-enabled logical slots and the standby sync_replication_slots worker. Without configuring failover = true on the slot, ensuring the physical standby is listed in synchronized_standby_slots on the primary, and enabling sync_replication_slots on the standby, HA failovers cause downstream CDC pipelines to re-read from stale restart_lsn or crash due to missing slots, producing massive event duplication or data divergence.

Blocks:Creating Logical Replication Slots Without Failover Support Leading to Stale LSNs or Total Slot Loss Post-Failover
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-v1-http2-stream-drain-governor
backendcritical

Axum Hyper-v1 Multiplexed HTTP/2 Stream Drain Governor

Enforces a deterministic two-phase HTTP/2 connection drain protocol with bounded eviction deadlines on Axum Hyper-v1 servers during SIGTERM signals. Prevents persistent multiplexed keep-alive streams from stalling rolling blue/green deployments and inducing abrupt SIGKILL dropped connections.

Blocks:Unbounded HTTP/2 Keep-Alive Connection Deadlock During Container Termination
Targets:Cursor•Claude•Windsurf•Codex
fastapi-0-115-async-lifespan-subapp-isolation
backendcritical

FastAPI 0.115+ Async Lifespan Sub-Application Scope Isolation Standard

Enforces strict ASGI lifespan context isolation between root FastAPI orchestrators and mounted sub-applications in FastAPI 0.115+. Prevents shared mutable state, connection handle leakage, and skipped sub-application lifespan teardown phases when mounting isolated services or multi-tenant sub-apps under a shared server process.

Blocks:Mounting Sub-Applications with Root-Inherited State or Uninvoked Isolated Lifespans
Targets:Cursor•Claude•Windsurf•Codex
axum-webtransport-quic-stream-flow-control
backendcritical

Axum 0.8 WebTransport Stream Multiplexing & Flow-Control Guardrails

Enforces bounded per-stream memory allocations and strict backpressure propagation across multiplexed WebTransport streams in Axum 0.8 HTTP/3 architectures. Eliminates head-of-line blocking, unbounded heap bloat, and connection starvation during asynchronous QUIC connection migration events.

Blocks:Unbounded Stream Buffering and Unguarded Task Spawning During QUIC Connection Migration
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-ephemeral-cache-routing
backendcritical

Go 1.24 Weak Pointer Invalidation for Ephemeral Routing Caches

Mandates the use of Go 1.24 weak pointers (package weak) for transient routing and middleware cache registries. Prevents unbounded heap growth and circular reference retention where long-lived router caches retain short-lived HTTP request contexts and payloads past lifecycle termination.

Blocks:Strong Reference Pinning of Ephemeral Request Payloads in Long-Lived Routing Pipelines
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-replication-slot-sync-invariant
backendcritical

PostgreSQL 17 Synchronized Failover Replication Slot Invariant

Enforces PostgreSQL 17 synchronized logical replication slot configurations (`failover = true` and `synchronized_standby_slots`) to ensure Change Data Capture (CDC) streams survive physical failover without message loss or slot rewinds. Standby promotion pipelines must verify slot synchronization convergence prior to triggering promotion.

Blocks:Promoting Physical Standbys or Creating Logical Slots Without Failover Synchronization
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-native-validation-firewall
backendcritical

FastAPI Pydantic v2 Zero-Copy Native Validation Firewall

Protects ASGI endpoints against memory-exhaustion and JSON-bomb denial-of-service (DoS) attacks by enforcing strict stream-level byte caps prior to native Rust-based deserialization. Bypassing Starlette's unmetered `request.json()` and buffering streams directly into `pydantic-core` without ingress size guardrails allows malicious actors to crash worker runtimes via unbounded allocation.

Blocks:Unmetered Ingress Buffering into Pydantic-Core Native Deserializers
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-multi-worker-wal-coordinator
backendcritical

Bun 1.2 Multi-Worker SQLite Isolated WAL Checkpoint Coordinator Standard

Enforces architectural isolation of SQLite WAL checkpoint execution in multi-threaded Bun 1.2 deployments to prevent unbounded WAL bloat and unrecoverable SQLITE_BUSY starvation. Mandates explicit disabling of worker-level auto-checkpoints and directs all PRAGMA wal_checkpoint operations through a singleton background coordinator worker.

Blocks:Concurrent Worker Checkpoints Causing SQLITE_BUSY Cascades and Unbounded WAL Bloat
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-low-watermark-backpressure-invariant
backendcritical

Bun 1.2 Native WebSocket Low-Watermark Backpressure Invariant

Enforces strict producer suspension and deterministic TCP drain coordination for Bun 1.2 native WebSockets using low/high watermark thresholds on `ws.bufferedAmount`. Prevents unbounded V8/JSC heap exhaustion caused by slow socket consumers during high-throughput binary and text streaming. Mandates cooperative yielding via the native `drain(ws)` socket lifecycle hook rather than fire-and-forget message dispatching.

Blocks:Unbounded Fire-and-Forget `ws.send()` Dispatching Ignoring Native `bufferedAmount` Accumulation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-prefetch-cap-standard
backendcritical

PostgreSQL 17 Streaming I/O Vector Read Prefetch Buffer Cap Standard

Enforces strict prefetch depth boundaries and session-level concurrency caps on PostgreSQL 17 streaming asynchronous vector read operations. Prevents concurrent sequential and bitmap heap scans from saturating storage queues, thrashing the OS page cache, and evicting latency-critical OLTP working sets from shared buffers.

Blocks:Unbounded Streaming Read Prefetching Squelching Concurrent OLTP Buffer Pools
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-websocket-buffer-pooling-standard
backendcritical

Bun 1.2 Zero-Copy WebSocket Frame Buffer Pooling Standard

Enforces deterministic slab-allocated buffer pooling and zero-copy transmission semantics for Bun WebSocket servers. Prevents microsecond-latency degradation caused by per-message heap allocation, V8/JSC GC thrashing, and intermediate memory cloning during high-frequency bidirectional streaming.

Blocks:Ad-Hoc Uint8Array Allocation and String Payload Serialization in High-Throughput WebSocket Broadcasts
Targets:Cursor•Claude•Windsurf•Codex
go-124-swiss-table-map-compaction-worker-isolation
backendcritical

Go 1.24 Swiss Table Map Memory Compaction & Worker Isolation Invariant

Enforces strict memory compaction and tenant-worker isolation for Go 1.24+ runtime Swiss Table maps in high-throughput network proxy paths. Prevents catastrophic tail-latency blowups and unbounded resident set size (RSS) heap fragmentation caused by map tombstone accumulation and unbounded key-retention churn across concurrent goroutines.

Blocks:Unbounded Map Churn with In-Place Delete Generating Silent Heap Bloat and Swiss Table Control-Word Poisoning
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-exceptiongroup-invariant
backendcritical

FastAPI AnyIO Structured Concurrency and ExceptionGroup Invariant

Enforces strict structured concurrency in FastAPI ASGI event loops using AnyIO task groups and Python 3.11+ ExceptionGroup semantics. Prevents orphaned coroutines, unhandled task cancellation leaks, and dangling socket descriptors caused by improper concurrent fan-out or raw asyncio primitives.

Blocks:Unstructured asyncio.gather or BackgroundTasks Masking Concurrency Exceptions and Leaking Sockets
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-statement-finalization-invariant
backendcritical

Bun 1.2 Isolated Native SQLite Prepared Statement Finalization Invariant

Enforces deterministic statement finalization and strict per-worker database isolation when using bun:sqlite in concurrent Bun 1.2 workloads. Failing to explicitly finalize prepared statements or attempting to share Database instances across concurrent Bun worker threads triggers native memory leaks, segmentation faults, and unresolved SQLITE_BUSY locking contention.

Blocks:Leaking unfinalized native SQLite statement pointers and sharing database handles across Bun worker threads
Targets:Cursor•Claude•Windsurf•Codex
clickhouse-replacingmergetree-partition-dedup-invariant
backendcritical

ClickHouse ReplacingMergeTree Partition Invariance and Non-FINAL Deduplication

Enforces strict partition key immutability and argMax aggregation semantics for ClickHouse ReplacingMergeTree engines. Prevents silent duplicate record leakage across partition boundaries and eliminates thread starvation caused by unconstrained SELECT FINAL executions on high-throughput event streaming tables.

Blocks:Executing SELECT FINAL on distributed wide tables or partitioning by mutable timestamps causing cross-partition duplicate pollution.
Targets:Cursor•Claude•Windsurf•Codex
axum-http3-quic-0rtt-anti-replay
backendcritical

Axum 0.8 HTTP/3 QUIC 0-RTT Anti-Replay State Fencing

Enforces transport and application-layer defenses against QUIC 0-RTT replay attacks on state-mutating HTTP/3 routes in Axum 0.8. Non-idempotent methods (POST, PUT, PATCH, DELETE) received during 0-RTT handshakes must be rejected with HTTP 425 Too Early or gated by anti-replay middleware to protect transactional state.

Blocks:Permitting State-Mutating 0-RTT Early Data over QUIC Handshakes Without Replay Fencing
Targets:Cursor•Claude•Windsurf•Codex
postgres17-combinebackup-lsn-fencing-standard
backendcritical

PostgreSQL 17 Block-Level Incremental Backup LSN Fencing and Manifest Validation Standard

Enforces strict monotonic Log Sequence Number (LSN) fencing, manifest checksum parsing, and timeline continuity before invoking PostgreSQL 17's pg_combinebackup utility. Synthesizing synthetic full backups across fractured WAL streams or mismatched backup manifests causes silent, irremediable block-level database corruption during disaster recovery.

Blocks:Blind invocation of pg_combinebackup without pre-flight manifest LSN sequence and SHA-256 checksum boundary fencing
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-task-shield-isolation
backendcritical

FastAPI & AnyIO Structured Concurrency Async Task Shield Isolation Guardrail

Enforces strict structured concurrency in FastAPI applications running atop AnyIO by prohibiting raw asyncio background task spawning and unshielded async coroutines. Requires multi-tenant asynchronous tasks to execute within explicit, supervised task groups encapsulated by cancellation shields with bounded timeouts to prevent orphaned tasks, partial writes, and exhausted database connection pools.

Blocks:Spawning raw background tasks or using unshielded coroutines that leak connections and leave partial tenant mutations upon client disconnect
Targets:Cursor•Claude•Windsurf•Codex
axum-bounded-zero-copy-streaming-multipart-boundary
backendcritical

Axum 0.8 Bounded Zero-Copy Streaming Multipart Boundary

Protects Tokio async runtimes from memory exhaustion (OOM) and Slowloris-style degradation by enforcing bounded, zero-copy streaming multipart ingestion. Replaces unbounded memory accumulation (e.g., to_bytes, Vec<u8> collection) with fixed chunk backpressure, explicit per-field byte limits, and strict read timeouts.

Blocks:Unbounded In-Memory Multipart Buffering and Unconstrained Chunk Allocation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-logical-slot-sync-standard
backendcritical

Postgres 17 Failover Logical Replication Slot Synchronization Guardrail

Enforces Postgres 17 native failover-enabled logical replication slots and slot synchronization workers across high-availability physical standbys. Prevents unrecoverable downstream CDC stream corruption, message duplication storms, and silent data loss caused by non-synchronized restart LSN positions during database failover events.

Blocks:Unsynchronized Logical Slots Causing Downstream CDC Replication Panics Post-Failover
Targets:Cursor•Claude•Windsurf•Codex
go-weak-pointer-addcleanup-cache-standard
backendcritical

Go 1.24 weak.Pointer and runtime.AddCleanup Concurrent Cache Standard

Enforces deterministic weak reference caching and resource cleanup introduced in Go 1.24 using weak.Pointer and runtime.AddCleanup. Eliminates memory leaks from unbounded key retention and removes finalizer-induced object resurrection bugs in high-throughput concurrent services.

Blocks:Retaining strong heap references in caches or passing target pointers to legacy SetFinalizer closures.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-memory-guardrail
backendcritical

PostgreSQL 17 Direct I/O and Memory Accounting Guardrail

Enforces strict memory budgeting and I/O engine configuration for PostgreSQL 17 workloads to prevent kernel page-cache double-buffering and Out-Of-Memory (OOM) failures under heavy analytical concurrency. Mandates explicit session-level work_mem budgeting per parallel worker and ensures database connection pools dynamically constrain concurrent analytical execution based on physical memory thresholds.

Blocks:Unbounded Parallel Query Execution and Global work_mem Reliance Leading to OS OOM-Killer Invocations
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-async-cancellation-raii-cleanup
backendcritical

Axum 0.8 & Tower Async Cancellation and RAII Transaction Invariant

Enforces deterministic cancellation safety and structured RAII resource cleanup in Axum 0.8 / Tower async streaming endpoints over HTTP/3. Prevents mid-stream client disconnects from silently terminating in-flight transactional updates or leaking non-rolled-back pool connections.

Blocks:Interleaving Async Yield Points Across Non-Atomic Transaction Steps Causing State Corruption on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
go-weak-pointer-ephemeral-cache-contract
backendcritical

Go 1.24 Weak Pointer Ephemeral Cache Eviction and Epoch Boundary Contract

Isolates Go 1.24 `weak.Pointer` dereferences behind deterministic epoch boundaries to prevent silent memory resurrection, finalizer deadlocks, and stale slot retention. Mandates synchronized read promotion and epoch-gated cleanup loops to guarantee GC reclamation in high-throughput microservices.

Blocks:Unsynchronized weak.Pointer dereference with inline map mutation and lock acquisition inside GC cleanup callbacks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-parallel-apply-deadlock-avoidance-standard
backendcritical

Postgres 17 Logical Replication Parallel Apply Deadlock Avoidance Standard

Enforces deterministic dependency ordering and partition-aware foreign key schema designs to prevent inter-worker transaction lock deadlocks under Postgres 17 parallel apply mode (`streaming = parallel`). Guarantees that concurrent apply workers resolving streaming in-progress transactions never acquire conflicting relation row-exclusive locks in non-canonical order across parent-child or inter-dependent tables.

Blocks:Non-Deterministic Cross-Table Writes and Bidirectional Foreign Key Chains Triggering Worker Apply Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-zerocopy-ringbuffer-production-standard
backendcritical

Bun 1.2 Multi-Threaded Worker Zero-Copy Ring Buffer Standard

Enforces zero-copy, lock-free inter-thread communication in Bun 1.2 runtimes using SharedArrayBuffer and atomic synchronization primitives. Prevents V8/JSC structured clone serialization overhead and eliminates event-loop microtask starvation under high-throughput data streaming. Guarantees cache-line padded atomic indices and strictly bounded contiguous memory layouts between the main reactor and native worker threads.

Blocks:Starving the Main Event Loop via High-Frequency postMessage Structured Cloning and Unbounded Microtask Enqueueing
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-0rtt-anti-replay-idempotency
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Idempotency Standard

Enforces deterministic anti-replay protection across HTTP/3 QUIC 0-RTT early-data handshakes in Go Chi routing topologies. Eliminates duplicate state mutations during volatile mobile edge reconnects by pairing RFC 8470 Early-Data validation with distributed atomic nonce reservations.

Blocks:Blind Execution of State-Mutating Handshake Requests Over HTTP/3 0-RTT Early Data
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-lifespan-structured-teardown
backendcritical

FastAPI Async Lifespan Structured Concurrency & Deterministic Resource Teardown

Enforces strict structured concurrency and deterministic two-phase resource teardown using ASGI Lifespan context managers in FastAPI applications. Mandates explicit cancellation and completion of asynchronous background tasks alongside ordered draining and closing of distributed connection pools (PostgreSQL, Redis, RabbitMQ) to eliminate socket exhaustion, orphaned coroutines, and dirty process termination.

Blocks:Ad-Hoc Startup Event Handlers and Fire-and-Forget Background Tasks Causing Silent Socket Leaks
Targets:Cursor•Claude•Windsurf•Codex
fastapi-py313-free-threaded-memory-isolation
backendcritical

FastAPI Python 3.13 Free-Threaded Shared Memory and Subinterpreter Isolation

Enforces thread-safe in-memory state synchronization and subinterpreter isolation guarantees for FastAPI services running on Python 3.13 free-threaded (no-GIL) runtimes. Eliminates data races, memory tearing, and lost updates caused by legacy assumptions of Global Interpreter Lock atomicity.

Blocks:Unsynchronized Mutable Global State and Composite Operations in Python 3.13 Free-Threaded Runtimes
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-slab-allocation-guardrail
backendcritical

Bun 1.2 Zero-Copy WebSocket Slab Allocation & Off-Heap Ring Buffers

Enforces zero-copy slab allocation patterns and pre-allocated ring buffers for Bun 1.2 WebSocket handlers under saturated bidirectional streaming. Eliminates JavaScriptCore GC thrashing and RSS explosion by strictly prohibiting transient buffer instantiation, per-message string encoding, and unbounded in-memory broadcast queues.

Blocks:Allocating Per-Message Buffers and Unbounded Transient Strings Under Saturated WebSocket Throughput
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-mmap-prewarm-boundary
backendcritical

pgvector 0.8 HNSW Index Deterministic Mmap and Buffer Prewarming Boundary

Enforces deterministic prewarming of pgvector HNSW index pages into Postgres shared_buffers and OS page cache before routing production vector search traffic. Eliminates cold-start synchronous page faults, disk I/O thrashing, and p99 tail latency spikes during deployments, failovers, and index maintenance.

Blocks:Routing Production Search Queries to Cold HNSW Indexes Causing Page Fault Storms and Disk I/O Thrashing
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python-313-nogil-concurrency-boundary
backendcritical

FastAPI Python 3.13 Free-Threaded Concurrency Boundary Standard

Enforces strict memory isolation, atomic updates, and thread-safe shared state primitives within FastAPI services compiled and executed under Python 3.13 free-threaded (nogil) runtimes. Eliminates shared mutable state corruption, race conditions in sub-millisecond ASGI pipelines, and thread-unsafe caching layers. Mandates immutable data structures, concurrent-safe primitives, and thread-local state management across concurrent request workers.

Blocks:Unsynchronized Global State Mutation in Python 3.13 Free-Threaded ASGI Request Pipelines
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-range-func-http-stream-backpressure
backendcritical

Go 1.24 Range-Over-Func HTTP Chunked Streaming Invariant

Enforces deterministic heap memory limits and cooperative backpressure during multi-gigabyte NDJSON HTTP chunked response streams via Go 1.24 standard library iterators (iter.Seq / iter.Seq2). Mandates zero-allocation buffer reuse, immediate flush verification, and fail-fast context propagation to prevent unbounded memory growth and goroutine leaks on slow or disconnected clients.

Blocks:Buffering Unbounded Iterator Batches or Ignoring Flusher Deadlock & Client Disconnects in HTTP Range Loops
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pg-createsubscriber-cutover-standard
backendcritical

Postgres 17 pg_createsubscriber Physical-to-Logical Replica Cutover Standard

Governs zero-downtime database migrations by enforcing safe physical-to-logical replica cutovers using PostgreSQL 17's pg_createsubscriber. Mandates pre-flight replication invariants—including wal_level=logical, slot headroom, and replica identities—to eliminate copy-phase lag and catastrophic data loss during major upgrades.

Blocks:Executing Unvalidated pg_createsubscriber Invocations or Falling Back to Initial-Data pg_dump Logical Subscriptions
Targets:Cursor•Claude•Windsurf•Codex
bun-sab-worker-cross-origin-isolation-guardrail
backendcritical

Bun 1.2 SharedArrayBuffer Worker Pool Cross-Origin Isolation Guardrail

Enforces strict memory isolation, Cross-Origin Isolation HTTP headers (COOP/COEP), and Atomics-based synchronization when leveraging SharedArrayBuffer across worker pools in Bun 1.2. Prevents speculative execution side-channel leaks (Spectre) and unsynchronized data races in high-throughput multi-tenant edge runtimes.

Blocks:Sharing raw SharedArrayBuffer instances across worker threads without cross-origin isolation headers, tenant partition bounds, and Atomics synchronization.
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-sync-boundary
backendcritical

PostgreSQL 17 Failover Slot Synchronization Boundary for Event-Driven CDC Pipelines

Enforces deterministic physical-to-logical replication slot synchronization across Patroni high-availability boundaries in PostgreSQL 17. Guarantees zero data loss and prevents duplicate CDC replay during planned or unplanned primary failovers by mandating synchronized failover slots and strict LSN watermark gating before consumer reconnections.

Blocks:Unsynchronized Logical Slot Orphanage and LSN Regressions During HA Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
go-http3-0rtt-early-data-anti-replay-guardrail
backendcritical

Go 1.24 HTTP/3 0-RTT Early-Data Anti-Replay Guardrail

Fences off non-idempotent HTTP routes from QUIC/TLS 1.3 0-RTT early data to prevent replay attacks from corrupting state or executing duplicate transactions. Ensures that any mutating or non-idempotent operation transmitted within early data is rejected with HTTP 425 Too Early, forcing the client to retransmit after the handshake confirms 1-RTT completion.

Blocks:Blindly processing state-mutating HTTP requests over QUIC 0-RTT early data without checking TLS/QUIC handshake completion status
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-dual-channel-migration-atomicity
backendcritical

Valkey 8 Dual-Channel Cluster Slot Migration Atomicity Guardrail

Maintains distributed cache linearizability and guarantees zero cross-slot key drift during horizontal node re-sharding in multi-terabyte Valkey 8 clusters. Enforces strict dual-channel slot synchronization by locking slot routing states, rejecting non-deterministic multi-key atomic mutations during the MIGRATING/IMPORTING handshake, and ensuring deterministic fallbacks upon ASK and MOVED redirections.

Blocks:Unchecked Cross-Slot Command Execution and Blind Client Writes During Active Dual-Channel Slot Re-Sharding
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-cancellation-guardrail
backendcritical

FastAPI AnyIO Structured TaskGroup Lifecycle & Orphan Mitigation Guardrail

Guarantees that all concurrent subtasks spawned during a FastAPI request are managed via AnyIO TaskGroups strictly bounded to the HTTP connection lifecycle. Prevents unbounded background task execution, lingering database connection locks, and memory leaks caused by client disconnects or unhandled task exceptions.

Blocks:Spawning Unstructured Asyncio Background Tasks Within FastAPI Endpoints
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-iterative-search-memory-standard
backendcritical

pgvector 0.8 HNSW Iterative Scan Memory & work_mem Sizing Standard

Enforces transaction-scoped work_mem budgeting and strict hnsw.max_scan_tuples bounds when using pgvector 0.8+ iterative index scans. Prevents PostgreSQL backend worker OOM termination caused by unbounded candidate queues and memory accumulation during high-concurrency filtered RAG retrieval.

Blocks:Unbounded HNSW Iterative Scans under Default/Excessive work_mem Inducing Worker Process OOM Kills
Targets:Cursor•Claude•Windsurf•Codex
bun-native-websocket-backpressure-ring-buffer
backendcritical

Bun 1.2 Native WebSocket Backpressure Ring-Buffer Invariant

Enforces deterministic backpressure handling and explicit frame shedding for Bun 1.2 native WebSockets during high-throughput broadcast fan-outs. Prevents process heap exhaustion and native Zig transport buffer crashes by monitoring socket buffer levels and dropping stale unacknowledged messages via a bounded ring buffer.

Blocks:Unchecked Fan-Out Broadcasts Overwhelming Slow WebSocket Consumers into Native OOM
Targets:Cursor•Claude•Windsurf•Codex
axum-bounded-sse-backpressure-engine
backendcritical

Axum 0.8 Bounded SSE Streaming Backpressure Engine

Enforces strict bounded channel capacities, explicit lagged-consumer eviction, and non-blocking stream adapters for Axum 0.8 Server-Sent Events (SSE). Prevents unbounded heap growth, slow-client socket buffer bloat, and Tokio worker thread pool starvation caused by unconstrained broadcast fanout.

Blocks:Unbounded MPSC channels and unhandled broadcast lag leading to OOM crashes and runtime executor stalls during SSE fanout
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-direct-buffering-invariant
backendcritical

Postgres 17 Streaming I/O Direct Buffering and Page Cache Isolation Invariant

Enforces configuration, transaction isolation, and query execution standards leveraging Postgres 17 streaming read primitives and direct buffering controls. Bypasses kernel page cache lockups and dirty page writeback starvation during high-throughput concurrent writes, ensuring deterministic latency for pgvector scans and large sequential sweeps.

Blocks:Unbounded Vector and Table Scans Polluting Shared Buffers and Triggering Kernel Page Cache Eviction Thrashing Under Write Saturation
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-swiss-table-heap-pacing-invariant
backendcritical

Go 1.24 Swiss Table Preallocation and Heap Pacing Guardrail

Go 1.24 adopts Swiss Tables for runtime map internals, shifting collision resolution to SIMD-accelerated metadata groups while altering reallocation growth characteristics and memory fragmentation profiles. During multi-gigabit ingestion pipelines, un-hinted maps undergoing continuous dynamic growth trigger frequent bucket group splits, saturating write barriers, ballooning the heap pacing target (GOGC), and inducing catastrophic GC STW mark-assist pauses.

Blocks:Dynamic un-hinted map resizing under sustained high-throughput workloads triggering GC mark-assist storms and L1/L2 cache evictions
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-bounded-memory-allocation-standard
backendcritical

Postgres 17 JSON_TABLE Bounded Memory Allocation and Relational Ingestion Standard

Enforces strict payload chunking, typed column projection boundaries, and session-level memory constraints when utilizing PostgreSQL 17's SQL/JSON JSON_TABLE feature. Prevents unindexed lateral expansions of monolithic JSON documents from exceeding backend work_mem or triggering operating system OOM killer process termination.

Blocks:Unbounded In-Memory Relational Explosion via Monolithic JSON_TABLE Document Parsing
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-cancellation-propagation-guardrail
backendcritical

Go Chi Context Propagation & Upstream Resource Cancellation Invariant

Enforces deterministic cancellation propagation from Go Chi HTTP request contexts to downstream database connection pools, transactions, and child goroutines. Guarantees that premature client disconnections immediately terminate in-flight queries and release database connection leases, preventing connection pool starvation and orphaned backend execution.

Blocks:Orphaned DB Leases and Zombie Goroutines via context.Background() or Unpropagated Chi Request Contexts
Targets:Cursor•Claude•Windsurf•Codex
bun-tcp-zerocopy-direct-io-guardrail
backendcritical

Bun 1.2 TCP Zero-Copy Direct I/O and Backpressure Guardrail

Enforces zero-copy binary forwarding and rigorous backpressure control across Bun 1.2 TCP/TLS sockets. Eliminates JavaScriptCore heap allocation churn, native-to-runtime buffer duplication, and runaway memory inflation during sustained high-throughput microservice proxying.

Blocks:Heap-allocating intermediate buffers and bypassing TCP backpressure drainage in Bun proxy pipelines
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-zero-copy-projection
backendcritical

Postgres 17 JSON_TABLE Zero-Copy Streaming Materialization Boundary

Enforces plan-level streaming projection boundaries when querying JSONB with PostgreSQL 17 standard JSON_TABLE. Eliminates executor tuple spilling into disk-backed Tuplestore buffers and work_mem exhaustion by forbidding intermediate JSON re-serialization, untyped recordset expansions, and unbounded cartesian nested paths.

Blocks:Unbounded Executor Spill and Tuplestore Disk Thrashing via Legacy jsonb_to_recordset and FORMAT JSON Re-Serialization
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-zero-rtt-anti-replay-guardrail
backendcritical

Go 1.24 Chi HTTP/3 0-RTT Anti-Replay Mitigation Invariant

Enforces strict TLS 1.3 / QUIC 0-RTT early data inspection across Go Chi HTTP/3 routers. Rejects non-idempotent early requests with HTTP 425 (Too Early) to eliminate replay attack vectors against state-mutating endpoints.

Blocks:Executing Mutating Endpoints via Unchecked QUIC 0-RTT Handshakes Subject to Replay Attacks
Targets:Cursor•Claude•Windsurf•Codex
axum-codel-adaptive-concurrency-limit
backendcritical

Axum 0.8 CoDel Adaptive Concurrency Limiting and Bufferbloat Mitigation

Enforces deterministic tail latency in Axum 0.8 services by applying Controlled Delay (CoDel) adaptive concurrency limiting. Tracks queue residency (sojourn) time rather than static concurrency thresholds, dynamically shedding excess traffic with HTTP 503 when minimum queue delays exceed targets across sliding observation windows.

Blocks:Static Concurrency Limits and Unbounded Buffering Inducing Bufferbloat and Latency Collapse
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-cache-invalidation-invariant
backendcritical

Go 1.24 Weak Pointer Invalidation and Non-Retaining Cache Standard

Enforces memory-safe cross-goroutine caching architectures using Go 1.24 core 'weak' package pointers. Eliminates unbounded heap retention, cyclic reference leaks, and GC mark-phase latency spikes by ensuring caches do not artificially extend the lifetime of transient heap allocations.

Blocks:Strong-Reference Cache Maps Preventing GC Reclamation and Causing Heap Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
pgvector-08-hnsw-filtered-query-guardrail
backendcritical

pgvector 0.8+ HNSW Filtered Query Iterative Search Guardrail

Enforces strict bounds on dynamic search-list expansion and mandatory fallback routing for filtered HNSW index scans in pgvector 0.8+. Prevents catastrophic tail-latency blowups caused by iterative index scanning exhausting ef_search when filter selectivity drops below index partition thresholds.

Blocks:Unbounded Iterative HNSW Traversal on High-Selectivity Predicates Without Fallbacks
Targets:Cursor•Claude•Windsurf•Codex
go-chi-rfc-8470-early-data-anti-replay
backendcritical

Go Chi RFC 8470 TLS 0-RTT Early-Data Anti-Replay Guardrail

Enforces RFC 8470 compliance on Go Chi routers by strictly fencing TLS 1.3 and QUIC 0-RTT early data against non-safe HTTP methods. Prevents replay-based state corruption and duplicate transactions on distributed HTTP/3 endpoints by deterministically terminating early requests with HTTP 425 Too Early.

Blocks:Permitting Non-Idempotent HTTP/3 0-RTT Early Data Execution Without RFC 8470 Fencing
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-jsontable-streaming-memory-ceiling
backendcritical

Postgres 17 JSON_TABLE Virtual Tuple Streaming Memory Ceiling

Enforces strict memory ceilings and pagination bounds when executing SQL/JSON JSON_TABLE queries with nested path expansions in PostgreSQL 17. Unconstrained nested path evaluations generate unbounded in-memory virtual tuple projections that trigger Linux kernel OOM kills (SIGKILL) on containerized database backends.

Blocks:Unbounded Cartesian NESTED PATH expansions in JSON_TABLE buffering millions of virtual tuples into memory.
Targets:Cursor•Claude•Windsurf•Codex
bun-uds-zero-copy-socket-handoff
backendcritical

Bun 1.2 Zero-Copy UDS Cluster Socket Handoff Standard

Mandates zero-copy socket file descriptor migration across multi-process worker pools in Bun 1.2 using Unix Domain Sockets and transferable native socket handles. Eliminates user-space IPC frame serialization, double-buffering, and primary-process event-loop saturation during high-throughput WebSocket ingress.

Blocks:Proxying WebSocket Byte Streams via IPC Pipes Instead of Delegating Underlying Sockets via UDS
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-direct-io-ring-buffer-tuning
backendcritical

Postgres 17 Direct I/O Ring Buffer and Async Read-Ahead Concurrency Tuning

Postgres 17 deployments on enterprise NVMe tiers must explicitly configure Direct I/O (`io_direct`) and tune vectorized asynchronous read-ahead ring buffers to eliminate OS page cache double-buffering. Unbounded asynchronous I/O concurrency or unaligned buffer allocations saturate NVMe submission queues and trigger kernel lock contention during sequential scans and bulk operations. Applications and infrastructure automation must enforce sector-aligned block sizes, bounded `io_combine_limit`, and constrained worker ring buffers.

Blocks:Unbounded Async Read-Ahead and Unaligned Direct I/O Ring Buffers Inducing NVMe Queue Saturation
Targets:Cursor•Claude•Windsurf•Codex
go-synctest-deterministic-concurrency-testing
backendcritical

Go 1.24 synctest Virtual Clock Concurrency Standard

Enforces deterministic testing of concurrent and time-sensitive Go backend code using Go 1.24's testing/synctest package. Prevents test flakiness, wall-clock sleeps, and unbounded async polling by executing goroutine topologies inside isolated synthetic bubbles with instant virtual time advancement.

Blocks:Relying on arbitrary wall-clock time.Sleep and flaky poll loops for concurrent synchronization
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-streaming-memory-ceiling-standard
backendcritical

FastAPI Pydantic V2 Streaming Memory Ceiling and Zero-Allocation Invariant

Establishes a bounded O(1) memory envelope for FastAPI endpoints streaming unbounded NDJSON and SSE payloads. Mandates cursor-driven async generators utilizing direct byte serialization via Pydantic V2 TypeAdapter to eliminate full-graph heap allocations and prevent Linux OOM-killer terminations under high-concurrency streams.

Blocks:Buffering Unbounded Datasets and Materializing Full Model Graphs in StreamingResponse
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-0rtt-anti-replay-fence
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Idempotency Fence Guardrail

Enforces deterministic early-data rejection and atomic idempotency fencing for HTTP/3 QUIC 0-RTT handshakes in Go Chi services. Unfenced early data allows network-level replay attacks against non-idempotent endpoints before TLS 1.3 handshake finalization. All mutating Chi routes must emit HTTP 425 (Too Early) or validate against an atomic linearizable token fence prior to execution.

Blocks:Executing Mutating State Operations over HTTP/3 0-RTT Early Data Without Replay Detection
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-load-shedding-backpressure-invariant
backendcritical

Axum 0.8 Tower Service Load-Shedding Backpressure Invariant

Protects Tokio work-stealing thread pools from executor saturation by enforcing bounded buffer drop policies before request deserialization. Mandates placement of Tower load shedding and concurrency limit layers at the outermost edge of Axum 0.8 routers with explicit 503 Service Unavailable mapping.

Blocks:Deserializing Payloads or Buffering In-Flight Requests Without Upstream Edge Load-Shedding
Targets:Cursor•Claude•Windsurf•Codex
arrow-flight-sql-contiguous-memory-alignment
backendcritical

Arrow Flight SQL Zero-Copy Contiguous Memory Alignment Invariant

Arrow Flight SQL exchanges IPC RecordBatches across distributed analytical runtimes via gRPC streams. To guarantee true zero-copy data transfer and prevent costly deserialization overhead or SIMD bus errors, all exported and ingested Arrow buffers must strictly conform to 64-byte memory boundary alignments and continuous contiguous layouts. Any misaligned slice or intermediary buffer copy destroys query execution speed and breaks the distributed memory fabric.

Blocks:Unaligned Buffer Slicing and Row-Level Serialization in Arrow Flight SQL Endpoints
Targets:Cursor•Claude•Windsurf•Codex
pg17-json-table-memory-guardrail
backendcritical

PostgreSQL 17 JSON_TABLE Memory Quota & Path Execution Guardrail

Enforces strict query planning limits, plan-node memory boundaries, and structural constraints on PostgreSQL 17 JSON_TABLE queries within OLTP transaction paths. Unbounded nested path projections over arbitrary-depth JSONB columns bypass default work_mem quotas, triggering memory ballooning, buffer cache churn, and cascading node OOM events.

Blocks:Unbounded Nested JSON_TABLE Projections Without Explicit work_mem Isolation and Path-Depth Constraints
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-subtree-state-tenant-partitioning
backendcritical

Axum 0.8 Subtree State Isolation & Tenant Context Partitioning

Enforces compile-time type-safe separation between root infrastructure state and tenant-isolated routing subtrees in Axum 0.8. Eliminates cross-tenant data contamination and runtime extractor panics by replacing monolithic state bags with strictly bounded Tower service hierarchies and scoped state transformations.

Blocks:Monolithic AppState Anti-Pattern with Dynamic Runtime Tenant Pool Resolution and Extractor Panics
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-hints-quic-lifecycle
backendcritical

Go Chi HTTP/3 Early Hints QUIC Stream Lifecycle Synchronizer

Mandates deterministic propagation of QUIC stream terminations (e.g., client STOP_SENDING, stream reset) to all asynchronous HTTP 103 Early Hints pipelines within Go Chi services. Eliminates phantom worker routines, goroutine leaks, and wasted compute by binding worker lifecycles strictly to the request context and verifying stream health prior to non-blocking 103 header flushes.

Blocks:Detached Early Hint Dispatch Yielding Phantom Compute and Resource Starvation on Aborted QUIC Streams
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-safety-state-mutations
backendcritical

Axum 0.8 / Tokio Async Cancellation Safety in State Mutations

Enforces cancellation safety across asynchronous state mutations, transactional database operations, and shared resource acquisitions in Axum 0.8 handlers. Eliminates silent state corruption, partial writes, and orphaned transaction locks caused by dropped futures during client disconnects or tokio::select! branch termination.

Blocks:Awaiting multi-step database mutations or shared state locks directly inside cancellation-vulnerable request futures
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-tcp-corking-standard
backendcritical

Bun 1.2 Zero-Copy TCP Streaming & Kernel Corking Standard

Enforces zero-copy stream piping and kernel-level socket corking (`TCP_CORK` / `TCP_NOPUSH`) for multi-gigabit reverse proxying and streaming ingest in Bun 1.2+. Prevents high-frequency V8/JSC buffer allocations and micro-chunk fragmentation that starve the event loop under heavy I/O backpressure.

Blocks:Chunk-by-chunk user-space buffer allocation and un-corked streaming socket writes under backpressure
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-partitioned-vector-async-io
backendcritical

Deterministic Sub-10ms Partitioned HNSW Vector Search with PG17 Streaming I/O

Mandates declarative partition-local HNSW vector indexing paired with Postgres 17 asynchronous streaming I/O configuration. Guarantees deterministic partition pruning, eliminating global index lock contention and maintaining sub-10ms P99 search latencies during continuous high-throughput vector ingestion.

Blocks:Monolithic Global HNSW Indexes Without Partition Pruning or PG17 Streaming I/O Configuration
Targets:Cursor•Claude•Windsurf•Codex
axum-08-backpressure-sse-drain-standard
backendcritical

Axum 0.8 Zero-Allocation Backpressure & SSE Connection Drain Standard

Mandates asynchronous stream cancellation invariants, bounded backpressure pipelines, and zero-allocation socket teardowns for Server-Sent Events (SSE) in Axum 0.8. Eliminates heap fragmentation and OS socket starvation by guaranteeing task drop semantics propagate upstream during client disconnection cascades.

Blocks:Unbounded Channel Buffering and Detached Producer Tasks During High-Concurrency SSE Disconnects
Targets:Cursor•Claude•Windsurf•Codex
python-313-nogil-fastapi-state-invariant
backendcritical

Python 3.13 Free-Threaded FastAPI Thread-Safe State & C-Extension Invariant

Enforces strict concurrency boundaries and thread synchronization primitives for FastAPI services running on Python 3.13 free-threaded (PEP 703, PYTHON_GIL=0) runtimes. Prevents silent memory corruption, race conditions in standard collection mutations, and segmentation faults originating from non-thread-safe C-extensions and shared in-memory state across parallel ASGI worker threads.

Blocks:Unsynchronized Global Mutations and Non-Reentrant C-Extension Invocations in Free-Threaded FastAPI
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-task-local-cancellation-safety
backendcritical

Axum 0.8 Tokio Task-Local Extraction and Cancellation Safety Standard

Enforces strict drop-safety, RAII cleanup guarantees, and scoped Tokio task-local context propagation across nested Tower middleware and Axum 0.8 request pipelines. Prevents resource leaks, orphaned database transactions, and corrupted task-local states when client connections abort unexpectedly mid-flight.

Blocks:Unprotected mutable state and non-RAII resource cleanup across cancellation points in Axum request pipelines
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-checkpoint-reader-barrier-standard
backendcritical

Bun 1.2 Embedded SQLite WAL Checkpointing and Reader Barrier Isolation

Enforces strict read/write connection segregation and deterministic out-of-band WAL checkpointing for Bun 1.2 embedded SQLite workloads. Prevents SQLITE_BUSY errors, disk lock contention, and unbounded WAL file inflation under high concurrent request volumes by isolating read-only handles and managing WAL size through non-blocking checkpoints.

Blocks:Monolithic Read-Write DB Handles Executing Inline WAL Checkpoints on Concurrent Hot Paths
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slot-sync-postgres-17-logi-754
backendcritical

Postgres 17 Logical Replication Failover Slot Sync Determinism

Enforces synchronous logical replication slot synchronization on standby instances using PostgreSQL 17 failover slot capabilities (`failover = true` and `sync_replication_slots = true`). Guarantees that consumer subscribers and outbox processors avoid missing transactions or suffering unconstrained rewind replay cascades during automated physical HA failover.

Blocks:Unsynchronized Logical Slots Causing Silent Message Loss or Catastrophic Replay During Primary Failover
Targets:Cursor•Claude•Windsurf•Codex
connect-rpc-http3-flow-control-guardrail
backendcritical

Connect-RPC HTTP/3 Multiplexed Flow Control & Backpressure Invariant

Mandates strict synchronous backpressure, bounded stream buffering, and context-cancellation propagation across Connect-RPC bidirectional streams over HTTP/3. Prevents QUIC stream-level window starvation and unconstrained heap memory ballooning during high-concurrency browser-to-server multiplexing.

Blocks:Unbounded Stream Ingestion and Detached Concurrent Yielding in Bidirectional RPC Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-highwatermark-guardrail
backendcritical

Bun Native WebSocket Backpressure & High-Watermark Memory Guardrail

Enforces deterministic backpressure handling in Bun 1.2+ native WebSockets by tracking socket kernel send buffers via ws.bufferedAmount and integrating the native drain lifecycle hook. Prevents catastrophic native and engine heap bloat caused by fast streaming producers overwhelming slow TCP consumers.

Blocks:Unbounded WebSocket Message Dispatching Without Native Drain Suspension Causing Silent OOM Crashes
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-parallel-apply-invariants
backendcritical

Postgres 17 Logical Replication Parallel Apply Transaction Ordering & FK Deadlock Prevention

Enforces publisher transactional boundary discipline and subscriber schema indexing to guarantee causal consistency under Postgres 17's parallel apply engine (streaming = parallel). Prevents cross-worker foreign-key deadlocks, commit-order stalls, and replication slot divergence during sustained high-throughput write bursts.

Blocks:Splitting Interdependent Writes Across Uncoordinated Concurrent Transactions Causing Subscriber Parallel Apply Worker Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
go-swisstable-concurrent-pointer-stability
backendcritical

Go 1.24 SwissTable Memory Invariant: Concurrent Pointer Stability & Table Resizing Guardrails

Enforces strict memory isolation and synchronization boundaries for Go 1.24+ SwissTable-backed maps during concurrent execution. Prevents fatal runtime panics, torn reads, and memory corruption triggered by slot table reallocations, group control byte shifts, and stale interior pointer dereferencing across goroutine worker pools.

Blocks:Passing direct map value pointers or unsynchronized map references across goroutine boundaries during concurrent table growth
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-cancellation-and-drop-safety-guardrail
backendcritical

Axum 0.8 & Tower Async Cancellation and Downstream Drop Safety Invariants

Enforces deterministic teardown of downstream asynchronous tasks and RAII guard patterns when client disconnects or request bodies drop prematurely in Axum 0.8. Prevents background CPU starvation, orphan unbounded execution, and lingering pooled database connection checkouts caused by unhandled Rust async cancellation points. Mandates tokio::select! drop awareness, cancellation tokens, and explicit transaction rollbacks.

Blocks:Spawning detached unbounded futures or holding unmonitored RAII transactional leases across cancellation-vulnerable await points
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-streaming-zero-copy-serialization-invariant
backendcritical

FastAPI Async Zero-Copy Buffer Streaming for High-Throughput Inference

Enforces zero-copy memory-mapped buffer streaming for high-throughput AI/ML model inference responses in FastAPI. Prohibits intermediate Python object instantiation, Pydantic serialization, and byte concatenation on the critical path to eliminate pymalloc lock contention and GIL latency spikes.

Blocks:Pydantic Serialization and Byte Concatenation of High-Dimensional Inference Buffers
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-halfvec-vacuum-guardrail
backendcritical

pgvector 0.8 HNSW Halfvec Quantization & Autovacuum Isolation Guardrail

Mandates 16-bit scalar quantization (halfvec) for high-dimensional vector embeddings and strict table-level autovacuum throttling and worker isolation in PostgreSQL with pgvector 0.8+. Prevents severe buffer pool cache thrashing, out-of-memory kernel kills, and catalog/index lock contention under high-throughput concurrent vector ingestion.

Blocks:Unquantized FP32 HNSW indexing with default shared autovacuum worker limits during concurrent embeddings ingestion.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hnsw-partition-memory-budget-invariant
backendcritical

Postgres 17 Partitioned HNSW Vector Memory Budget & Worker Concurrency Invariant

Enforces deterministic memory ceiling budgeting across maintenance_work_mem, max_parallel_maintenance_workers, and shared_buffers when indexing high-dimensional HNSW vectors across partitioned tables. Prevents fatal container cgroup OOM killer panics (SIGKILL) triggered by unthrottled concurrent partition DDL operations.

Blocks:Parallel Partition Indexing with Uncapped maintenance_work_mem Triggering Host OOM Panics
Targets:Cursor•Claude•Windsurf•Codex
fastapi-asgi-token-streaming-backpressure-standard
backendcritical

FastAPI ASGI Token-Streaming Backpressure and Heartbeat Standard

Enforces proactive client disconnection detection, bounded ASGI queue backpressure, and periodic SSE heartbeats for token-streaming endpoints. Prevents runaway upstream LLM costs, kernel socket buffer exhaustion, and zombie generator memory leaks when downstream clients hang or disconnect.

Blocks:Unbounded StreamingResponse generator lacking disconnect checks, heartbeats, and upstream task cancellation
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-middleware-panic-isolation-invariant
backendcritical

Axum Tower Middleware Panic Isolation and Cancellation Invariant

Enforces strict panic isolation, cancellation safety, and RAII cleanup invariants across Axum and Tower middleware layers. Prevents Tokio task cancellation drops and thread unwinds from poisoning shared state Mutexes, leaking telemetry contexts, or leaving distributed transactional handles dangling.

Blocks:Unprotected Tower Middleware State Mutation and Unhandled Panics Poisoning Shared State on Task Drop
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pg-combinebackup-chain-verification
backendcritical

Postgres 17 Incremental Backup Chain and LSN Continuity Verification

Postgres 17 native block-level incremental backups reconstructed via pg_combinebackup require absolute continuity in Log Sequence Numbers (LSN) and valid manifest checksums across every delta in the chain. Failure to cryptographically verify backup manifests and validate start/end LSN bounds before combination risks synthesizing corrupt clusters and unrecoverable point-in-time recovery (PITR) states.

Blocks:Blind Reconstruction of Incremental Backup Chains Without Manifest Checksums and LSN Continuity Validation
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-multi-worker-concurrency-wal-lease
backendcritical

Bun 1.2 Multi-Worker SQLite Handle Isolation and WAL Write-Lease Protocol

Enforces thread-isolated native SQLite connection handles across Bun Web Workers and mandates deterministic WAL write-lease arbitration. Prevents native pointer corruption, segfaults from cross-thread handle transfers, and unrecoverable SQLITE_BUSY deadlocks during concurrent multi-worker writes.

Blocks:Sharing Native bun:sqlite Instances Across Workers or Executing Uncoordinated Concurrent Transactions
Targets:Cursor•Claude•Windsurf•Codex
axum-sse-backpressure-drain-guardrail
backendcritical

Axum 0.8 Bounded SSE Stream Draining and Heartbeat Backpressure

Server-Sent Events (SSE) in Axum 0.8 must use strictly bounded channels combined with proactive keep-alive heartbeats to handle slow or hung HTTP/2 and HTTP/3 consumers. Failure to apply backpressure or monitor disconnect states leads to unbounded memory growth from queued events and leaked asynchronous streaming tasks.

Blocks:Unbounded Tokio MPSC channels paired with unmonitored SSE streams causing OOM crashes during slow-client stalls
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-synchronized-logical-replication-slots
backendcritical

Postgres 17 Failover-Synchronized Logical Replication Slots Guardrail

Enforces failover-synchronized logical replication slot configurations and consumer reconnection contracts introduced in PostgreSQL 17. Guarantees zero data loss and eliminates manual slot rewinding or schema re-syncing during physical replica promotion.

Blocks:Creating unflagged logical replication slots without failover coordination or primary synchronized standby validation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-0rtt-anti-replay-guardrail
backendcritical

QUIC HTTP/3 0-RTT Early Data Anti-Replay Verification in Go Chi

Defends non-idempotent mutation routes in Go Chi HTTP/3 applications against network-level replay attacks via TLS 1.3 / QUIC 0-RTT early data. Enforces mandatory HTTP 425 (Too Early) rejections on unsafe methods or strict atomic distributed sliding-window replay caches keyed by TLS early data exporters and idempotency signatures.

Blocks:Executing Non-Idempotent Mutations on Unchecked QUIC 0-RTT Early Data Handshakes
Targets:Cursor•Claude•Windsurf•Codex
bun-isolated-heap-snapshot-multitenant-sandbox
backendcritical

Bun 1.2 Isolated Heap Snapshot Multi-Tenant Sandbox Standard

Enforces cryptographic and memory tenant boundary isolation within high-density Bun 1.2 runtimes using pre-warmed deterministic V8 heap snapshots and Web Worker/Node VM boundaries. Prevents cross-tenant state poisoning, prototype mutation leakage, and unmetered execution cycles during multi-tenant execution without container overhead.

Blocks:Global Scope Mutation and Cross-Tenant State Pollution in Reused Bun Runtime Sandboxes
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-synchronization-protocol
backendcritical

PostgreSQL 17 Failover Slot Synchronization and Invalidation Protocol

Enforces PostgreSQL 17 native failover-capable logical replication slot management, physical standby alignment via standby_slot_names, and strict monitoring of slot invalidation states. Guarantees zero logical data divergence and prevents silent consumer stalls during high-availability primary failover events.

Blocks:Creating Non-Failover Logical Replication Slots Without Physical Standby Alignment and Invalidation Auditing
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-protocol
backendcritical

Bun 1.2 Native WebSocket Zero-Loss Backpressure Drain Protocol

Guarantees process resilience under high-concurrency event bursts by wiring kernel socket drain readiness directly to async iterator flow-control. Prevents silent message drops and memory bloat caused by unmonitored uWebSockets buffers in Bun.serve.

Blocks:Fire-and-forget ws.send in unthrottled loops triggering uSockets buffer overflow and process OOM.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-taskgroup-drain-invariant
backendcritical

FastAPI Lifespan TaskGroup ExceptionGroup Drain Invariant

Guarantees that background workers, message consumers, and persistent coroutines managed within FastAPI lifespan contexts utilize Python 3.12+ asyncio.TaskGroup with graceful cancellation and comprehensive ExceptionGroup unwinding. Prevents silent coroutine abandonment, zombie connection leaks, and SIGTERM worker deadlocks during graceful shutdown. Enforces clean context drain before the ASGI application server finalizes process termination.

Blocks:Fire-and-Forget asyncio.create_task Inside FastAPI Lifespan Without TaskGroup Drain or ExceptionGroup Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-protocol-bun-1-2-websocke-336
backendcritical

Bun 1.2 WebSocket Backpressure High-Watermark Drain Protocol

Enforces mandatory backpressure inspection via ServerWebSocket.getBufferedAmount() and asynchronous drain checkpoint synchronization in Bun 1.2 native WebSocket servers. High-throughput fan-out broadcasts without backpressure tracking queue unbounded native payloads in the underlying C++/JavaScriptCore boundary, triggering silent OOM termination under load. Adherence guarantees deterministic flow control and bounded heap allocations across concurrent subscriber sets.

Blocks:Unchecked Fire-and-Forget ServerWebSocket.send() in Mass Broadcast Loops
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-failover-slot-sync-production-standard
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization Boundary

Enforces strict failover configuration and synchronization boundaries for logical replication slots in PostgreSQL 17. Guarantees zero data loss and prevents duplicated change data capture (CDC) streaming events during physical replica failover by requiring failover-enabled slots and synchronized standby slot verification before consumer consumption.

Blocks:Unsynchronized Standby Failovers Causing Slot Dropping, Re-Streaming Storms, or Data Gaps
Targets:Cursor•Claude•Windsurf•Codex
bun-isolated-worker-memory-quarantine
backendcritical

Bun 1.2 Isolated Worker Memory Quarantine & Heap Ceiling Enforcement

Enforces strict heap resource boundaries and deterministic lifecycle quarantine on isolated Bun Worker threads in multi-tenant runtimes. Prevents single-tenant runaway memory allocations or memory leaks from triggering OS-level OOM killer (SIGKILL) signals that terminate the primary parent Bun HTTP cluster.

Blocks:Spawning Unbounded Multi-Tenant Workers Without Heap Caps, Smol Mode, or Watchdog Eviction
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-strict-extra-forbid-guardrail
backendcritical

Pydantic V2 Strict-Mode and Extra-Field Forbid Enforcement in FastAPI

Enforces strict validation mode and extra='forbid' across all Pydantic v2 schemas ingested by FastAPI endpoints. Mitigates mass-assignment vulnerabilities, prototype pollution equivalents, and polymorphic payload smuggling across high-throughput ingress pipelines by terminating requests carrying unmodeled fields with an HTTP 422 Unprocessable Entity.

Blocks:Implicit Permissiveness via Default Model Config Allowing Unmodeled Attributes and Type Coercion Exploits
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-zero-copy-projection-postgresql-17-js-302
backendcritical

PostgreSQL 17 JSON_TABLE Zero-Copy Relational Projection Standard

Mandates the use of PostgreSQL 17 standard SQL/JSON JSON_TABLE projections for high-throughput semi-structured ingestion pipelines instead of client-side array deserialization or legacy jsonb_array_elements expansions. This eliminates Node.js heap exhaustion and database backend palloc bloat by transforming JSON payloads directly into typed relational tuples in-engine with zero intermediate allocations.

Blocks:Client-Side JSON Array Unpacking and Quadratic Cartesian jsonb_array_elements Ingestion
Targets:Cursor•Claude•Windsurf•Codex
fastapi-asyncio-taskgroup-structured-concurrency
backendcritical

FastAPI Asyncio TaskGroup Structured Concurrency Guardrail

Enforces strict structured concurrency in FastAPI and Python 3.11+ services using asyncio.TaskGroup instead of fire-and-forget asyncio.create_task or unsupervised asyncio.gather. Guarantees that failure in any concurrent sub-task immediately triggers cooperative cancellation across sibling coroutines and propagates an ExceptionGroup, eliminating silent coroutine leaks, orphaned database connections, and zombie processing loops.

Blocks:Unsupervised fire-and-forget asyncio.create_task or unconstrained asyncio.gather leading to zombie coroutines and swallowed exceptions
Targets:Cursor•Claude•Windsurf•Codex
axum-h3-quic-stream-cancellation-guardrail
backendcritical

Axum HTTP/3 QUIC Unilateral Stream Cancellation & Socket Buffer Bounding Standard

Enforces strict bounds on concurrent QUIC streams, stream cancellation velocity, and transport-level buffer allocation in Rust Axum/h3 services. Prevents memory exhaustion and edge-node CPU saturation caused by malicious client-side rapid stream reset floods (RESET_STREAM and STOP_SENDING frames).

Blocks:Unbounded QUIC Stream Concurrency and Unmonitored Stream Resets Allowing Hyper-Scale Edge DoS
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-service-backpressure-invariant
backendcritical

Axum 0.8 Tower Service Backpressure and Buffer Saturation Isolation

Enforces strict per-route backpressure isolation in Axum 0.8 using Tower's poll_ready flow control and bounded mpsc buffers. Prevents sudden traffic bursts on unbuffered routes from saturating the shared Tokio multi-threaded runtime and starving adjacent tenant workloads.

Blocks:Global Unbounded Ingestion and Missing poll_ready Propagation Causing Tokio Thread Pool Starvation
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-pointer-lifecycle-pinning
backendcritical

Bun 1.2 Native C-FFI Pointer Lifecycle Pinning & GC Anchoring

Enforces strict heap anchoring for typed arrays, buffers, and native pointers bridged to C dynamic libraries via `bun:ffi`. Prevents catastrophic use-after-free, memory corruption, and silent segmentation faults triggered by JavaScriptCore garbage collection sweeps during zero-copy asynchronous native execution.

Blocks:Passing Unanchored JavaScript Allocations as Zero-Copy Raw C-Pointers Across Async FFI Boundaries
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-tiered-storage-vector-eviction-guardrail
backendcritical

Valkey 8.0 Tiered Storage: Isolate Vector Slabs from Hot Cluster Routing Metadata

Enforces strict memory arena segregation and eviction exclusion for cluster routing metadata during NVMe flash-tier offload surges in Valkey 8.0. Prevents vector index graph slabs and embedding payloads from starving the cluster bus, causing hash slot routing amnesia, or evicting topology tables under flash I/O pressure.

Blocks:Evicting hot cluster routing metadata and slot tables under vector indexing memory spikes during NVMe tiered-storage saturation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-data-anti-replay-go-chi-http-3-ea-558
backendcritical

Go Chi HTTP/3 Early-Data 0-RTT Anti-Replay Guardrail

Protects state-mutating HTTP endpoints against TLS 1.3 and QUIC HTTP/3 0-RTT early data replay attacks by enforcing RFC 8470 compliance. Mandates edge multiplexer middleware in Go Chi to reject non-idempotent early-data requests with HTTP 425 Too Early or validate them against a distributed single-use replay cache.

Blocks:Executing state-mutating operations over unvalidated 0-RTT QUIC/TLS early data without replay gating
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hash-join-json-table-execution-guardrail
backendcritical

PostgreSQL 17 Memory-Optimized Hash Join and JSON_TABLE Execution Standard

Mandates the use of PostgreSQL 17 native JSON_TABLE with explicit typed column definitions and disciplined work_mem boundaries to leverage memory-optimized hash joins. Prevents catastrophic multi-batch disk spilling, plan regressions, and disk I/O exhaustion under heavy concurrent OLTP extraction of nested JSONB documents.

Blocks:Unconstrained Lateral JSONB Unnesting Spilling Multi-Batch Hash Joins to Disk Temp Files
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-adaptive-backpressure-load-shedding
backendcritical

Axum 0.8 Tower Middleware Adaptive Backpressure and Load-Shedding Standard

Enforces deterministic p99 latency boundaries and prevents Tokio async executor threadpool starvation in Axum 0.8 microservices. Mandates explicit Tower load-shedding, bounded concurrency limits, and fail-fast admission controls returning HTTP 503 over unbounded task queuing.

Blocks:Unbounded Request Buffering Causing Tokio Executor Starvation, P99 Latency Spikes, and OOM Crashes
Targets:Cursor•Claude•Windsurf•Codex
openfga-zanzibar-zookie-consistency-token-standard
backendcritical

OpenFGA Zanzibar Zookie Consistency Token & New Enemy Anomaly Prevention

Enforces strict causal ordering across OpenFGA authorization checks and relational mutations to eliminate the Zanzibar 'New Enemy' problem. Writes must capture transactional consistency tokens and propagate them across distributed request boundaries so subsequent read-checks guarantee snapshot evaluation at least as fresh as the mutation.

Blocks:Unsynchronized Eventual-Consistency Checks Causing Stale ACL Reads and Privilege Leaks
Targets:Cursor•Claude•Windsurf•Codex
fastapi-taskgroup-concurrency-boundary-standard
backendcritical

FastAPI Structured Concurrency TaskGroup Exception Boundary Standard

Enforces structured concurrency boundaries in FastAPI applications using Python 3.11+ asyncio.TaskGroup. Prevents orphaned coroutines, silent task failures, and database connection pool starvation caused by fire-and-forget tasks or improperly shared AsyncSession lifecycles.

Blocks:Fire-and-forget asyncio.create_task and passing active AsyncSession instances to unbounded background coroutines.
Targets:Cursor•Claude•Windsurf•Codex
drizzle-multitenant-prepared-statement-cache-partitioning-drizzle-orm-mult-177
backendcritical

Drizzle ORM Multi-Tenant Prepared Statement Cache Partitioning Standard

Enforces strict namespacing, query plan isolation, and bounded lifecycle management for Drizzle ORM prepared statements across multi-tenant architectures. Prevents cross-tenant query plan pollution, statement collisions, and database connection memory exhaustion in shared-process multi-tenant pools.

Blocks:Global Unpartitioned Prepared Statement Naming & Unbounded Cache Leakage in Shared Multi-Tenant Pools
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-v1-graceful-drain-guardrail
backendcritical

Axum 0.8 Hyper-v1 Connection Termination and Graceful Drain Guardrail

Enforces deterministic hyper-v1 connection draining, dual-signal interception (SIGINT and SIGTERM), and background task coordination in Axum 0.8 services. Eliminates abrupt TCP resets (RST packets) and truncated HTTP/2 streams during Kubernetes rolling deployments and blue-green rollouts.

Blocks:Immediate Task Dropping via Naive tokio::select! and Omission of Unix SIGTERM Interception
Targets:Cursor•Claude•Windsurf•Codex
pg17-iterative-hnsw-hybrid-optimizer-standard
backendcritical

PostgreSQL 17 Iterative Index Scan Guardrail for Vector-HNSW Hybrid Search

Enforces deterministic bounded-memory iterative index scan execution paths on PostgreSQL 17 when combining pgvector HNSW similarity queries with restrictive relational predicates or BM25 text rankers. Prevents catastrophic query planner regression to unindexed full sequential scans when filtering selectivity drops below standard cost thresholds. Requires strict session- or transaction-level tuning of hnsw.iterative_scan and work_mem to eliminate OOM kills and high-latency table sweeps.

Blocks:Unchecked Predicate Selectivity Forcing HNSW Planner Fallback to Full Table Sequential Scans
Targets:Cursor•Claude•Windsurf•Codex
pg17-streaming-io-parallel-scan-budget
backendcritical

PostgreSQL 17 Streaming I/O Engine Parallel Scan & Buffer Ring Isolation

PostgreSQL 17 introduces a modernized asynchronous streaming I/O subsystem that aggressively prefetches sequential scan blocks using unified read streams. In hybrid transactional/analytical workloads, unconstrained parallel sequential scans will monopolize storage controller queue depths and exhaust worker-specific ring buffer strategies (BAS_BULKREAD), directly inducing latency spikes across concurrently executing OLTP transactions. Application services executing large sequential analytics must enforce deterministic session-level parallel worker limits, prefetch batch caps, and replica routing invariants.

Blocks:Unbounded Parallel Analytics Saturating PG17 Streaming I/O Prefetch Queues and Starving OLTP Shared Buffers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-taskgroup-structured-concurrency-standard
backendcritical

FastAPI AnyIO TaskGroup Lifetime Boundaries & Python 3.12+ ExceptionGroup Handling

Enforces strict structured concurrency using AnyIO TaskGroups within FastAPI request-response lifecycles to prevent coroutine leakage during concurrent fan-out. Mandates Python 3.12+ except* syntax or explicit ExceptionGroup unwrapping to safely handle partial failures without leaving orphaned background tasks running on the event loop.

Blocks:Unbounded asyncio.create_task Fan-Out and Broad Exception Swallowing in Concurrent Endpoints
Targets:Cursor•Claude•Windsurf•Codex
openfga-relationship-tuple-consistency-barrier
backendcritical

OpenFGA Causal Consistency Token Barrier and TOCTOU Mitigation

Enforces strict causal relationship consistency tokens (Zanzibar zookies / OpenFGA consistency checkpoints) prior to authorization evaluations. Mandates that any mutation creating, updating, or revoking access tuples synchronously obtains and threads a consistency token or write transaction boundary through subsequent check evaluations to eliminate time-of-check to time-of-use (TOCTOU) race conditions.

Blocks:Firing Asynchronous Authorizations or Read Checks Without Causal Consistency Tokens Post-Tuple Mutation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-bounded-goroutine-tree-termination
backendcritical

Go Chi Context-Bounded Goroutine Tree Termination Invariant

Enforces strict cancellation propagation and deterministic drain guarantees for all worker goroutine trees spawned within Go Chi HTTP handlers. Ensures goroutine hierarchies honor r.Context().Done(), decouple unbuffered channels to eliminate deadlocks, and use sync.WaitGroup or errgroup.Group to guarantee complete sub-task draining prior to handler return when clients abruptly disconnect.

Blocks:Spawning Uncoordinated Goroutines Consuming Chi r.Context() with Unbuffered Channel Writes and Dangling Leaks
Targets:Cursor•Claude•Windsurf•Codex
drizzle-pgbouncer-prepared-statement-multiplexing-guardrail
backendcritical

Drizzle ORM Prepared Statement Multiplexing & PgBouncer Safety Standard

Enforces safe execution semantics for Drizzle ORM when operating over PgBouncer in transaction-pooling mode. Mandates driver-level disabling of persistent named prepared statements and isolates session-level bindings to prevent cross-tenant statement collisions and state pollution.

Blocks:Persisting static named prepared statements across multiplexed PgBouncer transaction-mode pools, causing 'prepared statement already exists' crashes and cross-tenant session leaks.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-exception-barrier
backendcritical

FastAPI AnyIO Structured TaskGroup Exception Barrier Standard

Enforces strict structured concurrency in FastAPI services by replacing unbounded fire-and-forget background tasks with AnyIO TaskGroups. This eliminates silent async task failures, guarantees deterministic cancellation propagation, and prevents socket descriptor and connection pool leaks under peak concurrency. Every spawned concurrent task must be explicitly bounded to a managed lifecycle scope with an aggregate exception barrier.

Blocks:Spawning detached coroutines with asyncio.create_task or unbounded Starlette BackgroundTasks that drop unhandled exceptions and leak network sockets
Targets:Cursor•Claude•Windsurf•Codex
bun-v12-postgres-pipelining-batch-invariant
backendcritical

Bun 1.2 Native PostgreSQL Pipelining and Batching Architectural Invariant

Enforces bounded pipelined SQL command execution using Bun 1.2's native `bun:sql` driver to eliminate N+1 network round-trip query serialization bottlenecks under microservice workloads. Prohibits sequential async/await round-trips over pooled connections and requires transactional batching or pipelined query dispatches within bounded queue limits.

Blocks:Sequential Network Round-Trip Awaits and Unbounded Connection Hoarding in High-Throughput Handlers
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-cooperative-load-shedding-cancellation
backendcritical

Axum 0.8 Cooperative Workload Shedding and Client Cancellation Invariant

Mandates explicit cooperative yielding, deterministic cancellation propagation via Tokio cancellation tokens, and bounded queue admission within Axum 0.8 HTTP pipelines. Eliminates runtime worker thread starvation and unbounded heap allocations during cascading upstream retries and abrupt client disconnects.

Blocks:Unbounded detached background spawning and unbudgeted async loops ignoring HTTP client disconnects.
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-invariant-bun-1-2-high-thr-371
backendcritical

Bun 1.2 WebSocket Backpressure Drain & High-Cardinality Invariant

Enforces deterministic non-blocking socket backpressure handling in Bun 1.2+ native WebSockets during high-cardinality broadcast spikes. Prevents silent internal C++ heap bloat and unmonitored dropped frames by verifying `ws.send()` return codes, maintaining per-socket pending ring buffers, and listening to the `drain(ws)` event hook before resuming socket writes.

Blocks:Blind ws.send() Broadcasting Causing Silent C++ Heap Ballooning and OOM Crashes
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-service-lease-concurrency-guardrail
backendcritical

Axum 0.8 Tower Service Lease Concurrency & Backpressure Guardrail

Mandates deterministic concurrency leasing, backpressure, and cancellation-safe permit management across Axum 0.8 and Tower middleware pipelines. Prevents async worker thread starvation, unbounded memory growth from implicit buffering, and catastrophic load shedding deadlocks under saturation.

Blocks:Unbounded Middleware Buffering and Unleased Inner Service Dispatch Under High Concurrency
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-strict-type-coercion-guardrail
backendcritical

FastAPI Pydantic v2 Rust-Core Strict Type Coercion and Deserialization Guardrail

Mandates strict-mode validation across all Pydantic v2 ingress schemas in FastAPI services to prevent silent type mutation, truncation, and injection vulnerabilities. Enforces the Rust-core validator's strict mode (strict=True) to reject loose type casting such as float-to-int rounding, string-to-boolean truthiness evaluation, and precision-lossy float deserialization for monetary figures. Guarantees deterministic cryptographic and financial data contracts before request payloads touch business logic.

Blocks:Lax Deserialization Allowing Silent Numeric Truncation, Falsy String Coercion, and IEEE-754 Precision Decay
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-streaming-body-fused-timeout-guardrail
backendcritical

Axum 0.8 Streaming Body Atomic Deadline and Fused-Timeout Invariant

Enforces an absolute, atomic deadline across chunked asynchronous request payload streams in Axum 0.8. Mitigates Slowloris Denial of Service (DoS) attacks and heap exhaustion by wrapping the Body stream in a fused, monotonic timeout that decrements continuously rather than resetting per-chunk.

Blocks:Per-Chunk Timeout Resets Enabling Infinite-Duration Slowloris Payload Streams
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-wal-summarizer-consistency-guardrail
backendcritical

Postgres 17 WAL Summarizer Incremental Backup Consistency and LSN Monotonicity Guardrail

Mandates block-level WAL summary validation and strict LSN monotonicity enforcement across streaming replicas during PostgreSQL 17 incremental backups. Prevents broken restore chains and corrupted block delta states during pg_combinebackup operations caused by summarizer lag, missing summary spans, or timeline divergence.

Blocks:Executing Incremental Backups Without WAL Summary Range Continuity and Replica Replay Monotonicity Validation
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-state-retention-standard
backendcritical

Bun 1.2 Native WebSocket Server Hibernation State Retention Standard

Bun 1.2 native WebSocket server hibernation achieves extreme connection density by garbage collecting idle JavaScriptCore connection wrappers and persisting socket descriptors at the native C++/kernel level. Storing active ServerWebSocket references in JavaScript heaps (such as Maps or Sets) defeats hibernation, leading to rapid memory bloat and process termination under high concurrency. All connection lifecycle state must be bound to the native upgrade context and mutated solely via ws.data, while fan-out messaging must leverage native C++ topic pub/sub.

Blocks:Retaining JavaScript ServerWebSocket references in module-scoped collections and manually iterating sockets for broadcasting instead of native hibernation and topic pub/sub.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-0rtt-anti-replay-guardrail-go-chi-http-3-0--378
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Verification and Method Whitelisting

QUIC and HTTP/3 0-RTT (Early Data) handshakes introduce severe replay attack vulnerabilities where on-path network adversaries can duplicate non-idempotent TLS records. This guardrail mandates strict HTTP method whitelisting and cryptographic anti-replay verification within Go Chi middleware, rejecting unverified mutating requests with HTTP 425 Too Early. Production services must guarantee that early data is restricted exclusively to safe, idempotent operations and verified against replay caches before execution.

Blocks:Unconditional Execution of State-Mutating Handlers on QUIC 0-RTT Early-Data Payloads
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-shm-concurrency-standard
backendcritical

Bun 1.2 Embedded SQLite WAL Shared-Memory Concurrency & Busy-Handler Guardrail

Enforces strict configuration and concurrency semantics for bun:sqlite across multi-worker Bun clusters accessing shared WAL and SHM files. Mitigates SQLITE_BUSY lock exhaustion and uncoordinated write contention by enforcing explicit busy timeout pragmas, synchronous transaction modes (IMMEDIATE/EXCLUSIVE), and pooled single-writer multi-reader isolation invariants over shared memory mappings.

Blocks:Default Deferred Transactions and Zero-Timeout Pragmas Causing SQLITE_BUSY Deadlocks Across Bun Cluster Workers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-memory-bounded-hashagg-streaming-io
backendcritical

PostgreSQL 17 Memory-Bounded Hash Aggregation & Streaming I/O Execution Guardrails

Enforces strict session-level memory budgeting and streaming read engine primitives in PostgreSQL 17 to prevent disk-spill buffer degradation during concurrent aggregations. Mandates scoped work_mem and hash_mem_multiplier governance alongside EXPLAIN (ANALYZE, BUFFERS, MEMORY) verification to eliminate buffer contention and query latency spikes. Prohibits global work_mem inflation that induces OOM kills under concurrent heavy analytic load.

Blocks:Global work_mem Inflation and Unbounded Hash Aggregation Disk Spills Causing Severe I/O Wait Cascades
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-taskgroup-cancellation-standard
backendcritical

FastAPI AnyIO Structured TaskGroup Exception Cancellation Standard

Enforces strict structured concurrency using AnyIO TaskGroups for intra-request parallel coroutine execution within FastAPI endpoints. Guarantees deterministic cancellation cascading of sibling coroutines upon partial failure or client disconnection, preventing orphaned async workloads and database connection pool exhaustion.

Blocks:Unbounded asyncio.gather and Fire-and-Forget asyncio.create_task Leaking DB Sessions on Partial Request Failure
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-bound-errgroup-pipeline
backendcritical

Go Chi Context-Bound Goroutine Lifecycle and Distributed Deadline Propagation

Enforces strict deadline and cancellation propagation across fan-out goroutines spawned within Go Chi HTTP handlers. Requires the use of context-derived error groups (e.g., errgroup.WithContext) and non-blocking channel selects to guarantee zero goroutine leaks and deterministic resource cleanup upon client disconnects or downstream RPC timeouts.

Blocks:Unbounded Goroutine Spawning with context.Background() or Unsynchronized Channel Receives in Chi Handlers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-free-threaded-memory-invariants
backendcritical

FastAPI on Python 3.13 Free-Threaded (PEP 703) Memory and State Guardrails

Enforces immutable request-scoped state buffers and strict isolation protocols for FastAPI running on free-threaded Python 3.13 (nogil). In the absence of the Global Interpreter Lock, multi-threaded ASGI servers (e.g., Uvicorn/Granian with native threads) will encounter native memory corruption, data races, and torn reads if mutable state leaks across task boundaries or shared memory buffers. All request-scoped data structures must use immutability primitives, contextvars with deep-copy boundaries, or explicit synchronization locks.

Blocks:Cross-Thread Data Races and Memory Corruption via Mutable State Leakage in Free-Threaded Python 3.13
Targets:Cursor•Claude•Windsurf•Codex
bun-isolated-worker-pool-max-rss-recycle-standard
backendcritical

Bun 1.2 Isolated Worker Pool Max-RSS Auto-Recycle Standard

Enforces strict memory isolation and deterministic lifecycle recycling for Bun 1.2 Worker pools in high-concurrency multi-tenant runtimes. Mandates post-task Resident Set Size (RSS) telemetry verification, draining thresholds, and non-blocking worker recreation to preempt JavaScriptCore heap fragmentation and OS thread starvation.

Blocks:Unbounded Worker Lifespans Causing JSC Heap Fragmentation and Process SIGKILL
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal2-mutex-cluster-isolation
backendcritical

Bun 1.2 SQLite WAL2 Mutex Isolation and Descriptor Allocation in Cluster Workers

Enforces non-blocking concurrent reader execution and prevents file descriptor pool exhaustion in Bun 1.2 cluster worker topologies executing SQLite write-intensive operations. Mandates strict WAL2 pragma configuration alongside centralized cross-worker mutex delegation to eliminate busy-lock timeouts and cascading fd starvation across multithreaded edge runtimes.

Blocks:Direct Multi-Worker Concurrent SQLite Mutations Causing WAL Contention, SQLITE_BUSY Cascades, and FD Leaks
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-038-postgres-17-pipelining-leak-fence
backendcritical

Drizzle ORM 0.38 & Postgres 17 Pipeline Mode Prepared Statement Leak Fencing

Fences against severe connection pool memory exhaustion and backend process bloat caused by dangling prepared statement handles during Postgres 17 pipeline execution under Drizzle ORM 0.38. When multiplexing concurrent batch requests over pipelined sockets, prepared statement metadata and portal references must be explicitly scoped, bound to named deallocation barriers, or isolated to ephemeral single-query lifecycle gates. Failure to control portal lifecycles in pipelined batches leads to uncollectable memory leakage in both pgBouncer/backend server heaps and Node.js driver buffers.

Blocks:Unbounded Anonymous Prepared Statements in Multiplexed Pipeline Mode
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-workmem-streaming-projection
backendcritical

Postgres 17 JSON_TABLE WorkMem Bounded Streaming Projection

Enforces deterministic memory bounds and streaming execution paths when projecting massive JSON/JSONB payloads using PostgreSQL 17's SQL/JSON JSON_TABLE standard. Unbounded in-memory materialization of nested JSON arrays during concurrent OLTP operations bypasses work_mem limits, precipitating backend worker Out-Of-Memory (OOM) termination and connection drops. Queries must enforce pre-chunked streaming projections, typed scalar extraction without intermediate subquery buffering, and explicit memory limits via session parameters.

Blocks:Unbounded jsonb_to_recordset or Materializing JSON_TABLE Evaluation on Multi-Megabyte Payloads
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-connection-drop-shielding
backendcritical

FastAPI AnyIO TaskGroup Connection-Drop Shielding & Cleanup Invariant

Enforces AnyIO structured concurrency task groups and shielded cleanup scopes across all streaming and long-lived FastAPI endpoints. Guarantees complete transactional rollbacks, external resource deallocation, and state auditing when clients abruptly terminate HTTP connections, completely preventing unhandled coroutine leaks and orphaned background tasks.

Blocks:Unshielded Cleanup Routines and Unstructured asyncio.create_task Leaks on Abrupt Client Disconnects
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-aware-drain-boundary
backendcritical

Go Chi Context-Aware In-Flight Connection Drain Boundary

Enforces strict two-phase graceful shutdown semantics in Go Chi HTTP services operating within container orchestrators. Guarantees zero dropped in-flight requests by synchronizing OS signal interception, readiness probe failure propagation, bounded connection draining via http.Server.Shutdown, and root request context cancellation propagation to downstream resources.

Blocks:Immediate process termination via os.Exit or unbounded http.Server.Shutdown without readiness probe de-registration or request context inheritance.
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-zero-copy-lifetime-pinning
backendcritical

Bun 1.2 Zero-Copy FFI Pointer Pinning and GC Anchor Invariant

Mandates deterministic GC anchoring and buffer lifecycle management for all zero-copy pointers passed into native asynchronous or threaded C-ABI functions in Bun 1.2. Failure to pin the underlying ArrayBuffer in JavaScriptCore heap during native execution causes non-deterministic Use-After-Free (UAF) and memory corruption.

Blocks:Passing Ephemeral TypedArray Pointers to Asynchronous Native FFI Functions Without GC Anchors
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-synchronized-logical-failover-slot-invariant
backendcritical

PostgreSQL 17 Synchronized Logical Replication Failover Slot Invariant

Enforces failover-enabled logical replication slots and synchronized standby slot topologies introduced in PostgreSQL 17 for Change Data Capture (CDC) pipelines. Prevents message duplication, dual-write divergence, and unrecoverable data loss by guaranteeing logical slot offsets (confirmed_flush_lsn) are continuously mirrored to physical standbys prior to failover or promotion.

Blocks:Provisioning un-synchronized logical replication slots that are dropped or rewound upon physical standby failover.
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-backpressure-propagation-standard
backendcritical

Axum 0.8 & Tower Service Cooperative Cancellation and Backpressure Standard

Enforces strict cooperative cancellation, explicit client disconnect handling, and bounded frame backpressure across Axum 0.8 and hyper 1.x streaming pipelines. Guarantees that HTTP/2 RST_STREAM and HTTP/3 stream cancellations instantly terminate upstream processing and abort downstream allocations to prevent tail-latency memory exhaustion.

Blocks:Detached Asynchronous Spawns and Unbounded Channel Buffers in Streaming HTTP Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-multiprocess-concurrency
backendcritical

Bun 1.2 Native SQLite WAL Multi-Process Concurrency Guardrail

Enforces single-writer architectural topologies, explicit PRAGMA configurations, and async-free transaction boundaries across clustered Bun 1.2 processes using native bun:sqlite. Eliminates lock escalation cascades (SQLITE_BUSY) and unbounded WAL checkpoint starvation under concurrent multi-process workloads.

Blocks:Uncoordinated multi-process write transactions triggering SQLITE_BUSY cascade deadlocks and unbounded WAL disk growth
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-freethreaded-memory-guardrail
backendcritical

FastAPI 0.115 & Python 3.13t Free-Threaded Memory Safety & Concurrency Primitives

Enforces thread-safe memory fencing, synchronization primitives, and immutable access patterns for FastAPI 0.115+ applications running on Python 3.13 free-threaded (GIL-less) runtimes. Prevents data races, torn reads, and memory corruption across parallel worker threads executing high-throughput ML inference pipelines.

Blocks:Unsynchronized Shared In-Memory State and Compound Mutex-Free Updates Across GIL-less Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-sync-cdc-standby-invariant
backendcritical

PostgreSQL 17 Failover Slot Synchronization & CDC Standby Invariants

Mandates PostgreSQL 17 failover-enabled logical replication slots and synchronized physical standby topologies. Guarantees downstream Change Data Capture (CDC) pipelines maintain strict Log Sequence Number (LSN) monotonicity without stream invalidation or duplicate event floods during primary-standby failovers.

Blocks:Creating Logical Slots Without Failover Synchronization Causing Catastrophic CDC Stream Halts on Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
otel-v1-28-genai-tracing-token-budgeting-standard
backendcritical

OpenTelemetry v1.28 GenAI Span Lineage & Distributed Token Budget Governance

Mandates strict adherence to OpenTelemetry Semantic Conventions v1.28 for GenAI operations across all multi-agent orchestration spans. Enforces deterministic prompt template hashing, pre-execution token budget validation, and standard semantic attribute emission to prevent unbounded operational spend and broken telemetry lineage.

Blocks:Ad-Hoc LLM Invocations with Unmonitored Spans, Unhashed Prompts, and Unbounded Token Consumption
Targets:Cursor•Claude•Windsurf•Codex
openfga-subgraph-memoization-depth-limiting
backendcritical

OpenFGA Transitive Depth Limiting and Sub-Graph Memoization Guardrails

Enforces strict recursion depth boundaries and request-scoped sub-graph memoization during OpenFGA relationship-based access control (ReBAC) evaluations. Prevents algorithmic complexity denial-of-service (Graph-DoS) and tail-latency degradation caused by cyclic hierarchies, deep transitive inheritance, and redundant node expansions. Guarantees deterministic evaluation cost and O(1) retrieval for previously traversed authorization paths.

Blocks:Unbounded Recursive Traversal and Duplicate Sub-Tree Fan-Out in Relationship Checks
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-autovacuum-fencing-guardrail
backendcritical

PostgreSQL 17 pgvector HNSW Autovacuum Fencing & Query Determinism

Enforces table-level autovacuum storage parameter fencing, non-blocking index cleanup thresholds, and isolated ingest partitioning for pgvector HNSW indexes on PostgreSQL 17. Guarantees bounded p99/p99.9 cosine distance retrieval latencies by preventing worker buffer cache thrashing and relation lock contention.

Blocks:Unthrottled Default Autovacuum Starving Real-Time HNSW Cosine Search Queries
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cooperative-cancellation-pipeline
backendcritical

Axum 0.8 & Tokio Cooperative Task Budgeting and Cancellation Architecture

Eliminates Tokio worker thread starvation and orphan resource leaks in Axum 0.8 streaming and reverse-proxy handlers by enforcing cooperative task yielding and hierarchical CancellationToken propagation. Ensures unbounded byte-stream iteration respects runtime execution budgets and cleanly unbinds upstream connections when downstream clients abort.

Blocks:Unbounded Async Stream Loops Without Yielding or Hierarchical Cancellation Propagation
Targets:Cursor•Claude•Windsurf•Codex
axum-graceful-draining-mpsc-backpressure
backendcritical

Axum Graceful Drain Synchronization with Bounded MPSC Channel Backpressure

Guarantees zero dropped in-flight HTTP requests and zero lost background buffer operations during Kubernetes rolling deployments. Synchronizes hyper/axum graceful listener termination (sending HTTP/2 GOAWAY frames and waiting for active transport sockets to close) with deterministic bounded Tokio MPSC channel closure, tracking active task references via CancellationToken and task trackers.

Blocks:Abrupt Tokio Runtime Abort or Uncoordinated Channel Producer Drops Causing Dropped In-Flight Requests and 502 Bad Gateway / Broken Pipe Errors
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-parallel-vacuum-memory-cap-guardrail
backendcritical

Postgres 17 Parallel Vacuum Maintenance Work Memory Cap Allocation

Prevents catastrophic Out-Of-Memory (OOM) events and severe disk I/O thrashing during heavy write surges by governing PostgreSQL 17 vacuum worker allocations. Enforces dynamic ceilings across maintenance_work_mem, autovacuum_max_workers, and max_parallel_maintenance_workers, utilizing PG17's internal vacuum memory limits rather than unbounded global memory assignments. Eliminates multi-gigabyte memory exhaustion where concurrent index scans and parallel vacuum worker allocations cause cascading backend evictions.

Blocks:Global Uncapped Maintenance Work Memory Allocation Across Concurrent Parallel Vacuum Workers
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-heap-budget-cancellation-protocol
backendcritical

Bun 1.2 Native Worker Heap Budgeting and Cooperative Cancellation Protocol

Mandates deterministic heap memory quotas, cooperative AbortSignal-driven cancellation, and proactive teardown routines for Bun isolated native workers. Prevents unmonitored JavaScriptCore heap growth from triggering kernel OOM-killer panics and event-loop thread starvation under high concurrency.

Blocks:Spawning Unconstrained Bun Workers Without Heap Telemetry, Backpressure, or Cooperative Cancellation
Targets:Cursor•Claude•Windsurf•Codex
hyper-http3-0rtt-anti-replay-mitigation-standard
backendcritical

Hyper HTTP/3 0-RTT Anti-Replay Mitigation Standard

Enforces strict isolation of QUIC and TLS 1.3 0-RTT early data frames to idempotent read operations across Hyper HTTP/3 edge pipelines. Neutralizes replay vulnerabilities during connection migrations and 0-RTT handshakes by mandating HTTP 425 (Too Early) rejections or handshake deferral on all state-mutating requests.

Blocks:Executing state-mutating or non-idempotent operations across 0-RTT early data without 1-RTT cryptographic completion
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-logical-replication-standard
backendcritical

PostgreSQL 17 Failover Slot Logical Replication High-Availability Standard

Enforces PostgreSQL 17 failover slot logical replication topologies to guarantee zero data loss, prevent downstream consumer divergence, and eliminate full-table resynchronizations during primary failover. Mandates synchronized slots across streaming physical standbys, explicit pg_sync_replication_slots sync mechanics, coordinated LSN tracking, and verified failover validation before promoting standby targets.

Blocks:Creating unmanaged logical replication slots without pg_create_logical_replication_slot(failover => true) and synchronized standby slots
Targets:Cursor•Claude•Windsurf•Codex
go-http3-quic-stream-pool-congestion-bounding
backendcritical

Go 1.24 HTTP/3 Stream Memory Pooling and Congestion Bounding Standard

Enforces strict limits on concurrent QUIC stream allocations using bounded slab allocators and admission semaphores to prevent unbounded goroutine stack inflation and memory starvation. Mandates explicit transport-level backpressure and pooled I/O buffers during high-packet-loss ingress bursts.

Blocks:Unbounded Per-Stream Goroutine Spawning with Dynamic Heap Allocations During QUIC Burst Ingress
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-zero-copy-streaming-backpressure-invariant
backendcritical

Axum 0.8 Zero-Copy Streaming Body Backpressure and Teardown Invariant

Enforces bounded memory allocations and deterministic connection lifecycle management for asynchronous HTTP request/response bodies in Axum 0.8. Prohibits unbounded payload buffering into memory and mandates explicit downstream stream backpressure propagation with deterministic cancellation semantics during early aborts.

Blocks:Unbounded In-Memory Body Ingestion and Unhandled Stream Aborts Leading to Socket and Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-synchronization-standard
backendcritical

PostgreSQL 17 Failover Logical Slot Synchronization & Standby Persistence Invariant

Mandates standard configuration and programmatic slot creation semantics introduced in PostgreSQL 17 for zero-data-loss logical replication failover. Enforces the use of the failover flag during slot instantiation and validates primary/standby coordination through synchronized_standby_slots and sync_replication_slots. Prevents subscriber desynchronization, replay stream divergence, and downstream message corruption during physical primary failovers.

Blocks:Uncoordinated Logical Slots Lacking Failover Propagation and Standby Sync Gating
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-stream-cancellation-protocol
backendcritical

Axum 0.8 Tower Service Connection Shedding and Stream Cancellation Protocol

Enforces deterministic async task cancellation propagation across Axum 0.8 route handlers and Tower middleware layers during client disconnects or load shedding. Prevents kernel socket descriptor exhaustion, zombie Tokio workers, and half-open TLS states by anchoring streaming bodies to RAII drop semantics and cooperative cancellation tokens.

Blocks:Detaching Streaming Tasks via tokio::spawn Without Drop Guard or CancellationToken Propagation
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-memory-pinning-gc-lifespan
backendcritical

Bun 1.2 Native FFI Heap Pointer Pinning and GC Lifespan Management

Enforces strict heap memory pinning and explicit reference anchoring during zero-copy asynchronous native FFI invocations in Bun 1.2. JavaScriptCore's garbage collector will eagerly collect unreferenced TypedArrays, reallocating or zeroing underlying memory pages while native C/Rust worker threads read or write to raw pointers, leading to catastrophic memory corruption and segmentation faults.

Blocks:Ephemeral TypedArray Zero-Copy Transfer to Background Native Threads Causing Use-After-Free
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-buffer-pool-quota-standard
backendcritical

Go Chi Context-Bound Buffer Pooling and Allocation Quota Standard

Enforces strict buffer pooling lifecycle management and per-request allocation quotas within Go Chi HTTP services. Eliminates catastrophic GC pauses, stop-the-world spikes, and sync.Pool heap fragmentation caused by unbounded allocations and oversized buffer retention during fragmented multipart and chunked payload ingestion.

Blocks:Unbounded io.ReadAll and Naked Buffer Allocations Inducing Memory Fragmentation and GC Spikes
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-graceful-shedding-payload-streaming-memory-cap
backendcritical

Axum 0.8 Tower Service Graceful Shedding & Payload Streaming Memory Cap Standard

Enforces strict heap-bound backpressure, explicit payload streaming limits, and graceful load shedding in Axum 0.8 applications. Prevents Tokio worker pool starvation and Out-Of-Memory (OOM) cascading failures by combining Tower LoadShedLayer with deterministic byte-stream caps and fail-fast backpressure mechanisms.

Blocks:Unbounded Payload Buffering and Missing Load Shedding Leading to Tokio Worker Pool Starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-vector-hnsw-memory-partition-pruning-standard
backendcritical

Postgres 17 Vector HNSW Memory Budgeting & Partition Pruning Standard

Enforces strict session-level maintenance_work_mem quotas and deterministic partition pruning for HNSW vector indexes on Postgres 17. Prevents kernel OOM killer panics caused by multi-worker graph construction across partitioned billion-scale vector collections. Guarantees predictable memory footprints during concurrent index builds and hybrid semantic search executions.

Blocks:Unbounded Parallel HNSW Indexing on Parent Partition Tables with Default System Memory Budgets
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-pointer-lifetime-gc-safety-standard
backendcritical

Bun 1.2 Native FFI Puddle Pointer Lifetime and GC Safety Standard

Enforces strict memory safety and pinned handle lifetimes across Bun 1.2 native Foreign Function Interface (FFI) boundaries. JavaScriptCore (JSC) garbage collection sweeps and compacting phases can evict or relocate backing buffers while asynchronous or long-lived native C ABI code retains raw pointer references. This guardrail mandates deterministic handle pinning, pointer derivation lifecycle bounds, and explicit finalizer cleanup to eliminate use-after-free and silent memory corruption.

Blocks:Passing unpinned TypedArray pointers across asynchronous or deferred C ABI boundaries subject to JSC GC sweeps
Targets:Cursor•Claude•Windsurf•Codex
bun-native-socket-zero-copy-lifetime-guardrail
backendcritical

Bun 1.2 Native Socket Zero-Copy Pipe Lifetime Guardrail

Enforces strict buffer lifecycle ownership and backpressure synchronization when using Bun 1.2 native TCP sockets with zero-copy stream transformations. Eliminates use-after-free conditions and memory corruption caused by referencing internal socket slab buffers after async ticks or uncoordinated pipe drains.

Blocks:Retaining or Mutating Kernel-Mapped Slab Buffers Across Microtask Boundaries During Native Pipe Transfers
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-propagation-standard-go-chi-structure-947
backendcritical

Go Chi Structured Context Deadline Propagation & Goroutine Leak Prevention

Enforces strict parent context propagation across Chi HTTP middleware, downstream gRPC/SQL boundaries, and fan-out worker goroutines. Prevents catastrophic goroutine accumulation, resource leaks, and orphan RPC execution when client HTTP/3 multiplexed QUIC streams cancel or reset abruptly.

Blocks:Detaching context or launching unmonitored goroutines inside Chi handlers during HTTP/3 stream cancellation
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-graceful-drain-loadshed-invariant
backendcritical

Axum 0.8 & Tower Deterministic Worker Drain and Load-Shedding Invariant

Enforces deterministic termination of in-flight requests and immediate upstream backpressure propagation during Kubernetes rolling updates under extreme concurrency. Mandates readiness probe degradation before socket close, Tower load-shedding layers with explicit 503 Service Unavailable responses, and bounded graceful drain timeouts to prevent TCP RST drops.

Blocks:Naive axum::serve Graceful Shutdown Lacking Readiness De-registration, Pre-Stop Delay, and Tower Load-Shedding
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-parallel-logical-replication-worker-memory-boundary
backendcritical

Postgres 17 Streaming Parallel Logical Replication Worker Memory Boundary

Enforces strict memory boundaries and worker concurrency quotas for PostgreSQL 17 parallel apply background workers during streaming logical replication. Prevents node-level OOM-killer cascade failures by explicitly capping logical_decoding_work_mem, constraining max_parallel_apply_workers_per_subscription, and configuring disk-spill fallback parameters during multi-gigabyte transactional changesets.

Blocks:Unbounded Parallel Apply Workers with Uncapped Buffer Memory Triggering OOM-Killer Failures
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-mmap-concurrency-guardrail
backendcritical

Bun 1.2 Multithreaded SQLite WAL Memory-Mapped Synchronization Standard

Enforces strict isolation, WAL journal mode configuration, and single-writer coordination across Bun 1.2 multithreaded worker pools accessing SQLite databases. Prevents database lock contention (SQLITE_BUSY), memory-mapped (mmap) dirty page corruption, and inconsistent file descriptors when multiple concurrent workers access local and edge-replicated SQLite instances.

Blocks:Uncoordinated Multi-Worker Writes and Unbounded MMAP Allocations Causing SQLITE_BUSY Deadlocks and Corrupted WAL Buffers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hnsw-memory-budget-guardrail
backendcritical

Postgres 17 Streaming HNSW Vector Index Memory-Budget Guardrail

Enforces strict bounded memory allocation and concurrency constraints for pgvector HNSW indexing during active database workloads. Prevents aggressive buffer pool thrashing, query-path latency spikes, and vector recall degradation caused by unconstrained maintenance work memory and parallel worker oversubscription.

Blocks:Unbounded Parallel Maintenance Memory Exhausting Shared Buffers and Starving Query Paths
Targets:Cursor•Claude•Windsurf•Codex
go-iter-seq-zero-alloc-middleware
backendcritical

Go 1.24 iter.Seq Zero-Allocation HTTP Middleware Pipeline Standard

Mandates functional iterator-based middleware chains utilizing Go 1.24's iter.Seq to eliminate slice allocations, closure heap escapes, and dynamic dispatch overhead in high-throughput gateway routing. Guarantees zero-allocation execution paths through compiler-inlined range-over-func loops that terminate via deterministic boolean yield semantics.

Blocks:Slice-Based Recursive Handler Chaining Forcing Closure Heap Escapes Under High QPS
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-concurrency-invariant
backendcritical

Bun 1.2 Clustered SQLite WAL Read-Replica Affinity & Truncation Barrier Standard

Enforces strict process-level separation between solitary write-coordinator threads and read-replica worker pools when leveraging bun:sqlite under high concurrency. Prevents SQLite busy timeouts and unconstrained WAL log explosion by mandating explicit query-only PRAGMAs on read threads alongside deterministic checkpoint barriers via the primary engine thread.

Blocks:Unpartitioned Multi-Threaded Read/Write Contention Leading to SQLITE_BUSY Starvation and Unbounded WAL Expansion
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-worker-wal-affinity-standard
backendcritical

Bun 1.2 Worker Thread SQLite WAL Affinity and Concurrency Guardrail

Enforces strict database connection isolation, WAL (Write-Ahead Logging) configuration, and single-writer thread affinity across concurrent native Bun worker threads. Prevents SQLITE_BUSY lock starvation, database corruption, and shared-memory descriptor desynchronization caused by uncoordinated concurrent write transactions.

Blocks:Uncoordinated Multi-Threaded Read-Write SQLite Connections Without WAL Affinity or Busy Timeouts
Targets:Cursor•Claude•Windsurf•Codex
axum-streaming-cancellation-barrier
backendcritical

Axum 0.8 Streaming Extractor Task Cancellation Barrier

Mandates deterministic cancellation boundaries for all Axum 0.8 streaming responses, SSE, and WebSocket loops. When hyper drops an active response stream upon client disconnect, detached background worker tasks must be proactively terminated via CancellationToken or RAII drop guards to prevent unbounded memory and thread leaks.

Blocks:Spawning Detached Background Producers Without Cancellation Barriers in Streaming Handlers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-parallel-hnsw-memory-fencing
backendcritical

Postgres 17 pgvector Parallel HNSW Index Build Memory Fencing

PostgreSQL allocates maintenance_work_mem per parallel worker during index creation, which can easily trigger Linux kernel Out-Of-Memory (OOM) killer terminations during concurrent HNSW vector indexing. Engineers must strictly calculate and fence session-level memory budgets and worker ceilings before executing CREATE INDEX statements for pgvector embeddings.

Blocks:Unbounded parallel maintenance worker allocation causing host OOM panic and shared buffer eviction during HNSW index construction
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-graceful-inflight-request-drain-guardrail
backendcritical

Axum 0.8 Tower Service Graceful In-Flight Request Drain Guardrail

Enforces deterministic connection draining and cancellation token propagation across streaming HTTP/2, HTTP/3, and WebSocket channels during zero-downtime container rollouts in Axum 0.8. Prevents abrupt socket termination and state corruption by coordinating OS signal interception with tokio-util CancellationToken injection into Tower layered services. Guarantees that short-lived requests complete within a bounded deadline while long-lived bidirectional streams receive protocol-level close frames.

Blocks:Hard-aborted async streams and hung container deployments caused by uncoordinated axum::serve graceful_shutdown hooks.
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-rls-sync
backendcritical

Postgres 17 Logical Replication Tenant RLS Synchronization and Boundary Enforcement

PostgreSQL logical replication worker processes bypass Row-Level Security (RLS) by default on subscriber tables unless explicitly governed by publication row filters, replica RLS policies, and non-superuser subscription owners. This rule enforces cryptographic tenant boundary propagation across logical replication streams, requiring explicit publication `WHERE` clauses, subscriber-side `FORCE ROW LEVEL SECURITY`, and consumer session context hydration to prevent cross-tenant data leaks in CDC downstream systems.

Blocks:Unfiltered Logical Publications Replicating Global Data to RLS-Disabled Read Replicas
Targets:Cursor•Claude•Windsurf•Codex
go-fips140-3-crypto-toolchain-boundary
backendcritical

Go 1.24 FIPS 140-3 Cryptographic Toolchain Strict Boundary

Mandates compile-time build tags and fail-closed runtime module assertions to enforce Go 1.24+ FIPS 140-3 cryptographic boundaries. Prevents silent runtime fallbacks to unapproved standard library primitives or non-certified third-party cryptography in regulated zero-trust services.

Blocks:Silent Fallback to Non-Approved Cryptographic Primitives and Permissive FIPS Module Fallback
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-task-cancellation-reclamation-standard
backendcritical

Axum 0.8 Tower Task Cancellation and Resource Reclamation Standard

Enforces strict cancellation propagation and RAII resource reclamation across Axum 0.8 handlers and Tower middleware stacks. Prevents connection leaks, orphaned database transactions, and CPU waste by ensuring Tokio futures abort safely upon client TCP termination or HTTP/2 stream reset. Mandates explicit cancellation token boundaries for intentional detached background tasks.

Blocks:Detached Tokio Spawns and Non-RAII Async State Causing Zombie Queries and Leaked Connection Leases on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
pg17-streaming-io-prefetch-guardrail
backendcritical

PostgreSQL 17 Streaming I/O Vector Prefetch Memory Guardrails

PostgreSQL 17 introduces an asynchronous streaming I/O subsystem with vectorized sequential reads and vectorized index scans. Uncontrolled vector prefetch concurrency and unconstrained worker allocation cause kernel page-cache churn and buffer table lock contention under heavy analytics workloads. Applications and migration harnesses must enforce deterministic concurrency ceilings, session-scoped prefetch limits, and explicit memory bounds per parallel worker.

Blocks:Unbounded parallel vector prefetch and global default io_combine_limit inducing kernel page-cache thrashing
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-pointer-lifecycle-invariant
backendcritical

Bun 1.2 Zero-Copy Buffer C-FFI Pointer Lifecycle Invariant

Enforces strict pinning and deterministic lifecycle management of off-heap memory buffers passed across Bun's JavaScript runtime and native C-FFI boundaries. JavaScriptCore GC compaction can relocate or collect backed ArrayBuffers, causing use-after-free conditions and memory corruption when native async C code dereferences raw pointers.

Blocks:Ephemeral TypedArray Pointer Passing to Asynchronous C-FFI Invocations
Targets:Cursor•Claude•Windsurf•Codex
axum-bounded-body-streaming-task-cancellation
backendcritical

Axum 0.8 Bounded Body Streaming and Task Cancellation Guardrail

Enforces deterministic bounded streaming and task cancellation semantics in Axum 0.8 HTTP services. Guarantees immediate reclamation of intermediate request body buffers and aborts background processing upon client disconnect, eliminating silent Tokio task leakage and memory amplification under high concurrency.

Blocks:Unbounded Stream Buffering and Detached Tokio Tasks Leading to Memory Amplification and Silent Task Leakage on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
pgvector-partition-hnsw-memory-bounding-production-standard
backendcritical

Postgres 17 pgvector Partition-Local HNSW Index Memory Bounding

Enforces strict partition-local memory isolation and dynamic maintenance_work_mem budgeting when generating Hierarchical Navigable Small World (HNSW) vector graph indexes on partitioned tables in Postgres 17. Prevents host kernel out-of-memory (OOM) killer invocations by disallowing global index creation across parent partitioned tables and bounding per-worker memory during parallel backfills.

Blocks:Global Unbounded HNSW Indexing on Parent Partitioned Tables Triggering OOM Terminations
Targets:Cursor•Claude•Windsurf•Codex
go-chi-zero-alloc-deadline-enforcement
backendcritical

Go Chi Zero-Allocation Context-Propagated Deadline Enforcement

Enforces strict downstream deadline propagation, zero-allocation context key architectures, and fail-fast cancellation across Go Chi HTTP routing chains. Eliminates runaway background goroutines and thread pool exhaustion during cascading downstream microservice outages. Guarantees that request lifetimes, tracing baggage, and database/RPC calls unconditionally respect parent context deadlines without escaping to the heap.

Blocks:Orphaned Request Contexts, Heap-Allocated Context Keys, and Unbounded Runaway Goroutines
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-graceful-cancellation-draining
backendcritical

Axum 0.8 Tokio Cooperative Cancellation Token Propagation and Draining

Enforces cooperative cancellation token propagation and connection tracking across long-lived Axum 0.8 streaming connections (Server-Sent Events and WebSockets). Prevents uncoordinated termination and leaked Tokio tasks during Kubernetes SIGTERM rolling updates by tracking in-flight streams via CancellationToken trees and graceful shutdown drain sequences.

Blocks:Unbounded Tokio Task Spawning and Detached Loops in Streaming Handlers Causing Hung Deployments and Leaked Connections
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-bounded-stream-invariant
backendcritical

FastAPI & Pydantic-Core Zero-Copy Bounded Stream Invariant

Defends asynchronous FastAPI endpoints against memory-inflation and recursion exhaustion Denial of Service (DoS) attacks. Mandates bounded chunked stream consumption with hard byte caps prior to model deserialization and configures pydantic-core depth limits. Prevents monolithic in-memory buffering and stack overflow crashes from malicious deeply nested JSON payloads.

Blocks:Buffering Unbounded HTTP Streams into Monolithic In-Memory Pydantic Deserializers
Targets:Cursor•Claude•Windsurf•Codex
axum-08-hyper-v1-graceful-draining-standard
backendcritical

Axum 0.8 & Hyper v1 Deterministic Graceful Connection Draining

Enforces deterministic TCP socket teardown, HTTP/1.1 connection draining, and HTTP/2 GOAWAY frame propagation for Axum 0.8 services built on Hyper v1. Eliminates client-perceived TCP resets (ECONNRESET) and 502 Bad Gateway ingress errors during Kubernetes rolling pod deployments.

Blocks:Unbounded or Unguarded Server Teardown Dropping In-Flight Traffic and Active Keep-Alives on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
go-chi-otel-context-cancellation-guardrail
backendcritical

Go Chi v5 Structured Context Cancellation & OpenTelemetry Lifecycle Propagation

Enforces deterministic context cancellation propagation across Go Chi v5 HTTP middleware pipelines and downstream RPC/database calls. Prevents orphaned downstream executions, goroutine leaks, and broken OpenTelemetry trace lineage by binding client connection terminations directly to derived execution contexts and span finalization.

Blocks:Detaching r.Context() or Leaking Unbounded Goroutines During Chi HTTP Request Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-token-stream-draining
backendcritical

Axum 0.8 Cooperative SSE and WebSocket Stream Draining via Tokio CancellationToken

Mandates cooperative stream draining using tokio_util::sync::CancellationToken and bounded timeouts for Axum 0.8 long-lived SSE and WebSocket connections. Ensures graceful close frame dispatching, buffer flushes, and state finalization without abrupt socket severance or infinite shutdown hangs.

Blocks:Abrupt Socket Severance and Unbounded Process Leaks via Uncoordinated Stream Drops During Shutdown
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-vectorized-streaming-io-buffer-governor
backendcritical

Postgres 17 Vectorized Streaming I/O and Buffer Ring Governor

Enforces strict session-level buffer isolation and concurrency caps for Postgres 17 streaming read operations and analytical workloads interleaved with OLTP traffic. Prevents OS page-cache thrashing, shared_buffers eviction cascades, and out-of-memory kernel faults triggered by unthrottled parallel worker allocation.

Blocks:Executing heavy analytical batch scans over default OLTP connection pools with unconstrained work_mem and parallel worker settings.
Targets:Cursor•Claude•Windsurf•Codex
bun-native-connection-pool-backpressure-isolation
backendcritical

Bun 1.2 Native Connection Pool Backpressure Isolation & Thread Starvation Guardrail

Bun 1.2 leverages native Zig/C++ async I/O primitives and uSockets underneath the JavaScript runtime. Unbounded asynchronous native operations—such as unthrottled fetch dispatches, unmetered native socket allocations, and limitless database pool acquisitions—exhaust native file descriptors and starve worker threads during traffic bursts. This standard mandates deterministic semaphore bounds, acquisition deadlines, and native backpressure isolation across all outbound I/O layers.

Blocks:Unbounded Asynchronous Native I/O Dispatch Inducing Zig Worker Pool Starvation and FD Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
python-313-nogil-singleton-memory-barrier
backendcritical

Python 3.13 Free-Threaded FastAPI Singleton Memory Barrier & State Synchronization

In Python 3.13 free-threaded (PEP 703 nogil) environments, FastAPI dependency singletons and in-memory caches execute across true OS threads without the Global Interpreter Lock. Unsynchronized mutable state, unsafely shared C-extensions, and naked double-checked locking introduce race conditions, torn reads, and reference-count/immortalization corruption. This standard mandates explicit synchronization primitives, double-checked locking with acquire/release barriers, and thread-local state isolation.

Blocks:Unsynchronized Global In-Memory Singletons in Python 3.13 Nogil Worker Pool
Targets:Cursor•Claude•Windsurf•Codex
openfga-contextual-tuple-causal-consistency
backendcritical

OpenFGA Contextual Tuple Graph Evaluation and Causal Consistency Guardrail

Enforces strict causal consistency tokens (continuation tokens/zenith markers) and on-the-fly contextual tuple injection across OpenFGA authorization checks during rapid organizational tree reorganizations. Prevents stale authorization grants and unauthorized access drift resulting from out-of-order replication delays between the datastore and graph check engine.

Blocks:Unbounded Eventual Consistency Authorization Checks and Isolated Graph Evaluations During Tree Mutations
Targets:Cursor•Claude•Windsurf•Codex
axum-io-uring-cancellation-buffer-quarantine
backendcritical

Axum io_uring Zero-Copy Stream Cancellation Buffer Quarantine

Enforces deterministic buffer quarantine and completion queue reconciliation for zero-copy Axum streams backed by io_uring runtimes. Prevents kernel use-after-free, silent memory corruption, and file-descriptor leaks caused by dropping in-flight user-space buffers upon sudden client socket disconnects.

Blocks:Dropping io_uring-backed stream futures without buffer quarantine during client disconnects
Targets:Cursor•Claude•Windsurf•Codex
bun-als-distributed-trace-propagation-boundary
backendcritical

Bun 1.2 AsyncLocalStorage Context Isolation & Trace Propagation Invariant

Enforces strict AsyncLocalStorage boundary encapsulation across Bun 1.2 native event loop ticks, microtask queues, and Worker thread boundaries. Prevents cross-request context bleeding and orphaned OpenTelemetry spans caused by un-bound async callbacks and unsafe enterWith invocations.

Blocks:Context Bleeding via AsyncLocalStorage.enterWith and Un-bound Worker Thread Dispatches
Targets:Cursor•Claude•Windsurf•Codex
postgres-subtransaction-splintering-snapshot-quarantine
backendcritical

Postgres Subtransaction Splintering and Snapshot Metadata Quarantine Guardrail

Enforces strict limits against nested subtransactions and savepoint proliferation in PostgreSQL OLTP workloads. Uncontrolled savepoint chains overflow backend ProcArray subxid caches (exceeding the 64-entry inline ceiling), triggering global SubtransSLRULock contention, snapshot bloat, and accelerated transaction ID (XID) wraparound exhaustion. High-throughput database clients must decouple transient failure handling from database-level savepoints using application-tier idempotent retries.

Blocks:Nested Savepoints and ORM Subtransaction Splintering Saturating PGPROC SubXID Caches and SLRU Locks
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-buffer-bounded-concurrency-load-shedding
backendcritical

Axum 0.8 Tower Buffer-Bounded Concurrency and Fail-Fast Load Shedding Protocol

Enforces deterministic backpressure and fail-fast load shedding in Axum 0.8 microservices by pairing Tower BufferLayer with LoadShedLayer and HandleErrorLayer. Guarantees saturating traffic spikes reject excess requests with HTTP 503 before streaming or buffering memory-intensive payloads.

Blocks:Unbounded task queuing and memory pre-allocation leading to OOM cascades under heavy load.
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-dynamic-deflate-backpressure
backendcritical

Bun 1.2 Native WebSocket Dynamic PerMessage-Deflate Backpressure Enforcement

Enforces strict backpressure controls on Bun 1.2 native WebSocket servers streaming dense event payloads. Dynamically modulates compression and drops deflate frame wrapping when socket write buffers exceed kernel watermark thresholds to prevent severe heap bloat and unrecoverable OOM crashes.

Blocks:Unchecked PerMessage-Deflate Streaming Causing Catastrophic Memory Exhaustion via Buffered Zlib Contexts
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-sync-state-machine
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization State Machine

Guarantees zero data loss across cross-region failover events by constraining physical standby promotion until all logical replication slots reconcile with the physical timeline. Enforces PostgreSQL 17 failover slot synchronization primitives (sync_replication_slots, pg_sync_replication_slots) via a deterministic, finite-state promotion supervisor that asserts slot LSN convergence and prevents split-brain subscriber consumption.

Blocks:Premature Standby Promotion without Logical Slot LSN Reconciliation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-sse-disconnection-lifespan-invariant
backendcritical

FastAPI Async Generator SSE Lifespan and Disconnection Invariant

Enforces proactive ASGI client disconnection polling and rigorous task cancellation cleanup in FastAPI Server-Sent Events (SSE) generators. Eliminates silent async connection pool exhaustion caused by orphaned generator tasks continuing to stream after abrupt client termination.

Blocks:Zombie Async Generators Silently Draining Connection Pools Post-Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
bun-multiworker-websocket-fd-multiplexing-guardrail
backendcritical

Bun 1.2 Deterministic Worker Ring WebSocket Multiplexing Standard

In multi-worker Bun 1.2 runtimes, arbitrary socket handoffs and cross-worker native WebSocket upgrades cause file-descriptor epoll desynchronization, TLS session corruption, and unrecoverable renegotiation storms. WebSocket upgrades MUST be strictly pinned to deterministic CPU-affinity worker rings using consistent hashing prior to handshake initiation, guaranteeing that each native file descriptor remains bound to a single worker event loop throughout its lifecycle.

Blocks:Cross-Worker IPC Socket Handover and Post-Accept Desynchronized Upgrades
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-parallel-apply-worker-isolation-invariant
backendcritical

Postgres 17 Logical Replication Parallel Apply Worker Isolation Invariant

Enforces strict subscriber-side transaction ordering and dependency tracking when utilizing PostgreSQL 17 parallel apply workers for streaming transactions. Prevents foreign key constraint violations and write skew caused by out-of-order concurrent commit execution across apply workers through deterministic commit fences and transaction stream serialization boundaries.

Blocks:Unfenced Concurrent Transaction Streaming Across Parallel Apply Workers Violating Foreign Key Referential Integrity
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-parallel-apply-deadlock-fence
backendcritical

Postgres 17 Logical Replication Parallel Apply Deadlock Fence Guardrails

Enforces architectural fences and subscriber schema invariants to prevent out-of-order foreign key deadlocks across multi-threaded subscription workers under Postgres 17 parallel apply ingestion. Mandates deferrable subscriber constraints, publication isolation boundaries, and fail-safe worker configurations to guarantee non-blocking concurrent replication streams.

Blocks:Unfenced immediate foreign keys on subscriber tables causing parallel apply workers to trigger fatal lock dependency cycles.
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-concurrent-wal-checkpoint-sharding-standard
backendcritical

Bun 1.2 SQLite Concurrent WAL Checkpoint Sharding Standard

Enforces strict isolation between write-ahead log (WAL) checkpoint operations and edge read paths in Bun 1.2 SQLite architectures. Prevents event-loop thread blocking and tail-latency spikes by mandating dedicated read-only connection pools, explicit PRAGMA tuning, and offloaded non-blocking passive checkpoints.

Blocks:Running Synchronous TRUNCATE Checkpoints on Shared Single-Connection SQLite Handles
Targets:Cursor•Claude•Windsurf•Codex
axum-graceful-shutdown-drain-barrier
backendcritical

Axum 0.8 Cancel-Safe Graceful Shutdown and In-Flight Request Drain Barrier

Enforces cancel-safe execution guarantees, transactional commit protection, and streaming response drain barriers during rolling container evictions in Axum 0.8. Prevents silent rollback of in-flight business mutations and abrupt HTTP/2 RST_STREAM errors on active clients.

Blocks:Truncating in-flight streaming responses and rolling back database transactions via unmanaged future drops during SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-watermark
backendcritical

Bun 1.2 Native WebSocket Backpressure Drain Watermark Standard

Mandates explicit flow control, buffered byte inspection, and drain lifecycle management for native WebSockets in Bun 1.2. Prevents unbounded native C++ and JavaScriptCore heap expansion that causes silent Linux kernel OOM kills under bursty telemetry and high-throughput streaming workloads.

Blocks:Unchecked Fire-and-Forget ws.send() Under High-Frequency Ingestion Spikes
Targets:Cursor•Claude•Windsurf•Codex
pg17-halfvec-hnsw-memory-quarantine
backendcritical

Postgres 17 Half-Precision HNSW Index Memory Quarantine & Resource Isolation

Enforces strict memory quarantine and session-level isolation for billion-scale halfvec HNSW index builds in PostgreSQL 17. Prevents shared buffer cache thrashing, backend worker memory starvation, and kernel OOM kills by constraining parallel maintenance workers, allocating bounded session-local maintenance_work_mem, and indexing across bounded partitions.

Blocks:Unquarantined Full-Precision HNSW Index Builds on Shared OLTP Connections Inducing Backend OOM Starvation
Targets:Cursor•Claude•Windsurf•Codex
bun-native-socket-backpressure-buffer-recycling
backendcritical

Bun 1.2 Native Socket Backpressure & ArrayBuffer Recycling Standard

Enforces strict write backpressure management and zero-allocation pooled ArrayBuffer recycling on Bun.listen and Bun.connect native sockets. Prevents unbounded heap growth and JavaScriptCore major GC pauses under sustained gigabit-scale ingestion by pairing socket.write return validation with drain-driven ring queues.

Blocks:Ignoring Socket Write Backpressure and Allocating Ephemeral Buffers Per Packet
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-prepared-statement-connection-lease-pinning
backendcritical

Drizzle ORM Prepared Statement Connection-Lease Pinning in Transaction-Pooled Postgres

Enforces strict connection-lease lifecycle bounds on Drizzle ORM prepared statements when operating behind transaction-mode connection poolers like PgBouncer or Supabase Pooler. Prevents fatal PostgreSQL exceptions (error codes 42P05 'prepared statement already exists' and 26000 'prepared statement does not exist') and eliminates deallocation thrashing caused by leaking named statement handles across ephemeral physical connections.

Blocks:Registering persistent or named server-side prepared statements across transaction-pooled PostgreSQL connections.
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cooperative-cancellation-invariant
backendcritical

Axum 0.8 Tokio Cooperative Task Cancellation Invariant

Enforces deterministic cancellation token propagation and drop safety across Axum 0.8 handler trees and Tower middleware layers. Prevents orphaned database transactions, hung connection pools, and leaked socket handles caused by unmonitored client TCP disconnects and detached asynchronous task spawns.

Blocks:Detached Task Spawning and Cancellation-Unsafe Async Handlers Leaking DB Pool Resources on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-synchronization-guardrail
backendcritical

PostgreSQL 17 Logical Replication Slot Failover Synchronization Invariant

Enforces PostgreSQL 17 native logical replication failover slot synchronization across high-availability architectures. Guarantees logical slots are synchronized to physical standbys via failover flags and synchronized standby lists, preventing slot invalidation, WAL truncation, and downstream consumer deadlocks during physical promotions.

Blocks:Provisioning logical slots or subscriptions without failover propagation across physical standbys
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-capacity-limiter-partitioning-standard
backendcritical

FastAPI AnyIO Dynamic CapacityLimiter Partitioning Standard

Enforces isolated AnyIO CapacityLimiter instances across distinct FastAPI endpoint concurrency tiers to eliminate worker thread pool starvation. By default, AnyIO executes synchronous endpoints against a single global thread limiter (40 tokens), allowing slow, blocking I/O or legacy synchronous SDK calls to monopolize worker threads and starve latency-critical endpoints. Explicitly partitioning thread pool limiters by operational profile guarantees deterministic latency and resilient concurrency isolation.

Blocks:Global AnyIO Thread Pool Monopolization via Unpartitioned Synchronous Endpoints
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-vectorized-pushdown-guardrail
backendcritical

Postgres 17 JSON_TABLE Projection Pushdown and SIMD Scan Optimization

Postgres 17 introduces SQL:2023 JSON_TABLE capabilities which allow tabular projection of jsonb data. When combined with functional indexes or targeted expressions, queries must be structured to ensure projection predicates push down to the storage engine (heap or index scan) rather than forcing full document retrieval and CPU-intensive serial JSON deserialization across thousands of rows.

Blocks:Unindexed JSON_TABLE Path Projections Triggering Per-Row CPU Deserialization and Memory Spills
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-kernel-hibernation-contract
backendcritical

Bun 1.2 Native WebSocket Kernel Hibernation & Zero-Heap Idle Sockets

Enforces Bun 1.2 native WebSocket server configuration patterns utilizing kernel-level epoll hibernation to eliminate V8/JSC heap bloat over massive concurrent connections. Mandates declarative pub/sub topics and context detachment to prevent socket retention leaks in userland memory, allowing idle connections to sleep entirely in the kernel until packet ingress.

Blocks:Retaining JavaScript WebSocket References in Userland Closures and In-Memory Registry Sets
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-stream-backpressure-invariant
backendcritical

Axum 0.8 Tower Zero-Copy Body Stream Backpressure Invariant

Enforces strict end-to-end asynchronous backpressure across Axum 0.8 and Tower service pipelines to prevent unbounded memory growth during multi-gigabyte payload ingests. Prohibits eager body collection into heap buffers, mandating zero-copy streaming directly from the transport layer into rate-governed sinks to maintain HTTP/2 and TCP receive window constraints.

Blocks:Buffering Inbound Request Bodies into Unbounded Memory Buffers Without Transport Backpressure
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slot-sync-postgres-17-logi-326
backendcritical

Postgres 17 Logical Replication Failover Slot Sync Standard

Enforces Postgres 17 native logical replication slot synchronization across physical standbys using 'failover = true' and 'sync_replication_slots'. Eliminates LSN divergence, silent data loss, and downstream message replay storms in Change Data Capture (CDC) architectures during automated high-availability failover events.

Blocks:Creating Logical Slots Without Failover Synchronization Causing Catastrophic CDC Replay on Promotion
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-h3-quic-stream-drain-termination
backendcritical

Axum 0.8 HTTP/3 QUIC Stream Draining & Connection Termination Guardrail

Enforces graceful HTTP/3 connection lifecycle management during SIGTERM and rolling updates in Axum 0.8 / Quinn runtimes. Mandates emission of stepped HTTP/3 GOAWAY frames with stream cancellation shields to eliminate drops of in-flight and 0-RTT early-data requests.

Blocks:Abrupt QUIC Endpoint Teardown and Unshielded Tokio Task Aborts on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-iterative-hnsw-workmem-protection
backendcritical

Postgres 17 pgvector Iterative HNSW Work-Mem & Graph Scan Guardrail

Enforces transaction-scoped memory bounds (hnsw.max_scan_tuples, hnsw.iterative_scan, and work_mem) on Postgres 17 pgvector semantic queries. Prevents noisy-neighbor OOM crashes and server process terminations triggered by unbounded graph traversal across filtered multi-tenant vector indexes.

Blocks:Unbounded Iterative HNSW Index Traversal Under Filtered Multi-Tenant Queries
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-quota-standard
backendcritical

Postgres 17 JSON_TABLE Streamed Pipeline Memory Quotas

Enforces deterministic batching, streaming evaluation, and session-level work_mem guardrails when projecting large JSON/JSONB payloads using PostgreSQL 17 JSON_TABLE. Unbounded relational projections over high-throughput JSON collections cause intermediate palloc allocations inside backend memory contexts that bypass standard executor work_mem, culminating in postmaster backend OOM process termination. All JSON_TABLE queries targeting variable-size collections must bound row outputs via strict path predicates, avoid nested array projections in a single execution step, and run within controlled chunked transactions.

Blocks:Unbounded JSON_TABLE Materialization Without Chunking or Memory Guardrails
Targets:Cursor•Claude•Windsurf•Codex
axum-graceful-connection-migration-sentinel
backendcritical

Axum Persistent Transport Drain and Connection Migration Sentinel

Mandates coordinated draining and protocol-level handoff for persistent SSE and WebSocket connections during Axum rolling deploys. Enforces RAII connection tracking, shutdown broadcast propagation, and clean frame-level close handshakes (code 1001 Going Away) to prevent client-side socket resets.

Blocks:Abrupt Process Eviction Dropping Active WebSockets and SSE Streams via Socket RST
Targets:Cursor•Claude•Windsurf•Codex
nextjs-15-cache-life-distributed-stampede-prevention-standard
backendcritical

Next.js 15 Cache Life Distributed Mutex Guardrail for Thundering-Herd Mitigation

Enforces distributed atomic mutex locks and graceful stale fallback across multi-region edge deployments during Next.js 15 'use cache' and unstable_cache revalidation cycles. Prevents cascading database outages and upstream thundering herds caused by unbounded concurrent cache revalidations when cached items expire under high traffic.

Blocks:Uncoordinated Parallel Edge Cache Revalidations Causing Upstream Saturation
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-hierarchical-cancellation-token-graceful-drain
backendcritical

Axum 0.8 Hierarchical CancellationToken Graceful Drain Architecture

Enforces hierarchical Tokio CancellationToken pipelines in Axum 0.8 services to orchestrate deterministic teardown cascades across SSE connections and background tasks. Guarantees active streams emit protocol-compliant termination sequences and in-flight HTTP payloads complete cleanly before socket closure during rolling deployments.

Blocks:Abrupt Process Termination and Orphaned SSE Streams During SIGTERM Cascades
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hash-index-lock-starvation-guardrail
backendcritical

Postgres 17 Concurrent Hash Index Lock-Starvation Guardrail

Enforces strict lock-timeout limits, dead-tuple thresholds, and execution budgets on PostgreSQL 17 concurrent hash index workloads. Prevents high-throughput writer processes from monopolizing bucket-level buffer locks and starving autovacuum cleanup routines, preventing severe table bloat and query latency degradation.

Blocks:Unbounded Batch Ingestion Over Hash Indexes Starving Autovacuum Buffer Access
Targets:Cursor•Claude•Windsurf•Codex
bun-v12-ffi-buffer-pinning-zero-copy-guardrail
backendcritical

Bun 1.2 Native FFI Buffer Pinning and Zero-Copy Lifecycle Guardrail

Prevents catastrophic JavaScriptCore (JSC) heap corruption and use-after-free conditions during non-blocking native C FFI calls in Bun 1.2+. When offloading zero-copy memory buffers across native thread boundaries, buffers must be explicitly pinned outside JSC GC compaction scopes using deterministic lifecycle fences or unmanaged heap pointers (Bun.raw / ptr). Passing raw TypedArray pointers directly across asynchronous FFI boundaries without retaining an active reference or managing an unmanaged lifecycle leads to silent pointer invalidation upon garbage collection.

Blocks:Passing Ephemeral JSC TypedArray Pointers Directly to Asynchronous or Off-Thread Native FFI Operations
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-structured-concurrency
backendcritical

Bun 1.2 Native SQLite WAL Structured Concurrency & Single-Writer Invariant

Enforces strict single-writer serialized queuing and concurrent multi-reader pools for Bun 1.2's native `bun:sqlite` engine under Write-Ahead Logging (WAL) mode. Prevents catastrophic SQLITE_BUSY / 'database is locked' panics in multi-threaded edge worker environments by decoupling write mutations into a dedicated serialization lane with structured concurrency controls.

Blocks:Unsynchronized Concurrent Multi-Threaded Writes directly opening 'bun:sqlite' in WAL Mode Triggering SQLITE_BUSY Exceptions
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-work-mem-streaming
backendcritical

Postgres 17 JSON_TABLE Memory Ceiling & Cursor Streaming Guardrail

Enforces bounded memory ceilings and cursor-driven streaming semantics on Postgres 17 JSON_TABLE operations. Flattening high-cardinality JSON documents without explicit transaction-scoped memory limits and server-side cursors leads to backend process termination by the OS OOM killer and Node.js heap exhaustion.

Blocks:Unbounded In-Memory Materialization and Missing work_mem Bounds in Postgres 17 JSON_TABLE Queries
Targets:Cursor•Claude•Windsurf•Codex
go-chi-sub-deadline-budgeting-guardrail
backendcritical

Go Chi v5 Context Sub-Deadline Budget Allocation Guardrail

Enforces deterministic context deadline budgeting and sub-deadline allocation across sequential and parallel outbound operations within Go Chi v5 HTTP handlers. Prevents cascade connection exhaustion and thread starvation caused by static timeouts that ignore remaining request lifetime budgets or lack defensive deadline propagation.

Blocks:Inheriting unbounded Chi request contexts or applying static outbound timeouts exceeding parent context deadlines
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-graceful-connection-draining
backendcritical

Axum 0.8 Tower Service Graceful Connection Draining Invariant

Prevents dropped in-flight streaming requests, truncated SSE/WebSocket responses, and connection resets (ECONNRESET) during Kubernetes rolling upgrades. Enforces coordination between POSIX termination signals (SIGINT/SIGTERM), CancellationToken cascades across Tower middleware, and hyper-util connection graceful draining timeouts before binding closure.

Blocks:Naive axum::serve with_graceful_shutdown Drops In-Flight Hyper Streams and WebSocket Sessions on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-cancellation-goroutine-leak-guardrail
backendcritical

Go Chi Hierarchical Context Cancellation and Goroutine Leak Prevention Standard

Enforces strict propagation of Go Chi HTTP request contexts and structured cancellation causes across all downstream RPCs, database transactions, and spawned background workers. Prevents orphaned goroutine leaks and silent connection pool starvation caused by discarded or severed context trees during client disconnects. Mandates explicit context cause handling and synchronization via errgroup or worker pool lifecycles.

Blocks:Severing Chi Request Contexts with context.Background() and Spawning Unbounded Background Goroutines
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-adaptive-concurrency-gradient-limits
backendcritical

Axum 0.8 Tower Adaptive Concurrency Limiting via Little's Law Gradient Descent

Static concurrency limits fail under downstream tail-latency degradation, causing cascading thread pool and connection starvation. Microservice boundaries must dynamically compute maximum inflight request limits using Little's Law and round-trip-time gradients to shed load before downstream buffers saturate.

Blocks:Deploying Fixed Concurrency Limits That Starve Connections and Propagate Tail-Latency Failures
Targets:Cursor•Claude•Windsurf•Codex
valkey-cluster-dual-channel-slot-migration-guardrail
backendcritical

Valkey 8.0 Cluster Dual-Channel Slot Migration & Zero-Loss Rebalancing Guardrail

Enforces strict synchronization between client routing topology caches (MOVED/ASK tracking) and replica stream offsets during Valkey 8.0 slot live rebalancing. Prevents split-brain routing and phantom writes by coordinating cluster slot state updates across dual channels (active client protocol connection and asynchronous replica feed).

Blocks:Uncoordinated CLUSTER SETSLOT propagation leading to stale client routing, ASK/MOVED loops, and asynchronous replica drop
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-lifespan
backendcritical

FastAPI 0.115+ AnyIO Structured Concurrency TaskGroup Lifespan Standard

Enforces deterministic cancellation and resource lifecycle management in FastAPI 0.115+ using AnyIO TaskGroups within lifespan contexts. Eliminates orphaned background worker coroutines, dangling database connections, and uncollected socket handles during server SIGTERM and SIGINT events.

Blocks:Fire-and-Forget asyncio.create_task Invocations During Lifespan Causing Silent Zombie Tasks and Resource Leaks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-aio-worker-saturation-standard
backendcritical

Postgres 17 Asynchronous Direct I/O (AIO) Worker Saturation and Direct Cache Bypassing

Regulates OS page cache bypass (O_DIRECT) and concurrent asynchronous I/O prefetch boundaries in PostgreSQL 17 environments. Prevents Linux kernel page cache lock contention and thread exhaustion by sizing io_uring queue depths, vectorized bulk scans, and maintenance worker limits relative to system NVMe queue capacities.

Blocks:Unconstrained Asynchronous Direct I/O Prefetch Triggering Kernel io_uring Ring Overflow and NVMe Queue Starvation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-taskgroup-teardown-invariant
backendcritical

FastAPI Lifespan Structured TaskGroup Teardown Invariant

Enforces structured concurrency inside ASGI lifespan context managers using anyio or asyncio TaskGroups. Prevents unmanaged fire-and-forget background tasks from leaking connections, corrupting state, or abruptly terminating upon SIGTERM by guaranteeing deterministic cancellation and resource draining.

Blocks:Spawning Unbounded Fire-and-Forget asyncio.create_task Inside Lifespans
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-zero-copy-transfer-guardrail
backendcritical

Bun 1.2 Clustered Worker Zero-Copy ArrayBuffer Transfer Guardrail

Enforces explicit ownership transfer semantics and detachment verification for ArrayBuffer payloads sent across Bun worker threads. Eliminates multi-gigabyte structured clone serialization overhead and prevents invalid memory reads on detached ArrayBuffers under extreme messaging throughput.

Blocks:Implicit structured cloning of binary payloads and post-transfer access to detached ArrayBuffers
Targets:Cursor•Claude•Windsurf•Codex
axum-async-stream-cancellation-safety
backendcritical

Axum 0.8 Async Stream Cancellation and Resource Cleanup Guardrail

Enforces atomic state updates and deterministic resource teardown when handling premature HTTP client disconnects during Axum 0.8 response streaming. Prevents orphan Tokio tasks, leaked socket file descriptors, and corrupted partial database writes triggered by mid-stream future drops.

Blocks:Interleaving Non-Idempotent Mutations with Streaming Yields Across Unmonitored Cancellation Points
Targets:Cursor•Claude•Windsurf•Codex
go-chi-zero-alloc-context-propagation
backendcritical

Go Chi Zero-Allocation Context Value Propagation

Enforces single-allocation pointer propagation for request-scoped values in Go Chi HTTP middleware chains. Eliminates heap churn, cache thrashing, and GC pauses caused by nested context.WithValue wrapping and interface boxing of tenant claims and trace IDs.

Blocks:Nested context.WithValue Chaining and Interface Boxing Across HTTP Middleware Pipelines
Targets:Cursor•Claude•Windsurf•Codex
pg17-subxact-spill-guardrails
backendcritical

PostgreSQL 17 Subtransaction Spill & Snapshot Invalidation Guardrails

Enforces strict structural constraints on nested savepoints, ORM nested transactions, and PL/pgSQL exception blocks to prevent backend subtransaction overflow beyond the 64-subxid PGPROC memory cache. Prevents ProcArrayLock contention storms, SLRU cache thrashing, and snapshot invalidation latency spikes under high-concurrency workloads.

Blocks:Unbounded SAVEPOINT nesting and row-level try/catch exception loops overflowing backend PGPROC subxid caches
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-sync-logical-decoding-fence
backendcritical

PostgreSQL 17 Failover Slot Sync and Logical Decoding Fence Enforcement

Enforces synchronized logical replication slots via Postgres 17 failover slot mechanics and mandates a fencing token mechanism on subscriber consumers during physical topology changes. Prevents duplicate event emissions, sequence regressions, and silent consumer state corruption caused by physical replica promotion before slot synchronization completes.

Blocks:Unsynchronized Logical Decoding Across Uncoordinated Physical Failover Promoting State Divergence
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-shared-memory-atomics-barrier-standard
backendcritical

Bun 1.2 Native Worker Concurrency & Shared Memory Barrier Standard

Bun 1.2 executes native Web Workers with direct access to SharedArrayBuffer instances, enabling sub-millisecond inter-thread messaging. Unfenced mutations and unsynchronized reads across worker boundaries cause torn writes, cache incoherence, and process-terminating segment faults under heavy I/O pressure. This standard mandates explicit memory fences, typed layouts, and Atomics synchronization across all multi-threaded worker pipelines.

Blocks:Unsynchronized SharedArrayBuffer Mutation and Unfenced Worker Ring Buffer R/W Access
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-streaming-deserialization-standard
backendcritical

FastAPI & Pydantic V2 Zero-Copy Stream Deserialization Standard

Enforces incremental, zero-copy, Rust-accelerated streaming validation on ingress payloads to eliminate heap amplification and Out-Of-Memory (OOM) attack vectors during large-scale ingestion. Standard FastAPI parameter binding buffers entire payload bodies into contiguous memory, inducing 4x to 10x heap expansion through intermediate Python object allocation. High-throughput endpoints MUST process byte streams chunk-by-chunk using iterative parsers combined with Pydantic V2 micro-deserialization.

Blocks:Full-Payload In-Memory Buffering via Direct Schema Injection on Unbounded Ingress Routes
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cooperative-budget-partitioning
backendcritical

Axum 0.8 Tokio Cooperative Task-Budget Partitioning Invariant

Enforces explicit cooperative budget exhaustion fences via tokio::task::consume_budget inside high-throughput Axum 0.8 middleware, extractors, and request transform pipelines. Prevents asymmetric multi-threaded runtime worker starvation and tail latency spikes caused by CPU-bound or unbudgeted compute iterations executed directly on the Tokio async reactor loop.

Blocks:Unbudgeted In-Reactor Synchronous Compute Starving Tokio Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-slot-failover-boundary
backendcritical

Postgres 17 Logical Replication Slot Failover Synchronization Boundary

Enforces failover-enabled logical slots and physical-to-logical coordination via sync_replication_slots and synchronized_standby_slots in PostgreSQL 17 HA topologies. Guarantees downstream consumers experience deterministic resumption without WAL gap corruption or silent event loss during Patroni failover events.

Blocks:Desynchronized Logical Replication Slots Causing Data Loss and Stream Gaps on Standby Failover
Targets:Cursor•Claude•Windsurf•Codex
bun-shared-array-buffer-worker-barrier-standard
backendcritical

Bun 1.2 SharedArrayBuffer Cross-Worker Memory Barrier & Ring-Buffer Standard

Establishes lock-free ring-buffer atomic memory barriers across multithreaded Bun workers to ensure thread-safe, zero-copy deserialization of streaming WebSocket payloads. Guarantees that producers commit payload writes to the SharedArrayBuffer with release semantics before incrementing head pointers, while consumer workers enforce acquire fences before accessing buffer regions.

Blocks:Unsynchronized SharedArrayBuffer Mutations and Dirty Reads via Raw Pointer Traversal Without Atomics Barrier Fences
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-synchronization-invariant-postgres-17-fail-333
backendcritical

PostgreSQL 17 Failover Slot Synchronization and CDC Loss Prevention Invariant

Enforces failover-safe logical replication slot synchronization across PostgreSQL 17 high-availability clusters using the native failover slot sync protocol (`sync_replication_slots` and `pg_sync_replication_slots`). Guarantees downstream Change Data Capture (CDC) engines avoid data loss, non-recoverable slot invalidation, or massive duplicate replay bursts upon standby promotion. Mandates strict verification of `synchronized = true` on hot standbys and physical slot synchronization prerequisites before promoting standby nodes.

Blocks:Unsynchronized Logical Replication Slots Triggering CDC Rewind, Duplicate Streaming, or Silent Event Loss Post-Failover
Targets:Cursor•Claude•Windsurf•Codex
go-synctest-synthetic-time-concurrency
backendcritical

Go 1.24 Synctest Synthetic Time Concurrency Invariant

Mandates encapsulating asynchronous and time-dependent concurrent test suites inside Go 1.24 synthetic time bubbles via testing/synctest. Eliminates non-deterministic wall-clock sleeps, instantaneous virtualized timer resolution, and guarantees that goroutine deadlocks and leaks trigger immediate, repeatable panics prior to production deployment.

Blocks:Arbitrary Wall-Clock Sleeping and Non-Deterministic Polling in Concurrent Tests
Targets:Cursor•Claude•Windsurf•Codex
postgres17-vectorized-direct-io-buffer-guardrail
backendcritical

PostgreSQL 17 Direct I/O & Shared Buffer Pool Thrash Prevention Guardrail

Mandates deterministic concurrency ceilings, session-scoped memory caps, and ring-buffer isolation for PostgreSQL 17 vectorized streaming reads and parallel scans. Prevents asynchronous I/O (AIO) kernel queue saturation, dirty page writeback starvation, and catastrophic shared buffer pool eviction cascades under sustained analytical load.

Blocks:Unbounded Parallel Analytical Scans Triggering Shared Buffer Cache Invalidation and AIO Ring Starvation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python-313t-free-threaded-thread-safety
backendcritical

FastAPI Free-Threaded Python 3.13t Thread-Safety & Memory Invariant Standard

Enforces strict thread-safety invariants for FastAPI applications running on free-threaded Python 3.13t (no-GIL) runtimes. Prohibits unsynchronized mutable module-level state and mandates reentrant locks across async offloads invoking non-thread-safe C-extensions to prevent memory corruption and segmentation faults.

Blocks:Unsynchronized Global State Mutation and Unlocked C-Extension Invocations Under Free-Threaded (PEP 703) Python
Targets:Cursor•Claude•Windsurf•Codex
wasi-component-memory-quota-boundary
backendcritical

Deterministic Linear Memory Quotas and Capability Boundaries for WASI 0.2

Multi-tenant WASI 0.2 component execution requires explicit linear memory limits, pooled allocation limits, and non-blocking capability interfaces. Without strict host-enforced memory ceilings and deadman timers, untrusted guest components can induce host Out-Of-Memory (OOM) crashes and thread starvation through unmetered memory expansion.

Blocks:Unbounded Linear Memory Growth and Blocking Capability Execution in Multi-Tenant Component Runtimes
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-sab-ipc-transfer-invariants
backendcritical

Bun 1.2 Zero-Copy Buffer Transfer and SharedArrayBuffer IPC Invariants

Enforces strict zero-copy memory semantics during Inter-Process Communication (IPC) and Worker thread synchronization under Bun 1.2. Mandates explicit transfer list specifications for ArrayBuffer ownership transfers or coordinated SharedArrayBuffer regions to eliminate Structured Clone allocations, prevent garbage collection pauses, and avoid severe heap fragmentation under high throughput.

Blocks:Implicit Structured Cloning of Large Binary Payloads across Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-stream-cancellation-drain-standard
backendcritical

Axum 0.8 Streaming Response Cancellation & Graceful Drain Standard

Enforces deterministic cancellation and resource reclamation for Server-Sent Events (SSE) and raw HTTP chunked streams in Axum 0.8. Streaming bodies must bind to client drop detection and tokio::sync::watch drain signals to prevent task leakage, orphaned database cursors, and socket descriptor exhaustion during Kubernetes pod terminations.

Blocks:Spawning detached stream generators that ignore client disconnects and SIGTERM drain barriers.
Targets:Cursor•Claude•Windsurf•Codex
go-124-swiss-table-concurrency-gc-guardrail
backendcritical

Go 1.24 Swiss Table Cache-Line Bouncing and Pointer-Free GC Optimization

Enforces cache-line padded sharding and pointer-free value layouts under Go 1.24's Swiss Table runtime. Prevents L1/L3 CPU cache-line bouncing caused by false sharing and eliminates GC mark-phase scan overhead across millions of concurrent read/write keys.

Blocks:Unpadded Sharded Mutexes with Pointer-Dense Maps Inducing Cache Invalidation and High GC Mark Stalls
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-standby-slot-sync
backendcritical

PostgreSQL 17 Failover Slot Synchronization & Physical Standby Synchronization

Postgres 17 introduces native logical slot failover support via synchronized replication slots. Downstream CDC/logical consumers encounter stream corruption, missing WAL offsets, or duplicate message explosions during a physical switchover if logical replication slots are not created with 'failover = true', synchronized via 'sync_replication_slots = true', and guarded via 'standby_slot_names' on the primary.

Blocks:Creating unsynced logical slots without standby_slot_names and failover flags leading to broken downstream CDC on primary promotion.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-worker-thread-pool-throttling
backendcritical

FastAPI AnyIO Worker Thread Pool Throttling and Queue-Time Guardrail

Protects async event loops from catastrophic latency degradation and thread exhaustion caused by unbounded synchronous operations offloaded via AnyIO. Enforces explicit AnyIO CapacityLimiter instances, backpressure queues, and strict queue-time execution deadlines to prevent cascading task pileups under high concurrency.

Blocks:Unbounded anyio.to_thread.run_sync Dispatch Leading to Global Thread Pool Starvation and Event Loop Lag
Targets:Cursor•Claude•Windsurf•Codex
go-chi-zero-alloc-context-pooling-guardrail
backendcritical

Go Chi Zero-Allocation Context Pooling Lifecycle Guardrail

Enforces strict lifecycle boundaries and sync.Pool reuse semantics for go-chi/chi/v5 URL context objects (chi.Context). High-throughput endpoints must recycle contexts back into the pool while preventing use-after-free, concurrent mutation, and context reference escapes across asynchronous goroutine boundaries.

Blocks:Escaping Chi Context References Across Goroutine Spawns or Missing Context Reset in Middleware Pools
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-addcleanup-reclamation
backendcritical

Go 1.24 weak.Pointer and runtime.AddCleanup Memory Reclamation Standard

Enforces Go 1.24 weak references (weak.Pointer) and non-resurrecting cleanup hooks (runtime.AddCleanup) over legacy runtime.SetFinalizer in high-throughput proxies and caching layers. Prevents GC pause spikes, object resurrection, multi-cycle sweep delays, and finalizer-induced memory leaks.

Blocks:Legacy runtime.SetFinalizer Object Resurrection and Strong-Reference Cache Bloat Inducing Tail Latency
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-cancellation-scope-propagation-invariant
backendcritical

FastAPI AnyIO Native Cancellation Scope Exception Propagation Invariant

Guarantees deterministic task teardown and structured concurrency cleanup across asynchronous HTTP pipelines without leaking unawaited coroutines or swallowing cancellation signals. Enforces strict propagation of AnyIO cancellation exceptions and mandates shielded cancel scopes for non-negotiable cleanup operations.

Blocks:Swallowing Cancellation Signals via Catch-All Handlers and Leaking Detached Coroutines
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-load-shedding-cancellation-propagation
backendcritical

Axum 0.8 Adaptive Load Shedding and Tower Cancellation Propagation

Enforces proactive concurrency limits and cancellation propagation across Axum 0.8 HTTP pipelines and Tower middleware layers. Prevents thread pool saturation, executor starvation, and orphaned distributed RPC calls when upstream clients terminate connections under extreme load spikes.

Blocks:Unbounded Request Queuing and Disconnected Background Tasks Without Drop-Driven Cancellation
Targets:Cursor•Claude•Windsurf•Codex
pg17-combinebackup-lsn-chain-validation
backendcritical

Postgres 17 pg_combinebackup LSN Chain and Manifest Cryptographic Verification Standard

Enforces strict mathematical continuity and cryptographic checksum validation of Log Sequence Number (LSN) boundaries across cumulative and differential backup chains before executing Postgres 17 pg_combinebackup. Prevents silent Point-In-Time Recovery (PITR) corruption caused by orphaned WAL increments, timeline branch divergence, and manifest tampering during synthetic full backup reconstruction.

Blocks:Blind Execution of pg_combinebackup Across Disjoint LSN Ranges or Corrupted Backup Manifests
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-lifespan-concurrency
backendcritical

FastAPI AnyIO TaskGroup Lifespan Structured Concurrency Standard

Enforces bounded lifecycle scoping and eager failure propagation across asynchronous background workers during server shutdown and reload events. Background tasks spawned during application execution must be bounded by an AnyIO TaskGroup managed inside the ASGI lifespan context to prevent unhandled background exceptions from being swallowed and avoid orphaned zombie tasks during graceful termination. Bypassing structured concurrency via raw asyncio background tasks leads to resource leaks, hung shutdown hooks, and silent runtime corruption.

Blocks:Spawning Unbounded Fire-and-Forget asyncio.create_task Workers Outside Lifespan TaskGroups
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-streaming-quarantine
backendcritical

Postgres 17 Direct I/O and Streaming Buffer Quarantine Standard

Enforces architectural boundaries for Postgres 17 streaming reads and asynchronous vector pipelines to prevent OS page cache double buffering. Quarantines bulk analytical scans and high-dimensional vector traversals into dedicated memory ring buffers, preventing the eviction of critical OLTP pages from shared_buffers.

Blocks:Unbounded Vector and Analytical Scans Evicting OLTP shared_buffers via OS Page Cache Double Buffering
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-lifespan-taskgroup-standard
backendcritical

FastAPI Async Lifespan Structured Concurrency & TaskGroup Lifecycle Guardrail

Mandates structured concurrency via Python 3.11+ TaskGroups or AnyIO task groups inside FastAPI lifespan context managers. Enforces deterministic worker draining and deferred database engine disposal during Kubernetes SIGTERM scale-in events to prevent orphaned coroutines and truncated database transactions.

Blocks:Fire-and-forget asyncio.create_task invocations coupled with uncoordinated database engine teardown during SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-chi-route-cache-invariant
backendcritical

Go 1.24 Weak-Pointer Zero-Allocation Route Cache Invariant in Go Chi

Enforces the use of Go 1.24 standard library weak pointers (weak.Pointer) when implementing dynamic, multi-tenant route resolution caches in Go Chi multiplexers. Prevents catastrophic heap retention spikes and out-of-memory cascades caused by strong-reference caches holding deprovisioned tenant routers. Ensures zero-allocation lookup paths and clean GC reclamation under high tenant churn.

Blocks:Retaining Strong References to Dynamic Chi Sub-Routers in Static Route Caches
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pipeline-sync-boundary-invariants
backendcritical

Postgres 17 Client-Side Pipeline Mode Command Synchronization Boundary Enforcement

Enforces strict command synchronization points and bounded pipeline queues in PostgreSQL 17 client-side pipeline mode. Prevents socket buffer deadlocks, cascading transaction state corruption, and non-deterministic error rollbacks by mandating explicit sync boundaries and complete result-drain loops.

Blocks:Unbounded Pipeline Query Accumulation Without Explicit Sync Boundaries or Sync-Drain Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-native-websocket-backpressure-detachment-guardrail
backendcritical

Bun 1.2 Native WebSocket Streaming Backpressure and ArrayBuffer Detachment Guardrail

Enforces non-blocking backpressure flow control and detached buffer safety on high-throughput Bun 1.2 native WebSocket pipelines. Prevents unbounded kernel buffer queueing, silent zero-byte transmissions from reused detached ArrayBuffers, and EventLoop thread starvation under asymmetric client throughput.

Blocks:Unchecked ws.send() Returns Causing Unbounded Memory Growth and Mutating Detached ArrayBuffers in Pipeline
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-vector-pinning-standard
backendcritical

Postgres 17 Streaming I/O and Vector Scan Buffer Pinning Invariant

Enforces query-level buffer isolation, asynchronous streaming I/O prefetch boundaries, and strict index-scan enforcement for pgvector similarity searches under Postgres 17. Guarantees that concurrent vector scans utilize isolated BufferAccessStrategy rings and bounded prefetch queues, preventing shared buffer eviction storms and page pin exhaustion.

Blocks:Unconstrained Vector Scans Causing Shared Buffer Cache Eviction and Pin Lock Contention
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-body-framing-trailer-integrity-guardrail
backendcritical

Axum 0.8 Tower Service Body Framing and Chunked Trailer Integrity Guardrail

Enforces deterministic byte-budget limits and cryptographic checksum verifications across HTTP/2 and HTTP/3 chunked trailer streams within Tower middleware. Eliminates streaming DoS exploits, memory exhaustion from trailer bombs, and untrusted side-effect execution prior to payload integrity verification.

Blocks:Unbounded Stream Ingestion and Post-Consumption Trailer Verification Permitting Streaming DoS and Integrity Bypass
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-struct-alignment-and-memory-pinning-guardrail
backendcritical

Bun 1.2 FFI C-ABI Struct Alignment and Non-Moving Memory Pinning Standard

Mandates strict C-ABI layout alignment calculations and deterministic memory pinning when exchanging zero-copy pointers between Bun 1.2 (JavaScriptCore) and native Rust/C libraries. Prevents engine panics, ARM64 bus errors (SIGBUS), and heap corruption resulting from JSC garbage collection compaction or misaligned struct boundaries.

Blocks:Passing packed GC-managed buffers without host alignment padding or lifetime guarantees to native FFI pointers.
Targets:Cursor•Claude•Windsurf•Codex
go-iter-pipeline-cancellation-propagation
backendcritical

Go 1.24 Range-Over-Func Pipeline Cancellation Propagation Invariant

Enforces strict cooperative context cancellation and iterator yield-break propagation across Go 1.24 range-over-func (`iter.Seq` and `iter.Seq2`) processing pipelines. Failure to check `ctx.Done()` alongside `yield()` return values within continuous iterators triggers orphan background goroutines, blocked channel writes, and unbounded memory leaks. Mandates clean early returns, defensive deferred resource teardown, and deterministic propagation of loop termination signals across multi-stage iterator pipelines.

Blocks:Ignoring yield Boolean Return Values and Context Deadlines in Range-Over-Func Pipelines
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-queue-bounding
backendcritical

Bun 1.2 Native WebSocket Backpressure Queue Bounding Guardrail

Protects high-throughput Bun edge event gateways from out-of-memory (OOM) kills caused by unbounded native C++ socket buffering. Enforces strict inspection of ws.getBufferedAmount(), mandatory drain callback wiring, and deterministic client eviction when slow consumer buffers exceed memory limits.

Blocks:Unbounded WebSocket Publishing Without Buffer Inspection or Drain Handler Synchronization
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-safe-tx-guard
backendcritical

Axum 0.8 Tokio Task-Local Cancellation-Safe Transaction Rollback Guard

Enforces cancellation-safe transaction semantics in Axum 0.8 handlers driven by Tokio runtimes. Eliminates orphaned locks, dirty pool connections, and leaked task-local state caused by abrupt client disconnects dropping handler futures at arbitrary await points.

Blocks:Procedural rollback in match arms bypassed by Tokio future drop on client disconnect
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-pool-sanitization-guardrail
backendcritical

Go Chi Zero-Allocation Context Pool Sanitization and Memory Scrubbing Guardrail

Mandates deterministic memory zeroing, pointer detachment, and deep field sanitization for pooled request contexts and custom state structs within Go Chi middleware pipelines. Prevents cross-tenant data bleeding, dangling reference retention, and silent authorization bypasses caused by dirty object reuse in high-throughput sync.Pool implementations.

Blocks:Recycling Unsanitized Request State and Chi Route Contexts via sync.Pool Across Tenant Boundaries
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-asynclocalstorage-context-isolation
backendcritical

Bun 1.2 Worker Thread AsyncLocalStorage Tenant Context Isolation

Enforces strict tenant boundary isolation and distributed tracing propagation across pooled native Worker threads in Bun 1.2+. Guarantees that AsyncLocalStorage (ALS) store references are explicitly reinvoked per dispatched event and never shared across native thread boundaries or leaked via ambient parent worker scopes.

Blocks:Ambient or Cross-Dispatched AsyncLocalStorage State Bleed in Pooled Native Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-concurrent-cache-standard
backendcritical

Go 1.24 Weak Pointer Concurrent Cache Eviction Standard

Enforces deterministic memory reclamation in high-cardinality in-memory Go caches using Go 1.24 weak pointers (`weak.Pointer`) paired with finalizers or cleanups (`runtime.AddCleanup`). This architecture delegates unreferenced object eviction directly to the runtime garbage collector, completely eliminating memory leaks and cache-induced out-of-memory crashes without requiring stop-the-world eviction loops.

Blocks:Hard Reference Key/Value Map Caches Causing Silent OOM and Phantom Memory Retention
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-vector-buffer-quota-standard
backendcritical

PostgreSQL 17 Streaming I/O Vectorization & Buffer Quota Guardrails

Enforces strict buffer ring allocations and streaming I/O concurrency budgets in PostgreSQL 17 to eliminate shared_buffers thrashing and LWLock convoys. Restricts high-dimensional vector index scans and bulk analytical queries to segregated buffer pools and bounded read-stream quotas, preventing eviction of hot OLTP cache lines.

Blocks:Unthrottled Parallel Vector Scans and Streaming Reads Evicting OLTP Working Sets from Shared Buffers
Targets:Cursor•Claude•Windsurf•Codex
openfga-cdc-cache-invalidation-standard
backendcritical

OpenFGA CDC-Driven Distributed Consistency Cache Invalidation Standard

Mandates that OpenFGA authorization check caching layers derive invalidations strictly through transactional Change Data Capture (CDC) streams rather than application-layer dual writes. Guarantees sub-millisecond decision latency with causal consistency by binding monotonic transaction logs to distributed cache eviction pipelines.

Blocks:Dual-Write Application-Level Cache Eviction for Authorization Tuples
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-slot-failover-sync-guardrail
backendcritical

PostgreSQL 17 Logical Replication Slot Failover Synchronization Invariant

Enforces failover synchronization invariants for logical replication slots introduced in PostgreSQL 17 to prevent replica divergence, silent subscriber data skipping, and WAL retention bloat during primary-standby failovers. Demands strict verification of the `failover = true` slot configuration, mandatory `synchronized_standby_slots` alignment on the primary, and explicit barrier checks via `pg_sync_replication_slots()` prior to subscriber promotion or reconnection. Ensures zero-divergence high-availability topologies by blocking uncontrolled failovers when physical and logical slot watermarks are misaligned.

Blocks:Executing Standby Promotion Without Logical Slot Synchronization and Failover Flags
Targets:Cursor•Claude•Windsurf•Codex
fastapi-py313-freethreaded-memory-fence
backendcritical

FastAPI Python 3.13 Free-Threaded Shared-State Memory Fence

Enforces strict synchronization barriers, atomic primitives, and thread-safe dependency lifetimes in FastAPI applications deployed on free-threaded Python 3.13 (PEP 703). Prevents torn reads, check-then-act race conditions, and cross-thread memory corruption caused by the removal of the Global Interpreter Lock.

Blocks:Naked Global Mutation and Unsynchronized Shared State in No-GIL Runtimes
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-safe-state-guardrail
backendcritical

Axum 0.8 Tokio Cancellation-Safe State Mutation Guardrail

Enforces asynchronous cancellation safety across Axum 0.8 request handlers running on Tokio runtimes. Guarantees that abruptly terminated HTTP/2 and HTTP/3 client streams (e.g., RST_STREAM frames) or client disconnects cannot interrupt intermediate async yield points inside critical state-machine updates, multi-step atomic operations, or non-atomic transaction sequences.

Blocks:Interrupted In-Flight Awaits Causing Partial Multi-Phase State Mutations and Leaked Resources Upon Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-sync-fence
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization Fence Guardrail

Mandates that all logical replication slots consumed by CDC workers, event streamers, and subscribers in PostgreSQL 17+ HA clusters explicitly enable failover synchronization and enforce physical standby fencing. Prevents logical subscribers from advancing past unapplied physical replica WAL positions, eliminating consumer offset skips and silent data loss upon primary failover.

Blocks:Unfenced Logical Slot Creation and Unguarded CDC Streaming Leading to Post-Failover Split-Brain and Data Skipping
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pep703-free-threaded-dependency-barrier
backendcritical

FastAPI Free-Threaded (PEP 703) Async Dependency Concurrency Barrier

Enforces strict thread-safe isolation and synchronization barriers for FastAPI dependency providers and shared singletons operating under Python 3.13 free-threaded (nogil) runtimes. Without the Global Interpreter Lock, multi-threaded event loop worker topologies trigger data races, non-atomic cache updates, and memory corruption in mutable stateful dependencies.

Blocks:Unsynchronized Singleton State Mutation Across Multi-Threaded Free-Threaded Workers
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-sync-ha-replication
backendcritical

PostgreSQL 17 Failover Slot Sync for HA Logical Replication Invariant

PostgreSQL 17 introduces synchronized failover replication slots that guarantee logical slots are preserved and updated across physical streaming standbys during unplanned failovers. Applications and change data capture (CDC) consumers must enforce failover-enabled logical slots tied to physical standby confirmation via synchronized slots, preventing consumer LSN rewind, ghost slot drop, and data divergence downstream.

Blocks:Unsynchronized Logical Slots on Primary Causing Silent Data Loss or Mass Duplicate Replay Post-Failover
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-gradient-descent-concurrency-standard
backendcritical

Axum 0.8 Tower Adaptive Concurrency Limit via Latency Gradient Descent

Mitigates systemic microservice tail-latency degradation and queue bufferbloat by dynamically shedding load according to client-observed RTT latency gradients rather than static concurrency caps. Enforces continuous baseline RTT calculation against smoothed moving-average latencies to throttle inflight request limits dynamically in Axum 0.8 services.

Blocks:Hardcoded Static Concurrency Limits Causing Cascading Bufferbloat and Latency Spikes
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-propagation-leak-prevention
backendcritical

Go Chi Context-Tree Deadline Propagation & Goroutine Leak Guardrail

Enforces strict context tree inheritance and cancellation propagation across HTTP/2 and HTTP/3 Chi handlers to eliminate zombie goroutines. Guarantees client disconnects, socket resets, and stream cancellations cascade instantly to downstream I/O calls, while ensuring post-response tasks utilize explicit decoupled bounded workers instead of orphaned goroutines.

Blocks:Spawning Untracked Goroutines from Chi Handler Contexts Causing Zombie Sockets and Memory Leaks
Targets:Cursor•Claude•Windsurf•Codex
axum-cancellation-safe-transactions
backendcritical

Axum 0.8 Cancellation-Safe Transaction Lifecycle & Pool Starvation Prevention

Enforces strict cancellation safety invariants for database transactions in Axum 0.8 handlers under Tokio task abortion. Mandates atomic commit boundaries, isolated execution shields for non-idempotent mutations, and prohibits holding open transactions across unshielded external async yield points to eliminate connection pool starvation and orphaned locks.

Blocks:Holding Database Transactions Across Arbitrary Async Yield Points Subject to Abrupt TCP Client Drops
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-zero-copy-transfer-protocol
backendcritical

Bun 1.2 Native Worker Zero-Copy ArrayBuffer Transfer Protocol

Mandates strict zero-copy ownership transfer of high-volume binary payloads between Bun native threads via ArrayBuffer transfer lists. Eliminates structured clone serialization overhead and memory duplication in compute-heavy background tasks. Requires immediate post-transfer validation to guard against use-after-transfer detached buffer access.

Blocks:Implicit Structured Cloning of TypedArrays Across Bun Worker Boundaries Causing Latency Spikes and Double-Memory Footprints
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-cancellation-abort-drain
backendcritical

Axum 0.8 Request Cancellation Propagation & Client Disconnect Abort Drain

Mandates that Axum 0.8 request handlers, Tower middleware, and downstream database operations strictly honor HTTP/2 and HTTP/3 RST_STREAM disconnect signals. Prevents compute leaks, database connection pool starvation, and phantom transactional writes by enforcing Tokio cancellation propagation and RAII rollback semantics.

Blocks:Spawning Unlinked Background Tasks and Ignoring Stream Teardown in Long-Running Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-concurrency-fence
backendcritical

Bun 1.2 Native SQLite WAL Read-Write Concurrency Fence & Checkpoint Isolation

Enforces strict architectural isolation between a single serialized writer connection and pooled read-only instances in Bun 1.2's native sqlite engine. Mandates WAL journal mode, explicit busy timeouts, synchronized normal durability, and non-blocking passive checkpointing to prevent MMAP thrashing, thread starvation, and SQLITE_BUSY deadlocks during high-throughput edge cache persistence.

Blocks:Shared Read-Write Database Handles with Default Rollback Journaling and Unfenced Checkpoints Stalling Event Loops
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-pool-zero-alloc-propagation
backendcritical

Go Chi Context Pool Zero-Allocation Propagation Standard

Enforces zero-allocation context propagation across Go Chi edge routers by recycling route context structs and custom trace/deadline carriers via sync.Pool. Eliminates heap allocations during high-frequency extraction and injection of OpenTelemetry spans and downstream timeout metadata under high RPS loads.

Blocks:Chaining context.WithValue and re-allocating chi.Context wrappers on edge router request paths
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-backpressure-control
backendcritical

Bun 1.2 Native WebSocket Hibernation and Kernel-Level Backpressure Management

Enforces memory-safe WebSocket handling in Bun 1.2+ using native socket hibernation and kernel-level backpressure control. Sockets must never be retained in JavaScript heap structures, and egress message streaming must respect socket buffer thresholds and the native drain lifecycle to sustain millions of concurrent connections with near-zero idle resident memory footprint.

Blocks:Retaining ServerWebSocket references in heap collections and dispatching egress messages without drain backpressure handling.
Targets:Cursor•Claude•Windsurf•Codex
axum-08-cancellation-safe-streaming-pipeline-standard
backendcritical

Axum 0.8 Cancellation-Safe Streaming Pipeline Standard

Axum request futures are dropped immediately at the nearest yield point when a client terminates the connection. Streaming upload pipelines must bind all intermediate resources to deterministic RAII rollback guards to eliminate orphaned temporary files and leaked file descriptors upon mid-stream aborts.

Blocks:Orphaned Partial Files and Leaked File Descriptors via Naked Async File Writes During Premature Client Disconnection
Targets:Cursor•Claude•Windsurf•Codex
bun-sql-pool-eviction-session-reset-standard
backendcritical

Bun 1.2 Native SQL Connection Pool Eviction and Session State Reset Standard

Enforces deterministic connection pool eviction, prepared statement invalidation, and session state reset for Bun 1.2 native SQL clients under high-concurrency and network partition recovery. Eliminates silent cross-tenant parameter leakage and stale session cache desynchronization caused by unhygienic socket reuse across multiplexed asynchronous worker contexts.

Blocks:Unchecked Connection Reuse Leaking Session Variables and Corrupted Prepared Statements Post-Partition
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-cache-invalidation
backendcritical

Go 1.24 Weak Pointer Cache Invalidation and Memory Safety Invariant

Governs the use of Go 1.24 weak pointers (weak.Pointer) within high-throughput in-memory cache indexing layers to eliminate memory retention cycles and GC pinning. Mandates atomic dereferencing through Pointer.Strong() and safe cleanup synchronizers to prevent use-after-free logic and dangling pointer race conditions under heavy concurrent GC pressure.

Blocks:Retaining Strong References in Secondary Indexes or Accessing Weak Pointers Without Immediate Strong Nil-Checks
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-http3-zero-rtt-anti-replay-guardrail
backendcritical

Axum 0.8 HTTP/3 0-RTT Anti-Replay Guardrail

Enforces deterministic rejection or strike-register validation of HTTP/3 QUIC 0-RTT early data on state-mutating and sensitive endpoints in Axum 0.8. Prevents network-level replay attacks inherent to TLS 1.3 early data by mandating HTTP 425 Too Early responses for unsafe methods and requiring bounded strike registers for early-data-tolerant routes.

Blocks:Executing state mutations or sensitive queries on replayed QUIC 0-RTT early data without 425 rejection or strike register validation
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-serverless-prepared-statement-deallocation-standard
backendcritical

Drizzle ORM Serverless Prepared Statement & Session State Deallocation Standard

Enforces deterministic deallocation of prepared statements and transaction-mode pooling compliance in Drizzle ORM across serverless micro-VM runtimes. Eliminates PostgreSQL 42P05 duplicate statement collisions, session state pollution, and connection starvation on PgBouncer, Neon, and AWS RDS Proxy during warm container reuse.

Blocks:Persisting server-side prepared statement handles across warm serverless micro-VM invocations connected to transaction poolers
Targets:Cursor•Claude•Windsurf•Codex
python-313t-fastapi-free-threaded-contention-guardrail
backendcritical

Python 3.13 Free-Threaded FastAPI Thread-Safety & C-Extension Contention Guardrail

Enforces thread-safety invariants, synchronization primitives, and C-extension isolation under Python 3.13 free-threaded (PEP 703) runtimes running ASGI servers like Granian or Uvicorn. Mandates contextvars over thread-locals and eliminates unprotected global state mutations that previously relied on GIL atomicity guarantees.

Blocks:Relying on legacy GIL atomicity for shared mutable state and using threading.local() in free-threaded async workers.
Targets:Cursor•Claude•Windsurf•Codex
pg17-json-table-workmem-spill-containment
backendcritical

PostgreSQL 17 JSON_TABLE WorkMem Allocation & Spill Containment Standard

Governs execution bounds and streaming memory limits for PostgreSQL 17 SQL/JSON JSON_TABLE transformations over nested hierarchical documents. Mandates explicit work_mem thresholds, temp_file_limit spill containment, and keyset-chunked projection to prevent Linux OOM-killer invocations and cluster-wide postmaster panics.

Blocks:Unbounded Single-Query JSON_TABLE Materialization Triggering Fatal Backend Process OOM
Targets:Cursor•Claude•Windsurf•Codex
tokio-cooperative-drop-safety-axum-production-standard
backendcritical

Tokio Cooperative Scheduling Budget & Drop-Safety Invariant for Axum 0.8

Enforces deterministic cooperative scheduling budgets and strict drop-safety invariants across Axum 0.8 HTTP/3 stream lifecycles. Eliminates worker-thread starvation caused by unbounded stream polling loops and prevents persistent data corruption resulting from arbitrary task cancellation when HTTP/3 client streams reset mid-mutation.

Blocks:Unbounded Stream Polling Bypassing Tokio Budget and Multi-Stage Awaits Violating Future Drop-Safety During HTTP/3 Cancellation
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-cache-eviction-invariants
backendcritical

Go 1.24 Weak Pointer Cache Eviction and Memory Reclamation Guardrails

Mandates deterministic key reclamation and lifecycle coordination using Go 1.24's weak.Pointer and runtime.AddCleanup within high-churn routing tables. Prevents mark-sweep pointer-chasing GC stalls and unbounded map-entry leaks by decoupling entry lifetime from GC root sets.

Blocks:Retaining strong routing targets in canonicalization caches or failing to evict dead weak.Pointer entries from concurrent maps
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-freethreaded-shared-state-race-barrier
backendcritical

Python 3.13 Free-Threaded Shared State Race Barrier and Memory Safety Invariant

Enforces strict immutability, thread synchronization barriers, and thread-safe data structures across un-GILed worker threads in Python 3.13 free-threaded (PEP 703) runtimes. Prevents silent data tearing, stale reads, and race conditions in FastAPI applications handling concurrent requests across multi-threaded thread pools.

Blocks:Unsynchronized Mutable Module-Level State and Non-Atomic Cache Updates Under Free-Threaded Python 3.13
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-hnsw-memory-fence
backendcritical

Postgres 17 pgvector HNSW Index Build Memory Fence and Graph Ceilings

Enforces session-scoped maintenance_work_mem bounds, explicit worker ceilings, and bounded graph connectivity (m, ef_construction) during concurrent pgvector HNSW index creation on PostgreSQL 17. Prevents Linux cgroup kernel OOM-killer invocations caused by parallel maintenance worker multiplicative memory allocation under concurrent write-heavy hybrid workloads.

Blocks:Unbounded Global maintenance_work_mem with High Hyperparameters Triggering Parallel Worker Cgroup OOM
Targets:Cursor•Claude•Windsurf•Codex
go-chi-quic-stream-cancellation-standard
backendcritical

Deterministic Child Goroutine and Channel Teardown on QUIC Stream Reset in Go Chi HTTP/3

Guarantees immediate and deterministic teardown of child worker goroutines, fan-out pipelines, and unbuffered channel interactions when receiving client-initiated QUIC stream resets (RESET_STREAM/STOP_SENDING). Mandates strict context propagation from Chi HTTP/3 request contexts and forbids unmultiplexed channel operations that cause permanent goroutine leaks.

Blocks:Permanent Goroutine Leaks and Channel Deadlocks via Unguarded HTTP/3 QUIC Stream Resets
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-token-propagation
backendcritical

Axum 0.8 In-Flight Cancellation Token Propagation Guardrail

Mandates deterministic propagation of tokio_util::sync::CancellationToken and TaskTracker through Axum 0.8 middleware layers and handlers. Prevents orphaned background tasks, exhausted database connection pools, and leaked socket handles during Kubernetes zero-downtime rolling deploys and unexpected client cancellations.

Blocks:Spawning detached tokio tasks and ignoring shutdown signals inside Axum handlers, producing unmanaged zombie workers during rolling deployments.
Targets:Cursor•Claude•Windsurf•Codex
pg17-streaming-io-buffer-allocation-boundary
backendcritical

PostgreSQL 17 Vectorized Streaming I/O Buffer Allocation Boundary

PostgreSQL 17 introduces asynchronous vectorized streaming I/O and prefetching for sequential scans, bitmap heap scans, and vacuum operations. Unbounded or global increases to io_combine_limit, maintenance_io_concurrency, and effective_io_concurrency under concurrent OLAP workloads cause aggressive OS page cache eviction, dirty buffer thrashing, and storage queue starvation. Database clients and query orchestrators must enforce session-scoped prefetch boundaries, strict work_mem caps, and synchronous ring-buffer protections on bulk scan operations.

Blocks:Global Uncapped Prefetching and Shared Memory Sizing Under Concurrent Streaming Analytical Scans
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-checkpoint-starvation-guardrail
backendcritical

Bun 1.2 Native SQLite WAL Concurrent Read-Transaction Invariant

Mandates strict deterministic lifecycle bounds for read transactions, prepared statements, and connection-level PRAGMA configurations in Bun 1.2 native SQLite (bun:sqlite). Eliminates WAL file ballooning, memory-mapped view fragmentation, and checkpoint starvation across concurrent microservices and worker threads.

Blocks:Leaking Long-Lived Read Transactions and Unfinalized Statements Across Async Event Loop Turns in WAL Mode
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python-313-free-threaded-context-isolation
backendcritical

FastAPI Python 3.13 Free-Threaded Context Isolation & Concurrency Guardrail

Mandates thread-safe request context isolation and synchronization in FastAPI applications deployed on Python 3.13 free-threaded (no-GIL) runtimes. Enforces strict avoidance of unsynchronized module-level mutable state and requires contextvars.ContextVar or explicit synchronization primitives to prevent cross-request race conditions, tenant data leakage, and memory corruption.

Blocks:Leaking Cross-Request State via Unsynchronized Module-Level Globals in Python 3.13t
Targets:Cursor•Claude•Windsurf•Codex
pg17-tidstore-vacuum-memory-invariant
backendcritical

PostgreSQL 17 TidStore Vacuum Memory and Worker Concurrency Invariant

PostgreSQL 17 replaces flat dead-tuple arrays with an adaptive radix tree (TidStore) for vacuuming, fundamentally altering memory consumption dynamics under high write loads. This rule enforces deterministic calibration of maintenance_work_mem and autovacuum_max_workers to eliminate out-of-memory kernel panics and index bloat during concurrent streaming table cleanups.

Blocks:Over-allocating maintenance_work_mem with unbounded autovacuum workers triggering OOM termination during concurrent radix-tree dead tuple index passes
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-synctest-virtual-clock-concurrency-invariant
backendcritical

Go 1.24 synctest Virtual Clock Concurrency and Goroutine Determinism Guardrail

Go 1.24 introduces testing/synctest to isolate asynchronous code within deterministic synthetic time bubbles. Goroutines spawned inside a synctest bubble advance virtual clocks instantaneously when all bubble goroutines are durably blocked, eliminating wall-clock race conditions and nondeterministic sleeps. Tests must strictly confine concurrent state, avoid leaking bubble-bound goroutines, and prohibit unbuffered real I/O to prevent silent deadlocks.

Blocks:Non-deterministic Wall-Clock Sleeps and Unbound Goroutine Racing in Asynchronous Go Unit Tests
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-quic-stream-context-propagation
backendcritical

Go 1.24 Chi Context-Propagated HTTP/3 Stream Multiplexing Guardrail

Enforces strict context propagation and QUIC stream-cancellation handling in Go 1.24 Chi HTTP/3 services. Prevents orphaned background goroutine leaks and unbounded memory expansion when multiplexed QUIC client streams abruptly reset under heavy ingress load.

Blocks:Spawning detached background workers or unmonitored channels from r.Context() during QUIC stream multiplexing resets
Targets:Cursor•Claude•Windsurf•Codex
bun-tcp-fastopen-connection-pool-invariants
backendcritical

Bun 1.2 Native TCP FastOpen Client Connection Pooling and Lifecycle Invariant

Enforces strict TCP FastOpen (TFO) socket lifecycle management, bounded persistent pooling, and aggressive half-open cleanup across Bun 1.2 clustered runtimes. Prevents kernel socket starvation, hung SYN-sent states, and file descriptor leaks under high-throughput network churn.

Blocks:Unbounded Bun.connect() FastOpen invocations omitting deterministic handshake timeouts, keep-alive probes, and forced socket termination.
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-graceful-connection-drain-axum-0-8-gracefu-205
backendcritical

Axum 0.8 & Hyper Two-Phase Graceful Connection Drain Invariant

Mandates a deterministic two-phase connection drain architecture for Axum 0.8 and Hyper servers during rolling and blue-green deployments. Enforces an ingress propagation buffer before stopping the listener and coordinates Tokio cancellation tokens with Hyper HTTP/1.1 and HTTP/2 connection drain states to eliminate dropped TCP packets and HTTP 502 Bad Gateway errors.

Blocks:Immediate Listener Teardown on SIGTERM Causing Ingress Connection Drops and RST Packet Spikes
Targets:Cursor•Claude•Windsurf•Codex
openfga-rebac-cycle-detection-bounded-depth
backendcritical

OpenFGA Zanzibar-Style Cycle Detection & Bounded Depth Evaluation Standard

Enforces deterministic cycle detection, breadth/depth-budget constraints, and visited-node memoization during ReBAC relationship-tuple evaluation. Prevents Denial-of-Service, thread starvation, and call-stack exhaustion caused by circular group memberships, nested folder hierarchies, and unbounded userset graph expansions.

Blocks:Unbounded Recursive Traversal and Missing Visited-State Tracking in Graph Authorization Queries
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-bound-standard
backendcritical

Postgres 17 JSON_TABLE Dynamic Execution Memory Bound Standard

Enforces deterministic memory bounds and query timeouts on Postgres 17 SQL/JSON JSON_TABLE projections across streaming ingest pipelines. Prevents adversarial, deep-nested, or oversized JSON payloads from triggering backend Out-Of-Memory (OOM) terminations and cascading worker evictions.

Blocks:Unbounded JSON_TABLE Projections on Untrusted Ingest Payloads Inducing Backend Worker OOM Kills
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-data-anti-replay-defense
backendcritical

Strict HTTP/3 0-RTT Early-Data Anti-Replay Guardrail for Go Chi 5.1

Enforces multiplexer-level quarantine against HTTP/3 0-RTT early-data replay attacks on non-idempotent endpoints in Go Chi 5.1 applications. Mandates immediate rejection with HTTP 425 Too Early for state-mutating HTTP methods arriving via 0-RTT early data frames before request bodies are buffered or business logic is reached. Prevents financial double-spend, duplicate resource creation, and unauthorized side effects caused by network-level packet retransmission.

Blocks:Executing state-mutating Chi handlers during 0-RTT early data without RFC 8470 425 rejection
Targets:Cursor•Claude•Windsurf•Codex
bun-vfs-path-traversal-isolation
backendcritical

Bun 1.2 Standalone Executable VFS Path Traversal and Symlink Isolation

Enforces strict virtual file system (VFS) boundaries within Bun 1.2 standalone compiled executables (`bun build --compile`). Prevents canonicalized path traversal (`../`) and symlink dereference attacks from breaking out of `$bunfs/root` into host OS filesystems (`/etc`, `C:\Windows`). Requires safe resolution primitives and explicit verification against embed roots before calling `Bun.file()` or `node:fs` APIs.

Blocks:Unsanitized Path Concatenation and Blind Symlink Resolution Escaping Bun Embedded VFS Root
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-relational-projection
backendcritical

Postgres 17 JSON_TABLE In-Engine Relational Projection

Mandates the use of PostgreSQL 17 SQL/JSON standard JSON_TABLE projections for semi-structured document ingestion and querying. Prohibits transferring unparsed JSON payloads to middle-tier application runtimes for manual deserialization, flattening, and relational transformation, which degrades throughput and introduces compute engine memory pressure.

Blocks:Middle-Tier JSON Hydration and In-Memory Normalization Anti-Pattern
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-buffer-ring-invariant
backendcritical

Bun 1.2 Zero-Copy WebSocket Backpressure and Buffer Ring Invariant

Enforces non-blocking WebSocket I/O through strict backpressure monitoring using ws.bufferedAmount, the drain lifecycle hook, and zero-copy circular buffer pools in Bun 1.2. Prevents catastrophic native memory leaks, unmonitored TCP socket buffer ballooning, and heap exhaustion under high-throughput broadcast fan-out workloads.

Blocks:Unchecked ws.send() Broadcasting and Ephemeral Buffer Allocations Causing Native Heap Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-zero-copy-streaming-deserialization
backendcritical

FastAPI / Pydantic Core Zero-Copy Streaming Deserialization Invariant

Enforces zero-copy buffer validation via Pydantic Core (Rust backend) during high-throughput multipart and chunked payload ingestion in FastAPI. Forbids Python-space chunk concatenation and intermediate UTF-8 string allocations to eliminate Global Interpreter Lock (GIL) thrashing and process-level memory bloat under saturated I/O conditions.

Blocks:Accumulating In-Flight Stream Chunks into Python-Managed Bytearrays Before Model Parsing
Targets:Cursor•Claude•Windsurf•Codex
openfga-cyclic-expansion-depth-quota-invariant
backendcritical

OpenFGA Relationship-Based Access Control Cyclic Expansion and Depth Quota Invariant

Enforces deterministic recursion limits and cycle detection when resolving nested relationship tuples across enterprise organizational hierarchies. Prevents unconstrained graph traversals, distributed CPU starvation, and query timeouts in OpenFGA Check and Expand calls through explicit context depth limits and schema validation.

Blocks:Unbounded recursive tuple resolution and cyclic parent-child delegations causing infinite graph traversal and denial of service
Targets:Cursor•Claude•Windsurf•Codex
bun-explicit-resource-management-db-pool-invariant
backendcritical

Bun 1.2 Explicit Resource Management Disposable Database Pool Invariant

Enforces deterministic reclamation of acquired database connections and transactions using TC39 Explicit Resource Management (`using` and `await using` declarations) in Bun 1.2+. Guarantees that connection handles and transactional locks are disposed of synchronously or asynchronously upon scope exit, completely eliminating socket starvation and connection pool exhaustion caused by unhandled rejections, early returns, or uncaught exceptions.

Blocks:Manual Connection Release via Ad-Hoc Try/Finally Leading to Leaked Sockets on Premature Rejection
Targets:Cursor•Claude•Windsurf•Codex
axum-sse-stream-cancellation-socket-pruning
backendcritical

Axum SSE Stream Cancellation Safety and Downstream Socket Pruning Guardrail

Mandates explicit cancellation propagation, active keep-alive probes, and RAII-bound task lifecycles for Server-Sent Events in Axum. Prevents orphaned Tokio tasks, unbounded memory leaks, and socket descriptor exhaustion under transient client disconnects and network partitions.

Blocks:Decoupling background producer tasks from Axum SSE stream drops without keep-alive probes, leaking Tokio tasks and socket descriptors.
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-buffer-invariant
backendcritical

Bun 1.2 WebSocket Backpressure & Memory-Bounded Buffer Invariant

Enforces deterministic backpressure monitoring and bounded native buffer limits across all Bun native WebSocket connections. Prevents fatal process termination via SIGKILL by eliminating unmonitored C++ socket write queue expansion under asymmetric client drain rates.

Blocks:Unchecked fire-and-forget ws.send() invocations causing unmonitored native memory bloat and Linux OOM killer termination
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-workmem-isolation-standard
backendcritical

pgvector 0.8 HNSW Index Maintenance and WorkMem Isolation Guardrail

Enforces strict isolation of maintenance_work_mem and session work_mem during pgvector 0.8+ HNSW graph construction and parallel query execution. Prevents Linux OOM-killer invocations, buffer pool cache eviction, and OLTP transaction starvation by decoupling vector index builds into isolated administrative sessions with deterministic memory bounds.

Blocks:Global maintenance_work_mem Inflation and Inline DDL Execution in Transactional OLTP Connection Pools
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal2-worker-checkpoint-coordination
backendcritical

Bun 1.2 Multi-Worker SQLite WAL2 Concurrency and Deterministic Checkpoint Coordination

Enforces deterministic checkpoint coordination and transaction boundaries across native Bun background workers using SQLite WAL2 mode. Prevents read-lock starvation, checkpoint livelocks, and uncommitted page corruption caused by uncoordinated PRAGMA wal_checkpoint execution across isolated thread runtimes.

Blocks:Uncoordinated Multi-Threaded Checkpointing and Concurrent Unsafe Write Allocations Under WAL2
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-non-resurrecting-cache-standard
backendcritical

Go 1.24 Weak Pointer and Non-Resurrecting Cache Cleanup Standard

Standardizes high-throughput in-memory cache architectures to use Go 1.24 weak.Pointer and runtime.AddCleanup instead of legacy runtime.SetFinalizer or strong-reference maps. Prevents object resurrection, eliminates multi-cycle GC retention, and avoids stop-the-world latency spikes by decoupling cleanup tokens from collected heap allocations.

Blocks:Retaining strong references in cache maps or invoking runtime.SetFinalizer with self-referential closures causing object resurrection.
Targets:Cursor•Claude•Windsurf•Codex
pg17-vectorized-streaming-vacuum-worker-boundary
backendcritical

PostgreSQL 17 Vectorized Streaming I/O Vacuum Worker Isolation

Enforces strict resource isolation and streaming I/O ring buffer boundaries for PostgreSQL 17 autovacuum workers scanning multi-terabyte heap tables. Prevents unbounded prefetching and OS page cache saturation from evicting active working sets in shared buffers during aggressive maintenance operations.

Blocks:Global Autovacuum Ring-Buffer Bypass and Unbounded Vectorized Prefetching on Multi-TB Heaps
Targets:Cursor•Claude•Windsurf•Codex
fastapi-freethreaded-asgi-thread-affinity-guardrail
backendcritical

FastAPI Free-Threaded (Python 3.13t) Worker & Resource Affinity Invariants

Enforces strict connection pool isolation, thread-local lifecycle scoping, and synchronization primitives across FastAPI ASGI workers executing under Python 3.13+ free-threaded (GIL-disabled) mode. Prohibits sharing non-thread-safe state (such as standard asyncio loop constructs, raw database cursors, and socket wrappers) across concurrent native threads to prevent memory corruption, race conditions, and pool contamination. Mandates thread-safe pool implementations, explicit synchronization, and ASGI worker isolation.

Blocks:Global Mutable State and Leaked Connection Pools Across Free-Threaded Native Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-http3-multiplex-drain
backendcritical

Axum 0.8 / HTTP/3 Zero-Drop Graceful Shutdown and Multiplexed Drain Guardrail

Enforces deterministic two-phase GOAWAY signaling, QUIC connection draining states, and synchronized Tower service pipeline completion in Axum 0.8 deployments. Guarantees zero dropped client requests and boundary-safe stream abortion during rolling container orchestrations over HTTP/3.

Blocks:Uncoordinated QUIC Endpoint Dropping Leading to Abrupt Stream Truncation and Rolling Deploy 502/504 Errors
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-sync-wal-retention-quarantine
backendcritical

Postgres 17 Failover Slot Sync WAL Retention Quarantine and Budget Bounding

Mandates strict WAL retention caps (`max_slot_wal_keep_size`) and automated quarantine controls for PostgreSQL 17 synchronized failover slots. Prevents catastrophic disk exhaustion on primary instances when logical replication subscribers or standby failover synchronization daemons stall. Enforces proactive invalidation and state tracking across `pg_replication_slots` to guarantee cluster availability over indefinite replication retention.

Blocks:Unbounded Synced Replication Slots Inducing Primary Disk Exhaustion During Standby or Subscriber Stalls
Targets:Cursor•Claude•Windsurf•Codex
fastapi-free-threaded-cpython-313-native-thread-isolation
backendcritical

FastAPI Free-Threaded CPython 3.13 Native Thread Isolation Standard

Enforces strict native memory isolation and thread-safe shared state primitives for high-throughput ASGI applications running on GIL-disabled CPython 3.13 (PEP 703). Prevents race conditions, data corruption, and GC allocator thrashing when handling concurrent ASGI requests across shared native OS threads without process boundaries.

Blocks:Global Mutability and Thread-Unsafe In-Memory State in GIL-Free ASGI Runtimes
Targets:Cursor•Claude•Windsurf•Codex
axum-h3-quic-graceful-goaway-draining
backendcritical

Axum 0.8 HTTP/3 QUIC Dual-Stage GOAWAY Stream Draining Standard

Enforces RFC 9114 Section 5.2 compliant dual-stage HTTP/3 GOAWAY frame sequencing across QUIC connections during SIGTERM events in Axum 0.8 services. Prevents silent request truncation, client-side 502/503 errors, and transport race conditions during rolling deployments by synchronizing stream drains across the QUIC connection pool.

Blocks:Abrupt QUIC Connection Severance Dropping In-Flight HTTP/3 Streams During Rolling Deployments
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-guardrail-postgres-17-sql--916
backendcritical

Postgres 17 SQL:2023 JSON_TABLE Streaming Projection & Memory Bounds

Enforces bounded memory projection and selective path materialization for Postgres 17 SQL:2023 JSON_TABLE queries. Prevents backend out-of-memory (OOM) failures and work_mem thrashing by mandating pre-filtered indexed scans, narrow column typing, and bounded sibling nested paths over large JSONB payloads.

Blocks:Unbounded JSON_TABLE Lateral Joins Triggering Memory Exhaustion via Deep Nested Path Materialization
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-thread-starvation-guardrail
backendcritical

FastAPI AnyIO Worker Pool Capacity & Thread Starvation Guardrail

Enforces explicit thread pool capacity configuration and isolated AnyIO CapacityLimiter instances for blocking synchronous dependencies in FastAPI. Prevents default worker pool saturation from starving the event loop, deadlocking sync dependency resolution, and triggering health check failures under high concurrency.

Blocks:Exhausting Default AnyIO Thread Limiter with Unbounded Blocking I/O and Sync Dependencies
Targets:Cursor•Claude•Windsurf•Codex
bun-1-2-native-socket-splice-standard
backendcritical

Bun 1.2 Native TCP Direct-Buffer Socket Splicing & Zero-Copy Proxy Standard

Mandates zero-copy direct-buffer transmission across Bun 1.2 native TCP sockets in high-throughput reverse proxies and streaming gateways. Enforces bypassing JavaScript runtime heap allocations and intermediate userland memory copying during packet forwarding to guarantee sub-millisecond latencies and eliminate GC pauses.

Blocks:Heap-Allocated Intermediate Buffers and Node-Stream Emulation in Bun Gateways
Targets:Cursor•Claude•Windsurf•Codex
pgvector-quantized-in-memory-residency-invariant
backendcritical

PostgreSQL 17 pgvector Quantized In-Memory Index Residency Invariant

Enforces that all HNSW and IVFFlat vector indexes deploy 1-byte scalar or binary quantization with mathematical bounds verification against shared_buffers. Graph traversal during approximate nearest neighbor search requires random pointer chasing across non-contiguous 8KB pages; if the working index set exceeds shared_buffers, query latency degrades by orders of magnitude due to random I/O stall cascades. All database deployments and migrations MUST prove index memory residency prior to cutover and enforce pg_prewarm at node initialization.

Blocks:Unquantized Float32 HNSW Vector Indexes Spilling to Disk Causing Catastrophic I/O Storms
Targets:Cursor•Claude•Windsurf•Codex
pg17-direct-io-wal-buffer-sizing-standard
backendcritical

PostgreSQL 17 Direct I/O WAL Buffer Concurrency Sizing Standard

PostgreSQL 17 introduces direct I/O bypass options via io_direct to eliminate OS page-cache double-buffering. In high-throughput ingest systems, failing to size wal_buffers to hardware NVMe logical block address (LBA) boundaries under direct I/O causes unaligned block split-writes, severe WALInsertLock contention, and write amplification.

Blocks:Default Auto-Sized WAL Buffers with Active Direct I/O Inducing Sector Split-Write Thrashing
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-backpressure-shedding
backendcritical

Bun 1.2 Native WebSocket Hibernation Backpressure Threshold and Shedding

Enforces proactive backpressure management and aggressive connection shedding for Bun 1.2 native hibernated WebSockets. Prevents edge process heap exhaustion and unmanaged native memory bloat by mandating buffered amount checks and drain listeners before sockets return to dormant states.

Blocks:Unbounded WebSocket Broadcasting and Ignored Native Buffer Backpressure in Hibernated Sockets
Targets:Cursor•Claude•Windsurf•Codex
go-chi-arena-request-context-lifecycle
backendcritical

Go Chi Arena-Backed Request Context Lifecycle Invariant

Enforces strict scope-bound memory arena reclamation within Go Chi HTTP middleware pipelines. Forbids arena-allocated pointers from escaping synchronous request boundaries into asynchronous goroutines, eradicating use-after-free memory corruption in zero-allocation services.

Blocks:Capturing Arena-Allocated Pointers in Asynchronous Goroutines After Deferred Middleware Arena Reclamation
Targets:Cursor•Claude•Windsurf•Codex
go-iter-pull-goroutine-leak-boundary
backendcritical

Go 1.24 iter.Pull2 Mandatory Teardown and Goroutine Lifecycle Boundary

Enforces strict deferred invocation of the teardown closure returned by Go 1.24 iter.Pull and iter.Pull2 conversions. Converting push-based sequence iterators into pull consumers instantiates an underlying coroutine pair; failure to execute the stop closure on early breaks, errors, or panics permanently leaks producer goroutines.

Blocks:Omitting Immediate defer stop() on iter.Pull/iter.Pull2 Producer Coroutines
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hashjoin-workmem-quota-guardrail
backendcritical

PostgreSQL 17 Spill-to-Disk Hash Join Memory Quota Enforcement

Enforces deterministic, transaction-scoped memory budgets and parallel worker limits for PostgreSQL 17 optimized hash joins during high-throughput batch operations. Prevents process-level host OOM killer termination by containing concurrent work_mem allocations and enforcing explicit temp_file_limit disk spill boundaries.

Blocks:Unbounded Session-Level work_mem and Parallel Worker Multiplication Triggering Host OOM Panics
Targets:Cursor•Claude•Windsurf•Codex
tower-hyper-concurrency-adaptive-shedding-invariant
backendcritical

Tower & Hyper Concurrency Limiting with Adaptive Load Shedding

Protects async Rust edge services from Tokio event loop starvation and kernel socket queue exhaustion under saturating workloads. Enforces bounded concurrency gates and zero-allocation load shedding at the Tower service layer before socket buffer allocation or HTTP payload body ingestion.

Blocks:Spawning unbounded connection tasks without ready-check backpressure, triggering memory exhaustion and event loop stall
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-cancellation-propagation-guardrail
backendcritical

FastAPI AnyIO Structured Concurrency & Deterministic Cancellation Guardrail

Enforces AnyIO structured concurrency task groups and deterministic cancellation cascades across all asynchronous FastAPI endpoints. Guarantees that client disconnects immediately abort nested async I/O workloads and execute shielded cleanups without leaving orphaned database transactions or zombie worker tasks.

Blocks:Swallowing cancellation exceptions with broad try/except blocks and spawning unmanaged asyncio.create_task background jobs within request lifecycles.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-sync-replication-barrier
backendcritical

Postgres 17 Failover Slot Synchronization and Replication Barrier Guardrail

Enforces Postgres 17 logical replication slot synchronization across high-availability physical standby nodes via synchronized failover slots and synchronized replication barriers (`sync_replication_slots`). Guarantees zero message loss, eliminates duplicate message replay storms, and prevents downstream subscriber split-brain during standby promotion by blocking replication advancement past unconfirmed physical standby LSN barriers.

Blocks:Creating uncoordinated logical replication slots vulnerable to post-failover data loss or re-streaming duplicate message storms.
Targets:Cursor•Claude•Windsurf•Codex
bun-cluster-worker-zero-loss-socket-handoff
backendcritical

Bun 1.2 Cluster Worker Zero-Loss TCP Socket Handoff Invariant

Enforces atomic file descriptor synchronization and kernel-level socket queue draining across Bun 1.2 multi-worker lifecycles. Eliminates truncated TLS handshakes and connection resets (ECONNRESET) during continuous rolling deployments by orchestrating SO_REUSEPORT binding with phased IPC readiness and graceful listener unbinding.

Blocks:Uncoordinated worker termination and naive process cycling causing dropped SYN queues and truncated TLS handshakes.
Targets:Cursor•Claude•Windsurf•Codex
go-arena-allocation-memory-escape-guardrail
backendcritical

Go 1.24 Arena Allocation Memory Escape Verification Guardrail

Enforces strict lexical and lifetime scoping of Go 1.24 experiment arena allocations (GOEXPERIMENT=arenas) in ultra-low-latency gateway routing hot-paths. Prevents memory leaks, use-after-free conditions, and GC heap corruption by guaranteeing arena-allocated pointers never escape their request context or outlive arena.Free(). Requires compiler-level escape analysis verification and deep cloning for asynchronous downstream boundaries.

Blocks:Escaping arena-backed memory references past arena.Free() lifecycle or passing them into asynchronous goroutines
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tokio-hierarchical-cancellation-token-drain-guardrail
backendcritical

Axum 0.8 Tokio Hierarchical CancellationToken Drain Guardrail

Enforces strict parent-child CancellationToken hierarchies across Axum 0.8 Tower middleware pipelines and streaming handlers. Prevents orphaned background tasks, zombie streaming connections (SSE/WebSockets), and unbounded graceful shutdown delays by binding request life-cycles to Tokio TaskTrackers and scoped child tokens.

Blocks:Spawning Detached Tokio Tasks or Unbounded Stream Pollers Without Child Cancellation Tokens Tied to Server Shutdown Hooks
Targets:Cursor•Claude•Windsurf•Codex
axum-cancellation-token-downstream-abort-propagation
backendcritical

Axum 0.8 Cooperative Task Cancellation and Downstream Abort Propagation

Enforces deterministic cancellation token propagation and drop semantics across Axum 0.8 and Tower service stacks. Guarantees that TCP socket disconnects and downstream HTTP aborts immediately terminate in-flight database queries, external RPCs, and asynchronous worker tasks to prevent unmetered compute drain and resource pool exhaustion.

Blocks:Detached Background Spawning and Ignored Future Drops Inducing Phantom Compute and Connection Leaks
Targets:Cursor•Claude•Windsurf•Codex
bun-multiworker-prepared-statement-coherence-standard
backendcritical

Bun 1.2 Multi-Worker Prepared Statement Cache Coherence Standard

Enforces strict lifecycle management, bounded caching, and cross-thread schema invalidation for prepared statements within Bun 1.2 multi-threaded worker pools. Prevents off-heap memory fragmentation, unbounded native statement allocations, and stale plan execution against distributed database replicas following dynamic schema alterations or failovers.

Blocks:Global Unbounded Statement Caching and Desynchronized Prepared Plans Across Isolated Bun Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-sync-guardrail
backendcritical

Postgres 17 Logical Replication Slot Synchronization and Outbox Consumer Guardrail

Enforces failover-safe logical replication slot synchronization introduced in PostgreSQL 17 to prevent message re-ingestion, double processing, and consumer drift across High Availability (HA) switchovers. Mandates `failover = true` on logical slots, configuration of `synchronized_standby_slots` on the primary, and explicit LSN confirmation barriers before publishing outbox payloads.

Blocks:Unsynchronized Logical Slots Causing Replay Storms and Duplicate Outbox Events Post-HA Failover
Targets:Cursor•Claude•Windsurf•Codex
nextjs-15-after-background-quota-guardrail
backendcritical

Next.js 15 after() Background Execution Quota and Telemetry Guardrail

Enforces strict timeout envelopes, error isolation, and telemetry boundaries on Next.js 15 after() callbacks in serverless runtimes. Mitigates silent worker termination, resource leakage, and runtime budget exhaustion by bounding execution and offloading oversized tasks to message queues.

Blocks:Unbounded Fire-and-Forget after() Callbacks Inducing Silent Lambda Freezes and Memory Eviction
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-io-direct-buffer-alignment
backendcritical

PostgreSQL 17 Async Streaming I/O Direct Buffer Page Alignment

Mandates strict kernel-level page and sector memory alignment (minimum 4096-byte boundaries) for all memory buffers used in PostgreSQL 17 asynchronous streaming read pipelines and direct I/O operations. Unaligned direct I/O buffers force the Linux kernel to fall back to synchronous bounce buffers and buffered copy paths, causing catastrophic cache thrashing and serialization under high-throughput NVMe workloads.

Blocks:Unaligned Heap Allocations in Direct Async I/O Causing Kernel Bounce-Buffer Fallbacks
Targets:Cursor•Claude•Windsurf•Codex
go-chi-slog-concurrency-context-tracing-standard
backendcritical

Go 1.24 Chi slog Concurrency Context Tracing Standard

Mandates zero-allocation propagation of structured slog.Logger instances and telemetry context across synchronous and asynchronous goroutines in Go 1.24 Chi HTTP pipelines. Enforces the use of context.WithoutCancel for detached execution and typed, allocation-free context keys to eliminate data races, context cancellation panics, and telemetry loss.

Blocks:Leaking HTTP Request Contexts and Dynamic Heap Allocations Across Spawned Worker Goroutines
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-parallel-apply-slot-affinity
backendcritical

Postgres 17 Parallel Apply Slot-Affinity Invariant for High-Write Ingestion

Enforces deterministic entity hash partitioning across Postgres 17 logical replication subscriptions and parallel apply workers. Prevents inter-worker relational deadlocks on foreign key constraints and share-lock contention during high-throughput distributed CDC ingestion. Guarantees that interdependent transactional trees route to deterministic parallel stream channels.

Blocks:Non-deterministic worker distribution of transactional CDC events causing cross-worker foreign-key deadlocks in parallel apply pipelines.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-rfc9218-stream-prioritization-standard
backendcritical

Deterministic RFC 9218 Extensible Prioritization and Rapid-Reset Mitigation in Go Chi HTTP/3

Enforces strict RFC 9218 Extensible Prioritization handling and stream frame budgeting in Go Chi HTTP/3 services. Mitigates HTTP/3 stream starvation and Rapid Reset (CVE-2023-44487 analogue) vectors by bounding stream concurrency, throttling stream cancellations, and parsing urgency/incremental parameters for deterministic resource allocation.

Blocks:Unbounded Goroutine Spawning and Unthrottled HTTP/3 Stream Resets Leading to Resource Starvation
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-zero-copy-off-heap-buffer-invariant
backendcritical

Bun 1.2 Native SQLite Zero-Copy Off-Heap Buffer Invariant

Enforces strict buffer ownership transfer and zero-copy pinned allocations between the JavaScriptCore (JSC) heap and native SQLite pointers during high-throughput ingest in Bun 1.2+. Prevents JSC garbage collection stop-the-world pauses, double-free faults, and unaligned memory access by mandating direct Uint8Array slice reuse with SQLite native statement binding.

Blocks:Implicit JSC Heap Allocation and Buffer Cloning During High-Volume SQLite Ingestion
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-safe-logical-replication-sync
backendcritical

Postgres 17 Failover-Safe Logical Replication Slot Synchronization

Mandates strict programmatic configuration and operational validation of PostgreSQL 17 failover-safe logical replication slots for downstream CDC and transactional outbox engines. Ensures logical slots specify failover enabled, primary instances enforce synchronized_standby_slots, and standby nodes sync slots to eliminate cursor corruption, dropped events, and duplicate stream bursts during replica failovers.

Blocks:Unsynchronized Ephemeral Logical Slots Lost or Rewound Following Primary-Replica Failovers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-nogil-concurrency-guardrail
backendcritical

FastAPI Free-Threaded Python 3.13 (PEP 703) GIL-Free Concurrency Guardrail

Enforces strict thread-synchronization primitives, atomic operations, and native C-extension isolation for FastAPI services running on Python 3.13 free-threaded builds (PEP 703). Prevents silent data corruption, torn reads/writes in shared memory spaces, and segfaults caused by thread-unsafe C-extensions operating across concurrent OS threads.

Blocks:Unsynchronized Shared In-Memory State and Legacy C-Extensions in Free-Threaded Runtimes
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-h2-goaway-drain-invariant
backendcritical

Axum 0.8 / Hyper 1.x HTTP/2 Graceful GOAWAY Stream Drain Invariant

Enforces RFC 9113-compliant HTTP/2 graceful connection draining during rolling deployments in Axum 0.8 and Hyper 1.x. Prevents connection resets, ERR_HTTP2_PROTOCOL_ERROR, and 502 Bad Gateway errors by ensuring active multiplexed streams finish processing and GOAWAY frames propagate prior to socket closure.

Blocks:Abrupt TCP Socket Termination Dropping Inflight Multiplexed HTTP/2 Streams During Pod Termination
Targets:Cursor•Claude•Windsurf•Codex
pg17-vectorized-direct-io-worker-production-standard
backendcritical

PostgreSQL 17 Vectorized Direct I/O and Parallel Worker Invariant

Enforces bounded kernel buffer lock contention and prevents worker exhaustion during concurrent vectorized sequential scans in PostgreSQL 17. Mandates deterministic tuning of io_combine_limit, io_direct, and max_parallel_workers_per_gather to prevent OS page-cache thrashing and worker pool starvation.

Blocks:Unbounded parallel sequential scans with uncontrolled block read combinations causing buffer lock saturation and worker exhaustion
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-http2-graceful-goaway-invariant
backendcritical

Axum 0.8 / Hyper HTTP/2 Dual GOAWAY Graceful Termination Invariant

Enforces deterministic HTTP/2 graceful shutdown sequencing during container termination in Axum 0.8 and Hyper 1.x. Prevents in-flight RPC loss and TCP RST injection by sequencing the dual GOAWAY advisory window, absorbing cross-wire streams, and draining Tokio worker tasks prior to socket termination.

Blocks:Abrupt TCP socket teardown during SIGTERM emitting premature RST_STREAM and dropped client RPCs.
Targets:Cursor•Claude•Windsurf•Codex
axum-08-async-stream-backpressure-disconnect-guardrail
backendcritical

Axum 0.8 Stream Backpressure & Cooperative Early Disconnect Invariant

Enforces deterministic cancellation and bounded backpressure across asynchronous HTTP/2 and HTTP/3 streaming pipelines in Axum 0.8. Ensures that downstream client disconnects (such as RST_STREAM or socket drops) immediately tear down upstream background workers, preventing resource leakage, memory exhaustion, and phantom query execution.

Blocks:Detached Background Task Spawning with Unbounded Channels Ignoring Receiver Drops
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-workmem-spill-circuit-breaker
backendcritical

Postgres 17 Adaptive Parallel Hash Join WorkMem Allocation and OOM Circuit Breaker

Enforces deterministic per-worker memory quotas and adaptive query-level bounds during parallel hash joins in PostgreSQL 17. Prevents explosive memory growth across concurrent worker threads by dynamically scaling transaction-local work_mem and hash_mem_multiplier to force safe disk spilling rather than invoking the Linux kernel Out-Of-Memory (OOM) killer.

Blocks:Unbounded Global WorkMem Multiplied Across Parallel Workers Triggering Kernel OOM Cascades
Targets:Cursor•Claude•Windsurf•Codex
bun-serve-zero-copy-socket-buffer-ownership-invariant
backendcritical

Bun 1.2 Bun.serve() Zero-Copy Socket Buffer Ownership Invariant

Bun's high-throughput I/O engine relies on native C++ socket ring buffers for HTTP/1.1, HTTP/2, and HTTP/3 streaming payloads. When consuming chunked streams via Bun.serve(), references to zero-copy Uint8Array views must not outlive the native reader lifecycle without explicit memory ownership transfer. Retaining or queueing raw borrowed views across microtask turns results in silent memory corruption or native use-after-free crashes.

Blocks:Retaining borrowed native socket views across asynchronous boundaries without explicit buffer detachment or memory copying.
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-avx512-memory-alignment-guardrail
backendcritical

pgvector 0.8+ AVX-512 64-Byte Memory Alignment and SIMD Invariant Guardrail

Enforces strict 64-byte memory boundary alignment and 16-element float32 dimension padding for pgvector 0.8+ embeddings in PostgreSQL 17 shared buffers. Prevents CPU alignment check faults (#AC), SIGBUS traps, and split-cache line performance regressions during AVX-512 SIMD-accelerated HNSW index distance scans.

Blocks:Unaligned Vector Buffer Allocations and Non-Padded Embeddings Triggering AVX-512 CPU Traps and SIMD Degradation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-dependency-teardown-invariant
backendcritical

FastAPI Async Dependency Lifecycle and Early-Disconnect Teardown Invariant

Enforces deterministic teardown execution for nested async generators and context managers (such as SQLAlchemy AsyncSessions or Redis transaction pipelines) used within FastAPI dependency injection trees. Prevents connection leaks, orphaned transactions, and hanging locks triggered when clients disconnect prematurely during request processing or async streaming. Mandates strict try/finally semantics, shielded background cleanup tasks, and ASGI-level disconnect handling.

Blocks:Unshielded Dependency Generators Leaking Connection Pool Handles on Cancelled Tasks During Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-direct-io-memory-boundary
backendcritical

Postgres 17 Streaming Direct I/O Buffer Pool and Worker Memory Bounds

Postgres 17 introduces streaming read-ahead and direct I/O infrastructures that allocate asynchronous user-space buffers outside the traditional shared_buffers pool. Unbounded parallel analytic scans bypassing the OS page cache will rapidly multiply process resident set size (RSS) across concurrent backends, provoking Linux OOM killer termination of the postmaster. Database access layers and query engines must enforce session-scoped I/O concurrency caps, limit parallel gather workers, and enforce streaming chunk windows.

Blocks:Unbounded Direct I/O Read-Ahead and Parallelism Causing Kernel OOM Killer Panics
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-pointer-ownership-lifecycle-standard
backendcritical

Bun 1.2 Native FFI Deterministic Pointer Ownership and Deallocation Standard

Establishes strict boundaries between JavaScriptCore (JSC) garbage-collected references and native C/Rust heap memory managed through `bun:ffi`. Mandates explicit ownership transfer, deterministic disposal using `Symbol.dispose` via TypeScript 5.2+ explicit resource management, and double-free mitigation via nullification invariants.

Blocks:Implicit pointer lifetimes, unmanaged raw addresses, and asynchronous garbage-collection reliance causing memory leaks or use-after-free/double-free crashes.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-propagation-barrier
backendcritical

Go Chi Context Deadline Propagation and Goroutine Barrier Standard

Enforces strict bidirectional context cancellation, monotonic deadline propagation, and bounded goroutine pool drainage across Go Chi HTTP middleware chains. Eliminates phantom processing, compute leaks, and connection exhaustion caused by orphaned goroutines continuing work after client disconnection or timeout triggers.

Blocks:Spawning detached goroutines or ignoring request context cancellation in deep Chi middleware and handlers.
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-zero-copy-backpressure-standard
backendcritical

Bun 1.2 Native WebSocket Zero-Copy Kernel Backpressure Standard

Enforces deterministic zero-copy kernel backpressure propagation across Bun 1.2 native WebSockets by binding OS socket buffer high-water marks directly to upstream async iterable stream consumption. Eliminates silent userland heap queue ballooning and engine out-of-memory crashes during high-throughput producer-consumer velocity mismatches. Mandates reactive pause/resume mechanics keyed to socket buffer saturation and native drain event dispatch.

Blocks:Unbounded ws.send() stream iterations without drain-gate synchronization causing fatal heap exhaustion.
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-concurrency-load-shedding-invariant
backendcritical

Axum 0.8 Tower Concurrency Limit and Ingress Load-Shedding Invariant

Eliminates distributed thread starvation and Tokio executor deadlocks by strictly bounding middleware queue latency and ingress worker concurrency. Mandates deterministic load shedding with explicit HTTP 503 error handling to fail fast under cascade failure scenarios.

Blocks:Unbounded Task Buffering and Raw Concurrency Limits Causing Tokio Executor Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-streaming-memory-envelope
backendcritical

Postgres 17 JSON_TABLE Streaming Projection Memory Envelope

Governs SQL/JSON JSON_TABLE transformations in PostgreSQL 17 to eliminate backend worker out-of-memory termination during high-cardinality JSONB shredding. Mandates explicit typed projections, bounded nested path evaluations, and chunked cursor-driven ingestion to ensure transformations execute strictly within designated backend working memory limits.

Blocks:Monolithic unpartitioned JSON_TABLE projections across unbounded JSONB datasets exhausting backend working memory and triggering OS OOM termination.
Targets:Cursor•Claude•Windsurf•Codex
pg17-replication-slot-failover-sync-invariant
backendcritical

PostgreSQL 17 Replication Slot Failover Synchronization Invariant

Mandates explicit logical replication slot state synchronization across physical read replicas using PostgreSQL 17 slot failover primitives. Prevents downstream CDC data loss, replay holes, and broken subscriber streams during HA standby promotion.

Blocks:Creating Logical Slots Without Failover Capabilities or synchronized_standby_slots Interlocks
Targets:Cursor•Claude•Windsurf•Codex
bun-subprocess-piped-stream-backpressure-quota
backendcritical

Bun 1.2 Subprocess Piped Stream Backpressure & FD Quota Standard

Enforces bounded concurrency pooling, proactive pipe stream draining, and deterministic resource lifecycle disposal for Bun.spawn subprocesses. Prevents kernel pipe buffer deadlocks and silent file descriptor (FD) exhaustion under high-throughput IPC orchestration.

Blocks:Unbounded Bun Subprocess Spawning with Unconsumed Pipes Causing Buffer Deadlocks and EMFILE Starvation
Targets:Cursor•Claude•Windsurf•Codex
openfga-zanzibar-consistency-token-standard
backendcritical

OpenFGA Zanzibar Check-After-Write Consistency Token Standard

Mandates transactional snapshot token propagation and explicit consistency preferences across OpenFGA authorization checks following write mutations. Eliminates the Google Zanzibar 'New Enemy' stale-read anomaly where lagged authorization replicas grant unauthorized access to revoked subjects.

Blocks:Uncoordinated Write-Then-Check Invocations and Default Stale-Read Querying (The 'New Enemy' Anomaly)
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-vacuum-buffer-usage-limit-guardrail
backendcritical

Postgres 17 Buffer-Constrained Vacuum Quota & Cache Isolation Guardrail

Enforces strict ring-buffer memory limits on autovacuum workers and programmatic maintenance jobs using Postgres 17's vacuum_buffer_usage_limit. Eliminates shared_buffers cache thrashing and OLTP query latency spikes caused by unrestricted table bloat remediation on high-churn relations.

Blocks:Unconstrained Vacuum Execution Evicting Hot Working Sets from Shared Buffers
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-kernel-backpressure-drain-boundary
backendcritical

Bun 1.2 Native WebSocket Kernel Backpressure and Drain Boundary Standard

Enforces backpressure handling for Bun native WebSockets by strictly evaluating the byte-length return value of ws.send() and deferring dispatches during buffer saturation. Failure to park consumer-bound queues until the native drain() callback fires triggers unbounded heap growth and fatal OOM conditions under slow-client or high-throughput stalls.

Blocks:Unbounded fire-and-forget WebSocket broadcasting ignoring ws.send() buffer backpressure and drain lifecycles
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python-313-freethreaded-concurrency-fence
backendcritical

FastAPI Python 3.13 Free-Threaded Shared-Memory Concurrency Fence

Enforces strict memory fence, atomic synchronization, and immutability invariants for FastAPI services deployed on free-threaded Python 3.13 (PEP 703). Prevents silent data races, torn reads, and state corruption across OS worker threads running without the Global Interpreter Lock (GIL).

Blocks:Unsynchronized in-memory state mutations and naked dictionary read-modify-writes across free-threaded worker pools.
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-decoding-spill-ceiling
backendcritical

PostgreSQL 17 Logical Decoding Spill-to-Disk Memory Ceiling Invariant

Enforces strict memory ceilings on PostgreSQL 17 logical decoding walsender processes via logical_decoding_work_mem and streaming pgoutput protocol parameters. Prevents Linux OOM-killer invocations and cascading failovers by forcing large in-flight transactions to spill to disk or stream in chunks to downstream CDC consumers. Mandates downstream stream-frame handling and storage quota guardrails on replication slots.

Blocks:Unbounded WalSender Shared Memory Buffering During Large Bulk DML Mutations
Targets:Cursor•Claude•Windsurf•Codex
go-chi-quic-stream-budget-allocation-standard
backendcritical

Go Chi HTTP/3 Flow-Control Stream Budget Allocation Standard

Enforces bounded per-session stream concurrency and token-bucket bandwidth budgeting for HTTP/3 services running on Go Chi. Prevents protocol-level QUIC connection flow-control window exhaustion (MAX_DATA starvation) and connection-level head-of-line blocking under asymmetric stream bursts.

Blocks:Unbounded HTTP/3 Stream Multiplexing Leading to QUIC Connection Window Exhaustion and Stream Starvation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-bounded-zerocopy-streaming
backendcritical

FastAPI AnyIO Concurrency-Bounded Zero-Copy Memory Streaming

Enforces strict chunked streaming of binary payloads using AnyIO concurrency primitives and zero-copy buffer protocols in FastAPI endpoints. Prevents catastrophic asyncio event-loop starvation and OOM crashes caused by reading unbounded request bodies into heap memory or saturating the default thread pool with blocking disk I/O under high concurrent load.

Blocks:Unbounded `await file.read()` and Unthrottled Disk I/O Ingestion in Asynchronous Endpoints
Targets:Cursor•Claude•Windsurf•Codex
bun-db-zerocopy-memory-fence
backendcritical

Bun 1.2 Native Database Driver Zero-Copy Memory Allocation Fence

Enforces strict memory boundary fences when consuming zero-copy buffers from Bun 1.2 native database drivers (bun:sqlite, bun:sql). Mandates explicit detachment and heap copying before crossing asynchronous yields or advancing iterators to prevent use-after-free, memory corruption, and microsecond latency spikes caused by off-heap buffer aliasing.

Blocks:Retaining Native Zero-Copy Buffer Views Across Asynchronous Yields or Cursor Iterations
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-state-pinning-worker-drain-standard
backendcritical

FastAPI Lifespan State Pinning and In-Flight Request Drain Guardrail

Enforces deterministic lifecycle management for shared resources within FastAPI ASGI applications to guarantee zero-downtime rolling deployments. Prevents premature connection pool termination during SIGTERM drain cycles by pinning resource lifecycles strictly to app.state and executing non-destructive drain barriers before client disconnections.

Blocks:Tearing down shared connection pools inside ASGI lifespan context before in-flight requests complete
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-direct-io-clamping
backendcritical

Postgres 17 Asynchronous Direct I/O and Pinned Memory Clamping Standard

Enforces strict upper bounds on asynchronous Direct I/O prefetch concurrency and pinned shared buffer pages during high-volume analytical queries. Prevents kernel queue exhaustion, buffer pool thrashing, and out-of-memory worker panics in Postgres 17 Direct I/O workloads. Mandates session-level GUC clamping and bounded cursor streaming for large sequential scans.

Blocks:Unbounded Direct I/O prefetch concurrency causing buffer cache thrashing and worker OOM
Targets:Cursor•Claude•Windsurf•Codex
bun-v12-ffi-lifetime-pointer-safety
backendcritical

Bun 1.2 Native FFI C-ABI Lifetime & Pointer Safety Standard

Enforces strict memory ownership boundaries, pinned buffer allocation, and deterministic lifecycle tracking across JavaScript runtime and C-ABI native shared libraries in Bun 1.2. Eliminates dangling pointers caused by V8/JSC garbage collector compaction and halts fatal double-free or use-after-free corruption through explicit FinalizationRegistry unregister semantics and branded pointer wrappers.

Blocks:Passing unpinned TypedArray backing stores to asynchronous native workers or relying on nondeterministic GC finalizers for C heap reclamation
Targets:Cursor•Claude•Windsurf•Codex
openfga-ephemeral-contextual-tuple-fencing-standard
backendcritical

OpenFGA Ephemeral Contextual Tuple Cryptographic Fencing & Lease Enforcement

Enforces strict cryptographic binding, short-lived epoch lease constraints, and cryptographic signature validation on dynamic contextual tuples evaluated in OpenFGA check queries. Prevents privilege escalation and confused-deputy attacks arising from unauthenticated caller-supplied relationship assertions or tuple replay. Ensures all dynamically ingested tuples are cryptographically verified, deterministic, and isolated to the immediate execution context.

Blocks:Blind Ingestion of Untrusted Dynamic Contextual Tuples into OpenFGA Check Calls
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-streaming-backpressure-barrier
backendcritical

Axum 0.8 / Hyper-v1 Bounded Stream Backpressure and Flow-Control Barrier

Enforces deterministic backpressure propagation on Axum 0.8 and Hyper-v1 streaming request bodies to regulate HTTP/2 and HTTP/3 flow-control windows. Eliminates unbounded worker heap buffering and OOM conditions during high-concurrency multipart and file ingestion by coupling TCP/QUIC window updates directly to downstream sink consumption rates.

Blocks:Eager Body Buffering and Unbounded MPSC Decoupling in Streaming Request Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-shm-concurrency-guardrail
backendcritical

Bun 1.2 SQLite Embedded WAL Shared Memory Concurrency Guardrail

Enforces strict POSIX shared-memory (`-shm`) lock synchronization, single-writer multi-reader threading topology, and automated WAL checkpoint pacing when coordinating multi-threaded Bun worker pools accessing co-located SQLite storage. Prevents SQLITE_BUSY, database corruption, deadlocks, and disk space bloat caused by uncoordinated write transactions and rogue file descriptors.

Blocks:Spawning Multiple Bun Workers with Uncoordinated Read-Write SQLite Connections and Default Autocheckpoint Settings
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-cancellation-deadline-propagation-go-chi-context-c-443
backendcritical

Go Chi Context Cancellation Deadline Tree Propagation Invariant

Enforces strict deadline and cancellation tree propagation from root Chi HTTP request contexts into child worker pools, downstream RPCs, and database operations. Disallows naked context re-instantiation via context.Background() or context.TODO() in HTTP handler call trees, preventing orphaned cloud resource consumption and memory leaks upon client disconnection.

Blocks:Orphaned Goroutine and Cloud Resource Leak via Request Context Severance
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-token-guardrail
backendcritical

Axum 0.8 & Tokio Epoll Cooperative Task Cancellation Token Guardrail

Mandates deterministic cooperative cancellation propagation across Axum 0.8 HTTP request lifecycles, Tokio task trees, and active database transaction streams. Eliminates phantom resource starvation, unreleased database connection pool slots, and orphaned background tasks caused by implicit future drops and socket disconnects.

Blocks:Silent Future Dropping in Tokio Select! Leading to Orphaned Database Transactions and Connection Pool Starvation
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sharedarraybuffer-concurrency-fencing
backendcritical

Bun 1.2 Native Worker SharedArrayBuffer Concurrency Fencing & Bounded Synchronization

Enforces strict synchronization fences and bounded timeouts on Atomics operations over SharedArrayBuffer memory segments between Bun 1.2 main processes and native Worker threads. Prevents event-loop thread starvation, unbounded blocking, and uncoordinated shared memory corruptions in high-throughput compute services.

Blocks:Unbounded Atomics.wait Blocking and Unsynchronized Direct SharedArrayBuffer Mutations Across Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-slot-failover-protocol
backendcritical

PostgreSQL 17 Logical Replication Slot Failover and Standby Synchronization Protocol

Mandates strict declaration and management of PostgreSQL 17 failover-enabled logical replication slots (`failover = true`), coupled with primary `synchronized_standby_slots` retention and standby slot synchronization daemon orchestration. Prevents silent CDC stream loss, invalid LSN rewinds, and WAL truncation across physical standby promotion boundaries.

Blocks:Creating Logical Slots Without Failover Persistence or Standby WAL Retention Gates
Targets:Cursor•Claude•Windsurf•Codex
fastapi-streaming-pydantic-backpressure-drain
backendcritical

FastAPI Streaming: Rust-Pydantic Zero-Copy & TCP Backpressure Drain Invariant

Enforces zero-copy byte serialization via Pydantic V2 Rust core and synchronous socket drain propagation on FastAPI SSE/StreamingResponse generators. Prevents resident set size (RSS) bloat and out-of-memory cascades under asymmetric network conditions by halting async producer loops when the client TCP buffer saturates or closes.

Blocks:Unbounded Async Queue Decoupling with Python Object Materialization in SSE Streams
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-logical-slot-sync-invariant
backendcritical

Postgres 17 Logical Replication Slot Synchronization on Physical Failover Guardrail

Enforces failover-ready logical replication slots introduced in PostgreSQL 17 to prevent duplicate emissions, dropped CDC events, and LSN divergence across physical standby failover promotions. Mandates synchronized slots via pg_create_logical_replication_slot(..., failover => true) coupled with primary-side synchronized standby slot reservations. Eliminates dual-consumer race conditions and state corruption during high-availability orchestrations.

Blocks:Creating Logical Slots Without Failover Synchronization Causing Data Loss or Uncontrolled Event Replay Upon Primary Promotion
Targets:Cursor•Claude•Windsurf•Codex
wasi-0-2-component-model-sandbox-standard
backendcritical

WASI 0.2 Component Model Capability-Scoped Sandbox Standard

Mandates zero-shared-memory execution boundaries and explicit capability mediation for untrusted tenant plugins using the WebAssembly System Interface (WASI 0.2) Component Model. Eliminates ambient authority by restricting imports to capability-scoped WIT interfaces, requiring per-execution store isolation, and enforcing strict resource metering (fuel/epoch deadlines).

Blocks:Ambient Host Authority Inheritance and Unmetered Shared-Instance Execution in Multi-Tenant WebAssembly Hosts
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-contextual-middleware-eviction-invariant
backendcritical

Go 1.24 Weak-Pointer Contextual Middleware Eviction Invariant

Enforces deterministic eviction of scoped request metadata and auxiliary telemetry stored in process-wide middleware registries using Go 1.24 weak pointers (weak.Make). Eliminates cross-goroutine memory retention and context-bound memory leaks in long-running services without resorting to runtime.SetFinalizer, finalizer queues, or premature garbage collector retention.

Blocks:Retaining Strong References to Short-Lived HTTP Contexts in Global Middleware Registries or Finalizer Queues
Targets:Cursor•Claude•Windsurf•Codex
axum-08-zerocopy-multipart-bounded-stream
backendcritical

Axum 0.8 Zero-Copy Multipart Stream Bounded Allocation Standard

Enforces strict per-stream memory quotas and backpressure-driven chunk draining for multipart streaming uploads in Axum 0.8. Prevents catastrophic process memory exhaustion (OOM) and heap fragmentation caused by unbounded buffering under high-concurrency HTTP/2 and HTTP/3 multiplexing.

Blocks:Unbounded In-Memory Accumulation via `field.bytes()` or Unmetered Heap Appends in Streaming Handlers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-radix-tree-tidstore-maintenance-budget-guardrail
backendcritical

Postgres 17 Radix Tree TidStore Maintenance Memory Budgeting Standard

PostgreSQL 17 introduces an adaptive radix tree (TidStore) for dead tuple tracking during VACUUM, drastically reducing memory usage from ~6 bytes to ~1.5–2 bytes per dead tuple. However, uncalibrated maintenance_work_mem or autovacuum_work_mem allocations during high-churn append workloads will either trigger catastrophic multi-pass index vacuuming or induce OS Out-Of-Memory (OOM) kills across concurrent workers.

Blocks:Static Unbudgeted Maintenance Memory Spawning Multi-Pass Index Sweeps or OOM Faults
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-freethreaded-memory-fence
backendcritical

Python 3.13 Free-Threaded Shared Memory Fence and Concurrency Guardrails for FastAPI

Enforces strict memory isolation, explicit synchronization fences, and lock-free concurrency primitives when running FastAPI under Python 3.13 free-threaded mode (PEP 703 / nogil). Without the Global Interpreter Lock, shared mutable state across asynchronous event loops, thread pools, and subinterpreters will cause race conditions, heap corruption, and phantom writes during high-throughput I/O.

Blocks:Unsynchronized Mutable In-Memory State and Naked Cross-Thread Object Sharing in Free-Threaded (nogil) Runtimes
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-contention-barrier
backendcritical

Bun 1.2 Clustered SQLite WAL Contention Barrier and Write Lease Coordination

Standardizes multi-process and multi-worker SQLite database access under Bun 1.2 cluster mode. Mandates strict WAL mode initialization, transaction immediacy (BEGIN IMMEDIATE), explicit busy timeouts, and an isolated writer-lease barrier to eliminate SQLITE_BUSY lock starvation and unbounded WAL file bloat under saturated microservice traffic.

Blocks:Uncoordinated Multi-Worker Concurrent SQLite Writes with Default Deferred Transactions and Missing Busy Timeouts
Targets:Cursor•Claude•Windsurf•Codex
postgresql-17-concurrent-merge-partition-deadlock-guardrail
backendcritical

PostgreSQL 17 Concurrent MERGE Isolation and Partition Lock Contention Standard

Prevents partition-level lock contention, write serialization anomalies (SQLSTATE 40001), and cross-transaction deadlocks (SQLSTATE 40P01) during concurrent upsert workloads on PostgreSQL 17 partitioned tables. Enforces deterministic tuple ordering, targeted leaf partition routing, and bounded exponential backoff policies.

Blocks:Unordered Ingestion into Root Partition Tables via Concurrent MERGE Triggering Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-synctest-deterministic-concurrency
backendcritical

Go 1.24 testing/synctest Deterministic Concurrency Verification

Mandates isolated synthetic time bubbles using Go 1.24 testing/synctest for concurrent and time-dependent test scenarios. Eliminates non-deterministic wall-clock sleeps and flaky integration tests by executing goroutines within deterministic virtual clocks with explicit quiescence checks.

Blocks:Flaky Concurrent Testing via Arbitrary Wall-Clock Sleeps and Leaked Goroutines
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-incremental-backup-lsn-consistency
backendcritical

PostgreSQL 17 Block-Level Incremental Backup LSN Chain Consistency Invariant

Enforces unbroken LSN sequence validation and WAL summarization verification across PostgreSQL 17 block-level incremental backup manifests. Guarantees byte-accurate synthetic full reconstruction via pg_combinebackup without unsummarized WAL voids or corrupted differential delta merges.

Blocks:Executing unverified pg_combinebackup invocations over broken manifest chains or unsummarized WAL intervals
Targets:Cursor•Claude•Windsurf•Codex
bun-s3-streaming-backpressure-multipart
backendcritical

Bun 1.2 Native S3 Streaming Backpressure and Zero-Allocation Upload Protocol

Mandates streaming inbound HTTP request bodies directly into object storage via Bun 1.2 native S3 APIs without buffering payload chunks into the JavaScript runtime heap. Enforces strict upstream backpressure signaling, native chunk draining, and transactional multipart abort handling to prevent memory exhaustion under concurrent multi-gigabyte transfers.

Blocks:Buffering Inbound Multi-Gigabyte Payloads into JSC Heap Buffers Before S3 Dispatch
Targets:Cursor•Claude•Windsurf•Codex
bun-cluster-websocket-zero-copy-handoff-production-standard
backendcritical

Bun 1.2 Native Cluster WebSocket Zero-Copy Socket Handoff & Backpressure Architecture

Enforces deterministic, memory-safe WebSocket socket handoff and worker load distribution across multi-core Bun cluster architectures. Prevents intermediate heap buffer cloning, frame desynchronization, and silent frame drops during cross-worker migration under saturation by mandating zero-copy transfer lists and native backpressure drain lifecycle hooks.

Blocks:Heap-Cloned WebSocket IPC Handoff Without Backpressure Drain Synchronization
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-async-teardown-guardrail
backendcritical

FastAPI Lifespan Async Context Teardown and Graceful Task Drain Standard

Enforces strict asynchronous context manager lifecycle contracts in FastAPI services to guarantee deterministic resource disposal. Mandates that all active background tasks, thread pools, and pooled database engine connections cleanly drain before SIGTERM execution terminates the process worker.

Blocks:Unbounded fire-and-forget background tasks and abrupt database connection drops during worker shutdown
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-context-propagation-fence
backendcritical

Axum Tower Context Propagation Fence & Cancellation Isolation

Enforces deterministic task-local and OpenTelemetry span fencing across Axum Tower middleware pipelines. Prevents ambient context and tenant metadata contamination across multiplexed HTTP/2 streams and async cancellation boundaries by forbidding guard retention across `.await` points and enforcing explicit RAII span attachment.

Blocks:Ambient Context and Tracing Span Leakage Across Async Dropped Futures and Thread Worker Pools
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-threadpool-backpressure-invariant
backendcritical

FastAPI AnyIO Threadpool Backpressure and Worker Exhaustion Guardrail

FastAPI delegates synchronous endpoint handlers and starlette background tasks to AnyIO worker threads (anyio.to_thread.run_sync), which rely on a globally bounded threadpool. Unbounded synchronous blocking I/O, heavy CPU tasks without capacity tokens, or failure to tune AnyIO thread limits leads to threadpool starvation, cascading latency spikes, and deadlocks in the event loop. Systems MUST enforce bounded concurrency limiters, tune max_threadpool_tokens, and offload CPU-intensive operations to dedicated multiprocessing pools or external message queues.

Blocks:Unbounded Synchronous Execution Starving AnyIO Worker Threadpool and Event Loop
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-memory-arena-scoping
backendcritical

Deterministic Worker Memory Arena Scoping and Native Transfer Invariant in Bun 1.2

Enforces strict lifecycle boundaries and zero-copy ArrayBuffer transfer semantics across Bun 1.2 worker pools. Prevents non-deterministic V8/JavaScriptCore heap retention and native memory fragmentation by mandating explicit arena deallocation via transfer lists and manual worker lifecycle scoping.

Blocks:Implicit Structured Cloning of Large Buffers Across Worker Boundaries Causing Silent Heap Bloat
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-discriminated-unions
backendcritical

FastAPI Pydantic V2 Explicit Discriminated Union & Serialization Invariants

Enforces explicit discriminator fields on polymorphic Pydantic v2 unions in high-throughput FastAPI endpoints. Prevents catastrophic O(N) sequential fallback evaluation, accidental data coercion, and event-loop-blocking CPU stalls during deserialization and serialization.

Blocks:Non-Discriminated Polymorphic Unions with Sequential Type Coercion Fallbacks
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-checkpoint-auto-throttling
backendcritical

Bun 1.2 Embedded SQLite WAL Auto-Throttling & Checkpoint Guardrail

Enforces proactive WAL (Write-Ahead Logging) monitoring, adaptive checkpoint scheduling, and transactional backpressure in Bun 1.2 embedded SQLite workloads. Prevents WAL file unbounded growth, ephemeral container disk exhaustion, and catastrophic write amplification caused by concurrent reader-lock checkpoint starvation.

Blocks:Unbounded WAL Disk Bloat and SQLITE_BUSY Lock Contention Under Async Transaction Spikes
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-103-early-hints-pipeline
backendcritical

Deterministic RFC 8297 103 Early Hints Pipeline in Go Chi HTTP/3

Enforces deterministic dispatch of RFC 8297 103 Early Hints prior to expensive computation or data retrieval in Go Chi HTTP/3 handlers. Mandates strict validation of client protocol capabilities, isolated preload Link header construction, and explicit use of Go 1.20+ http.ResponseController to saturate zero-RTT/low-RTT client rendering paths without corrupting final HTTP stream state.

Blocks:Dispatching 103 Early Hints after final header commit or omitting capability checks causing HTTP/3 stream desynchronization and client preload starvation.
Targets:Cursor•Claude•Windsurf•Codex
bun-explicit-resource-management-fd-boundary
backendcritical

Bun 1.2 TC39 Explicit Resource Management (Symbol.asyncDispose) FD Boundary

Enforces strict utilization of TC39 Explicit Resource Management via 'using' and 'await using' declarations across Bun 1.2+ runtime boundaries. Eliminates file descriptor (FD) and OS handle leakage across high-throughput Bun TCP sockets, FileSink streams, and bun:sqlite database handles during unhandled exceptions and early return flows.

Blocks:Implicit garbage-collection-dependent teardown of native OS file descriptors causing EMFILE pool exhaustion under load
Targets:Cursor•Claude•Windsurf•Codex
pgx-v5-pipeline-batch-saturation-guardrail
backendcritical

pgx v5 Pipeline Concurrency & Batch Buffer Saturation Guardrail

Mandates deterministic chunking, strict result-drain loops, and explicit context timeouts when using jackc/pgx/v5 Batch and Pipeline APIs. Unbounded batch queuing triggers full-duplex TCP socket buffer deadlocks (SO_SNDBUF/SO_RCVBUF saturation) between Go runtimes and PostgreSQL, leading to silent connection-pool starvation.

Blocks:Unbounded pgx.Batch Queueing and Deferred Result Consumption Inducing Full-Duplex Socket Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
openfga-contextual-tuple-traversal-budget-standard
backendcritical

OpenFGA Contextual Tuple Graph-Depth Traversal Budget Standard

Enforces strict limits on contextual tuple injection, recursive relationship graph traversal depth, and evaluation timeouts during OpenFGA authorization checks. Prevents algorithmic denial-of-service (Graph DoS) and memory exhaustion caused by deep transitive relations or circular dynamic context.

Blocks:Unbounded Contextual Tuples and Unconstrained Graph Traversal in OpenFGA ReBAC Evaluations
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-worker-thread-affinity-guardrail
backendcritical

Bun 1.2 Worker-Thread SQLite Connection Affinity and WAL Concurrency Guardrail

Enforces strict thread-isolated SQLite connection instantiation across Bun 1.2 Worker threads and event loops. Prevents cross-isolate handle leakage, eliminates SQLITE_BUSY lock contention, and guarantees write-ahead log (WAL) checkpointing efficiency under high concurrency.

Blocks:Sharing bun:sqlite Database handles across Worker boundaries or running concurrent unmanaged multi-isolate writes without WAL thread affinity
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-structural-concurrency
backendcritical

FastAPI AnyIO TaskGroup Structural Concurrency and Client Disconnect Invariant

Enforces strict structural concurrency inside FastAPI route handlers performing concurrent outbound I/O using AnyIO TaskGroups. Prevents orphaned background coroutines, file descriptor leakage, and socket exhaustion when downstream HTTP clients abruptly abort or disconnect during fan-out calls.

Blocks:Unbounded asyncio.gather/create_task Fire-and-Forget Fan-Outs Causing Socket Exhaustion on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-reader-isolation-standard
backendcritical

Bun 1.2 Native SQLite WAL Reader Isolation and Concurrency Standard

Eliminates database lock starvation (SQLITE_BUSY) and transaction stalls during high-frequency concurrent operations in Bun edge microservices. Enforces separated read-only connection handles, optimized Write-Ahead Logging (WAL) pragmas, explicit busy timeouts, and isolated execution paths for native bun:sqlite instances.

Blocks:Shared Monolithic Read-Write Database Handles Lacking WAL PRAGMA Tuning and Busy Timeouts
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-quota-standard-postgres-17-json-180
backendcritical

PostgreSQL 17 JSON_TABLE Memory Projection and Cardinality Quota Standard

Protects PostgreSQL 17 backend worker processes from out-of-memory (OOM) terminations and severe connection churn when dynamically shredding nested, high-cardinality JSONB payloads into relational tuples. Enforces deterministic PATH scoping, strict byte-length bounds on projected TEXT/VARCHAR columns, bounded pagination limits, and explicit work_mem execution ceilings prior to invoking JSON_TABLE. Eliminates unbounded tuple expansion, unindexed Cartesian product blowouts, and OOM-killer evictions across production database pools.

Blocks:Unbounded Nested JSON_TABLE Invocations Without Memory and Cardinality Guardrails
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-threadpool-starvation-guardrail
backendcritical

FastAPI AnyIO Worker Thread Pool Starvation & Concurrency Partitioning Guardrail

Prevents catastrophic worker thread starvation and cascading event-loop deadlocks in FastAPI applications. In FastAPI, standard synchronous route handlers (`def`) and untuned `run_in_threadpool` or `anyio.to_thread.run_sync` calls draw from AnyIO's shared global `CapacityLimiter` (defaulting to 40 threads), leading to full thread pool exhaustion under heavy sync I/O. This standard enforces non-blocking async primitives, custom isolated thread pools via dedicated `CapacityLimiter` instances, and strict tuning of global AnyIO concurrency limits during application lifespan.

Blocks:Saturating FastAPI's Global 40-Thread AnyIO Worker Pool via Unbounded Sync I/O
Targets:Cursor•Claude•Windsurf•Codex
clickhouse-adaptive-async-insert-batching-invariant
backendcritical

ClickHouse Adaptive Asynchronous Insert Batching Invariant

Enforces server-side asynchronous batching (`async_insert=1`, `wait_for_async_insert=1`) and client-side micro-batch queues for high-throughput ingestion into ClickHouse MergeTree tables. Prevents catastrophic part-count explosion ('Too many parts in all data parts in table' exception) and zookeeper metadata exhaustion caused by synchronous micro-commits. Mandates bounded flush windows, idempotency deduplication tokens, and explicit backpressure telemetry.

Blocks:High-Frequency Synchronous Micro-Inserts Triggering 'Too Many Parts' MergeTree Cluster Degradation
Targets:Cursor•Claude•Windsurf•Codex
bun-cluster-socket-handoff-zero-downtime-standard
backendcritical

Bun 1.2 Cluster Mode Worker Zero-Downtime Socket Handoff Standard

Mandates deterministic zero-downtime socket handoff and file descriptor preservation across Bun 1.2 supervisor and worker processes. Guarantees zero dropped TCP connections during rolling reloads through SO_REUSEPORT socket sharing, IPC readiness handshakes, and graceful connection draining via Bun.serve.

Blocks:Uncoordinated Worker Termination and Socket Unbinding During Rolling Reloads Causing ECONNRESET
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tokio-cancellation-token-propagation-standard
backendcritical

Axum 0.8 Tokio CancellationToken Propagation & Immediate Cancellation Cascade

Enforces deterministic cancellation propagation across Axum 0.8 request pipelines, active database drivers, and upstream RPC clients. Premature HTTP client disconnects must immediately abort pending transactions, connection acquisitions, and downstream HTTP/gRPC requests via Tokio CancellationTokens and drop-aware execution boundaries to prevent phantom resource exhaustion.

Blocks:Orphaned Detached Task Execution and Zombie Database Transactions on Premature HTTP Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-projection-guardrail
backendcritical

PostgreSQL 17 JSON_TABLE Memory Projection and Resource Guardrail

PostgreSQL 17 introduces the SQL:2023 standard JSON_TABLE function, which shreds JSON/JSONB payloads into relational row sets in-engine. When processing unbounded nested arrays or large batch payloads in OLTP hot paths, unconstrained path expressions and missing column-width constraints cause severe memory inflation and spill into temporary disk files, exhausting work_mem and crashing backend worker processes. This guardrail establishes bounded memory projections, explicit column sizing, error-handling clauses, and chunked ingestion invariants.

Blocks:Unbounded JSON_TABLE Projections Without Size Limits or Streaming Chunking
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sharedarraybuffer-atomics-concurrency
backendcritical

Bun 1.2 Native Worker SharedArrayBuffer & Atomics Concurrency Standard

Enforces zero-copy SharedArrayBuffer memory sharing synchronized strictly through JavaScript Atomics across Bun 1.2 native workers. Eliminates microsecond-scale structured clone serialization overhead while preventing race conditions, memory tearing, and main-thread synchronous deadlocks.

Blocks:Structured Clone Serialization Overhead & Unsynchronized SharedArrayBuffer Memory Tearing
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-workload-shedding-concurrency-guardrail
backendcritical

Axum 0.8 Tower Workload-Shedding & Concurrency-Limit Guardrail

Mandates bounded concurrency limits and fail-fast load-shedding middleware across Axum 0.8 services to prevent Tokio worker thread starvation and connection saturation. Enforces explicit separation between critical orchestration probes and shed-sensitive business routes while mapping Tower Overloaded errors to deterministic 503 responses.

Blocks:Unbounded Route Concurrency and Blanket Load-Shedding Leading to Worker Starvation and Orchestration Crash Loops
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-parallel-logical-replication-conflict-barrier
backendcritical

Postgres 17 Parallel Logical Replication Conflict-Resolution Barrier for Partition Trees

Enforces deterministic commit-order barriers, row-level vector versioning, and non-blocking conflict resolution for PostgreSQL 17 parallel logical replication workers. Eliminates worker-thread deadlocks and split-brain silent divergence across distributed active-active partition trees. Ensures transactions modify partitioned root keys deterministically with explicit failover and resolution telemetry.

Blocks:Unordered concurrent multi-worker apply mutating distributed partition keys without transactional barriers or commit order synchronization
Targets:Cursor•Claude•Windsurf•Codex
fastapi-taskgroup-structured-concurrency-boundary
backendcritical

FastAPI Async TaskGroup Structured Concurrency & Exception Isolation Boundary

Enforces strict structured concurrency in FastAPI asynchronous operations using Python 3.11+ asyncio.TaskGroup instead of raw asyncio.create_task or fire-and-forget background execution. Ensures that any unhandled exception immediately cancels sibling child tasks, isolates failures to the request lifecycle boundary, and prevents event loop corruption or orphaned coroutines leaking memory and resources.

Blocks:Unbounded fire-and-forget asyncio.create_task leaking orphaned coroutines and suppressing unhandled ExceptionGroups.
Targets:Cursor•Claude•Windsurf•Codex
postgres17-streaming-io-vector-memory-invariants
backendcritical

Postgres 17 Streaming I/O Engine and Vector Memory Invariants

Enforces strict memory bounds on Postgres 17 asynchronous streaming I/O prefetch buffers during high-concurrency vector and analytical scans. Prevents backend worker starvation and out-of-memory cascading faults by clamping prefetch depth to deterministic per-backend working memory allocations. Guarantees predictable read-ahead queuing without exhausting shared buffer ring allocations under high-dimensional pgvector index scans.

Blocks:Unbounded AIO Prefetch Queues Starving Worker Pools During Concurrent Vector Scans
Targets:Cursor•Claude•Windsurf•Codex
go-chi-zero-alloc-synthetic-arena-context-lease
backendcritical

Go Chi Zero-Allocation Synthetic Arena Context Lease Invariant

Enforces deterministic recycling and life-cycle binding of synthetic memory arenas within Go Chi HTTP request pipelines. By anchoring arena leases directly to request contexts and strictly recycling underlying byte-slice slabs via sync.Pool, this guardrail guarantees zero-allocation request paths and eradicates garbage collection pause spikes during high-concurrency ingress surges.

Blocks:Escaping Ephemeral Allocations and Unbounded Context Values Triggering Stop-The-World GC Pauses
Targets:Cursor•Claude•Windsurf•Codex
bun-postgres-direct-socket-pipelining-production-standard
backendcritical

Bun 1.2 Native PostgreSQL Direct-Socket Pipelining Standard

Enforces non-blocking transactional query pipelining over unbuffered native TCP stream abstractions in Bun 1.2. Eliminates connection pool starvation during high-concurrency microservice fan-outs by replacing sequential pool checkouts with native binary-level socket multiplexing.

Blocks:Exhausting Connection Pools via Sequential Client Checkouts in High-Concurrency Fan-Outs
Targets:Cursor•Claude•Windsurf•Codex
bun-posix-spawn-cgroup-sandboxing-standard
backendcritical

Bun 1.2 Subprocess POSIX Spawn & Cgroup Sandboxing Isolation Standard

Enforces strict process isolation for child processes executed via Bun 1.2 by prohibiting raw shell interpolation, preventing process descriptor leakage, and enforcing structured command arrays. Mandates explicit environment variable sanitization, unprivileged user execution, and cgroup v2/namespace resource boundaries to prevent command injection and host resource exhaustion.

Blocks:Arbitrary Shell Interpolation and Ambient Process State Inheritance via Bun.spawn/Bun.$
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-quic-migration-reauth-standard
backendcritical

Rust Axum HTTP/3 QUIC Connection Migration Re-Authentication Invariant

Enforces strict application-level cryptographic re-authentication when QUIC connection migration modifies the client socket address during active HTTP/3 sessions. Mandates that Axum streaming pipelines immediately quarantine and gate inflight byte streams until a cryptographically bound migration token (HMAC/AEAD over the new SocketAddr and monotonic session nonce) is validated, preventing Connection-ID hijacking and off-path stream injection attacks.

Blocks:Unvalidated Inflight Stream Consumption Following QUIC Path Migration
Targets:Cursor•Claude•Windsurf•Codex
bun-native-websocket-backpressure-drain-invariant
backendcritical

Bun 1.2 Native Socket Zero-Copy ArrayBuffer Drain & Backpressure Invariant

Enforces strict backpressure synchronization and bounded buffer thresholds on native Bun 1.2 WebSocket broadcast loops. Prevents catastrophic off-heap C++ buffer allocation and process-level RSS memory exhaustion caused by slow socket consumers during high-volume binary streaming.

Blocks:Unchecked Fire-and-Forget ws.send() Calls Triggering Unbounded Off-Heap C++ Queue Bloat
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-vectorized-streaming-read-prefetch-invariant
backendcritical

Postgres 17 Vectorized Streaming Read Prefetch Queue Depth Invariant

Enforces strict upper bounds on asynchronous streaming read queue depth and effective I/O concurrency in Postgres 17 workloads. Prevents lock convoys on buffer mapping partitions and avoids kernel page cache thrashing by calibrating prefetch horizons below OS block-device readahead boundaries.

Blocks:Unbounded Streaming Read Queue Depths Inducing Buffer Partition Lock Convoys and OS Readahead Cache Thrashing
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-transport-poison-fence
backendcritical

Chi 5.x Context Deadline Propagation & Outbound Transport Poison Fencing

Enforces strict inbound-to-outbound context deadline propagation in Go Chi 5.x handlers paired with deterministic HTTP transport connection fencing. Prevents poisoned or desynchronized TCP sockets from being recycled into the runtime epoll idle pool when client contexts abort mid-flight.

Blocks:Unconditional Body Draining and Default Transport Reuse on Cancelled Inbound Contexts
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-boundary
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization Boundary

Guarantees zero data loss, continuous CDC consumption, and subscriber continuity across physical high-availability failovers in PostgreSQL 17. Mandates the use of failover-enabled logical replication slots (`failover = true`) coupled with physical standby synchronization (`synchronized_standby_slots`) and pre-promotion slot parity validation. Prevents silent message loss, slot invalidation, and catastrophic subscriber re-initialization when a standby is promoted to primary.

Blocks:Promoting a physical replica without verifying logical replication slot sync or omitting failover attributes in PG17
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-cancellation-invariant
backendcritical

FastAPI AnyIO Structured TaskGroup Cooperative Cancellation Invariant

Enforces strict structured concurrency task tree scoping across all FastAPI routes and dependencies using AnyIO TaskGroups. Eliminates orphaned background coroutine leaks by ensuring task cancellation cascades cooperatively when an HTTP client disconnects or an upstream timeout triggers.

Blocks:Spawning Unbound Coroutines via asyncio.create_task Leading to Zombie Process Leaks on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-ring-buffer-guardrail
backendcritical

Bun 1.2 Native WebSocket Backpressure Ring-Buffer Guardrail

Enforces bounded memory allocations and native TCP backpressure handling in high-throughput Bun WebSocket streaming services. Mandates coupling Bun's native `ws.cork()`, `ws.send()`, and `ws.drain()` lifecycle hooks with pre-allocated circular ring-buffers to prevent catastrophic V8/JSC heap exhaustion caused by slow-consumer egress bloat.

Blocks:Unchecked Fire-and-Forget ws.send() Overrunning Native Kernel Buffers and V8 Heap
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313t-freethreaded-concurrency-guardrail
backendcritical

FastAPI Python 3.13t Free-Threaded Memory Concurrency Standard

Enforces strict memory safety and thread synchronization across FastAPI applications executing on Python 3.13t free-threaded (PEP 703) runtimes without the Global Interpreter Lock (GIL). Prohibits naked mutable shared state across ASGI thread workers, eliminates torn reads and race conditions on built-in collections, and prevents process crashes caused by non-thread-safe native C-extensions.

Blocks:Unsynchronized shared mutable state and unsafe C-extension invocation across free-threaded worker pools
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-block-prefetch-alignment-standard
backendcritical

PostgreSQL 17 Direct I/O and Block Prefetch Alignment Standard

Enforces PostgreSQL 17 Direct I/O (io_direct) configuration and NVMe block-prefetch alignment to eradicate double-caching overhead between kernel page cache and Postgres shared buffers. Requires shared_buffers reallocation up to 60-75% of total system memory, block-size sector alignment, and aggressive asynchronous prefetch tuning to ensure deterministic sub-millisecond p99 latencies on enterprise NVMe storage.

Blocks:Relying on Default OS Page Caching and Conventional 25% shared_buffers Allocation on High-IOPS NVMe Arrays
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sharedarraybuffer-mutex-synchronization-standard
backendcritical

Bun 1.2 Worker SharedArrayBuffer Mutex and Memory Visibility Standard

Enforces strict memory ordering and zero-spin synchronization for parallel computational pipelines communicating via SharedArrayBuffer in Bun 1.2 worker threads. Prevents thread deadlocks, cache incoherence, CPU core saturation, and data corruption caused by unsynchronized buffer reads and naive spinlocks.

Blocks:Unsynchronized Direct TypedArray Mutation and CPU-Saturating Spinlocks Across Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-synchronization-boundary
backendcritical

Postgres 17 Logical Slot Synchronization Pre-Promotion Invariant

Mandates that automated database failover scripts, cluster controllers, and promotion orchestrators enforce logical replication slot synchronization on PostgreSQL 17 physical standbys before issuing promotion commands. Pre-promotion synchronization via sync_replication_slots and pg_sync_replication_slots() eliminates downstream subscriber desynchronization, LSN gaps, and required full table resynchronization.

Blocks:Promoting a physical standby to primary without verifying or forcing logical replication slot synchronization, corrupting downstream logical subscribers.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-simd-buffer-ceiling
backendcritical

FastAPI Pydantic v2 SIMD Buffer Allocation Ceiling & Pre-Parse Guardrail

Establishes strict pre-parse memory ceilings and streaming byte limits prior to pydantic-core SIMD JSON deserialization in FastAPI applications. Prevents asymmetric denial-of-service (DoS) and out-of-memory (OOM) crashes caused by multi-megabyte payloads inflating contiguous Rust SIMD buffers during request ingestion. Ensures ASGI middleware terminates oversized streams before serialization workers buffer untrusted bytes into RAM.

Blocks:Unbounded Request Body Ingestion Delegated Directly to Pydantic-Core SIMD Deserialization
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-atomics-mutex-timeout-guardrail
backendcritical

Bun 1.2 Worker Thread SharedArrayBuffer Atomics Mutex Timeout Guardrail

Enforces deterministic bounded timeout wrappers around all Atomics.wait calls within multi-threaded Bun 1.2 worker pools. Unbounded Atomics.wait invocations in worker threads cause unrecoverable thread deadlocks, resource exhaustion, and persistent event loop starvation when locking worker threads fail to release shared memory locks.

Blocks:Unbounded Atomics.wait Invocations Causing Permanent Worker Thread Deadlocks and Zombie Pool Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-streaming-ingestion-alignment
backendcritical

PostgreSQL 17 Direct I/O Sector Alignment and Block-Bounded Batch Streaming Guardrail

Enforces strict memory and block boundary alignment (4096-byte hardware sector and 8192-byte relation block multiples) for streaming batch ingestion pipelines targeting PostgreSQL 17 deployments running with direct I/O enabled (io_direct). Prevents page cache contention, synchronous read-modify-write degradation, and unbuffered write stall cascades across NVMe storage subsystems.

Blocks:Arbitrary Chunk Splitting and Unaligned Memory Streaming Causing Direct I/O Read-Modify-Write Amplification
Targets:Cursor•Claude•Windsurf•Codex
go-swiss-table-concurrent-mutation-fence
backendcritical

Go 1.24 Swiss Table Read-Copy-Update Mutation Fence Standard

Go 1.24 replaces internal runtime hash tables with a SIMD-accelerated Swiss Table implementation. In high-throughput parallel read/write workloads, standard coarse sync.RWMutex synchronization triggers CPU L1/L2 cache line bouncing and runtime allocator lock contention when concurrent writes induce group control word re-allocations and rehashing. This rule mandates an atomic pointer-swapped Read-Copy-Update (RCU) mutation fence with batch copy-on-write semantics to preserve lock-free reader locality and avoid allocator lockouts.

Blocks:Coarse RWMutex Locking Over Raw Go 1.24 Swiss Maps During High-Concurrency Mutation Cycles
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cooperative-yield-budget-standard
backendcritical

Axum 0.8 Tokio Cooperative Task Yield Budget Standard

Enforces deterministic compute-cycle budgets inside Axum 0.8 async handlers, Server-Sent Events (SSE), and streaming chunk iterators via explicit tokio::task::yield_now calls. Prevents CPU-bound serialization and transform loops on Tokio worker threads from starving co-located network I/O tasks. Guarantees sub-millisecond p99 latency across multiplexed HTTP/2 and HTTP/3 connections.

Blocks:Unbounded tight CPU iteration loops in streaming handlers starving Tokio worker run queues
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-08-tower-graceful-backpressure-standard
backendcritical

Rust Axum 0.8 Tower Service Layer Graceful Backpressure Standard

Mandates strict concurrency boundaries, explicit load-shedding, and deterministic error-handling middleware within Axum 0.8 service pipelines. Eliminates unconstrained heap allocations and file-descriptor exhaustion by enforcing fail-fast backpressure contracts before saturated application state is reached.

Blocks:Unbounded Request Ingestion and Detached Task Spawning Inducing Socket Depletion and Heap Collapse Under Burst Load
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-cache-pinning-standard
backendcritical

Go 1.24 Weak Pointer Cache Eviction and Memory Pinning Standard

Enforces deterministic memory reclamation patterns in high-throughput caching tiers using Go 1.24+ 'weak' references and 'runtime.KeepAlive' pin semantics. Prevents finalizer race conditions, memory retention leaks, and use-after-collection panics caused by naive strong pointer caching or premature GC sweeps during heavy concurrent allocation cycles.

Blocks:Retaining Strong References in Canonicalizer Caches or Accessing Dereferenced Weak Pointers Without Immediate Strong Binding and Pinning
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-freethreaded-concurrency-boundary
backendcritical

FastAPI Python 3.13 Free-Threaded (No-GIL) State and Pool Invariant

Enforces strict thread-safe encapsulation of mutable module-level state and database connection pools under Python 3.13 free-threaded execution (PEP 703). Eliminates data races, torn reads/writes, and multiple-instantiation bugs caused by the absence of the Global Interpreter Lock.

Blocks:Unprotected Module-Level State and Unsynchronized Lazy Pool Instantiation in Free-Threaded Python
Targets:Cursor•Claude•Windsurf•Codex
bun-cluster-zerocopy-arraybuffer-invariant
backendcritical

Bun 1.2 Native Cluster Zero-Copy ArrayBuffer Transfer & Memory Detachment Guardrail

Enforces strict memory ownership transfer semantics when executing zero-copy ArrayBuffer IPC between Bun cluster primary and worker processes. Guarantees that transferred buffers are explicitly detached on the sending thread to prevent double-free, use-after-free, and segmentation faults across JavaScriptCore engine boundaries under high-throughput conditions.

Blocks:Retaining or Mutating ArrayBuffer References Post-IPC Transfer Leading to JSC Host Panic
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-sync-logical-replication-guardrail
backendcritical

PostgreSQL 17 Failover Slot Synchronization & Logical Replication Invariants

Mandates automated failover slot sync (`failover = true` and `sync_replication_slots = true`) across PostgreSQL 17 physical standby nodes to guarantee zero message drop and eliminate duplicate streaming during physical-to-logical cutovers. Prevents subscribers from advancing beyond physical replica lag by strictly configuring `synchronized_standby_slots` on the primary.

Blocks:Creating Logical Replication Slots Without Failover Capabilities Leading to Silent Data Loss or Duplicate Stream Floods on Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
go124-weak-pointer-cyclic-memory-guardrail
backendcritical

Go 1.24 Weak Pointer & Canonical Cache Memory Retention Standard

Enforces Go 1.24 native weak pointer runtime primitives (weak.Pointer, weak.Make) across long-lived canonicalizing caches, deduplication tables, and cyclic structures. Eliminates unbounded heap growth, memory leaks from stale cache keys, and finalizer-induced retention cascades caused by cyclic strong references.

Blocks:Unbounded Strong Reference Retention and Finalizer Deadlocks in Long-Lived Interning Structures
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-zero-copy-arraybuffer-transfer
backendcritical

Bun Clustered Worker Zero-Copy ArrayBuffer Transfer Standard

Enforces transfer-of-ownership semantics over structural cloning across worker boundaries in multi-threaded Bun microservices. By passing transferable objects via postMessage transfer lists, worker communication bypasses memory duplication, eradicating IPC latency and garbage collection fragmentation under high-throughput network I/O workloads.

Blocks:Implicit Structural Cloning of Binary Payloads Across Bun Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tower-graceful-drain-cancellation-propagation
backendcritical

Axum 0.8 Tower Graceful Drain & CancellationToken Propagation Guardrail

Mandates explicit CancellationToken propagation, TaskTracker integration, and bounded connection draining across all Axum 0.8 Tower services and streaming handlers (SSE, long-polling, WebSockets). Guarantees zero dropped in-flight requests, prevents infinite drain deadlocks, and eliminates memory leaks during zero-downtime rolling deployments under heavy concurrent asynchronous traffic.

Blocks:Unbounded Streaming Handlers and Detached Tasks Blocking Axum Graceful Server Drain
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-parallel-apply-guardrail
backendcritical

Postgres 17 Parallel Apply Conflict Matrix & Partition Streaming Invariants

Prevents transaction serialization deadlocks, cross-worker lock inversion, and silent out-of-order data corruption when streaming high-throughput partition updates across distributed Postgres 17 clusters. Enforces publish_via_partition_root invariants, deterministic parallel apply boundaries, and monotonic version reconciliation.

Blocks:Uncoordinated Parallel Apply on Distributed Partitioned Tables Triggering Cross-Worker Deadlocks and Split-Brain Overwrites
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-cancellation-token-cascade-guardrail
backendcritical

Axum 0.8 Tower CancellationToken Cascade and Cooperative Drain Invariant

Guarantees deterministic client disconnect propagation and bounded worker pool drainage across nested Tower layers during rolling zero-downtime redeployments. Enforces hierarchical CancellationToken cascading and tokio_util::task::TaskTracker lifecycle bounds to prevent orphaned zombie tasks and redeployment timeouts in Axum 0.8 services.

Blocks:Detached Tokio Spawns and Unbounded Mid-Flight Request Leaks During Rolling Pod Drain
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-memory-context-json-table-parallel-scans
backendcritical

Postgres 17 MemoryContext Guardrails for JSON_TABLE Parallel Scans

Enforces strict session-level memory boundaries and execution limits when utilizing Postgres 17 JSON_TABLE inside parallel query plans. Prevents runaway executor MemoryContext bloat and OOM-induced cascading worker process terminations during deep nested JSON path evaluations. Mandates explicit work_mem bounds, worker count caps, and streaming batch wrappers for high-cardinality JSON transformations.

Blocks:Unbounded parallel worker JSON_TABLE scans exhausting OS RAM and causing backend OOM panic
Targets:Cursor•Claude•Windsurf•Codex
go124-weak-pointer-session-cache-standard
backendcritical

Go 1.24 Weak Pointer Cache Eviction and Zero-Allocation Session Standard

Mandates the use of Go 1.24 weak pointers (weak.Pointer) for ephemeral in-memory session caches to eliminate GC finalizer latency and memory retention leaks. Prohibits runtime.SetFinalizer and strong-pointer map retention, ensuring deterministic reclamation of ephemeral session states without triggering stop-the-world or allocation spikes under heavy loads.

Blocks:Retaining Strong References in In-Memory Maps and Relying on runtime.SetFinalizer for Ephemeral Session Cleanup
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-vector-streaming-read-invariant
backendcritical

PostgreSQL 17 Direct I/O Vector Streaming Read Guardrail

Enforces kernel page-cache bypass and streaming read optimization for analytical and high-dimensional vector scans in PostgreSQL 17 environments. Prevents large HNSW and IVFFlat index scans and table sweeps from evicting hot OLTP buffer pool and OS page-cache pages by configuring direct I/O and synchronous streaming flags at the connection or transaction boundary.

Blocks:Executing Unbuffered High-Dimensional Vector Queries on Primary OLTP Connection Pools Without Direct I/O or Buffer Pool Segregation
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-clustered-snapshot-isolation
backendcritical

Bun 1.2 Native SQLite WAL Clustered Snapshot Isolation Standard

Enforces deterministic MVCC read snapshot isolation and eliminates write lock escalation deadlocks across high-throughput Bun worker clusters sharing native SQLite storage. Mandates explicit PRAGMA WAL initialization, strict IMMEDIATE transaction boundaries for all mutating flows, and deterministic snapshot closure to prevent WAL file accumulation and SQLITE_BUSY starvation.

Blocks:Deferred Read-to-Write Lock Escalation and Unbounded Snapshots Under Clustered Bun Concurrency
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http2-stream-drainage-lifecycle
backendcritical

Go Chi v5 HTTP/2 Graceful Stream Drainage & Context Invariants

Enforces deterministic HTTP/2 GOAWAY stream drainage and structured hierarchical context propagation during rolling node terminations. Prevents connection resets (RST_STREAM) and dropped in-flight multiplexed client streams in Go Chi v5 services by synchronizing readiness unpublishing with staged server shutdown deadlines.

Blocks:Immediate http.Server.Shutdown execution and detached request contexts causing abrupt HTTP/2 connection resets.
Targets:Cursor•Claude•Windsurf•Codex
openfga-contextual-tuple-traversal-depth-guardrail
backendcritical

OpenFGA Contextual Tuple Traversal Depth & Cycle Guardrail

Enforces deterministic ceilings on contextual tuple injection, graph expansion depth, and cycle detection during real-time OpenFGA Check and ListObjects calls. Unbounded contextual tuples and deeply nested transitive relations can induce computational exhaustion, thread starvation, and catastrophic authorization denial-of-service (DoS). All evaluation graphs must bound recursive dispatch depth and validate contextual tuple payload complexity prior to evaluation.

Blocks:Unbounded Contextual Tuple Ingestion and Recursive Transitive Graph Traversal
Targets:Cursor•Claude•Windsurf•Codex
bun-native-websocket-backpressure-drain-standard
backendcritical

Bun 1.2 Native WebSocket Backpressure Drain & Queue Shedding Standard

Enforces strict backpressure handling using Bun 1.2's native WebSocket `getBufferedAmount()`, send return byte tracking, and the `drain` lifecycle hook. Mandates deterministic socket buffer thresholds and proactive shedding via connection termination or message dropping to prevent unbounded V8/JSC heap growth during large-scale enterprise broadcast bursts.

Blocks:Blind ws.send() Broadcasting and Missing Drain Handlers Causing Unchecked Buffer Saturation and Out-of-Memory Crashes
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-quic-stream-reset-propagation-invariant
backendcritical

Go Chi HTTP/3 QUIC Stream Reset Propagation & Connection Reclamation Invariant

Enforces deterministic cancellation propagation from QUIC stream resets down through Go Chi middleware trees, database transactions, and background goroutines. When an HTTP/3 client issues a QUIC RESET_STREAM frame, the underlying http.Request context must immediately abort active SQL/IO queries and release pooled connection reservations back to the driver without goroutine leaks. Failure to strictly propagate and observe r.Context().Done() creates phantom workload amplification and deadlocked connection pools under packet loss or route flapping.

Blocks:Orphaned SQL Queries and Goroutine Accumulation Due to Detached Contexts on HTTP/3 QUIC Stream Resets
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pg-createsubscriber-cutover-standard-postgres-17-pg-c-230
backendcritical

PostgreSQL 17 pg_createsubscriber Safe Standby Cutover Standard

Mandates deterministic pre-flight checks, LSN sync verification, replica identity assertions, and atomic slot validation when converting physical standbys into logical subscribers using PostgreSQL 17 pg_createsubscriber. Prevents silent timeline drift, replication divergence, and transaction loss during migration from streaming replication to logical replication.

Blocks:Blind pg_createsubscriber Execution Without LSN Lag Zeroing and Replica Identity Validation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-generator-dependency-teardown-invariant
backendcritical

FastAPI Async Generator Dependency Deterministic Teardown and Connection Release Guardrail

Enforces deterministic resource deallocation and transaction termination in FastAPI async generator dependencies during unexpected client disconnects and ASGI task cancellations. Mandates comprehensive try-finally blocks or asynchronous context managers around all yield statements to eliminate connection pool starvation and orphaned transactions.

Blocks:Naked Dependency Yields Inducing Connection Pool Exhaustion on Abrupt Client Disconnection
Targets:Cursor•Claude•Windsurf•Codex
bun-v1-2-so-reuseport-cluster-socket-handoff
backendcritical

Bun 1.2 Native Cluster SO_REUSEPORT Socket Handoff Guardrail

Enforces Linux kernel-level SO_REUSEPORT socket sharing and non-destructive connection draining in Bun 1.2+ multi-process deployments. Mandates pre-spawn worker binding and graceful TCP socket migration using server.stop(false) to achieve zero-downtime rolling restarts without connection drops or EADDRINUSE collisions.

Blocks:Hard Process Termination and Missing SO_REUSEPORT Causing Port Binding Collisions and TCP Connection Resets
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-lifespan-cleanup-invariant
backendcritical

FastAPI Async Lifespan Generator Deterministic Teardown Invariant

Enforces deterministic teardown of database connection pools, HTTP clients, and background task coroutines using FastAPI lifespan context managers. Guarantees clean state draining during SIGTERM signals under multi-worker ASGI runtimes (Uvicorn/Gunicorn) to prevent unhandled connection reset cascades and aborted in-flight transactions.

Blocks:Unstructured Startup/Shutdown Handlers Leaking Sockets and Stranding Coroutines on Worker Recycling
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-decoding-spill-memory-ceiling
backendcritical

Postgres 17 Logical Replication Memory Ceiling & Parallel Spill-to-Disk Control

Enforces strict memory ceilings and streaming configurations on Postgres 17 logical replication engines during large transactional workloads. Prevents wal_sender and parallel apply worker out-of-memory (OOM) crashes by mandating bounded logical_decoding_work_mem limits, streaming=parallel subscription parameters, and batch-bounded application transactions.

Blocks:Unbounded transaction sizes and default replication streaming triggering wal_sender heap exhaustion and worker OOM crashes
Targets:Cursor•Claude•Windsurf•Codex
go124-weak-pointer-cache-finalizer-isolation
backendcritical

Go 1.24 Weak Pointer Cache Reclamation and Finalizer Isolation Guardrail

Standardizes in-memory cache architectures on Go 1.24 weak pointer semantics (`weak.Pointer`) and decoupled cleanup handlers (`runtime.AddCleanup`). Eliminates mark-and-sweep GC latency spikes caused by large retained heaps and completely prevents object resurrection and cyclic dependency leaks historically induced by `runtime.SetFinalizer`.

Blocks:Retaining Large In-Memory Caches with Strong References or Legacy Finalizers Causing Memory Leaks and GC Pauses
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-stream-quota-backpressure-fence
backendcritical

Axum 0.8 & Hyper 1.0 Chunked Body Stream Quota and Backpressure Fence

Enforces strict allocator byte ceilings and non-blocking backpressure on uncontrolled HTTP/2 and HTTP/3 streaming request bodies. Eliminates remote heap exhaustion (OOM DoS) attacks by replacing unconstrained buffer aggregation with frame-level byte accounting and bounded channel handoffs.

Blocks:Unbounded Stream Buffering via to_bytes or Unmetered Channel Ingest Leading to Heap Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-sequence-alignment-invariant
backendcritical

Postgres 17 Logical Replication Sequence Alignment and Failover Guardrail

Postgres 17 logical replication replicates DML changes but completely omits continuous sequence state transitions. During high-throughput cross-region failovers with parallel apply workers, promoted subscriber nodes maintain stale sequence values, inevitably triggering silent duplicate key collisions on auto-incrementing surrogate keys unless explicit synchronization barriers and deterministic sequence reservation blocks are enforced.

Blocks:Unsynchronized Sequence Failover Leading to Primary Key Duplicate Value Collisions
Targets:Cursor•Claude•Windsurf•Codex
axum-webtransport-datagram-flow-control-boundary
backendcritical

Axum WebTransport Datagram Ingress Flow-Control & Backpressure Boundary

Enforces deterministic ingress backpressure and bounded allocation on WebTransport UDP datagram streams in Axum/Tokio services. Because HTTP/3 datagrams bypass connection-level flow control, unconstrained ingress loops saturate executor thread pools and trigger unbounded memory allocations during packet floods.

Blocks:Unbounded Task Spawning and Unchecked Ingress Loops on HTTP/3 Datagram Channels
Targets:Cursor•Claude•Windsurf•Codex
go-context-afterfunc-deregistration-leak-guardrail
backendcritical

Go 1.24 context.AfterFunc Explicit Teardown & Closure Deregistration Guardrail

Enforces mandatory, unconditional invocation of the returned stop closure from context.AfterFunc in distributed RPC pipelines and stream handlers. Failure to deregister callbacks on short-lived operations tied to long-lived contexts causes unbounded callback list growth, memory retention of captured references, and goroutine starvation under high throughput.

Blocks:Omitting AfterFunc Stop Closure Invocations Leading to Retained Callbacks on Long-Lived Contexts
Targets:Cursor•Claude•Windsurf•Codex
axum-08-backpressure-bounded-request-stream-invariant
backendcritical

Axum 0.8 Backpressure-Bounded Request Stream Invariant

Prevents async runtime memory pool exhaustion during large multipart and body stream ingest by ensuring TCP backpressure propagates upstream when internal downstream workers stall or disconnect. Guarantees that asynchronous task boundaries enforce bounded buffers and structured cancellation to mitigate unbounded memory growth during interrupted or slow-consumed streams.

Blocks:Unbounded Channel Buffering and Detached Task Spawning in Axum Request Stream Consumption
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-hibernation-state-synchronization-standard
backendcritical

Bun 1.2 WebSocket Hibernation and Per-Socket State Synchronization Standard

Enforces zero-heap socket hibernation across millions of concurrent idle duplex connections using Bun 1.2's native uSockets hibernation APIs. Mandates strictly serializable, off-heap or compressed contextual data structures within `ServerWebSocket.data` to prevent JavaScript heap bloating and state divergence during rapid wake-up/sleep cycles. Eliminates closure retention and external Map-based socket registries that induce memory leaks and sub-millisecond revival stalls.

Blocks:Retaining In-Memory JavaScript Object References and External Socket Maps Across Hibernated Connections
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-guardrail-postgres-17-json-251
backendcritical

Postgres 17 JSON_TABLE Stream Transformation Memory Bound Guardrail

Enforces bounded memory limits and cursor-driven chunking when executing PostgreSQL 17 JSON_TABLE relational projections over large JSONB streams. Prevents backend executor out-of-memory crashes and unconstrained temporary disk spills triggered by unbounded nested path evaluations.

Blocks:Unbounded In-Memory Evaluation of Deeply Nested JSON_TABLE Projections Over Massive Document Sets
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-failover-slot-sync-postgres-17-logi-121
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization

Enforces configuration, verification, and migration guardrails for PostgreSQL 17 native logical replication failover slot synchronization. Ensures all logical replication slots on primary instances are created with failover enabled (`failover = true`) and synchronized to physical standbys via `sync_replication_slots` and `synchronized_standby_slots`. This prevents subscriber rewind, stream invalidation, and data duplication or silent data loss when a physical standby is promoted.

Blocks:Creating unsynced logical replication slots or promoting physical standbys without synchronized LSN verification
Targets:Cursor•Claude•Windsurf•Codex
bun-native-ffi-memory-boundary-invariants
backendcritical

Bun 1.2 Native FFI Direct-Transfer Memory Boundary & Lifetime Management

Enforces strict ownership, lifetime pinning, and explicit deallocation contracts across Bun 1.2 native Foreign Function Interface (FFI) boundaries. Prevents segmentation faults, double-frees, and use-after-free corruptions during zero-copy Pointer and TypedArray/ArrayBuffer transfers between JavaScriptCore and native C/Rust runtimes.

Blocks:Implicit GC Reliance and Dangling Pointers in Zero-Copy Bun FFI Transfers
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-0rtt-anti-replay-ledger-standard
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Ledger Standard

Enforces distributed, monotonic token-binding checks on early-data requests to eliminate idempotent state mutation risks over QUIC (HTTP/3 0-RTT). Replay attacks in early-data connections can cause non-idempotent or supposedly idempotent endpoints to execute multiple times before handshake completion unless strictly mitigated via an ephemeral, monotonic ledger. This standard mandates explicit rejection or atomic ledger recording of 0-RTT requests before any routing logic in Go Chi services.

Blocks:Trusting HTTP/3 Early Data Without Atomic Distributed Monotonic Replay Binding
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-read-ahead-concurrency-boundary
backendcritical

Postgres 17 Streaming I/O Read-Ahead Concurrency Boundary Enforcement

Enforces strict upper bounds on asynchronous block prefetch queue depths and parallel worker fan-out in PostgreSQL 17. Prevents NVMe/EBS storage controller queue saturation, IOPS quota exhaustion, and severe p99 tail latency spikes on concurrent OLTP transactions caused by unbounded parallel analytical scans utilizing streaming read-ahead.

Blocks:Unbounded parallel analytical scans flooding storage controllers via Postgres 17 streaming read-ahead queues
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-h3-multiplex-graceful-drain
backendcritical

Axum 0.8 HTTP/3 & QUIC Multiplexed Stream Graceful Drain Standard

Enforces zero-loss termination of in-flight QUIC bidirectional streams and HTTP/3 frames during continuous orchestrator rolling updates. Mandates two-phase shutdown via GOAWAY frame broadcasting, unbinding incoming connection listeners, and explicit stream join coordination via token-gated timeouts before Quinn/s2n-quic endpoint disposal.

Blocks:Abrupt QUIC Endpoint Drop and Ungraceful Process Exit Dropping Active Multiplexed HTTP/3 Streams on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-adaptive-workmem-parallel-hash-guardrail
backendcritical

PostgreSQL 17 Adaptive work_mem and Parallel Hash Join OOM Guardrail

Enforces dynamic, worker-aware work_mem bounding and concurrency limits for PostgreSQL 17 parallel hash joins. Prevents cumulative per-node memory multiplication across parallel workers from breaching container cgroup ceilings and triggering kernel OOM-killer terminations.

Blocks:Unbounded work_mem Sizing with High Parallel Worker Concurrency Causing Container OOM Terminations
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-reference-cache-standard
backendcritical

Go 1.24 Weak Reference Cache Eviction Standard

Mandates the use of Go 1.24's native weak package to eliminate memory leaks and unbounded heap growth in high-throughput in-memory entity caches. Caches storing canonical entities must store weak.Pointer instances to permit timely runtime garbage collection, pairing retrievals with mandatory nil checks and deferred key pruning.

Blocks:Retaining Strong Pointers in In-Memory Caches Leading to Unbounded Heap Retention and GC Pressure
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-swiss-table-map-compaction-chi-guardrail
backendcritical

Go 1.24 Swiss Table Map Memory Compaction Invariant for Chi Microservices

Enforces deterministic lifecycle management and memory compaction for Go 1.24 Swiss Table map allocations within high-throughput go-chi router pipelines. Prevents retention of bloated slot arrays and tombstone fragmentation in persistent routing and fan-out cache contexts during bursty sub-millisecond loads. Mandates map re-instantiation, clear() semantics evaluation, and sync.Pool bucketing to eliminate p99 GC pause spikes.

Blocks:Retaining Long-Lived Maps Across Request Spikes Causing Uncompacted Swiss Table Slot Retention and GC Degradation
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-token-hierarchy-standard
backendcritical

Axum Tokio Hierarchical CancellationToken Propagation Standard

Enforces deterministic, tree-structured CancellationToken propagation across all asynchronous tasks spawned from Axum HTTP handlers. Ensures that client disconnections, upstream timeouts, or handler drops immediately cascade cancellation to detached futures, preventing zombie execution and resource starvation. Mandates child token derivation and select loop integration across all spawned Tokio background work.

Blocks:Orphaned Tokio Task Execution via Unmonitored Spawns During Client Disconnects
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-strict-polymorphic-guardrail
backendcritical

FastAPI Pydantic V2 Strict Polymorphic Deserialization Guardrail

Enforces strict validation (`strict=True`, `extra='forbid'`) alongside explicit tagged discriminators on all polymorphic unions in FastAPI Pydantic v2 schemas. This eliminates algorithmic complexity attacks (ReDoS/Backtracking CPU exhaustion) caused by sequential union branch evaluation and blocks silent type coercion exploits in nested payloads.

Blocks:Lax Untagged Union Deserialization Inducing Silent Type Coercion and Backtracking CPU Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
go124-http3-zero-rtt-anti-replay-invariant
backendcritical

Go 1.24 HTTP/3 0-RTT Distributed Anti-Replay Guardrail

Enforces strict 0-RTT (Early Data) validation across Go HTTP/3 services to eliminate replay attacks at the edge. Guarantees that state-altering methods are rejected immediately with HTTP 425 (Too Early) and idempotent early data routes validate cryptographically signed temporal tokens against a distributed sliding window.

Blocks:Unchecked HTTP/3 0-RTT Early Data execution enabling distributed request replay and duplicate side-effects.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-ddl-locks-guardrail
backendcritical

Postgres 17 Logical Replication DDL Isolation and Catalog Bloat Prevention Standard

Enforces strict isolation of concurrent index builds and schema migrations away from logical replication decoding streams in PostgreSQL 17. Prevents WAL sender stalls, disk-exhausting WAL buildup, and catalog bloat caused by pinned catalog_xmin snapshots and unconstrained DDL lock acquisitions.

Blocks:Executing Concurrent Index Creation or Unbounded DDL Within Transaction Blocks on Logical Replication Primaries
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-off-heap-lifecycle-invariants
backendcritical

Bun 1.2 Off-Heap FFI Memory Lifecycle and Pointer Pinning Guardrail

Enforces deterministic lifecycle management, explicit pointer pinning, and strict ownership boundaries for off-heap memory across the JavaScriptCore-to-Rust native bridge via bun:ffi. Eliminates use-after-free, memory corruption, and double-free hazards caused by JavaScriptCore garbage collection sweeping memory backing buffers while active native threads hold raw pointers.

Blocks:Passing Ephemeral JSC Buffers or Naked Pointers to Asynchronous Native FFI Without Explicit Lifetime Pinning
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sharedarraybuffer-zero-copy-guardrail
backendcritical

Bun 1.2 Worker SharedArrayBuffer Zero-Copy Serialization Standard

Enforces zero-copy inter-worker communication across Bun 1.2 microservices by eliminating the structured clone algorithm on hot execution paths. Concurrency domains must operate over pre-allocated SharedArrayBuffer instances synchronized via Atomics primitives, eliminating heap fragmentation, CPU serialization overhead, and garbage collection thrashing in high-throughput workloads.

Blocks:Structured Clone Heap Deserialization Bottlenecks in High-Volume Worker Pipelines
Targets:Cursor•Claude•Windsurf•Codex
axum-08-hyper-streaming-backpressure-invariant
backendcritical

Axum 0.8 Hyper-Native Streaming Body Backpressure and Abort Teardown

Enforces strict end-to-end backpressure propagation and immediate cancellation propagation across Axum 0.8 / Hyper 1.x streaming pipelines. Forbids unbounded channel buffers (`mpsc::unbounded_channel`) and unmetered in-memory collection (`to_bytes` without limits), guaranteeing deterministic O(1) memory consumption and instant upstream connection teardown when downstream HTTP clients disconnect.

Blocks:Unbounded Channel Buffering and Ignored Cancellation During Hyper Stream Consumption
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-cancellation-shielding-standard-fastapi-anyio-ta-964
backendcritical

FastAPI AnyIO TaskGroup Cancellation Shielding for Critical Cleanup and Audit Pipelines

Enforces deterministic cancellation shielding and detached lifecycle execution for critical post-transaction steps, telemetry, and audit logging in FastAPI applications powered by AnyIO. Prevents silent data corruption, orphaned lock states, and unrecorded compliance trails when HTTP clients disconnect or proxy timeouts propagate cancellation cascades into coroutine trees.

Blocks:Unshielded post-transaction cleanup and audit coroutines aborted mid-execution during client disconnects
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python-313-nogil-concurrency-guardrails
backendcritical

FastAPI Async Handlers on Python 3.13 Free-Threaded Runtime Safety

Enforces strict isolation, thread-local safety, and C-extension reentrancy guards for FastAPI applications deployed on Python 3.13 free-threaded (no-GIL) binaries. Mandates the use of explicit thread synchronization primitives and context-isolated containers to prevent data races and segfaults during concurrent execution of mixed async I/O and CPU-bound subroutines. Prohibits global state mutation and unsynchronized non-reentrant native extension access across concurrent worker threads.

Blocks:Unsynchronized Global State Mutation and Legacy C-Extension Execution in Free-Threaded FastAPI Workers
Targets:Cursor•Claude•Windsurf•Codex
pg17-json-table-workmem-plan-invalidation-guardrail
backendcritical

PostgreSQL 17 JSON_TABLE Memory Allocation & Plan Invalidation Guardrail

Enforces strict row estimation, bounded buffer usage, and transactional statement-level memory controls when shredding deeply nested JSONB structures using PostgreSQL 17's SQL/JSON standard JSON_TABLE. Unconstrained nested path evaluations bypass standard statistics heuristics, resulting in catastrophic nested loop regressions and unbounded work_mem consumption under concurrent load.

Blocks:Unbounded JSON_TABLE shredding with implicit Cartesian expansions and default planner statistics causing runaway work_mem consumption and Out-Of-Memory (OOM) backend crashes.
Targets:Cursor•Claude•Windsurf•Codex
drizzle-serverless-prepared-statement-lru-cache-guardrail
backendcritical

Drizzle ORM Serverless Prepared Statement Bounded LRU and Eviction Standard

Enforces strict bounds and deterministic LRU eviction on prepared statements when using Drizzle ORM in ephemeral serverless and edge runtimes. Prevents V8 isolate out-of-memory crashes and upstream database connection pooler (e.g., PgBouncer, Neon) prepared statement thrashing.

Blocks:Unbounded Dynamic Statement Preparation and Leakage Across Ephemeral Edge Connections
Targets:Cursor•Claude•Windsurf•Codex
python313-freethreaded-fastapi-pool-thread-safety-standard
backendcritical

Python 3.13 Free-Threaded FastAPI Async Connection Pool Thread-Safety Standard

Enforces strict thread-isolation and lock-free synchronization invariants for async connection pools in non-GIL CPython (Python 3.13t). In free-threaded runtimes, standard asyncio pools shared across concurrent ASGI worker threads cause memory corruption, atomic pointer races, and deadlocks. All connection resources must be strictly bound to thread-local event loops or synchronized via thread-safe primitives.

Blocks:Global Async Connection Pool Sharing Across Free-Threaded OS Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
axum-cancel-safe-stream-drop-guardrail
backendcritical

Axum 0.8 Cancel-Safe Async Pipeline and HTTP/3 Stream Drop Guardrail

Enforces cancellation-safe async state machines, atomic transaction boundaries, and Tokio CancellationToken propagation across Axum 0.8 middleware and handlers. Prevents dangling database mutations, orphaned remote RPC side effects, and resource leaks when HTTP/3 QUIC client streams terminate or reset prematurely mid-flight.

Blocks:Non-Cancel-Safe Multi-Stage Awaits Yielding Orphaned Mutations on HTTP/3 Stream Reset
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-incremental-backup-lsn-chain-verification
backendcritical

PostgreSQL 17 Incremental Backup Cumulative LSN Chain and Manifest Verification

Mandates cryptographic manifest integrity checks, timeline alignment, and contiguous Log Sequence Number (LSN) chain verification before and after invoking PostgreSQL 17 pg_combinebackup. Prevents silent data corruption, invalid block overlays, and unrecoverable point-in-time recovery states in enterprise backup orchestration.

Blocks:Executing pg_combinebackup blindly without pre-validating manifest checksums, timeline histories, and contiguous LSN ranges across backup segments.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python-313-nogil-concurrency-safety-standard
backendcritical

FastAPI Python 3.13 Free-Threaded Concurrency Safety Standard

Enforces thread-safe state handling and context isolation in FastAPI applications operating on Python 3.13 free-threaded (no-GIL) runtimes. Prevents race conditions, cross-request memory bleeding, and corrupted mutable singletons caused by true concurrent native thread execution across event loops and worker pools. Mandates explicit synchronization, immutable data transfer, and proper usage of contextvars over raw module-level or thread-local storage.

Blocks:Unsynchronized Mutable Module Singletons and Unsafe Thread-Local State Bleed on No-GIL Runtimes
Targets:Cursor•Claude•Windsurf•Codex
axum-08-adaptive-concurrency-limiting-standard
backendcritical

Axum 0.8 Adaptive Work-Conserving Concurrency Limiting Standard

Enforces dynamic, feedback-driven concurrency limiting and immediate load shedding at the Tower layer for Axum 0.8 services. Replaces brittle, static concurrency caps with gradient descent or Vegas-style RTT controllers to prevent microservice latency cliff collapse and unbounded memory buffering during downstream degradation.

Blocks:Static Semaphore or Fixed Token Bucket Concurrency Inducing Tail-Latency Queuing Collapse
Targets:Cursor•Claude•Windsurf•Codex
bun-cluster-ipc-socket-handoff
backendcritical

Bun 1.2 Cluster IPC Non-Blocking Socket Handoff & Graceful Drain Standard

Enforces deterministic TCP connection handoffs and zero-downtime worker recycling under Bun 1.2 cluster topologies using non-blocking IPC handle transfers. Guarantees starvation-free connection distribution and prevents kernel file descriptor leaks (EMFILE) during high-throughput rolling process upgrades.

Blocks:Leaking Kernel FDs and Dropping Inflight Connections via Blind Worker Termination and Uncoordinated IPC Socket Transfers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-lifespan-drainage-guardrail
backendcritical

FastAPI Async Lifespan Graceful Drainage & Connection Teardown Guardrail

Enforces deterministic termination of persistent resource pools (databases, HTTP clients, message brokers) and background coroutine task groups during ASGI lifespan shutdown. Guarantees zero dropped in-flight requests during SIGTERM orchestrations by decoupling server draining from abrupt pool termination.

Blocks:Premature Pool Disconnection or Zombie Background Tasks in Async Lifespan Teardown
Targets:Cursor•Claude•Windsurf•Codex
go-124-synctest-virtual-time-boundary
backendcritical

Go 1.24 synctest Deterministic Concurrency and Virtual Time Boundary

Enforces strict virtual time isolation via the experimental Go 1.24 testing/synctest package for concurrent tests, consensus engines, and channel workflows. Prohibits non-deterministic wall-clock sleeps, unbounded polling loops, and leaky goroutines outside the isolated bubble. Guarantees 100% deterministic scheduling and instant time acceleration across concurrent goroutine topologies.

Blocks:Flaky Wall-Clock Sleeps and Leaked Outer Goroutines in Concurrent State Machine Tests
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-iterative-scan-memory-boundary
backendcritical

pgvector 0.8+ HNSW Iterative Scan Memory and Traversal Boundary Invariant

Mandates deterministic resource boundaries for pgvector 0.8+ HNSW iterative scans during hybrid metadata filtering. Low-selectivity predicates during graph traversals must be constrained by explicit hnsw.max_scan_tuples caps, localized statement timeouts, and bounded index memory parameters to prevent unbounded backend memory expansion and catastrophic connection pool exhaustion.

Blocks:Unbounded HNSW Iterative Scan on Low-Selectivity Predicates Causing Graph Traversal Runaway and OOM
Targets:Cursor•Claude•Windsurf•Codex
openfga-contextual-tuple-traversal-guardrail
backendcritical

OpenFGA Contextual Tuple Traversal Depth and Cycle Bound Guardrail

Fences recursive graph evaluation in OpenFGA authorization checks by enforcing bounded contextual tuple cardinalities, strictly prohibiting circular group nesting, and preventing unbounded relation transitive walks. Uncontrolled contextual tuples injected at evaluation time trigger exponential sub-graph expansions, unconstrained database fan-out, and high-cardinality authorization-induced latency degradation.

Blocks:Injecting Dynamic Ephemeral Contextual Tuples Without Invariant Depth Bounds or Cycle Validation
Targets:Cursor•Claude•Windsurf•Codex
pgvector-halfvec-hnsw-memory-convergence-bound
backendcritical

pgvector Halfvec Quantization Memory-Budget & HNSW Convergence Bound

Enforces strict off-heap memory budgets and bounded graph convergence for pgvector workloads using halfvec (16-bit floating point) quantization under write saturation. Prevents database worker OOM terminations, index bloat, and recall degradation by standardizing memory limits, staging ingest pipelines, and isolating construction parameters.

Blocks:Unquantized In-Place HNSW Writes Under High Ingestion Inducing Out-Of-Memory and Graph Fragmentation
Targets:Cursor•Claude•Windsurf•Codex
bun-clustered-worker-ipc-buffer-lifetime
backendcritical

Bun 1.2 Clustered Worker Zero-Copy IPC Buffer Lifetime Invariants

Enforces deterministic memory ownership and synchronization semantics for zero-copy ArrayBuffer transfers and SharedArrayBuffer IPC queues in Bun 1.2 clustered runtimes. Eliminates silent race conditions, detached buffer access errors, and use-after-free panics under high-throughput messaging workloads.

Blocks:Unfenced SharedArrayBuffer Mutation and Post-Transfer ArrayBuffer Access in Bun Clustered Workers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-vector-streaming-io-memory-lock-standard
backendcritical

Postgres 17 Block-Level Streaming I/O and Isolated Memory Context for HNSW Vector Re-indexing

Enforces strict session-level buffer ring isolation, deterministic maintenance work memory capping, and asynchronous block-level streaming I/O configurations during concurrent high-dimensional HNSW index builds in PostgreSQL 17. Prevents shared buffer pool cache evictions and Linux dirty page kernel thrashing from degrading latency-sensitive co-located OLTP transactions.

Blocks:Global Maintenance Memory Bloat and Shared Buffer Eviction Cascades Under Unbounded Vector Indexing
Targets:Cursor•Claude•Windsurf•Codex
bun-sql-transaction-lease-timeout-guardrail
backendcritical

Bun 1.2 Native SQL Transaction Lease Timeout & Connection Reclamation Guardrail

Mandates deterministic lease timeouts and automated rollback reclamation for Bun 1.2 native SQL transaction handles. Eliminates zombie pool connections and uncommitted lock retention caused by asynchronous micro-event loop starvation or unhandled pending promises within transaction scopes.

Blocks:Unbounded Asynchronous Transaction Closures Inducing Connection Pool Starvation and Uncommitted Lock Retention
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sharedarraybuffer-concurrency-fence
backendcritical

Bun 1.2 Worker SharedArrayBuffer Atomic Memory Fence & Synchronization Invariant

Enforces deterministic memory fencing and futex synchronization over zero-copy SharedArrayBuffer instances shared between Bun 1.2 clustered worker threads. Direct index-based TypedArray access across multi-threaded runtimes bypasses CPU memory fences, causing compiler instruction reordering, cross-core cache incoherency, torn reads, and catastrophic silent memory corruption.

Blocks:Unsynchronized TypedArray indexing across Bun worker boundaries without Atomics memory fences or futex coordination.
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-stream-cancellation-drain-guardrail
backendcritical

Axum Tokio HTTP/2 & HTTP/3 Premature Stream Cancellation and Buffer Drain Guardrail

Enforces deterministic cancellation safety and clean socket buffer release for HTTP/2 and HTTP/3 request body streams in Axum and Tokio applications. Prevents socket window starvation, worker task leaks, and connection pool lockups caused by client disconnects, early handler aborts, or unbounded background stream consumers.

Blocks:Early Handler Return or Detached Background Streaming Without Cancellation-Safe Body Drain
Targets:Cursor•Claude•Windsurf•Codex
drizzle-keyset-cursor-monotonicity-fence
backendcritical

Drizzle ORM 0.38 Keyset Cursor Monotonicity and Read-View Fence Invariant

Enforces strictly monotonic, composite keyset cursors paired with an explicit read-view fence timestamp across all infinite pagination queries in Drizzle ORM 0.38. Prevents duplicate rows, skipped records, and phantom drift caused by concurrent writes under relational MVCC engines.

Blocks:Offset-based pagination or unfenced single-column keyset cursors leading to duplicate rows and phantom data drift.
Targets:Cursor•Claude•Windsurf•Codex
go-wasi-reactor-memory-ceiling-isolation
backendcritical

Deterministic Linear Memory Ceiling and Page-Growth Hard Boundary Guardrail for WASI Reactors

Enforces strict compile-time and runtime linear memory limits on untrusted multitenant WebAssembly reactor instances running on Go 1.24 runtimes (such as wazero). Prevents host OOM panics and tenant starvation by bounding initial and maximum WebAssembly page allocations and intercepting runtime dynamic growth requests. Guarantees deterministic failure semantics when guest modules exceed deterministic execution quotas.

Blocks:Unbounded WASM linear memory growth permitting untrusted tenant guest modules to trigger host-level out-of-memory crashes.
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sharedarraybuffer-atomic-barrier
backendcritical

Bun 1.2 Worker SharedArrayBuffer Zero-Copy Atomic Mutation Barrier

Enforces strict memory barriers and atomic state transitions when mutating SharedArrayBuffer instances across Bun 1.2 isolated Worker threads. Guarantees zero-copy pipeline integrity by prohibiting non-atomic writes to shared regions while readers are concurrently attached, avoiding torn reads, cache incoherency, and silent data corruption under high-throughput parallel execution.

Blocks:Unsynchronized Raw TypedArray Mutations on Cross-Thread SharedArrayBuffer Instances
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-synchronization-lsn-lag-boundary
backendcritical

Postgres 17 Failover Slot Synchronization & LSN Lag Boundary Enforcement

Enforces failover-enabled logical slots (failover = true) and strict LSN lag boundaries across primary and physical standbys in PostgreSQL 17+. Prevents silent message drops, CDC consumer replay corruption, and phantom data loss during failovers by requiring synchronous replication slot validation (sync_replication_slots) and verified confirmed_flush_lsn assertions before traffic migration.

Blocks:Unsynchronized Logical Replication Slots During Physical Failover Causing Silent Consumer Divergence
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-cache-resurrection-guardrail
backendcritical

Go 1.24 Weak Pointer Cache Resurrection and Reclamation Guardrail

Enforces strict access patterns when dereferencing Go 1.24+ `weak.Pointer` instances within low-latency in-memory caches. Eliminates memory leaks, silent data corruption, and race conditions by preventing unsynchronized resurrection of dereferenced nil targets across GC sweep cycles and mandating atomic validation before re-anchoring cached objects.

Blocks:Unsynchronized Weak Pointer Dereferencing and Dead Object Resurrection Across GC Sweeps
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-freethreaded-concurrency
backendcritical

FastAPI Free-Threaded (PEP 703) Async Concurrency & Native C-Extension Guardrails

Mandates strict native thread-safety invariants for FastAPI applications deployed on Python 3.13+ free-threaded runtimes (nogil). Eliminates native heap corruption, SIGSEGV crashes, and data races caused by concurrent OS thread execution of non-reentrant C-extensions and shared mutable in-memory state.

Blocks:Relying on Asyncio Locks or Implicit GIL Serialization for Shared State and Native C-Extensions under Python 3.13t
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-adaptive-load-shedding-concurrency
backendcritical

Axum 0.8 Adaptive Queue-Latency Load Shedding & Concurrency Limiting

Enforces dynamic, latency-driven load-shedding and adaptive concurrency control at the Tower service boundary in Axum 0.8. Shields async worker runtimes from catastrophic queue tail-latency collapse and Tokio thread pool starvation under burst traffic.

Blocks:Static Unbounded Concurrency with In-Handler Latency Checks Causing Worker Thread Starvation
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-sqlite-wal-mmap-sync
backendcritical

Bun 1.2 Worker Thread Memory-Mapped SQLite WAL Synchronization & Checkpoint Guardrail

Enforces strict isolation, shared-memory synchronization (PRAGMA mmap_size, PRAGMA wal_autocheckpoint), and dedicated checkpoint orchestration across Bun 1.2 multi-threaded Worker pools. Prevents lock starvation (SQLITE_BUSY), dirty page read skew, and index corruption caused by uncoordinated concurrent checkpoints in memory-mapped SQLite engines.

Blocks:Uncoordinated Multi-Worker Auto-Checkpointing with Unbounded Memory-Mapped I/O
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-aio-prefetch-concurrency-throttling-fence
backendcritical

Postgres 17 AIO Prefetch Concurrency Throttling Fence

Enforces strict admission control and session-scoped prefetch fencing for applications querying PostgreSQL 17 with Asynchronous I/O (io_method=io_uring/worker). Prevents operating system buffer pool saturation, Linux io_uring SQE ring exhaustion, and Direct I/O queue thrashing caused by concurrent parallel sequential scans.

Blocks:Unbounded Parallel Queries with Default Prefetch Inducing io_uring Starvation and Storage Controller Thrashing
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tokio-sse-cancellation-drain
backendcritical

Axum 0.8 Tokio SSE Cancellation & Backpressure Drain Guardrail

Enforces deterministic Tokio task termination and upstream backpressure propagation upon client disconnects in persistent Axum 0.8 SSE endpoints. Mandates bounded channels, proactive keep-alive heartbeats, and RAII-bound CancellationToken lifecycles to prevent zombie background workers and memory exhaustion.

Blocks:Spawning detached unbounded worker loops that orphan background tasks and leak memory when SSE clients disconnect.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-direct-buffer-deserialization
backendcritical

FastAPI Pydantic v2 Direct Buffer Deserialization Invariant

Standard FastAPI request handling defaults to decoding HTTP bodies into intermediate Python unicode strings via Starlette, causing severe heap fragmentation and event loop stalls under high throughput. High-throughput ingestion pipelines must bypass Python string allocation by passing raw chunked byte buffers directly into Pydantic v2's Rust-backed SIMD parser via `model_validate_json` or `TypeAdapter.validate_json`.

Blocks:Materializing Intermediate Python Strings or Dictionaries Prior to JSON Model Validation
Targets:Cursor•Claude•Windsurf•Codex
axum-zero-copy-multipart-backpressure-protocol
backendcritical

Axum Multipart Stream Backpressure & Kernel Buffer Protection Protocol

Enforces strict demand-driven consumption of Axum multipart streaming bodies to eliminate Tokio executor task starvation and heap exhaustion. Prohibits in-memory payload aggregation across Tokio runtimes by mandating synchronous pull-based writes directly into bounded sinks to maintain TCP window zero-window advertisements.

Blocks:Buffering Multi-Gigabyte Stream Chunks into Unbounded Memory or Spawning Detached Channel Writers without Socket Backpressure
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-lifespan-taskgroup-boundary
backendcritical

FastAPI 0.115+ AnyIO Lifespan TaskGroup Cancellation Boundary

Enforces structured concurrency boundaries within FastAPI 0.115+ lifespan handlers by mandating `anyio.create_task_group()` for all background coroutines. Prohibits unstructured `asyncio.create_task()` execution that bypasses lifespan cancellation scopes, preventing orphaned coroutines, unhandled exceptions, and deadlocks during SIGTERM graceful draining.

Blocks:Spawning Unbound Lifespan Tasks via asyncio.create_task Leading to Orphaned Coroutines During SIGTERM Draining
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-replication-slot-sync-failover-invariant
backendcritical

PostgreSQL 17 Logical Replication Slot Synchronization and Standby Failover Safety

Mandates that cross-AZ physical standby failovers in PostgreSQL 17 enforce logical replication slot synchronization via synchronized_standby_slots, sync_replication_slots, and pg_sync_replication_slots(). Enforces zero-data-loss subscriber cutovers by verifying slot consistency and synced status before standby promotion and subscriber re-routing.

Blocks:Promoting physical standby instances without synchronized logical replication slots, causing subscriber data corruption and catalog desynchronization.
Targets:Cursor•Claude•Windsurf•Codex
bun-asynclocalstorage-generator-propagation-contract
backendcritical

Bun 1.2 AsyncLocalStorage Context Preservation across Streaming Async Generators

Enforces deterministic trace context and ambient state propagation across native Bun asynchronous generators and ReadableStream response pipelines. Prevents silent context loss during event-loop interleaving and microtask detachment when yielding streaming chunks in high-throughput microservices. Mandates explicit context binding via AsyncLocalStorage.bind or captured execution contexts across async iterator consumption boundaries.

Blocks:Unbound Async Generator Yielding Across Stream Consumers Causing Context Eviction
Targets:Cursor•Claude•Windsurf•Codex
openfga-rebac-causal-consistency-invariant
backendcritical

OpenFGA ReBAC Causal Consistency & Bounded-Staleness Guardrail

Eliminates authorization race conditions in high-throughput microservices by enforcing causal consistency token propagation and strict bounded-staleness cache validation. Prevents unauthorized resource exposure caused by evaluating permission checks against stale relationship tuples immediately following state mutations (read-after-write anomalies). Mandates contextual consistency tokens or forced upstream read evaluation during high-integrity authorization transactions.

Blocks:Blind ReBAC Checks Vulnerable to Read-After-Write Consistency Race Conditions
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-zero-copy-stream-pinning
backendcritical

FastAPI Pydantic V2 Zero-Copy Stream Pinning & Memory Pinning Invariant

Prevents severe GIL contention and memory amplification in high-throughput FastAPI endpoints by enforcing direct Rust-core serialization buffers into ASGI response streams. Eliminates intermediary Python dictionary and object allocations by leveraging Pydantic V2 pydantic-core byte emissions directly into ASGI transport channels.

Blocks:Intermediary Python Heap Dict Instantiation and GIL Thrashing During Large-Scale Response Serialization
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-logical-replication-sync
backendcritical

Postgres 17 Failover Slot Logical Replication Synchronization Standard

Enforces strict configuration and application-level handling of PostgreSQL 17 native failover-enabled logical replication slots. Guarantees zero event loss and seamless LSN continuity across change-data-capture (CDC) pipelines and event-driven microservices during physical database failovers.

Blocks:Creating Non-Failover Logical Slots and Dropping/Recreating Slots on Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
pg17-parallel-apply-deterministic-conflict-resolution
backendcritical

Postgres 17 Logical Replication Parallel Apply Deterministic Conflict Resolution Invariant

Enforces strict monotonic commit-timestamp sequencing and canonical key-ordered locking across transactional mutations replicated via PostgreSQL 17 parallel apply workers. Guarantees deterministic convergence and eliminates distributed cross-worker deadlocks in active-active topologies.

Blocks:Unordered Mutations and Non-Monotonic Clocks Inducing Parallel Apply Worker Deadlocks and Silent Replica Divergence
Targets:Cursor•Claude•Windsurf•Codex
go-http3-quic-migration-stateless-reset-invariant
backendcritical

Go HTTP/3 QUIC Connection Migration & Stateless Reset Token Determinism Standard

Enforces deterministic Stateless Reset Token generation and synchronized Connection ID routing across Go HTTP/3 QUIC servers. Guarantees multiplexed stream resilience and mitigates off-path connection hijacking and silent transport desynchronization during mobile cell-to-Wi-Fi handovers.

Blocks:Ephemeral per-instance reset keys and uncoordinated Connection IDs causing silent stream termination and hijack vulnerabilities during client IP migration.
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-v1-flow-control-backpressure
backendcritical

Axum 0.8 & Hyper-v1 Flow-Control Window Backpressure Invariant

Mandates strict pull-based frame-level backpressure propagation across async stream transformers in Axum 0.8 and Hyper-v1 services. Precludes unbounded memory exhaustion and kernel page thrashing caused by decoupled producer-consumer rates when serving large payloads over flow-controlled HTTP/2 and HTTP/3 client downloads.

Blocks:Decoupled Async Channel Buffering and Eager Task Spawning Leading to Process OOM on Flow-Controlled HTTP/2 Streams
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-hnsw-quantization-budget-standard
backendcritical

Postgres 17 pgvector HNSW Memory Budget & Quantization Standard

Enforces deterministic memory budgets and halfvec/scalar quantization limits during Postgres 17 pgvector HNSW index builds. Mitigates fatal OS Out-Of-Memory (OOM) backend terminations, lock contention, and worker query execution stalls caused by unquantized high-dimensional vector graphs.

Blocks:Unbounded FP32 Vector HNSW Index Creation with Unconstrained Worker Memory Budgets
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drainage-boundary
backendcritical

Bun 1.2 Native WebSocket Backpressure & Drain Invariant

Mandates backpressure-aware socket drain monitoring and buffer watermarking on native Bun.serve WebSockets during high-throughput or bursty pub/sub workloads. Uncontrolled socket writes without buffer checks or drain lifecycle handlers lead to unbounded native memory accumulation and silent event-loop starvation.

Blocks:Fire-and-Forget WebSocket Broadcasts Lacking Buffer Inspection and Drain Callbacks
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-tcp-drain-invariant
backendcritical

Bun 1.2 Native WebSocket Backpressure and TCP Drain Invariant

Enforces deterministic backpressure handling in Bun 1.2 native WebSocket servers by evaluating the integer byte return value of `ws.send()`. Failure to inspect send results or handle socket buffer saturation causes silent, unbounded heap accumulation during high-fanout broadcasts, leading to catastrophic OOM termination under slow client conditions.

Blocks:Ignoring `ws.send()` return codes and lacking `drain()` handler causing silent unbounded queue buffering
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-io-uring-concurrency-fencing
backendcritical

Postgres 17 io_uring Direct I/O Concurrency Fencing & WAL Starvation Prevention

Enforces hard submission queue fencing and prioritized token-bucket concurrency controls for workloads targeting PostgreSQL 17 instances utilizing io_uring and Direct I/O. Unbounded concurrent async dispatch saturates kernel submission rings and worker threads, causing severe head-of-line blocking and sync latency spikes on critical WAL flush pipelines. Systems must isolate and prioritize transactional sync operations via bounded bulkheads with proactive backpressure.

Blocks:Unbounded Async Batch Writes Saturating io_uring Submission Rings and Starving WAL Flush Queues
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-generator-dependency-teardown-guardrail
backendcritical

FastAPI Async Generator Dependency Teardown & Resource Leak Guardrail

Mandates strict try...finally boundaries and exception-safe teardown protocols across all FastAPI yield-based dependency injection providers. Prevents persistent database pool starvation and orphaned transactions caused by abrupt client disconnects, task cancellations, and unhandled downstream exceptions.

Blocks:Naive sequential execution around yield statements in async dependencies leaving pooled database connections orphaned upon client drop or mid-stream task cancellation.
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-task-cancellation-drain-standard
backendcritical

Axum 0.8 Tokio Cooperative Task Cancellation & Drain Standard

Enforces structured task lifecycles and cooperative cancellation trees using Tokio and Axum 0.8 during rolling deployments. Guarantees inflight HTTP request completion, orderly background task draining, and prevention of database pool exhaustion caused by abruptly dropped futures.

Blocks:Unbounded detached task spawning and abrupt signal termination causing orphaned transactions and pool starvation
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-kernel-backpressure-throttling
backendcritical

Bun 1.2 WebSocket Kernel Backpressure Throttling Invariant

Enforces strict handling of native socket buffer backpressure in Bun 1.2 real-time WebSocket gateways. Mandates checking ws.getBufferedAmount() and the return code of ws.send(), pausing upstream producers, and utilizing the drain(ws) lifecycle callback to prevent unmanaged C++ heap allocation and silent container OOM crashes.

Blocks:Unchecked Fire-and-Forget ws.send() Causing Unbounded Native Memory Bloat and OOM Kills
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-slot-sync-invariant
backendcritical

Postgres 17 Failover Slot Synchronization and Zero-Divergence CDC Invariant

Enforces failover-safe logical replication slot synchronization introduced in PostgreSQL 17 for transactional outbox CDC consumers. Mandates `failover = true` on primary logical slots, `sync_replication_slots = true` on physical standbys, and explicit standby validation in `synchronized_standby_slots` to guarantee zero-event divergence and prevent data loss during physical standby promotion.

Blocks:Creating unmanaged logical replication slots without failover sync or primary standby acknowledgment checks.
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-graceful-drain-stream-invariants
backendcritical

Axum Tower Phase-Aligned Stream Draining & Graceful Backpressure Invariant

Guarantees that Axum and Tower streaming endpoints (SSE, WebSockets, WebTransport) enforce phased, cooperative connection draining during pod lifecycle termination. Prevents connection resets, unbuffered drops, and indefinite rollout stalls by bounding drain phases with cancellation tokens and task tracking.

Blocks:Uncoordinated Axum Graceful Shutdown Causing Abrupt SSE/WebSocket Dropping or Indefinite Pod Termination Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
bun-so-reuseport-cluster-handoff-standard
backendcritical

Bun 1.2 SO_REUSEPORT Cluster Socket Handoff & Zero-Downtime Handoff Standard

Enforces deterministic Linux SO_REUSEPORT socket sharing and atomic worker handoff across Bun cluster workers under high-throughput TCP and HTTP workloads. Guarantees zero-packet drops (SYN drop avoidance) during blue-green worker recycling by synchronizing kernel listen queues, drain states, and parent-worker IPC handoffs.

Blocks:Naive SIGTERM Cluster Recycling Causing Silent TCP SYN/RST Drops and Kernel Listen Queue Corruption
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-snapshot-isolation-production-standard
backendcritical

Bun 1.2 Native SQLite WAL Concurrent Snapshot Isolation and Worker Visibility Standard

Enforces deterministic snapshot freshness and WAL checkpoint progression across concurrent Bun.Worker threads and asynchronous event loops using bun:sqlite. Eliminates stale read anomalies, WAL file bloat, and SQLITE_BUSY lock exhaustion by establishing explicit read transaction boundaries and isolated worker handles.

Blocks:Dangling Read Snapshots and Cross-Worker Handle Contention in Bun SQLite WAL Mode
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-poison-shielding
backendcritical

FastAPI AnyIO Structured Concurrency Session Poison Shielding

Enforces strict structured concurrency boundaries around pooled database sessions when executing concurrent child tasks via AnyIO TaskGroups or asyncio.gather in FastAPI. Prevents unhandled task cancellations and exceptions from stranding uncommitted, dirty, or transactionally poisoned connections in shared connection pools (such as SQLAlchemy AsyncEngine or asyncpg). Mandates explicit error boundaries, shielded rollbacks, and per-task isolated transactional units.

Blocks:Sharing a Single Database Session Across AnyIO TaskGroups Without Shielded Teardown and Isolation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-guardrail-postgres-17-json-113
backendcritical

Postgres 17 JSON_TABLE Memory Spill-to-Disk and Work_Mem Guardrails

ANSI SQL JSON_TABLE queries in PostgreSQL 17 evaluating complex nested paths on large payloads can exhaust backend work_mem and trigger OOM killer termination. Production query engines must bound session-level work_mem, enforce batching on incoming document batches, and constrain NESTED PATH tree depth to safely permit temp file spillover without process abortion. This invariant guarantees predictability under high-concurrency, bursty ingestion workloads.

Blocks:Unbounded Nested JSON_TABLE Ingestion Exhausting Backend Memory
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-cache-eviction-invariant
backendcritical

Go 1.24 Runtime-Tracked Weak Pointer Cache Eviction for Low-Latency Runtimes

Enforces the use of Go 1.24 weak pointers (weak.Pointer) over legacy runtime.SetFinalizer patterns in high-throughput, in-memory caching systems. Eliminates multi-generational GC pause spikes, object resurrection hazards, and finalizer queue blocking by allowing the garbage collector to reclaim unreferenced cache entries directly without execution delays.

Blocks:Resurrecting cached memory and causing stop-the-world GC latency via runtime.SetFinalizer queues
Targets:Cursor•Claude•Windsurf•Codex
drizzle-pgvector-connection-pinning-invariant
backendcritical

Drizzle ORM Connection-Pinning & Session Hygiene for pgvector Index Probes

Mandates strict transactional scoping and connection lifecycle isolation when setting pgvector index hyperparameters (such as hnsw.ef_search or ivfflat.probes) in Drizzle ORM. Enforces that all asynchronous embedding generation occurs entirely outside the database transaction boundary to prevent connection pool exhaustion and transaction interleaving deadlocks under connection poolers like PgBouncer.

Blocks:Setting Global Session Variables or Holding Open Drizzle Transactions Across Vector Embeddings Inference
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-shielding
backendcritical

FastAPI AnyIO Structured Concurrency and Lifespan Exception Shielding

Enforces strict structured concurrency in FastAPI application lifespans using AnyIO TaskGroups to prevent orphaned coroutines, unhandled task leakage, and silent process crashes. Guarantees clean resource draining and graceful shutdowns by wrapping resource teardown in cancel-shielded scopes during termination signals.

Blocks:Spawning detached asyncio.create_task coroutines during lifespan and unshielded teardown execution
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-protocol-bun-1-2-websocke-598
backendcritical

Bun 1.2 WebSocket Backpressure TCP Drain Protocol

Protects real-time edge gateways from unconstrained heap exhaustion and process termination by enforcing Bun 1.2 WebSocket backpressure management. Mandates checking the byte return value of ServerWebSocket.send() and deferring additional writes using the socket drain lifecycle hook when the internal TCP buffer exceeds watermark thresholds.

Blocks:Unchecked ServerWebSocket.send() Calls Triggering Unbounded Buffer Expansion and Out-Of-Memory Crashes
Targets:Cursor•Claude•Windsurf•Codex
pgvector-diskann-stream-concurrency-partitioning
backendcritical

Postgres 17 pgvector DiskANN Stream Concurrency & WAL Isolation Standard

Enforces asynchronous, partitioned worker queue isolation for high-dimensional vector writes in Postgres 17 to eliminate Write-Ahead Log (WAL) amplification and read latency spikes. Prohibits inline mutations on DiskANN/graph-indexed hot-path tables during OLTP transactions by decoupling vector ingestion into hash-partitioned staging buffers drained by dedicated background worker pools.

Blocks:Synchronous In-Line Vector Graph Ingestion in User-Facing OLTP Transactions
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-concurrency-limiter
backendcritical

Postgres 17 Asynchronous Streaming I/O Concurrency Limiter Guardrail

Postgres 17 introduces streaming asynchronous read prefetching for sequential and bitmap heap scans. Unthrottled parallel execution of streaming queries can exhaust kernel page-cache buffers and saturate OS I/O pipelines, starving latency-sensitive transaction backends. Services must enforce concurrency limiters and query-scoped GUC tuning before dispatching streaming-intensive operations.

Blocks:Unbounded parallel scan dispatches triggering PG17 streaming I/O storms and worker starvation.
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-graceful-drain-coordination
backendcritical

Axum 0.8 Tower Service Graceful Drain and Transactional Lifetime Protocol

Mandates explicit in-flight task tracking and cooperative cancellation hierarchies during Axum 0.8 graceful shutdown. Ensures long-lived HTTP/3 streams, WebSocket connections, and Tower layered middleware drain completely before server drop without stranding active database sessions or dropping uncommitted state.

Blocks:Dangling Async Tasks and Orphaned Transactions via Naive Axum Graceful Shutdown
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-adaptive-concurrency-loadshedding
backendcritical

Axum 0.8 Tower Adaptive Concurrency & Load-Shedding Invariant

Mandates deterministic token-bucket or semaphore-based load-shedding and concurrency limiting at the outer boundary of Axum 0.8 Tower service pipelines. Prevents unbounded inflight heap exhaustion, Tokio runtime worker starvation, and cascading socket stall cascades under flash crowds by shedding excess traffic before payload consumption or asynchronous task spawning.

Blocks:Unbounded Task Spawning and Late Payload Buffering Without Outer Tower Load-Shedding Layers
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-taskgroup-cancellation
backendcritical

FastAPI AnyIO Structured TaskGroup Request-Cancellation Boundary

Enforces strict structured concurrency using AnyIO TaskGroups within FastAPI request lifecycles to guarantee immediate, deterministic teardown of all spawned coroutines upon client HTTP disconnects. Prevents orphaned background tasks, runaway resource consumption, and stale uncommitted database transactions by binding all asynchronous child operations to the ASGI cancellation boundary.

Blocks:Unstructured asyncio.create_task Fire-and-Forget Spawning In HTTP Request Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-shell-subprocess-injection-sandbox-guardrail
backendcritical

Bun 1.2 Shell API Tagged-Template Sanitization and Subprocess Deserialization Sandbox

Enforces strict subprocess execution boundaries in Bun 1.2+ by leveraging the native shell AST tagged-template parser and prohibiting unsafe raw interpolations, string concatenations, and intermediate shell passes. Guarantees deterministic parameter escaping, explicit execution environments, and bounded input sanitization when invoking external system CLI binaries.

Blocks:Dynamic String Concatenation and Unsafe Raw String Injections in Bun Shell Subprocesses
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-parallel-hnsw-memory-budgeting
backendcritical

Postgres 17 Parallel HNSW Index Build Memory & Worker Saturation Guardrail

Governs parallel HNSW vector index construction in PostgreSQL 17 to prevent multi-tenant query latency spikes and Linux OOM killer invocation. Enforces strict session-scoped bounds on maintenance_work_mem and max_parallel_maintenance_workers proportional to system headroom.

Blocks:Unbounded Parallel Workers and Maintenance Memory in Vector Re-Indexing Starving Live RAG Workloads
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-zero-rtt-anti-replay
backendcritical

Go Chi HTTP/3 0-RTT Early Data Anti-Replay Standard

Enforces stateful replay-token verification and strict RFC 8470 compliance for 0-RTT Early Data in HTTP/3 Go Chi services. Eliminates replay attacks against side-effect-bearing or resource-intensive endpoints during QUIC handshakes while guaranteeing single-digit millisecond connection establishment for safe requests.

Blocks:Unchecked 0-RTT Early Data Execution Allowing Idempotency Bypass and Amplified Request Replay
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-taskgroup-guardrail
backendcritical

FastAPI AnyIO Structured Concurrency and TaskGroup Socket Lifecycle Invariants

Enforces strict structured concurrency in FastAPI background workers and parallel request handlers via AnyIO TaskGroups. Prevents silent fire-and-forget sub-task orphaning, enforces deterministic cancellation cascades, and guarantees active HTTP/2 and database connection sockets are gracefully terminated when exceptions occur in concurrent branches.

Blocks:Orphaning concurrent coroutines via unshielded fire-and-forget asyncio.create_task and unhandled ExceptionGroup socket leaks
Targets:Cursor•Claude•Windsurf•Codex
bun-v12-s3-streaming-backpressure-protocol
backendcritical

Bun 1.2 Native S3 Streaming Backpressure Protocol & Zero-Heap Invariant

Enforces process-safe object ingestion by piping raw HTTP incoming ReadableStreams directly into Bun 1.2's native S3 client without heap allocation. Bypassing native backpressure by materializing payloads via ArrayBuffer, Blob, or unthrottled AsyncIterables causes deterministic kernel OOM kills under concurrent multipart workloads. All S3 egress and ingress pipelines must bind native TCP socket backpressure to S3 upload sinks.

Blocks:Buffering In-Flight HTTP Request Payloads in V8/JSC Heap Prior to S3 Transmission
Targets:Cursor•Claude•Windsurf•Codex
pg17-json-table-optimization-standard
backendcritical

PostgreSQL 17 SQL/JSON JSON_TABLE Optimization & Memory Streaming Guardrail

Enforces strict type-directed path expressions, explicit column projections, and memory-bounded streaming evaluation when using PostgreSQL 17 JSON_TABLE constructs. Prevents catastrophic query plan degradation, OOM crashes, and 100% CPU pinning caused by unoptimized JSONB materialization, implicit path conversions, and untyped recursive descent over high-throughput event streams.

Blocks:Untyped Wildcard JSON_TABLE Queries Causing Intermediate Materialization & CPU Saturation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-cancellation-drain
backendcritical

FastAPI AnyIO Structured TaskGroup Cancellation and Shielded Resource Drain

Enforces AnyIO structured concurrency within FastAPI route lifecycles to guarantee deterministic cancellation cascading on client aborts. Mandates shielded cleanup scopes during task teardown to prevent connection leaks, orphaned coroutines, and corrupted resource drains.

Blocks:Spawning unmanaged background coroutines and unshielded cleanup handlers during ASGI client disconnects.
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-zero-downtime-migration-advisory-locking-standard
backendcritical

Drizzle ORM Zero-Downtime Safe DDL Migrations & Advisory Locking Standard

Enforces non-blocking zero-downtime database migrations with Drizzle ORM through strict PostgreSQL advisory locking, bounded lock timeouts, and multi-phase expand-contract schema evolution. Eliminates race conditions across auto-scaling replicas and prevents cascading connection pool exhaustion caused by unconstrained ACCESS EXCLUSIVE locks.

Blocks:Running concurrent unprotected Drizzle migrations on app boot without advisory locks or bounded lock timeouts.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-bulk-write-invariant
backendcritical

Postgres 17 Streaming I/O Engine Vectorized Bulk Ingestion Invariant

Governs the orchestration of multi-terabyte transactional writes against PostgreSQL 17's streaming I/O subsystem. Mandates aligned, asynchronous buffer pipelining and direct COPY streams to prevent shared buffer cache eviction spirals and synchronous kernel write stalls. Ensures ingestion worker memory pools remain isolated from general OLTP buffer allocations.

Blocks:Unbuffered Micro-Batching with Transactional Thrashing and Kernel Cache Dirtying
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-scope-guardrail
backendcritical

FastAPI AnyIO Structured TaskGroup Scoping and Connection Leak Prevention

Mandates that all asynchronous concurrency within FastAPI endpoints and worker routines is bounded by strict AnyIO TaskGroup scopes. Unbounded concurrency primitives like asyncio.create_task bypass FastAPI cancellation tokens during client disconnections, causing orphaned database pool checkouts and catastrophic resource starvation. Enforces fail-fast exception boundaries and deterministic teardown across all child coroutines.

Blocks:Unbounded Background Task Spawning with Escaped Async Resources on Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio4-taskgroup-cancellation-propagation-standard
backendcritical

FastAPI AnyIO 4 TaskGroup Cancellation Propagation Standard

Enforces fail-safe structured concurrency under AnyIO 4 and ASGI servers by guaranteeing client disconnect signals cascade immediately into database execution boundaries. Prevents silent cancellation absorption and unmanaged asyncio task detachment that lead to orphan query thread starvation, connection pool exhaustion, and zombie writes.

Blocks:Swallowing CancelledError in Generic Exception Handlers and Spawning Detached Background Tasks Across DB Transactions
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-shared-buffer-isolation-guardrail
backendcritical

PostgreSQL 17 pgvector HNSW Shared-Buffer Working Set Isolation

High-dimensional HNSW index graph traversals produce non-sequential page access patterns across multi-gigabyte working sets that evict hot OLTP relation pages from Postgres shared_buffers. In hybrid vector-relational workloads, HNSW query execution must be isolated through dedicated connection pools with strict session-level memory caps, materialized pre-filtering, or separated storage partitions to prevent cache thrashing and tail-latency amplification.

Blocks:Unconstrained In-Line HNSW Graph Traversal in Core OLTP Shared Buffers
Targets:Cursor•Claude•Windsurf•Codex
connect-rpc-bidi-stream-backpressure-fence
backendcritical

Connect-RPC Bidirectional Stream Flow-Control Backpressure Fence

Enforces deterministic coupling between transport-level HTTP/2 and HTTP/3 flow-control windows and server-side processing queues in Connect-RPC bidirectional streams. Disallows unbounded async dispatching during stream ingestion to prevent transport window updates from triggering catastrophic heap exhaustion.

Blocks:Unbounded Asynchronous Ingestion Draining Transport Frames Without Flow-Control Backpressure
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slot-sync-invariant
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization Invariant

Enforces deterministic physical-to-logical replication slot synchronization using Postgres 17 failover-enabled slots and synchronized standbys. Guarantees zero duplicate event replays or silent data loss cascades in distributed event pipelines during planned switchovers and unplanned high-availability failovers.

Blocks:Unsynchronized Logical Replication Slots Causing Data Loss Cascades or Multi-Day WAL Replays on Standby Failover
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-cancellation-isolation-standard
backendcritical

FastAPI AnyIO Dynamic TaskGroup Cancellation Isolation Standard

Prevents premature termination of critical audit-logging, state persistence, and resource cleanup coroutines caused by client-driven HTTP disconnects. Mandates explicit AnyIO shielded cancellation scopes or decoupled application-lifetime TaskGroups for operations that must survive client dropoffs.

Blocks:Executing Non-Idempotent Audit Trails and State Finalization Inside Unshielded HTTP Request TaskScopes
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-streaming-prefetch-guardrail
backendcritical

Postgres 17 Direct I/O and Streaming Prefetch Memory Budget Guardrail

Enforces strict memory budgeting and I/O concurrency sizing for PostgreSQL 17 deployments utilizing Direct I/O (`io_direct`) and the modern streaming read prefetch engine on high-IOPS NVMe hardware. Prevents Linux OOM-killer invocations, unbuffered queue depth exhaustion, and tail-latency degradation caused by legacy page cache assumptions.

Blocks:Legacy OS Buffer Assumptions with Unbounded Asynchronous Prefetching on Direct I/O
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-session-cache-invariant
backendcritical

Go 1.24 Weak Pointer Ephemeral Session Cache Invariant

Enforces the use of Go 1.24's standard library weak pointer semantics for ephemeral session contexts and metadata caches in high-throughput services. By replacing strong-reference cache topologies with collector-eligible weak references, services prevent long-lived heap bloat, mark-sweep pointer-chasing overhead, and severe GC tail-latency spikes during traffic surges. This guarantees that ephemeral session memory is automatically reclaimed as soon as active request scopes terminate.

Blocks:Retaining Strong Pointers in In-Memory Session Caches Causing GC Mark Overhead and OOM Explosions
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-goroutine-drain-standard
backendcritical

Go Chi HTTP Context Propagation and Goroutine Drain Standard

Mandates strict propagation of `r.Context()` across all downstream operations, RPC boundaries, and internal concurrency fan-outs in Go Chi services. Eliminates silent goroutine leaks, connection starvation, and zombie downstream execution by enforcing deterministic select-based cancellation and bounded lifecycle decoupling.

Blocks:Spawning unanchored fire-and-forget goroutines or discarding r.Context() via context.Background() during request handling
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-lifespan-pool-drain-invariant
backendcritical

FastAPI Async Lifespan & Distributed Pool Drain Invariant

Enforces strict ASGI lifespan context manager architecture across FastAPI services to guarantee deterministic teardown sequences for asynchronous databases, message brokers, and background workers. Prevents socket truncation, connection pool starvation, and corrupted in-flight writes during Kubernetes rolling deployments and SIGTERM container termination signals.

Blocks:Unordered Deprecated Event Handlers Truncating Active In-Flight Requests and Severing Broker TCP Sockets
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-prepared-statement-partitioning-boundary
backendcritical

Drizzle ORM Prepared Statement Partitioning Boundary for Serverless Runtimes

Enforces static isolation and memoized lifecycle boundaries for Drizzle ORM prepared queries across serverless microVMs and worker execution tiers. Prevents per-request re-preparation and unparameterized dynamic query emissions that cause database connection pool memory exhaustion, statement name collision, and query plan cache thrashing under high concurrency.

Blocks:Compiling dynamic Drizzle prepared statements inside per-request execution scopes
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-partition-parallel-aggregation-memory-boundary
backendcritical

PostgreSQL 17 Partition-Aware Parallel Aggregation & Join Memory Governance

Enforces deterministic per-transaction memory allocation bounds for Postgres 17 parallel workers during partition-wise joins and aggregations. Eliminates kernel OOM-killer invocations by dynamically calculating work_mem, hash_mem_multiplier, and max_parallel_workers_per_gather against cgroup memory ceilings before executing analytical fanout queries.

Blocks:Global work_mem Multiplied Across Parallel Partition Workers Causing Process Termination
Targets:Cursor•Claude•Windsurf•Codex
postgres17-streaming-io-prefetch-pinning-boundary
backendcritical

Postgres 17 Streaming I/O Direct-Access Prefetch Pinning Boundary Standard

Enforces strict query isolation, memory capping, and buffer pool eviction controls for Postgres 17 asynchronous streaming read pipelines. Prevents starvation of shared buffers during mixed OLTP/HTAP workloads by bounding direct-access prefetch worker depth and requiring segregated buffer rings with synchronized connection-level GUC parameters.

Blocks:Unbounded AIO Streaming Prefetching Exhausting Shared Buffer Pool Pins During Concurrent OLTP Load
Targets:Cursor•Claude•Windsurf•Codex
axum-08-websocket-heartbeat-desync-guardrail
backendcritical

Axum 0.8 WebSocket Heartbeat & Task Desynchronization Invariant

Enforces deterministic bidirectional heartbeat polling and cooperative Tokio task cancellation for Axum 0.8 WebSocket connections. Eliminates silent file descriptor exhaustion, zombie connection accumulation, and unhandled task panics caused by asymmetric split-stream teardowns during edge reverse proxy failovers and rolling deploys.

Blocks:Asymmetric Split Tasks with Detached Ping Loops and Missing Pong Verification
Targets:Cursor•Claude•Windsurf•Codex
pg17-direct-io-mmap-hnsw-indexing
backendcritical

PostgreSQL 17 Direct I/O and Memory Isolation Guardrail for HNSW Indexing

Enforces non-blocking, zero-copy vector index generation using PostgreSQL 17 direct I/O configuration (io_combine_limit and io_direct) alongside session-scoped maintenance work memory. Prevents HNSW vector graph builds from evicting hot OLTP pages from shared_buffers, causing WAL saturation, or deadlocking concurrent write pipelines.

Blocks:Unbounded HNSW Indexing with Global Shared Buffer Thrashing and Synchronous WAL Spikes
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-structured-concurrency-protocol
backendcritical

FastAPI AnyIO TaskGroup Structured Concurrency & Deterministic Cancellation Standard

Enforces strict structured concurrency in FastAPI backends using AnyIO TaskGroups to prevent orphaned coroutines, resource exhaustion, and unhandled exception swallowing. Unhandled child errors must cascade deterministic cancellation to all siblings within the failure domain and cleanly unwind via shielded cancellation scopes.

Blocks:Unmanaged asyncio.create_task Fire-and-Forget Pipelines Causing Zombie Coroutines and Silent Exception Swallowing
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-exception-invariant
backendcritical

FastAPI AnyIO Structured Concurrency TaskGroup Exception Invariant

Enforces strict structured concurrency in FastAPI services using AnyIO TaskGroups to guarantee deterministic cascading cancellation and atomic cleanup across concurrent sub-tasks. Prevents orphaned background tasks, connection pool starvation, and silent event loop deadlocks caused by unhandled ExceptionGroups and non-shielded cancellation scopes.

Blocks:Spawning detached asyncio tasks or unshielded gather calls that swallow exceptions and leak running coroutines during partial failures.
Targets:Cursor•Claude•Windsurf•Codex
bun-sql-native-streaming-backpressure
backendcritical

Bun 1.2 Native SQL Streaming Backpressure & Heap Isolation Protocol

Enforces deterministic memory bounds when streaming high-throughput PostgreSQL datasets over HTTP in Bun 1.2. Prohibits full result-set materialization in the JavaScriptCore heap, mandating direct consumption of native SQL binary cursors via bounded ReadableStream pull controllers.

Blocks:Unbounded Array Materialization and Free-Running Async Iteration Causing Heap Exhaustion and GC Freezes
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-service-clone-isolation
backendcritical

Axum 0.8 Tower Service Clone and Stateful Buffer Isolation Standard

Enforces strict per-request state isolation when implementing custom Tower Service and Layer abstractions in Axum 0.8. Eliminates cross-request state contamination, unhandled backpressure deadlocks, and race conditions caused by shallow cloning internal buffers across Tokio's multi-threaded work-stealing runtime.

Blocks:Persisting Request Buffers or Mutable Context Across Tower Service Clones
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-direct-io-cache-bypass
backendcritical

PostgreSQL 17 Streaming I/O and Direct I/O Cache-Bypass Invariant

Enforces strict I/O isolation for high-volume sequential analytics operations to prevent eviction of hot OLTP working sets from PostgreSQL shared_buffers and operating system page caches. Leverages PostgreSQL 17 streaming I/O architecture, vector reads, and session-level buffer-bypass configurations. Prohibits unbounded sequential scans on transaction-critical primary nodes.

Blocks:Unbounded sequential analytical scans polluting shared_buffers and evicting mission-critical OLTP working sets
Targets:Cursor•Claude•Windsurf•Codex
drizzle-038-serverless-prepared-statement-cache-eviction-standard
backendcritical

Drizzle ORM 0.38 Serverless Prepared Statement Cache Eviction & Connection Guardrail

Mandates deterministic prepared statement lifecycle management and driver-level statement cache bypassing for Drizzle ORM 0.38+ within serverless and edge runtimes. Prevents connection pool exhaustion, memory bloat across execution context freeze/thaw cycles, and PgBouncer 42P05 prepared statement collisions in pooled environments.

Blocks:Global Unbounded Prepared Statement Caching Over Transient Serverless Handoffs
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-deterministic-projection-standard
backendcritical

PostgreSQL 17 Native JSON_TABLE Deterministic Projection Standard

Mandates the use of PostgreSQL 17 SQL/JSON standard JSON_TABLE for projecting semi-structured payloads into typed relational structures at query and boundary layers. Prohibits runtime JSONB traversal operators and legacy unnesting functions in join and filter paths to eliminate query planner misestimations and runtime deserialization overhead.

Blocks:Runtime JSONB Operator Traversal and Legacy Recordset Deserialization in Hot Query Paths
Targets:Cursor•Claude•Windsurf•Codex
go-124-zero-alloc-span-logger-standard
backendcritical

Go 1.24 Zero-Allocation Contextual Span Logger and Pointerless Metadata Standard

Enforces strict heap-escape-free contextual telemetry propagation across hot-path microservice execution loops in Go 1.24. Forbids dynamic interface boxing via context.WithValue and heap-allocated telemetry attributes by mandating value-receiver span loggers with inline fixed-size byte buffers and compile-time stack allocation verification.

Blocks:Boxing dynamic telemetry metadata in context.WithValue and unbuffered slog.Attr slice allocations on hot paths
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-radix-vacuum-guardrail
backendcritical

Postgres 17 Radix Tree Vacuum Memory Cap and Lock-Escalation Guardrail

Postgres 17 replaces flat dead-tuple arrays with an adaptive radix tree (TidStore) for autovacuum, reducing dead-TID memory overhead by up to 20x. This guardrail mandates bounded worker memory budgets and partitioned storage parameters to prevent multi-worker memory exhaustion and lock-escalation stall cascades on high-churn append-only tables.

Blocks:Over-allocating maintenance_work_mem and relying on default global autovacuum settings across high-write append-only event tables
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-graceful-drain-invariant
backendcritical

Axum 0.8 Tower Service Graceful Disconnection Drain Invariant

Enforces deterministic graceful shutdown sequencing for Axum 0.8 and underlying Hyper/Tower layers handling long-lived connections, such as Server-Sent Events (SSE) and HTTP/3 streams. Prevents socket truncation, orphaned background workers, and payload loss during Kubernetes rolling deploys through explicit cancellation propagation, active connection tracking, and dual-phase drain timeouts.

Blocks:Abrupt Socket Severing via Default Hyper Shutdown Without SSE/Stream Drain Signaling
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-buffer-lifetime-pinning-standard
backendcritical

Bun 1.2 FFI Buffer Lifetime and Non-GC Pinning Standard

Enforces explicit memory retention and pointer pinning across the JavaScriptCore-to-native C ABI boundary in Bun 1.2 FFI integrations. Prevents silent memory compaction and garbage collection sweeps from invalidating raw buffer pointers during asynchronous or microtask-heavy native execution.

Blocks:Ephemeral Inline Buffer Passing to Native FFI Boundary Causing Silent GC Use-After-Free
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydanticv2-zerocopy-jit-serialization
backendcritical

FastAPI Pydantic V2 Zero-Copy JIT Deserialization via Rust Core

Mandates direct HTTP byte-buffer handoff to pydantic-core's Rust validator via validate_json on high-throughput JSON pipelines. Eliminates intermediary Python string and dictionary allocations, bypassing the Global Interpreter Lock (GIL) and mitigating memory fragmentation during burst traffic.

Blocks:Intermediary Python Dict Materialization Under GIL Contention
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-swiss-table-map-sizing-guardrail
backendcritical

Go 1.24 Swiss Table Preallocation, Growth Bounds, and Sharded In-Memory Cache Invariant

Enforces strict initial capacity hinting, control-byte allocation bounds, and entry recycling patterns for Go 1.24's Swiss Table map implementation. Prevents severe tail-latency spikes caused by dynamic SIMD control-group rehashing and excessive GC scan overhead in high-cardinality state caches.

Blocks:Unhinted map instantiation in high-throughput paths triggering Swiss Table SIMD group rehash cascades and GC pauses.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-asgi-structured-concurrency-drain-boundary
backendcritical

FastAPI ASGI Lifespan Structured TaskGroup Drain Boundary

Enforces deterministic structured concurrency boundaries for asynchronous background work within FastAPI ASGI applications. Guarantees that any spawned background coroutines are tethered to an application-scoped or request-scoped TaskGroup that safely drains within lifespan shutdown before database and network connection pools close during Kubernetes SIGTERM events.

Blocks:Unbounded asyncio.create_task and BackgroundTasks Leaks Causing Database Connection Poisoning During SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tokio-task-budget-ingress-backpressure-standard
backendcritical

Axum 0.8 Tokio Co-Op Task Budgeting & Ingress Backpressure Standard

Enforces strict cooperative task scheduling budgets, non-blocking async runtime boundaries, and bounded ingress backpressure in Axum 0.8 microservices. Eliminates Tokio event-loop starvation and ungraceful connection drops during synchronous request floods through explicit load shedding and cooperative yielding.

Blocks:Unbounded TCP Ingress & Starving Tokio Worker Threads with Unbudgeted CPU Operations
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio4-taskgroup-scope-invariant
backendcritical

FastAPI AnyIO 4 Structured Concurrency TaskGroup Request-Scope Invariant

Enforces strict structured concurrency in FastAPI request lifecycles using AnyIO 4 TaskGroups. Guarantees that all in-flight asynchronous operations and background tasks initiated within an HTTP request context resolve deterministically within bounded scopes, preventing orphaned worker tasks, database connection exhaustion, and unhandled ExceptionGroups across cancel scopes.

Blocks:Spawning Unstructured Async Tasks via asyncio.create_task or BackgroundTasks Leaking DB Sessions Across Scope Boundaries
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-parallel-apply-quarantine-standard
backendcritical

PostgreSQL 17 Logical Replication Parallel Apply Conflict Quarantine Standard

Mandates deterministic foreign key dependency sequencing, deferrable constraint enforcement, and automated LSN conflict quarantining when utilizing PostgreSQL 17 parallel apply workers. Prevents replication worker crash loops, cross-worker deadlocks, and ingestion pipeline stalls during high-throughput out-of-order transactional streaming.

Blocks:Configuring parallel apply logical replication over non-deferrable relational hierarchies without automated conflict quarantine
Targets:Cursor•Claude•Windsurf•Codex
bun-v12-sql-raii-finalizer-standard
backendcritical

Bun 1.2 Native SQL Connection Pool RAII and Finalizer Standard

Enforces deterministic connection release and explicit lifecycle management on Bun 1.2 native SQL connection pools using the ECMAScript Explicit Resource Management (RAII) protocol. Guarantees that checkout sockets, reserved clients, and multi-statement transactions release pooled file descriptors immediately upon scope exit, preventing kernel socket exhaustion during unhandled rejections or sudden POSIX process termination signals.

Blocks:Unscoped Connection Checkouts and Dangling Leases Inducing File Descriptor Exhaustion Under Event-Loop Interruption
Targets:Cursor•Claude•Windsurf•Codex
go-swiss-table-map-concurrency-safety
backendcritical

Go 1.24 Swiss Table Map Memory Access and Resizing Isolation Guardrail

Go 1.24 refactors the internal runtime map implementation to high-performance Swiss Tables, fundamentally altering slot allocation, control-byte probing, and group-level resizing mechanics. Concurrently accessing or unsafely swapping shared map state during group migration triggers catastrophic runtime panics or silent pointer corruption. All high-throughput read-heavy shared map instances MUST be fenced behind cacheline-padded atomic pointers utilizing immutable Copy-on-Write (COW) semantics.

Blocks:Unfenced Shared Map In-Place Resizing and False-Sharing Inducing Pointer Swaps
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-mmap-boundary-guardrail
backendcritical

Bun 1.2 Multi-Threaded SQLite WAL Memory-Mapped Region Boundary Guardrail

Protects Bun 1.2 multi-threaded SQLite deployments from SIGBUS kernel aborts and WAL shared memory (-shm) corruption during concurrent write bursts. Enforces isolated single-writer coordination, explicit busy timeout locks, disabled auto-checkpointing during worker operations, and synchronized memory-mapped region access.

Blocks:Uncoordinated Parallel Writes and Automatic WAL Checkpoints Across Multi-Threaded Bun Workers Triggering SIGBUS and WAL Index Corruption
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-memory-ceiling-guardrail
backendcritical

Postgres 17 pgvector HNSW Graph Memory-Ceiling Invariants

Enforces deterministic bounded memory allocations during HNSW index construction and query-time iterative graph traversals on PostgreSQL 17. Guarantees that concurrent streaming ingestion pipelines configure maintenance_work_mem and hnsw.ef_search within explicit session-isolated bounds to prevent uncoordinated kernel OOM killer events on database primaries.

Blocks:Global Unbounded HNSW Index Creation and Iterative Traversals During Streaming Ingestion
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-concurrency-boundary
backendcritical

FastAPI AnyIO Structured Concurrency and Task-Group Boundary Enforcement

Enforces strict AnyIO task group boundaries across all parallel async I/O worker pipelines in FastAPI applications. Mandates deterministic task cancellation, prevents unmonitored background tasks that leak connection pool slots, and requires bidirectional exception-group unwrapping using Python 3.11+ ExceptionGroup or anyio.create_task_group.

Blocks:Unstructured asyncio.create_task / asyncio.gather in FastAPI causing orphaned coroutines and connection pool starvation on client disconnects or worker exceptions
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-zero-copy-streaming
backendcritical

FastAPI & Pydantic v2 Zero-Copy Streaming Response Pipeline

Enforces generator-driven raw byte and buffer streaming for high-throughput LLM token delivery in FastAPI and Pydantic v2. Prevents event loop starvation and high-frequency GC heap churn by forbidding intermediate Pydantic model instantiation, redundant JSON parsing, and unbuffered string concats inside hot stream iteration loops.

Blocks:Hydrating and Reserializing Intermediate Pydantic Models Inside SSE/NDJSON Streaming Loops
Targets:Cursor•Claude•Windsurf•Codex
axum-h3-quic-graceful-draining-invariant
backendcritical

Axum 0.8 HTTP/3 QUIC Graceful Connection Draining Invariant

Enforces structured bidirectional QUIC stream retirement and RFC 9114 HTTP/3 GOAWAY mechanics during server teardown in Axum 0.8 environments. Guarantees zero-downtime canary transitions by preventing abrupt QUIC stream resets (RESET_STREAM or sudden CONNECTION_CLOSE) through phased stream count signaling and Tokio cancellation-safe connection draining.

Blocks:Immediate Tokio Runtime Dropping and Uncoordinated QUIC Connection Teardown on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
fastapi-py313-nogil-threadsafe-state-isolation
backendcritical

FastAPI Python 3.13 Free-Threaded (No-GIL) Thread-Safe State Isolation

Enforces strict thread-safe state isolation, read-only lifecycle state immutability, and explicit synchronization primitives for FastAPI services running on Python 3.13 free-threaded builds (PEP 703). Prevents silent data corruption, torn reads, and deadlocks caused by concurrent OS thread execution without the Global Interpreter Lock.

Blocks:Unsynchronized Global Mutations and Dynamic app.state Modification in Free-Threaded Python 3.13
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-pointer-lifecycle-ownership-invariant
backendcritical

Bun 1.2 Native C-FFI Pointer Lifecycle, Ownership Invariant, and Finalization Registry

Enforces strict pointer ownership boundaries, deterministic deallocation, and safe buffer wrapping when bridging native C-FFI dynamic libraries with Bun 1.2's JavaScriptCore (JSC) runtime. Prevents double-free vulnerabilities, use-after-free corruption, and untracked native heap exhaustion caused by mismatched allocator ownership and asynchronous garbage collection cycles.

Blocks:Implicit Pointer Ownership and Untracked Native Deallocation in Bun FFI Interfaces
Targets:Cursor•Claude•Windsurf•Codex
pg17-incremental-backup-lsn-alignment
backendcritical

PostgreSQL 17 Block-Level Incremental Backup LSN Monotonicity and Synthetic Full Alignment

PostgreSQL 17 native block-level incremental backups depend on contiguous, monotonically increasing Log Sequence Numbers (LSN) recorded across successive pg_combinebackup manifests. Orchestration layers must strictly validate that an incremental backup's start LSN exactly matches or precedes the prior backup's stop LSN and verifies pg_waldump consistency before synthesising a full backup, preventing silent corruption during point-in-time recovery (PITR).

Blocks:Unvalidated LSN Gap in Incremental Backup Chains and Blind pg_combinebackup Execution
Targets:Cursor•Claude•Windsurf•Codex
axum-graceful-streaming-socket-teardown-standard
backendcritical

Axum 0.8 Graceful Streaming Socket Handoff and Teardown Standard

Enforces deterministic, synchronized draining for long-lived Server-Sent Events (SSE) and WebSocket connections during Axum 0.8 service shutdown. Prevents abrupt connection severing and client reconnect storms during zero-downtime rolling deployments by combining readiness probe flipping, explicit protocol-level teardown frames (WS 1001 Going Away), and bounded cancellation tokens.

Blocks:Uncoordinated Axum Shutdown Abruptly Dropping Active Streaming Clients via SIGKILL or TCP RST
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-reader-isolation-invariant
backendcritical

Bun 1.2 Native SQLite WAL Concurrent Reader Isolation and Checkpoint Invariant

Enforces architectural isolation between single-writer and multi-reader connections in Bun 1.2 native SQLite ('bun:sqlite'). Prevents event loop thread contention, SQLite lock starvation (SQLITE_BUSY), and unbounded write-ahead log (WAL) checkpoint latency under high-throughput concurrent loads.

Blocks:Monolithic bun:sqlite Handle Sharing Mixed Read-Write Queries Without WAL Isolation and Busy Timeouts
Targets:Cursor•Claude•Windsurf•Codex
wasi-p2-capability-sandboxing-guardrail
backendcritical

WASI 0.2 Component Model Capability Sandboxing Guardrail

Enforces strict capability-based security boundaries for third-party WebAssembly components running in multi-tenant edge runtimes under WASI 0.2 (Preview 2). Prohibits ambient authority by requiring explicit, per-instance capability tokens for virtualized filesystem, network sockets, and environment variables. Guarantees deterministic memory limits and isolated linear memory heaps to eliminate cross-tenant data leakage and remote host compromise.

Blocks:Ambient Host Access & Unbounded Linear Memory in Multi-Tenant Plugin Execution
Targets:Cursor•Claude•Windsurf•Codex
bun-native-cluster-zero-copy-ipc-standard
backendcritical

Bun 1.2 Cluster Zero-Copy ArrayBuffer Transfer Standard

Enforces strict binary IPC memory transfer invariants across Bun 1.2 cluster worker threads to eliminate structured clone serialization overhead. Mandates the transfer list pattern with transferable ArrayBuffers alongside binary framing protocols for multi-core gateway routing. Prohibits deep JSON object cloning across IPC channels and eliminates post-transfer detached buffer access faults.

Blocks:Serializing JSON Objects Across Worker IPC Causing Serialization Latency Spikes and GC Pressure
Targets:Cursor•Claude•Windsurf•Codex
sqlalchemy-async-taskgroup-greenlet-context-guardrail
backendcritical

Async SQLAlchemy 2.0 Greenlet Context Leak & TaskGroup Isolation Guardrail

Enforces strict isolation of SQLAlchemy 2.0 AsyncSession instances across concurrent tasks inside Python 3.11+ asyncio.TaskGroup and AnyIO task groups within FastAPI. Prohibits sharing a single AsyncSession across child coroutines to prevent greenlet context corruption, cross-task connection state bleed, and 'concurrent operations are not permitted on a single Session' runtime exceptions.

Blocks:Sharing a Request-Scoped AsyncSession across Concurrent TaskGroup Child Coroutines
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hnsw-pgvector-memory-ceiling-guardrail
backendcritical

Postgres 17 HNSW pgvector Incremental Indexing Memory Ceiling Invariant

Enforces strict resource isolation and buffer ceilings during concurrent pgvector HNSW incremental indexing in Postgres 17. Guarantees transactional query latency by capping maintenance_work_mem, throttling WAL generation, and routing vector ingest through rate-governed micro-batches with transaction-scoped timeouts.

Blocks:Unbounded concurrent vector insertions triggering HNSW graph traversal OOMs and WAL saturation spikes that degrade primary OLTP latency.
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-per-tenant-adaptive-concurrency-limit-standard
backendcritical

Axum Tower Per-Tenant Dynamic Backpressure & Adaptive Concurrency Standard

Mandates per-tenant adaptive concurrency limits and bounded fair queuing within Axum/Tower middleware stacks using gradient or AIMD algorithms. Eliminates multi-tenant noisy-neighbor tail-latency collapse and starvation by shedding excessive tenant load with HTTP 429 before saturation propagates to shared Tokio runtimes and downstream database pools.

Blocks:Global Static Concurrency Limits and Unbounded Per-Tenant Queues Causing Tokio Worker Starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-partitioned-hnsw-concurrency-control
backendcritical

Postgres 17 Partitioned HNSW Vector Scan Concurrency and Memory Guardrails

Enforces strict query-level work memory limits, sub-partition pruning invariants, and worker concurrency caps for Postgres 17 pgvector HNSW index scans. Prevents shared buffer lock convoying, out-of-memory worker terminations, and excessive buffer pin contention during hybrid RAG vector searches.

Blocks:Unbounded Scatter-Gather HNSW Index Scans Across Partitions Inducing Buffer Lock Convoys
Targets:Cursor•Claude•Windsurf•Codex
drizzle-orm-relational-graph-expansion-chunking-guardrail
backendcritical

Drizzle ORM Relational Graph Expansion Chunking & Parameter Limit Guardrail

Enforces strict chunked parameter batching and bounded concurrency when executing dynamic relational graph expansions and multi-entity 'inArray' subqueries in Drizzle ORM. Prevents exceeding database engine parameter ceilings (PostgreSQL 65,535, SQLite 999/32,766) and guards against serverless heap exhaustion caused by uncontrolled deserialization of oversized relational graphs.

Blocks:Unbounded Array Injection in Relational 'with' Clauses and inArray Predicates Causing Parameter Overflow or Serverless OOM
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-structured-taskgroup-boundary
backendcritical

FastAPI 0.115+ AnyIO TaskGroup Structured Concurrency Boundary

Enforces strict structured concurrency in FastAPI 0.115+ lifespans and background tasks using anyio.create_task_group. Eliminates dangling coroutines and unhandled ExceptionGroups across shutdown cycles by establishing rigid cancellation scopes and exception propagation boundaries.

Blocks:Spawning Unmanaged Background Tasks via asyncio.create_task Inside Lifespans or Endpoints
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-kernel-drain-backpressure-invariant
backendcritical

Bun 1.2 Native WebSocket Kernel Drain and Backpressure Invariant

Enforces strict backpressure synchronization on Bun 1.2+ native WebSockets by monitoring kernel socket buffer write return values and hooking the native drain lifecycle event. Prevents silent heap exhaustion, uninhibited queue amplification, and process OOM crashes under gigabit-scale broadcast or streaming workloads.

Blocks:Unchecked fire-and-forget ws.send() calls causing unbounded memory buffering during slow client drain
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal2-checkpoint-concurrency-standard
backendcritical

Bun 1.2 Native SQLite WAL2 Multi-Worker Checkpoint Concurrency Standard

Enforces deterministic multi-threaded SQLite access in Bun 1.2 using dual-log WAL2 mode with isolated worker connection pools. Prevents read-lock starvation and WAL file bloat during microsecond-latency event-sourcing ingest by isolating checkpoint operations to an autonomous maintenance worker.

Blocks:Inline Checkpointing and Standard WAL Reader Starvation in Shared SQLite Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
go-chi-quic-0rtt-anti-replay-barrier
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Idempotency Barrier

Enforces a cryptographic sliding-window verification barrier and strict idempotency checks on HTTP/3 (QUIC) Early Data requests in Go Chi services. Eliminates replay attack vectors before unvalidated 0-RTT payloads reach application handlers, preventing state-mutating double-execution.

Blocks:Exposing mutating or unvalidated handlers to raw HTTP/3 0-RTT Early Data without cryptographic replay detection
Targets:Cursor•Claude•Windsurf•Codex
go-chi-h2-bounded-stream-multiplexing
backendcritical

Go 1.24 Chi Coroutine-Bounded HTTP/2 Stream Multiplexing Invariant

Enforces bounded execution rings and strict stream concurrency limits on Go 1.24 Chi HTTP/2 ingress handlers. Mitigates goroutine heap inflation and socket starvation during saturated multiplexed ingress by restricting in-flight stream execution through backpressure-aware worker pools and semaphore rings.

Blocks:Unbounded Per-Stream Goroutine Spawning Under Saturated HTTP/2 Transport Ingress
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-concurrent-snapshot-barrier
backendcritical

Bun 1.2 Embedded SQLite WAL Concurrent Snapshot Barrier & Checkpoint Isolation

Enforces strict snapshot barrier boundaries and deterministic WAL (Write-Ahead Logging) checkpoint synchronization across multi-threaded or isolated Bun worker processes sharing embedded SQLite storage. Prevents unbounded WAL frame expansion, SQLITE_BUSY lock contention, and read-lock checkpoint starvation by establishing explicit transaction scopes, optimal PRAGMAs, and barrier-isolated checkpoint scheduling.

Blocks:Uncoordinated Multi-Worker SQLite Access with Passive Checkpoint Starvation and Long-Lived Ambient Transactions
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-analytical-scan-guardrail
backendcritical

Postgres 17 Direct I/O and Buffer Ring Invariant for Analytical Scans

Enforces architectural isolation and Direct I/O bypass for high-throughput sequential scans in PostgreSQL 17. Prevents cold analytical batch reads from thrashing shared_buffers and evicting high-frequency OLTP working sets and active B-tree index pages.

Blocks:Polluting Shared Buffer Pool via Unbounded Analytical Sequential Scans on OLTP Instances
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-sync-invariant-postgres-17-fail-725
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization Guardrail

Enforces failover-ready logical replication architectures on PostgreSQL 17+ by mandating synchronized replication slots (`sync_replication_slots = true`), physical standby slot retention (`standby_slot_names`), and persistent `failover = true` creation flags. This architectural invariant eliminates data loss, duplicate stream processing, and expensive full-table resynchronizations when downstream logical subscribers transition across promoted physical standby replicas during primary node failover.

Blocks:Unsynchronized Logical Slots and Missing Standby Slot Coordinates Leading to Broken Replication Streams on Failover
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-concurrency-isolation-standard
backendcritical

Bun 1.2 Native SQLite Concurrency, WAL Mode, and Checkpoint Isolation Standard

Enforces deterministic SQLite concurrency settings on Bun 1.2 runtimes by mandating Write-Ahead Logging (WAL), busy timeout thresholds, immediate transaction semantics, and background checkpoint management. This prevents write-lock starvation (SQLITE_BUSY) and unbounded WAL journal bloat during concurrent edge operations.

Blocks:Unconfigured Rollback Journals with Deferred Transaction Escalation and Unmonitored WAL Growth
Targets:Cursor•Claude•Windsurf•Codex
go-chi-zero-allocation-context-lifecycle-guardrail
backendcritical

Go Chi Context Lifecycle and sync.Pool Cross-Request Memory Leak Prevention

Enforces strict context decoupling and allocation controls when routing with go-chi/chi/v5 in ultra-high-throughput Go microservices. Prevents severe data races and memory contamination stemming from chi's internal sync.Pool context reuse when goroutines outlive the HTTP request lifecycle.

Blocks:Retaining or Spawning Goroutines with Raw Chi Request Context Causing sync.Pool Data Race and Memory Contamination
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tokio-graceful-drain-fencing
backendcritical

Axum 0.8 Tokio Graceful Drain and In-Flight Request Cancellation Fencing

Guarantees deterministic zero-downtime rolling deployments in Axum 0.8 by coordinating TCP socket shutdown deadlines with hierarchical Tokio task cancellation fences. Eliminates connection drops, half-closed socket leaks, and uncommitted database writes during SIGTERM lifecycle phases.

Blocks:Unbounded Process Exit via Detached Tokio Spawns and Unshielded Axum Shutdown Signals
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-streaming-read-saturation-guardrail
backendcritical

Postgres 17 Direct I/O and Streaming Read Buffer Saturation Guardrail

Enforces strict concurrency, prefetch limits, and pool isolation on Postgres 17 streaming reads and Direct I/O operations. Prevents aggressive asynchronous read-ahead routines from saturating kernel I/O pipelines, triggering shared buffer eviction cascades, and starving latency-critical OLTP transactions. Ensures analytical or bulk scans apply session-level prefetch throttling and bypass primary OLTP connection pools.

Blocks:Unbounded Streaming Sequential Scans Evicting Hot OLTP Shared Buffers and Saturating Disk I/O
Targets:Cursor•Claude•Windsurf•Codex
openfga-temporal-expiration-cdc-consistency-standard
backendcritical

OpenFGA Temporal Tuple Expiration and CDC Stream Consistency Standard

Guarantees zero-lag authorization decisions by synchronizing short-lived contextual access grants with transactional Change Data Capture (CDC) invalidation events. Eliminates race conditions between transactional database state changes and OpenFGA authorization checks by enforcing transactional outbox patterns, context-driven condition validation, and idempotent stream reconciliation.

Blocks:Asynchronous direct OpenFGA writes bypassing transactional boundaries or relying on background polling for tuple revocation
Targets:Cursor•Claude•Windsurf•Codex
axum-gradient-backpressure-shedding
backendcritical

Axum 0.8 Dynamic Gradient Concurrency Limiting and Adaptive Shedding

Mandates dynamic, gradient-based concurrency limits via Tower middleware in Axum 0.8 services to preemptively shed low-priority requests based on observed RTT drift. Prevents Tokio multi-threaded executor queue saturation and cascading tail latency collapse under burst traffic.

Blocks:Static Concurrency Caps and Unbounded Tower Layers Leading to Tokio Worker Starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hnsw-parallel-memory-budget-standard
backendcritical

Postgres 17 Bounded-Memory Parallel HNSW Index Build Guardrail

Enforces strict mathematical bounds on parallel worker allocation and session-scoped maintenance_work_mem during pgvector HNSW index builds in Postgres 17. Prevents container OOM terminates by calculating max worker memory against container cgroup limits before triggering asynchronous index builds on high-cardinality embedding tables.

Blocks:Global Unbounded maintenance_work_mem and max_parallel_maintenance_workers Leading to Container Cgroup OOM Kills During HNSW Construction
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-alloc-ring-buffer-tls-pooling
backendcritical

Zero-Allocation Ring-Buffer Arena Pooling for Bun TLS/WebSocket Sockets

Enforces pre-allocated, contiguous SharedArrayBuffer ring-buffer memory arenas recycled across Bun 1.2 TLS WebSocket connections. Prevents V8/JSC major GC pauses under sustained million-connection loads by eliminating per-packet heap allocations, slicing, and transient Buffer creation in high-throughput socket I/O loops.

Blocks:Allocating transient Buffers or sub-slices per incoming TLS/WebSocket frame, inducing catastrophic GC stop-the-world spikes under load.
Targets:Cursor•Claude•Windsurf•Codex
bun-native-asyncdisposable-handle-cleanup
backendcritical

Bun 1.2 Deterministic Handle Lifecycle via TC39 AsyncDisposable Invariant

Enforces deterministic native handle cleanup across high-throughput streaming RPCs and file I/O using Bun 1.2 TC39 Explicit Resource Management. Prevents catastrophic file descriptor exhaustion (EMFILE/ENFILE) and native C++ handle leaks caused by non-deterministic V8/JSC garbage collection cycles.

Blocks:Manual handle tracking or GC-reliant disposal in high-throughput streaming RPC pipelines
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-createsubscriber-consensus-guardrail
backendcritical

PostgreSQL 17 pg_createsubscriber Blue/Green Consensus & Zero-Downtime Slot Alignment

Mandates deterministic LSN catch-up verification, connection pooler fencing, and sequence state synchronization when promoting physical standbys to logical subscribers via PostgreSQL 17 pg_createsubscriber. Prevents split-brain mutations, logical slot divergence, and sequence ID collisions during zero-downtime blue/green database upgrades.

Blocks:Executing pg_createsubscriber without connection fencing, LSN catch-up verification, and sequence synchronization
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-cancellation-socket-drain-guardrail
backendcritical

Axum 0.8 Deterministic Async Cancellation & Graceful Stream Socket Drain

Enforces strict cancellation safety and deterministic resource cleanup within Axum 0.8 and Hyper streaming handlers. Eliminates database transaction pool starvation, stale locks, and partial state mutations caused by silent future drops during abrupt HTTP/3 QUIC connection resets.

Blocks:Bare Transaction Handles and Unshielded Asynchronous Finalization in Droppable Stream Contexts
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-decoding-memory-spooling-quota
backendcritical

Postgres 17 Logical Decoding Spooling & Work Memory Quota Enforcement

Enforces strict memory boundary quotas (logical_decoding_work_mem) and batch chunking invariants to prevent catastrophic primary node Out-Of-Memory (OOM) cascades during logical replication. Uncommitted transactions in write-heavy workloads accumulate changes in the PostgreSQL ReorderBuffer; without bounded work memory and deterministic spill-to-disk policies, walsender processes exhaust host virtual memory. Applications and migrations must enforce bounded mutation transaction sizes and verify replication slot spill telemetry.

Blocks:Executing unchunked bulk DML inside long-lived transactions under unbounded logical_decoding_work_mem, exhausting walsender memory and inducing primary OOM crashes
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-read-starvation-guardrail
backendcritical

Bun 1.2 Native SQLite Concurrent WAL Read-Starvation Prevention Guardrail

Enforces connection segregation between single-writer and multi-reader connections in Bun 1.2 native SQLite, preventing high-throughput or analytical reads from holding persistent read locks that stall WAL checkpointing. Guarantees deterministic WAL frame reclamation and bounded write latencies by mandating non-blocking checkpoint strategies and read transaction boundaries.

Blocks:Executing long-running or unbounded queries on shared SQLite connections, blocking WAL checkpoints and starving write transactions.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-rust-zero-copy-deserialization-standard
backendcritical

FastAPI / Pydantic v2 Rust Zero-Copy Deserialization Standard

Eliminates GC pressure and heap fragmentation under heavy streaming ingestion by pinning typed memory buffers across the Python-Rust C-ABI boundary. Standardizes direct buffer validation via pydantic-core's Rust extension and memoryview borrowing to bypass intermediate Python string and dictionary allocations during high-throughput I/O.

Blocks:Buffer-Duplicating Intermediate Python Decodes During High-Throughput Streaming Ingestion
Targets:Cursor•Claude•Windsurf•Codex
axum-08-adaptive-load-shedding-concurrency-guardrail
backendcritical

Axum 0.8 Adaptive Load-Shedding & Concurrency Guardrail

Protects async Tokio worker runtimes from saturation-driven tail-latency collapse using Little's Law latency-gradient backpressure middleware. Under saturation, queuing requests internally causes latency inflation and thread starvation; systems must reject excess traffic at the ingress boundary using dynamically adjusted inflight limits and immediate HTTP 503 Service Unavailable responses with Retry-After headers.

Blocks:Static Concurrency Caps and Unbounded Queue Buffering Inducing Tokio Worker Starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-adaptive-hash-join-memory-spilling-guardrail
backendcritical

Postgres 17 Adaptive Hash-Join Memory Allocation and Spill Protection Guardrail

Enforces strict transaction-scoped memory budgeting and concurrency-aware work_mem calibration for Postgres 17 analytical hash joins. Prevents memory over-commit, OS OOM-killer interventions, recursive disk spilling, and buffer pool eviction storms caused by unconstrained multi-batch joins and parallel worker multiplication.

Blocks:Global or Blind Per-Query work_mem Elevation on Concurrent Analytical Joins Leading to OOM or Temp Disk Thrashing
Targets:Cursor•Claude•Windsurf•Codex
pg17-streaming-io-prefetch-starvation-fence
backendcritical

PostgreSQL 17 Streaming I/O Prefetch & Buffer Starvation Dynamic Fence

Enforces dynamic calibration of PostgreSQL 17 streaming I/O prefetch depth and parallel worker allocation against active shared_buffers pressure and dirty page writeback ratios. Prevents parallel sequential scan workers from aggressively issuing speculative prefetch requests that displace transactional hot sets and trigger kernel-level page cache eviction storms. Mandates adaptive session-level GUC fencing and synchronized buffer-ring containment for concurrent analytical workloads.

Blocks:Unbounded Parallel Streaming Prefetch Saturating Buffer Rings and Evicting Transactional Working Sets
Targets:Cursor•Claude•Windsurf•Codex
axum-streamed-payload-spooling-memory-ceiling
backendcritical

Axum 0.8 Streamed Payload Spooling & Memory Ceiling Guardrail

Mandates strict non-buffering chunk-size enforcement and ephemeral disk-spool failover mechanisms for Axum 0.8 streaming endpoints. Prevents process-level Out-of-Memory (OOM) crashes and heap exhaustion vulnerabilities arising from unbounded chunked transfer encodings and uncontrolled async payload buffering.

Blocks:Unbounded In-Memory Body Accumulation and Unmetered Stream Buffering
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-zero-copy-arraybuffer-standard
backendcritical

Bun 1.2 Native SQLite Zero-Copy ArrayBuffer Transfer Standard

Restricts multi-threaded Bun 1.2 worker interactions reading from bun:sqlite to zero-copy ArrayBuffer transfer lists or SharedArrayBuffer views. Eliminates structured-clone serialization latency and V8/JSC heap allocation overhead across high-throughput OLTP read paths. Enforces raw binary transfer protocols over object-graph messaging across thread boundaries.

Blocks:Passing Structured Object Arrays Across Bun Worker Boundaries Causing Deep Serialization Latency
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-synctest-virtual-clock-determinism-standard
backendcritical

Go 1.24 synctest Synthetic Bubble & Virtual Clock Determinism Standard

Enforces isolated synthetic time bubbles using Go 1.24's testing/synctest package across concurrent microservice actor and integration suites. Eliminates non-deterministic wall-clock sleeps, flaky channel polling loops, and real-time race conditions in deadline-sensitive state machines. Guarantees that goroutines within tests advance virtual time instantaneously upon durable blockage without leaking goroutines beyond the bubble boundary.

Blocks:Non-Deterministic Wall-Clock Sleep and Arbitrary Channel Polling in Concurrent Integration Tests
Targets:Cursor•Claude•Windsurf•Codex
postgres17-json-table-memory-spill-quota
backendcritical

PostgreSQL 17 JSON_TABLE Memory Spill and Nested Path Materialization Quota

Enforces deterministic memory quotas and relational materialization boundaries on PostgreSQL 17 SQL/JSON JSON_TABLE projections. Prevents query engine backend OOM kills by restricting unbounded NESTED PATH expansions on dynamic JSONB payloads and enforcing transaction-local work_mem, temp_file_limit, and typed column width boundaries.

Blocks:Unbounded Nested JSON_TABLE Projections Without Local Memory and Spill Controls Triggering Backend OOM
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-checkpoint-starvation-fence
backendcritical

Bun 1.2 Embedded SQLite WAL Checkpoint Starvation Fence & Deterministic Read Scopes

Enforces zero-async execution within SQLite transactions, eager cursor materialization, and proactive WAL checkpoint fencing in Bun 1.2. Prevents unbounded Write-Ahead Log disk ballooning and checkpoint deadlocks caused by microtask-delayed read locks holding the SQLite WAL read mark open.

Blocks:Interleaving Async Microtasks Across Open Read Cursors Causing WAL Checkpoint Starvation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-hints-speculative-pipeline-standard
backendcritical

Deterministic RFC 8297 Early Hints Pipeline Synchronization on HTTP/3 QUIC Streams

Mandates strict synchronization, context propagation, and flow-control limits when dispatching RFC 8297 103 Early Hints across concurrent HTTP/3 QUIC streams in Go Chi services. Prevents transport stream deadlocks, data races on non-thread-safe response writers, and QUIC connection window exhaustion from unconstrained speculative pipeline tasks.

Blocks:Unsynchronized Speculative 103 Early Hints Dispatching Concurrently with Terminal Response Generation
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-cancellation-and-socket-draining
backendcritical

Axum 0.8 Tower Service Graceful Cancellation and Socket Draining

Enforces deterministic upstream socket draining, cancellation safety, and connection lifecycle management in Axum 0.8 and Hyper 1.x. Prevents TCP socket descriptor leaks, buffer starvation, and half-open connection accumulation during high-concurrency client disconnect storms.

Blocks:Unbounded Body Drops and Non-Cancellation-Safe Select Loops Causing Socket Starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-combine-limit-guardrail
backendcritical

PostgreSQL 17 Streaming Read Concurrency and io_combine_limit Invariant

PostgreSQL 17 introduces block-level streaming read infrastructure that aggressively prefetches sequential blocks to maximize I/O throughput. In multi-terabyte analytics and parallel scan workloads, unbounded prefetching collapses kernel page cache and evicts hot shared_buffers blocks, resulting in severe latency spikes. All database pool configurations, analytics runners, and cluster definitions must bound io_combine_limit and session-level read streams to match storage block sizes and controller queue depths.

Blocks:Unbounded Streaming Prefetch and Default io_combine_limit Causing Shared Buffer and Page Cache Eviction
Targets:Cursor•Claude•Windsurf•Codex
bun-v12-chunked-zero-alloc-backpressure
backendcritical

Bun 1.2 Chunked Transfer Zero-Allocation Backpressure Standard

Enforces synchronous socket backpressure propagation to upstream streaming producers across Bun 1.2 HTTP servers and TCP/TLS sockets. Mandates non-allocating chunk emission patterns, consumption of direct ArrayBuffer views via Native ReadableStream controllers, and absolute avoidance of unbounded async push queues during gigabyte-scale transfers.

Blocks:Unbounded Push-Style Streaming Causing Silent Heap Bloat and Process OOM
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-slot-synchronization-standard
backendcritical

PostgreSQL 17 Failover Slot Synchronization High-Availability Standard

Enforces seamless logical CDC replication persistence across physical replica failovers using PostgreSQL 17 logical failover slots and synchronized standby slots. Ensures upstream applications create replication slots with `failover = true`, mandates primary `synchronized_standby_slots` alignment to prevent slot advance beyond standby LSN boundaries, and configures standbys with `sync_replication_slots = true` to prevent data loss or duplicate streaming upon promotion.

Blocks:Unsynchronized Logical Slots and Uncoordinated LSN Advance Leading to CDC Split-Brain or Slot Eviction Upon Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
bun-multi-worker-zero-copy-socket-handoff-standard
backendcritical

Bun 1.2 Zero-Copy TCP Socket Handoff and Kernel-Level Load Balancing

Enforces Bun 1.2 native zero-copy TCP socket architecture across clustered worker threads. Eliminates redundant user-space byte buffering, stream proxying, and IPC serialization by delegating socket distribution directly to the OS kernel via SO_REUSEPORT or Bun native socket transfers.

Blocks:User-Space Request Proxying and Stream Buffering Across Bun Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-swissmap-request-scope-allocation-invariant
backendcritical

Go 1.24 Swiss Tables Map Request Scope Allocation and Clear Semantics

Enforces zero-allocation reuse and optimal layout for Go 1.24 Swiss Table map architectures in ultra-high-throughput request pipelines. Prevents request-scoped heap reallocations, un-pre-sized map expansion storms, and improper pointer retainment by mandating clear() semantics and sync.Pool amortizations under million-RPS concurrency.

Blocks:Ephemeral Request-Scoped Map Instantiations Causing GC Churn and Memory Reallocation Under High Concurrency
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-cdc-synchronization
backendcritical

PostgreSQL 17 Logical Replication Failover Slot Synchronization Guardrail

Enforces failover-enabled logical replication slots ('failover = true') and physical standby synchronization ('sync_replication_slots = on') introduced in PostgreSQL 17. Eliminates orphaned slots and duplicate change data capture (CDC) streams during physical standby failovers by strictly locking LSN boundaries across the cluster.

Blocks:Orphaned Logical Slots on Standby Promotion Triggering CDC Duplication or WAL Data Loss
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-worker-threadpool-circuit-breaker
backendcritical

FastAPI AnyIO Worker Thread Pool Offloading and Concurrency Shedding Circuit Breaker

Uninstrumented synchronous I/O and intensive CPU-bound serialization inside async FastAPI handlers cause severe asyncio event loop starvation and thread pool starvation. This standard mandates explicit offloading to AnyIO worker thread pools governed by an isolated CapacityLimiter and an adaptive circuit breaker that sheds load before thread worker queue saturation degrades service reliability.

Blocks:Executing blocking I/O or heavy Pydantic serialization directly in async def handlers or unbounded run_in_threadpool invocations.
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-bounded-body-buffer-rejection-standard
backendcritical

Axum 0.8 Tower Service Layer Bounded Body Buffer Rejection Standard

Enforces deterministic byte bounds at the Tower service middleware boundary prior to any request deserialization or extractor evaluation in Axum 0.8 applications. Unbounded or handler-deferred body buffering exposes the transport layer to heap fragmentation, slowloris byte-drip exhaustion, and memory exhaustion DoS vectors under peak concurrency. Strict adherence ensures requests exceeding payload constraints are terminated with HTTP 413 at the I/O stream level before triggering heap allocations.

Blocks:Handler-Level Deferred Buffering and Unbounded Byte Stream Consumption Permitting Transport Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-streaming-multipart-memory-spill
backendcritical

FastAPI 0.115 Async Streaming Multipart Memory-Spill Guardrail

Enforces strict chunked streaming directly to bounded disk spillover buffers before parsing or validating multipart payloads. Prevents catastrophic event-loop blocking and Out-Of-Memory (OOM) process termination during high-concurrency uploads. Guarantees that neither Starlette's default form-data parser nor Pydantic models buffer untrusted, unbounded binary streams in the Python process heap.

Blocks:Buffering Arbitrary Multipart Payloads into Process Heap via Unbounded UploadFile Reads or Direct Pydantic Ingestion
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http2-stream-timeout-decoupling
backendcritical

Decoupled Per-Stream Idle Deadlines for Multiplexed HTTP/2 in Go Chi

Enforces granular, per-stream idle read deadlines and stream concurrency limits within Go Chi HTTP/2 services. Prevents slowloris-style stream starvation attacks and ensures that stalled individual stream payloads do not trigger global TCP connection resets across concurrent multiplexed pipelines.

Blocks:Global TCP Read Deadlines and Unbounded Body Reads on Multiplexed HTTP/2 Connections
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-hyper-v1-multiplex-stream-drain-barrier
backendcritical

Axum 0.8 / Hyper v1 Deterministic Multiplexed Stream Graceful Drain Barrier

Enforces deterministic cancellation propagation and controlled HTTP/2 and HTTP/3 multiplex stream drainage during Kubernetes rolling updates. Prevents dropped in-flight requests, connection reset errors (RST_STREAM/GOAWAY races), and half-open socket leaks when pods transition into Terminating state before ingress re-routing completes.

Blocks:Naive axum::serve with_graceful_shutdown dropping in-flight HTTP/2 streams and racing SIGTERM ingress pruning
Targets:Cursor•Claude•Windsurf•Codex
go-chi-quic-0rtt-anti-replay-idempotency
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Idempotency Barrier

Enforces a strict idempotency and early data rejection barrier for HTTP/3 connections using Go and Chi. QUIC 0-RTT allows early application data frames to be sent prior to the completion of the 1-RTT cryptographic handshake, exposing state-mutating HTTP methods to network-level replay attacks. The guardrail guarantees that unsafe HTTP requests arriving in early data are intercepted and rejected with HTTP 425 (Too Early) or validated through an atomic, distributed replay cache.

Blocks:Executing Non-Idempotent HTTP Handlers on Unvalidated 0-RTT QUIC Early Data
Targets:Cursor•Claude•Windsurf•Codex
pgbouncer-1-24-named-prepared-statement-decollision-invariant
backendcritical

PgBouncer 1.24 Named Prepared Statement Session De-Collision Invariant

Enforces deterministic statement naming isolation and client-driver configurations under PgBouncer 1.24 transaction pooling. Precludes cross-tenant query plan pollution, cache collisions, and statement leakage caused by static statement identifiers across multiplexed backend server sessions. Mandates parameterized unnamed execution or cryptographically collision-free tenant-namespaced statement hashing.

Blocks:Cross-Session Collision and Plan Poisoning via Static Named Prepared Statements in Transaction-Pooled PgBouncer
Targets:Cursor•Claude•Windsurf•Codex
axum-08-graceful-drain-http2-lease-standard
backendcritical

Axum 0.8 Graceful Connection Drain & HTTP/2 In-Flight Lease Standard

Enforces a multi-phase graceful shutdown protocol for Axum 0.8 services handling HTTP/1.1 and HTTP/2 multiplexed traffic during orchestrator rolling restarts. Prevents dropped in-flight streaming connections and socket reset (RST) spikes by coordinating Kubernetes readiness lameduck delays, explicit stream lease tracking, and hyper-util connection draining bounds.

Blocks:Immediate SIGTERM Termination with Naive with_graceful_shutdown Triggering Ingress RST-502 Cascades
Targets:Cursor•Claude•Windsurf•Codex
pg17-adaptive-workmem-hash-join-spill-guardrail
backendcritical

PostgreSQL 17 Adaptive WorkMem Capping and Hash Join Spilling Guardrail

Enforces strict transaction-scoped memory budgeting for PostgreSQL 17 hash joins and hybrid vector-analytical workloads. Prevents Linux kernel Out-Of-Memory (OOM) killer terminations by replacing static global session work_mem overrides with dynamic, concurrency-aware SET LOCAL boundaries that force deterministic batch spilling to disk.

Blocks:Unbounded Session-Level work_mem Escalation During Concurrent Parallel Hash Joins
Targets:Cursor•Claude•Windsurf•Codex
fastapi-event-loop-starvation-pydantic-quarantine
backendcritical

FastAPI Async Event Loop Quarantine for High-Throughput Pydantic v2 Parsing

Enforces deterministic event loop isolation against CPU-bound Pydantic v2 serialization and deserialization bottlenecks in high-concurrency FastAPI services. Mandates that unbounded collections, multi-megabyte payloads, and nested schemas bypass the primary asyncio event loop through threadpool offloading (`anyio.to_thread.run_sync`) or synchronous route signatures. Guarantees sub-millisecond event loop lag and eliminates tail-latency spikes caused by synchronous parsing stalls.

Blocks:Direct In-Loop Pydantic Deserialization of Bulk or Complex Payloads in Async Route Signatures
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal2-snapshot-concurrency
backendcritical

Bun 1.2 Embedded SQLite WAL2 Concurrency and Snapshot Isolation Standard

Enforces non-blocking concurrent edge reads during sustained write bursts using Bun 1.2 native SQLite with dual write-ahead log (WAL2) mode. Eliminates reader starvation and SQLITE_BUSY deadlocks by segregating read-only and write connections while maintaining transactional snapshot isolation.

Blocks:Shared Read-Write Database Handles Operating on Standard Single-WAL Checkpoints
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-graceful-websocket-drain-fencing
backendcritical

Axum 0.8 Graceful WebSocket Drain-Fencing Standard

Enforces deterministic drain-fencing and cooperative task teardown for bi-directional WebSocket streams in Axum 0.8 during cluster rollouts. Prevents dropped frames, dangling Tokio tasks, and broker desynchronization by decoupling socket upgrades from unmonitored runtime tasks using tokio_util::task::TaskTracker and broadcast cancellation tokens.

Blocks:Spawning Unfenced Tokio Tasks for WebSocket Upgrades Without Cooperative Drain Propagation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-decoding-memory-throttling
backendcritical

PostgreSQL 17 Logical Decoding Memory Throttling & WAL Sender Protection

Enforces strict chunking and transactional boundaries for high-throughput batch operations alongside deterministic PostgreSQL 17 logical decoding memory allocations (`logical_decoding_work_mem`). Prevents unbounded memory reassembly in `walsender` background processes, eliminating Out-Of-Memory (OOM) process termination and replication lag amplification during high-velocity write spikes.

Blocks:Monolithic Batch Transactions Exhausting WAL Sender logical_decoding_work_mem and Triggering Host OOM
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-di-deadlock-guardrail
backendcritical

FastAPI Async Dependency Injection Concurrency and Deadlock Guardrail

Enforces strict isolation between asynchronous event loop contexts and blocking synchronous I/O operations within FastAPI dependency injection graphs. Prevents complete asyncio event loop starvation, threadpool deadlocks, and worker worker-hang cascades by mandating fully non-blocking asynchronous drivers or explicit offloading via anyio.to_thread.run_sync.

Blocks:Calling blocking I/O calls directly within async def dependencies or mixing synchronous database engines into async endpoint execution graphs
Targets:Cursor•Claude•Windsurf•Codex
go124-swiss-table-map-compaction-guardrail
backendcritical

Go 1.24 Swiss Table Map Memory Compaction & Retention Guardrail

Enforces strict heap compaction and pointer-swap lifecycles for Go 1.24+ Swiss Table-backed maps in long-lived concurrent key-value caches. Prevents unbounded high-water-mark heap retention, group directory fragmentation, and tail-latency degradation caused by iterative key deletion across burst-and-purge cycles.

Blocks:In-Place Iterative Deletion on Peak-Scaled Maps Retaining Peak Memory Footprint Indefinitely
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-asynclocalstorage-context-isolation-bun-1-2-asyncloc-178
backendcritical

Bun 1.2 AsyncLocalStorage Tenant Context Isolation Across Worker Boundaries

Enforces strict tenant context serialization, manual rehydration, and explicit lifecycle boundary isolation when propagating AsyncLocalStorage instances across Bun 1.2 worker thread boundaries. Prevents cross-tenant context bleeding, silent trace dropping, and unbounded heap retention in persistent worker pools.

Blocks:Implicit ALS Propagation Assumption and Leaked Shared Worker State
Targets:Cursor•Claude•Windsurf•Codex
fastapi-di-request-scope-lifecycle-fencing
backendcritical

FastAPI Dependency Injection Request-Scope Lifecycle Fencing

Enforces strict isolation between FastAPI request-scoped dependency lifecycles and asynchronous background execution. Passing request-bound yield dependencies, such as database sessions or transaction contexts, directly into BackgroundTasks or detached asyncio tasks causes race conditions, premature connection pool exhaustion, and catastrophic transaction deadlocks.

Blocks:Leaking Request-Scoped Yield Dependencies into Detached BackgroundTasks
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-adaptive-concurrency-shedding-barrier
backendcritical

Axum 0.8 Tower Adaptive Concurrency & Dwell-Time Load Shedding Guardrail

Enforces dynamic, queue-dwell-time-aware load shedding at the Tower layer in Axum 0.8 services to eliminate bufferbloat and tail-latency amplification. Prohibits static concurrency limiters and unbounded FIFO queues that process dead or expired requests during downstream saturation.

Blocks:Unbounded queuing and static concurrency limits causing bufferbloat, cascading collapse, and p99 tail latency explosion.
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-quantization-memory-ceiling
backendcritical

pgvector 0.8 HNSW Scalar Quantization & Memory Ceiling Standard

Enforces strict memory ceiling budgets and SIMD-aligned scalar quantization (halfvec/int8) for pgvector 0.8+ HNSW indexes to prevent unconstrained RAM exhaustion and kernel OOM killer termination during high-concurrency searches. Mandates deterministic index sizing validation, bounded build-time maintenance memory, and scoped runtime search constraints.

Blocks:Deploying unquantized 32-bit floating-point HNSW vector indexes without memory caps, causing catastrophic PostgreSQL worker process OOM evictions under concurrency
Targets:Cursor•Claude•Windsurf•Codex
drizzle-pgbouncer-transaction-prepared-statements-guardrail
backendcritical

Drizzle ORM PgBouncer Transaction Pooling Prepared Statement Guardrail

Enforces strict deactivation of client- and server-side prepared statements when configuring Drizzle ORM with connection poolers operating in transaction mode (e.g., PgBouncer, Supabase Pooler, Neon Pooled, AWS RDS Proxy). Eliminates catastrophic 42P05 (prepared statement already exists) and 26000 (prepared statement does not exist) runtime failures, as well as cross-tenant plan pollution caused by backend connection rotation across transactions.

Blocks:Instantiating Drizzle ORM over transaction-mode poolers with default prepared statement caching enabled
Targets:Cursor•Claude•Windsurf•Codex
temporal-workflow-determinism-ast-guardrail
backendcritical

Temporal Workflow Determinism & AST-Level Replay Invariant Guardrail

Enforces strict replay determinism on all Temporal workflow definitions to eliminate non-deterministic execution errors and durable state machine corruption. Rejects native I/O, unseeded randomness, unmanaged clocks, async concurrency escapes, and unversioned AST modifications within workflow execution scopes. Mandates that all side effects, network calls, and mutable state transitions reside exclusively within Temporal Activities or version-gated patch blocks.

Blocks:Executing Non-Deterministic System Calls, Unversioned Control Flow, or Native Timers Inside Durable Workflows
Targets:Cursor•Claude•Windsurf•Codex
bun-cgroup-v2-memory-pressure-gc-sync
backendcritical

Bun 1.2 cgroup v2 Memory-Pressure GC Synchronization Guardrail

Enforces active synchronization between Linux cgroup v2 memory.events / memory.high signals and Bun's underlying JavaScriptCore garbage collector. Containers deployed in dense orchestration platforms risk sudden SIGKILL termination without active GC triggering because JavaScriptCore's default allocation heuristics are unaware of kernel cgroup boundaries.

Blocks:Relying on Default JSC Heap Growth Inside Memory-Constrained Linux Containers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-preservation
backendcritical

Postgres 17 CDC Logical Replication Failover Slot Synchronization & Invariant Guardrail

Enforces failover-safe logical replication slots introduced in PostgreSQL 17 to prevent replication stream corruption and data gaps during planned or unplanned database failovers. Mandates that CDC subscriber services initialize slots with failover enabled, synchronize slots on physical standby replicas, and verify LSN progression before reconnecting downstream consumers. Guarantees zero data loss across physical promotions by preventing subscriber consumption past un-replicated physical WAL boundaries.

Blocks:Creating Logical Slots Without Failover Synchronization Causing Missing CDC Events and Slot Re-Creation on Replica Promotion
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-0rtt-anti-replay
backendcritical

Go 1.24 Chi HTTP/3 0-RTT Anti-Replay Idempotency Enforcement

Mandates strict rejection or deterministic idempotency caching of QUIC 0-RTT early-data requests across distributed Go Chi edge gateways. Non-safe HTTP methods delivered via 0-RTT without cryptographically validated idempotency tokens must return HTTP 425 (Too Early) to force handshake completion. Ephemeral distributed Bloom filters must deduplicate concurrent and replayed early requests within the TLS ticket validity window.

Blocks:Permitting Non-Idempotent Mutations in Unverified QUIC 0-RTT Early Data Handshakes
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-hnsw-memory-bounding-guardrail
backendcritical

PostgreSQL 17 pgvector Parallel HNSW Index Memory Bounding Invariant

Enforces deterministic memory bounds for parallel pgvector HNSW index creation on PostgreSQL 17 to prevent host OOM killer node terminations. Mandates transactional session-scoped clamps where the product of active parallel maintenance workers and maintenance_work_mem strictly respects available container headroom.

Blocks:Global maintenance_work_mem saturation causing multi-worker OOM termination during parallel HNSW builds.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-exceptiongroup-structured-concurrency
backendcritical

FastAPI AnyIO ExceptionGroup Structured Concurrency Guardrail

Enforces strict task-group boundaries and robust unwrapping of unhandled ExceptionGroups across FastAPI endpoints and AnyIO background workers. Prevents orphaned background coroutines, threadpool leakages, and silent worker loop crashes caused by unhandled multi-exception propagation across asynchronous boundaries. Mandates Python 3.11+ 'except*' or 'exceptiongroup' polyfill matching with deterministic cancellation cleanup.

Blocks:Bare asyncio.create_task and Naked AnyIO TaskGroups Crashing Worker Loops via Silently Swallowed or Unhandled ExceptionGroups
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cooperative-cancellation-propagation
backendcritical

Axum 0.8 Tokio Cooperative Cancellation Token Propagation Standard

Enforces deterministic cancellation cascades when client TCP connections terminate prematurely in Axum 0.8 services. Mandates integration of Tokio CancellationToken across asynchronous boundaries to prevent orphaned gRPC calls and lingering database operations. Guarantees immediate resource reclamation without thread exhaustion or lock contention.

Blocks:Fire-and-Forget Spawning and Zombie Task Execution on Client TCP Disconnect
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-hnsw-worker-memory-isolation-standard
backendcritical

Postgres 17 AVX-512 Vector Worker Memory Isolation Standard

Enforces strict isolation of pgvector HNSW indexing workloads utilizing AVX-512 SIMD kernels from standard OLTP shared buffers in PostgreSQL 17. By constraining index builds to dedicated maintenance worker memory rings and explicit session-scoped maintenance_work_mem ceilings, this standard eliminates shared_buffers page eviction cascades during continuous vector re-indexing. It guarantees that high-throughput OLTP query paths retain low P99 latencies without starving under memory-intensive graph construction.

Blocks:Global Unconstrained HNSW Index Construction Triggering Buffer Cache Thrashing and OOM Kills
Targets:Cursor•Claude•Windsurf•Codex
bun-standalone-vfs-sandbox-enforcement
backendcritical

Bun 1.2 Standalone Binary Embedded VFS Sandbox Enforcement

Enforces strict boundary isolation between Bun 1.2's read-only embedded Virtual File System ($bunfs) and the host operating system during standalone compiled binary execution. Prevents host filesystem breakout vulnerabilities and runtime panics caused by directory traversal out of embedded virtual roots or illegal write operations on bundled assets.

Blocks:Unchecked Path Resolution and Mutative Operations Against Bun Embedded VFS Roots
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tokio-streaming-cancellation-standard
backendcritical

Axum 0.8 In-Flight Streaming & Tokio Task Cancellation Invariant

Enforces strict RAII cancellation tokens and bounded channel draining across Axum 0.8 streaming handlers (SSE, NDJSON, and raw byte streams). Prevents zombie Tokio tasks, memory leaks, and socket descriptor exhaustion during rolling deployments and client disconnects by coupling streams to tokio_util::task::TaskTracker and CancellationToken primitives.

Blocks:Spawning detached Tokio tasks feeding unmonitored channels in SSE/streaming endpoints without cancellation coordination
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-direct-buffer-quota-standard
backendcritical

Postgres 17 Streaming I/O Direct Buffer Quota & Prefetch Bounding Standard

Enforces strict bounds on PostgreSQL 17 asynchronous streaming I/O buffer allocations and prefetching limits across pooled analytical connections. Unbounded direct block prefetching exhausts Linux page cache space and shared buffer ring allocations, evicting hot transactional pages and inducing severe tail latency spikes in OLTP paths.

Blocks:Unbounded AIO Prefetching and Global Shared Buffer Saturation During Analytical Scans
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-backpressure-buffer-shedding-cancellation
backendcritical

Axum 0.8 Backpressure Buffer Shedding & Client Disconnect Cancellation Guardrail

Enforces immediate cooperative cancellation of nested Tokio asynchronous tasks upon HTTP client disconnect in Axum 0.8 services. Mandates bounded concurrency queues with Tower LoadShed backpressure to protect executor thread pools and database connection pools from zombie compute cycles under sustained load spikes.

Blocks:Spawning detached Tokio tasks or utilizing unbounded buffers that leak CPU and I/O resources after client disconnect
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-shm-invalidation-invariant
backendcritical

Bun 1.2 SQLite WAL Shared-Memory Invalidation and Cross-Isolate Linearizability

Enforces strict linearizable read-after-write consistency across multithreaded Bun worker isolates accessing in-process SQLite databases in Write-Ahead Logging (WAL) mode. Prevents stale index snapshot reads caused by cached shared-memory (.shm) state across isolated JavaScript heaps by mandating explicit transaction boundary synchronization, memory barrier pragmas, and managed checkpoint coordination.

Blocks:Dirty Read Anomaly Across Bun Worker Isolates Due to Unsynchronized WAL Shared-Memory Reads
Targets:Cursor•Claude•Windsurf•Codex
fastapi-free-threaded-python-313-thread-safety-invariants
backendcritical

FastAPI Free-Threaded Python 3.13 Asyncio Thread-Safety Guardrails

In Python 3.13 free-threaded builds (PEP 703), the removal of the Global Interpreter Lock (GIL) enables simultaneous execution of Python bytecode across OS threads. Mutating module-level state, misusing asyncio loop primitives across worker threads, or relying on implicit GIL atomicity in FastAPI endpoints introduces critical data races, silent memory corruption, and undefined behavior.

Blocks:Unsynchronized Global Mutations and Non-Thread-Safe Async Loop Sharing Under Free-Threaded Python 3.13
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-http2-frame-buffering-backpressure-standard
backendcritical

Go 1.24 HTTP/2 Single-Flight Frame Buffering & Backpressure Guardrail

Enforces bounded memory allocations and deterministic backpressure for HTTP/2 ingress handlers in Go 1.24. Prevents memory exhaustion attacks such as Rapid Reset (RST_STREAM floods) and WINDOW_UPDATE micro-bursts by bounding frame pools, stream concurrency, and request body consumption.

Blocks:Unbounded Stream Buffer Allocation and Goroutine Leaks Under Adversarial HTTP/2 Frame Churn
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-sse-taskgroup-cancellation-invariant
backendcritical

FastAPI AnyIO SSE TaskGroup Structured Concurrency & Socket Disconnect Guardrail

Enforces strict structured concurrency using AnyIO task groups and cancel scopes for all FastAPI Server-Sent Events (SSE) and long-lived streaming endpoints. Mandates bidirectional client-disconnect listening and immediate cancellation of upstream database cursors, LLM inference streams, and background workers upon socket termination to prevent resource exhaustion and connection leaks.

Blocks:Orphaned Streaming Tasks and Unbounded Database Cursor Leaks on Silent SSE Disconnects
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-decoding-memory-guardrail
backendcritical

Postgres 17 Logical Decoding Memory Quota and CDC Throttling Guardrail

Protects Change Data Capture (CDC) replication slots from walsender out-of-memory crashes and disk spill saturation caused by unbounded bulk transactions. Enforces micro-batched transactional writes and backpressure validation against logical_decoding_work_mem limits and pg_stat_replication_slots spill metrics.

Blocks:Executing unbounded multi-row DML in single transactions that breach logical_decoding_work_mem and exhaust replication worker memory
Targets:Cursor•Claude•Windsurf•Codex
go-chi-quic-0rtt-anti-replay-bloom-standard
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay Distributed Bloom Filter Verification Standard

Enforces strict replay validation on QUIC HTTP/3 0-RTT (early data) requests in Go Chi services using synchronized distributed bloom filters and RFC 8470 compliance. Prevents transaction duplication and state-tampering attacks on edge nodes by requiring deterministic request fingerprint verification and automatic 425 Too Early down-negotiation.

Blocks:Blind Execution of HTTP/3 Early Data or Non-Distributed In-Memory Replay Checks
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-simd-buffer-isolation
backendcritical

FastAPI Pydantic V2 Zero-Copy SIMD Deserialization & Event-Loop Cooperative Isolation

Enforces zero-copy byte-buffer validation using Pydantic V2's Rust-backed SIMD deserialization engine while offloading CPU-intensive parsing to cooperative worker threads. Prevents asyncio event-loop starvation and eliminates intermediate Python heap allocations during high-throughput ingestion and streaming loads.

Blocks:Synchronous Event-Loop Deserialization with Intermediate String Allocations and GIL Stalls
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drainage-invariant
backendcritical

Bun 1.2 Native WebSocket Backpressure & High-Water Mark Drainage Invariant

Enforces proactive high-water mark throttling, buffer size verification, and per-socket queue shedding on Bun 1.2 ServerWebSocket instances. Prevents process-level heap exhaustion and unmonitored bufferedAmount accumulation during high-frequency pub/sub broadcasts to slow consumers.

Blocks:Unchecked ws.send() Broadcasting and Omission of Native drain() Handlers Inducing Memory Bloat
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-propagation-and-shedding-standard
backendcritical

Chi v5 Strict Context Deadline Propagation, Shedding, and Cooperative Goroutine Termination

Enforces strict context deadline propagation and cooperative goroutine cancellation across Go Chi v5 middleware pipelines, downstream I/O calls, and asynchronous worker queues. Mandates immediate early load-shedding via bounded concurrency limiters and early context expiration checks to prevent goroutine leaks, unbounded memory growth, and cascading connection pool saturation.

Blocks:Spawning detached unbuffered goroutines or continuing downstream I/O across Chi middleware after client context cancellation.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-quic-zero-rtt-anti-replay-guardrail
backendcritical

Go Chi HTTP/3 0-RTT Early Data Anti-Replay Guardrail

Protects state-mutating HTTP/3 endpoints from transport-level replay attacks enabled by TLS 1.3 / QUIC 0-RTT early data. Unvalidated early data lacks transport replay protection, allowing captured initial flight packets to execute side effects multiple times unless rejected with HTTP 425 (Too Early) or gated behind strict idempotency controls.

Blocks:Executing state-mutating requests arriving via QUIC 0-RTT early data without replay rejection or validation
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-concurrency-invariant-bun-1-2-clustere-765
backendcritical

Bun 1.2 Native SQLite WAL Read-Replica Concurrency & Checkpoint Invariant

Enforces strict single-writer actor isolation and immutable read-only replicas across Bun 1.2 worker threads utilizing bun:sqlite in WAL mode. Prevents reader-induced checkpoint deadlocks, unbounded WAL file growth, and SQLITE_BUSY starvation under high-throughput concurrent edge cache workloads.

Blocks:Multi-Threaded Read-Write bun:sqlite Handles with Long-Lived Statements Starving WAL Checkpoints
Targets:Cursor•Claude•Windsurf•Codex
axum-streaming-multipart-backpressure-invariant
backendcritical

Axum 0.8 Async Streaming Multipart Backpressure & OOM Invariant

Enforces strict end-to-end backpressure during high-throughput multipart file uploads in Axum 0.8. Mandates direct bounded pipeline streaming from client socket to storage sinks without intermediate heap accumulation, preventing unbounded memory consumption and Tokio worker thread starvation.

Blocks:Unbounded buffering of multipart chunks into in-memory Vec/Bytes or using unthrottled channels, causing OOM heap blowouts during file ingestion.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-worker-pool-starvation-guardrail
backendcritical

FastAPI AnyIO Worker Pool Starvation and Event Loop Isolation Guardrail

Enforces threadpool capacity bounds, strict caller timeouts, and isolated executor contexts when invoking synchronous blocking code within FastAPI services. Prevents default AnyIO/asyncio threadpool exhaustion from stalling concurrent event loop tasks, incoming connection handshakes, and health check probes under burst load.

Blocks:Exhausting the Default AnyIO Worker Pool via Unbounded Blocking Synchronous Route Handlers and Missing Circuit Timeouts
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-memory-adaptive-parallel-hash-join
backendcritical

PostgreSQL 17 Memory-Adaptive Parallel Hash Join Guardrail

Enforces bounded memory allocations and worker throttling for parallel hash join queries on PostgreSQL 17 read replicas. Uncontrolled session-level work_mem overrides multiply across parallel gather workers, triggering Linux Out-Of-Memory (OOM) killer terminations under high concurrency.

Blocks:Unbounded Session-Level work_mem Inflation with Parallel Query Execution
Targets:Cursor•Claude•Windsurf•Codex
axum-streaming-backpressure-abort-on-drop
backendcritical

Axum 0.8 Streaming Body Backpressure & Tokio AbortOnDrop Guardrail

Enforces strict drop guards and backpressure on asynchronous request and response streams in Axum 0.8. Prevents orphaned background producer tasks and unbounded heap allocation when client TCP sockets terminate mid-flight by requiring RAII abort handles and bounded channel synchronization.

Blocks:Spawning detached stream producers without AbortOnDrop handles and bounded channel backpressure
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-alignment-buffer-concurrency
backendcritical

Postgres 17 Direct I/O 4KB Memory-Page Alignment & Buffer Concurrency Invariant

Enforces strict 4096-byte memory page alignment, block-boundary file offsets, and strict buffer lifecycle pinning for PostgreSQL 17 direct I/O (io_direct) and asynchronous storage pipelines. Bypassing OS page cache via Direct I/O requires zero-copy kernel alignment and completion synchronization; violation causes immediate EINVAL panics, double-buffering latency regressions, and torn page corruptions under write saturation.

Blocks:Submitting Unaligned Buffers or Releasing Concurrency Locks Prior to Direct I/O Completion
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-anyio-taskgroup-cancellation-invariant
backendcritical

FastAPI Lifespan AnyIO TaskGroup Cancellation Invariant

Enforces that all persistent connection pools, background consumer coroutines, and polling loops in FastAPI applications are strictly bound to an AnyIO TaskGroup governed by the application's lifespan context. This prevents orphaned background tasks and hung worker threads when receiving SIGTERM signals during Kubernetes pod eviction and graceful shutdown sequences.

Blocks:Orphaning Unbounded Background Coroutines via asyncio.create_task Outside Lifespan TaskGroups
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-kernel-backpressure-guardrail-bun-1-2-websocke-844
backendcritical

Bun 1.2 WebSocket Kernel-Buffer Auto-Pipelining Backpressure Guardrail

Mandates proactive backpressure mitigation using ws.bufferedAmount, the drain lifecycle handler, and explicit outbound drop/pause policies on Bun WebSockets. Prevents catastrophic event-loop heap exhaustion and process termination caused by unbounded TCP write buffer accumulation on slow consumer connections.

Blocks:Unbounded ws.send() Fire-and-Forget Loops Saturating OS Kernel Buffers and Triggering OOM Crashing
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-gcra-rate-limiting-degradation
backendcritical

Axum 0.8 Tower GCRA Rate-Limiting Degradation Standard

Maintains deterministic sub-millisecond tail latency under traffic surges by decoupling distributed rate-limiting from hot request paths. The system mandates a circuit-broken fallback from Redis-backed Generic Cell Rate Algorithm (GCRA) counters to lock-free in-memory atomic token buckets whenever Redis latency exceeds deadlines or encounters connection pool saturation.

Blocks:Synchronously Awaiting Redis GCRA State in Tower Middleware Without Hard Latency Budgets or In-Memory Degradation
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-zerocopy-buffer-isolation-boundary
backendcritical

Bun 1.2 FFI Zero-Copy Buffer Isolation Boundary and Lifetime Invariant

Mandates strict ownership demarcation, deterministic lifecycle tracking, and memory pinning boundaries when streaming binary frames between native C/Rust extensions and Bun 1.2 TypedArrays via bun:ffi. Prevents use-after-free, double-free, and cross-tick memory corruption caused by V8/JSC GC movements or premature deallocations of unmanaged native backing stores.

Blocks:Retaining Raw Zero-Copy FFI ArrayBuffers Across Asynchronous Boundaries Without Pinned Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-adaptive-concurrency-shedding-invariant
backendcritical

Axum 0.8 Adaptive Concurrency Shedding via Dynamic Latency Telemetry

Enforces dynamic, TCP/RTT-telemetry-driven concurrency limits within Axum 0.8 microservices to replace rigid static concurrency caps. Prevents catastrophic cascading failures and thread starvation caused by distributed tail-latency spikes and queuing delays governed by Little's Law. Ensures backpressure manifests as instantaneous HTTP 503 load-shed responses with zero-allocation drops rather than unbounded heap growth or socket pileups.

Blocks:Static Concurrency Caps and Unbounded Tower Buffering Inducing Latency Cascades
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-sigterm-barrier-guardrail
backendcritical

Bun 1.2 Embedded SQLite WAL Checkpoint SIGTERM Barrier

Enforces deterministic PRAGMA wal_checkpoint(TRUNCATE) execution and explicit shared-memory (.shm) unmapping prior to process termination in containerized Bun runtimes. Failure to complete checkpoint barriers during SIGTERM/SIGINT teardowns leaves SQLite database files in an unrecovered recovery-journal state, causing lock collisions or index corruption upon rapid container restarts. This guardrail mandates an idempotent teardown lifecycle with strict synchronous execution timeouts.

Blocks:Uncoordinated process termination leaving uncheckpointed SQLite WAL rings and unclosed file descriptors
Targets:Cursor•Claude•Windsurf•Codex
pg17-synchronized-replication-slots-zero-rpo
backendcritical

Postgres 17 Failover-Enabled Logical Replication Slots for Distributed Outbox Zero-RPO

Mandates explicit failover synchronization on logical replication slots introduced in PostgreSQL 17 for transactional outbox and CDC event engines. Ensures promoted physical standbys inherit accurate consumer LSN positions, preventing downstream event duplicate storms and replication gap data loss during automated multi-region failovers.

Blocks:Legacy Slot Provisioning Without Failover Sync Causing Catastrophic Event Replay Storms Upon Standby Promotion
Targets:Cursor•Claude•Windsurf•Codex
go-chi-push-iterator-stream-resilience
backendcritical

Deterministic Resource and Goroutine Teardown in Go 1.23+ Push Iterators over Chi Streams

Enforces deterministic cancellation and resource release when streaming data over HTTP/2 using Go 1.23+ range-over-func iterators (iter.Seq / iter.Seq2) in Chi handlers. Requires tight coupling of the request context (r.Context()) and iterator yield return values to prevent goroutine leaks, orphaned database cursors, and socket deadlocks upon sudden client disconnection.

Blocks:Ignoring iterator yield boolean status and context cancellation during HTTP streaming, causing persistent database connection leakage and orphaned background worker goroutines.
Targets:Cursor•Claude•Windsurf•Codex
openfga-zanzibar-cycle-safe-tuple-graph-evaluation-standard
backendcritical

Cycle-Safe Graph Evaluation and Traversal Guardrails for OpenFGA and Zanzibar ReBAC

Enforces deterministic cycle detection, bounded traversal depth, and evaluation memoization across dynamic multi-tenant relationship-based access control (ReBAC) graphs. Prevents denial-of-service and stack overflow vulnerabilities caused by circular delegation chains, mutually recursive group memberships, or unbounded transitive closures in tuple evaluation engines.

Blocks:Unbounded Recursive Traversal and Cycle-Prone Graph Resolution in ReBAC Engine
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-cancel-safe-stream-guardrail
backendcritical

Axum 0.8 Cancel-Safe Body Stream Flow Control Standard

Enforces strict cancellation safety and backpressure guarantees when consuming Axum 0.8 request body streams on Tokio runtimes. Prevents unconsumed payload buffer accumulation, lingering socket descriptors, and corrupted or poisoned shared synchronization states when client connections abruptly terminate mid-stream. Mandates explicit RAII cleanup and isolation of asynchronous lock guards from stream ingestion poll loops.

Blocks:Holding async synchronization guards across unbuffered body chunk awaits and neglecting drop-safety during premature client termination.
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-buffer-recycling
backendcritical

Bun 1.2 Native WebSocket Backpressure and ArrayBuffer Recycling Invariant

Enforces strict native queue-depth validation via ws.getBufferedAmount() and pre-allocated ArrayBuffer pool recycling across Bun 1.2 native WebSocket servers. Unbounded ws.send() calls bypass native libuv/C++ queues, inducing hidden C++ heap memory leaks and GC thrashing. Mandates backpressure-aware draining cycles and deterministic ring/slab buffer reuse for zero-copy high-throughput framing.

Blocks:Unchecked ws.send() Fire-and-Forget with On-The-Fly Buffer Allocations Inducing Native Memory Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-tower-http3-stream-cancellation-quarantine
backendcritical

Axum 0.8 Tower HTTP/3 Stream Abrupt-Cancellation Quarantine

Enforces immediate cooperative task abort and pooled resource reclamation when HTTP/3 QUIC streams receive abrupt resets or cancellations. Eliminates detached background worker drift, leaked database connection pool leases, and CPU exhaustion caused by unmonitored Tokio task spawning in Axum 0.8 handlers.

Blocks:Detached Fire-and-Forget Tokio Tasks and Unbounded Streams Surviving QUIC Stream Resets
Targets:Cursor•Claude•Windsurf•Codex
pg17-parallel-hash-join-spill-quota-guardrail
backendcritical

PostgreSQL 17 Parallel Hash Join Memory Spill-Quota & Temp-File Limit Guardrail

Enforces strict per-query work_mem and temp_file_limit quotas during multi-batch parallel hash joins in PostgreSQL 17. Unconstrained parallel worker allocation multiplying against unbudgeted work_mem causes catastrophic multi-batch disk spills to pgsql_tmp, saturating NVMe IOPS and starving primary OLTP read/write paths.

Blocks:Unbounded Parallel Multi-Batch Hash Joins Spilling Uncapped Gigabytes to Disk
Targets:Cursor•Claude•Windsurf•Codex
fastapi-uvicorn-stream-backpressure-guardrail
backendcritical

FastAPI Uvicorn Multiplexed Stream Backpressure Guardrail

Enforces strict producer-consumer backpressure mechanisms and bounded concurrency queues for HTTP/2 multiplexed streams and Server-Sent Events (SSE) in FastAPI/Uvicorn deployments. Prevents unconstrained heap ballooning, event-loop starvation, and OOM terminations caused by fast upstream generators paired with slow network consumers.

Blocks:Unbounded Async Generator Consumption and Zero-Backpressure Task Spawning on Multiplexed SSE/Streaming Endpoints
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-free-threaded-state-synchronization-standard
backendcritical

FastAPI Python 3.13 Free-Threaded Shared State Synchronization Standard

Enforces strict thread-safety invariants and explicit synchronization primitives for FastAPI applications operating on free-threaded Python 3.13 (PEP 703) runtimes without the Global Interpreter Lock. Mandates lock-encapsulated data structures and prohibits reliance on legacy CPython bytecode atomicity across concurrent native worker threads.

Blocks:Relying on implicit GIL bytecode atomicity for shared mutable state in Python 3.13t runtimes.
Targets:Cursor•Claude•Windsurf•Codex
axum-08-cancellation-safe-tower-streaming-boundary
backendcritical

Axum 0.8 Cancellation-Safe Tower Middleware Streaming Boundary

Enforces strict cancellation safety across Axum 0.8 response streaming pipelines and Tower middleware layers. Prevents dangling database connection leases, lock leaks, and half-consumed stream buffer deadlocks when HTTP/2 RST_STREAM frames or HTTP/3 stream aborts occur mid-flight.

Blocks:Unbounded Body Buffering and RAII Drop Bypass in Asynchronous Stream Pipelines
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-synchronization-ha-invariant
backendcritical

PostgreSQL 17 Failover Slot Synchronization & HA Replication Invariant

Enforces PostgreSQL 17 native logical replication failover slot synchronization across high-availability topologies. Ensures standby nodes synchronize logical slot offsets prior to promotion, eliminating confirmed_flush_lsn regression, catastrophic CDC duplicate replays, and downstream pipeline corruption.

Blocks:Creating unmanaged logical slots or failing to gate primary WAL progression via standby_slot_names, triggering CDC stream corruption upon failover.
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-rangefunc-stream-memory-bounded-invariant
backendcritical

Go 1.24 Range-over-Func Stream Pipeline Memory-Bounded Invariant

Enforces strict push and pull iterator contract adherence in Go 1.24+ range-over-func pipelines. Mandates immediate termination upon false yield returns and deterministic execution of iter.Pull cleanup stop functions to prevent goroutine leaks, uncollected channel buffers, and unbounded heap retention in high-throughput streams.

Blocks:Ignoring Yield Return False or Leaking iter.Pull Stop Closures Causing Goroutine Hangs and Heap Leaks
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cooperative-budget-cancellation-invariant
backendcritical

Axum 0.8 Tokio Cooperative Task Budget Cancellation Invariant

Enforces strict coupling between Axum 0.8 streaming response lifecycles, Tokio cooperative task budget yielding, and explicit cancellation tokens. Guarantees bounded CPU starvation and immediate teardown of upstream processing pipelines during client disconnects or HTTP/3 stream resets.

Blocks:Spawning unmonitored streaming tasks or unyielding chunk loops that leak compute resources upon peer disconnect.
Targets:Cursor•Claude•Windsurf•Codex
valkey-8-io-thread-numa-affinity-standard
backendcritical

Valkey 8.0 Multi-Threaded I/O Shard Affinity and NUMA Pinning Standard

Mandates strict CPU core pinning and NUMA node alignment for Valkey 8.0 multi-threaded I/O architectures to prevent cross-socket latency, L3 cache invalidation, and kernel lock contention. Prohibits floating threads across unbalanced sockets by configuring deterministic server-cpulist, bio-cpulist, and io-threads-cpulist parameters along with numactl process memory binding.

Blocks:Unpinned Multi-Threaded I/O Engines Spanning Asymmetric NUMA Nodes Inducing Inter-Socket Cache Thrashing
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-streaming-io-pin-budget-guardrail
backendcritical

Postgres 17 Streaming I/O Buffer Pin Budget & AIO Saturation Guardrail

PostgreSQL 17 utilizes an asynchronous streaming read API that pre-pins shared buffers and schedules lookahead kernel AIO requests. Analytical streaming queries that interleave row consumption with network I/O or fail to bound fetch windows retain buffer pins indefinitely, exhausting AIO queue depths and starving concurrent OLTP transactions.

Blocks:Interleaving Client Async Operations Inside Unbounded Streaming Cursors Retaining Buffer Pins
Targets:Cursor•Claude•Windsurf•Codex
tokio-async-cancellation-transaction-raii-guard
backendcritical

Tokio Async-Cancellation Scope-Safe Transaction RAII Guard

Enforces synchronous Drop RAII guards with background rollback dispatching for database transactions across Tokio yield points. Prevents connection pool starvation, orphaned row-level locks, and phantom writes caused by dropped futures in cancellation scenarios like timeouts and select branches. Guarantees deterministic abort execution even when async executors drop executing futures without running async cleanup blocks.

Blocks:Dropping uncommitted async database transactions across Tokio cancellation boundaries without an RAII-dispatched background rollback
Targets:Cursor•Claude•Windsurf•Codex
temporal-go-deterministic-workflow-replay-guardrail
backendcritical

Temporal Go SDK Deterministic Workflow Replay & History Assertion Standard

Workflow definitions in Temporal must maintain strict determinism across versions to prevent non-deterministic replay panics on running executions. All workflow alterations must utilize workflow.GetVersion for branching and be verified in CI using worker.WorkflowReplayer against production history JSON dumps prior to deployment.

Blocks:Modifying workflow call sequences without version branching or deploying unverified workflow changes against historical execution logs
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-http-structured-concurrency-allocation-guardrail
backendcritical

Go 1.24 HTTP Structured Concurrency & Request-Scope Allocation Guardrail

Enforces strict structured concurrency lifecycle management and zero-escape request-scoped memory allocation across high-throughput Go 1.24 HTTP services. Eliminates unbounded goroutine leaks by tying async work to request context trees, and mitigates GC thrashing by prohibiting boxed context keys and unpooled buffer escapes in middleware pipelines.

Blocks:Spawning detached goroutines inside HTTP handlers and allocating untyped context values that escape to the heap.
Targets:Cursor•Claude•Windsurf•Codex
tokio-tower-buffer-backpressure-deadlock-guardrail
backendcritical

Tokio & Tower Buffer Backpressure and Circular-Wait Deadlock Prevention

Enforces strict ordering, worker isolation, and reservation-dispatch pairing for Tower Buffer middleware in Tokio-based Rust RPC clients and servers. Prevents re-entrant channel deadlocks, circular-wait lockups, and unmetered memory exhaustion in layered interceptor topologies.

Blocks:Interleaved Awaits Between poll_ready and call in Tower Buffers Causing Worker Starvation and Circular-Wait Deadlocks
Targets:Cursor•Claude•Windsurf•Codex
go-iter-seq-resource-leak-fence
backendcritical

Go 1.24 iter.Seq and iter.Pull Concurrency Resource Leak Mitigation Fence

Enforces mandatory, unconditional invocation of the stop closure returned by iter.Pull/iter.Pull2 via defer and guarantees unblocked defer execution within custom iter.Seq/iter.Seq2 push producers upon yield rejection. Prevents paired goroutine leaks, orphaned database cursors, and deadlocked gRPC streams across early break, return, or panic paths in high-throughput pipelines.

Blocks:Orphaning iter.Pull Goroutines and Leaking Network Handles via Omitted stop() Calls on Early Exit
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-high-watermark
backendcritical

Bun 1.2 WebSocket Backpressure Drain High-Watermark Standard

Enforces strict native buffer limits and backpressure-aware packet dispatching on Bun 1.2 native WebSockets. By inspecting ws.getBufferedAmount() and handling the native drain() lifecycle callback, services prevent silent heap and C++ native memory exhaustion under asymmetrical consumer lag.

Blocks:Unbounded WebSocket Send Loop Ignoring Native Kernel and C++ Buffer Limits
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-streaming-memory-budgeting
backendcritical

Postgres 17 JSON_TABLE Streaming Memory Ceiling and Plan Guardrail

Postgres 17 introduces the SQL:2016 JSON_TABLE standard, enabling direct relational projection of nested JSONB documents. Unbounded JSON path traversals and missing materialization barriers force backend worker processes to buffer parsed JSONB documents in work_mem or process memory, leading to out-of-memory (OOM) backend termination during high-throughput ETL jobs. This guardrail mandates bounded path expressions, explicit chunked streaming pagination, and strict per-query work_mem isolation.

Blocks:Unbounded JSON_TABLE Path Evaluation Buffering Arbitrary Multi-Megabyte Payloads into Single Worker Memory
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-ephemeral-cache-guardrail
backendcritical

Go 1.24 Weak Pointer Ephemeral Cache and GC Finalizer Guardrail

Enforces deterministic, non-blocking memory reclamation in Go 1.24+ using the standard 'weak' package for ephemeral caches. Prohibits legacy runtime.SetFinalizer patterns that induce object resurrection, GC sweep latency spikes, and concurrent lock inversion deadlocks.

Blocks:Resurrecting Evicted Cache Entries via runtime.SetFinalizer Under Inverted Mutex Locks
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-async-callback-gc-pinning-guardrail
backendcritical

Bun 1.2 FFI Thread-Safe Async Callback & JSC Memory Pinning Guardrail

Enforces strict thread-safe callback configuration and deterministic JavaScriptCore (JSC) GC memory pinning when interfacing native C/Rust thread pools with Bun 1.2 FFI. Prevents fatal segmentation faults (SIGSEGV) caused by calling JSC off the main thread and use-after-free pointer corruption due to premature garbage collection.

Blocks:Ephemeral, non-threadsafe JSCallback instances passed to asynchronous native workers without GC anchoring.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-zero-rtt-anti-replay-guardrail-go-1-24-chi-http-359
backendcritical

Go 1.24 Chi HTTP/3 0-RTT Anti-Replay Guardrail for Mutating Endpoints

Enforces strict rejection of non-idempotent HTTP methods received via HTTP/3 0-RTT early data handshakes using HTTP 425 (Too Early) per RFC 8470. Prevents network attackers from executing packet replay attacks against state-mutating handlers before the QUIC/TLS handshake completes.

Blocks:Executing State-Mutating Chi Handlers via Replayable HTTP/3 0-RTT Early Data
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal2-checkpoint-starvation-boundary
backendcritical

Bun 1.2 SQLite WAL2 Checkpoint Starvation Boundary & Disk Growth Guardrail

Prevents unbounded WAL growth and container ENOSPC failures in high-throughput Bun 1.2 microservices using SQLite WAL/WAL2 mode. Enforces strict boundary isolation between synchronous read/write transactions and asynchronous event-loop operations, eliminating reader snapshot holding that blocks WAL log recycling.

Blocks:Suspending SQLite Transactions Across Asynchronous Event Loop Ticks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-hash-join-memory-limit-enforcement
backendcritical

Postgres 17 Streaming Hash Join Memory & Spill Limit Enforcement

Enforces strict per-query memory limits and temporary disk spill bounds for Postgres 17 streaming and parallel hash joins. Prevents container cgroup OOM kills and disk exhaustion during multi-batch inner relation builds by dynamically scoping work_mem, hash_mem_multiplier, and temp_file_limit within transactional boundaries.

Blocks:Executing Large Parallel Hash Joins Under Global Pool Defaults Leading to Container cgroup OOM Kills
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pg-combinebackup-lsn-fence-production-standard
backendcritical

Postgres 17 pg_combinebackup Monotonic LSN & Timeline Integrity Fence

Enforces strict monotonic LSN validation and timeline continuity across backup chains prior to invoking Postgres 17 pg_combinebackup. Prevents silent corruption, broken recovery chains, and data loss caused by non-contiguous incremental backups, missing WAL intervals, or mismatched system identifiers during synthetic full backup generation.

Blocks:Executing pg_combinebackup on unvalidated directory lists without parsing backup_manifest LSN intervals and running post-combine pg_verifybackup validation.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-polymorphic-core-schema-precompilation-guardrail
backendcritical

FastAPI Pydantic v2 Polymorphic Core-Schema Precompilation Guardrail

Enforces module-level compile-time instantiation and core-schema pinning for Pydantic v2 polymorphic discriminated unions and TypeAdapters. Eliminates per-request pydantic-core SchemaValidator reconstruction and dynamic reflection overhead that causes CPU saturation and GIL bottlenecks under high-concurrency ingestion workloads.

Blocks:Dynamic per-request TypeAdapter synthesis and unpinned polymorphic union schema regeneration
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-cancellation-isolation
backendcritical

FastAPI AnyIO TaskGroup Structured Concurrency & Cancellation Isolation

Enforces deterministic teardown and structured concurrency isolation for AnyIO task groups within FastAPI route handlers when client disconnects occur. Mandates explicit cancellation shielding for non-idempotent operations and prevents AnyIO cancellation exceptions from corrupting shared worker thread pools or leaking raw errors into ASGI middleware.

Blocks:Spawning detached asyncio tasks or unshielded AnyIO TaskGroups that leak unhandled cancellation exceptions and leave thread-pool workers orphaned on client disconnect
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-parallel-apply-conflict-guardrail
backendcritical

PostgreSQL 17 Parallel Logical Replication Apply Boundary & Conflict Ordering Guardrail

Enforces deterministic conflict handling, strict monotonic commit order, and origin boundary isolation for PostgreSQL 17 parallel logical replication apply workers. Prevents silent data divergence, circular replication loops, and transaction serialization failures across multi-active topologies.

Blocks:Unbounded Parallel Apply with Non-Deterministic Conflict Ignorance and Missing Origin Filters
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-zero-rtt-anti-replay-standard
backendcritical

Go Chi HTTP/3 0-RTT Anti-Replay and Early Data Transport Guardrail

Enforces strict transport-layer validation and rejection of TLS 1.3 / QUIC 0-RTT Early Data on non-idempotent HTTP routes within Go Chi services. Prevents replay-window exploitation by rejecting unconfirmed early-data requests with RFC 8470 HTTP 425 (Too Early) or deferring stateful execution until the full TLS handshake is finalized.

Blocks:Executing State-Mutating Handlers Over Unvalidated QUIC 0-RTT Early Data
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-projection-standard
backendcritical

Postgres 17 JSON_TABLE Memory Projection and WorkMem Ceiling Standard

Establishes deterministic memory ceilings, plan cost controls, and strict column projection schemas on Postgres 17 SQL/JSON JSON_TABLE transformations. Unbounded array expansions and dynamic text extractions without localized work_mem boundaries or nested path limits trigger non-spillable executor buffer bloat, leading to connection termination and backend Out-Of-Memory (OOM) events. This standard enforces stream-friendly projections, localized session memory clamps, and explicit column sizing.

Blocks:Unbounded JSON_TABLE Cartesian Expansions and Default WorkMem Starvation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-streamingresponse-async-generator-cancellation-guardrail
backendcritical

FastAPI StreamingResponse Upstream Async Generator Disconnect Cancellation Guardrail

FastAPI `StreamingResponse` iterators do not automatically interrupt long-running upstream database or network generators when clients abort connections unless explicit ASGI disconnect monitoring is bound to the async generator loop. Unbound stream generators continue iterating in background tasks, exhausting connection pools, leaking cursor memory, and leaving zombie database transactions open. This standard mandates explicit request disconnect polling via `request.is_disconnected()`, `asyncio.CancelledError` trapping, and deterministic resource release within upstream async generator iterators.

Blocks:Unmonitored StreamingResponse generator causing zombie database queries and pool exhaustion on client disconnect
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-deadline-tree-cancellation-standard
backendcritical

Go Chi HTTP/2 & HTTP/3 Context Propagation and Subtree Cancellation Guardrail

Mandates strict downstream propagation of Chi request contexts and active cancellation listeners across all spawned goroutine subtrees. Inbound HTTP/2 RST_STREAM frames and HTTP/3 transport terminations must preemptively abort downstream database transactions and RPC calls to prevent connection pool exhaustion and resource leaks under network degradation.

Blocks:Orphan Goroutines and Context Severance During HTTP/2 Client Transport Disconnects
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slot-sync-postgres-17-logi-845
backendcritical

Postgres 17 Logical Replication Failover & Slot Synchronization Protocol

Enforces failover-enabled logical replication slots and synchronized standby slot topologies introduced in PostgreSQL 17. Guarantees that physical standbys lead or match logical subscriber LSNs, preventing data loss and unrecoverable downstream duplicates during HA switchovers.

Blocks:Unsynchronized Logical Slots Advancing Past Physical Standbys During HA Switchovers
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-buffer-transfer-isolation
backendcritical

Bun 1.2 Zero-Copy ArrayBuffer Transfer Isolation Invariants

Enforces strict detachment verification and lifecycle ownership transfers when passing ArrayBuffers across Bun 1.2 multi-threaded worker pools via postMessage. Prevents use-after-free, concurrent mutation race conditions, and race-induced memory corruption by asserting explicit buffer neutering on senders and validation of transfer ownership on receivers.

Blocks:Accessing Detached ArrayBuffers or Sharing Non-Transferable References Across Worker Boundaries
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-weak-pointer-finalizer-leak-guardrail
backendcritical

Go 1.24 Weak Reference Finalizer Memory Leak Prevention

Go 1.24 introduces canonical weak pointers via `weak.Pointer` and finalizers via `runtime.AddCleanup`. When implementing high-throughput in-memory caches, engineers must prevent closure-captured strong references and finalizer resurrective cycles that silently convert weak references back into immortal strong roots, causing unbounded heap bloat and GC degradation.

Blocks:Closure-Captured Strong Pointers in Cleanup Handlers and Re-entrapment in Weak Pointer Invalidation
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-quic-graceful-draining-standard
backendcritical

Go Chi Graceful HTTP/3 QUIC GOAWAY Connection Draining Standard

Enforces deterministic two-phase QUIC connection and stream draining when running HTTP/3 servers over Go Chi during container lifecycle transitions. Orchestrates initial and final GOAWAY frame emission with synchronized HTTP/1.1, HTTP/2, and HTTP/3 listeners against Kubernetes preStop hooks and SIGTERM grace periods to prevent dropped in-flight UDP RPCs.

Blocks:Abrupt QUIC Context Cancellation Causing CONNECTION_REFUSED and Silent Dropped Streams During Pod Rollouts
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-generator-disconnect-cancellation
backendcritical

FastAPI Async Generator Client Disconnect Cancellation Interlock

Enforces deterministic cancellation and resource deallocation for FastAPI async generators and SSE streams upon client socket termination. Without an explicit ASGI disconnect polling loop or cancellation interlock, orphaned async generators continue streaming tokens from upstream LLM inference providers, triggering thread-pool exhaustion, runaway token bills, and memory leaks. Architects must wire Request.is_disconnected() polling or Task cancellation directly into async generator pipelines.

Blocks:Unchecked Async Generators Consuming Upstream LLM Streams Post-Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-exception-shielding
backendcritical

FastAPI AnyIO Structured TaskGroup Exception Shielding and Context Preservation Invariants

Enforces robust structured concurrency patterns within FastAPI asynchronous request lifecycles using AnyIO TaskGroups. Prevents unhandled child-task exceptions and cancellation cascades from aborting critical audit, telemetry, and transactional cleanup routines or propagating raw ExceptionGroups into ASGI worker loops.

Blocks:Spawning naked concurrent child tasks within unshielded AnyIO TaskGroups, causing unhandled ExceptionGroups to tear down sibling operations and drop audit context.
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-context-lifeline-draining
backendcritical

Go Chi HTTP/3 Context Lifeline & Request-Scoped Goroutine Pool Draining

Enforces deterministic cancellation propagation and synchronous goroutine pool draining for Go Chi services serving HTTP/3 (QUIC). Prevents orphaned worker routines, memory bloat, and file descriptor exhaustion triggered by rapid QUIC client stream resets.

Blocks:Detached Goroutine Fan-Out Leaks Workers Under High-Frequency QUIC Stream Resets
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-zerocopy-rust-streaming
backendcritical

FastAPI Pydantic v2 Zero-Copy Rust Buffer Streaming Standard

Enforces zero-copy stream processing and direct byte buffer passthrough in FastAPI applications utilizing Pydantic v2. Prevents catastrophic Python runtime heap allocations and GIL contention during high-throughput serialization by bypassing Python dict/string instantiation and piping raw serialized bytes directly from pydantic-core's Rust layer to ASGI response streams.

Blocks:Heap Re-allocation via Intermediate Python Dict/String Materialization in High-Throughput Serialization
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-replication-failover-slot-sync-postgresql-17-fa-807
backendcritical

PostgreSQL 17 Failover-Safe Logical Replication Slot Synchronization Guardrail

Enforces PostgreSQL 17 native logical slot failover mechanics (failover => true, primary synchronized_standby_slots, and standby sync_replication_slots = on) across database provisioning, connection initializers, and migration harnesses. Prevents downstream CDC stream invalidation, full table re-snapshots, and silent message omission during physical primary failovers.

Blocks:Ephemeral Logical Slot Provisioning Lacking Failover Preservation Across Physical Standby Promotions
Targets:Cursor•Claude•Windsurf•Codex
axum-08-quic-flow-control-backpressure-standard
backendcritical

Axum 0.8 HTTP/3 QUIC Datagram & Stream Flow-Control Backpressure Standard

Shields server memory pools by enforcing strict QUIC stream-level credit boundaries and bounded transmission pipelines in Axum 0.8 and h3/quinn stacks. Prevents unbounded heap allocation and buffer bloat caused by slow-consuming multiplexed edge clients. Guarantees that producers yield execution when transport window credits are exhausted.

Blocks:Unbounded task buffering and unconstrained streaming without polling QUIC stream capacity and transport credit limits
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-streaming-projection
backendcritical

Postgres 17 JSON_TABLE Streaming Relational Projections

Mandates PostgreSQL 17 SQL/JSON standard JSON_TABLE for unpacking large or deeply nested JSONB structures directly into relational tuples. Eliminates intermediate recordset materialization, out-of-memory crashes, and query stalls caused by legacy jsonb_array_elements() and jsonb_to_recordset() lateral cascades.

Blocks:Unbounded Work-Memory Spillage and CPU Throttling via Chained jsonb_array_elements()
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-shared-buffer-pinning-invariant
backendcritical

Postgres 17 pgvector HNSW Dedicated Buffer Pool and Memory Prewarming Invariant

Enforces deterministic resident-memory retention for high-dimensional pgvector HNSW indices to prevent catastrophic NVMe paging spikes during concurrent approximate nearest neighbor (ANN) scans. Mandates strict shared_buffers sizing, explicit pg_prewarm integration during deployment pipelines, and session-level work_mem/maintenance_work_mem calibration.

Blocks:Unpinned Cold-Index Paging Spikes and Unbounded Random Read Degradation
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-clustered-buffer-ownership-handshake
backendcritical

Bun 1.2 Clustered FFI Native Buffer Ownership Handshake

Enforces deterministic memory ownership transfer and ArrayBuffer detachment when dispatching native memory across Bun worker clusters executing bun:ffi foreign function bindings. Prohibits implicit cross-thread pointer reuse and non-transferred buffer clones that cause double-free errors, use-after-free faults, and JVM/C-heap desynchronization.

Blocks:Shared-Memory Race and Double-Free via Untransferred Native Buffers Across Bun Workers
Targets:Cursor•Claude•Windsurf•Codex
bun-sharedarraybuffer-zero-copy-cluster-routing
backendcritical

Bun 1.2 Lock-Free SharedArrayBuffer Ring Buffer for Clustered Ingestion

Mandates lock-free ring buffers backed by SharedArrayBuffer and typed Atomics for high-throughput inter-worker messaging in Bun 1.2 clusters. Eliminates event-loop stalls and garbage collection thrashing caused by structured clone serialization during sustained WebSocket ingestion (>10k msg/sec).

Blocks:Structured Clone Worker postMessage Flooding in High-Throughput Ingestion Pipelines
Targets:Cursor•Claude•Windsurf•Codex
axum-0-8-streaming-backpressure-bounds
backendcritical

Axum 0.8 Asynchronous Streaming Backpressure & Memory Bounds Standard

Enforces strict byte-budget guards, bounded buffer pipelines, and deterministic backpressure across all Axum 0.8 streaming endpoints and multipart handlers. Prevents catastrophic OOM panics and heap fragmentation caused by unbounded buffering, disabled DefaultBodyLimit guards, and unthrottled chunk collection.

Blocks:Buffering unbounded streams into in-memory vectors or detaching consumers without backpressure, risking process-level OOM DoS.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-pgvector-hnsw-quantization-isolation
backendcritical

Postgres 17 pgvector HNSW Half-Precision Quantization & Buffer Isolation Guardrail

Mandates the usage of pgvector 0.7.0+ half-precision (halfvec) scalar quantization and strict buffer isolation for HNSW vector indexes in PostgreSQL 17. Unquantized float4 vector graphs (1536+ dims) rapidly exceed shared_buffers, causing massive disk I/O thrashing and eviction of relational working sets during OLTP workloads. Enforces halfvec cast-indexing, bounded graph connectivity parameters, and iterative scan tuning to guarantee sub-10ms vector retrieval without noisy-neighbor degradation.

Blocks:Full-Precision vector(dim) HNSW Indexing Evicting Relational Buffer Pools
Targets:Cursor•Claude•Windsurf•Codex
openfga-recursive-resolution-circuit-breaker-standard
backendcritical

OpenFGA Recursive Tuple Graph Resolution Depth and Latency Circuit-Breaker Standard

Enforces strict traversal depth limits, adaptive circuit breakers, and bounded deadlines on OpenFGA relationship-based access control (ReBAC) evaluations. Prevents catastrophic distributed deadlocks, thread pool exhaustion, and cascading database saturation triggered by cyclic or deeply nested relationship graphs during high-throughput authorization checks.

Blocks:Unbounded ReBAC Graph Traversal Without Client Deadlines or Circuit Breakers
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-wal-summarizer-sync-standard
backendcritical

Postgres 17 WAL Summarizer Block-Level Incremental Backup Synchronization Standard

Enforces deterministic synchronization between the PostgreSQL 17 WAL summarizer daemon and block-level incremental backup orchestrators. Unmonitored summarizer lag or concurrent pg_combinebackup/pg_dump operations without verifying pg_available_wal_summaries() leads to RPO degradation, backup pipeline failures, and critical WAL disk starvation.

Blocks:Blind Incremental Backups Without WAL Summarization Verification and Lag Circuit Breakers
Targets:Cursor•Claude•Windsurf•Codex
go-iterseq-chi-pipeline-backpressure
backendcritical

Go 1.24 iter.Seq Push Iterator Backpressure Propagation in Chi Middleware

Enforces strict coupling between Go 1.24 iter.Seq yield suspension and network socket drain events within Chi HTTP middleware chains. Eliminates unbounded heap allocation during streaming responses by propagating client TCP window stalls directly into iterator cancellation and upstream pipeline pauses.

Blocks:Decoupled Goroutine Buffering and Ignored Yield Falsehoods in Streaming HTTP Responders
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tokio-cooperative-cancellation-standard
backendcritical

Axum 0.8 Tokio Cooperative Task Budgeting & Deterministic Cancellation

Enforces deterministic cancellation and resource cleanup across Axum 0.8 and Tower middleware chains during abrupt client disconnects under heavy load. Mandates cooperative task budgeting, cancellation-safe transactional state machines, and hierarchical token propagation to prevent resource leaks, zombie background tasks, and connection pool exhaustion.

Blocks:Unattached Background Spawning and Cancellation-Unsafe Async State Transitions Leading to Connection Leaks and Zombie Work
Targets:Cursor•Claude•Windsurf•Codex
go-synctest-chi-context-propagation-boundary
backendcritical

Go 1.24 Synctest and Chi Middleware Context Tree Propagation Boundary

Enforces strict context-tree lifetime propagation across nested Chi HTTP middleware chains and async background routines. Precludes orphaned goroutines and silent request cancellation leaks by requiring structured context derivation and verifying deterministic termination via Go 1.24 testing/synctest virtual bubbles.

Blocks:Spawning Unbound Asynchronous Goroutines with Request Context or Raw context.Background Inside Chi Middleware
Targets:Cursor•Claude•Windsurf•Codex
axum-08-cancellation-token-stream-termination
backendcritical

Axum 0.8 Tokio CancellationToken Stream Termination & Task Leak Prevention

Mandates proactive runtime cancellation token propagation across Axum 0.8 handlers and Tower middleware layers to guarantee immediate task termination upon HTTP/3 stream cancellation. Eliminates unbounded CPU and memory leaks caused by orphaned Tokio tasks executing past client disconnections or QUIC stream resets.

Blocks:Spawning Unbounded Tokio Worker Tasks Detached From HTTP/3 Stream Drop Lifecycles
Targets:Cursor•Claude•Windsurf•Codex
go-weak-pointer-cache-eviction-invariant
backendcritical

Go 1.24 Weak-Pointer Cache Eviction Invariant in HTTP Handlers

Enforces safe utilization of Go 1.24 runtime weak pointers (weak.Pointer) and runtime cleanups (runtime.AddCleanup) inside high-throughput HTTP handler caching tiers. Guarantees immediate reclamation of heavy payload memory during GC pressure while eliminating unbounded map key growth and dereference nil panics under multi-gigabit traffic.

Blocks:Retaining strong payload pointers in global handler caches or dereferencing Go 1.24 weak pointers without nil-fallback reconstruction.
Targets:Cursor•Claude•Windsurf•Codex
axum-08-makeservice-connection-limit-tcp-reaping
backendcritical

Axum 0.8 Connection Limiting and TCP Handshake Reaping Guardrail

Enforces strict concurrency ceilings and handshake timeout fences on incoming TCP streams in Axum 0.8 deployments. Prevents file-descriptor starvation and heap exhaustion caused by slowloris attacks, hung TLS negotiations, and half-open HTTP/2 multiplexing state vectors. Guarantees that socket ingestion adheres to bounded resource pools and explicit socket teardown invariants.

Blocks:Unbounded Listener Ingestion and Unfenced TLS/TCP Handshakes Inducing File Descriptor Exhaustion
Targets:Cursor•Claude•Windsurf•Codex
openfga-contextual-tuple-depth-guardrail-openfga-1-6-cont-531
backendcritical

OpenFGA 1.6 Contextual Tuple Bounded Depth & Cardinality Guardrail

Enforces strict recursion depth limits, contextual tuple bounds, and request timeouts for OpenFGA 1.6 Check and ListObjects operations. Unchecked contextual tuples and unbounded graph traversals in Relationship-Based Access Control (ReBAC) induce query amplification, goroutine exhaustion, and denial-of-service in high-throughput engines.

Blocks:Unbounded Contextual Tuple Ingestion and Missing Evaluation Depth Bounds in ReBAC Checks
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slot-sync-guardrail
backendcritical

Postgres 17 Logical Replication Failover Slot Synchronization & CDC Invariants

Enforces failover-enabled logical replication slots and synchronized standby slots introduced in PostgreSQL 17 for CDC consumers and cache synchronizers. Prevents silent data divergence, dropped CDC events, and catastrophic WAL bloat during failover transitions by ensuring physical standbys retain and mirror logical replication state in lockstep before primary advance.

Blocks:Unsynchronized Logical Replication Slots Causing Data Loss or Consumer Desynchronization Upon HA Failover
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-watermark-standard
backendcritical

Bun 1.2 WebSocket Backpressure Watermark Standard

Enforces strict egress buffer monitoring and ingestion pausing on Bun WebSocket connections using ws.getBufferedAmount() and return values from ws.send(). Prevents unmitigated heap exhaustion and process OOM kills in high-throughput event loops by establishing high and low watermarks that govern client read suspension and frame emission.

Blocks:Unbounded WebSocket Writes Without Backpressure Yielding Process OOM
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-watermark-invariant
backendcritical

Bun 1.2 WebSocket Backpressure & High-Water Mark Invariant

Enforces deterministic flow control on Bun WebSocket connections by gating transmission against socket-buffered byte thresholds and orchestrating re-activation via the drain lifecycle hook. Without backpressure watermarks, slow consumers cause kernel TCP and native Bun memory buffers to accumulate unboundedly, precipitating event-loop starvation and catastrophic out-of-memory (OOM) termination.

Blocks:Fire-and-forget socket writes without getBufferedAmount gating or drain callback synchronization.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-zerocopy-arena-serialization
backendcritical

FastAPI Pydantic v2 Zero-Copy Arena-Allocated Serialization Guardrail

Enforces zero-copy, off-heap serialization patterns for high-throughput FastAPI endpoints returning massive payloads. Eliminates Python Global Interpreter Lock (GIL) stalls and garbage collection pressure by dispatching serialization directly to Rust-managed arena memory segments for raw byte-level ASGI streaming.

Blocks:Intermediate Python Dict Materialization and Unbounded Heap Reallocation Under GIL
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-teardown-invariant
backendcritical

FastAPI AnyIO TaskGroup Structured Concurrency Teardown Invariant

Enforces strict structured concurrency teardown semantics using anyio.create_task_group() within async FastAPI streaming endpoints and background job runners. Guarantees deterministic cancellation propagation, unhandled exception containment, and immediate file/socket resource cleanup upon client disconnects or upstream failures.

Blocks:Fire-and-Forget asyncio.create_task Inside Streaming Generators Causing Orphaned Sockets and Zombie Coroutines
Targets:Cursor•Claude•Windsurf•Codex
axum-08-tls-session-ticket-invalidation-http3-drain
backendcritical

Axum 0.8 Graceful Shutdown and TLS Session Ticket Invalidation Protocol

Enforces deterministic two-phase connection draining and atomic TLS session ticket deprecation in Axum 0.8 services handling HTTP/3. Prevents rolling update request truncation by disabling 0-RTT/resumption tickets prior to stream draining and issuing synchronous QUIC GOAWAY frames with active stream timeouts.

Blocks:Naive SIGTERM listener termination allowing cached TLS ticket 0-RTT reconnects and inflight HTTP/3 stream truncation.
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-bidirectional-stream-drain-boundary
backendcritical

Axum 0.8 & Tower In-Flight Bidirectional Stream Drain Boundary

Enforces deterministic graceful shutdown and connection drain fences for upgraded bidirectional connections (WebSockets, SSE, and gRPC) in Axum 0.8 and Tower services. Prevents abrupt Kubernetes SIGKILL resets by mandating protocol-level drain signaling, TaskTracker tracking, and bounded drain timeouts prior to pod eviction.

Blocks:Leaking In-Flight Upgraded Connections Past SIGTERM Leading to Abrupt SIGKILL Termination
Targets:Cursor•Claude•Windsurf•Codex
fastapi-sse-stream-backpressure-resource-guardrail
backendcritical

FastAPI SSE Backpressure and Premature Disconnect Resource Deallocation Guardrail

Enforces deterministic teardown of upstream database sessions, pub/sub consumer groups, and network sockets during Server-Sent Events (SSE) streaming in FastAPI. Guarantees that client disconnects, socket cancellations, and downstream backpressure collapses propagate immediate generator termination and resource pool release.

Blocks:Orphaned Coroutines and Leaked Database/Queue Connections on Abrupt SSE Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-work-mem-allocation-standard
backendcritical

Postgres 17 JSON_TABLE Memory Bounds and WorkMem Guardrail

Enforces strict transaction-local memory ceilings (`work_mem`), streaming projection semantics, and chunked cursor evaluation when extracting relational rows from massive JSON payloads using Postgres 17's SQL/JSON `JSON_TABLE`. Prevents query backend termination and cluster-wide Linux Out-Of-Memory (OOM) killer cascades caused by unconstrained in-memory JSON path tree evaluation during concurrent high-throughput unnesting.

Blocks:Unbounded JSON_TABLE evaluation over large payloads without transaction-local memory fencing and streaming limits
Targets:Cursor•Claude•Windsurf•Codex
axum-tower-service-lease-cancellation-guardrail
backendcritical

Axum 0.8 Tower Service Lease Borrowing & Graceful Cancellation Guardrail

Enforces strict boundaries between Tower Service readiness checks (poll_ready), cloned service leases, and Tokio task cancellations in Axum 0.8 backends. Prevents silent lease dropping, deadlocks, and corrupted database transactions during SIGTERM pod drains by decoupling cooperative cancellation from in-flight transactional futures using CancellationToken and tokio::task::spawn.

Blocks:Dropping un-polled Tower service reservations or interleaving tokio::select! across non-cancellation-safe transactional Service::call pipelines.
Targets:Cursor•Claude•Windsurf•Codex
bun-so-reuseport-worker-affinity-standard
backendcritical

Bun 1.2 Isolated Multi-Worker SO_REUSEPORT Socket Invariant

Enforces isolated, multi-threaded server architecture in Bun 1.2+ utilizing native kernel SO_REUSEPORT socket load balancing across independent Worker threads. Eliminates event-loop starvation and cross-thread lock contention during TLS termination by guaranteeing zero shared state, per-worker socket instantiation, and CPU-pinned affinity.

Blocks:Centralized Master-Accept Socket Proxying with Cross-Worker IPC Handoff
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-streaming-wal-throttle-guardrail
backendcritical

Postgres 17 pgvector HNSW Streaming Index Build and WAL Throttle Guardrail

Enforces adaptive backpressure and replication-aware throttling during high-throughput vector ingestion into pgvector HNSW indexes on PostgreSQL 17. Prevents WAL volume spikes, full-page write cascades, and replication lag blowouts by mandating staged batching and active replication slot telemetry checks.

Blocks:Unbounded Direct Vector Streaming into HNSW Indexes Causing WAL Buffer Exhaustion and Replica Desynchronization
Targets:Cursor•Claude•Windsurf•Codex
axum-08-hyper-v1-http3-graceful-drain-standard
backendcritical

Axum 0.8 / Hyper v1 HTTP/3 Zero-Downtime Multiplex Drain Standard

Enforces deterministic two-phase GOAWAY frame emission and QUIC connection draining during cluster reloads in Axum 0.8 and Hyper v1. Prevents client-visible RST_STREAM errors, abrupt QUIC CONNECTION_CLOSE packet drops, and truncated bi-directional streams during SIGTERM rolling deployments.

Blocks:Abrupt QUIC Endpoint Termination and Dropped HTTP/3 Multiplexed Streams on SIGTERM
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-pinned-buffer-memory-fence
backendcritical

Bun 1.2 Native FFI Pinned Buffer Memory Ownership Fence

Enforces deterministic memory ownership and explicit buffer pinning across Bun 1.2 JavaScriptCore (JSC) and native C/Rust FFI boundaries. Prevents catastrophic use-after-free vulnerabilities, memory corruption, and runtime SIGSEGV crashes caused by JSC garbage collection and heap compaction sweeps reclaiming shared memory while native threads operate on raw pointers.

Blocks:Passing Ephemeral TypedArrays Directly to Native FFI Without Explicit Lifetime Anchoring or Manual Allocator Fencing
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-core-zero-copy-streaming
backendcritical

FastAPI Pydantic-Core Zero-Copy Streaming Validation Invariant

Enforces strict chunked streaming of massive multipart/file payloads through memory-mapped buffers and native rust-backed validation boundaries. Eliminates catastrophic Out-Of-Memory (OOM) heap allocations by preventing Python runtime string/bytes materialization and forcing backpressured chunk ingestion directly into pydantic-core or downstream sinks.

Blocks:Buffer Bloat via In-Memory Request Body Buffering and Intermediate Python String Conversions
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-simd-memory-fence
backendcritical

Postgres 17 JSON_TABLE SIMD Vectorized Execution Memory Fence

Enforces strict per-transaction working memory fences and keyset-bounded chunking when executing Postgres 17 JSON_TABLE queries over nested JSONB payloads. High-throughput vectorized SIMD parsing rapidly inflates per-backend heap allocations across nested execution paths, triggering kernel cgroup OOM container evictions if execution memory boundaries are omitted.

Blocks:Unbounded SIMD JSON_TABLE Extraction Triggering Container OOM-Kills
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-strict-zero-copy-serialization
backendcritical

Strict-Mode Parsing and Zero-Copy Serialization in FastAPI with Pydantic V2

Enforces strict type validation and zero-copy streaming serialization across FastAPI services using Pydantic V2 core architecture. Prevents silent data mutation, precision degradation, and type spoofing caused by lax coercion while bypassing Python Global Interpreter Lock (GIL) bottlenecks on multi-gigabyte or high-throughput JSON payloads via native Rust serializers and orjson streaming responses.

Blocks:Lax Type Coercion Exploits and GIL-Bound O(N) In-Memory Re-Serialization Bottlenecks
Targets:Cursor•Claude•Windsurf•Codex
tokio-async-drop-cancellation-safety-protocol
backendcritical

Tokio Async Drop Cancellation Safety Protocol for Distributed Transactions

Enforces strict cancellation safety invariants across async boundaries in Tokio-driven distributed transaction handlers. Prevents orphaned two-phase commit states, leaked database connection locks, and partial write corruption when futures are dropped mid-execution by timeouts or task abortion.

Blocks:Dropping Incomplete Transaction Futures Across Yield Points Without Cleanup Guards or Rollback Daemons
Targets:Cursor•Claude•Windsurf•Codex
go-chi-cgroup-adaptive-concurrency-throttling
backendcritical

Cgroup-Aware Adaptive Concurrency Limiting and CFS Throttling Prevention for Go Chi

Protects containerized Go HTTP microservices from Linux CFS (Completely Fair Scheduler) quota throttling, runqueue starvation, and catastrophic tail-latency amplification. Enforces dynamic in-flight request shedding via latency-gradient or PID-governed feedback loops measuring moving RTT ratios and cgroup v2 cpu.stat throttling metrics.

Blocks:Unbounded Goroutine Spawning or Static Semaphores Triggering Severe CFS Quota Starvation and Tail Latency Blowups
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-streaming-projection-quota
backendcritical

Postgres 17 JSON_TABLE Bounded Work Queue and Streaming Ingestion Quota

Enforces deterministic batch quotas, strictly bounded work_mem sessions, and optimized streaming projections using PostgreSQL 17 JSON_TABLE semantics. Prevents backend OOM death spirals during high-throughput semi-structured JSONB relational shredding by replacing unconstrained jsonb_to_recordset and in-memory array expansions with bounded column-projected streams.

Blocks:Unbounded jsonb_to_recordset cross-joins and memory allocation spikes during bulk JSON ingestion
Targets:Cursor•Claude•Windsurf•Codex
fastapi-py313-free-threaded-memory-boundary-standard
backendcritical

FastAPI Python 3.13 Free-Threaded Memory Boundary & State Encapsulation Standard

Mandates strict thread-safe memory boundaries and state encapsulation across FastAPI request lifecycles under Python 3.13 free-threaded (PEP 703) runtimes. Enforces total isolation of request contexts, thread-safe synchronization for shared state, and elimination of implicit GIL-dependent mutable patterns in dependency injection.

Blocks:Unsynchronized Module-Level State and Shared Mutable Dependencies Under Python 3.13 Free-Threading
Targets:Cursor•Claude•Windsurf•Codex
bun-1-2-ffi-zerocopy-pointer-alignment-guardrail
backendcritical

Bun 1.2 FFI Zero-Copy Pointer Alignment and Lifetime Pinning Guardrail

Enforces strict memory boundary, byte alignment, and GC lifetime anchoring when marshalling zero-copy typed arrays to native C-ABI and SIMD routines via Bun 1.2 FFI. Prevents silent memory corruption, microarchitectural page-boundary faults, and SIGSEGV/SIGBUS crashes caused by unaligned vector loads or premature JavaScriptCore garbage collection.

Blocks:Passing unaligned TypedArray views or unanchored buffers directly to native SIMD/C functions via bun:ffi.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-cancellation-shielding-drain-guardrail
backendcritical

FastAPI AnyIO Cancellation Shielding and Connection Drain Invariant

Enforces strict cancellation boundaries and deterministic connection draining in FastAPI services running on AnyIO/asyncio. Prevents orphaned mutations, partial transactional states, and thread pool starvation caused by unhandled client disconnections and mid-flight ASGI task cancellations.

Blocks:Unshielded Multi-Step Asynchronous Mutations and Unprotected Thread Worker Dispatches Under Client Disconnect
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-zero-escape-context-barrier
backendcritical

Go Chi v5 HTTP/3 Stream Lifecycle Zero-Escape Context Barrier

Enforces strict lifecycle boundaries between multiplexed QUIC/HTTP/3 stream contexts and asynchronous operations in Go Chi v5 services. Eliminates memory corruption, heap escapes, and premature cancellations caused by passing request contexts or pooled sync.Pool buffers across stream boundary horizons.

Blocks:Escaping Ephemeral QUIC Stream Contexts and Pooled Buffers into Unbounded Background Goroutines
Targets:Cursor•Claude•Windsurf•Codex
axum-structured-task-cancellation-barrier
backendcritical

Axum 0.8 Structured Task-Cancellation Barrier via CancellationToken Hierarchies

In Axum 0.8, HTTP/3 QUIC stream resets and client connection drops abruptly terminate handler futures at yield points. Without an explicit structured task-cancellation barrier using tokio_util CancellationToken hierarchies and RAII rollback guards, spawned background tasks leak compute and orphaned database transactions persist indefinitely.

Blocks:Spawning Unlinked tokio::spawn Tasks and Unguarded Long-Running IO in Dropped Handlers
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-invariant-bun-1-2-websocke-621
backendcritical

Bun 1.2 WebSocket Backpressure High-Water Mark and Drain Invariant

Enforces non-blocking backpressure checks and per-socket buffer boundaries on Bun WebSocket connections using Bun.serve. Mandates tracking ws.send() return byte counts, monitoring ws.readyState, registering drain() callbacks, and enforcing high-water mark buffer ceilings to prevent slow-client buffer inflation and fatal Node/Bun process OOM termination.

Blocks:Unchecked Fire-and-Forget ws.send() Loops Inducing Unbounded C++ Heap Growth and Slow-Client OOM
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-streaming-projection-postgresql-17-sq-327
backendcritical

PostgreSQL 17 SQL/JSON JSON_TABLE In-Engine Streaming Projections

PostgreSQL 17 JSON_TABLE transforms semi-structured JSONB documents directly into typed relational projections within the query executor. Application services must leverage in-engine JSON_TABLE evaluation rather than deserializing large JSON blobs in runtime application memory, preventing catastrophic V8/Go garbage collection pauses and OOM crashes. Streaming projections ensure strict type safety, columnar filtering, and zero-allocation relational joins.

Blocks:Hydrating Large JSONB Documents into Application Memory for Runtime Parsing and Extraction
Targets:Cursor•Claude•Windsurf•Codex
openfga-contextual-tuple-batching-standard
backendcritical

OpenFGA Contextual Tuple Batching and Tail Latency Mitigation Standard

Enforces batched evaluation and deduplication of contextual tuples during OpenFGA ReBAC operations across distributed boundaries. Prevents N+1 network roundtrips, redundant graph traversal allocations, and sub-millisecond p99 tail latency amplification in high-throughput microservice pipelines.

Blocks:Sequential single-check evaluations with redundant contextual tuple serialization causing N+1 latency cascades.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2-streaming-deserialization
backendcritical

FastAPI & Pydantic V2 Chunked Zero-Copy Stream Deserialization Standard

Enforces non-blocking, zero-copy, chunked deserialization for high-throughput and multi-gigabyte structured payloads in FastAPI using Pydantic V2. Protects the asyncio event loop from starvation and prevents worker out-of-memory (OOM) crashes by streaming byte buffers directly into iterative parsers and offloading validation to bounded worker threads.

Blocks:Eager Request Body Buffering and Synchronous In-Loop Deserialization of Large Payloads
Targets:Cursor•Claude•Windsurf•Codex
bun-websocket-backpressure-drain-pipeline
backendcritical

Bun 1.2 Native WebSocket Backpressure and Cooperative Drain Architecture

Enforces strict non-blocking backpressure handling on native Bun WebSockets using ws.send() return codes and the drain() callback. Prevents unbounded native heap exhaustion caused by slow consumer stalls during high-frequency telemetry and event distribution.

Blocks:Blind ws.send() Invocations in High-Throughput Loops Leading to Native Buffer Bloat and OOM Crashes
Targets:Cursor•Claude•Windsurf•Codex
nats-jetstream-deterministic-deduplication-window-partitioning
backendcritical

Deterministic Deduplication Window Partitioning in NATS JetStream 2.11

Enforces strict broker-level sequence-pinned deduplication windows across distributed edge topologies in NATS JetStream 2.11+. Eliminates edge clock-drift anomalies and split-brain replays by partitioning deduplication keys by deterministic sequence boundaries, domain partitions, and bounded epoch buckets rather than volatile wall-clock intervals.

Blocks:Relying on Wall-Clock Timestamps and Ephemeral UUIDs for JetStream Deduplication Across Edge Topologies
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-incremental-backup-lsn-verification-standard
backendcritical

Postgres 17 Block-Level Incremental Backup LSN Verification and Continuity Guardrail

Enforces strict LSN (Log Sequence Number) continuity validation, backup manifest cryptographic verification, and timeline integrity when orchestrating Postgres 17 native block-level incremental backups. Prevents broken backup chains, silent data loss, and failed disaster recovery workflows by mathematically guaranteeing prior-manifest parentage before and after invoking pg_basebackup with incremental mode.

Blocks:Executing Unverified Incremental Backups Against Invalid or Desynchronized Parent Manifests
Targets:Cursor•Claude•Windsurf•Codex
wasi-02-linear-memory-hard-cap-invariant
backendcritical

WASI 0.2 Component Model Linear Memory Hard-Cap and Resource Limiter Invariant

Enforces strict per-instance linear memory allocation ceilings and deterministic trap semantics for multi-tenant WASI 0.2 components. Prevents untrusted guest code from exhausting host memory by mandating explicit Store-level ResourceLimiter configurations and bounded canonical ABI reallocations.

Blocks:Unbounded Wasm Instance Growth via Default Store Allocation and Missing ResourceLimiter Traps
Targets:Cursor•Claude•Windsurf•Codex
go-http3-0rtt-anti-replay-chi
backendcritical

Go 1.24 HTTP/3 0-RTT Anti-Replay Cache Invariant in Chi Routers

Enforces strict gating of QUIC 0-RTT early data in Go 1.24 HTTP/3 Chi services to prevent state-mutating replay attacks. Replays of 0-RTT early data bypass TLS forward secrecy and can cause duplicate state mutations unless non-idempotent methods are rejected with HTTP 425 Too Early before handler context propagation.

Blocks:Permitting Unvalidated 0-RTT QUIC Early Data to Execute State-Mutating Chi Handlers
Targets:Cursor•Claude•Windsurf•Codex
pg17-logical-failover-slot-sync-read-routing
backendcritical

PostgreSQL 17 Logical Failover Slot Sync & Causal Read Routing Standard

Mandates failover-enabled logical replication slots (`failover = true`), primary physical synchronization gating via `standby_slot_names`, and causal LSN-tracked read routing in PostgreSQL 17. Eliminates WAL retention truncation, CDC stream starvation, and stale replica reads during physical primary failovers.

Blocks:Unsynchronized Logical Slots and Uncoordinated Read Dispatch Causing Consumer Drop and Replication Desynchronization
Targets:Cursor•Claude•Windsurf•Codex
go-iter-seq-deterministic-resource-teardown
backendcritical

Go 1.24 iter.Seq Deterministic Resource Teardown and Goroutine Leak Prevention

Enforces deterministic resource cleanup and goroutine leak prevention within Go 1.24 range-over-func push (`iter.Seq`, `iter.Seq2`) and pull (`iter.Pull`, `iter.Pull2`) iterators. Guarantees that when consumer loops break early, iterator yields halt immediately, `defer` blocks execute without truncation, and pull iterator `stop()` callbacks are registered to tear down producer goroutines.

Blocks:Ignoring yield() False Returns and Omitting iter.Pull stop() Teardown, Causing Leaked Goroutines and Orphaned Handles
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-cancellation-standard
backendcritical

FastAPI AnyIO Structured TaskGroup & ExceptionGroup Propagation Standard

Enforces structured concurrency across asynchronous FastAPI endpoints and background routines using AnyIO TaskGroups and Python 3.11+ ExceptionGroups. Guarantees cooperative cancellation across concurrent subtasks when any subtask faults, eliminating orphaned processes, dangling database sessions, and silent background resource leaks.

Blocks:Unsupervised asyncio.create_task Spawning and Bare Exception Catching Causing Orphaned Worker Proliferation
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydanticv2-zerocopy-buffer-deserialization-standard
backendcritical

FastAPI Pydantic V2 Zero-Copy Buffer Deserialization Standard

Mandates parsing high-throughput HTTP payloads directly from raw contiguous byte buffers using Pydantic V2's Rust-backed deserializer (`model_validate_json`) rather than intermediate Python dictionaries or Starlette's `Request.json()`. Prevents severe event-loop stalls, intermediate heap object explosion, and garbage collection pauses in gigabit-scale ingress services.

Blocks:Intermediate Python Dict Construction & Double-Validation via request.json() or Dict-Based Body Ingestion
Targets:Cursor•Claude•Windsurf•Codex
go-chi-context-bound-pool-drain-invariant
backendcritical

Go 1.24 Chi Context-Bound Goroutine Pool Drain Invariant

Enforces deterministic cancellation propagation from Chi HTTP request contexts into all bounded goroutine pools and fan-out worker pipelines. Prevents orphaned database transactions, lingering connection leases, and hung upstream sockets by mandating context-aware dispatching, select-guarded channel writes, and strict errgroup drain mechanics on client disconnect.

Blocks:Spawning uncoordinated goroutines or enqueuing work with detached contexts inside Chi HTTP request lifecycles
Targets:Cursor•Claude•Windsurf•Codex
fastapi-anyio-taskgroup-exception-propagation-standard
backendcritical

FastAPI AnyIO Structured TaskGroup Exception Propagation and Cancellation Standard

Enforces deterministic handling and explicit unrolling of multi-child ExceptionGroups across request-scoped AnyIO TaskGroups in FastAPI services. Prevents silently swallowed coroutine cancellations, hidden subtask panics, and zombie background worker states through strict isolation and shield invariants.

Blocks:Swallowing BaseExceptions or Blindly Catching Top-Level Exception Around AnyIO TaskGroups
Targets:Cursor•Claude•Windsurf•Codex
axum-epoll-graceful-connection-draining
backendcritical

Axum 0.8 Epoll-Aware Zero-Loss Connection Draining Standard

Guarantees zero-loss termination of active Server-Sent Events (SSE) and HTTP/2 multiplexed streams during rolling pod replacements. Enforces coordinated dual-phase graceful shutdown via Tokio cancellation tokens and hyper connection tracking to prevent TCP RST generation and truncated stream frames.

Blocks:Naive Axum serve termination hanging on infinite SSE streams until Kubernetes SIGKILL emits TCP RSTs
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-parallel-worker-memory-fencing
backendcritical

Postgres 17 JSON_TABLE Parallel Worker Memory Fencing

Enforces transaction-scoped dynamic work_mem calculation and parallel worker fences for SQL/JSON transformations using PostgreSQL 17 JSON_TABLE. Unbounded parallel query plans executing memory-intensive JSON unpacking lead to multiplicative work_mem allocation across worker nodes, triggering Linux OOM-killer termination of Postgres backends.

Blocks:Global Uncapped work_mem with Unconstrained max_parallel_workers Under JSON_TABLE Scans
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-direct-io-prefetch-budget-standard
backendcritical

PostgreSQL 17 Vectorized Direct I/O & Prefetch Budget Architecture Standard

Enforces deterministic I/O budget allocations and OS page-cache bypass thresholds in PostgreSQL 17 streaming read pipelines. Prevents kernel inode lock contention, double-buffering degradation, and OLTP buffer pool eviction under concurrent high-throughput sequential scans and vector workloads.

Blocks:Unbounded Streaming Scans Polluting Page Cache and Exhausting Prefetch Ring Buffers
Targets:Cursor•Claude•Windsurf•Codex
bun-native-worker-memory-quota-enforcement
backendcritical

Bun 1.2 Isolated Native Worker Linear Memory Quota Enforcement

Enforces strict physical and virtual linear memory quotas alongside deterministic cooperative cancellation tokens within Bun 1.2 native multithreaded worker pools. Prevents rogue tenant payloads from triggering unbounded heap growth, process-level OOM aborts, or cross-tenant degradation by isolating execution environments within monitored, cancelable Worker boundaries.

Blocks:Unbounded Multithreaded Worker Execution Without Proactive RSS Tracking or SharedArrayBuffer Cancellation Tokens
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-ephemeral-cache-invariant
backendcritical

Go 1.24 Weak-Pointer Ephemeral Cache and GC Invariant

Enforces strict memory safety and lifetime boundaries when using Go 1.24 weak pointers (weak.Pointer) for high-throughput route metadata and ephemeral session caches. Weak references must guard against nil dereferencing, prevent premature promotion during lookup, and use runtime-aligned cleanup to eradicate GC mark-phase STW latency spikes.

Blocks:Retaining strong references across cache lookups and using manual finalizers instead of Go 1.24 weak.Pointer and runtime.AddCleanup.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-streaming-io-vectorized-prefetch-memory-fence
backendcritical

Postgres 17 Streaming I/O Vectorized Prefetch Memory Fencing Standard

Governs Postgres 17 streaming I/O lookahead prefetching and kernel page cache allocations during vectorized asynchronous sequential and bitmap heap scans. Enforces strict session-level memory fences and concurrency ceilings to prevent OS page cache bloat and container cgroup OOM killer termination.

Blocks:Unfenced Vectorized Asynchronous Prefetching Triggering cgroup OOM Evictions
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-native-buffer-pinning-gc-isolation
backendcritical

Bun 1.2 FFI Buffer Pinning and JSC GC Isolation Standard

Enforces deterministic lifetime pinning and GC isolation for typed buffers passed across Bun 1.2 FFI boundaries. Prevents JavaScriptCore garbage collection cycles from deallocating or corrupting memory backing active native pointers during synchronous and asynchronous foreign execution.

Blocks:Passing ephemeral TypedArrays inline to FFI functions, allowing JavaScriptCore GC to sweep backing memory under active native pointers.
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-logical-replication-failover-slots-guardrail
backendcritical

PostgreSQL 17 Deterministic Failover Slot Synchronization Guardrail

Enforces deterministic configuration and validation of PostgreSQL 17 logical replication failover slots across physical standbys. Prevents silent downstream subscriber divergence, double-processing, and WAL disk exhaustion caused by uncoordinated primary promotions or unsynchronized LSN markers.

Blocks:Unsynchronized Ephemeral Logical Slots Leading to Replay Divergence or WAL Disk Exhaustion Post-Failover
Targets:Cursor•Claude•Windsurf•Codex
go-1-24-swiss-table-partition-sharding-standard
backendcritical

Go 1.24 Swiss Table Cache-Line Padded Partition Sharding Standard

Establishes strict striping and cache-line padding invariants over concurrent Go 1.24 Swiss table maps. Prevents false sharing, cross-core cache invalidation storms, and unbounded heap allocations in ultra-high-throughput concurrent workloads by enforcing power-of-two mask-based sharding and CPU cache-line alignment.

Blocks:Global RWMutex Contention and False Sharing on Swiss Map Partitions
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-logical-slot-sync-guardrail
backendcritical

Postgres 17 Logical Replication Slot Synchronization & Zero-Data-Loss Failover

PostgreSQL 17 introduces native logical replication slot failover via physical standby synchronization ('failover => true' and 'sync_replication_slots'). Services and CDC orchestrators must strictly enforce slot synchronization state validation before standby cutover and mandate finite WAL retention limits to avoid either catastrophic disk exhaustion or silent data loss during failovers.

Blocks:Uncoordinated Logical Slot Cutover and Unbounded WAL Accumulation Causing Split-Brain CDC and Node Crash
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-hints-pipeline-sync
backendcritical

Go Chi HTTP/3 Early Hints Deterministic Stream Synchronization

Enforces deterministic emission of RFC 8297 103 Early Hints prior to initiating zero-allocation streaming body flushes over multiplexed HTTP/3 QUIC streams in Go Chi services. Prevents race conditions, protocol frame interleaving, and broken stream state caused by concurrent header mutation and unbuffered body transmission.

Blocks:Concurrent or Post-Flush 103 Early Hints Header Emission on Multiplexed QUIC Streams
Targets:Cursor•Claude•Windsurf•Codex
bun-sqlite-wal-concurrent-writer-sharding-standard
backendcritical

Bun 1.2 Native SQLite WAL Concurrent Writer Sharding Standard

Enforces strict write-worker thread affinity, PRAGMA tuning, and deterministic checkpoint coordination for high-throughput Bun 1.2 native SQLite microservices. Prevents SQLITE_BUSY locking stalls and unconstrained write-ahead log explosion by partitioning writes across dedicated shard workers while allowing unblocked read-only replicas in concurrent WAL mode.

Blocks:Unpartitioned Concurrent Mutex Contention and Uncontrolled WAL Growth Under Distributed Node/Worker Writers
Targets:Cursor•Claude•Windsurf•Codex
bun-zero-copy-tcp-pipeline-production-standard
backendcritical

Bun 1.2 Zero-Copy Kernel-Space TCP Streaming Standard

Mandates direct kernel-space streaming transfers for high-volume binary payloads using Bun.listen and Bun.connect. Enforces strict zero-copy descriptor offloading (via sendfile/copy_file_range) to bypass JavaScriptCore heap allocation and eliminate garbage collection thrashing under 100k+ concurrent connections.

Blocks:Userland Heap Buffering and Intermediate ArrayBuffer Allocations in High-Throughput TCP Sockets
Targets:Cursor•Claude•Windsurf•Codex
openfga-contextual-tuple-consistency-boundary
backendcritical

OpenFGA Contextual Tuple Consistency Boundary and Token Verification

Enforces strict distributed consistency and cryptographic boundary verification for contextual tuples in OpenFGA authorization checks. Prevents unauthorized privilege escalation and confused deputy exploits caused by processing stale, unverified, or client-tampered transient contextual tuples.

Blocks:Injecting Client-Supplied Contextual Tuples Directly into OpenFGA Check Requests Without Consistency Token Verification
Targets:Cursor•Claude•Windsurf•Codex
axum-hyper-h3-early-data-anti-replay-guardrail
backendcritical

Axum 0.8 Hyper HTTP/3 Early Data 0-RTT Anti-Replay Guardrail

Enforces strict isolation and validation of QUIC 0-RTT early data within Axum 0.8 and Hyper HTTP/3 stacks. Non-idempotent HTTP methods and state-mutating handlers must reject early data with HTTP 425 (Too Early) or validate cryptographically bound TLS exporter tokens against replay windows to prevent replay-induced state corruption.

Blocks:Executing state-mutating requests over unverified QUIC 0-RTT Early Data, enabling on-path packet replay attacks.
Targets:Cursor•Claude•Windsurf•Codex
go124-weak-pointer-cache-finalization-invariant
backendcritical

Go 1.24 Weak Pointer & Cleanup Invariant for Ephemeral Actor Caches

Enforces non-resurrecting ephemeral caching patterns using Go 1.24 weak pointers and runtime.AddCleanup. Eliminates strong cyclic reference retention and heap fragmentation across high-throughput actor goroutines by decoupling cleanup closures from cached heap allocations.

Blocks:Strong Reference Cycling and Object Resurrection in Concurrent Actor Caches
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-json-table-memory-guardrail-postgres-17-json-862
backendcritical

Postgres 17 JSON_TABLE Projection Memory Budget and Allocation Bounding

Unbounded relational projections using Postgres 17 SQL/JSON JSON_TABLE across arbitrary JSONB payloads risk rapid backend worker memory exhaustion and Linux OOM killer termination. This standard enforces deterministic projection buffer bounding through JSON path array slicing, strict output column width limits, transaction-scoped work_mem ceilings, and keyset-paginated source batches.

Blocks:Unbounded Nested JSON_TABLE Projections Triggering Postgres Worker OOM Termination
Targets:Cursor•Claude•Windsurf•Codex
pg17-async-streaming-io-dynamic-buffer-standard
backendcritical

Postgres 17 Asynchronous Streaming I/O Dynamic Workload Buffer Standard

Enforces strict runtime session-level tuning for PostgreSQL 17 streaming read and asynchronous vectorized I/O primitives during high-concurrency analytical and batch sequential scans. Prevents kernel buffer cache thrashing and tail-latency degradation by dynamically balancing io_combine_limit, maintenance_io_concurrency, and ring-buffer allocations per workload classification.

Blocks:Unbounded Synchronous Sequential Scans and Static Global Read Buffers Causing Kernel I/O Queue Evictions
Targets:Cursor•Claude•Windsurf•Codex
go-synctest-bubble-quarantine
backendcritical

Go 1.24 testing/synctest Bubble Concurrency Quarantine

Mandates deterministic, zero-wall-time concurrency testing using Go 1.24's testing/synctest bubble quarantine for distributed locks, stateful orchestrators, and goroutine pools. Eliminates flaky time.Sleep heuristics and CPU-wasting poll loops by anchoring goroutines inside synthetic time bubbles where goroutine advancement is strictly coordinated.

Blocks:Arbitrary Real-Time Sleep Heuristics and Leaked Goroutines in Concurrent State Testing
Targets:Cursor•Claude•Windsurf•Codex
fastapi-async-cancellation-shield-taskgroup-guardrail
backendcritical

FastAPI Async Cancellation Shield and Structured TaskGroup Guardrail

Enforces strict asynchronous cancellation boundaries and structured concurrency across FastAPI handlers when client streams or HTTP/3 sessions disconnect mid-flight. Prevents orphaned background tasks, unclosed SQLAlchemy/asyncpg transactions, and inconsistent external state mutation by mandating asyncio.shield on critical sections and asyncio.TaskGroup for child task lifecycles.

Blocks:Unshielded Database Mutations and Naked asyncio.create_task Inside Client-Cancellable Route Handlers
Targets:Cursor•Claude•Windsurf•Codex
python-313-freethreaded-fastapi-state-guardrail
backendcritical

Python 3.13 Free-Threaded FastAPI Shared State & Concurrency Invariant

Enforces strict thread-safe access patterns, fine-grained locking, or externalized state management for Python 3.13 free-threaded (PEP 703) runtimes. Without the Global Interpreter Lock (GIL), in-memory mutations on built-in collections across concurrent worker threads cause non-deterministic race conditions, torn reads, and memory corruption in ASGI applications. All shared application state must use synchronized primitives, atomics, or immutable data structures.

Blocks:Unsynchronized In-Memory State Mutation Across Concurrent ASGI Worker Threads in Free-Threaded Python
Targets:Cursor•Claude•Windsurf•Codex
go-chi-http3-early-hints-preconnect-invariant
backendcritical

Go Chi HTTP/3 Early Hints (RFC 8297) 103 Preconnect Invariant

Enforces immediate emission of RFC 8297 103 Early Hints for preconnect and preload resource directives over HTTP/3 QUIC streams prior to executing long-running business logic in Go Chi handlers. Prevents head-of-line payload blocking on edge networks by explicitly flushing the 103 informational status header through the underlying ResponseWriter before expensive database or microservice queries are initiated.

Blocks:Executing blocking upstream I/O queries before flushing 103 Early Hints informational headers over the QUIC stream.
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cooperative-cancellation-standard
backendcritical

Axum 0.8 Tokio Cooperative Task-Budget Cancellation Standard

Mandates strict binding between Axum 0.8 client connection drops and Tokio cooperative cancellation tokens across streaming SSE, WebSocket, and long-polling conduits. Eliminates zombie background worker tasks and downstream connection-pool starvation by enforcing RAII-based cancellation propagation and cooperative budget yields on all asynchronous execution paths.

Blocks:Spawning Detached Tokio Tasks in Handlers Without Client Disconnect Binding
Targets:Cursor•Claude•Windsurf•Codex
go124-http3-zero-rtt-anti-replay-idempotency
backendcritical

Go 1.24 HTTP/3 0-RTT Anti-Replay Idempotency Boundary Enforcement

RFC 8470 and RFC 9114 mandate that TLS 1.3 and QUIC 0-RTT (Early Data) frames are susceptible to passive network replay attacks. In Go 1.24 HTTP/3 edge gateways and services, handlers must enforce an absolute boundary invariant that forbids state-mutating HTTP methods within early data frames, immediately rejecting unconfirmed operations with HTTP 425 (Too Early) or gating them behind non-replayable distributed token leases.

Blocks:Processing Mutating HTTP Requests Inside Unconfirmed 0-RTT Early Data Frames
Targets:Cursor•Claude•Windsurf•Codex
vllm-pagedattention-multitenant-kv-cache-boundary-invariant
backendcritical

vLLM PagedAttention Multi-Tenant KV-Cache Cryptographic Partitioning & Memory Sanitization

Enforces tenant-scoped cryptographic domain isolation in vLLM PagedAttention allocation tables and mandates asynchronous zero-scrubbing of recycled GPU block pools. Prevents cross-tenant prompt extraction via prefix caching collision attacks and residual High Bandwidth Memory (HBM) activation recovery.

Blocks:Cross-Tenant Block Pool Recycling with Unsalted Prefix Caching and Dirty Memory Allocation
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-broadcast-graceful-teardown-barrier
backendcritical

Axum 0.8 Tokio Broadcast Channel Graceful Teardown Barrier

Enforces a two-phase connection draining and broadcast channel shutdown barrier for long-lived streaming connections (SSE and WebSockets) in Axum 0.8. Prevents message loss, abrupt socket resets (RST), and half-open deadlocks during zero-downtime rolling container deployments by synchronizing HTTP server termination with consumer stream exhaustion via cancellation tokens and task trackers.

Blocks:Abrupt Runtime Termination of Axum SSE/WebSocket Streams on SIGTERM Causing Message Drops and Client Socket Resets
Targets:Cursor•Claude•Windsurf•Codex
pgvector-hnsw-iterative-scan-memory-budget
backendcritical

pgvector 0.8+ HNSW Iterative Index Scan Memory Budget Guardrail

Enforces strict session-level memory caps and scan bounds during pgvector 0.8+ iterative HNSW index scans on PostgreSQL 17. Highly selective relational WHERE clauses combined with nearest-neighbor vector operators cause unbounded graph traversal and candidate set allocation in backend worker memory, triggering OOM panics unless guarded by hnsw.iterative_scan and work_mem safeguards.

Blocks:Unbounded Iterative HNSW Graph Traversals Triggering Postgres Worker OOM Panics
Targets:Cursor•Claude•Windsurf•Codex
axum-http3-quic-stream-draining-standard
backendcritical

Axum 0.8 HTTP/3 QUIC In-Flight Stream Draining Standard

Enforces deterministic two-phase GOAWAY signaling, active stream counting, and coordinated UDP connection draining for Axum 0.8 HTTP/3 (QUIC) microservices. Prevents truncated multiplexed streams, silent request drops, and client-side stream resets during container rolling restarts.

Blocks:Dropping QUIC Endpoints on SIGTERM Without Two-Phase GOAWAY Stream Draining
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-failover-slot-sync-guardrail-postgres-17-fail-948
backendcritical

Postgres 17 Failover Slot Synchronization & Synchronized Logical Replication Guardrail

Enforces Postgres 17 native logical replication failover slot synchronization across primary and physical standby nodes. Guarantees that CDC consumers and logical decoding subscribers maintain zero-data-loss and strictly ordered streaming without duplicate or dropped WAL segments after automated HA cluster failover.

Blocks:Creating unmanaged logical slots without failover synchronization and standby physical replication slot coordination
Targets:Cursor•Claude•Windsurf•Codex
go-chi-sse-client-disconnect-teardown-guardrail
backendcritical

Go Chi SSE Client Disconnect & Stream Teardown Sentinel Guardrail

Binds HTTP Server-Sent Event (SSE) streaming runtimes strictly to underlying TCP socket closures using Chi context propagation. Ensures prompt reclamation of connection pools and prevents runaway background goroutine leaks during client dropouts or network partitions.

Blocks:Orphaned SSE Goroutines and TCP Pool Starvation via Unmonitored Context Closure
Targets:Cursor•Claude•Windsurf•Codex
pg17-failover-synchronized-logical-replication-guardrail
backendcritical

PostgreSQL 17 Failover-Synchronized Logical Replication Slot Guardrail

Enforces failover-ready logical replication slots introduced in PostgreSQL 17 to prevent Change Data Capture (CDC) event stream divergence during physical replica promotions. Mandates failover configuration on primary logical slots and synchronizes standby slots using synchronized_standby_slots and sync_replication_slots. Guarantees zero data loss and prevents duplicate or skipped CDC events upon unplanned failovers.

Blocks:Creating uncoordinated logical replication slots lacking synchronized failover metadata across physical standbys
Targets:Cursor•Claude•Windsurf•Codex
bun-worker-resource-ceiling-sandboxing-standard
backendcritical

Bun 1.2 Multi-Tenant Worker Resource Ceiling and Sandbox Isolation

Enforces deterministic memory quotas and strict execution boundaries on Bun workers to prevent multi-tenant noisy-neighbor starvation and host process out-of-memory crashes. Mandates explicit resourceLimits configuration, aggressive watchdog timeouts, and mediated host-worker IPC protocols instead of direct host system access.

Blocks:Unconstrained Worker Allocation and Unsandboxed Execution Causing Host Process OOM and Event Loop Starvation
Targets:Cursor•Claude•Windsurf•Codex
postgres-17-async-direct-io-block-cache-invariant
backendcritical

Postgres 17 Asynchronous Direct I/O Memory Alignment & Zero-Copy Invariant

Enforces strict sector-aligned memory buffer allocations and block-granular I/O boundaries when interfacing with PostgreSQL 17 asynchronous direct I/O (AIO/io_direct) subsystems and custom block drivers. Prevents double-buffering OS page cache thrashing, EINVAL traps on io_uring/libaio syscalls, and degraded fallback execution during write-intensive transactional and ingestion workloads.

Blocks:Unaligned Heap Allocations and Variable-Size Buffer Writes Bypassing Direct I/O Invariants
Targets:Cursor•Claude•Windsurf•Codex
fastapi-nogil-concurrency-guardrail
backendcritical

FastAPI Free-Threaded (Python 3.13 nogil) Shared-Memory Concurrency Standard

Mandates explicit thread-safe synchronization primitives for shared in-process state in Python 3.13 free-threaded (PEP 703 / nogil) FastAPI runtimes. In environments without the Global Interpreter Lock, compound operations on native collections produce race conditions, lost updates, and memory-inconsistency bugs across parallel execution threads.

Blocks:Unsynchronized in-memory state manipulation assuming legacy GIL serialization in Python 3.13t
Targets:Cursor•Claude•Windsurf•Codex
openfga-subgraph-recursion-traversal-budget-standard
backendcritical

OpenFGA Zanzibar Subgraph Recursion Depth and Contextual Tuple Budget Standard

Enforces strict bounds on transitive relation closure depth and contextual tuple cardinality within OpenFGA authorization evaluations. Guarantees predictable sub-millisecond query latencies and prevents catastrophic graph expansion attacks in dense multi-tenant authorization topographies.

Blocks:Unbounded Transitive Graph Traversal and Arbitrary Contextual Tuple Expansion Causing Zanzibar Engine Collapse
Targets:Cursor•Claude•Windsurf•Codex
go-124-weak-pointer-cache-lifecycle-standard
backendcritical

Go 1.24 Weak Pointer Cache Retention & Cleanup Lifecycle Standard

Enforces non-owning memory references in high-throughput Go caching layers using Go 1.24 weak.Pointer and runtime.AddCleanup. Eliminates sweep-phase GC bloat, memory resurrection leaks, and finalizer-induced goroutine stalls.

Blocks:Retaining Strong References in Caches and Relying on Deprecated runtime.SetFinalizer
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cooperative-scheduling-budget-guardrail
backendcritical

Axum 0.8 Tokio Cooperative Task Scheduling Budget Guardrail

Enforces preemption yield points and blocking offloads within Axum 0.8 middleware and extractors executing CPU-intensive serialization or validation workloads. Prevents long-running synchronous compute loops from starving Tokio runtime worker threads, eliminating tail-latency degradation and executor stalls under high concurrency.

Blocks:Unbounded Synchronous Serialization Loops Starving Tokio Worker Threads
Targets:Cursor•Claude•Windsurf•Codex
fastapi-python313-freethreaded-concurrency-fastapi-on-pytho-178
backendcritical

FastAPI Python 3.13 Free-Threaded (nogil) Concurrency & C-Extension Isolation

Enforces strict thread-safe state synchronization and process isolation for non-reentrant C-extension bindings when running FastAPI under Python 3.13 free-threaded execution (nogil). Eliminates silent data corruption, torn reads, and SIGSEGV crashes caused by concurrent OS thread execution.

Blocks:Unsynchronized Shared State Access and Unisolated Non-Reentrant C-Extensions Under Free-Threaded Python
Targets:Cursor•Claude•Windsurf•Codex
axum-tokio-cancellation-cleanup-guardrail
backendcritical

Axum 0.8 Tokio Cooperative Request Cancellation and Drop Safety Standard

Enforces strict cancellation safety, explicit drop semantics, and deterministic transaction rollbacks under Axum 0.8 and Tokio runtimes. When HTTP/2 clients terminate connections prematurely or reset streams (RST_STREAM), pending futures are dropped mid-execution, which can leave database connection pools depleted or lock states orphaned if asynchronous resources are not wrapped in drop guards or shielded spawn blocks.

Blocks:Orphaned Transactions and Poisoned DB Pool Locks Due to Premature Stream Drops
Targets:Cursor•Claude•Windsurf•Codex
bun-ffi-pointer-lifetime-worker-boundary
backendcritical

Bun 1.2 Native C-FFI Pointer Lifetime & Thread-Safe Worker Boundary

Enforces strict memory ownership, non-aliased pointer lifecycles, and isolated native resource pinning when executing foreign functions across Bun Worker threads. Prevents use-after-free conditions, double-frees, and v8/JSC GC-induced memory corruption during offloaded cryptographic or hardware-bound operations.

Blocks:Transferring raw native pointers or retaining unpinned JS TypedArrays across asynchronous worker boundaries during native C-FFI execution
Targets:Cursor•Claude•Windsurf•Codex
go-chi-h2-stream-cancellation-slab-invariant
backendcritical

Go Chi HTTP/2 Stream Context Cancellation & Slab Reallocation Invariant

Enforces strict context-cancellation propagation and deterministic slab buffer cleanup for long-lived HTTP/2 streams handled by Chi. Prevents unbounded goroutine accumulation, context cancellation masking, and sync.Pool buffer fragmentation or cross-stream corruption when multiplexed clients prematurely disconnect.

Blocks:Ignoring r.Context().Done() or returning dirty sync.Pool byte slabs across prematurely aborted HTTP/2 stream flushes
Targets:Cursor•Claude•Windsurf•Codex
python-313-nogil-fastapi-thread-safety
backendcritical

Python 3.13 Free-Threaded FastAPI Native C-Extension Thread-Safety Invariant

Enforces strict synchronization and isolation guarantees when executing FastAPI services under Python 3.13 free-threaded (PEP 703 no-GIL) runtimes. Prevents silent memory corruption, race conditions, and segmentation faults originating from concurrent worker-pool access to non-reentrant C-extensions, Cython handles, and shared mutable Python state.

Blocks:Unsynchronized Concurrent Access to Shared Mutable State and Non-Reentrant Native Extensions Under No-GIL Runtimes
Targets:Cursor•Claude•Windsurf•Codex
fastapi-pydantic-v2
backendcritical

FastAPI & Pydantic v2 Async Concurrency Standard

Guardrails for FastAPI with Pydantic v2: prevent synchronous blocking calls inside async def endpoints, use lifespan context managers, and migrate to model_dump().

Blocks:AI calls blocking synchronous requests.get() or time.sleep() inside async def, freezing the entire event loop.
Targets:Cursor•Claude•Windsurf•Codex
golang-gin-clean-arch
backendcritical

Go Gin Clean Architecture & Explicit Error Handling

Production Go standards: strict error checking (never ignore `if err != nil`), context propagation for cancellation/timeouts, and dependency injection.

Blocks:AI uses blank identifier `_` to suppress errors, panics in HTTP handlers, or ignores request context.
Targets:Cursor•Claude•Windsurf•Codex
rust-axum-tokio
backendcritical

Rust Axum & Tokio Production Concurrency Standard

Guardrails for Rust web services: manage Send + Sync bounds, avoid blocking Tokio worker threads, use bounded mpsc channels, and handle database connection pooling.

Blocks:AI calls std::thread::sleep or std::fs in async Axum handlers, stalling the Tokio async runtime.
Targets:Cursor•Claude•Windsurf•Codex
nodejs-prisma-optimization
backendcritical

Node.js & Prisma ORM Anti-N+1 Query Optimization

Guardrails for Prisma ORM: prevent N+1 query loops using include/select relations, use prisma.$transaction for batching, and maintain singleton PrismaClient instance.

Blocks:AI queries the database inside a for-loop (N+1 query trap) or creates a new PrismaClient() on every request.
Targets:Cursor•Claude•Windsurf•Codex
nestjs-modular-architecture
backend

NestJS Enterprise Modular Architecture & Validation

Enterprise NestJS conventions: enforce strict modular boundaries, global ValidationPipe with whitelist: true, custom exception filters, and proper DI token usage.

Blocks:AI mutates request objects directly, skips class-validator DTOs, or puts business logic in controllers.
Targets:Cursor•Claude•Windsurf•Codex
python-sqlalchemy-v2
backendcritical

SQLAlchemy 2.0 Async Session & Modern Select Syntax

Guardrails for SQLAlchemy 2.0: strictly use select(Model) syntax, async_sessionmaker, await session.execute(), and prevent lazy-loading crashes in async sessions.

Blocks:AI uses legacy query() syntax (Model.query.filter) which is deprecated in SQLAlchemy 2.0, or triggers async MissingGreenlet errors.
Targets:Cursor•Claude•Windsurf•Codex
django-ninja-crud
backend

Django Ninja & Async ORM Architecture Standard

Conventions for Django Ninja: typed Pydantic Schema inputs/outputs, select_related/prefetch_related to prevent N+1 queries, and safe async views.

Blocks:AI exposes raw Django model instances to JSON serialization or forgets select_related in querysets.
Targets:Cursor•Claude•Windsurf•Codex
go-gorm-concurrency
backendcritical

Go GORM Concurrency & Transaction Safety Standard

Guardrails for Go GORM: prevent race conditions on shared DB handles, use db.WithContext(ctx), and encapsulate multi-step mutations in db.Transaction.

Blocks:AI reuses a mutated *gorm.DB instance across goroutines, causing race conditions and cross-polluted queries.
Targets:Cursor•Claude•Windsurf•Codex
java-spring-boot-3
backend

Spring Boot 3 & Virtual Threads (Project Loom) Standard

Conventions for Spring Boot 3+: enable virtual threads for high concurrency, use Java Record DTOs, and replace RestTemplate with modern RestClient or WebClient.

Blocks:AI uses deprecated RestTemplate, mutable JavaBean DTOs with boilerplate getters/setters, or blocks virtual thread carriers.
Targets:Cursor•Claude•Windsurf•Codex
csharp-dotnet-8-minimal-api
backend

.NET 8 Minimal APIs & Entity Framework Core Performance

Guardrails for modern .NET 8+: Minimal API routing with typed results (TypedResults), AsNoTracking for read queries, and record types for request contracts.

Blocks:AI generates heavy legacy MVC controllers for simple microservices or forgets AsNoTracking causing EF memory bloat.
Targets:Cursor•Claude•Windsurf•Codex
elixir-phoenix-liveview
backend

Elixir Phoenix LiveView 1.0 Streams & OTP Standard

Guardrails for Phoenix LiveView 1.0: use stream() for large lists to minimize server memory, handle async operations with assign_async, and respect GenServer timeouts.

Blocks:AI loads thousands of records directly into socket assigns, exhausting server RAM under concurrent users.
Targets:Cursor•Claude•Windsurf•Codex
redis-distributed-patterns
backendcritical

Redis Distributed Lock & Cache Invalidation Standard

Production Redis conventions: safe distributed locking with Redlock or Lua release scripts, TTL on all keys to prevent memory leaks, and pipeline/transaction batching.

Blocks:AI sets keys without TTL, uses non-atomic GET then SET for locks, or causes cache stampedes.
Targets:Cursor•Claude•Windsurf•Codex
kafka-event-streaming
backendcritical

Apache Kafka Event Streaming & Idempotency Standard

Guardrails for Apache Kafka producers and consumers: idempotent producers (enable.idempotence=true), manual commit offset discipline, and dead-letter queues (DLQ).

Blocks:AI enables auto-commit offsets, causing message loss during consumer crashes, or ignores deduplication.
Targets:Cursor•Claude•Windsurf•Codex
graphql-apollo-dataloader
backendcritical

GraphQL Apollo Server & DataLoader Batching Standard

Guardrails for GraphQL APIs: mandatory DataLoader for nested field resolvers, query depth and complexity limits, and schema-first type safety.

Blocks:AI writes nested GraphQL resolvers that fetch from DB inside each resolver, creating massive N+1 query explosions.
Targets:Cursor•Claude•Windsurf•Codex
trpc-v11-typesafe
backend

tRPC v11 End-to-End Type Safety & Procedure Standard

Conventions for tRPC v11: modular sub-routers, superjson transformer for dates/maps, middleware authorization guards, and input/output schema validation.

Blocks:AI uses untyped procedures, bypasses middleware for authentication, or forgets superjson.
Targets:Cursor•Claude•Windsurf•Codex
mcp-server-sdk-typescript
backendcritical

Model Context Protocol (MCP) TypeScript SDK Standard

Production invariants for developing MCP tool servers using @modelcontextprotocol/sdk: strict Zod input schemas, asynchronous tool call isolation, error payload formatting, and stdout JSON-RPC stream preservation.

Blocks:AI creates MCP servers with console.log corrupting stdout JSON-RPC, untyped tool arguments without Zod schemas, or unhandled errors crashing daemon transports.
Targets:Cursor•Claude•Windsurf•Codex
mcp-server-sdk-python
backendcritical

Python FastMCP Protocol & Tool Server Standard

Conventions for Python FastMCP servers: async tool definitions with @mcp.tool(), Pydantic v2 argument models, typed Context injection for client progress/logging, and clean shutdown handling.

Blocks:AI uses print statements that corrupt stdout JSON-RPC, writes sync blocking handlers without threadpool delegation, or forgets Pydantic v2 field descriptions needed by LLM planners.
Targets:Cursor•Claude•Windsurf•Codex
langgraph-agentic-workflow
backendcritical

LangGraph 2026 StateGraph & Multi-Agent Architecture

Standard for production LangGraph architectures: immutable state reducers using Annotated, durable checkpointing (PostgresSaver / MemorySaver), streaming event iteration via astream_events, and recursion limit boundaries.

Blocks:AI mutates graph state in place, misses state reducers causing list overwrite instead of append, omits durable checkpoint savers, or loops indefinitely without recursion limits.
Targets:Cursor•Claude•Windsurf•Codex
postgresql-pgvector-hnsw
backend

PostgreSQL pgvector & HNSW Vector Indexing Standard

Production standards for vector similarity search with pgvector: HNSW index creation with tuned m and ef_construction, cosine distance operator (<=>), halfvec quantization for memory efficiency, and partition pruning.

Blocks:AI uses ivfflat with default lists on unpopulated tables causing 100% sequential scans, queries vector distances with raw euclidean math instead of indexed operators, or misses maintenance_work_mem.
Targets:Cursor•Claude•Windsurf•Codex
clickhouse-olap-query-optimization
backendcritical

ClickHouse OLAP Analytics & Partitioned MergeTree Standard

Production-grade ClickHouse architecture for billion-row high-throughput analytics. Forbids row-by-row mutating updates (ALTER TABLE UPDATE), mandates immutable partitioned ReplacingMergeTree engines, and pre-aggregated Materialized Views.

Blocks:AI writes row-by-row OLTP-style updates and unindexed full-table joins that freeze ClickHouse background merge threads.
Targets:Cursor•Claude•Windsurf•Codex
rabbitmq-amqp-resilience
backendcritical

RabbitMQ AMQP Resilience, Dead Letter Exchange & Manual ACK Standard

Robust asynchronous message processing with RabbitMQ. Enforces manual consumer ACKs with explicit try/catch, dead-letter exchanges (DLX) for poisoned payloads, and prefetch limits (basicQos) to prevent memory exhaustion.

Blocks:AI sets noAck: true losing critical messages on consumer process crash, and omits DLX dead-letter queues.
Targets:Cursor•Claude•Windsurf•Codex
elasticsearch-opensearch-dsl
backend

OpenSearch & Elasticsearch 8+ Hybrid Search & Filter Context Standard

High-performance search and retrieval with OpenSearch and Elasticsearch 8. Enforces separation between non-scoring filter context (cached in BitSets) and scoring query context, hybrid BM25 + kNN vector search, and fielddata prevention.

Blocks:AI puts exact term filters in query/must context calculating useless BM25 scores and bypassing the BitSet cache.
Targets:Cursor•Claude•Windsurf•Codex
stripe-webhook-idempotency
backendcritical

Stripe Payment Webhook & Cryptographic Signature Verification Standard

Bank-grade payment webhook ingestion architecture. Mandates raw-body cryptographic signature verification via stripe.webhooks.constructEvent, atomic database idempotency keys to prevent double-crediting, and immediate 200 responses with async task dispatching.

Blocks:AI parses JSON body before signature verification causing hash mismatch errors, and processes payments without idempotency locks.
Targets:Cursor•Claude•Windsurf•Codex
temporal-durable-execution
backendcritical

Temporal Durable Workflow Execution & Determinism Standard

Mission-critical fault-tolerant workflow orchestration with Temporal. Mandates strict separation between deterministic workflow logic (no I/O, no random, no system clock) and non-deterministic activities with exponential retry policies.

Blocks:AI writes direct HTTP calls, UUID generation, or Date.now() inside Temporal workflow functions, crashing the replay engine.
Targets:Cursor•Claude•Windsurf•Codex
duckdb-embedded-analytics
backend

DuckDB Embedded Analytics & Zero-Copy Parquet Query Standard

Ultra-fast embedded columnar analytics on Parquet and Arrow datasets. Eliminates heavy Pandas memory bloat by running zero-copy vectorized SQL queries directly on local or S3 Parquet files with streaming execution.

Blocks:AI loads gigabytes of raw CSV/Parquet into Pandas memory via pd.read_csv() triggering OOM crashes.
Targets:Cursor•Claude•Windsurf•Codex
openai-structured-outputs-zod
backendcritical

OpenAI Structured Outputs & Zod Strict JSON Schema Enforcement

Production standard for deterministic LLM tool calling and structured outputs. Mandates native response_format: zodResponseFormat with strict: true, eliminates flaky regex markdown code-block parsing, and guarantees 100% schema compliance.

Blocks:AI writes brittle regex to strip ```json code fences from LLM text responses, crashing on omitted fields.
Targets:Cursor•Claude•Windsurf•Codex
langchain-modern-lcel-runnable
backendcritical

LangChain Expression Language (LCEL) & Runnable Pipeline Standard

Production standard for LangChain applications using LangChain Expression Language (LCEL). Deprecates legacy AgentExecutor, LLMChain, and initialize_agent in favor of composable Runnable sequences with native streaming, async batching, and LangSmith tracing.

Blocks:AI imports deprecated AgentExecutor or LLMChain from langchain, triggering deprecation crashes in production.
Targets:Cursor•Claude•Windsurf•Codex
vllm-inference-high-throughput
backendcritical

vLLM Production Inference Serving & PagedAttention Optimization

Production deployment standard for open-weights LLMs (Llama 3, Mistral, Qwen 2.5) using vLLM. Enforces PagedAttention VRAM management, continuous request batching, prefix caching, and tensor-parallel scaling to maximize token throughput.

Blocks:AI writes synchronous HuggingFace pipeline() loops in FastAPI servers, blocking concurrent GPU requests.
Targets:Cursor•Claude•Windsurf•Codex
grpc-protobuf-v3-microservices
backendcritical

gRPC Protobuf v3 Interceptors & Deadline Propagation Standard

Enterprise microservice communications standard using gRPC and Protocol Buffers v3. Mandates strict deadline and context propagation, bidirectional client/server interceptors, google.rpc.Status rich error details, and keepalive ping tuning.

Blocks:AI creates bare gRPC clients without timeouts, causing cascading thread pool exhaustion during service brownouts.
Targets:Cursor•Claude•Windsurf•Codex
neo4j-cypher-graph-optimization
backend

Neo4j Cypher Graph Database & Relationship Indexing Standard

Production database standard for graph applications using Neo4j and Cypher. Enforces parameterized query execution, relationship directionality, uniqueness constraints, index hints, and batch periodic commits to eliminate graph query stalls.

Blocks:AI constructs raw string Cypher queries with unbounded Cartesian products (MATCH (a), (b)), crashing Neo4j CPU cores.
Targets:Cursor•Claude•Windsurf•Codex
meilisearch-fulltext-engine
backend

Meilisearch Fast Full-Text Search & Filterable Attributes Standard

Production search engine standard for Meilisearch. Mandates explicit index configuration (searchableAttributes, filterableAttributes, rankingRules), asynchronous task UID completion polling with waitForTask(), and tenant-scoped search keys.

Blocks:AI filters Meilisearch queries without declaring filterableAttributes, triggering un-indexed search query failures.
Targets:Cursor•Claude•Windsurf•Codex
websocket-redis-pubsub-cluster
backendcritical

WebSocket Cluster Scalability & Redis Pub/Sub Backpressure Architecture

Production real-time architecture for horizontally scaled WebSocket clusters. Mandates Redis Pub/Sub or Streams for cross-node message routing, heartbeat ping-pong socket pruning, exponential reconnection backoff with jitter, and buffer backpressure limits.

Blocks:AI stores active WebSockets in local process memory Maps, dropping messages across multi-instance server deployments.
Targets:Cursor•Claude•Windsurf•Codex
mcp-server-security-sandboxing
backendcritical

Model Context Protocol (MCP) Server Security Sandboxing & Path Traversal Defense

Production security standard for Model Context Protocol (MCP) tool servers. Enforces strict filesystem root confinement with path canonicalization (realpath), absolute prohibition of raw child_process.exec() parameter substitution, parameter schema boundaries, and timeout kill-switches.

Blocks:AI writes MCP tool handlers that pass un-sanitized tool arguments directly to child_process.exec() or fs.readFile(), permitting host path traversal and remote code execution.
Targets:Cursor•Claude•Windsurf•Codex
rag-semantic-chunking-reranking
backendcritical

Enterprise RAG Pipeline: Semantic Chunking & Cross-Encoder Reranking

Production architecture for Retrieval-Augmented Generation (RAG). Replaces arbitrary character splitting with semantic Markdown header hierarchy chunking, hybrid vector + BM25 keyword search with Reciprocal Rank Fusion (RRF), and Cross-Encoder reranking (Cohere / BGE) to eliminate LLM hallucinations.

Blocks:AI uses fixed chunk_size=500 character splitting cutting code blocks and sentences in half, passes raw top-k vector similarity scores, and prompts LLMs with fragmented noise.
Targets:Cursor•Claude•Windsurf•Codex
llm-eval-deepeval-ragas-benchmarking
backendcritical

LLM Evaluation & Automated CI/CD Regression Guardrails (DeepEval & Ragas)

Production quality assurance standard for LLM applications. Mandates automated evaluation test suites using DeepEval and Ragas in CI/CD pipelines, scoring Answer Relevancy, Faithfulness, Hallucination, and Contextual Precision with deterministic assertion thresholds before code deployment.

Blocks:AI edits prompts and RAG parameters blindly without automated regression test suites, shipping silent hallucinations and quality regressions into production.
Targets:Cursor•Claude•Windsurf•Codex
scylladb-cassandra-partition-key-design
backendcritical

ScyllaDB & Apache Cassandra Wide-Column Partition Key Architecture

High-throughput distributed database architecture for ScyllaDB and Apache Cassandra. Mandates strict partition key cardinality bounds (<100MB per partition), prohibits production ALLOW FILTERING queries, and enforces time-bucketed clustering keys to eliminate tombstone storm crashes.

Blocks:AI writes Cassandra queries using ALLOW FILTERING on unindexed columns or creates unbounded single-partition time-series, causing catastrophic node OOM crashes.
Targets:Cursor•Claude•Windsurf•Codex
nats-jetstream-message-streaming
backendcritical

NATS JetStream 2.10+ High-Performance Event Streaming & Deduplication

Production architecture for NATS JetStream 2.10+ event-driven systems. Mandates explicit message deduplication headers (Nats-Msg-Id), durable pull consumers with backpressure batching, and strict ACK timeout handling to guarantee zero message loss at microsecond latencies.

Blocks:AI publishes unacknowledged fire-and-forget messages to basic NATS subjects without JetStream persistence or deduplication headers, dropping messages on network reconnections.
Targets:Cursor•Claude•Windsurf•Codex
polars-dataframe-zero-copy-rust
backend

Polars High-Performance DataFrame & Lazy Execution Architecture

Production standard for high-performance data engineering and analytics in Python. Mandates Polars LazyFrame query optimization (predicate/projection pushdown), zero-copy Apache Arrow memory layouts, and streaming execution over legacy Pandas to eliminate GIL single-thread bottlenecks.

Blocks:AI writes Pandas pd.read_csv() and .apply() row loops, exhausting RAM and locking the single-threaded Python GIL on multi-gigabyte datasets.
Targets:Cursor•Claude•Windsurf•Codex
postgresql-advisory-locks-concurrency
backendcritical

PostgreSQL Application-Level Advisory Locks & Distributed Race Protection

Production concurrency standard for PostgreSQL database operations. Mandates using transaction-scoped advisory locks (pg_advisory_xact_lock) or session-scoped locks for serializing critical operations (billing, credit grants, sequential invoice numbering), eliminating table-level locking bottlenecks and race conditions.

Blocks:AI executes read-then-write logic without advisory locks or uses SELECT FOR UPDATE on high-traffic tables, causing database deadlocks and double-spending races.
Targets:Cursor•Claude•Windsurf•Codex
fastapi-lifespan-context-manager
backend

FastAPI & Starlette Modern lifespan Async Context Manager Standard

Production lifecycle standard for FastAPI and Starlette microservices. Mandates the asynccontextmanager lifespan handler for database pool connection, cache client initialization, and graceful resource teardown, strictly replacing deprecated @app.on_event('startup') and @app.on_event('shutdown') decorators.

Blocks:AI uses deprecated @app.on_event('startup') event listeners that do not share state cleanly and are slated for removal in modern Starlette/FastAPI.
Targets:Cursor•Claude•Windsurf•Codex
redis-stream-consumer-group-pel
backendcritical

Redis Streams Consumer Groups, PEL & Poison Pill Recovery Standard

Production message queue standard for Redis Streams. Mandates consumer group creation with explicit MKSTREAM, manual message acknowledgment (XACK), Pending Entries List (PEL) monitoring with XPENDING, and poison pill auto-recovery using XAUTOCLAIM.

Blocks:AI reads Redis Streams using XREAD without consumer groups or forgets XACK, causing unacknowledged messages to accumulate indefinitely in memory.
Targets:Cursor•Claude•Windsurf•Codex
golang-sync-errgroup-context
backendcritical

Go errgroup Context-Aware Parallel Fan-Out & First-Error Abort Standard

High-concurrency Go standard for fan-out task execution. Mandates using golang.org/x/sync/errgroup with context propagation to coordinate parallel goroutines, cancel sibling tasks immediately on first error, and eliminate goroutine leaks caused by unbuffered channels.

Blocks:AI spawns raw goroutines using sync.WaitGroup without error propagation, leaving sibling goroutines running and leaking memory when one worker fails.
Targets:Cursor•Claude•Windsurf•Codex
clickhouse-replacing-mergetree-dedup
backend

ClickHouse ReplacingMergeTree & FINAL Query Argument Optimization

Production data architecture standard for ClickHouse. Mandates using ReplacingMergeTree with an explicit version column (updated_at) for deduplication, avoids naive unconstrained SELECT ... FINAL queries across large partitions, and leverages argMax() aggregation for high-speed sub-millisecond deduplication.

Blocks:AI writes SELECT * FROM table FINAL on multi-billion row ClickHouse tables, causing massive single-thread merges and crushing analytical query throughput.
Targets:Cursor•Claude•Windsurf•Codex
kafka-consumer-commit-sync-anti-pattern
backendcritical

Apache Kafka Manual Offset Commit Discipline & Rebalance Listener Standard

Production event streaming standard for Apache Kafka consumers. Mandates asynchronous offset commits (commitAsync) during high-throughput polling loops, coupled with synchronous commits (commitSync) on partition revocation listeners and shutdown hooks to prevent duplicate message replay and broker commit backpressure.

Blocks:AI calls commitSync() synchronously after every single processed message, crushing consumer throughput from 50,000 msg/sec down to 100 msg/sec.
Targets:Cursor•Claude•Windsurf•Codex
python-httpx-async-connection-pooling
backendcritical

Python HTTPX Async Client Lifecycles & TCP Pool Exhaustion Defense

Production networking standard for Python async microservices using HTTPX. Mandates reusing a single shared httpx.AsyncClient singleton across request lifecycles, configuring explicit connection pool limits (limits=httpx.Limits(max_keepalive_connections=20)), and strictly prohibits instantiating new clients inside function bodies.

Blocks:AI creates a new `async with httpx.AsyncClient() as client` inside every API request, causing TCP socket exhaustion (TIME_WAIT state) under load.
Targets:Cursor•Claude•Windsurf•Codex
langchain-agent-recursion-limit
backendcritical

LangChain & LangGraph State Machine recursion_limit Cost Runaway Guardrails

Production safety guardrail for autonomous AI agent architectures. Mandates setting explicit recursion_limit bounds (max 25-50 iterations) in LangGraph / LangChain execution configurations, prevents infinite self-correction loops when tools fail repeatedly, and enforces hard timeout cancellations.

Blocks:AI runs LangGraph or LangChain agent workflows without recursion_limit or timeouts, causing agents in decision deadlocks to loop endlessly and rack up thousands in API costs.
Targets:Cursor•Claude•Windsurf•Codex
elasticsearch-scroll-deprecation-search-after
backend

Elasticsearch 8+ & OpenSearch search_after Deep Pagination Standard

Production search architecture for Elasticsearch 8+ and OpenSearch. Mandates search_after cursor-based pagination with point-in-time (PIT), strictly replacing deprecated and memory-intensive scroll contexts that exhaust JVM heap memory.

Blocks:AI writes Elasticsearch queries using deprecated scroll API or high from offsets (from: 10000), causing JVM garbage collection pauses and OOM crashes.
Targets:Cursor•Claude•Windsurf•Codex
rust-tokio-blocking-task-spawn
backendcritical

Rust Tokio spawn_blocking vs Synchronous Syscall Starvation Standard

Production concurrency standard for Rust Axum and Tokio applications. Mandates offloading synchronous CPU-intensive algorithms (hashing, compression, image decoding) and blocking filesystem I/O into tokio::task::spawn_blocking, strictly prohibiting blocking syscalls on async worker threads.

Blocks:AI executes std::fs::read or std::thread::sleep directly inside an async fn in Rust Tokio, starving the multi-threaded cooperative runtime.
Targets:Cursor•Claude•Windsurf•Codex
grpc-client-load-balancing-dns
backendcritical

gRPC Client-Side Round-Robin Load Balancing & Channel Architecture

Production architecture for gRPC microservices. Mandates client-side round-robin load balancing (dns:/// service resolution), persistent channel reuse, and HTTP/2 stream multiplexing, eliminating the fatal trap of creating a new gRPC channel per RPC call.

Blocks:AI creates new ManagedChannel or grpc.Dial connections on every RPC call, destroying connection multiplexing and overwhelming backends with TLS handshakes.
Targets:Cursor•Claude•Windsurf•Codex
sqlite-wal-checkpoint-concurrency
backendcritical

SQLite WAL Mode, Busy Timeout & Passive Checkpoint Concurrency Standard

Production database standard for embedded SQLite (Node.js, Go, Python). Mandates enabling Write-Ahead Logging (PRAGMA journal_mode = WAL), configuring busy_timeout = 5000ms, PRAGMA synchronous = NORMAL, and managing passive checkpointing to prevent 'database is locked' errors under concurrent multi-reader/single-writer workloads.

Blocks:AI uses SQLite default rollback journal mode with zero busy_timeout, causing immediate SQLITE_BUSY (database is locked) crashes during concurrent web requests.
Targets:Cursor•Claude•Windsurf•Codex

Frequently Asked Questions • Backend & High-Concurrency Systems Guardrails

How does the FastAPI rule prevent async event loop starvation?

The rule strictly enforces async session factories and prohibits standard synchronous SQLAlchemy or requests library calls inside async def endpoints, mandating httpx.AsyncClient and AsyncSession.

How do backend rules enforce Go Clean Architecture?

Our Golang rule mandates domain-driven boundaries, explicit error wrapping with fmt.Errorf, Context propagation across all I/O calls, and prevents global mutable state across package boundaries.

Explore Other Architectural Categories:View All 5462 Rules