From 96b5841586eecab10e0ae2cf21b33079718db1f8 Mon Sep 17 00:00:00 2001 From: Logan Johnson Date: Fri, 9 Oct 2026 12:17:28 -0400 Subject: [PATCH] docs(nips): add channel labels to NIP-CL Define how clients set channel labels and the rules the relay applies. Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz> Signed-off-by: Logan Johnson --- docs/nips/NIP-CL.md | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/docs/nips/NIP-CL.md b/docs/nips/NIP-CL.md index 4bf529b1be..5888cdb071 100644 --- a/docs/nips/NIP-CL.md +++ b/docs/nips/NIP-CL.md @@ -21,13 +21,18 @@ plain NIP-29, a client cannot: - tell which of two channels is older. The `created_at` of a kind:39000 event is the time of the last edit, not the time of creation. +A client also cannot mark its own channels so that it can find them again. +Channel labels (below) do this. + ## Channel identity tags On every channel-state event that the relay signs, the relay MUST put these tags in this order, before any other `t` or `P` tag: 1. `["t", ]`, for example `stream`, `forum`, `dm`, `workflow`. -2. `["P", ]`. +2. `["t",