every.channel: sanitized baseline

This commit is contained in:
every.channel 2026-02-15 16:17:27 -05:00
commit 897e556bea
No known key found for this signature in database
258 changed files with 74298 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# ECP-0021: relay mode environment toggle
## Status
Draft
## Context
Local testing (and some restricted networks) fail when iroh relays are unreachable. We need a simple way to disable relays without changing code, especially for self-tests.
## Decision
Add `EVERY_CHANNEL_IROH_RELAY` to select relay mode when building endpoints. Supported values: `default` (current behavior) and `disabled` (no relay use).
## Details
- The endpoint builder reads `EVERY_CHANNEL_IROH_RELAY`.
- Invalid values fail fast with a clear error.
## Consequences
- Local testing can run without relay connectivity.
- Default behavior remains unchanged.