tech.lenooby09.kvcs.channel

lenooby09.tech

Schema Diff

+7 -3

From

CID
bafyreihn3w7utwa...
Indexed At
2026-05-01 19:53 UTC
View this version

To

CID
bafyreibjt5zv3q3...
Indexed At
2026-05-05 13:43 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

2 breaking changes, 0 non-breaking changes.

Breaking Changes (2)
  • ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.name", sort: "maxLength", value: "256" }
  • ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.heads:items", sort: "maxLength", value: "128" }

Migration Guidance

Constraint Changes

  • ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.name", sort: "maxLength", value: "256" }
  • ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.heads:items", sort: "maxLength", value: "128" }
1 1
{
2 2
  "id": "tech.lenooby09.kvcs.channel",
3 3
  "defs": {
4 4
    "main": {
5 5
      "key": "any",
6 6
      "type": "record",
7 7
      "record": {
8 8
        "type": "object",
9 9
        "required": [
10 10
          "name",
11 11
          "heads"
12 12
        ],
13 13
        "properties": {
14 14
          "name": {
15 15
            "type": "string",
16 -
            "description": "Channel name (e.g. \"main\")."
16 +
            "maxLength": 256,
17 +
            "description": "Channel name (e.g. \"main\"). Capped at 256 chars — kvcs channel labels are short, human-readable identifiers similar to git branch names."
17 18
          },
18 19
          "heads": {
19 20
            "type": "array",
20 21
            "items": {
21 -
              "type": "string"
22 +
              "type": "string",
23 +
              "maxLength": 128,
24 +
              "description": "Lower-case hex multihash (BLAKE3) of a patch — 128 chars covers the longest hashes in current use."
22 25
            },
23 -
            "description": "Hex patch ids that are tips of this channel."
26 +
            "maxLength": 64,
27 +
            "description": "Hex patch ids that are tips of this channel. The 64-item cap is a defensive bound; real-world channels typically have 1-3 tips."
24 28
          }
25 29
        }
26 30
      },
27 31
      "description": "A kvcs channel head record. Holds the human-readable channel name and the hex patch ids that are currently the tips of the channel."
28 32
    }
29 33
  },
30 34
  "$type": "com.atproto.lexicon.schema",
31 35
  "lexicon": 1,
32 36
  "description": "A kvcs channel head — points at one or more patch records under tech.lenooby09.kvcs.patch."
33 37
}

Compare Other Versions

Lexicon Garden

@