techne-sdk 0.14.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +7 -4
  3. package/dist/auth/index.js +3 -4
  4. package/dist/catalog/catalog.gen.d.ts +35 -29
  5. package/dist/catalog/catalog.gen.js +560 -76
  6. package/dist/generated/index.d.ts +84 -0
  7. package/dist/generated/index.js +108 -0
  8. package/dist/generated/lexicons.d.ts +224 -32
  9. package/dist/generated/lexicons.js +121 -15
  10. package/dist/generated/nsid.d.ts +9 -0
  11. package/dist/generated/nsid.js +9 -0
  12. package/dist/generated/nsid.json +9 -0
  13. package/dist/generated/records.d.ts +96 -90
  14. package/dist/generated/types/pub/techne/draft/beacon.d.ts +2 -0
  15. package/dist/generated/types/pub/techne/draft/derivation.d.ts +1 -1
  16. package/dist/generated/types/pub/techne/draft/evaluation.d.ts +3 -1
  17. package/dist/generated/types/pub/techne/draft/follow.d.ts +14 -0
  18. package/dist/generated/types/pub/techne/draft/follow.js +12 -0
  19. package/dist/generated/types/pub/techne/draft/notificationPref.d.ts +16 -0
  20. package/dist/generated/types/pub/techne/draft/notificationPref.js +12 -0
  21. package/dist/generated/types/pub/techne/draft/org.d.ts +2 -2
  22. package/dist/generated/types/pub/techne/draft/statement.d.ts +1 -1
  23. package/dist/generated/types/pub/techne/draft/unfollow.d.ts +14 -0
  24. package/dist/generated/types/pub/techne/draft/unfollow.js +12 -0
  25. package/dist/generated/types/pub/techne/draft/verdict.d.ts +2 -2
  26. package/dist/query/index.d.ts +3 -2
  27. package/dist/session/phone.d.ts +7 -6
  28. package/dist/session/phone.js +7 -6
  29. package/dist/session/relay.d.ts +1 -1
  30. package/dist/session/relay.js +1 -1
  31. package/dist/sign-in/index.js +7 -11
  32. package/dist/wasm/techne-wasm.gen.js +1 -1
  33. package/dist/wasm/techne-wasm2js.gen.js +12317 -12317
  34. package/package.json +1 -1
@@ -1588,6 +1588,10 @@ export declare const schemaDict: {
1588
1588
  };
1589
1589
  readonly description: "Optional: the emoji the lighter picked for the answers, in this order: going (I'm in), interested (Maybe), notgoing (Can't go). A missing or empty entry means the app's own emoji for that answer.";
1590
1590
  };
