Skip to content

kryphocron-lexicons 0.3.0

Latest

Choose a tag to compare

@skydeval skydeval released this 13 Jun 11:08
687dfad

Lexicon updates for the kryphocron 0.3 substrate.

This release adds the wire-format fields the 0.3 substrate's encoding-at-default property needs, the publicCompanion field for dual-faced posts, the mode field for policy.audience, and corrects the audienceList shape to an AT-URI string.

Breaking changes

  • postPrivate.audienceList shape corrected from a record-def ref (which codegenned to an embedded policy.audience object) to a plain AT-URI string. Downstream consumers parsing 0.2.0 records as audienceList: { ... } must migrate to parsing it as audienceList: "at://...". The substrate's read-time consultation and retroactive-membership semantics were always by-reference; the 0.2.0 encoding had drifted.
  • postPrivate.text relaxed to optional. Records now carry exactly one of text or encodedContent (XOR, substrate-enforced).

Added

  • postPrivate.publicCompanion — optional AT-URI pairing a private record with a public counterpart.
  • postPrivate.encodedContent — optional bytes (max 1MB) carrying codec output when an at-rest content codec is installed.
  • postPrivate.encodedContentCodec — optional string (max 128) carrying the operator-namespaced codec identifier (e.g. laquna/0.2).
  • postPrivate.encodedContentGeneration — optional string (max 128) carrying the per-record rotation generation mark. Hosts MUST pick a lex-sortable encoding for rewrite-on-rotate job selection.
  • policy.audience.mode — optional visibility mode with knownValues list / everyone / followers / following / nobody. Lexicon-permissive; substrate-strict closure of the value set.
  • policy.audience.members and policy.audience.name relaxed to lexicon-optional; conditional-required rules enforced substrate-side.

Dependency

Companion to kryphocron 0.3.0.