Runtime Transport Client Rules

Audience: Stella Ops backend developers writing or reviewing service code that opens PostgreSQL, Valkey/Redis, or HTTP connections.

This document defines the minimum lifecycle and attribution rules for long-lived runtime transport clients in Stella Ops services. The intent is simple: every long-lived connection should be pooled, reused, and attributable in production diagnostics — never an anonymous, per-request client that shows up only as an IP address.

These rules are enforced by the convention test suite (see Static enforcement); the lists of exceptions below are the only sanctioned deviations.

PostgreSQL

Valkey / Redis

HTTP

Static enforcement

Operational goal