1591
+ readonly guestsHidden: {
1592
+ readonly type: "boolean";
1593
+ readonly description: "Optional, set when the beacon is lit: true = the people it is shared with do not see who else it was shared with or how they answered. The platform then places each share it writes for this beacon in the lighter's pub.techne.draft.space.audience at this rkey instead of the beacon's space, and guests keep every answer (going, Maybe, Can't go) in their own pub.techne.draft.space.beaconDecline. Absent or false = the guest list is visible to the guests. Read each time a share is written: changing it later moves only shares written after the change.";
1594
+ };
1591
1595
  readonly createdAt: {
1592
1596
  readonly type: "string";
1593
1597
  readonly format: "datetime";
@@ -2705,7 +2709,7 @@ export declare const schemaDict: {
2705
2709
  readonly name: {
2706
2710
  readonly type: "string";
2707
2711
  readonly maxLength: 64;
2708
- readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution"];
2712
+ readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution", "ladderRung"];
2709
2713
  };
2710
2714
  readonly value: {
2711
2715
  readonly type: "integer";
@@ -2808,6 +2812,12 @@ export declare const schemaDict: {
2808
2812
  readonly maxGraphemes: 256;
2809
2813
  readonly description: "Optional free-form note.";
2810
2814
  };
2815
+ readonly image: {
2816
+ readonly type: "blob";
2817
+ readonly accept: ["image/png", "image/jpeg", "image/webp"];
2818
+ readonly maxSize: 2000000;
2819
+ readonly description: "Optional photo of the subject, set by the evaluator: a blob in the evaluator's own repo. Apps show it only when the subject has no picture of its own.";
2820
+ };
2811
2821
  readonly createdAt: {
2812
2822
  readonly type: "string";
2813
2823
  readonly format: "datetime";
@@ -3094,10 +3104,37 @@ export declare const schemaDict: {
3094
3104
  };
3095
3105
  };
3096
3106
  };
3107
+ readonly PubTechneDraftFollow: {
3108
+ readonly lexicon: 1;
3109
+ readonly id: "pub.techne.draft.follow";
3110
+ readonly description: "The owner follows a person. Beacon no longer writes it: since 2026-12-02 Beacon follows every steward curator by default and records an opt-out as pub.techne.draft.unfollow instead; existing follow records are left in place and nothing reads them. Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list who follows whom. For a follow of anyone (not Beacon's curators, which are followed by default), a missing record means not followed and unfollowing deletes it. Not app.bsky.graph.follow on purpose: that record is a public social-graph edge a Bluesky AppView lists and notifies.";
3111
+ readonly defs: {
3112
+ readonly main: {
3113
+ readonly type: "record";
3114
+ readonly key: "any";
3115
+ readonly description: "The record key is the subject's DID.";
3116
+ readonly record: {
3117
+ readonly type: "object";
3118
+ readonly required: ["subject", "createdAt"];
3119
+ readonly properties: {
3120
+ readonly subject: {
3121
+ readonly type: "string";
3122
+ readonly format: "did";
3123
+ readonly description: "The person followed.";
3124
+ };
3125
+ readonly createdAt: {
3126
+ readonly type: "string";
3127
+ readonly format: "datetime";
3128
+ };
3129
+ };
3130
+ };
3131
+ };
3132
+ };
3133
+ };
3097
3134
  readonly PubTechneDraftGeo: {
3098
3135
  readonly lexicon: 1;
3099
3136
  readonly id: "pub.techne.draft.geo";
3100
- readonly description: "SUPERSEDED: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
3137
+ readonly description: "SUPERSEDED, legacy: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead and no longer declares geo; an operator pass (`rules-runner retire geocode`) deletes a subject's old geo, and the derivation about it, once the subject's geocode-3 job has written its statement, while a subject still at geocode-2 keeps its geo. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable, and readers still weigh them as a claim, until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
3101
3138
  readonly defs: {
3102
3139
  readonly main: {
3103
3140
  readonly type: "record";
@@ -6013,6 +6050,38 @@ export declare const schemaDict: {
6013
6050
  };
6014
6051
  };
6015
6052
  };
6053
+ readonly PubTechneDraftNotificationPref: {
6054
+ readonly lexicon: 1;
6055
+ readonly id: "pub.techne.draft.notificationPref";
6056
+ readonly description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.picks` (curators you follow added picks near you: at most the day's first pick and one 6 PM batch) on. `curator.new` (a new local curator near you) is no longer read: since 2026-12-02 everyone gets that notice, and an old record turning it off is ignored. The notifier reads `curator.picks`, and the owner's pub.techne.draft.unfollow records, before it sends.";
6057
+ readonly defs: {
6058
+ readonly main: {
6059
+ readonly type: "record";
6060
+ readonly key: "any";
6061
+ readonly description: "The record key is the kind.";
6062
+ readonly record: {
6063
+ readonly type: "object";
6064
+ readonly required: ["kind", "enabled", "createdAt"];
6065
+ readonly properties: {
6066
+ readonly kind: {
6067
+ readonly type: "string";
6068
+ readonly maxLength: 64;
6069
+ readonly knownValues: ["curator.new", "curator.picks"];
6070
+ readonly description: "The kind of notice. An unknown kind is kept and ignored.";
6071
+ };
6072
+ readonly enabled: {
6073
+ readonly type: "boolean";
6074
+ readonly description: "Send this kind of notice (push and the other interrupting channels). The in-app inbox is not switched.";
6075
+ };
6076
+ readonly createdAt: {
6077
+ readonly type: "string";
6078
+ readonly format: "datetime";
6079
+ };
6080
+ };
6081
+ };
6082
+ };
6083
+ };
6084
+ };
6016
6085
  readonly PubTechneDraftNotificationState: {
6017
6086
  readonly lexicon: 1;
6018
6087
  readonly id: "pub.techne.draft.notificationState";
@@ -6163,7 +6232,7 @@ export declare const schemaDict: {
6163
6232
  readonly locations: {
6164
6233
  readonly type: "array";
6165
6234
  readonly maxLength: 256;
6166
- readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. This replaces `pub.techne.draft.orgAtPlace`.";
6235
+ readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.";
6167
6236
  readonly items: {
6168
6237
  readonly type: "union";
6169
6238
  readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
@@ -6238,7 +6307,7 @@ export declare const schemaDict: {
6238
6307
  readonly locations: {
6239
6308
  readonly type: "array";
6240
6309
  readonly maxLength: 256;
6241
- readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. This replaces `pub.techne.draft.orgAtPlace`.";
6310
+ readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.";
6242
6311
  readonly items: {
6243
6312
  readonly type: "union";
6244
6313
  readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
@@ -6268,7 +6337,7 @@ export declare const schemaDict: {
6268
6337
  readonly PubTechneDraftOrgAtPlace: {
6269
6338
  readonly lexicon: 1;
6270
6339
  readonly id: "pub.techne.draft.orgAtPlace";
6271
- readonly description: "SUPERSEDED: no source rule writes it now (the commons curator still writes curated copies of existing links). Its successors: an org's sites are entries in its own `locations` (bounded at 256; a `registered` entry is where it is registered), and a site the org's author did not state is a `pub.techne.draft.statement` about the org carrying `locations` (as the commons org-match rule writes its sites statements). Existing records stay readable. A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).";
6340
+ readonly description: "SUPERSEDED by the org's own `locations`: no source rule writes it now (the commons curator still writes curated copies of existing links). Its successors: an org's sites are entries in its own `locations` (bounded at 256; a `registered` entry is where it is registered), and a site the org's author did not state is a `pub.techne.draft.statement` about the org carrying `locations` (as the commons org-match rule writes its sites statements). Existing records stay readable. A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).";
6272
6341
  readonly defs: {
6273
6342
  readonly main: {
6274
6343
  readonly type: "record";
@@ -7092,7 +7161,7 @@ export declare const schemaDict: {
7092
7161
  readonly PubTechneDraftPlace: {
7093
7162
  readonly lexicon: 1;
7094
7163
  readonly id: "pub.techne.draft.place";
7095
- readonly description: "SUPERSEDED by `pub.techne.draft.placeV2` (linked by `pub.techne.draft.sameAs`): a new writer writes placeV2; the commons rules still write place until their writers move. Existing records stay readable. A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
7164
+ readonly description: "SUPERSEDED by `pub.techne.draft.placeV2`: a new writer writes placeV2. An author's `placeV2/<rkey>` replaces that author's own `place/<rkey>`; any other placeV2 is linked to a place by `pub.techne.draft.sameAs`. Existing records stay readable. A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
7096
7165
  readonly defs: {
7097
7166
  readonly main: {
7098
7167
  readonly type: "record";
@@ -7298,7 +7367,7 @@ export declare const schemaDict: {
7298
7367
  readonly PubTechneDraftPlaceV2: {
7299
7368
  readonly lexicon: 1;
7300
7369
  readonly id: "pub.techne.draft.placeV2";
7301
- readonly description: "A place in the shared directory: a venue, public space, group or area. It replaces `pub.techne.draft.place` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of `location` and `address`, `identifiers` the place of `sameAs[]`, and an area (`kind: area`) carries its extent as a compacted H3 set in `cells`. A placeV2 and the place it replaces are linked by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence is by `sameAs`, never by author. Curated places follow the same rules as on `place`.";
7370
+ readonly description: "A place in the shared directory: a venue, public space, group or area. It replaces `pub.techne.draft.place` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of `location` and `address`, `identifiers` the place of `sameAs[]`, and an area (`kind: area`) carries its extent as a compacted H3 set in `cells`. An author's placeV2 at the rkey of that author's own place (`placeV2/<rkey>` beside `place/<rkey>`) replaces that place: the commons curates the two as one. A placeV2 at any other rkey, or by another author, is linked to a place only by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence across records is by `sameAs`; the only link by author is that same-rkey replacement in one repo. Curated places follow the same rules as on `place`.";
7302
7371
  readonly defs: {
7303
7372
  readonly main: {
7304
7373
  readonly type: "record";
@@ -8268,7 +8337,7 @@ export declare const schemaDict: {
8268
8337
  readonly description: "HTTP 400. A malformed or refused query or parameter.";
8269
8338
  }, {
8270
8339
  readonly name: "ViewRequired";
8271
- readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
8340
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten). Through 2027-03-01 only when another branch names one: a query naming none gets the old default until then (pub.techne.draft.query `view`). The message names the branch.";
8272
8341
  }, {
8273
8342
  readonly name: "NotCurated";
8274
8343
  readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
@@ -8497,7 +8566,7 @@ export declare const schemaDict: {
8497
8566
  readonly defs: {
8498
8567
  readonly main: {
8499
8568
  readonly type: "query";
8500
- readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid; and a record a curated branch finds by `location` `in` or `covers` is answered only while a location the curated view trusts (its author's own, or a writer the commons endorses for the claim's type) still holds its slot once precedence is rerun over those alone. Because these checks run on the page already read, a page can hold fewer records than `limit`, even none, and still carry a cursor: keep paging until none comes back. Draft tier.";
8569
+ readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; a query naming no view at all gets the old default (pub.techne.draft.query `view`) through 2027-03-01 and is refused (ViewRequired) after, and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid; and a record a curated branch finds by `location` `in` or `covers` is answered only while a location the curated view trusts (its author's own, or a writer the commons endorses for the claim's type) still holds its slot once precedence is rerun over those alone. Because these checks run on the page already read, a page can hold fewer records than `limit`, even none, and still carry a cursor: keep paging until none comes back. Draft tier.";
8501
8570
  readonly parameters: {
8502
8571
  readonly type: "params";
8503
8572
  readonly properties: {
@@ -8572,7 +8641,7 @@ export declare const schemaDict: {
8572
8641
  readonly description: "HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor.";
8573
8642
  }, {
8574
8643
  readonly name: "ViewRequired";
8575
- readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
8644
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten). Through 2027-03-01 only when another branch names one: a query naming none gets the old default until then (pub.techne.draft.query `view`). The message names the branch.";
8576
8645
  }, {
8577
8646
  readonly name: "NotCurated";
8578
8647
  readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
@@ -9867,7 +9936,7 @@ export declare const schemaDict: {
9867
9936
  readonly PubTechneDraftRsvpNote: {
9868
9937
  readonly lexicon: 1;
9869
9938
  readonly id: "pub.techne.draft.rsvpNote";
9870
- readonly description: "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one; when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.";
9939
+ readonly description: "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one (and for every answer to a beacon lit with `guestsHidden`); when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.";
9871
9940
  readonly defs: {
9872
9941
  readonly main: {
9873
9942
  readonly type: "record";
@@ -10031,7 +10100,7 @@ export declare const schemaDict: {
10031
10100
  readonly PubTechneDraftShare: {
10032
10101
  readonly lexicon: 1;
10033
10102
  readonly id: "pub.techne.draft.share";
10034
- readonly description: "The bare, per-instance access share: authored by a space's AUTHORITY, it confers ACCESS ONLY and NO status (if the subject's presence MEANS something — member, invited, confirmed — use the domain claim instead). Placed IN the space it governs, so its visibility tracks that space. Pairs with the `sharedWith` policy leaf: a viewer named by a share reads the space the share is placed in. The one instance-level access record (the coherent replacement for a type-level explicit-DID leaf; maps onto 0016 simplespace's per-space member list). Same-shape, placement-free body. This AppView may hold a share back under its author's reach limit on strangers: until admitted it grants nothing and only its author reads it. Another AppView evaluating `sharedWith` from the record alone sees it as granting.";
10103
+ readonly description: "The bare, per-instance access share: authored by a space's AUTHORITY, it confers ACCESS ONLY and NO status (if the subject's presence MEANS something — member, invited, confirmed — use the domain claim instead). Placed IN the space it governs, so its visibility tracks that space. Pairs with the `sharedWith` policy leaf: a viewer named by a share reads the space the share is placed in. The one exception is a share in a pub.techne.draft.space.audience, which only its authority reads: it admits the viewer to the authority's governed space at the same skey through that space's `sharedWithIn` leaf, so the people admitted are not listed to each other. The one instance-level access record (the coherent replacement for a type-level explicit-DID leaf; maps onto 0016 simplespace's per-space member list). Same-shape, placement-free body. This AppView may hold a share back under its author's reach limit on strangers: until admitted it grants nothing and only its author reads it. Another AppView evaluating `sharedWith` from the record alone sees it as granting.";
10035
10104
  readonly defs: {
10036
10105
  readonly main: {
10037
10106
  readonly type: "record";
@@ -10248,7 +10317,7 @@ export declare const schemaDict: {
10248
10317
  };
10249
10318
  readonly locations: {
10250
10319
  readonly type: "object";
10251
- readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses.";
10320
+ readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses. The commons curator makes a curated copy of a statement carrying `locations` only when its subject's type reads its entries as sites (an org; never an event or a place) and the statement's author is one the root endorses for statements: the copy is about the curated org and written by the org's curator, so it counts as the org's own locations.";
10252
10321
  readonly required: ["locations"];
10253
10322
  readonly properties: {
10254
10323
  readonly locations: {
@@ -10446,10 +10515,37 @@ export declare const schemaDict: {
10446
10515
  };
10447
10516
  };
10448
10517
  };
10518
+ readonly PubTechneDraftUnfollow: {
10519
+ readonly lexicon: 1;
10520
+ readonly id: "pub.techne.draft.unfollow";
10521
+ readonly description: "The owner stopped following a person they follow by default (Beacon: a local curator, one of the stewards everyone follows unless they say no). Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list it. A missing record means followed; following again deletes it. The opposite of pub.techne.draft.follow, which records a follow the owner chose.";
10522
+ readonly defs: {
10523
+ readonly main: {
10524
+ readonly type: "record";
10525
+ readonly key: "any";
10526
+ readonly description: "The record key is the subject's DID.";
10527
+ readonly record: {
10528
+ readonly type: "object";
10529
+ readonly required: ["subject", "createdAt"];
10530
+ readonly properties: {
10531
+ readonly subject: {
10532
+ readonly type: "string";
10533
+ readonly format: "did";
10534
+ readonly description: "The person unfollowed.";
10535
+ };
10536
+ readonly createdAt: {
10537
+ readonly type: "string";
10538
+ readonly format: "datetime";
10539
+ };
10540
+ };
10541
+ };
10542
+ };
10543
+ };
10544
+ };
10449
10545
  readonly PubTechneDraftVerdict: {
10450
10546
  readonly lexicon: 1;
10451
10547
  readonly id: "pub.techne.draft.verdict";
10452
- readonly description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get one; a version with no verdict was judged clean or not judged. Withdrawing a verdict is deleting it (or updating it with other values) in a commit. A reader drops a version with a verdict it honours before composing a cluster's default view, and before deriving anything from it: the commons curator leaves it out of the curated record, the features rule out of its evidence. A reader honours a verdict only from an author whose pub.techne.draft.publisher declaration lists those values in `labels` and is vouched for by an admin writer (a live pub.techne.draft.credential pinned to its CID from the commons root, or from an operator the root names; pub.techne.draft.provenancePolicy#vouchedWriter). atproto labels (`com.atproto.label.queryLabels`) are an export generated from these records for Bluesky-style clients, never the source of truth. Written in the writer's own repo: `spam` and `obscene` by the commons features rule, `!takedown` by any account an admin writer vouches for with `verdict` in `writes` and `!takedown` in `labels` (operators, as themselves; the commons' own account wrote the earlier ones). PUBLIC.";
10548
+ readonly description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`), or, from an admin writer, that a verdict on it was wrong (`cleared`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get a `spam`, `obscene` or `!takedown` verdict; a version with none was judged clean or not judged. Withdrawing a verdict is deleting it (or updating it with other values) in a commit. A reader drops a version with a verdict it honours before composing a cluster's default view, and before deriving anything from it: the commons curator leaves it out of the curated record, the features rule out of its evidence. A reader honours a verdict only from an author whose pub.techne.draft.publisher declaration lists those values in `labels` and is vouched for by an admin writer (a live pub.techne.draft.credential pinned to its CID from the commons root, or from an operator the root names; pub.techne.draft.provenancePolicy#vouchedWriter); `declined` and `cleared` count instead only from an admin writer as itself (pub.techne.draft.provenancePolicy, gaps). atproto labels (`com.atproto.label.queryLabels`) are an export generated from these records for Bluesky-style clients, never the source of truth. Written in the writer's own repo: `spam` and `obscene` by the commons features rule, `!takedown` by any account an admin writer vouches for with `verdict` in `writes` and `!takedown` in `labels` (operators, as themselves; the commons' own account wrote the earlier ones), `declined` and `cleared` by an admin writer as itself. PUBLIC.";
10453
10549
  readonly defs: {
10454
10550
  readonly main: {
10455
10551
  readonly type: "record";
@@ -10471,9 +10567,9 @@ export declare const schemaDict: {
10471
10567
  readonly items: {
10472
10568
  readonly type: "string";
10473
10569
  readonly maxLength: 64;
10474
- readonly knownValues: ["spam", "obscene", "!takedown", "declined"];
10570
+ readonly knownValues: ["spam", "obscene", "!takedown", "declined", "cleared"];
10475
10571
  };
10476
- readonly description: "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing.";
10572
+ readonly description: "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing. `cleared`: an admin writer (the commons root, or an operator the root names whose period held when the verdict was first seen), writing in its own repo, lifts the `spam` and `obscene` verdicts on the exact version it names (`subject` uri and cid), as if none were written; an edit is a new version it does not cover. It never lifts `!takedown`. Deleting it withdraws it; from any other writer it lifts nothing (pub.techne.draft.provenancePolicy, gaps).";
10477
10573
  };
10478
10574
  readonly createdAt: {
10479
10575
  readonly type: "string";
@@ -13392,6 +13488,10 @@ export declare const schemas: ({
13392
13488
  };
13393
13489
  readonly description: "Optional: the emoji the lighter picked for the answers, in this order: going (I'm in), interested (Maybe), notgoing (Can't go). A missing or empty entry means the app's own emoji for that answer.";
13394
13490
  };
13491
+ readonly guestsHidden: {
13492
+ readonly type: "boolean";
13493
+ readonly description: "Optional, set when the beacon is lit: true = the people it is shared with do not see who else it was shared with or how they answered. The platform then places each share it writes for this beacon in the lighter's pub.techne.draft.space.audience at this rkey instead of the beacon's space, and guests keep every answer (going, Maybe, Can't go) in their own pub.techne.draft.space.beaconDecline. Absent or false = the guest list is visible to the guests. Read each time a share is written: changing it later moves only shares written after the change.";
13494
+ };
13395
13495
  readonly createdAt: {
13396
13496
  readonly type: "string";
13397
13497
  readonly format: "datetime";
@@ -14489,7 +14589,7 @@ export declare const schemas: ({
14489
14589
  readonly name: {
14490
14590
  readonly type: "string";
14491
14591
  readonly maxLength: 64;
14492
- readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution"];
14592
+ readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution", "ladderRung"];
14493
14593
  };
14494
14594
  readonly value: {
14495
14595
  readonly type: "integer";
@@ -14589,6 +14689,12 @@ export declare const schemas: ({
14589
14689
  readonly maxGraphemes: 256;
14590
14690
  readonly description: "Optional free-form note.";
14591
14691
  };
14692
+ readonly image: {
14693
+ readonly type: "blob";
14694
+ readonly accept: ["image/png", "image/jpeg", "image/webp"];
14695
+ readonly maxSize: 2000000;
14696
+ readonly description: "Optional photo of the subject, set by the evaluator: a blob in the evaluator's own repo. Apps show it only when the subject has no picture of its own.";
14697
+ };
14592
14698
  readonly createdAt: {
14593
14699
  readonly type: "string";
14594
14700
  readonly format: "datetime";
@@ -14869,10 +14975,36 @@ export declare const schemas: ({
14869
14975
  };
14870
14976
  };
14871
14977
  };
14978
+ } | {
14979
+ readonly lexicon: 1;
14980
+ readonly id: "pub.techne.draft.follow";
14981
+ readonly description: "The owner follows a person. Beacon no longer writes it: since 2026-12-02 Beacon follows every steward curator by default and records an opt-out as pub.techne.draft.unfollow instead; existing follow records are left in place and nothing reads them. Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list who follows whom. For a follow of anyone (not Beacon's curators, which are followed by default), a missing record means not followed and unfollowing deletes it. Not app.bsky.graph.follow on purpose: that record is a public social-graph edge a Bluesky AppView lists and notifies.";
14982
+ readonly defs: {
14983
+ readonly main: {
14984
+ readonly type: "record";
14985
+ readonly key: "any";
14986
+ readonly description: "The record key is the subject's DID.";
14987
+ readonly record: {
14988
+ readonly type: "object";
14989
+ readonly required: ["subject", "createdAt"];
14990
+ readonly properties: {
14991
+ readonly subject: {
14992
+ readonly type: "string";
14993
+ readonly format: "did";
14994
+ readonly description: "The person followed.";
14995
+ };
14996
+ readonly createdAt: {
14997
+ readonly type: "string";
14998
+ readonly format: "datetime";
14999
+ };
15000
+ };
15001
+ };
15002
+ };
15003
+ };
14872
15004
  } | {
14873
15005
  readonly lexicon: 1;
14874
15006
  readonly id: "pub.techne.draft.geo";
14875
- readonly description: "SUPERSEDED: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
15007
+ readonly description: "SUPERSEDED, legacy: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead and no longer declares geo; an operator pass (`rules-runner retire geocode`) deletes a subject's old geo, and the derivation about it, once the subject's geocode-3 job has written its statement, while a subject still at geocode-2 keeps its geo. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable, and readers still weigh them as a claim, until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
14876
15008
  readonly defs: {
14877
15009
  readonly main: {
14878
15010
  readonly type: "record";
@@ -17749,6 +17881,37 @@ export declare const schemas: ({
17749
17881
  };
17750
17882
  };
17751
17883
  };
17884
+ } | {
17885
+ readonly lexicon: 1;
17886
+ readonly id: "pub.techne.draft.notificationPref";
17887
+ readonly description: "The owner's switch for one kind of notice that is not about one person or circle (those are pub.techne.draft.subjectPrefs). Placed only in the owner's space.personal (owner-only). A missing record means the kind's default: `curator.picks` (curators you follow added picks near you: at most the day's first pick and one 6 PM batch) on. `curator.new` (a new local curator near you) is no longer read: since 2026-12-02 everyone gets that notice, and an old record turning it off is ignored. The notifier reads `curator.picks`, and the owner's pub.techne.draft.unfollow records, before it sends.";
17888
+ readonly defs: {
17889
+ readonly main: {
17890
+ readonly type: "record";
17891
+ readonly key: "any";
17892
+ readonly description: "The record key is the kind.";
17893
+ readonly record: {
17894
+ readonly type: "object";
17895
+ readonly required: ["kind", "enabled", "createdAt"];
17896
+ readonly properties: {
17897
+ readonly kind: {
17898
+ readonly type: "string";
17899
+ readonly maxLength: 64;
17900
+ readonly knownValues: ["curator.new", "curator.picks"];
17901
+ readonly description: "The kind of notice. An unknown kind is kept and ignored.";
17902
+ };
17903
+ readonly enabled: {
17904
+ readonly type: "boolean";
17905
+ readonly description: "Send this kind of notice (push and the other interrupting channels). The in-app inbox is not switched.";
17906
+ };
17907
+ readonly createdAt: {
17908
+ readonly type: "string";
17909
+ readonly format: "datetime";
17910
+ };
17911
+ };
17912
+ };
17913
+ };
17914
+ };
17752
17915
  } | {
17753
17916
  readonly lexicon: 1;
17754
17917
  readonly id: "pub.techne.draft.notificationState";
@@ -17897,7 +18060,7 @@ export declare const schemas: ({
17897
18060
  readonly locations: {
17898
18061
  readonly type: "array";
17899
18062
  readonly maxLength: 256;
17900
- readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. This replaces `pub.techne.draft.orgAtPlace`.";
18063
+ readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.";
17901
18064
  readonly items: {
17902
18065
  readonly type: "union";
17903
18066
  readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
@@ -17972,7 +18135,7 @@ export declare const schemas: ({
17972
18135
  readonly locations: {
17973
18136
  readonly type: "array";
17974
18137
  readonly maxLength: 256;
17975
- readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. This replaces `pub.techne.draft.orgAtPlace`.";
18138
+ readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. With a `pub.techne.draft.statement` about the org carrying `locations` (a site the org's author did not state), this replaces `pub.techne.draft.orgAtPlace`.";
17976
18139
  readonly items: {
17977
18140
  readonly type: "union";
17978
18141
  readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
@@ -18001,7 +18164,7 @@ export declare const schemas: ({
18001
18164
  } | {
18002
18165
  readonly lexicon: 1;
18003
18166
  readonly id: "pub.techne.draft.orgAtPlace";
18004
- readonly description: "SUPERSEDED: no source rule writes it now (the commons curator still writes curated copies of existing links). Its successors: an org's sites are entries in its own `locations` (bounded at 256; a `registered` entry is where it is registered), and a site the org's author did not state is a `pub.techne.draft.statement` about the org carrying `locations` (as the commons org-match rule writes its sites statements). Existing records stay readable. A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).";
18167
+ readonly description: "SUPERSEDED by the org's own `locations`: no source rule writes it now (the commons curator still writes curated copies of existing links). Its successors: an org's sites are entries in its own `locations` (bounded at 256; a `registered` entry is where it is registered), and a site the org's author did not state is a `pub.techne.draft.statement` about the org carrying `locations` (as the commons org-match rule writes its sites statements). Existing records stay readable. A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).";
18005
18168
  readonly defs: {
18006
18169
  readonly main: {
18007
18170
  readonly type: "record";
@@ -18814,7 +18977,7 @@ export declare const schemas: ({
18814
18977
  } | {
18815
18978
  readonly lexicon: 1;
18816
18979
  readonly id: "pub.techne.draft.place";
18817
- readonly description: "SUPERSEDED by `pub.techne.draft.placeV2` (linked by `pub.techne.draft.sameAs`): a new writer writes placeV2; the commons rules still write place until their writers move. Existing records stay readable. A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
18980
+ readonly description: "SUPERSEDED by `pub.techne.draft.placeV2`: a new writer writes placeV2. An author's `placeV2/<rkey>` replaces that author's own `place/<rkey>`; any other placeV2 is linked to a place by `pub.techne.draft.sameAs`. Existing records stay readable. A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
18818
18981
  readonly defs: {
18819
18982
  readonly main: {
18820
18983
  readonly type: "record";
@@ -19018,7 +19181,7 @@ export declare const schemas: ({
19018
19181
  } | {
19019
19182
  readonly lexicon: 1;
19020
19183
  readonly id: "pub.techne.draft.placeV2";
19021
- readonly description: "A place in the shared directory: a venue, public space, group or area. It replaces `pub.techne.draft.place` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of `location` and `address`, `identifiers` the place of `sameAs[]`, and an area (`kind: area`) carries its extent as a compacted H3 set in `cells`. A placeV2 and the place it replaces are linked by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence is by `sameAs`, never by author. Curated places follow the same rules as on `place`.";
19184
+ readonly description: "A place in the shared directory: a venue, public space, group or area. It replaces `pub.techne.draft.place` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of `location` and `address`, `identifiers` the place of `sameAs[]`, and an area (`kind: area`) carries its extent as a compacted H3 set in `cells`. An author's placeV2 at the rkey of that author's own place (`placeV2/<rkey>` beside `place/<rkey>`) replaces that place: the commons curates the two as one. A placeV2 at any other rkey, or by another author, is linked to a place only by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence across records is by `sameAs`; the only link by author is that same-rkey replacement in one repo. Curated places follow the same rules as on `place`.";
19022
19185
  readonly defs: {
19023
19186
  readonly main: {
19024
19187
  readonly type: "record";
@@ -19981,7 +20144,7 @@ export declare const schemas: ({
19981
20144
  readonly description: "HTTP 400. A malformed or refused query or parameter.";
19982
20145
  }, {
19983
20146
  readonly name: "ViewRequired";
19984
- readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
20147
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten). Through 2027-03-01 only when another branch names one: a query naming none gets the old default until then (pub.techne.draft.query `view`). The message names the branch.";
19985
20148
  }, {
19986
20149
  readonly name: "NotCurated";
19987
20150
  readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
@@ -20208,7 +20371,7 @@ export declare const schemas: ({
20208
20371
  readonly defs: {
20209
20372
  readonly main: {
20210
20373
  readonly type: "query";
20211
- readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid; and a record a curated branch finds by `location` `in` or `covers` is answered only while a location the curated view trusts (its author's own, or a writer the commons endorses for the claim's type) still holds its slot once precedence is rerun over those alone. Because these checks run on the page already read, a page can hold fewer records than `limit`, even none, and still carry a cursor: keep paging until none comes back. Draft tier.";
20374
+ readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; a query naming no view at all gets the old default (pub.techne.draft.query `view`) through 2027-03-01 and is refused (ViewRequired) after, and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid; and a record a curated branch finds by `location` `in` or `covers` is answered only while a location the curated view trusts (its author's own, or a writer the commons endorses for the claim's type) still holds its slot once precedence is rerun over those alone. Because these checks run on the page already read, a page can hold fewer records than `limit`, even none, and still carry a cursor: keep paging until none comes back. Draft tier.";
20212
20375
  readonly parameters: {
20213
20376
  readonly type: "params";
20214
20377
  readonly properties: {
@@ -20283,7 +20446,7 @@ export declare const schemas: ({
20283
20446
  readonly description: "HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor.";
20284
20447
  }, {
20285
20448
  readonly name: "ViewRequired";
20286
- readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
20449
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten). Through 2027-03-01 only when another branch names one: a query naming none gets the old default until then (pub.techne.draft.query `view`). The message names the branch.";
20287
20450
  }, {
20288
20451
  readonly name: "NotCurated";
20289
20452
  readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
@@ -21561,7 +21724,7 @@ export declare const schemas: ({
21561
21724
  } | {
21562
21725
  readonly lexicon: 1;
21563
21726
  readonly id: "pub.techne.draft.rsvpNote";
21564
- readonly description: "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one; when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.";
21727
+ readonly description: "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one (and for every answer to a beacon lit with `guestsHidden`); when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.";
21565
21728
  readonly defs: {
21566
21729
  readonly main: {
21567
21730
  readonly type: "record";
@@ -21721,7 +21884,7 @@ export declare const schemas: ({
21721
21884
  } | {
21722
21885
  readonly lexicon: 1;
21723
21886
  readonly id: "pub.techne.draft.share";
21724
- readonly description: "The bare, per-instance access share: authored by a space's AUTHORITY, it confers ACCESS ONLY and NO status (if the subject's presence MEANS something — member, invited, confirmed — use the domain claim instead). Placed IN the space it governs, so its visibility tracks that space. Pairs with the `sharedWith` policy leaf: a viewer named by a share reads the space the share is placed in. The one instance-level access record (the coherent replacement for a type-level explicit-DID leaf; maps onto 0016 simplespace's per-space member list). Same-shape, placement-free body. This AppView may hold a share back under its author's reach limit on strangers: until admitted it grants nothing and only its author reads it. Another AppView evaluating `sharedWith` from the record alone sees it as granting.";
21887
+ readonly description: "The bare, per-instance access share: authored by a space's AUTHORITY, it confers ACCESS ONLY and NO status (if the subject's presence MEANS something — member, invited, confirmed — use the domain claim instead). Placed IN the space it governs, so its visibility tracks that space. Pairs with the `sharedWith` policy leaf: a viewer named by a share reads the space the share is placed in. The one exception is a share in a pub.techne.draft.space.audience, which only its authority reads: it admits the viewer to the authority's governed space at the same skey through that space's `sharedWithIn` leaf, so the people admitted are not listed to each other. The one instance-level access record (the coherent replacement for a type-level explicit-DID leaf; maps onto 0016 simplespace's per-space member list). Same-shape, placement-free body. This AppView may hold a share back under its author's reach limit on strangers: until admitted it grants nothing and only its author reads it. Another AppView evaluating `sharedWith` from the record alone sees it as granting.";
21725
21888
  readonly defs: {
21726
21889
  readonly main: {
21727
21890
  readonly type: "record";
@@ -21934,7 +22097,7 @@ export declare const schemas: ({
21934
22097
  };
21935
22098
  readonly locations: {
21936
22099
  readonly type: "object";
21937
- readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses.";
22100
+ readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses. The commons curator makes a curated copy of a statement carrying `locations` only when its subject's type reads its entries as sites (an org; never an event or a place) and the statement's author is one the root endorses for statements: the copy is about the curated org and written by the org's curator, so it counts as the org's own locations.";
21938
22101
  readonly required: ["locations"];
21939
22102
  readonly properties: {
21940
22103
  readonly locations: {
@@ -22127,10 +22290,36 @@ export declare const schemas: ({
22127
22290
  };
22128
22291
  };
22129
22292
  };
22293
+ } | {
22294
+ readonly lexicon: 1;
22295
+ readonly id: "pub.techne.draft.unfollow";
22296
+ readonly description: "The owner stopped following a person they follow by default (Beacon: a local curator, one of the stewards everyone follows unless they say no). Private: placed only in the owner's space.personal (owner-only), so the subject is never told and nobody else can list it. A missing record means followed; following again deletes it. The opposite of pub.techne.draft.follow, which records a follow the owner chose.";
22297
+ readonly defs: {
22298
+ readonly main: {
22299
+ readonly type: "record";
22300
+ readonly key: "any";
22301
+ readonly description: "The record key is the subject's DID.";
22302
+ readonly record: {
22303
+ readonly type: "object";
22304
+ readonly required: ["subject", "createdAt"];
22305
+ readonly properties: {
22306
+ readonly subject: {
22307
+ readonly type: "string";
22308
+ readonly format: "did";
22309
+ readonly description: "The person unfollowed.";
22310
+ };
22311
+ readonly createdAt: {
22312
+ readonly type: "string";
22313
+ readonly format: "datetime";
22314
+ };
22315
+ };
22316
+ };
22317
+ };
22318
+ };
22130
22319
  } | {
22131
22320
  readonly lexicon: 1;
22132
22321
  readonly id: "pub.techne.draft.verdict";
22133
- readonly description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get one; a version with no verdict was judged clean or not judged. Withdrawing a verdict is deleting it (or updating it with other values) in a commit. A reader drops a version with a verdict it honours before composing a cluster's default view, and before deriving anything from it: the commons curator leaves it out of the curated record, the features rule out of its evidence. A reader honours a verdict only from an author whose pub.techne.draft.publisher declaration lists those values in `labels` and is vouched for by an admin writer (a live pub.techne.draft.credential pinned to its CID from the commons root, or from an operator the root names; pub.techne.draft.provenancePolicy#vouchedWriter). atproto labels (`com.atproto.label.queryLabels`) are an export generated from these records for Bluesky-style clients, never the source of truth. Written in the writer's own repo: `spam` and `obscene` by the commons features rule, `!takedown` by any account an admin writer vouches for with `verdict` in `writes` and `!takedown` in `labels` (operators, as themselves; the commons' own account wrote the earlier ones). PUBLIC.";
22322
+ readonly description: "A moderation verdict on a record. It names a version (a strongRef) and what it is (`spam`, `obscene`, `!takedown`), or, from an admin writer, that a verdict on it was wrong (`cleared`). `spam` and `obscene` are judged on all of that version's fields and cover that version only, so an edit is a new version they do not cover. `!takedown` is an operator's takedown: it covers every version of the subject record, including later edits. Only bad versions get a `spam`, `obscene` or `!takedown` verdict; a version with none was judged clean or not judged. Withdrawing a verdict is deleting it (or updating it with other values) in a commit. A reader drops a version with a verdict it honours before composing a cluster's default view, and before deriving anything from it: the commons curator leaves it out of the curated record, the features rule out of its evidence. A reader honours a verdict only from an author whose pub.techne.draft.publisher declaration lists those values in `labels` and is vouched for by an admin writer (a live pub.techne.draft.credential pinned to its CID from the commons root, or from an operator the root names; pub.techne.draft.provenancePolicy#vouchedWriter); `declined` and `cleared` count instead only from an admin writer as itself (pub.techne.draft.provenancePolicy, gaps). atproto labels (`com.atproto.label.queryLabels`) are an export generated from these records for Bluesky-style clients, never the source of truth. Written in the writer's own repo: `spam` and `obscene` by the commons features rule, `!takedown` by any account an admin writer vouches for with `verdict` in `writes` and `!takedown` in `labels` (operators, as themselves; the commons' own account wrote the earlier ones), `declined` and `cleared` by an admin writer as itself. PUBLIC.";
22134
22323
  readonly defs: {
22135
22324
  readonly main: {
22136
22325
  readonly type: "record";
@@ -22152,9 +22341,9 @@ export declare const schemas: ({
22152
22341
  readonly items: {
22153
22342
  readonly type: "string";
22154
22343
  readonly maxLength: 64;
22155
- readonly knownValues: ["spam", "obscene", "!takedown", "declined"];
22344
+ readonly knownValues: ["spam", "obscene", "!takedown", "declined", "cleared"];
22156
22345
  };
22157
- readonly description: "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing.";
22346
+ readonly description: "What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. `declined`: an operator declined a pub.techne.draft.registry.typeRequest at this version; it hides nothing. `cleared`: an admin writer (the commons root, or an operator the root names whose period held when the verdict was first seen), writing in its own repo, lifts the `spam` and `obscene` verdicts on the exact version it names (`subject` uri and cid), as if none were written; an edit is a new version it does not cover. It never lifts `!takedown`. Deleting it withdraws it; from any other writer it lifts nothing (pub.techne.draft.provenancePolicy, gaps).";
22158
22347
  };
22159
22348
  readonly createdAt: {
22160
22349
  readonly type: "string";
@@ -23558,6 +23747,7 @@ export declare const ids: {
23558
23747
  readonly PubTechneDraftEventListing: "pub.techne.draft.event.listing";
23559
23748
  readonly PubTechneDraftFeedRecipe: "pub.techne.draft.feed.recipe";
23560
23749
  readonly PubTechneDraftFinancials: "pub.techne.draft.financials";
23750
+ readonly PubTechneDraftFollow: "pub.techne.draft.follow";
23561
23751
  readonly PubTechneDraftGeo: "pub.techne.draft.geo";
23562
23752
  readonly PubTechneDraftHeldAt: "pub.techne.draft.heldAt";
23563
23753
  readonly PubTechneDraftIdentityAccountsForPhones: "pub.techne.draft.identity.accountsForPhones";
@@ -23597,6 +23787,7 @@ export declare const ids: {
23597
23787
  readonly PubTechneDraftMarketAsk: "pub.techne.draft.market.ask";
23598
23788
  readonly PubTechneDraftMarketOffer: "pub.techne.draft.market.offer";
23599
23789
  readonly PubTechneDraftMembership: "pub.techne.draft.membership";
23790
+ readonly PubTechneDraftNotificationPref: "pub.techne.draft.notificationPref";
23600
23791
  readonly PubTechneDraftNotificationState: "pub.techne.draft.notificationState";
23601
23792
  readonly PubTechneDraftOperator: "pub.techne.draft.operator";
23602
23793
  readonly PubTechneDraftOrg: "pub.techne.draft.org";
@@ -23652,6 +23843,7 @@ export declare const ids: {
23652
23843
  readonly PubTechneDraftSummary: "pub.techne.draft.summary";
23653
23844
  readonly PubTechneDraftSyncIndexRecord: "pub.techne.draft.sync.indexRecord";
23654
23845
  readonly PubTechneDraftTagFeedback: "pub.techne.draft.tagFeedback";
23846
+ readonly PubTechneDraftUnfollow: "pub.techne.draft.unfollow";
23655
23847
  readonly PubTechneDraftVerdict: "pub.techne.draft.verdict";
23656
23848
  readonly PubTechneDraftVerification: "pub.techne.draft.verification";
23657
23849
  readonly PubTechneDraftWeeklyCheckIn: "pub.techne.draft.weeklyCheckIn";