# Public Relay Registry Admission & Lifecycle Policy (fatext v4.0) `/.well-known/relays.json` is an offline-signed static catalog of public `fatext daemon --seed` nodes. Registered relays assist cold-start peer discovery, store 7-day ciphertext-only Drop-Box envelopes, and forward encrypted P2P frames across symmetric NATs. ## 1. Technical Admission Criteria 1. **Self-Certifying Genesis (`pow_bits >= 22`)**: Each relay initializes a dedicated `ftx_` identity and exports a self-signed operator manifest (`fatext relay manifest`). 2. **Bounded Ciphertext Retention**: Relays retain opaque Drop-Box ciphertexts for at most `604800` seconds (7 days) and delete acknowledged items immediately upon signed `ACK`. 3. **PoW-Verified Ring Pool & Scoped Quota**: Relays advertising `dropbox` or `ws_relay` publish a canonical PoW-verified decoy pool (`/v4/ring-pool`) and verify [Scoped bLSAG](https://eprint.iacr.org/2004/027.pdf) ring signatures (`ring_quota_per_window >= 10`) solely over verified PoW identities (`403 ERR_UNVERIFIED_RING_MEMBER` on fake zero-PoW decoys), in addition to [RFC 9496 `ristretto255`](https://www.rfc-editor.org/info/rfc9496/) Schnorr signatures and `/v4/onion` 2-hop forwarding. 4. **Live Handshake Key Binding & QAD Reflection**: Endpoints respond to `/v4/status` challenges with a live `ristretto255` Schnorr proof matching `microlog` `pk_id`, their current `registry_head`, and the caller's NAT-mapped `observed_addr`. ## 2. GitOps Submission Steps 1. Export a signed manifest JSON file under `registry/relays/.json` using `fatext relay manifest`. 2. Open a Pull Request to `xulang-org/fatext`. 3. Automated verification (`python3 scripts/verify_relay_registry.py`) checks Genesis PoW, `microlog` continuity, `operator_sig`, [NIST FIPS 203 `ML-KEM-768`](https://csrc.nist.gov/pubs/fips/203/final) + `X25519` key sizes, and `registry/revoked.json` status. 4. Maintainers append the previous head to `registry/chain_history.json`, increment `registry_epoch`, collect at least `2-of-3` independent [C2SP `tlog-cosignature`](https://c2sp.org/tlog-cosignature) witness signatures (`registry/witnesses.json`), and sign `relays.json` + `relays-chain.json` offline (`prev_registry_hash` transparency chain). ## 3. Revocation & Retirement (`registry/revoked.json`) Relays are moved to `registry/revoked.json` upon operator retirement (`operator-retired`), key revocation notice (`key-compromised`), or sustained availability failure (`sla-violation`).