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
@@ -2855,6 +2855,12 @@ export const catalog = {
2855
2855
  "required": false,
2856
2856
  "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."
2857
2857
  },
2858
+ {
2859
+ "name": "guestsHidden",
2860
+ "type": "boolean",
2861
+ "required": false,
2862
+ "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."
2863
+ },
2858
2864
  {
2859
2865
  "name": "createdAt",
2860
2866
  "type": "string<datetime>",
@@ -2902,6 +2908,10 @@ export const catalog = {
2902
2908
  },
2903
2909
  "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."
2904
2910
  },
2911
+ "guestsHidden": {
2912
+ "type": "boolean",
2913
+ "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."
2914
+ },
2905
2915
  "createdAt": {
2906
2916
  "type": "string",
2907
2917
  "format": "datetime"
@@ -5101,7 +5111,8 @@ export const catalog = {
5101
5111
  "venueNameConflict",
5102
5112
  "placeNameInTitle",
5103
5113
  "placeNameTokens",
5104
- "edgeResolution"
5114
+ "edgeResolution",
5115
+ "ladderRung"
5105
5116
  ]
5106
5117
  },
5107
5118
  "value": {
@@ -5337,6 +5348,12 @@ export const catalog = {
5337
5348
  "required": false,
5338
5349
  "description": "Optional free-form note."
5339
5350
  },
5351
+ {
5352
+ "name": "image",
5353
+ "type": "blob",
5354
+ "required": false,
5355
+ "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."
5356
+ },
5340
5357
  {
5341
5358
  "name": "createdAt",
5342
5359
  "type": "string<datetime>",
@@ -5378,6 +5395,16 @@ export const catalog = {
5378
5395
  "maxGraphemes": 256,
5379
5396
  "description": "Optional free-form note."
5380
5397
  },
5398
+ "image": {
5399
+ "type": "blob",
5400
+ "accept": [
5401
+ "image/png",
5402
+ "image/jpeg",
5403
+ "image/webp"
5404
+ ],
5405
+ "maxSize": 2000000,
5406
+ "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."
5407
+ },
5381
5408
  "createdAt": {
5382
5409
  "type": "string",
5383
5410
  "format": "datetime"
@@ -6093,6 +6120,63 @@ export const catalog = {
6093
6120
  }
6094
6121
  })
6095
6122
  },
