techne-sdk 0.14.0 → 0.15.0

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.
@@ -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: a local curator whose picks they want). 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. A missing record means not followed; 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.new` (a new local curator near you) on, `curator.picks` (curators you follow added picks: at most the day's first pick and one 6 PM batch) off. The notifier reads these, and the owner's pub.techne.draft.follow 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
  ],
@@ -18519,12 +18683,71 @@ export const catalog = {
18519
18683
  }
18520
18684
  ],
18521
18685
  "spaces": [
18686
+ {
18687
+ "nsid": "pub.techne.draft.space.audience",
18688
+ "name": "Kept-apart audience",
18689
+ "kind": "space",
18690
+ "key": "any",
18691
+ "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.",
18692
+ "collections": [
18693
+ "pub.techne.draft.share"
18694
+ ],
18695
+ "policy": {
18696
+ "read": {
18697
+ "$type": "pub.techne.draft.policy#authorityOnly"
18698
+ },
18699
+ "write": {
18700
+ "$type": "pub.techne.draft.policy#authorityOnly"
18701
+ },
18702
+ "manage": {
18703
+ "$type": "pub.techne.draft.policy#authorityOnly"
18704
+ }
18705
+ },
18706
+ "doc": ({
18707
+ "lexicon": 1,
18708
+ "id": "pub.techne.draft.space.audience",
18709
+ "defs": {
18710
+ "main": {
18711
+ "type": "space",
18712
+ "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.",
18713
+ "key": "any",
18714
+ "name": "Kept-apart audience",
18715
+ "collections": [
18716
+ "pub.techne.draft.share"
18717
+ ]
18718
+ }
18719
+ }
18720
+ }),
18721
+ "policyNsid": "pub.techne.draft.space.audience.policy",
18722
+ "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.",
18723
+ "policyDoc": ({
18724
+ "lexicon": 1,
18725
+ "id": "pub.techne.draft.space.audience.policy",
18726
+ "defs": {
18727
+ "main": {
18728
+ "type": "spacePolicy",
18729
+ "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.",
18730
+ "policy": {
18731
+ "read": {
18732
+ "$type": "pub.techne.draft.policy#authorityOnly"
18733
+ },
18734
+ "write": {
18735
+ "$type": "pub.techne.draft.policy#authorityOnly"
18736
+ },
18737
+ "manage": {
18738
+ "$type": "pub.techne.draft.policy#authorityOnly"
18739
+ }
18740
+ }
18741
+ }
18742
+ }
18743
+ })
18744
+ },
18522
18745
  {
18523
18746
  "nsid": "pub.techne.draft.space.beacon",
18524
18747
  "name": "Beacon space",
18525
18748
  "kind": "space",
18526
18749
  "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.",
18750
+ "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
18751
  "collections": [
18529
18752
  "pub.techne.draft.beacon",
18530
18753
  "pub.techne.draft.share",
@@ -18546,6 +18769,10 @@ export const catalog = {
18546
18769
  {
18547
18770
  "$type": "pub.techne.draft.policy#sharedWith",
18548
18771
  "of": "this"
18772
+ },
18773
+ {
18774
+ "$type": "pub.techne.draft.policy#sharedWithIn",
18775
+ "spaceType": "pub.techne.draft.space.audience"
18549
18776
  }
18550
18777
  ]
18551
18778
  },
@@ -18573,7 +18800,7 @@ export const catalog = {
18573
18800
  "type": "space",
18574
18801
  "key": "any",
18575
18802
  "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.",
18803
+ "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
18804
  "collections": [
18578
18805
  "pub.techne.draft.beacon",
18579
18806
  "pub.techne.draft.share",
@@ -18589,14 +18816,14 @@ export const catalog = {
18589
18816
  }
18590
18817
  }),
18591
18818
  "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.",
18819
+ "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
18820
  "policyDoc": ({
18594
18821
  "lexicon": 1,
18595
18822
  "id": "pub.techne.draft.space.beacon.policy",
18596
18823
  "defs": {
18597
18824
  "main": {
18598
18825
  "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.",
18826
+ "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
18827
  "policy": {
18601
18828
  "read": {
18602
18829
  "$type": "pub.techne.draft.policy#any",
@@ -18607,6 +18834,10 @@ export const catalog = {
18607
18834
  {
18608
18835
  "$type": "pub.techne.draft.policy#sharedWith",
18609
18836
  "of": "this"
18837
+ },
18838
+ {
18839
+ "$type": "pub.techne.draft.policy#sharedWithIn",
18840
+ "spaceType": "pub.techne.draft.space.audience"
18610
18841
  }
18611
18842
  ]
18612
18843
  },
@@ -18632,10 +18863,10 @@ export const catalog = {
18632
18863
  },
18633
18864
  {
18634
18865
  "nsid": "pub.techne.draft.space.beaconDecline",
18635
- "name": "Can't go answer",
18866
+ "name": "Beacon answer",
18636
18867
  "kind": "space",
18637
18868
  "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.",
18869
+ "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
18870
  "collections": [
18640
18871
  "community.lexicon.calendar.rsvp",
18641
18872
  "pub.techne.draft.rsvpNote",
@@ -18667,9 +18898,9 @@ export const catalog = {
18667
18898
  "defs": {
18668
18899
  "main": {
18669
18900
  "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.",
18901
+ "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
18902
  "key": "any",
18672
- "name": "Can't go answer",
18903
+ "name": "Beacon answer",
18673
18904
  "collections": [
18674
18905
  "community.lexicon.calendar.rsvp",
18675
18906
  "pub.techne.draft.rsvpNote",
@@ -18679,14 +18910,14 @@ export const catalog = {
18679
18910
  }
18680
18911
  }),
18681
18912
  "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.",
18913
+ "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
18914
  "policyDoc": ({
18684
18915
  "lexicon": 1,
18685
18916
  "id": "pub.techne.draft.space.beaconDecline.policy",
18686
18917
  "defs": {
18687
18918
  "main": {
18688
18919
  "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.",
18920
+ "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
18921
  "policy": {
18691
18922
  "read": {
18692
18923
  "$type": "pub.techne.draft.policy#any",
@@ -19424,6 +19655,8 @@ export const catalog = {
19424
19655
  "pub.techne.draft.accountLink",
19425
19656
  "pub.techne.draft.attentionPrefs",
19426
19657
  "pub.techne.draft.subjectPrefs",
19658
+ "pub.techne.draft.follow",
19659
+ "pub.techne.draft.notificationPref",
19427
19660
  "pub.techne.draft.notificationState",
19428
19661
  "pub.techne.draft.appAccess",
19429
19662
  "pub.techne.draft.appAccessRequest",
@@ -19467,6 +19700,8 @@ export const catalog = {
19467
19700
  "pub.techne.draft.accountLink",
19468
19701
  "pub.techne.draft.attentionPrefs",
19469
19702
  "pub.techne.draft.subjectPrefs",
19703
+ "pub.techne.draft.follow",
19704
+ "pub.techne.draft.notificationPref",
19470
19705
  "pub.techne.draft.notificationState",
19471
19706
  "pub.techne.draft.appAccess",
19472
19707
  "pub.techne.draft.appAccessRequest",
@@ -19757,6 +19992,20 @@ export const catalog = {
19757
19992
  }
19758
19993
  ]
19759
19994
  },
19995
+ {
19996
+ "name": "sharedWithIn",
19997
+ "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.",
19998
+ "required": [
19999
+ "spaceType"
20000
+ ],
20001
+ "properties": [
20002
+ {
20003
+ "name": "spaceType",
20004
+ "type": "string<nsid>",
20005
+ "description": "The sibling space type the shares are placed in."
20006
+ }
20007
+ ]
20008
+ },
19760
20009
  {
19761
20010
  "name": "authorityOnly",
19762
20011
  "description": "Only the space's authority. (The authority also IMPLICITLY satisfies write/manage for every space it owns.)",
@@ -19902,6 +20151,20 @@ export const catalog = {
19902
20151
  }
19903
20152
  }
19904
20153
  },
20154
+ "sharedWithIn": {
20155
+ "type": "object",
20156
+ "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.",
20157
+ "required": [
20158
+ "spaceType"
20159
+ ],
20160
+ "properties": {
20161
+ "spaceType": {
20162
+ "type": "string",
20163
+ "format": "nsid",
20164
+ "description": "The sibling space type the shares are placed in."
20165
+ }
20166
+ }
20167
+ },
19905
20168
  "authorityOnly": {
19906
20169
  "type": "object",
19907
20170
  "description": "Only the space's authority. (The authority also IMPLICITLY satisfies write/manage for every space it owns.)",
@@ -19942,7 +20205,7 @@ export const catalog = {
19942
20205
  },
19943
20206
  "placement": {
19944
20207
  "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.",
20208
+ "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
20209
  "public": [
19947
20210
  "pub.techne.draft.appConfig",
19948
20211
  "pub.techne.draft.approval",
@@ -20058,12 +20321,22 @@ export const catalog = {
20058
20321
  "collection": "pub.techne.draft.pendingBeaconSpotV2",
20059
20322
  "space": "pub.techne.draft.space.personal",
20060
20323
  "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."
20324
+ },
20325
+ {
20326
+ "collection": "pub.techne.draft.follow",
20327
+ "space": "pub.techne.draft.space.personal",
20328
+ "cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's Local curators follow switch, 9f71195c); no platform writer. The curator notifier (8a5b25f7) reads it."
20329
+ },
20330
+ {
20331
+ "collection": "pub.techne.draft.notificationPref",
20332
+ "space": "pub.techne.draft.space.personal",
20333
+ "cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's two Local curators switches, 9f71195c); no platform writer. The curator notifier (8a5b25f7) reads it."
20061
20334
  }
20062
20335
  ],
20063
20336
  "doc": ({
20064
20337
  "lexicon": 1,
20065
20338
  "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.",
20339
+ "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
20340
  "defs": {
20068
20341
  "main": {
20069
20342
  "type": "placement",
@@ -20185,6 +20458,16 @@ export const catalog = {
20185
20458
  "collection": "pub.techne.draft.pendingBeaconSpotV2",
20186
20459
  "space": "pub.techne.draft.space.personal",
20187
20460
  "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."
20461
+ },
20462
+ {
20463
+ "collection": "pub.techne.draft.follow",
20464
+ "space": "pub.techne.draft.space.personal",
20465
+ "cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's Local curators follow switch, 9f71195c); no platform writer. The curator notifier (8a5b25f7) reads it."
20466
+ },
20467
+ {
20468
+ "collection": "pub.techne.draft.notificationPref",
20469
+ "space": "pub.techne.draft.space.personal",
20470
+ "cite": "batch-thanksgiving 0fbc7b0c (2026-12-01): written only by the app with the generic private write (Beacon's two Local curators switches, 9f71195c); no platform writer. The curator notifier (8a5b25f7) reads it."
20188
20471
  }
20189
20472
  ]
20190
20473
  }
@@ -20481,7 +20764,7 @@ export const catalog = {
20481
20764
  "group": "social.scenius",
20482
20765
  "kind": "procedure",
20483
20766
  "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.",
20767
+ "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
20768
  "input": [
20486
20769
  {
20487
20770
  "name": "beacon",
@@ -20551,7 +20834,7 @@ export const catalog = {
20551
20834
  "defs": {
20552
20835
  "main": {
20553
20836
  "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.",
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.",
20555
20838
  "input": {
20556
20839
  "encoding": "application/json",
20557
20840
  "schema": {
@@ -20653,6 +20936,9 @@ export const catalog = {
20653
20936
  },
20654
20937
  {
20655
20938
  "name": "StaleRecord"
20939
+ },
20940
+ {
20941
+ "name": "RateLimitExceeded"
20656
20942
  }
20657
20943
  ]
20658
20944
  }
@@ -21049,7 +21335,7 @@ export const catalog = {
21049
21335
  "group": "social.scenius",
21050
21336
  "kind": "procedure",
21051
21337
  "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.",
21338
+ "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
21339
  "input": [
21054
21340
  {
21055
21341
  "name": "group",
@@ -21085,7 +21371,7 @@ export const catalog = {
21085
21371
  "defs": {
21086
21372
  "main": {
21087
21373
  "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.",
21374
+ "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
21375
  "input": {
21090
21376
  "encoding": "application/json",
21091
21377
  "schema": {
@@ -21144,6 +21430,9 @@ export const catalog = {
21144
21430
  },
21145
21431
  {
21146
21432
  "name": "StaleRecord"
21433
+ },
21434
+ {
21435
+ "name": "RateLimitExceeded"
21147
21436
  }
21148
21437
  ]
21149
21438
  },
@@ -23598,7 +23887,7 @@ export const catalog = {
23598
23887
  "group": "social.scenius",
23599
23888
  "kind": "procedure",
23600
23889
  "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).",
23890
+ "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
23891
  "input": [
23603
23892
  {
23604
23893
  "name": "name",
@@ -23629,7 +23918,7 @@ export const catalog = {
23629
23918
  "defs": {
23630
23919
  "main": {
23631
23920
  "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).",
23921
+ "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
23922
  "input": {
23634
23923
  "encoding": "application/json",
23635
23924
  "schema": {
@@ -23683,6 +23972,9 @@ export const catalog = {
23683
23972
  },
23684
23973
  {
23685
23974
  "name": "StaleRecord"
23975
+ },
23976
+ {
23977
+ "name": "RateLimitExceeded"
23686
23978
  }
23687
23979
  ]
23688
23980
  },
@@ -24890,7 +25182,7 @@ export const catalog = {
24890
25182
  "group": "social.scenius",
24891
25183
  "kind": "procedure",
24892
25184
  "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`.",