6123
+ {
6124
+ "nsid": "pub.techne.draft.follow",
6125
+ "name": "draft.follow",
6126
+ "group": "pub.techne",
6127
+ "kind": "record",
6128
+ "key": "any",
6129
+ "description": "The record key is the subject's DID.",
6130
+ "fields": [
6131
+ {
6132
+ "name": "subject",
6133
+ "type": "string<did>",
6134
+ "required": true,
6135
+ "description": "The person followed."
6136
+ },
6137
+ {
6138
+ "name": "createdAt",
6139
+ "type": "string<datetime>",
6140
+ "required": true
6141
+ }
6142
+ ],
6143
+ "doc": ({
6144
+ "lexicon": 1,
6145
+ "id": "pub.techne.draft.follow",
6146
+ "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.",
6147
+ "defs": {
6148
+ "main": {
6149
+ "type": "record",
6150
+ "key": "any",
6151
+ "description": "The record key is the subject's DID.",
6152
+ "record": {
6153
+ "type": "object",
6154
+ "required": [
6155
+ "subject",
6156
+ "createdAt"
6157
+ ],
6158
+ "properties": {
6159
+ "subject": {
6160
+ "type": "string",
6161
+ "format": "did",
6162
+ "description": "The person followed."
6163
+ },
6164
+ "createdAt": {
6165
+ "type": "string",
6166
+ "format": "datetime"
6167
+ }
6168
+ }
6169
+ }
6170
+ }
6171
+ }
6172
+ }),
6173
+ "homes": [
6174
+ {
6175
+ "space": "pub.techne.draft.space.personal",
6176
+ "unbuilt": true
6177
+ }
6178
+ ]
6179
+ },
6096
6180
  {
6097
6181
  "nsid": "pub.techne.draft.geo",
6098
6182
  "name": "draft.geo",
@@ -6129,7 +6213,7 @@ export const catalog = {
6129
6213
  "doc": ({
6130
6214
  "lexicon": 1,
6131
6215
  "id": "pub.techne.draft.geo",
6132
- "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.",
6216
+ "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.",
6133
6217
  "defs": {
6134
6218
  "main": {
6135
6219
  "type": "record",
@@ -10285,6 +10369,82 @@ export const catalog = {
10285
10369
  }
10286
10370
  })
10287
10371
  },
10372
+ {
10373
+ "nsid": "pub.techne.draft.notificationPref",
10374
+ "name": "draft.notificationPref",
10375
+ "group": "pub.techne",
10376
+ "kind": "record",
10377
+ "key": "any",
10378
+ "description": "The record key is the kind.",
10379
+ "fields": [
10380
+ {
10381
+ "name": "kind",
10382
+ "type": "string (enum)",
10383
+ "required": true,
10384
+ "description": "The kind of notice. An unknown kind is kept and ignored.",
10385
+ "knownValues": [
10386
+ "curator.new",
10387
+ "curator.picks"
10388
+ ]
10389
+ },
10390
+ {
10391
+ "name": "enabled",
10392
+ "type": "boolean",
10393
+ "required": true,
10394
+ "description": "Send this kind of notice (push and the other interrupting channels). The in-app inbox is not switched."
10395
+ },
10396
+ {
10397
+ "name": "createdAt",
10398
+ "type": "string<datetime>",
10399
+ "required": true
10400
+ }
10401
+ ],
10402
+ "doc": ({
10403
+ "lexicon": 1,
10404
+ "id": "pub.techne.draft.notificationPref",
10405
+ "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.",
10406
+ "defs": {
10407
+ "main": {
10408
+ "type": "record",
10409
+ "key": "any",
10410
+ "description": "The record key is the kind.",
10411
+ "record": {
10412
+ "type": "object",
10413
+ "required": [
10414
+ "kind",
10415
+ "enabled",
10416
+ "createdAt"
10417
+ ],
10418
+ "properties": {
10419
+ "kind": {
10420
+ "type": "string",
10421
+ "maxLength": 64,
10422
+ "knownValues": [
10423
+ "curator.new",
10424
+ "curator.picks"
10425
+ ],
10426
+ "description": "The kind of notice. An unknown kind is kept and ignored."
10427
+ },
10428
+ "enabled": {
10429
+ "type": "boolean",
10430
+ "description": "Send this kind of notice (push and the other interrupting channels). The in-app inbox is not switched."
10431
+ },
10432
+ "createdAt": {
10433
+ "type": "string",
10434
+ "format": "datetime"
10435
+ }
10436
+ }
10437
+ }
10438
+ }
10439
+ }
10440
+ }),
10441
+ "homes": [
10442
+ {
10443
+ "space": "pub.techne.draft.space.personal",
10444
+ "unbuilt": true
10445
+ }
10446
+ ]
10447
+ },
10288
10448
  {
10289
10449
  "nsid": "pub.techne.draft.notificationState",
10290
10450
  "name": "draft.notificationState",
@@ -10536,7 +10696,7 @@ export const catalog = {
10536
10696
  "name": "locations",
10537
10697
  "type": "array<union>",
10538
10698
  "required": false,
10539
- "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`."
10699
+ "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`."
10540
10700
  },
10541
10701
  {
10542
10702
  "name": "createdAt",
@@ -10618,7 +10778,7 @@ export const catalog = {
10618
10778
  "locations": {
10619
10779
  "type": "array",
10620
10780
  "maxLength": 256,
10621
- "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`.",
10781
+ "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`.",
10622
10782
  "items": {
10623
10783
  "type": "union",
10624
10784
  "refs": [
@@ -10699,7 +10859,7 @@ export const catalog = {
10699
10859
  "locations": {
10700
10860
  "type": "array",
10701
10861
  "maxLength": 256,
10702
- "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`.",
10862
+ "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`.",
10703
10863
  "items": {
10704
10864
  "type": "union",
10705
10865
  "refs": [
@@ -10803,7 +10963,7 @@ export const catalog = {
10803
10963
  "doc": ({
10804
10964
  "lexicon": 1,
10805
10965
  "id": "pub.techne.draft.orgAtPlace",
10806
- "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).",
10966
+ "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).",
10807
10967
  "defs": {
10808
10968
  "main": {
10809
10969
  "type": "record",
@@ -12063,7 +12223,7 @@ export const catalog = {
12063
12223
  "doc": ({
12064
12224
  "lexicon": 1,
12065
12225
  "id": "pub.techne.draft.place",
12066
- "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.",
12226
+ "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.",
12067
12227
  "defs": {
12068
12228
  "main": {
12069
12229
  "type": "record",
@@ -12560,7 +12720,7 @@ export const catalog = {
12560
12720
  "doc": ({
12561
12721
  "lexicon": 1,
12562
12722
  "id": "pub.techne.draft.placeV2",
12563
- "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`.",
12723
+ "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`.",
12564
12724
  "defs": {
12565
12725
  "main": {
12566
12726
  "type": "record",
@@ -13669,7 +13829,7 @@ export const catalog = {
13669
13829
  "name": "view",
13670
13830
  "type": "string (enum)",
13671
13831
  "required": false,
13672
- "description": "Which public records the branches of `where` read: `curated` (the commons' listed records: one curated record per thing, merged from its sources by a curator the commons root trusts, moderated, not hidden; an event only inside the supported areas) or `asWritten` (every public record as its author wrote it: each source copy and the curated record, not hidden, not superseded). Required with `where`, never beside `any` (each branch names its own there): there is no default. `curated` on a branch whose `type` names a type no curator covers is refused with NotCurated, naming the type. A permissioned record is read the same way in both views (it is never curated). Beacon builds from before views, which name none, are answered with the old default through 2027-03-01 (the last day).",
13832
+ "description": "Which public records the branches of `where` read: `curated` (the commons' listed records: one curated record per thing, merged from its sources by a curator the commons root trusts, moderated, not hidden; an event only inside the supported areas) or `asWritten` (every public record as its author wrote it: each source copy and the curated record, not hidden, not superseded). Required with `where`, never beside `any` (each branch names its own there). `curated` on a branch whose `type` names a type no curator covers is refused with NotCurated, naming the type. A permissioned record is read the same way in both views (it is never curated). A query that names no view on any branch is answered with the old default (see `curated`), whoever sends it, through 2027-03-01 (the last day, UTC), and refused with ViewRequired from 2027-03-02; it is not refused NotCurated in that window. A query that names a view on some branches and not on others is refused with ViewRequired now.",
13673
13833
  "knownValues": [
13674
13834
  "curated",
13675
13835
  "asWritten"
@@ -13715,7 +13875,7 @@ export const catalog = {
13715
13875
  "name": "curated",
13716
13876
  "type": "boolean",
13717
13877
  "required": false,
13718
- "description": "Deprecated: `view` replaced it. It has no default. Accepted beside `view` only when it agrees (true with `curated`, false with `asWritten`); alone, it is refused like a missing view, except from Beacon builds from before views through 2027-03-01, where true or absent reads unscoped branches curated and false reads every branch as written."
13878
+ "description": "Deprecated: `view` replaced it. Accepted beside `view` only when it agrees (true with `curated`, false with `asWritten`). In a query naming no view: through 2027-03-01, the old default from any caller (true or absent reads curated, except as written for a branch scoped to named authors, subjects or URIs; false reads every branch as written); from 2027-03-02, refused with ViewRequired."
13719
13879
  },
13720
13880
  {
13721
13881
  "name": "held",
@@ -13753,7 +13913,7 @@ export const catalog = {
13753
13913
  "curated",
13754
13914
  "asWritten"
13755
13915
  ],
13756
- "description": "Which public records the branches of `where` read: `curated` (the commons' listed records: one curated record per thing, merged from its sources by a curator the commons root trusts, moderated, not hidden; an event only inside the supported areas) or `asWritten` (every public record as its author wrote it: each source copy and the curated record, not hidden, not superseded). Required with `where`, never beside `any` (each branch names its own there): there is no default. `curated` on a branch whose `type` names a type no curator covers is refused with NotCurated, naming the type. A permissioned record is read the same way in both views (it is never curated). Beacon builds from before views, which name none, are answered with the old default through 2027-03-01 (the last day)."
13916
+ "description": "Which public records the branches of `where` read: `curated` (the commons' listed records: one curated record per thing, merged from its sources by a curator the commons root trusts, moderated, not hidden; an event only inside the supported areas) or `asWritten` (every public record as its author wrote it: each source copy and the curated record, not hidden, not superseded). Required with `where`, never beside `any` (each branch names its own there). `curated` on a branch whose `type` names a type no curator covers is refused with NotCurated, naming the type. A permissioned record is read the same way in both views (it is never curated). A query that names no view on any branch is answered with the old default (see `curated`), whoever sends it, through 2027-03-01 (the last day, UTC), and refused with ViewRequired from 2027-03-02; it is not refused NotCurated in that window. A query that names a view on some branches and not on others is refused with ViewRequired now."
13757
13917
  },
13758
13918
  "where": {
13759
13919
  "type": "ref",
@@ -13799,7 +13959,7 @@ export const catalog = {
13799
13959
  },
13800
13960
  "curated": {
13801
13961
  "type": "boolean",
13802
- "description": "Deprecated: `view` replaced it. It has no default. Accepted beside `view` only when it agrees (true with `curated`, false with `asWritten`); alone, it is refused like a missing view, except from Beacon builds from before views through 2027-03-01, where true or absent reads unscoped branches curated and false reads every branch as written."
13962
+ "description": "Deprecated: `view` replaced it. Accepted beside `view` only when it agrees (true with `curated`, false with `asWritten`). In a query naming no view: through 2027-03-01, the old default from any caller (true or absent reads curated, except as written for a branch scoped to named authors, subjects or URIs; false reads every branch as written); from 2027-03-02, refused with ViewRequired."
13803
13963
  },
13804
13964
  "held": {
13805
13965
  "type": "boolean",
@@ -14643,7 +14803,7 @@ export const catalog = {
14643
14803
  },
14644
14804
  {
14645
14805
  "name": "ViewRequired",
14646
- "description": "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch."
14806
+ "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."
14647
14807
  },
14648
14808
  {
14649
14809
  "name": "NotCurated",
@@ -14909,14 +15069,14 @@ export const catalog = {
14909
15069
  "name": "draft.query.listRecords",
14910
15070
  "group": "pub.techne",
14911
15071
  "kind": "query",
14912
- "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.",
15072
+ "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.",
14913
15073
  "doc": ({
14914
15074
  "lexicon": 1,
14915
15075
  "id": "pub.techne.draft.query.listRecords",
14916
15076
  "defs": {
14917
15077
  "main": {
14918
15078
  "type": "query",
14919
- "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.",
15079
+ "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.",
14920
15080
  "parameters": {
14921
15081
  "type": "params",
14922
15082
  "properties": {
@@ -14995,7 +15155,7 @@ export const catalog = {
14995
15155
  },
14996
15156
  {
14997
15157
  "name": "ViewRequired",
14998
- "description": "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch."
15158
+ "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."
14999
15159
  },
15000
15160
  {
15001
15161
  "name": "NotCurated",
@@ -16883,7 +17043,7 @@ export const catalog = {
16883
17043
  "group": "pub.techne",
16884
17044
  "kind": "record",
16885
17045
  "key": "any",
16886
- "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.",
17046
+ "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.",
16887
17047
  "fields": [
16888
17048
  {
16889
17049
  "name": "subject",
@@ -16906,7 +17066,7 @@ export const catalog = {
16906
17066
  "doc": ({
16907
17067
  "lexicon": 1,
16908
17068
  "id": "pub.techne.draft.rsvpNote",
16909
- "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.",
17069
+ "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.",
16910
17070
  "defs": {
16911
17071
  "main": {
16912
17072
  "type": "record",
@@ -17295,7 +17455,7 @@ export const catalog = {
17295
17455
  "group": "pub.techne",
17296
17456
  "kind": "record",
17297
17457
  "key": "tid",
17298
- "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.",
17458
+ "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.",
17299
17459
  "fields": [
17300
17460
  {
17301
17461
  "name": "subject",
@@ -17312,7 +17472,7 @@ export const catalog = {
17312
17472
  "doc": ({
17313
17473
  "lexicon": 1,
17314
17474
  "id": "pub.techne.draft.share",
17315
- "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.",
17475
+ "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.",
17316
17476
  "defs": {
17317
17477
  "main": {
17318
17478
  "type": "record",
@@ -17339,6 +17499,10 @@ export const catalog = {
17339
17499
  }
17340
17500
  }),
17341
17501
  "homes": [
17502
+ {
17503
+ "space": "pub.techne.draft.space.audience",
17504
+ "unbuilt": false
17505
+ },
17342
17506
  {
17343
17507
  "space": "pub.techne.draft.space.beacon",
17344
17508
  "unbuilt": false
@@ -17814,7 +17978,7 @@ export const catalog = {
17814
17978
  },
17815
17979
  "locations": {
17816
17980
  "type": "object",
17817
- "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.",
17981
+ "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.",
17818
17982
  "required": [
17819
17983
  "locations"
17820
17984
  ],
@@ -18249,6 +18413,63 @@ export const catalog = {
18249
18413
  }
18250
18414
  })
18251
18415
  },
18416
+ {
18417
+ "nsid": "pub.techne.draft.unfollow",
18418
+ "name": "draft.unfollow",
18419
+ "group": "pub.techne",
18420
+ "kind": "record",
18421
+ "key": "any",
18422
+ "description": "The record key is the subject's DID.",
18423
+ "fields": [
18424
+ {
18425
+ "name": "subject",
18426
+ "type": "string<did>",
18427
+ "required": true,
18428
+ "description": "The person unfollowed."
18429
+ },
18430
+ {
18431
+ "name": "createdAt",
18432
+ "type": "string<datetime>",
18433
+ "required": true
18434
+ }
18435
+ ],
18436
+ "doc": ({
18437
+ "lexicon": 1,
18438
+ "id": "pub.techne.draft.unfollow",
18439
+ "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.",
18440
+ "defs": {
18441
+ "main": {
18442
+ "type": "record",
18443
+ "key": "any",
18444
+ "description": "The record key is the subject's DID.",
18445
+ "record": {
18446
+ "type": "object",
18447
+ "required": [
18448
+ "subject",
18449
+ "createdAt"
18450
+ ],
18451
+ "properties": {
18452
+ "subject": {
18453
+ "type": "string",
18454
+ "format": "did",
18455
+ "description": "The person unfollowed."
18456
+ },
18457
+ "createdAt": {
18458
+ "type": "string",
18459
+ "format": "datetime"
18460
+ }
18461
+ }
18462
+ }
18463
+ }
18464
+ }
18465
+ }),
18466
+ "homes": [
18467
+ {
18468
+ "space": "pub.techne.draft.space.personal",
18469
+ "unbuilt": true
18470
+ }
18471
+ ]
18472
+ },
18252
18473
  {
18253
18474
  "nsid": "pub.techne.draft.verdict",
18254
18475
  "name": "draft.verdict",
@@ -18267,7 +18488,7 @@ export const catalog = {
18267
18488
  "name": "values",
18268
18489
  "type": "array<string>",
18269
18490
  "required": true,
18270
- "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."
18491
+ "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)."
18271
18492
  },
18272
18493
  {
18273
18494
  "name": "createdAt",
@@ -18278,7 +18499,7 @@ export const catalog = {
18278
18499
  "doc": ({
18279
18500
  "lexicon": 1,
18280
18501
  "id": "pub.techne.draft.verdict",
18281
- "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.",
18502
+ "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.",
18282
18503
  "defs": {
18283
18504
  "main": {
18284
18505
  "type": "record",
@@ -18308,10 +18529,11 @@ export const catalog = {
18308
18529
  "spam",
18309
18530
  "obscene",
18310
18531
  "!takedown",
18311
- "declined"
18532
+ "declined",
18533
+ "cleared"
18312
18534
  ]
18313
18535
  },
18314
- "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."
18536
+ "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)."
18315
18537
  },
18316
18538
  "createdAt": {
18317
18539
  "type": "string",
@@ -18519,12 +18741,71 @@ export const catalog = {
18519
18741
  }
18520
18742
  ],
18521
18743
  "spaces": [
18744
+ {
18745
+ "nsid": "pub.techne.draft.space.audience",
18746
+ "name": "Kept-apart audience",
18747
+ "kind": "space",
18748
+ "key": "any",
18749
+ "description": "The kept-apart audience of another space: the `share` records that admit people to a space, placed where only that space's authority reads them, so the people admitted are not listed to each other. authority = the governed space's authority; skey = the governed space's skey (at://{authority}/pub.techne.draft.space.audience/{skey} keeps the audience of the authority's space with that skey). Generic: the governed space's type names this type in its policy's `pub.techne.draft.policy#sharedWithIn` leaf, which admits whoever a share here names. It holds only shares, each authored by the authority. A share here grants nothing in this space itself (its read policy is the authority's alone); it grants the governed space through that leaf. Read-side rule: only the authority's shares count.",
18750
+ "collections": [
18751
+ "pub.techne.draft.share"
18752
+ ],
18753
+ "policy": {
18754
+ "read": {
18755
+ "$type": "pub.techne.draft.policy#authorityOnly"
18756
+ },
18757
+ "write": {
18758
+ "$type": "pub.techne.draft.policy#authorityOnly"
18759
+ },
18760
+ "manage": {
18761
+ "$type": "pub.techne.draft.policy#authorityOnly"
18762
+ }
18763
+ },
18764
+ "doc": ({
18765
+ "lexicon": 1,
18766
+ "id": "pub.techne.draft.space.audience",
18767
+ "defs": {
18768
+ "main": {
18769
+ "type": "space",
18770
+ "description": "The kept-apart audience of another space: the `share` records that admit people to a space, placed where only that space's authority reads them, so the people admitted are not listed to each other. authority = the governed space's authority; skey = the governed space's skey (at://{authority}/pub.techne.draft.space.audience/{skey} keeps the audience of the authority's space with that skey). Generic: the governed space's type names this type in its policy's `pub.techne.draft.policy#sharedWithIn` leaf, which admits whoever a share here names. It holds only shares, each authored by the authority. A share here grants nothing in this space itself (its read policy is the authority's alone); it grants the governed space through that leaf. Read-side rule: only the authority's shares count.",
18771
+ "key": "any",
18772
+ "name": "Kept-apart audience",
18773
+ "collections": [
18774
+ "pub.techne.draft.share"
18775
+ ]
18776
+ }
18777
+ }
18778
+ }),
18779
+ "policyNsid": "pub.techne.draft.space.audience.policy",
18780
+ "policyDescription": "Access policy for pub.techne.draft.space.audience: the authority alone reads, writes and manages. The people its shares name read the GOVERNED space (through that space's `sharedWithIn` leaf), never this one, so none of them sees who else is admitted.",
18781
+ "policyDoc": ({
18782
+ "lexicon": 1,
18783
+ "id": "pub.techne.draft.space.audience.policy",
18784
+ "defs": {
18785
+ "main": {
18786
+ "type": "spacePolicy",
18787
+ "description": "Access policy for pub.techne.draft.space.audience: the authority alone reads, writes and manages. The people its shares name read the GOVERNED space (through that space's `sharedWithIn` leaf), never this one, so none of them sees who else is admitted.",
18788
+ "policy": {
18789
+ "read": {
18790
+ "$type": "pub.techne.draft.policy#authorityOnly"
18791
+ },
18792
+ "write": {
18793
+ "$type": "pub.techne.draft.policy#authorityOnly"
18794
+ },
18795
+ "manage": {
18796
+ "$type": "pub.techne.draft.policy#authorityOnly"
18797
+ }
18798
+ }
18799
+ }
18800
+ }
18801
+ })
18802
+ },
18522
18803
  {
18523
18804
  "nsid": "pub.techne.draft.space.beacon",
18524
18805
  "name": "Beacon space",
18525
18806
  "kind": "space",
18526
18807
  "key": "any",
18527
- "description": "One lit beacon's audience. skey = the beacon's rkey; authority = the lighter. Everything the lighter wrote for this beacon lives here (the anchor event or listing, its config, the beacon marker, one share per admitted person, and, for a going-to beacon on a public event made from a dropped pin or street address, the exact spot as a beaconSpot keyed by the beacon's rkey) plus the joins (rsvps: going and interested; a notgoing answer belongs in the answerer's own pub.techne.draft.space.beaconDecline, though older apps wrote it here) and each responder's note (rsvpNote). Read-side rule every projector applies: only the AUTHORITY's beacon/event/listing/config/beaconSpot records count — a foreign one admitted by the write policy is ignored; only rsvp, rsvpNote and share are read from other authors, and an rsvpNote counts only when its author wrote the rsvp at the same rkey in this space and its subject names that rsvp.",
18808
+ "description": "One lit beacon's audience. skey = the beacon's rkey; authority = the lighter. Everything the lighter wrote for this beacon lives here (the anchor event or listing, its config, the beacon marker, one share per admitted person, and, for a going-to beacon on a public event made from a dropped pin or street address, the exact spot as a beaconSpot keyed by the beacon's rkey) plus the joins (rsvps: going and interested; a notgoing answer belongs in the answerer's own pub.techne.draft.space.beaconDecline, though older apps wrote it here; for a beacon lit with `guestsHidden`, every answer belongs there and the shares in the lighter's pub.techne.draft.space.audience at this rkey, so nothing here lists the guests to each other) and each responder's note (rsvpNote). Read-side rule every projector applies: only the AUTHORITY's beacon/event/listing/config/beaconSpot records count — a foreign one admitted by the write policy is ignored; only rsvp, rsvpNote and share are read from other authors, and an rsvpNote counts only when its author wrote the rsvp at the same rkey in this space and its subject names that rsvp.",
18528
18809
  "collections": [
18529
18810
  "pub.techne.draft.beacon",
18530
18811
  "pub.techne.draft.share",
@@ -18546,6 +18827,10 @@ export const catalog = {
18546
18827
  {
18547
18828
  "$type": "pub.techne.draft.policy#sharedWith",
18548
18829
  "of": "this"
18830
+ },
18831
+ {
18832
+ "$type": "pub.techne.draft.policy#sharedWithIn",
18833
+ "spaceType": "pub.techne.draft.space.audience"
18549
18834
  }
18550
18835
  ]
18551
18836
  },
@@ -18573,7 +18858,7 @@ export const catalog = {
18573
18858
  "type": "space",
18574
18859
  "key": "any",
18575
18860
  "name": "Beacon space",
18576
- "description": "One lit beacon's audience. skey = the beacon's rkey; authority = the lighter. Everything the lighter wrote for this beacon lives here (the anchor event or listing, its config, the beacon marker, one share per admitted person, and, for a going-to beacon on a public event made from a dropped pin or street address, the exact spot as a beaconSpot keyed by the beacon's rkey) plus the joins (rsvps: going and interested; a notgoing answer belongs in the answerer's own pub.techne.draft.space.beaconDecline, though older apps wrote it here) and each responder's note (rsvpNote). Read-side rule every projector applies: only the AUTHORITY's beacon/event/listing/config/beaconSpot records count — a foreign one admitted by the write policy is ignored; only rsvp, rsvpNote and share are read from other authors, and an rsvpNote counts only when its author wrote the rsvp at the same rkey in this space and its subject names that rsvp.",
18861
+ "description": "One lit beacon's audience. skey = the beacon's rkey; authority = the lighter. Everything the lighter wrote for this beacon lives here (the anchor event or listing, its config, the beacon marker, one share per admitted person, and, for a going-to beacon on a public event made from a dropped pin or street address, the exact spot as a beaconSpot keyed by the beacon's rkey) plus the joins (rsvps: going and interested; a notgoing answer belongs in the answerer's own pub.techne.draft.space.beaconDecline, though older apps wrote it here; for a beacon lit with `guestsHidden`, every answer belongs there and the shares in the lighter's pub.techne.draft.space.audience at this rkey, so nothing here lists the guests to each other) and each responder's note (rsvpNote). Read-side rule every projector applies: only the AUTHORITY's beacon/event/listing/config/beaconSpot records count — a foreign one admitted by the write policy is ignored; only rsvp, rsvpNote and share are read from other authors, and an rsvpNote counts only when its author wrote the rsvp at the same rkey in this space and its subject names that rsvp.",
18577
18862
  "collections": [
18578
18863
  "pub.techne.draft.beacon",
18579
18864
  "pub.techne.draft.share",
@@ -18589,14 +18874,14 @@ export const catalog = {
18589
18874
  }
18590
18875
  }),
18591
18876
  "policyNsid": "pub.techne.draft.space.beacon.policy",
18592
- "policyDescription": "Access policy for pub.techne.draft.space.beacon: the lighter (authority) and everyone the lighter authored a `share` for read AND write (a join is an rsvp by an admitted reader); only the lighter manages. Same write=read shape as space.event.invite; the one-lighter read-side filter in the space description is what keeps foreign anchors out of derived state.",
18877
+ "policyDescription": "Access policy for pub.techne.draft.space.beacon: the lighter (authority) and everyone the lighter authored a `share` for read AND write (a join is an rsvp by an admitted reader); only the lighter manages. Same write=read shape as space.event.invite; the one-lighter read-side filter in the space description is what keeps foreign anchors out of derived state. A beacon lit with `guestsHidden` keeps its shares in the lighter's pub.techne.draft.space.audience at the same rkey (`sharedWithIn`): the people they name READ the beacon but do not write into it (their answers live in their own pub.techne.draft.space.beaconDecline), so nothing in the beacon's space lists them to each other.",
18593
18878
  "policyDoc": ({
18594
18879
  "lexicon": 1,
18595
18880
  "id": "pub.techne.draft.space.beacon.policy",
18596
18881
  "defs": {
18597
18882
  "main": {
18598
18883
  "type": "spacePolicy",
18599
- "description": "Access policy for pub.techne.draft.space.beacon: the lighter (authority) and everyone the lighter authored a `share` for read AND write (a join is an rsvp by an admitted reader); only the lighter manages. Same write=read shape as space.event.invite; the one-lighter read-side filter in the space description is what keeps foreign anchors out of derived state.",
18884
+ "description": "Access policy for pub.techne.draft.space.beacon: the lighter (authority) and everyone the lighter authored a `share` for read AND write (a join is an rsvp by an admitted reader); only the lighter manages. Same write=read shape as space.event.invite; the one-lighter read-side filter in the space description is what keeps foreign anchors out of derived state. A beacon lit with `guestsHidden` keeps its shares in the lighter's pub.techne.draft.space.audience at the same rkey (`sharedWithIn`): the people they name READ the beacon but do not write into it (their answers live in their own pub.techne.draft.space.beaconDecline), so nothing in the beacon's space lists them to each other.",
18600
18885
  "policy": {
18601
18886
  "read": {
18602
18887
  "$type": "pub.techne.draft.policy#any",
@@ -18607,6 +18892,10 @@ export const catalog = {
18607
18892
  {
18608
18893
  "$type": "pub.techne.draft.policy#sharedWith",
18609
18894
  "of": "this"
18895
+ },
18896
+ {
18897
+ "$type": "pub.techne.draft.policy#sharedWithIn",
18898
+ "spaceType": "pub.techne.draft.space.audience"
18610
18899
  }
18611
18900
  ]
18612
18901
  },
@@ -18632,10 +18921,10 @@ export const catalog = {
18632
18921
  },
18633
18922
  {
18634
18923
  "nsid": "pub.techne.draft.space.beaconDecline",
18635
- "name": "Can't go answer",
18924
+ "name": "Beacon answer",
18636
18925
  "kind": "space",
18637
18926
  "key": "any",
18638
- "description": "One person's \"Can't go\" answer to one beacon, kept where only they and the beacon's lighter can read it. authority = the person answering; skey = the rkey of their community.lexicon.calendar.rsvp naming the beacon (one answer per beacon, so one space). It holds that rsvp with status #notgoing, its rsvpNote at the same rkey if any, and one `share` naming the lighter. Going and Maybe (#interested) answers stay in the beacon's own space (pub.techne.draft.space.beacon); changing an answer moves the rsvp between the two spaces at the same rkey; its note goes along into this space and is deleted when the answer leaves it (never re-published to the beacon's audience). The rsvp at that rkey is one record, so its latest version is the answer and names the one space it is in. An older app's #notgoing left in space.beacon stays an answer there. Read-side rule every projector applies: only the AUTHORITY's records count, only a #notgoing rsvp counts, and it counts for the beacon its subject names: for the answerer always, and for that beacon's lighter only when the lighter is the authority here (their own answer) or the subject of a share here.",
18927
+ "description": "One person's answer to one beacon, kept where only they and the beacon's lighter can read it. authority = the person answering; skey = the rkey of their community.lexicon.calendar.rsvp naming the beacon (one answer per beacon, so one space). It holds that rsvp, its rsvpNote at the same rkey if any, and one `share` naming the lighter. A \"Can't go\" (#notgoing) always lives here. Going (#going) and Maybe (#interested) live here when the beacon was lit with `guestsHidden` (pub.techne.draft.beacon), so the beacon's other guests do not see them; otherwise they stay in the beacon's own space (pub.techne.draft.space.beacon). Changing an answer may move the rsvp between the two spaces at the same rkey; its note goes along into this space and is deleted when the answer leaves it (never re-published to the beacon's audience). The rsvp at that rkey is one record, so its latest version is the answer and names the one space it is in. An older app's #notgoing left in space.beacon stays an answer there. Read-side rule every projector applies: only the AUTHORITY's records count, only its rsvp at this space's skey counts (any of #going, #interested, #notgoing), and it counts for the beacon its subject names: for the answerer always, and for that beacon's lighter only when the lighter is the authority here (their own answer) or the subject of a share here, and only from someone the lighter shared the beacon with: the authority is the lighter's own person, or a pub.techne.draft.share the lighter holds now, in the beacon's own space (pub.techne.draft.space.beacon) or the lighter's pub.techne.draft.space.audience at the beacon's rkey, names the authority's person (anyone can write an answer in their own space naming any beacon). The NSID keeps its first name (it held only Can't go answers before 2026-12).",
18639
18928
  "collections": [
18640
18929
  "community.lexicon.calendar.rsvp",
18641
18930
  "pub.techne.draft.rsvpNote",
@@ -18667,9 +18956,9 @@ export const catalog = {
18667
18956
  "defs": {
18668
18957
  "main": {
18669
18958
  "type": "space",
18670
- "description": "One person's \"Can't go\" answer to one beacon, kept where only they and the beacon's lighter can read it. authority = the person answering; skey = the rkey of their community.lexicon.calendar.rsvp naming the beacon (one answer per beacon, so one space). It holds that rsvp with status #notgoing, its rsvpNote at the same rkey if any, and one `share` naming the lighter. Going and Maybe (#interested) answers stay in the beacon's own space (pub.techne.draft.space.beacon); changing an answer moves the rsvp between the two spaces at the same rkey; its note goes along into this space and is deleted when the answer leaves it (never re-published to the beacon's audience). The rsvp at that rkey is one record, so its latest version is the answer and names the one space it is in. An older app's #notgoing left in space.beacon stays an answer there. Read-side rule every projector applies: only the AUTHORITY's records count, only a #notgoing rsvp counts, and it counts for the beacon its subject names: for the answerer always, and for that beacon's lighter only when the lighter is the authority here (their own answer) or the subject of a share here.",
18959
+ "description": "One person's answer to one beacon, kept where only they and the beacon's lighter can read it. authority = the person answering; skey = the rkey of their community.lexicon.calendar.rsvp naming the beacon (one answer per beacon, so one space). It holds that rsvp, its rsvpNote at the same rkey if any, and one `share` naming the lighter. A \"Can't go\" (#notgoing) always lives here. Going (#going) and Maybe (#interested) live here when the beacon was lit with `guestsHidden` (pub.techne.draft.beacon), so the beacon's other guests do not see them; otherwise they stay in the beacon's own space (pub.techne.draft.space.beacon). Changing an answer may move the rsvp between the two spaces at the same rkey; its note goes along into this space and is deleted when the answer leaves it (never re-published to the beacon's audience). The rsvp at that rkey is one record, so its latest version is the answer and names the one space it is in. An older app's #notgoing left in space.beacon stays an answer there. Read-side rule every projector applies: only the AUTHORITY's records count, only its rsvp at this space's skey counts (any of #going, #interested, #notgoing), and it counts for the beacon its subject names: for the answerer always, and for that beacon's lighter only when the lighter is the authority here (their own answer) or the subject of a share here, and only from someone the lighter shared the beacon with: the authority is the lighter's own person, or a pub.techne.draft.share the lighter holds now, in the beacon's own space (pub.techne.draft.space.beacon) or the lighter's pub.techne.draft.space.audience at the beacon's rkey, names the authority's person (anyone can write an answer in their own space naming any beacon). The NSID keeps its first name (it held only Can't go answers before 2026-12).",
18671
18960
  "key": "any",
18672
- "name": "Can't go answer",
18961
+ "name": "Beacon answer",
18673
18962
  "collections": [
18674
18963
  "community.lexicon.calendar.rsvp",
18675
18964
  "pub.techne.draft.rsvpNote",
@@ -18679,14 +18968,14 @@ export const catalog = {
18679
18968
  }
18680
18969
  }),
18681
18970
  "policyNsid": "pub.techne.draft.space.beaconDecline.policy",
18682
- "policyDescription": "Access policy for pub.techne.draft.space.beaconDecline: the person answering (authority) reads, writes and manages; the lighter reads through the one `share` the authority wrote for them. Same shape as space.intro.",
18971
+ "policyDescription": "Access policy for pub.techne.draft.space.beaconDecline (a person's answer to a beacon): the person answering (authority) reads, writes and manages; the lighter reads through the one `share` the authority wrote for them. Same shape as space.intro.",
18683
18972
  "policyDoc": ({
18684
18973
  "lexicon": 1,
18685
18974
  "id": "pub.techne.draft.space.beaconDecline.policy",
18686
18975
  "defs": {
18687
18976
  "main": {
18688
18977
  "type": "spacePolicy",
18689
- "description": "Access policy for pub.techne.draft.space.beaconDecline: the person answering (authority) reads, writes and manages; the lighter reads through the one `share` the authority wrote for them. Same shape as space.intro.",
18978
+ "description": "Access policy for pub.techne.draft.space.beaconDecline (a person's answer to a beacon): the person answering (authority) reads, writes and manages; the lighter reads through the one `share` the authority wrote for them. Same shape as space.intro.",
18690
18979
  "policy": {
18691
18980
  "read": {
18692
18981
  "$type": "pub.techne.draft.policy#any",
@@ -19424,6 +19713,9 @@ export const catalog = {
19424
19713
  "pub.techne.draft.accountLink",
19425
19714
  "pub.techne.draft.attentionPrefs",
19426
19715
  "pub.techne.draft.subjectPrefs",
19716
+ "pub.techne.draft.follow",
19717
+ "pub.techne.draft.unfollow",
19718
+ "pub.techne.draft.notificationPref",
19427
19719
  "pub.techne.draft.notificationState",
19428
19720
  "pub.techne.draft.appAccess",
19429
19721
  "pub.techne.draft.appAccessRequest",
@@ -19467,6 +19759,9 @@ export const catalog = {
19467
19759
  "pub.techne.draft.accountLink",
19468
19760
  "pub.techne.draft.attentionPrefs",
19469
19761
  "pub.techne.draft.subjectPrefs",
19762
+ "pub.techne.draft.follow",
19763
+ "pub.techne.draft.unfollow",
19764
+ "pub.techne.draft.notificationPref",
19470
19765
  "pub.techne.draft.notificationState",
19471
19766
  "pub.techne.draft.appAccess",
19472
19767
  "pub.techne.draft.appAccessRequest",
@@ -19757,6 +20052,20 @@ export const catalog = {
19757
20052
  }
19758
20053
  ]
19759
20054
  },
20055
+ {
20056
+ "name": "sharedWithIn",
20057
+ "description": "There is a `share` claim naming V, authored by this space's authority and placed in the SIBLING space at://{authority}/{spaceType}/{this space's skey}: the same authority and the same key, the named type. For a space whose audience is kept in a separate space only its authority reads (pub.techne.draft.space.audience), so the people admitted are not listed to each other. The sibling must be a keyed space type with an authority-only read policy; a leaf naming any other type is malformed (its space denies). The governed space must itself be occupied (a removed space admits nobody through it). A separate open-union leaf: old evaluators deny it.",
20058
+ "required": [
20059
+ "spaceType"
20060
+ ],
20061
+ "properties": [
20062
+ {
20063
+ "name": "spaceType",
20064
+ "type": "string<nsid>",
20065
+ "description": "The sibling space type the shares are placed in."
20066
+ }
20067
+ ]
20068
+ },
19760
20069
  {
19761
20070
  "name": "authorityOnly",
19762
20071
  "description": "Only the space's authority. (The authority also IMPLICITLY satisfies write/manage for every space it owns.)",
@@ -19902,6 +20211,20 @@ export const catalog = {
19902
20211
  }
19903
20212
  }
19904
20213
  },
20214
+ "sharedWithIn": {
20215
+ "type": "object",
20216
+ "description": "There is a `share` claim naming V, authored by this space's authority and placed in the SIBLING space at://{authority}/{spaceType}/{this space's skey}: the same authority and the same key, the named type. For a space whose audience is kept in a separate space only its authority reads (pub.techne.draft.space.audience), so the people admitted are not listed to each other. The sibling must be a keyed space type with an authority-only read policy; a leaf naming any other type is malformed (its space denies). The governed space must itself be occupied (a removed space admits nobody through it). A separate open-union leaf: old evaluators deny it.",
20217
+ "required": [
20218
+ "spaceType"
20219
+ ],
20220
+ "properties": {
20221
+ "spaceType": {
20222
+ "type": "string",
20223
+ "format": "nsid",
20224
+ "description": "The sibling space type the shares are placed in."
20225
+ }
20226
+ }
20227
+ },
19905
20228
  "authorityOnly": {
19906
20229
  "type": "object",
19907
20230
  "description": "Only the space's authority. (The authority also IMPLICITLY satisfies write/manage for every space it owns.)",
@@ -19942,7 +20265,7 @@ export const catalog = {
19942
20265
  },
19943
20266
  "placement": {
19944
20267
  "nsid": "pub.techne.draft.placement",
19945
- "description": "The PLACEMENT MANIFEST: the published record of every record collection's legal homes. The space-side homes are NOT restated here — they live in each space type's declaration (`collections`, vanilla 0016); this doc declares the ONE home 0016 declarations cannot express (the public firehose) and the exceptions list for declared-but-not-yet-built space placements. The full manifest = union(space declarations' collections, this doc). A space type on the `open` list holds records of any collection (0016: every space may contain records of any type) and declares none; our own record types do not count there: they keep their declared homes, and a write of one into an open space is refused (InvalidRequest). The adopted community.lexicon.calendar.event, community.lexicon.calendar.rsvp and org.hypercerts.funding.receipt are not ours in this sense: an open space holds them as the writing app's own data, projecting no claim and never read as the platform's record at that key. Fail-closed: a record collection not listed in `public` has NO public home (the firehose guard withholds it); a declared (collection, space) pair with neither a registered write call site nor an `unbuilt` entry fails the drift gate. The manifest says where OUR writers place records. It is not a write gate on anyone else: the generic private write (pub.techne.draft.permissioned.putRecord) stores any collection in its caller's repo for the space the caller names, and where it counts is decided when each version is written, by the managing app's admission: the space's write policy, and for our own record types only where a space type declares them. `pub.techne.draft.credential` is public in one form only: published by its issuer in the issuer's own repo (author = `issuer`) with no `signature`, as the commons root vouches for a publisher declaration; a subject-stored, signed credential (its digest is of a phone or an email) lives only in its subject's pub.techne.draft.space.credential, and readers refuse it in public. Consumed three ways so it cannot drift from behavior: (1) regenos-lexicons build.rs generates the typed placement layer (placing an undeclared pair is a compile error) + the runtime tables the typed write chokepoint enforces; (2) the drift tests bind it to the indexer's private-only guard and to the registered call sites; (3) the sdk catalog renders it at /commons as each record's `homes`. Lives OUTSIDE the codegen roots (space-lexicons/), like pub.techne.draft.policy.",
20268
+ "description": "The PLACEMENT MANIFEST: the published record of every record collection's legal homes. The space-side homes are NOT restated here — they live in each space type's declaration (`collections`, vanilla 0016); this doc declares the ONE home 0016 declarations cannot express (the public firehose) and the exceptions list (`unbuilt`) for declared space placements no platform writer places: not built yet, retired, or written only by apps through the generic private write. The full manifest = union(space declarations' collections, this doc). A space type on the `open` list holds records of any collection (0016: every space may contain records of any type) and declares none; our own record types do not count there: they keep their declared homes, and a write of one into an open space is refused (InvalidRequest). The adopted community.lexicon.calendar.event, community.lexicon.calendar.rsvp and org.hypercerts.funding.receipt are not ours in this sense: an open space holds them as the writing app's own data, projecting no claim and never read as the platform's record at that key. Fail-closed: a record collection not listed in `public` has NO public home (the firehose guard withholds it); a declared (collection, space) pair with neither a registered platform write call site nor an `unbuilt` entry fails the drift gate. The manifest says where OUR writers place records. It is not a write gate on anyone else: the generic private write (pub.techne.draft.permissioned.putRecord) stores any collection in its caller's repo for the space the caller names, and where it counts is decided when each version is written, by the managing app's admission: the space's write policy, and for our own record types only where a space type declares them. `pub.techne.draft.credential` is public in one form only: published by its issuer in the issuer's own repo (author = `issuer`) with no `signature`, as the commons root vouches for a publisher declaration; a subject-stored, signed credential (its digest is of a phone or an email) lives only in its subject's pub.techne.draft.space.credential, and readers refuse it in public. Consumed three ways so it cannot drift from behavior: (1) regenos-lexicons build.rs generates the typed placement layer (placing an undeclared pair is a compile error) + the runtime tables the typed write chokepoint enforces; (2) the drift tests bind it to the indexer's private-only guard and to the registered call sites; (3) the sdk catalog renders it at /commons as each record's `homes`. Lives OUTSIDE the codegen roots (space-lexicons/), like pub.techne.draft.policy.",
19946
20269
  "public": [
19947
20270
  "pub.techne.draft.appConfig",
19948
20271
  "pub.techne.draft.approval",
@@ -20058,12 +20381,27 @@ export const catalog = {
20058
20381
  "collection": "pub.techne.draft.pendingBeaconSpotV2",
20059
20382
  "space": "pub.techne.draft.space.personal",
20060
20383
  "cite": "wiki/architecture/data-layer.md, The record set, the pendingBeaconSpotV2 row (location v2 audit, checklist 3fcc902b, 2026-11-27): the V2 type is declared where the type it replaces lives; its writers and readers move in checklist d589f2ff. Delete this entry when its writer lands."
20384
+ },
20385
+ {
20386
+ "collection": "pub.techne.draft.follow",
20387
+ "space": "pub.techne.draft.space.personal",
20388
+ "cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): was written only by the app with the generic private write (Beacon's Local curators follow switch, 9f71195c); no platform writer. Since batch-thanksgiving checklist item 4097f5e5 (2026-12-02) Beacon no longer writes it and the curator notifier no longer reads it: following is the default and pub.techne.draft.unfollow records the opt-out."
20389
+ },
20390
+ {
20391
+ "collection": "pub.techne.draft.notificationPref",
20392
+ "space": "pub.techne.draft.space.personal",
20393
+ "cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's Local curators switches, 9f71195c; since batch-thanksgiving item 4097f5e5, 2026-12-02, only the picks switch); no platform writer. The curator notifier (8a5b25f7) reads its `curator.picks` record."
20394
+ },
20395
+ {
20396
+ "collection": "pub.techne.draft.unfollow",
20397
+ "space": "pub.techne.draft.space.personal",
20398
+ "cite": "batch-thanksgiving 4097f5e5 (2026-12-02): written only by the app with the generic private write (Beacon's Local curators Following switch, af763d58); no platform writer. The curator notifier (5fd5b243) reads it."
20061
20399
  }
20062
20400
  ],
20063
20401
  "doc": ({
20064
20402
  "lexicon": 1,
20065
20403
  "id": "pub.techne.draft.placement",
20066
- "description": "The PLACEMENT MANIFEST: the published record of every record collection's legal homes. The space-side homes are NOT restated here — they live in each space type's declaration (`collections`, vanilla 0016); this doc declares the ONE home 0016 declarations cannot express (the public firehose) and the exceptions list for declared-but-not-yet-built space placements. The full manifest = union(space declarations' collections, this doc). A space type on the `open` list holds records of any collection (0016: every space may contain records of any type) and declares none; our own record types do not count there: they keep their declared homes, and a write of one into an open space is refused (InvalidRequest). The adopted community.lexicon.calendar.event, community.lexicon.calendar.rsvp and org.hypercerts.funding.receipt are not ours in this sense: an open space holds them as the writing app's own data, projecting no claim and never read as the platform's record at that key. Fail-closed: a record collection not listed in `public` has NO public home (the firehose guard withholds it); a declared (collection, space) pair with neither a registered write call site nor an `unbuilt` entry fails the drift gate. The manifest says where OUR writers place records. It is not a write gate on anyone else: the generic private write (pub.techne.draft.permissioned.putRecord) stores any collection in its caller's repo for the space the caller names, and where it counts is decided when each version is written, by the managing app's admission: the space's write policy, and for our own record types only where a space type declares them. `pub.techne.draft.credential` is public in one form only: published by its issuer in the issuer's own repo (author = `issuer`) with no `signature`, as the commons root vouches for a publisher declaration; a subject-stored, signed credential (its digest is of a phone or an email) lives only in its subject's pub.techne.draft.space.credential, and readers refuse it in public. Consumed three ways so it cannot drift from behavior: (1) regenos-lexicons build.rs generates the typed placement layer (placing an undeclared pair is a compile error) + the runtime tables the typed write chokepoint enforces; (2) the drift tests bind it to the indexer's private-only guard and to the registered call sites; (3) the sdk catalog renders it at /commons as each record's `homes`. Lives OUTSIDE the codegen roots (space-lexicons/), like pub.techne.draft.policy.",
20404
+ "description": "The PLACEMENT MANIFEST: the published record of every record collection's legal homes. The space-side homes are NOT restated here — they live in each space type's declaration (`collections`, vanilla 0016); this doc declares the ONE home 0016 declarations cannot express (the public firehose) and the exceptions list (`unbuilt`) for declared space placements no platform writer places: not built yet, retired, or written only by apps through the generic private write. The full manifest = union(space declarations' collections, this doc). A space type on the `open` list holds records of any collection (0016: every space may contain records of any type) and declares none; our own record types do not count there: they keep their declared homes, and a write of one into an open space is refused (InvalidRequest). The adopted community.lexicon.calendar.event, community.lexicon.calendar.rsvp and org.hypercerts.funding.receipt are not ours in this sense: an open space holds them as the writing app's own data, projecting no claim and never read as the platform's record at that key. Fail-closed: a record collection not listed in `public` has NO public home (the firehose guard withholds it); a declared (collection, space) pair with neither a registered platform write call site nor an `unbuilt` entry fails the drift gate. The manifest says where OUR writers place records. It is not a write gate on anyone else: the generic private write (pub.techne.draft.permissioned.putRecord) stores any collection in its caller's repo for the space the caller names, and where it counts is decided when each version is written, by the managing app's admission: the space's write policy, and for our own record types only where a space type declares them. `pub.techne.draft.credential` is public in one form only: published by its issuer in the issuer's own repo (author = `issuer`) with no `signature`, as the commons root vouches for a publisher declaration; a subject-stored, signed credential (its digest is of a phone or an email) lives only in its subject's pub.techne.draft.space.credential, and readers refuse it in public. Consumed three ways so it cannot drift from behavior: (1) regenos-lexicons build.rs generates the typed placement layer (placing an undeclared pair is a compile error) + the runtime tables the typed write chokepoint enforces; (2) the drift tests bind it to the indexer's private-only guard and to the registered call sites; (3) the sdk catalog renders it at /commons as each record's `homes`. Lives OUTSIDE the codegen roots (space-lexicons/), like pub.techne.draft.policy.",
20067
20405
  "defs": {
20068
20406
  "main": {
20069
20407
  "type": "placement",
@@ -20185,6 +20523,21 @@ export const catalog = {
20185
20523
  "collection": "pub.techne.draft.pendingBeaconSpotV2",
20186
20524
  "space": "pub.techne.draft.space.personal",
20187
20525
  "cite": "wiki/architecture/data-layer.md, The record set, the pendingBeaconSpotV2 row (location v2 audit, checklist 3fcc902b, 2026-11-27): the V2 type is declared where the type it replaces lives; its writers and readers move in checklist d589f2ff. Delete this entry when its writer lands."
20526
+ },
20527
+ {
20528
+ "collection": "pub.techne.draft.follow",
20529
+ "space": "pub.techne.draft.space.personal",
20530
+ "cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): was written only by the app with the generic private write (Beacon's Local curators follow switch, 9f71195c); no platform writer. Since batch-thanksgiving checklist item 4097f5e5 (2026-12-02) Beacon no longer writes it and the curator notifier no longer reads it: following is the default and pub.techne.draft.unfollow records the opt-out."
20531
+ },
20532
+ {
20533
+ "collection": "pub.techne.draft.notificationPref",
20534
+ "space": "pub.techne.draft.space.personal",
20535
+ "cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's Local curators switches, 9f71195c; since batch-thanksgiving item 4097f5e5, 2026-12-02, only the picks switch); no platform writer. The curator notifier (8a5b25f7) reads its `curator.picks` record."
20536
+ },
20537
+ {
20538
+ "collection": "pub.techne.draft.unfollow",
20539
+ "space": "pub.techne.draft.space.personal",
20540
+ "cite": "batch-thanksgiving 4097f5e5 (2026-12-02): written only by the app with the generic private write (Beacon's Local curators Following switch, af763d58); no platform writer. The curator notifier (5fd5b243) reads it."
20188
20541
  }
20189
20542
  ]
20190
20543
  }
@@ -20481,7 +20834,7 @@ export const catalog = {
20481
20834
  "group": "social.scenius",
20482
20835
  "kind": "procedure",
20483
20836
  "class": "write",
20484
- "description": "Add people or owned contact circles to the caller's active Beacon. The operation is additive and retry-safe: a person the owner removed earlier is put back when named again in people or phones, but not when only a circle or list reaches them, and never past a block; phone-only contacts remain pending until they bind, and the remembered circle set is unioned rather than replaced.",
20837
+ "description": "Add people or owned contact circles to the caller's active Beacon. The operation is additive and retry-safe: a person the owner removed earlier is put back when named again in people or phones, but not when only a circle or list reaches them, and never past a block; phone-only contacts remain pending until they bind, and the remembered circle set is unioned rather than replaced. Each phone number asked spends the caller's phone lookup budget (shared with identity.accountsForPhones, resolveContacts and contact binds): distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free; a call that would pass it reads nothing and is refused 429 RateLimitExceeded.",
20485
20838
  "input": [
20486
20839
  {
20487
20840
  "name": "beacon",
@@ -20551,7 +20904,7 @@ export const catalog = {
20551
20904
  "defs": {
20552
20905
  "main": {
20553
20906
  "type": "procedure",
20554
- "description": "Add people or owned contact circles to the caller's active Beacon. The operation is additive and retry-safe: a person the owner removed earlier is put back when named again in people or phones, but not when only a circle or list reaches them, and never past a block; phone-only contacts remain pending until they bind, and the remembered circle set is unioned rather than replaced.",
20907
+ "description": "Add people or owned contact circles to the caller's active Beacon. The operation is additive and retry-safe: a person the owner removed earlier is put back when named again in people or phones, but not when only a circle or list reaches them, and never past a block; phone-only contacts remain pending until they bind, and the remembered circle set is unioned rather than replaced. Each phone number asked spends the caller's phone lookup budget (shared with identity.accountsForPhones, resolveContacts and contact binds): distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free; a call that would pass it reads nothing and is refused 429 RateLimitExceeded.",
20555
20908
  "input": {
20556
20909
  "encoding": "application/json",
20557
20910
  "schema": {
@@ -20653,6 +21006,9 @@ export const catalog = {
20653
21006
  },
20654
21007
  {
20655
21008
  "name": "StaleRecord"
21009
+ },
21010
+ {
21011
+ "name": "RateLimitExceeded"
20656
21012
  }
20657
21013
  ]
20658
21014
  }
@@ -20874,13 +21230,13 @@ export const catalog = {
20874
21230
  "group": "social.scenius",
20875
21231
  "kind": "procedure",
20876
21232
  "class": "write",
20877
- "description": "Add a commons directory entry — THREE arms, ONE path (Group / Business / Public space): validate → dedup (case-insensitive exact name within 150m ⇒ `{uri, existing: true}`) → the COMMONS COLLECTIVE authors a `pub.techne.draft.place` — `sameAs: []`, no member attribution ANYWHERE in the body. Member-authed. Public events are `addCommonsEvent`. NOT offered in the Beacon UI yet (places enter through the data-commoning path, checked against Overture).",
21233
+ "description": "Add a commons directory entry — THREE arms, ONE path (Group / Business / Public space): validate → dedup (case-insensitive exact name within 150m ⇒ `{uri, existing: true}`) → the COMMONS COLLECTIVE authors a `pub.techne.draft.placeV2` (the pin and address as its `locations`, no `identifiers`), no member attribution ANYWHERE in the body. Member-authed. Public events are `addCommonsEvent`. NOT offered in the Beacon UI yet (places enter through the data-commoning path, checked against Overture).",
20878
21234
  "input": [
20879
21235
  {
20880
21236
  "name": "kind",
20881
21237
  "type": "string (enum)",
20882
21238
  "required": true,
20883
- "description": "The commons write-path arm; each writes a `pub.techne.draft.place`.",
21239
+ "description": "The commons write-path arm; each writes a `pub.techne.draft.placeV2`.",
20884
21240
  "knownValues": [
20885
21241
  "business",
20886
21242
  "publicSpace",
@@ -20956,7 +21312,7 @@ export const catalog = {
20956
21312
  "defs": {
20957
21313
  "main": {
20958
21314
  "type": "procedure",
20959
- "description": "Add a commons directory entry — THREE arms, ONE path (Group / Business / Public space): validate → dedup (case-insensitive exact name within 150m ⇒ `{uri, existing: true}`) → the COMMONS COLLECTIVE authors a `pub.techne.draft.place` — `sameAs: []`, no member attribution ANYWHERE in the body. Member-authed. Public events are `addCommonsEvent`. NOT offered in the Beacon UI yet (places enter through the data-commoning path, checked against Overture).",
21315
+ "description": "Add a commons directory entry — THREE arms, ONE path (Group / Business / Public space): validate → dedup (case-insensitive exact name within 150m ⇒ `{uri, existing: true}`) → the COMMONS COLLECTIVE authors a `pub.techne.draft.placeV2` (the pin and address as its `locations`, no `identifiers`), no member attribution ANYWHERE in the body. Member-authed. Public events are `addCommonsEvent`. NOT offered in the Beacon UI yet (places enter through the data-commoning path, checked against Overture).",
20960
21316
  "input": {
20961
21317
  "encoding": "application/json",
20962
21318
  "schema": {
@@ -20973,7 +21329,7 @@ export const catalog = {
20973
21329
  "publicSpace",
20974
21330
  "group"
20975
21331
  ],
20976
- "description": "The commons write-path arm; each writes a `pub.techne.draft.place`."
21332
+ "description": "The commons write-path arm; each writes a `pub.techne.draft.placeV2`."
20977
21333
  },
20978
21334
  "name": {
20979
21335
  "type": "string",
@@ -21049,7 +21405,7 @@ export const catalog = {
21049
21405
  "group": "social.scenius",
21050
21406
  "kind": "procedure",
21051
21407
  "class": "write",
21052
- "description": "Add people to a circle. Any member may. DIDs must be eligible for the caller (People, People you might know, or a circle in common); numbers not on Beacon become pending members, bound at signup.",
21408
+ "description": "Add people to a circle. Any member may. DIDs must be eligible for the caller (People, People you might know, or a circle in common); numbers not on Beacon become pending members, bound at signup. Each phone number asked spends the caller's phone lookup budget (shared with identity.accountsForPhones, resolveContacts and contact binds): distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free; a call that would pass it reads nothing and is refused 429 RateLimitExceeded.",
21053
21409
  "input": [
21054
21410
  {
21055
21411
  "name": "group",
@@ -21085,7 +21441,7 @@ export const catalog = {
21085
21441
  "defs": {
21086
21442
  "main": {
21087
21443
  "type": "procedure",
21088
- "description": "Add people to a circle. Any member may. DIDs must be eligible for the caller (People, People you might know, or a circle in common); numbers not on Beacon become pending members, bound at signup.",
21444
+ "description": "Add people to a circle. Any member may. DIDs must be eligible for the caller (People, People you might know, or a circle in common); numbers not on Beacon become pending members, bound at signup. Each phone number asked spends the caller's phone lookup budget (shared with identity.accountsForPhones, resolveContacts and contact binds): distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free; a call that would pass it reads nothing and is refused 429 RateLimitExceeded.",
21089
21445
  "input": {
21090
21446
  "encoding": "application/json",
21091
21447
  "schema": {
@@ -21144,6 +21500,9 @@ export const catalog = {
21144
21500
  },
21145
21501
  {
21146
21502
  "name": "StaleRecord"
21503
+ },
21504
+ {
21505
+ "name": "RateLimitExceeded"
21147
21506
  }
21148
21507
  ]
21149
21508
  },
@@ -22272,6 +22631,12 @@ export const catalog = {
22272
22631
  "type": "string",
22273
22632
  "required": false,
22274
22633
  "description": "The calling app's web origin, selecting the `PasskeyRegistry` RP instance. Native sends none."
22634
+ },
22635
+ {
22636
+ "name": "turnstileToken",
22637
+ "type": "string",
22638
+ "required": false,
22639
+ "description": "The Cloudflare Turnstile widget's response token for this sign-up. Checked with Cloudflare when the deployment's TURNSTILE_MODE is log (logged, never refused) or enforce (anything but a pass is 400 InvalidRequest, \"complete the check and try again\"; Cloudflare unreachable or busy included, so try again with the same token); a retry of a start that did not go through (an error answer) may send a token that already passed again, a few times within 5 minutes; once a start carrying it succeeds the token is spent."
22275
22640
  }
22276
22641
  ],
22277
22642
  "output": [
@@ -22303,6 +22668,11 @@ export const catalog = {
22303
22668
  "origin": {
22304
22669
  "type": "string",
22305
22670
  "description": "The calling app's web origin, selecting the `PasskeyRegistry` RP instance. Native sends none."
22671
+ },
22672
+ "turnstileToken": {
22673
+ "type": "string",
22674
+ "maxLength": 2048,
22675
+ "description": "The Cloudflare Turnstile widget's response token for this sign-up. Checked with Cloudflare when the deployment's TURNSTILE_MODE is log (logged, never refused) or enforce (anything but a pass is 400 InvalidRequest, \"complete the check and try again\"; Cloudflare unreachable or busy included, so try again with the same token); a retry of a start that did not go through (an error answer) may send a token that already passed again, a few times within 5 minutes; once a start carrying it succeeds the token is spent."
22306
22676
  }
22307
22677
  }
22308
22678
  }
@@ -22326,7 +22696,25 @@ export const catalog = {
22326
22696
  }
22327
22697
  }
22328
22698
  }
22329
- }
22699
+ },
22700
+ "errors": [
22701
+ {
22702
+ "name": "RateLimited",
22703
+ "description": "Too many passkey sign-ups from this address (HTTP 429, no Retry-After). Try again later; the same Turnstile token may be resent."
22704
+ },
22705
+ {
22706
+ "name": "PasskeyUnavailable",
22707
+ "description": "Passkeys are not configured on this deployment (HTTP 503)."
22708
+ },
22709
+ {
22710
+ "name": "InvalidRequest",
22711
+ "description": "The origin is not one this deployment has a passkey relying party for (HTTP 400), or the body is past 16 KiB (HTTP 413). Also when TURNSTILE_MODE is enforce and the Turnstile token is missing or did not pass, or Cloudflare could not be asked (message \"complete the check and try again\"; try again with the same token). Nothing was minted."
22712
+ },
22713
+ {
22714
+ "name": "AccountSuspended",
22715
+ "description": "The account is suspended (HTTP 403)."
22716
+ }
22717
+ ]
22330
22718
  }
22331
22719
  }
22332
22720
  })
@@ -23598,7 +23986,7 @@ export const catalog = {
23598
23986
  "group": "social.scenius",
23599
23987
  "kind": "procedure",
23600
23988
  "class": "write",
23601
- "description": "Create a Beacon circle: a private group identity (a collective DID with a random handle) whose descriptor and memberships are placed only in its own member space, never on the firehose. Kept for old builds; the current build makes a circle with identity.createCollective and put. The founder is its manager (role 40, the collective.member manage leg: rename, set the emoji, remove people, make someone manager) and carries addedBy = themself; everyone added is a member (role 20, the write leg: add people and leave).",
23989
+ "description": "Create a Beacon circle: a private group identity (a collective DID with a random handle) whose descriptor and memberships are placed only in its own member space, never on the firehose. Kept for old builds; the current build makes a circle with identity.createCollective and put. The founder is its manager (role 40, the collective.member manage leg: rename, set the emoji, remove people, make someone manager) and carries addedBy = themself; everyone added is a member (role 20, the write leg: add people and leave). Each phone number asked spends the caller's phone lookup budget (shared with identity.accountsForPhones, resolveContacts and contact binds): distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free; a call that would pass it reads nothing and is refused 429 RateLimitExceeded.",
23602
23990
  "input": [
23603
23991
  {
23604
23992
  "name": "name",
@@ -23629,7 +24017,7 @@ export const catalog = {
23629
24017
  "defs": {
23630
24018
  "main": {
23631
24019
  "type": "procedure",
23632
- "description": "Create a Beacon circle: a private group identity (a collective DID with a random handle) whose descriptor and memberships are placed only in its own member space, never on the firehose. Kept for old builds; the current build makes a circle with identity.createCollective and put. The founder is its manager (role 40, the collective.member manage leg: rename, set the emoji, remove people, make someone manager) and carries addedBy = themself; everyone added is a member (role 20, the write leg: add people and leave).",
24020
+ "description": "Create a Beacon circle: a private group identity (a collective DID with a random handle) whose descriptor and memberships are placed only in its own member space, never on the firehose. Kept for old builds; the current build makes a circle with identity.createCollective and put. The founder is its manager (role 40, the collective.member manage leg: rename, set the emoji, remove people, make someone manager) and carries addedBy = themself; everyone added is a member (role 20, the write leg: add people and leave). Each phone number asked spends the caller's phone lookup budget (shared with identity.accountsForPhones, resolveContacts and contact binds): distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free; a call that would pass it reads nothing and is refused 429 RateLimitExceeded.",
23633
24021
  "input": {
23634
24022
  "encoding": "application/json",
23635
24023
  "schema": {
@@ -23683,6 +24071,9 @@ export const catalog = {
23683
24071
  },
23684
24072
  {
23685
24073
  "name": "StaleRecord"
24074
+ },
24075
+ {
24076
+ "name": "RateLimitExceeded"
23686
24077
  }
23687
24078
  ]
23688
24079
  },
@@ -24890,7 +25281,7 @@ export const catalog = {
24890
25281
  "group": "social.scenius",
24891
25282
  "kind": "procedure",
24892
25283
  "class": "write",
24893
- "description": "Verify the OTP code: an existing number's DID signs in; a new number mints a custodial DID + a pub.techne.draft.contactChannel{phone} and its pub.techne.draft.channelVerification, both in space.personal. Mints the session (cookie or device lane, mirroring finishPasskeySignup): `device` present ⇒ an rsds_ device-session token (native); absent ⇒ Set-Cookie __Host-rs_session (web). Either way then binds the number's pending shares (custodial lighters only — a BYOD lighter's pending shares stay pending; no automatic bind), and only for a beacon that is still on or upcoming: an ended beacon's pending share stays pending and inert. The verified number is carried on the OTP challenge row server-side, never taken from the client. With `ownSession` (after an own-session start) the platform stores no session: it runs the same checks, leaves a custodial account custodial, and answers the token set bound to the device's DPoP key plus a narrow device session (push, sign-out, the change stream and the device list only), taken only with a DPoP proof of the same key on each request (header `DPoP`, with `ath` the hash of the `rsds_` token), always on the device lane. A check that refuses the sign-in, or tokens the platform refuses after the PDS issued them, revoke the new grant with `revokeDpop`.",
25284
+ "description": "Hand the code to our PDS (the first-party door), which checks it and answers with an OAuth session for the number's account, creating the account for a new number; the platform stores that session (the account is hosted on the PDS) and never checks the code itself. Mints the session (cookie or device lane, mirroring finishPasskeySignup): `device` present ⇒ an rsds_ device-session token (native); absent ⇒ Set-Cookie __Host-rs_session (web). Then releases what was held for the number (shares and access waiting on it). The verified number is carried on the server-side sign-in row, never taken from the client. With `ownSession` (after an own-session start) the platform stores no session: it runs the same checks, leaves a custodial account custodial, and answers the token set bound to the device's DPoP key plus a narrow device session (push, sign-out, the change stream and the device list only), taken only with a DPoP proof of the same key on each request (header `DPoP`, with `ath` the hash of the `rsds_` token), always on the device lane. A check that refuses the sign-in, or tokens the platform refuses after the PDS issued them, revoke the new grant with `revokeDpop`.",
24894
25285
  "input": [
24895
25286
  {
24896
25287
  "name": "phone",
@@ -24944,7 +25335,7 @@ export const catalog = {
24944
25335
  "name": "created",
24945
25336
  "type": "boolean",
24946
25337
  "required": false,
24947
- "description": "True when this call minted a new account for the number (the app asks for a name next); false = an existing number signed in."
25338
+ "description": "True when this sign-in is the first time the platform records the account (normally a new number the PDS just created; the app asks for a name next); false = an account it already knew signed in."
24948
25339
  },
24949
25340
  {
24950
25341
  "name": "ownSession",
@@ -24958,7 +25349,7 @@ export const catalog = {
24958
25349
  "defs": {
24959
25350
  "main": {
24960
25351
  "type": "procedure",
24961
- "description": "Verify the OTP code: an existing number's DID signs in; a new number mints a custodial DID + a pub.techne.draft.contactChannel{phone} and its pub.techne.draft.channelVerification, both in space.personal. Mints the session (cookie or device lane, mirroring finishPasskeySignup): `device` present ⇒ an rsds_ device-session token (native); absent ⇒ Set-Cookie __Host-rs_session (web). Either way then binds the number's pending shares (custodial lighters only — a BYOD lighter's pending shares stay pending; no automatic bind), and only for a beacon that is still on or upcoming: an ended beacon's pending share stays pending and inert. The verified number is carried on the OTP challenge row server-side, never taken from the client. With `ownSession` (after an own-session start) the platform stores no session: it runs the same checks, leaves a custodial account custodial, and answers the token set bound to the device's DPoP key plus a narrow device session (push, sign-out, the change stream and the device list only), taken only with a DPoP proof of the same key on each request (header `DPoP`, with `ath` the hash of the `rsds_` token), always on the device lane. A check that refuses the sign-in, or tokens the platform refuses after the PDS issued them, revoke the new grant with `revokeDpop`.",
25352
+ "description": "Hand the code to our PDS (the first-party door), which checks it and answers with an OAuth session for the number's account, creating the account for a new number; the platform stores that session (the account is hosted on the PDS) and never checks the code itself. Mints the session (cookie or device lane, mirroring finishPasskeySignup): `device` present ⇒ an rsds_ device-session token (native); absent ⇒ Set-Cookie __Host-rs_session (web). Then releases what was held for the number (shares and access waiting on it). The verified number is carried on the server-side sign-in row, never taken from the client. With `ownSession` (after an own-session start) the platform stores no session: it runs the same checks, leaves a custodial account custodial, and answers the token set bound to the device's DPoP key plus a narrow device session (push, sign-out, the change stream and the device list only), taken only with a DPoP proof of the same key on each request (header `DPoP`, with `ath` the hash of the `rsds_` token), always on the device lane. A check that refuses the sign-in, or tokens the platform refuses after the PDS issued them, revoke the new grant with `revokeDpop`.",
24962
25353
  "input": {
24963
25354
  "encoding": "application/json",
24964
25355
  "schema": {
@@ -25011,7 +25402,7 @@ export const catalog = {
25011
25402
  },
25012
25403
  "created": {
25013
25404
  "type": "boolean",
25014
- "description": "True when this call minted a new account for the number (the app asks for a name next); false = an existing number signed in."
25405
+ "description": "True when this sign-in is the first time the platform records the account (normally a new number the PDS just created; the app asks for a name next); false = an account it already knew signed in."
25015
25406
  },
25016
25407
  "ownSession": {
25017
25408
  "type": "ref",
@@ -25027,19 +25418,19 @@ export const catalog = {
25027
25418
  },
25028
25419
  {
25029
25420
  "name": "CodeExpired",
25030
- "description": "This sign-in is over: no tries left, the code expired, or it was accepted but the sign-in could not finish. Ask for a new code."
25421
+ "description": "This sign-in is over: no tries left, the code expired, our PDS refused the request as malformed, or the code was accepted but the sign-in could not finish. Ask for a new code."
25031
25422
  },
25032
25423
  {
25033
- "name": "NewCodeSent",
25034
- "description": "The number's account lives on another server; the platform texted a new code that signs it in. Enter that one."
25424
+ "name": "MethodFrozen",
25425
+ "description": "The number is a sign-in method its account froze (until the time in the message, when one is known); it signs in nowhere until then. Use another of the account's methods."
25035
25426
  },
25036
25427
  {
25037
- "name": "MethodFrozen",
25038
- "description": "The number is a sign-in method its account froze (until the time in the message); it signs in nowhere until then. Use another of the account's methods."
25428
+ "name": "AccountUnavailable",
25429
+ "description": "This number can't sign in here (its account lives on another server, or it is held back). Nothing was signed in."
25039
25430
  },
25040
25431
  {
25041
- "name": "OwnSessionUnavailable",
25042
- "description": "The first-party door is off for this number. Start again without ownSession."
25432
+ "name": "NumberRemoved",
25433
+ "description": "This number was removed from its account; sign in with your current number."
25043
25434
  },
25044
25435
  {
25045
25436
  "name": "RateLimitExceeded",
@@ -30018,7 +30409,7 @@ export const catalog = {
30018
30409
  "group": "social.scenius",
30019
30410
  "kind": "procedure",
30020
30411
  "class": "write",
30021
- "description": "Light a beacon: hosting (writes the calendar.event/config pair into the beacon's own space, then the beacon marker) or going-to (writes an event.listing reshare of someone else's event, then the beacon marker naming it). Plus `lists`, `people`, `dids` and `groups` — expanded and deduped into one `accessRule` per contact, person and circle in the caller's personal space; reconciling them writes the beacon's `share`s before the response. A contact with no account yet stays pending until its number signs up. When `lists` is non-empty, upserts the beacon's `pub.techne.draft.beaconLists` singleton. Lighting is never refused for how many beacons the caller has on; how far it reaches people with no tie to the caller is limited on ingest.",
30412
+ "description": "Light a beacon: hosting (writes the calendar.event/config pair into the beacon's own space, then the beacon marker) or going-to (writes an event.listing reshare of someone else's event, then the beacon marker naming it). Plus `lists`, `people`, `dids` and `groups` — expanded and deduped into one `accessRule` per contact, person and circle in the caller's personal space; reconciling them writes the beacon's `share`s before the response. A contact with no account yet stays pending until its number signs up. When `lists` is non-empty, upserts the beacon's `pub.techne.draft.beaconLists` singleton. Lighting is never refused for how many beacons the caller has on; how far it reaches people with no tie to the caller is limited on ingest. Each phone number asked spends the caller's phone lookup budget (shared with identity.accountsForPhones, resolveContacts and contact binds): distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free; a call that would pass it reads nothing and is refused 429 RateLimitExceeded.",
30022
30413
  "input": [
30023
30414
  {
30024
30415
  "name": "anchor",
@@ -30099,7 +30490,7 @@ export const catalog = {
30099
30490
  "defs": {
30100
30491
  "main": {
30101
30492
  "type": "procedure",
30102
- "description": "Light a beacon: hosting (writes the calendar.event/config pair into the beacon's own space, then the beacon marker) or going-to (writes an event.listing reshare of someone else's event, then the beacon marker naming it). Plus `lists`, `people`, `dids` and `groups` — expanded and deduped into one `accessRule` per contact, person and circle in the caller's personal space; reconciling them writes the beacon's `share`s before the response. A contact with no account yet stays pending until its number signs up. When `lists` is non-empty, upserts the beacon's `pub.techne.draft.beaconLists` singleton. Lighting is never refused for how many beacons the caller has on; how far it reaches people with no tie to the caller is limited on ingest.",
30493
+ "description": "Light a beacon: hosting (writes the calendar.event/config pair into the beacon's own space, then the beacon marker) or going-to (writes an event.listing reshare of someone else's event, then the beacon marker naming it). Plus `lists`, `people`, `dids` and `groups` — expanded and deduped into one `accessRule` per contact, person and circle in the caller's personal space; reconciling them writes the beacon's `share`s before the response. A contact with no account yet stays pending until its number signs up. When `lists` is non-empty, upserts the beacon's `pub.techne.draft.beaconLists` singleton. Lighting is never refused for how many beacons the caller has on; how far it reaches people with no tie to the caller is limited on ingest. Each phone number asked spends the caller's phone lookup budget (shared with identity.accountsForPhones, resolveContacts and contact binds): distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free; a call that would pass it reads nothing and is refused 429 RateLimitExceeded.",
30103
30494
  "input": {
30104
30495
  "encoding": "application/json",
30105
30496
  "schema": {
@@ -30208,6 +30599,9 @@ export const catalog = {
30208
30599
  },
30209
30600
  {
30210
30601
  "name": "StaleRecord"
30602
+ },
30603
+ {
30604
+ "name": "RateLimitExceeded"
30211
30605
  }
30212
30606
  ]
30213
30607
  },
@@ -31756,13 +32150,13 @@ export const catalog = {
31756
32150
  "group": "social.scenius",
31757
32151
  "kind": "procedure",
31758
32152
  "class": "write",
31759
- "description": "The connector authors a private introProposal between two existing members. The connector shares the proposal's space, so readers resolve via a uniform placement predicate.",
32153
+ "description": "The connector authors a private introProposal between two existing members, neither of them the connector. The connector shares the proposal's space, so readers resolve via a uniform placement predicate.",
31760
32154
  "input": [
31761
32155
  {
31762
32156
  "name": "parties",
31763
32157
  "type": "array<string>",
31764
32158
  "required": true,
31765
- "description": "Exactly the two party DIDs to introduce."
32159
+ "description": "Exactly the two party DIDs to introduce: two distinct people, both existing accounts, and neither the connector (any DID of the connector's person)."
31766
32160
  },
31767
32161
  {
31768
32162
  "name": "contexts",
@@ -31803,7 +32197,7 @@ export const catalog = {
31803
32197
  "defs": {
31804
32198
  "main": {
31805
32199
  "type": "procedure",
31806
- "description": "The connector authors a private introProposal between two existing members. The connector shares the proposal's space, so readers resolve via a uniform placement predicate.",
32200
+ "description": "The connector authors a private introProposal between two existing members, neither of them the connector. The connector shares the proposal's space, so readers resolve via a uniform placement predicate.",
31807
32201
  "input": {
31808
32202
  "encoding": "application/json",
31809
32203
  "schema": {
@@ -31815,7 +32209,7 @@ export const catalog = {
31815
32209
  "properties": {
31816
32210
  "parties": {
31817
32211
  "type": "array",
31818
- "description": "Exactly the two party DIDs to introduce.",
32212
+ "description": "Exactly the two party DIDs to introduce: two distinct people, both existing accounts, and neither the connector (any DID of the connector's person).",
31819
32213
  "minLength": 2,
31820
32214
  "maxLength": 2,
31821
32215
  "items": {
@@ -31864,7 +32258,17 @@ export const catalog = {
31864
32258
  }
31865
32259
  }
31866
32260
  }
31867
- }
32261
+ },
32262
+ "errors": [
32263
+ {
32264
+ "name": "InvalidRequest",
32265
+ "description": "The parties are not two distinct existing accounts, one of them is the connector (you cannot introduce yourself), or a field is malformed (HTTP 400). Also an `origin` that names no record this AppView knows, or a bad cid."
32266
+ },
32267
+ {
32268
+ "name": "RecordPending",
32269
+ "description": "The `origin` record is moving to its new lexicon name; try again shortly (HTTP 409)."
32270
+ }
32271
+ ]
31868
32272
  },
31869
32273
  "context": {
31870
32274
  "type": "object",
@@ -33682,7 +34086,7 @@ export const catalog = {
33682
34086
  "group": "social.scenius",
33683
34087
  "kind": "procedure",
33684
34088
  "class": "write",
33685
- "description": "The batch form of contact resolution: resolve up to 200 E.164 phone numbers to their Beacon accounts, for the list picker's \"already on Beacon\" affordance. A `procedure` (not a `query`) because the input is a bounded array too large for GET query params. Returns MATCHES ONLY — an unmatched number is simply absent from `matches`, never distinguished from \"not looked up\". Rate-limited 60 calls/minute per caller.",
34089
+ "description": "The batch form of contact resolution: resolve up to 200 E.164 phone numbers to their Beacon accounts, for the list picker's \"already on Beacon\" affordance. A `procedure` (not a `query`) because the input is a bounded array too large for GET query params. Returns MATCHES ONLY — an unmatched number is simply absent from `matches`, never distinguished from \"not looked up\". Spends the caller's phone lookup budget, shared with identity.accountsForPhones and Beacon's phone arms: distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free. A call that would pass it reads nothing and is refused 429 RateLimited (this method's name for RateLimitExceeded).",
33686
34090
  "input": [
33687
34091
  {
33688
34092
  "name": "phones",
@@ -33704,7 +34108,7 @@ export const catalog = {
33704
34108
  "defs": {
33705
34109
  "main": {
33706
34110
  "type": "procedure",
33707
- "description": "The batch form of contact resolution: resolve up to 200 E.164 phone numbers to their Beacon accounts, for the list picker's \"already on Beacon\" affordance. A `procedure` (not a `query`) because the input is a bounded array too large for GET query params. Returns MATCHES ONLY — an unmatched number is simply absent from `matches`, never distinguished from \"not looked up\". Rate-limited 60 calls/minute per caller.",
34111
+ "description": "The batch form of contact resolution: resolve up to 200 E.164 phone numbers to their Beacon accounts, for the list picker's \"already on Beacon\" affordance. A `procedure` (not a `query`) because the input is a bounded array too large for GET query params. Returns MATCHES ONLY — an unmatched number is simply absent from `matches`, never distinguished from \"not looked up\". Spends the caller's phone lookup budget, shared with identity.accountsForPhones and Beacon's phone arms: distinct new numbers per person in a rolling 24 hours, 10000, or 2000 when the calling account is under a day old; a number already asked in that window is free. A call that would pass it reads nothing and is refused 429 RateLimited (this method's name for RateLimitExceeded).",
33708
34112
  "input": {
33709
34113
  "encoding": "application/json",
33710
34114
  "schema": {
@@ -35408,7 +35812,7 @@ export const catalog = {
35408
35812
  "group": "social.scenius",
35409
35813
  "kind": "procedure",
35410
35814
  "class": "write",
35411
- "description": "Beacon's one front door: text a sign-in code to a phone number. Returns {ok:true} whether the code was actually sent or the caller was rate-limited, with one exception: when a code went to this number moments ago through another sign-in, so no new one can be sent yet and that code can't finish here, it answers RateLimitExceeded with the seconds to wait (also in Retry-After). With `ownSession` the device will hold its own OAuth session (it makes the DPoP key and the PKCE pair and signs every proof): `ownSession:{}` answers the endpoints its proofs name and texts nothing; `ownSession:{codeChallenge, dpop}` texts the code.",
35815
+ "description": "Beacon's one front door: our PDS texts a sign-in code to a phone number (the first-party door). Returns {ok:true} whether the code was actually sent or the caller was rate-limited, except for the errors listed below. In particular: when a code went to this number moments ago through another sign-in, so no new one can be sent yet and that code can't finish here, it answers RateLimitExceeded with the seconds to wait (also in Retry-After); and when no code could be sent at all, Unavailable. With `ownSession` the device will hold its own OAuth session (it makes the DPoP key and the PKCE pair and signs every proof): `ownSession:{}` answers the endpoints its proofs name and texts nothing; `ownSession:{codeChallenge, dpop}` texts the code.",
35412
35816
  "input": [
35413
35817
  {
35414
35818
  "name": "phone",
@@ -35420,6 +35824,17 @@ export const catalog = {
35420
35824
  "name": "ownSession",
35421
35825
  "type": "→ #ownStart",
35422
35826
  "required": false
35827
+ },
35828
+ {
35829
+ "name": "attest",
35830
+ "type": "→ #attest",
35831
+ "required": false
35832
+ },
35833
+ {
35834
+ "name": "turnstileToken",
35835
+ "type": "string",
35836
+ "required": false,
35837
+ "description": "The Cloudflare Turnstile widget's response token for this sign-up (on a native app, the hosted Turnstile page's). Checked with Cloudflare when the deployment's TURNSTILE_MODE is log (logged, never refused) or enforce (anything but a pass is 400 InvalidRequest, \"complete the check and try again\"; Cloudflare unreachable or busy included, so try again with the same token); a retry of a start that did not go through (after UseDpopNonce, a 429 or a 503) may send a token that already passed again, a few times within 5 minutes; once a start carrying it succeeds the token is spent (the endpoints step, `ownSession:{}`, starts nothing and spends nothing)."
35423
35838
  }
35424
35839
  ],
35425
35840
  "output": [
@@ -35440,7 +35855,7 @@ export const catalog = {
35440
35855
  "defs": {
35441
35856
  "main": {
35442
35857
  "type": "procedure",
35443
- "description": "Beacon's one front door: text a sign-in code to a phone number. Returns {ok:true} whether the code was actually sent or the caller was rate-limited, with one exception: when a code went to this number moments ago through another sign-in, so no new one can be sent yet and that code can't finish here, it answers RateLimitExceeded with the seconds to wait (also in Retry-After). With `ownSession` the device will hold its own OAuth session (it makes the DPoP key and the PKCE pair and signs every proof): `ownSession:{}` answers the endpoints its proofs name and texts nothing; `ownSession:{codeChallenge, dpop}` texts the code.",
35858
+ "description": "Beacon's one front door: our PDS texts a sign-in code to a phone number (the first-party door). Returns {ok:true} whether the code was actually sent or the caller was rate-limited, except for the errors listed below. In particular: when a code went to this number moments ago through another sign-in, so no new one can be sent yet and that code can't finish here, it answers RateLimitExceeded with the seconds to wait (also in Retry-After); and when no code could be sent at all, Unavailable. With `ownSession` the device will hold its own OAuth session (it makes the DPoP key and the PKCE pair and signs every proof): `ownSession:{}` answers the endpoints its proofs name and texts nothing; `ownSession:{codeChallenge, dpop}` texts the code.",
35444
35859
  "input": {
35445
35860
  "encoding": "application/json",
35446
35861
  "schema": {
@@ -35456,6 +35871,15 @@ export const catalog = {
35456
35871
  "ownSession": {
35457
35872
  "type": "ref",
35458
35873
  "ref": "#ownStart"
35874
+ },
35875
+ "attest": {
35876
+ "type": "ref",
35877
+ "ref": "#attest"
35878
+ },
35879
+ "turnstileToken": {
35880
+ "type": "string",
35881
+ "maxLength": 2048,
35882
+ "description": "The Cloudflare Turnstile widget's response token for this sign-up (on a native app, the hosted Turnstile page's). Checked with Cloudflare when the deployment's TURNSTILE_MODE is log (logged, never refused) or enforce (anything but a pass is 400 InvalidRequest, \"complete the check and try again\"; Cloudflare unreachable or busy included, so try again with the same token); a retry of a start that did not go through (after UseDpopNonce, a 429 or a 503) may send a token that already passed again, a few times within 5 minutes; once a start carrying it succeeds the token is spent (the endpoints step, `ownSession:{}`, starts nothing and spends nothing)."
35459
35883
  }
35460
35884
  }
35461
35885
  }
@@ -35480,15 +35904,16 @@ export const catalog = {
35480
35904
  },
35481
35905
  "errors": [
35482
35906
  {
35483
- "name": "InvalidRequest"
35907
+ "name": "InvalidRequest",
35908
+ "description": "The number cannot get a code: not E.164, a +1 area code that cannot exist, or one our PDS's SMS provider says cannot take a text. Also a malformed body (ownSession, attest). For the number or the body: correct it; asking again unchanged gets the same answer. Also when TURNSTILE_MODE is enforce and the Turnstile token is missing or did not pass, or Cloudflare could not be asked (message \"complete the check and try again\"; try again with the same token). Nothing was texted."
35484
35909
  },
35485
35910
  {
35486
35911
  "name": "RateLimitExceeded",
35487
35912
  "description": "A code went to this number moments ago and can't be finished here; wait the seconds given, then ask again."
35488
35913
  },
35489
35914
  {
35490
- "name": "OwnSessionUnavailable",
35491
- "description": "This number cannot sign in with ownSession (the first-party door is off, a review number, or the PDS refused the start). Sign in without ownSession."
35915
+ "name": "Unavailable",
35916
+ "description": "No code was sent, for a reason that is not the number: phone sign-in is off here, our PDS is unreachable or refused the start, or the start could not be saved. Try again later."
35492
35917
  },
35493
35918
  {
35494
35919
  "name": "UseDpopNonce",
@@ -35532,6 +35957,65 @@ export const catalog = {
35532
35957
  "dpopNonce": {
35533
35958
  "type": "string",
35534
35959
  "description": "The PDS's latest DPoP nonce, for the next proofs."
35960
+ },
35961
+ "attestChallenge": {
35962
+ "type": "string",
35963
+ "description": "On the endpoints step, when this deployment checks app attestation: a challenge, live 5 minutes, claimed by the first start that sends it (a resend of that same start, same key and codeChallenge, still matches). The app attests `<attestChallenge>.<jkt>` (jkt: its DPoP key's thumbprint) and sends it back in `attest` with the start. Absent when the caller is over its limit or the challenge store is full; the app then starts without `attest`."
35964
+ }
35965
+ }
35966
+ },
35967
+ "attest": {
35968
+ "type": "object",
35969
+ "description": "The app's proof that it is the real first-party app, for an own-session start: exactly one of ios or android. Must be well-formed in every mode; used only when this deployment checks attestation. Recorded (logged), not yet verified or enforced.",
35970
+ "required": [
35971
+ "challenge"
35972
+ ],
35973
+ "properties": {
35974
+ "challenge": {
35975
+ "type": "string",
35976
+ "minLength": 43,
35977
+ "maxLength": 43,
35978
+ "description": "The attestChallenge from the endpoints step."
35979
+ },
35980
+ "ios": {
35981
+ "type": "ref",
35982
+ "ref": "#iosAttest"
35983
+ },
35984
+ "android": {
35985
+ "type": "ref",
35986
+ "ref": "#androidAttest"
35987
+ }
35988
+ }
35989
+ },
35990
+ "iosAttest": {
35991
+ "type": "object",
35992
+ "required": [
35993
+ "keyId",
35994
+ "attestation"
35995
+ ],
35996
+ "properties": {
35997
+ "keyId": {
35998
+ "type": "string",
35999
+ "maxLength": 32768,
36000
+ "description": "The App Attest key id (base64)."
36001
+ },
36002
+ "attestation": {
36003
+ "type": "string",
36004
+ "maxLength": 32768,
36005
+ "description": "The App Attest attestation object (base64 CBOR) over SHA-256 of `<attestChallenge>.<jkt>`."
36006
+ }
36007
+ }
36008
+ },
36009
+ "androidAttest": {
36010
+ "type": "object",
36011
+ "required": [
36012
+ "token"
36013
+ ],
36014
+ "properties": {
36015
+ "token": {
36016
+ "type": "string",
36017
+ "maxLength": 32768,
36018
+ "description": "A Play Integrity standard-request token whose requestHash is hex SHA-256 of `<attestChallenge>.<jkt>`."
35535
36019
  }
35536
36020
  }
35537
36021
  }
@@ -36539,9 +37023,9 @@ export const catalog = {
36539
37023
  }
36540
37024
  ],
36541
37025
  "counts": {
36542
- "records": 200,
36543
- "spaces": 13,
36544
- "predicates": 9,
37026
+ "records": 203,
37027
+ "spaces": 14,
37028
+ "predicates": 10,
36545
37029
  "methods": 132
36546
37030
  }
36547
37031
  };