25185
+ "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
25186
  "input": [
24895
25187
  {
24896
25188
  "name": "phone",
@@ -24944,7 +25236,7 @@ export const catalog = {
24944
25236
  "name": "created",
24945
25237
  "type": "boolean",
24946
25238
  "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."
25239
+ "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
25240
  },
24949
25241
  {
24950
25242
  "name": "ownSession",
@@ -24958,7 +25250,7 @@ export const catalog = {
24958
25250
  "defs": {
24959
25251
  "main": {
24960
25252
  "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`.",
25253
+ "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
25254
  "input": {
24963
25255
  "encoding": "application/json",
24964
25256
  "schema": {
@@ -25011,7 +25303,7 @@ export const catalog = {
25011
25303
  },
25012
25304
  "created": {
25013
25305
  "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."
25306
+ "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
25307
  },
25016
25308
  "ownSession": {
25017
25309
  "type": "ref",
@@ -25030,16 +25322,16 @@ export const catalog = {
25030
25322
  "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."
25031
25323
  },
25032
25324
  {
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."
25325
+ "name": "MethodFrozen",
25326
+ "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
25327
  },
25036
25328
  {
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."
25329
+ "name": "AccountUnavailable",
25330
+ "description": "This number can't sign in here (its account lives on another server, or it is held back). Nothing was signed in."
25039
25331
  },
25040
25332
  {
25041
- "name": "OwnSessionUnavailable",
25042
- "description": "The first-party door is off for this number. Start again without ownSession."
25333
+ "name": "NumberRemoved",
25334
+ "description": "This number was removed from its account; sign in with your current number."
25043
25335
  },
25044
25336
  {
25045
25337
  "name": "RateLimitExceeded",
@@ -30018,7 +30310,7 @@ export const catalog = {
30018
30310
  "group": "social.scenius",
30019
30311
  "kind": "procedure",
30020
30312
  "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.",
30313
+ "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
30314
  "input": [
30023
30315
  {
30024
30316
  "name": "anchor",
@@ -30099,7 +30391,7 @@ export const catalog = {
30099
30391
  "defs": {
30100
30392
  "main": {
30101
30393
  "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.",
30394
+ "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
30395
  "input": {
30104
30396
  "encoding": "application/json",
30105
30397
  "schema": {
@@ -30208,6 +30500,9 @@ export const catalog = {
30208
30500
  },
30209
30501
  {
30210
30502
  "name": "StaleRecord"
30503
+ },
30504
+ {
30505
+ "name": "RateLimitExceeded"
30211
30506
  }
30212
30507
  ]
30213
30508
  },
@@ -33682,7 +33977,7 @@ export const catalog = {
33682
33977
  "group": "social.scenius",
33683
33978
  "kind": "procedure",
33684
33979
  "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.",
33980
+ "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
33981
  "input": [
33687
33982
  {
33688
33983
  "name": "phones",
@@ -33704,7 +33999,7 @@ export const catalog = {
33704
33999
  "defs": {
33705
34000
  "main": {
33706
34001
  "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.",
34002
+ "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
34003
  "input": {
33709
34004
  "encoding": "application/json",
33710
34005
  "schema": {
@@ -35408,7 +35703,7 @@ export const catalog = {
35408
35703
  "group": "social.scenius",
35409
35704
  "kind": "procedure",
35410
35705
  "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.",
35706
+ "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, with two exceptions: 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
35707
  "input": [
35413
35708
  {
35414
35709
  "name": "phone",
@@ -35420,6 +35715,11 @@ export const catalog = {
35420
35715
  "name": "ownSession",
35421
35716
  "type": "→ #ownStart",
35422
35717
  "required": false
35718
+ },
35719
+ {
35720
+ "name": "attest",
35721
+ "type": "→ #attest",
35722
+ "required": false
35423
35723
  }
35424
35724
  ],
35425
35725
  "output": [
@@ -35440,7 +35740,7 @@ export const catalog = {
35440
35740
  "defs": {
35441
35741
  "main": {
35442
35742
  "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.",
35743
+ "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, with two exceptions: 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
35744
  "input": {
35445
35745
  "encoding": "application/json",
35446
35746
  "schema": {
@@ -35456,6 +35756,10 @@ export const catalog = {
35456
35756
  "ownSession": {
35457
35757
  "type": "ref",
35458
35758
  "ref": "#ownStart"
35759
+ },
35760
+ "attest": {
35761
+ "type": "ref",
35762
+ "ref": "#attest"
35459
35763
  }
35460
35764
  }
35461
35765
  }
@@ -35487,8 +35791,8 @@ export const catalog = {
35487
35791
  "description": "A code went to this number moments ago and can't be finished here; wait the seconds given, then ask again."
35488
35792
  },
35489
35793
  {
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."
35794
+ "name": "Unavailable",
35795
+ "description": "No code could be sent (sign-in is off, or our PDS refused or could not take the start). Try again."
35492
35796
  },
35493
35797
  {
35494
35798
  "name": "UseDpopNonce",
@@ -35532,6 +35836,65 @@ export const catalog = {
35532
35836
  "dpopNonce": {
35533
35837
  "type": "string",
35534
35838
  "description": "The PDS's latest DPoP nonce, for the next proofs."
35839
+ },
35840
+ "attestChallenge": {
35841
+ "type": "string",
35842
+ "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`."
35843
+ }
35844
+ }
35845
+ },
35846
+ "attest": {
35847
+ "type": "object",
35848
+ "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.",
35849
+ "required": [
35850
+ "challenge"
35851
+ ],
35852
+ "properties": {
35853
+ "challenge": {
35854
+ "type": "string",
35855
+ "minLength": 43,
35856
+ "maxLength": 43,
35857
+ "description": "The attestChallenge from the endpoints step."
35858
+ },
35859
+ "ios": {
35860
+ "type": "ref",
35861
+ "ref": "#iosAttest"
35862
+ },
35863
+ "android": {
35864
+ "type": "ref",
35865
+ "ref": "#androidAttest"
35866
+ }
35867
+ }
35868
+ },
35869
+ "iosAttest": {
35870
+ "type": "object",
35871
+ "required": [
35872
+ "keyId",
35873
+ "attestation"
35874
+ ],
35875
+ "properties": {
35876
+ "keyId": {
35877
+ "type": "string",
35878
+ "maxLength": 32768,
35879
+ "description": "The App Attest key id (base64)."
35880
+ },
35881
+ "attestation": {
35882
+ "type": "string",
35883
+ "maxLength": 32768,
35884
+ "description": "The App Attest attestation object (base64 CBOR) over SHA-256 of `<attestChallenge>.<jkt>`."
35885
+ }
35886
+ }
35887
+ },
35888
+ "androidAttest": {
35889
+ "type": "object",
35890
+ "required": [
35891
+ "token"
35892
+ ],
35893
+ "properties": {
35894
+ "token": {
35895
+ "type": "string",
35896
+ "maxLength": 32768,
35897
+ "description": "A Play Integrity standard-request token whose requestHash is hex SHA-256 of `<attestChallenge>.<jkt>`."
35535
35898
  }
35536
35899
  }
35537
35900
  }
@@ -36539,9 +36902,9 @@ export const catalog = {
36539
36902
  }
36540
36903
  ],
36541
36904
  "counts": {
36542
- "records": 200,
36543
- "spaces": 13,
36544
- "predicates": 9,
36905
+ "records": 202,
36906
+ "spaces": 14,
36907
+ "predicates": 10,
36545
36908
  "methods": 132
36546
36909
  }
36547
36910
  };