techne-sdk 0.4.0 → 0.5.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.
@@ -1672,7 +1672,7 @@ export const catalog = {
1672
1672
  "homes": [
1673
1673
  {
1674
1674
  "space": "pub.techne.draft.space.personal",
1675
- "unbuilt": false
1675
+ "unbuilt": true
1676
1676
  }
1677
1677
  ]
1678
1678
  },
@@ -1807,7 +1807,7 @@ export const catalog = {
1807
1807
  "group": "pub.techne",
1808
1808
  "kind": "record",
1809
1809
  "key": "any",
1810
- "description": "A space's authority lets one app (an OAuth client) read one space: our published form of atproto 0016's simplespace `appAccess`. 0016 ANDs two axes for a read: the reader passes the space's read policy, and the app has appAccess for the space. Authored by the space's AUTHORITY, in its own repo, placed IN the space it names (as a `share` is), so the space's readers see which apps may read it. Approved by whoever passes the space type's published `manage` leg (the owner of a personal space; Facilitator and up for a collective's), written with the authority's pen. Approval is per space. `criteria` is a stated rule for future spaces, stored and shown in social.scenius.listAppAccess; nothing evaluates it yet: future-space coverage is evaluated when `space:` grant enforcement exists. Deleting it withdraws the approval for future reads. Nothing stores a denial. Enforcement arrives with `space:` OAuth grants: before Spaces a proxied read carries no client identity.",
1810
+ "description": "A space's authority lets one app (an OAuth client) read one space: our published form of atproto 0016's simplespace `appAccess`. 0016 ANDs two axes for a read: the reader passes the space's read policy, and the app has appAccess for the space. Authored by the space's AUTHORITY, in its own repo, placed IN the space it names (as a `share` is), so the space's readers see which apps may read it. Approved by whoever passes the space type's published `manage` leg (the owner of a personal space itself, never another account linked to it; Facilitator and up for a collective's, a role held by any of the caller's linked accounts included), written with the authority's pen. Approval is per space. `criteria` is a stated rule for future spaces, stored and shown in social.scenius.listAppAccess; nothing evaluates it yet: future-space coverage is evaluated when `space:` grant enforcement exists. Deleting it withdraws the approval for future reads. Nothing stores a denial. Enforcement arrives with `space:` OAuth grants: before Spaces a proxied read carries no client identity.",
1811
1811
  "fields": [
1812
1812
  {
1813
1813
  "name": "space",
@@ -1836,7 +1836,7 @@ export const catalog = {
1836
1836
  "doc": ({
1837
1837
  "lexicon": 1,
1838
1838
  "id": "pub.techne.draft.appAccess",
1839
- "description": "A space's authority lets one app (an OAuth client) read one space: our published form of atproto 0016's simplespace `appAccess`. 0016 ANDs two axes for a read: the reader passes the space's read policy, and the app has appAccess for the space. Authored by the space's AUTHORITY, in its own repo, placed IN the space it names (as a `share` is), so the space's readers see which apps may read it. Approved by whoever passes the space type's published `manage` leg (the owner of a personal space; Facilitator and up for a collective's), written with the authority's pen. Approval is per space. `criteria` is a stated rule for future spaces, stored and shown in social.scenius.listAppAccess; nothing evaluates it yet: future-space coverage is evaluated when `space:` grant enforcement exists. Deleting it withdraws the approval for future reads. Nothing stores a denial. Enforcement arrives with `space:` OAuth grants: before Spaces a proxied read carries no client identity.",
1839
+ "description": "A space's authority lets one app (an OAuth client) read one space: our published form of atproto 0016's simplespace `appAccess`. 0016 ANDs two axes for a read: the reader passes the space's read policy, and the app has appAccess for the space. Authored by the space's AUTHORITY, in its own repo, placed IN the space it names (as a `share` is), so the space's readers see which apps may read it. Approved by whoever passes the space type's published `manage` leg (the owner of a personal space itself, never another account linked to it; Facilitator and up for a collective's, a role held by any of the caller's linked accounts included), written with the authority's pen. Approval is per space. `criteria` is a stated rule for future spaces, stored and shown in social.scenius.listAppAccess; nothing evaluates it yet: future-space coverage is evaluated when `space:` grant enforcement exists. Deleting it withdraws the approval for future reads. Nothing stores a denial. Enforcement arrives with `space:` OAuth grants: before Spaces a proxied read carries no client identity.",
1840
1840
  "defs": {
1841
1841
  "main": {
1842
1842
  "type": "record",
@@ -1909,7 +1909,7 @@ export const catalog = {
1909
1909
  "group": "pub.techne",
1910
1910
  "kind": "record",
1911
1911
  "key": "tid",
1912
- "description": "A member asks a space's authority to let one app read the space: the member is using the app and the space has not approved it. Authored by the member (the requester is the author), in their own repo, placed in their own `pub.techne.draft.space.personal/self`: it is the member's own intent, it names a space that may be private, and a member below the space's write policy could not place it in the space itself. When the requester can read the space and is not an approver, every holder of the space type's `manage` leg is notified and can approve (writing a `pub.techne.draft.appAccess`) or let it be; a requester who is an approver is notified of nothing and approves in one tap. Status is derived: approved when an appAccess exists, pending while a request counts without one, none otherwise; nothing stores a denial. A request counts only while its requester can read the space, and a caller who is not an approver sees only their own request. Deleting it withdraws the request.",
1912
+ "description": "A member asks a space's authority to let one app read the space: the member is using the app and the space has not approved it. Authored by the member (the requester is the author), in their own repo, placed in their own `pub.techne.draft.space.personal/self`: it is the member's own intent, it names a space that may be private, and a member below the space's write policy could not place it in the space itself. When the requester can read the space and is not an approver, every approver social.scenius.getAppAccess lists (the owner of a personal space itself, never an account linked to it; a collective's members who pass the space type's `manage` leg) is notified and can approve (writing a `pub.techne.draft.appAccess`) or let it be; a requester who is an approver is notified of nothing and approves in one tap. Status is derived: approved when an appAccess exists, pending while a request counts without one, none otherwise; nothing stores a denial. A request counts only while its requester can read the space, and a caller who is not an approver sees only requests by their own accounts (their person). Deleting it withdraws the request.",
1913
1913
  "fields": [
1914
1914
  {
1915
1915
  "name": "space",
@@ -1932,7 +1932,7 @@ export const catalog = {
1932
1932
  "doc": ({
1933
1933
  "lexicon": 1,
1934
1934
  "id": "pub.techne.draft.appAccessRequest",
1935
- "description": "A member asks a space's authority to let one app read the space: the member is using the app and the space has not approved it. Authored by the member (the requester is the author), in their own repo, placed in their own `pub.techne.draft.space.personal/self`: it is the member's own intent, it names a space that may be private, and a member below the space's write policy could not place it in the space itself. When the requester can read the space and is not an approver, every holder of the space type's `manage` leg is notified and can approve (writing a `pub.techne.draft.appAccess`) or let it be; a requester who is an approver is notified of nothing and approves in one tap. Status is derived: approved when an appAccess exists, pending while a request counts without one, none otherwise; nothing stores a denial. A request counts only while its requester can read the space, and a caller who is not an approver sees only their own request. Deleting it withdraws the request.",
1935
+ "description": "A member asks a space's authority to let one app read the space: the member is using the app and the space has not approved it. Authored by the member (the requester is the author), in their own repo, placed in their own `pub.techne.draft.space.personal/self`: it is the member's own intent, it names a space that may be private, and a member below the space's write policy could not place it in the space itself. When the requester can read the space and is not an approver, every approver social.scenius.getAppAccess lists (the owner of a personal space itself, never an account linked to it; a collective's members who pass the space type's `manage` leg) is notified and can approve (writing a `pub.techne.draft.appAccess`) or let it be; a requester who is an approver is notified of nothing and approves in one tap. Status is derived: approved when an appAccess exists, pending while a request counts without one, none otherwise; nothing stores a denial. A request counts only while its requester can read the space, and a caller who is not an approver sees only requests by their own accounts (their person). Deleting it withdraws the request.",
1936
1936
  "defs": {
1937
1937
  "main": {
1938
1938
  "type": "record",
@@ -2156,7 +2156,7 @@ export const catalog = {
2156
2156
  "group": "pub.techne",
2157
2157
  "kind": "record",
2158
2158
  "key": "any",
2159
- "description": "Publishers use sidecar_rkey(subject AT-URI + '#' + questionSet name) so a new question bank replaces the assessment in place. `any` permits that convention but cannot enforce it.",
2159
+ "description": "Publishers use sidecar_rkey(subject AT-URI + '#' + questionSet name) so a new question bank replaces the assessment in place. Readers do not depend on the key: the AppView finds assessments by `subject` and its cid and uses the newest.",
2160
2160
  "fields": [
2161
2161
  {
2162
2162
  "name": "subject",
@@ -2200,7 +2200,7 @@ export const catalog = {
2200
2200
  "main": {
2201
2201
  "type": "record",
2202
2202
  "key": "any",
2203
- "description": "Publishers use sidecar_rkey(subject AT-URI + '#' + questionSet name) so a new question bank replaces the assessment in place. `any` permits that convention but cannot enforce it.",
2203
+ "description": "Publishers use sidecar_rkey(subject AT-URI + '#' + questionSet name) so a new question bank replaces the assessment in place. Readers do not depend on the key: the AppView finds assessments by `subject` and its cid and uses the newest.",
2204
2204
  "record": {
2205
2205
  "type": "object",
2206
2206
  "required": [
@@ -3715,7 +3715,7 @@ export const catalog = {
3715
3715
  "group": "pub.techne",
3716
3716
  "kind": "record",
3717
3717
  "key": "any",
3718
- "description": "Publishers use sidecar_rkey(subject AT-URI), one per place per writer. `any` permits that convention but cannot enforce it.",
3718
+ "description": "Publishers use sidecar_rkey(subject AT-URI), one per place per writer. Readers do not depend on the key: they read every containedIn about a place.",
3719
3719
  "fields": [
3720
3720
  {
3721
3721
  "name": "subject",
@@ -3749,7 +3749,7 @@ export const catalog = {
3749
3749
  "main": {
3750
3750
  "type": "record",
3751
3751
  "key": "any",
3752
- "description": "Publishers use sidecar_rkey(subject AT-URI), one per place per writer. `any` permits that convention but cannot enforce it.",
3752
+ "description": "Publishers use sidecar_rkey(subject AT-URI), one per place per writer. Readers do not depend on the key: they read every containedIn about a place.",
3753
3753
  "record": {
3754
3754
  "type": "object",
3755
3755
  "required": [
@@ -4079,7 +4079,7 @@ export const catalog = {
4079
4079
  "group": "pub.techne",
4080
4080
  "kind": "record",
4081
4081
  "key": "any",
4082
- "description": "Publishers use sidecar_rkey(claim AT-URI), one derivation per claim per writer. `any` permits that convention but cannot enforce it.",
4082
+ "description": "Publishers use sidecar_rkey(claim AT-URI), one derivation per claim per writer. Readers do not depend on the key: they find a derivation by the claim it names.",
4083
4083
  "fields": [
4084
4084
  {
4085
4085
  "name": "subject",
@@ -4181,7 +4181,7 @@ export const catalog = {
4181
4181
  "main": {
4182
4182
  "type": "record",
4183
4183
  "key": "any",
4184
- "description": "Publishers use sidecar_rkey(claim AT-URI), one derivation per claim per writer. `any` permits that convention but cannot enforce it.",
4184
+ "description": "Publishers use sidecar_rkey(claim AT-URI), one derivation per claim per writer. Readers do not depend on the key: they find a derivation by the claim it names.",
4185
4185
  "record": {
4186
4186
  "type": "object",
4187
4187
  "required": [
@@ -4385,7 +4385,7 @@ export const catalog = {
4385
4385
  "group": "pub.techne",
4386
4386
  "kind": "record",
4387
4387
  "key": "any",
4388
- "description": "The rkey is sidecar_rkey(subject.uri) (regenos-lexicons `sidecar`): lowercase base32 of the sha256 of the subject's AT-URI, so a rewrite updates this record in place and a subject has at most one description per author. `any` permits that convention but cannot enforce it.",
4388
+ "description": "The rkey is sidecar_rkey(subject.uri) (regenos-lexicons `sidecar`): lowercase base32 of the sha256 of the subject's AT-URI, so a rewrite updates this record in place and a subject has at most one description per author. Enforced by its readers: the commons rules fetch only the record at sidecar_rkey(subject), so a description at any other key is not read.",
4389
4389
  "fields": [
4390
4390
  {
4391
4391
  "name": "subject",
@@ -4414,7 +4414,7 @@ export const catalog = {
4414
4414
  "main": {
4415
4415
  "type": "record",
4416
4416
  "key": "any",
4417
- "description": "The rkey is sidecar_rkey(subject.uri) (regenos-lexicons `sidecar`): lowercase base32 of the sha256 of the subject's AT-URI, so a rewrite updates this record in place and a subject has at most one description per author. `any` permits that convention but cannot enforce it.",
4417
+ "description": "The rkey is sidecar_rkey(subject.uri) (regenos-lexicons `sidecar`): lowercase base32 of the sha256 of the subject's AT-URI, so a rewrite updates this record in place and a subject has at most one description per author. Enforced by its readers: the commons rules fetch only the record at sidecar_rkey(subject), so a description at any other key is not read.",
4418
4418
  "record": {
4419
4419
  "type": "object",
4420
4420
  "required": [
@@ -4457,7 +4457,7 @@ export const catalog = {
4457
4457
  "group": "pub.techne",
4458
4458
  "kind": "record",
4459
4459
  "key": "any",
4460
- "description": "One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. `any` permits that convention but cannot enforce it. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.",
4460
+ "description": "One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. Readers do not depend on the key: the commons curator reads a pair from both ends, so a reversed or repeated pair is the same wall. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.",
4461
4461
  "fields": [
4462
4462
  {
4463
4463
  "name": "subject",
@@ -4485,7 +4485,7 @@ export const catalog = {
4485
4485
  "main": {
4486
4486
  "type": "record",
4487
4487
  "key": "any",
4488
- "description": "One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. `any` permits that convention but cannot enforce it. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.",
4488
+ "description": "One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. Readers do not depend on the key: the commons curator reads a pair from both ends, so a reversed or repeated pair is the same wall. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.",
4489
4489
  "record": {
4490
4490
  "type": "object",
4491
4491
  "required": [
@@ -5117,7 +5117,7 @@ export const catalog = {
5117
5117
  "group": "pub.techne",
5118
5118
  "kind": "record",
5119
5119
  "key": "any",
5120
- "description": "Publishers use sidecar_rkey(subject AT-URI) (regenos_lexicons::sidecar), so a rewrite for the same subject updates this record. `any` permits that convention but cannot enforce it.",
5120
+ "description": "Publishers use sidecar_rkey(subject AT-URI) (regenos_lexicons::sidecar), so a rewrite for the same subject updates this record. Readers do not depend on the key: they take a trusted geo about the subject at any key.",
5121
5121
  "fields": [
5122
5122
  {
5123
5123
  "name": "subject",
@@ -5152,7 +5152,7 @@ export const catalog = {
5152
5152
  "main": {
5153
5153
  "type": "record",
5154
5154
  "key": "any",
5155
- "description": "Publishers use sidecar_rkey(subject AT-URI) (regenos_lexicons::sidecar), so a rewrite for the same subject updates this record. `any` permits that convention but cannot enforce it.",
5155
+ "description": "Publishers use sidecar_rkey(subject AT-URI) (regenos_lexicons::sidecar), so a rewrite for the same subject updates this record. Readers do not depend on the key: they take a trusted geo about the subject at any key.",
5156
5156
  "record": {
5157
5157
  "type": "object",
5158
5158
  "required": [
@@ -5199,7 +5199,7 @@ export const catalog = {
5199
5199
  "group": "pub.techne",
5200
5200
  "kind": "record",
5201
5201
  "key": "any",
5202
- "description": "Publishers use sidecar_rkey(subject AT-URI), one per event per writer. `any` permits that convention but cannot enforce it.",
5202
+ "description": "Publishers use sidecar_rkey(subject AT-URI), one per event per writer. Readers do not depend on the key: the AppView reads every trusted heldAt about an event.",
5203
5203
  "fields": [
5204
5204
  {
5205
5205
  "name": "subject",
@@ -5233,7 +5233,7 @@ export const catalog = {
5233
5233
  "main": {
5234
5234
  "type": "record",
5235
5235
  "key": "any",
5236
- "description": "Publishers use sidecar_rkey(subject AT-URI), one per event per writer. `any` permits that convention but cannot enforce it.",
5236
+ "description": "Publishers use sidecar_rkey(subject AT-URI), one per event per writer. Readers do not depend on the key: the AppView reads every trusted heldAt about an event.",
5237
5237
  "record": {
5238
5238
  "type": "object",
5239
5239
  "required": [
@@ -5431,6 +5431,10 @@ export const catalog = {
5431
5431
  "newAccount": {
5432
5432
  "type": "boolean",
5433
5433
  "description": "The PDS created the account in this sign-in."
5434
+ },
5435
+ "termsShown": {
5436
+ "type": "boolean",
5437
+ "description": "Optional; sent only as true, and only with `newAccount`. The PDS's sign-in page named its Terms of Use and Privacy Policy when this account was made there, so the issuer records the person's assent. Absent: nothing to record (a returning sign-in, a page without the line, an older PDS, or a first-party app that shows its own terms)."
5434
5438
  }
5435
5439
  }
5436
5440
  }
@@ -5889,7 +5893,7 @@ export const catalog = {
5889
5893
  },
5890
5894
  "methodView": {
5891
5895
  "type": "object",
5892
- "description": "One sign-in method of the caller's account, masked.",
5896
+ "description": "One sign-in method of an account. `masked` is always masked. Only identity.manageMethods `list` (the identity PDS's signed hook, for the signed-in owner's own account page) adds `value`; identity.listMethods never does.",
5893
5897
  "required": [
5894
5898
  "bid",
5895
5899
  "type",
@@ -5917,6 +5921,11 @@ export const catalog = {
5917
5921
  "maxLength": 320,
5918
5922
  "description": "The channel with most of it hidden, e.g. `j•••@example.com`, `+1 ••• ••• 4567`; a passkey's or Nostr key's label; `Recovery codes (n left)`."
5919
5923
  },
5924
+ "value": {
5925
+ "type": "string",
5926
+ "maxLength": 320,
5927
+ "description": "An email's full address or a phone's full number (E.164). Sent only by identity.manageMethods `list`, to the identity PDS, for the owner's own account page; never in identity.listMethods, signInMethods or a notice. Absent on a passkey, Nostr key or recovery codes."
5928
+ },
5920
5929
  "boundAt": {
5921
5930
  "type": "string",
5922
5931
  "format": "datetime"
@@ -5938,7 +5947,7 @@ export const catalog = {
5938
5947
  },
5939
5948
  "pendingChange": {
5940
5949
  "type": "object",
5941
- "description": "A change that waits for its time (a method's removal or the account's deletion, 7 days; the account's first recovery mark, 24 hours). Any of the account's methods, a frozen one too, can cancel it until then; a wait during which one of the account's methods was frozen (and not lifted early by a recovery method) is dropped when it runs out, not completed.",
5950
+ "description": "A change that waits for its time (a method's removal, the account's deletion, or a method's move onto another account (identity.manageMethods moveMethod), 7 days, or none for a move a recovery method proved; the account's first recovery mark, 24 hours). A move is completed by the platform once due, tried again after a failed write, and may be dropped instead (identity.manageMethods moveMethod says when). Any of the account's methods, a frozen one too, can cancel it until then; a wait during which one of the account's methods was frozen (even if a recovery method lifted the freeze early) is dropped when it runs out, not completed.",
5942
5951
  "required": [
5943
5952
  "id",
5944
5953
  "kind",
@@ -5955,13 +5964,19 @@ export const catalog = {
5955
5964
  "knownValues": [
5956
5965
  "removeMethod",
5957
5966
  "deleteAccount",
5958
- "markRecovery"
5967
+ "markRecovery",
5968
+ "moveMethod"
5959
5969
  ]
5960
5970
  },
5961
5971
  "method": {
5962
5972
  "type": "string",
5963
5973
  "maxLength": 64,
5964
- "description": "The method it removes or marks."
5974
+ "description": "The method it removes, marks or moves (for an incoming move, the other account's method)."
5975
+ },
5976
+ "other": {
5977
+ "type": "string",
5978
+ "format": "did",
5979
+ "description": "moveMethod: the other account. On the account the method leaves, where it goes; on the account it joins (identity.manageMethods `list` shows the move there too, and either account can cancel it), where it comes from."
5965
5980
  },
5966
5981
  "createdAt": {
5967
5982
  "type": "string",
@@ -5975,10 +5990,9 @@ export const catalog = {
5975
5990
  },
5976
5991
  "linkView": {
5977
5992
  "type": "object",
5978
- "description": "An alias link between the caller's account and another.",
5993
+ "description": "Another account of the caller's person: the two are linked (identity.manageMethods moveMethod), every DID of the person naming every other in `alsoKnownAs`. Linked accounts have no primary, and a link is always mutual: identity.listMethods sends `mutual` as true.",
5979
5994
  "required": [
5980
5995
  "did",
5981
- "primary",
5982
5996
  "mutual"
5983
5997
  ],
5984
5998
  "properties": {
@@ -5991,13 +6005,37 @@ export const catalog = {
5991
6005
  "type": "string",
5992
6006
  "format": "handle"
5993
6007
  },
5994
- "primary": {
6008
+ "mutual": {
6009
+ "type": "boolean",
6010
+ "description": "Retired: a link is always mutual, and identity.listMethods sends `true` (it was: both accounts hold a matching pub.techne.draft.accountLink)."
6011
+ },
6012
+ "since": {
6013
+ "type": "string",
6014
+ "format": "datetime",
6015
+ "description": "When the two accounts became one person."
6016
+ }
6017
+ }
6018
+ },
6019
+ "personMember": {
6020
+ "type": "object",
6021
+ "description": "Another account of an account's person (identity.manageMethods `list` and moveMethod).",
6022
+ "required": [
6023
+ "did"
6024
+ ],
6025
+ "properties": {
6026
+ "did": {
5995
6027
  "type": "string",
5996
6028
  "format": "did"
5997
6029
  },
5998
- "mutual": {
5999
- "type": "boolean",
6000
- "description": "Both accounts hold a matching pub.techne.draft.accountLink; a link counts only when true."
6030
+ "since": {
6031
+ "type": "string",
6032
+ "format": "datetime",
6033
+ "description": "When it joined the person. Sent by `list`."
6034
+ },
6035
+ "handle": {
6036
+ "type": "string",
6037
+ "format": "handle",
6038
+ "description": "Its handle, when the platform knows one. Sent in addChannel's `otherPerson`."
6001
6039
  }
6002
6040
  }
6003
6041
  },
@@ -6102,14 +6140,14 @@ export const catalog = {
6102
6140
  "name": "draft.identity.finishAddMethod",
6103
6141
  "group": "pub.techne",
6104
6142
  "kind": "procedure",
6105
- "description": "Finish adding a sign-in method with the code identity.beginAddMethod sent. `added`: the method is now bound to the caller's account. `alreadyYours`: it already was (re-issued). `boundElsewhere`: it signs in to another account; `offer` says what the caller can do: `fold` (one of the two accounts is empty and new, so it can be folded into the other with identity.fold) or `link` (both have history; identity.link records that they are the same person). The offer's token is single-use, bound to both accounts, the channel and this session, and lasts 10 minutes. `unavailable`: the method cannot be added right now.",
6143
+ "description": "Finish adding a sign-in method with the code identity.beginAddMethod sent. `added`: the method is now bound to the caller's account. `alreadyYours`: it already was (re-issued). `boundElsewhere`: it signs in to another account. When one of the two accounts is empty and new, `offer` (`fold`) says it can be folded into the other with identity.fold; when both hold something, `other` names that account and no offer is made: the two are linked by moving the method (identity.manageMethods moveMethod, on the identity PDS's account page). The `link` offer is retired. The offer's token is single-use, bound to both accounts, the channel and this session, and lasts 10 minutes. `unavailable`: the method cannot be added right now.",
6106
6144
  "doc": ({
6107
6145
  "lexicon": 1,
6108
6146
  "id": "pub.techne.draft.identity.finishAddMethod",
6109
6147
  "defs": {
6110
6148
  "main": {
6111
6149
  "type": "procedure",
6112
- "description": "Finish adding a sign-in method with the code identity.beginAddMethod sent. `added`: the method is now bound to the caller's account. `alreadyYours`: it already was (re-issued). `boundElsewhere`: it signs in to another account; `offer` says what the caller can do: `fold` (one of the two accounts is empty and new, so it can be folded into the other with identity.fold) or `link` (both have history; identity.link records that they are the same person). The offer's token is single-use, bound to both accounts, the channel and this session, and lasts 10 minutes. `unavailable`: the method cannot be added right now.",
6150
+ "description": "Finish adding a sign-in method with the code identity.beginAddMethod sent. `added`: the method is now bound to the caller's account. `alreadyYours`: it already was (re-issued). `boundElsewhere`: it signs in to another account. When one of the two accounts is empty and new, `offer` (`fold`) says it can be folded into the other with identity.fold; when both hold something, `other` names that account and no offer is made: the two are linked by moving the method (identity.manageMethods moveMethod, on the identity PDS's account page). The `link` offer is retired. The offer's token is single-use, bound to both accounts, the channel and this session, and lasts 10 minutes. `unavailable`: the method cannot be added right now.",
6113
6151
  "input": {
6114
6152
  "encoding": "application/json",
6115
6153
  "schema": {
@@ -6149,11 +6187,17 @@ export const catalog = {
6149
6187
  },
6150
6188
  "method": {
6151
6189
  "type": "ref",
6152
- "ref": "pub.techne.draft.identity.defs#methodView"
6190
+ "ref": "pub.techne.draft.identity.defs#methodView",
6191
+ "description": "`added` / `alreadyYours`: the method. Absent on `boundElsewhere`: the other account's method is named only to the identity PDS (identity.manageMethods addChannel)."
6153
6192
  },
6154
6193
  "offer": {
6155
6194
  "type": "ref",
6156
6195
  "ref": "#offer"
6196
+ },
6197
+ "other": {
6198
+ "type": "string",
6199
+ "format": "did",
6200
+ "description": "`boundElsewhere` when both accounts hold something: the account the method signs in to (no `offer`)."
6157
6201
  }
6158
6202
  }
6159
6203
  }
@@ -6177,7 +6221,7 @@ export const catalog = {
6177
6221
  },
6178
6222
  {
6179
6223
  "name": "ProtectedAccount",
6180
- "description": "The channel signs in to another account, and one of the two has a recovery mark, a live freeze, a pending change, or a passkey, Nostr key or recovery codes (HTTP 409): no fold or link is offered."
6224
+ "description": "The channel signs in to another account, and one of the two has a recovery mark, a live freeze, a pending change, or a passkey, Nostr key or recovery codes (HTTP 409): no fold or link is offered, and the other account is not named (no `boundElsewhere`)."
6181
6225
  },
6182
6226
  {
6183
6227
  "name": "UpstreamFailure",
@@ -6199,7 +6243,8 @@ export const catalog = {
6199
6243
  "knownValues": [
6200
6244
  "fold",
6201
6245
  "link"
6202
- ]
6246
+ ],
6247
+ "description": "`fold`. (`link` is retired and no longer offered.)"
6203
6248
  },
6204
6249
  "token": {
6205
6250
  "type": "string",
@@ -6412,14 +6457,14 @@ export const catalog = {
6412
6457
  "name": "draft.identity.link",
6413
6458
  "group": "pub.techne",
6414
6459
  "kind": "procedure",
6415
- "description": "Link the caller's account with the other account named by the token identity.finishAddMethod offered: both accounts get a pub.techne.draft.accountLink in their space.personal naming the other and the primary, and, where this host holds the account's PLC rotation key, `alsoKnownAs` gains `at://{other}` after the handle. Nothing moves. v1 links only accounts whose keys this host holds.",
6460
+ "description": "Retired (Linking v2): the platform no longer serves it, and no client should call it. Two accounts are linked with identity.manageMethods `moveMethod` now, which makes them one person (no accountLink records, no primary). Kept so the name and its shapes stay published. It was: link the caller's account with the other account named by the token identity.finishAddMethod offered: both accounts get a pub.techne.draft.accountLink in their space.personal naming the other and the primary, and each account's `alsoKnownAs` gains `at://{other}` after the handle: signed here where this host holds the account's PLC rotation key, else by the identity PDS that made and hosts it. Nothing moves. v1 links only accounts this host or its identity PDS holds.",
6416
6461
  "doc": ({
6417
6462
  "lexicon": 1,
6418
6463
  "id": "pub.techne.draft.identity.link",
6419
6464
  "defs": {
6420
6465
  "main": {
6421
6466
  "type": "procedure",
6422
- "description": "Link the caller's account with the other account named by the token identity.finishAddMethod offered: both accounts get a pub.techne.draft.accountLink in their space.personal naming the other and the primary, and, where this host holds the account's PLC rotation key, `alsoKnownAs` gains `at://{other}` after the handle. Nothing moves. v1 links only accounts whose keys this host holds.",
6467
+ "description": "Retired (Linking v2): the platform no longer serves it, and no client should call it. Two accounts are linked with identity.manageMethods `moveMethod` now, which makes them one person (no accountLink records, no primary). Kept so the name and its shapes stay published. It was: link the caller's account with the other account named by the token identity.finishAddMethod offered: both accounts get a pub.techne.draft.accountLink in their space.personal naming the other and the primary, and each account's `alsoKnownAs` gains `at://{other}` after the handle: signed here where this host holds the account's PLC rotation key, else by the identity PDS that made and hosts it. Nothing moves. v1 links only accounts this host or its identity PDS holds.",
6423
6468
  "input": {
6424
6469
  "encoding": "application/json",
6425
6470
  "schema": {
@@ -6471,7 +6516,7 @@ export const catalog = {
6471
6516
  },
6472
6517
  {
6473
6518
  "name": "InvalidRequest",
6474
- "description": "`primary` names neither account, or the other account's keys are not held here (sign in to it and link from there)."
6519
+ "description": "`primary` names neither account, or the other account is held neither here nor by the identity PDS (sign in to it and link from there)."
6475
6520
  }
6476
6521
  ]
6477
6522
  }
@@ -6827,14 +6872,14 @@ export const catalog = {
6827
6872
  "name": "draft.identity.listMethods",
6828
6873
  "group": "pub.techne",
6829
6874
  "kind": "query",
6830
- "description": "The caller's sign-in methods (masked, with their recovery mark and freeze), its pending changes, and the account's alias links. Emails and phones only unless `allTypes` (shipped clients label every row as an email). Signed-in members only.",
6875
+ "description": "The caller's sign-in methods (masked, with their recovery mark and freeze), its pending changes, and the other accounts of its person (`links`, each `did`, `since` and `mutual`, always true; linked accounts have no primary). Emails and phones only unless `allTypes` (shipped clients label every row as an email). Signed-in members only.",
6831
6876
  "doc": ({
6832
6877
  "lexicon": 1,
6833
6878
  "id": "pub.techne.draft.identity.listMethods",
6834
6879
  "defs": {
6835
6880
  "main": {
6836
6881
  "type": "query",
6837
- "description": "The caller's sign-in methods (masked, with their recovery mark and freeze), its pending changes, and the account's alias links. Emails and phones only unless `allTypes` (shipped clients label every row as an email). Signed-in members only.",
6882
+ "description": "The caller's sign-in methods (masked, with their recovery mark and freeze), its pending changes, and the other accounts of its person (`links`, each `did`, `since` and `mutual`, always true; linked accounts have no primary). Emails and phones only unless `allTypes` (shipped clients label every row as an email). Signed-in members only.",
6838
6883
  "parameters": {
6839
6884
  "type": "params",
6840
6885
  "properties": {
@@ -6862,6 +6907,7 @@ export const catalog = {
6862
6907
  },
6863
6908
  "links": {
6864
6909
  "type": "array",
6910
+ "description": "The other accounts of the caller's person (linked with identity.manageMethods moveMethod), each with `did`, `since` and `mutual` (always true); linked accounts have no primary. Empty when it is alone.",
6865
6911
  "items": {
6866
6912
  "type": "ref",
6867
6913
  "ref": "pub.techne.draft.identity.defs#linkView"
@@ -6869,7 +6915,7 @@ export const catalog = {
6869
6915
  },
6870
6916
  "pending": {
6871
6917
  "type": "array",
6872
- "description": "The account's pending changes, soonest first (the account page shows them at the top, with Cancel).",
6918
+ "description": "The account's pending changes, soonest first (the account page shows them at the top, with Cancel), a move of one of its methods onto another account included.",
6873
6919
  "items": {
6874
6920
  "type": "ref",
6875
6921
  "ref": "pub.techne.draft.identity.defs#pendingChange"
@@ -7009,14 +7055,14 @@ export const catalog = {
7009
7055
  "name": "draft.identity.manageMethods",
7010
7056
  "group": "pub.techne",
7011
7057
  "kind": "procedure",
7012
- "description": "The identity PDS's signed hook for the sign-in method rules (the account page and sign-in page call it; the rules live on the platform so every client obeys the same ones). Authenticated only by the epds-signature MAC with the identity hook secret; no session, OAuth or service-JWT caller reaches it, and every answer is signed. The PDS vouches for the signed-in account (`did`, which must be hosted on the calling PDS, else 404 UnknownAccount) and for the step-up it just checked (`stepUp`: which method, when; it counts for 10 minutes). Rules: a recovery method acting with a fresh step-up acts at once; anything else removes a method or deletes the account after a 7-day wait with notice to every method, cancellable by any of them, a frozen one too (`cancel`); a wait re-checks these rules when it runs out (a method marked for recovery meanwhile is not removed; a first mark is dropped once another method is marked; a wait during which any of the account's methods was frozen, even if a recovery method lifted the freeze early or removed the method, is dropped, not completed, since a frozen method can't sign in to cancel it, and every email method gets a `waitDropped` notice naming the change); a freeze is immediate, from a different method with a fresh step-up, and lasts 7 days or until a recovery method lifts it (`unfreeze`); a recovery method is never frozen, removed or unmarked by an unmarked one; the last way to sign in is never removed; marking a recovery method needs a fresh step-up of one, except the account's first, which needs a fresh step-up of any of its methods (else StepUpRequired) and waits 24 hours with notice. Ops: `list` (methods, pending changes, `hasRecovery`), `signInMethods` (for a sign-in page that knows only the account, \"Sign in as @handle\": the methods that can sign in now, each a `display` only, never its full value; no step-up, recovery marks or pending changes), `sendTo` (the full email or phone of one of them, for the PDS to send a sign-in code to; never shown), `remove`, `cancel`, `freeze` (with `signOut`), `unfreeze`, `mark`, `unmark`, `signOut` (sign out everywhere the platform holds a session; the PDS revokes its own), `delete`, `addExternal` (a passkey or Nostr key the PDS proved; always a fresh step-up of one of the account's methods, StepUpRequired without one, and never a program's, ProgramRefused), `newRecoveryCodes` (returned once; a new set ends the old; always a fresh step-up, and on an account with no recovery method the set is its first mark, which waits 24 hours; a first set is refused, MethodFrozen, while one of the account's methods is frozen), `redeemCode`, `setPrograms` (\"Programs can sign in with this key\" on or off, `on`, for a Nostr key, the only type that supports it: on and off both need a fresh step-up of one of the account's methods that is not a program, not frozen (a step-up by a key with programs on is ProgramRefused, so that key never switches itself off); on is also refused from the key itself, SameMethod, for a recovery method or one whose first mark is waiting, IsRecovery, and while a method of the account is frozen, MethodFrozen), `addChannel` (a `channel` the PDS just proved for `did`, as identity.finishAddMethod does for a session: `added`, `alreadyYours`, or `boundElsewhere` with an `offer` (identity.finishAddMethod#offer), single use, 10 minutes, bound to `did` on this hook and to no session; MethodFrozen when the channel is frozen on any account, MethodFrozen when `did` itself has a frozen method and the channel would be new to it (no method is added past a freeze; `addExternal` likewise), ProtectedAccount when either account has a recovery mark, a freeze, a pending change, or a passkey, Nostr key or recovery codes), `fold` and `link` (take that offer: `token`, and for `link` the `primary`; need a fresh step-up of `did`; ProtectedAccount (a live freeze included) and NotEmpty, checked again; `folded` with the kept `did` and the `emptied` one, which is deleted (on the identity PDS too, by `dueDeletes`), or `linked` with `link`), `importBackupEmails` (once per account, recorded: a second call answers `alreadyImported` even after every mark is taken off; the move of the PDS's verified backup emails, `backupEmails`, each with when the PDS verified it: one verified before 2026-11-13T00:00:00Z becomes an email method marked for recovery at once, without step-up or wait, and one verified at or after it is skipped, `afterCutoff`, since only the holder could have added one before these rules; only an account with no recovery method takes one, all of its addresses in one call (each address once, else 400 InvalidRequest), else `hasRecovery`, nothing changes and the import is spent; a call that marks none of them spends it too; MethodFrozen while one of the account's methods is frozen, not spent; `indexOff` while the identity index is off), for the notice queue (no `did`; only the accounts the calling PDS hosts; the platform emails those of accounts hosted elsewhere itself) `notices` (up to 100 to deliver; one taken and not confirmed is offered again after 5 minutes, at most 10 times) and `noticesSent`, for a login service that just checked a signature by a Nostr key and knows no account yet (no `did`) `findKey` (`external`, type `nostr` and the 64-character lowercase hex key: `none` when no account the calling PDS hosts has it, else `done` with the account's `did`, the key's `method`, whether that method is `frozen` now, and whether `programs` may sign in with it), and for scheduled account deletions that came due (no `did`; only the accounts the calling PDS hosts) `dueDeletes` (up to 100 accounts the platform has deleted on its side, which the PDS deletes too; one taken and not confirmed is offered again after 5 minutes, without limit) and `dueDeletesDone` (`dids` the PDS deleted), and for a consent screen after sign-in `operator` (`operator`: whether `did` is one of the platform's operators, so the PDS offers the moderate scope, `include:pub.techne.draft.authModerate`, to operators only and drops it from everyone else's grant). Programs: a key with programs on can't be marked (ProgramsOn), and a program never touches account security: when the PDS says a program made the request (`program`), or the step-up names a key with programs on, every op but `list`, `signInMethods` and `sendTo` is 403 ProgramRefused (`operator` included: a program never moderates), `setPrograms` included: such a key's programs are turned off by a step-up of another of the account's methods.",
7058
+ "description": "The identity PDS's signed hook for the sign-in method rules (the account page and sign-in page call it; the rules live on the platform so every client obeys the same ones). Authenticated only by the epds-signature MAC with the identity hook secret; no session, OAuth or service-JWT caller reaches it, and every answer is signed. The PDS vouches for the signed-in account (`did`, which must be hosted on the calling PDS, else 404 UnknownAccount) and for the step-up it just checked (`stepUp`: which method, when; it counts for 10 minutes). Rules: a recovery method acting with a fresh step-up acts at once; anything else removes a method or deletes the account after a 7-day wait with an email notice, if it has any email method, cancellable by any of the account's methods, a frozen one too (`cancel`); a wait re-checks these rules when it runs out (a method marked for recovery meanwhile is not removed; a first mark is dropped once another method is marked; a wait during which any of the account's methods was frozen, even if a recovery method lifted the freeze early or removed the method, is dropped, not completed, since a frozen method can't sign in to cancel it, and every email method gets a `waitDropped` notice naming the change); a freeze is immediate, from a different method with a fresh step-up, and lasts 7 days or until a recovery method lifts it (`unfreeze`); a recovery method is never frozen, removed or unmarked by an unmarked one; the last way to sign in is never removed; marking a recovery method needs a fresh step-up of one, except the account's first, which needs a fresh step-up of any of its methods (else StepUpRequired) and waits 24 hours with an email notice, if the account has any email method. Notices are email only: the platform sends every one itself, wherever the account is hosted, to each of the account's email methods (never by phone or Nostr); the PDS sends none. Ops: `list` (the account's methods, each email and phone also with its full `value` for the owner's own account page, pending changes (an open `moveMethod` onto the account included), `hasRecovery`, and `person`, the other accounts of its person), `signInMethods` (for a sign-in page that knows only the account, \"Sign in as @handle\": the methods that can sign in now, each a `display` only, never its full value; no step-up, recovery marks or pending changes), `sendTo` (the full email or phone of one of them, for the PDS to send a sign-in code to; never shown), `remove`, `cancel`, `freeze` (with `signOut`), `unfreeze`, `mark`, `unmark`, `signOut` (sign out everywhere the platform holds a session; the PDS revokes its own), `delete`, `addExternal` (a passkey or Nostr key the PDS proved; always a fresh step-up of one of the account's methods, StepUpRequired without one, and never a program's, ProgramRefused), `newRecoveryCodes` (returned once; a new set ends the old; always a fresh step-up, and on an account with no recovery method the set is its first mark, which waits 24 hours; a first set is refused, MethodFrozen, while one of the account's methods is frozen), `redeemCode`, `setPrograms` (\"Programs can sign in with this key\" on or off, `on`, for a Nostr key, the only type that supports it: on and off both need a fresh step-up of one of the account's methods that is not a program, not frozen (a step-up by a key with programs on is ProgramRefused, so that key never switches itself off); on is also refused from the key itself, SameMethod, for a recovery method or one whose first mark is waiting, IsRecovery, and while a method of the account is frozen, MethodFrozen), `addChannel` (a `channel` the PDS just proved for `did`, as identity.finishAddMethod does for a session: `added`, `alreadyYours`, or `boundElsewhere`: when both accounts hold something, with the `other` account and its `method` (the account page offers `moveMethod`), else with a fold `offer` (identity.finishAddMethod#offer), single use, 10 minutes, bound to `did` on this hook and to no session; MethodFrozen when the channel is frozen on any account, MethodFrozen when `did` itself has a frozen method and the channel would be new to it (no method is added past a freeze; `addExternal` likewise), and, on the fold path only (one of the two accounts holds nothing, so an `offer` would be made), ProtectedAccount when either account has a recovery mark, a freeze, a pending change, or a passkey, Nostr key or recovery codes; when both hold something the answer names `other` and `method` and moveMethod's own refusals apply), `fold` (take that offer: `token`; needs a fresh step-up of `did`; ProtectedAccount (a live freeze included) and NotEmpty, checked again; `folded` with the kept `did` and the `emptied` one, which is deleted (on the identity PDS too, by `dueDeletes`)), `moveMethod` (link two accounts: move an email or phone method of account `from` onto `did` and make the two accounts one person, every DID of each linked to every other in `alsoKnownAs`; needs a fresh step-up of `did` and one of `from` (`fromStepUp`, else FromStepUpRequired); refused, nothing scheduled, when a method of either person is frozen (Frozen), either has a pending change (PendingChange), the person would hold more than 4 accounts (TooMany), the two are already one person or the same account (Same), or no key can write `alsoKnownAs` for one of their DIDs (NoKey); a method marked for recovery on `from` moves only with a `fromStepUp` of a recovery method of `from` (RecoveryProtected); it is never done inside the call: the answer is `pending` (the change, a pending change of `from`, as a defs#pendingChange as `did`'s `list` shows it) with `due`, its `dueAt`: now for a move such a step-up proved, else 7 days on, a wait `from` is told about by email (a recovery-proven move is told only when it completes), which any method of either account can `cancel`, and which a freeze of either person's methods drops (`waitDropped` to `from`); the platform completes it once due: a move whose key check or `alsoKnownAs` writes fail is tried again after a backoff (2^tries minutes, at most an hour), one refused for good (no key we can ask holds it, or the identity PDS refuses the account) is dropped with a `moveDropped` email to both accounts, one still failing 24 hours past `due` is dropped with `moveTimedOut`, one whose accounts changed meanwhile (the method gone, or marked for recovery since unless a recovery method proved the move; a refusal above other than a freeze; or a recovery-proven requester no longer a recovery method) is dropped with `moveCancelled` to both, and a completed one sends every account of the person a `linked` email), `unlink` (account `other` leaves `did`'s person at once; the removal of the `alsoKnownAs` entries between it and the rest is queued, tried again after a failure, and given up after about a day, or at once when refused for good, with an `akaLeft` email to both accounts of the entry; needs a fresh step-up of `did`; when `other` would be left with no way to sign in, `method`, one of `did`'s email or phone methods, is required (else NeedsMethod) and moves to `other`, which needs a step-up of a recovery method of `did` or of that method itself (NeedsRecoveryMethod), a recovery method's step-up for a method marked for recovery (RecoveryProtected), a method that is not frozen (MethodFrozen) and not `did`'s last way to sign in (LastMethod); NotLinked when `other` is not in `did`'s person; an email handed to `other` is released from `did`'s identity-PDS account, tried again after a failure and given up after about a day with an `emailLeft` email to `did`; both accounts get an `unlinked` email), `link` (retired, answers 400 InvalidRequest: a link is `moveMethod` now), `importBackupEmails` (once per account, recorded: a second call answers `alreadyImported` even after every mark is taken off; the move of the PDS's verified backup emails, `backupEmails`, each with when the PDS verified it: one verified before 2026-11-13T00:00:00Z becomes an email method marked for recovery at once, without step-up or wait, and one verified at or after it is skipped, `afterCutoff`, since only the holder could have added one before these rules; only an account with no recovery method takes one, all of its addresses in one call (each address once, else 400 InvalidRequest), else `hasRecovery`, nothing changes and the import is spent; a call that marks none of them spends it too; MethodFrozen while one of the account's methods is frozen, not spent; `indexOff` while the identity index is off), `notices` and `noticesSent` (no `did`; unused, kept for older clients: `notices` always answers an empty list and `noticesSent` `count: 0`, since the platform sends every notice itself), for a login service that just checked a signature by a Nostr key and knows no account yet (no `did`) `findKey` (`external`, type `nostr` and the 64-character lowercase hex key: `none` when no account the calling PDS hosts has it, else `done` with the account's `did`, the key's `method`, whether that method is `frozen` now, and whether `programs` may sign in with it), and for scheduled account deletions that came due (no `did`; only the accounts the calling PDS hosts) `dueDeletes` (up to 100 accounts the platform has deleted on its side, which the PDS deletes too; one taken and not confirmed is offered again after 5 minutes, without limit) and `dueDeletesDone` (`dids` the PDS deleted), and for a consent screen after sign-in `operator` (`operator`: whether `did` is one of the platform's operators, so the PDS offers the moderate scope, `include:pub.techne.draft.authModerate`, to operators only and drops it from everyone else's grant). Programs: a key with programs on can't be marked (ProgramsOn), and a program never touches account security: when the PDS says a program made the request (`program`), or the step-up names a key with programs on, every op but `list`, `signInMethods` and `sendTo` is 403 ProgramRefused (`operator` included: a program never moderates), `setPrograms` included: such a key's programs are turned off by a step-up of another of the account's methods.",
7013
7059
  "doc": ({
7014
7060
  "lexicon": 1,
7015
7061
  "id": "pub.techne.draft.identity.manageMethods",
7016
7062
  "defs": {
7017
7063
  "main": {
7018
7064
  "type": "procedure",
7019
- "description": "The identity PDS's signed hook for the sign-in method rules (the account page and sign-in page call it; the rules live on the platform so every client obeys the same ones). Authenticated only by the epds-signature MAC with the identity hook secret; no session, OAuth or service-JWT caller reaches it, and every answer is signed. The PDS vouches for the signed-in account (`did`, which must be hosted on the calling PDS, else 404 UnknownAccount) and for the step-up it just checked (`stepUp`: which method, when; it counts for 10 minutes). Rules: a recovery method acting with a fresh step-up acts at once; anything else removes a method or deletes the account after a 7-day wait with notice to every method, cancellable by any of them, a frozen one too (`cancel`); a wait re-checks these rules when it runs out (a method marked for recovery meanwhile is not removed; a first mark is dropped once another method is marked; a wait during which any of the account's methods was frozen, even if a recovery method lifted the freeze early or removed the method, is dropped, not completed, since a frozen method can't sign in to cancel it, and every email method gets a `waitDropped` notice naming the change); a freeze is immediate, from a different method with a fresh step-up, and lasts 7 days or until a recovery method lifts it (`unfreeze`); a recovery method is never frozen, removed or unmarked by an unmarked one; the last way to sign in is never removed; marking a recovery method needs a fresh step-up of one, except the account's first, which needs a fresh step-up of any of its methods (else StepUpRequired) and waits 24 hours with notice. Ops: `list` (methods, pending changes, `hasRecovery`), `signInMethods` (for a sign-in page that knows only the account, \"Sign in as @handle\": the methods that can sign in now, each a `display` only, never its full value; no step-up, recovery marks or pending changes), `sendTo` (the full email or phone of one of them, for the PDS to send a sign-in code to; never shown), `remove`, `cancel`, `freeze` (with `signOut`), `unfreeze`, `mark`, `unmark`, `signOut` (sign out everywhere the platform holds a session; the PDS revokes its own), `delete`, `addExternal` (a passkey or Nostr key the PDS proved; always a fresh step-up of one of the account's methods, StepUpRequired without one, and never a program's, ProgramRefused), `newRecoveryCodes` (returned once; a new set ends the old; always a fresh step-up, and on an account with no recovery method the set is its first mark, which waits 24 hours; a first set is refused, MethodFrozen, while one of the account's methods is frozen), `redeemCode`, `setPrograms` (\"Programs can sign in with this key\" on or off, `on`, for a Nostr key, the only type that supports it: on and off both need a fresh step-up of one of the account's methods that is not a program, not frozen (a step-up by a key with programs on is ProgramRefused, so that key never switches itself off); on is also refused from the key itself, SameMethod, for a recovery method or one whose first mark is waiting, IsRecovery, and while a method of the account is frozen, MethodFrozen), `addChannel` (a `channel` the PDS just proved for `did`, as identity.finishAddMethod does for a session: `added`, `alreadyYours`, or `boundElsewhere` with an `offer` (identity.finishAddMethod#offer), single use, 10 minutes, bound to `did` on this hook and to no session; MethodFrozen when the channel is frozen on any account, MethodFrozen when `did` itself has a frozen method and the channel would be new to it (no method is added past a freeze; `addExternal` likewise), ProtectedAccount when either account has a recovery mark, a freeze, a pending change, or a passkey, Nostr key or recovery codes), `fold` and `link` (take that offer: `token`, and for `link` the `primary`; need a fresh step-up of `did`; ProtectedAccount (a live freeze included) and NotEmpty, checked again; `folded` with the kept `did` and the `emptied` one, which is deleted (on the identity PDS too, by `dueDeletes`), or `linked` with `link`), `importBackupEmails` (once per account, recorded: a second call answers `alreadyImported` even after every mark is taken off; the move of the PDS's verified backup emails, `backupEmails`, each with when the PDS verified it: one verified before 2026-11-13T00:00:00Z becomes an email method marked for recovery at once, without step-up or wait, and one verified at or after it is skipped, `afterCutoff`, since only the holder could have added one before these rules; only an account with no recovery method takes one, all of its addresses in one call (each address once, else 400 InvalidRequest), else `hasRecovery`, nothing changes and the import is spent; a call that marks none of them spends it too; MethodFrozen while one of the account's methods is frozen, not spent; `indexOff` while the identity index is off), for the notice queue (no `did`; only the accounts the calling PDS hosts; the platform emails those of accounts hosted elsewhere itself) `notices` (up to 100 to deliver; one taken and not confirmed is offered again after 5 minutes, at most 10 times) and `noticesSent`, for a login service that just checked a signature by a Nostr key and knows no account yet (no `did`) `findKey` (`external`, type `nostr` and the 64-character lowercase hex key: `none` when no account the calling PDS hosts has it, else `done` with the account's `did`, the key's `method`, whether that method is `frozen` now, and whether `programs` may sign in with it), and for scheduled account deletions that came due (no `did`; only the accounts the calling PDS hosts) `dueDeletes` (up to 100 accounts the platform has deleted on its side, which the PDS deletes too; one taken and not confirmed is offered again after 5 minutes, without limit) and `dueDeletesDone` (`dids` the PDS deleted), and for a consent screen after sign-in `operator` (`operator`: whether `did` is one of the platform's operators, so the PDS offers the moderate scope, `include:pub.techne.draft.authModerate`, to operators only and drops it from everyone else's grant). Programs: a key with programs on can't be marked (ProgramsOn), and a program never touches account security: when the PDS says a program made the request (`program`), or the step-up names a key with programs on, every op but `list`, `signInMethods` and `sendTo` is 403 ProgramRefused (`operator` included: a program never moderates), `setPrograms` included: such a key's programs are turned off by a step-up of another of the account's methods.",
7065
+ "description": "The identity PDS's signed hook for the sign-in method rules (the account page and sign-in page call it; the rules live on the platform so every client obeys the same ones). Authenticated only by the epds-signature MAC with the identity hook secret; no session, OAuth or service-JWT caller reaches it, and every answer is signed. The PDS vouches for the signed-in account (`did`, which must be hosted on the calling PDS, else 404 UnknownAccount) and for the step-up it just checked (`stepUp`: which method, when; it counts for 10 minutes). Rules: a recovery method acting with a fresh step-up acts at once; anything else removes a method or deletes the account after a 7-day wait with an email notice, if it has any email method, cancellable by any of the account's methods, a frozen one too (`cancel`); a wait re-checks these rules when it runs out (a method marked for recovery meanwhile is not removed; a first mark is dropped once another method is marked; a wait during which any of the account's methods was frozen, even if a recovery method lifted the freeze early or removed the method, is dropped, not completed, since a frozen method can't sign in to cancel it, and every email method gets a `waitDropped` notice naming the change); a freeze is immediate, from a different method with a fresh step-up, and lasts 7 days or until a recovery method lifts it (`unfreeze`); a recovery method is never frozen, removed or unmarked by an unmarked one; the last way to sign in is never removed; marking a recovery method needs a fresh step-up of one, except the account's first, which needs a fresh step-up of any of its methods (else StepUpRequired) and waits 24 hours with an email notice, if the account has any email method. Notices are email only: the platform sends every one itself, wherever the account is hosted, to each of the account's email methods (never by phone or Nostr); the PDS sends none. Ops: `list` (the account's methods, each email and phone also with its full `value` for the owner's own account page, pending changes (an open `moveMethod` onto the account included), `hasRecovery`, and `person`, the other accounts of its person), `signInMethods` (for a sign-in page that knows only the account, \"Sign in as @handle\": the methods that can sign in now, each a `display` only, never its full value; no step-up, recovery marks or pending changes), `sendTo` (the full email or phone of one of them, for the PDS to send a sign-in code to; never shown), `remove`, `cancel`, `freeze` (with `signOut`), `unfreeze`, `mark`, `unmark`, `signOut` (sign out everywhere the platform holds a session; the PDS revokes its own), `delete`, `addExternal` (a passkey or Nostr key the PDS proved; always a fresh step-up of one of the account's methods, StepUpRequired without one, and never a program's, ProgramRefused), `newRecoveryCodes` (returned once; a new set ends the old; always a fresh step-up, and on an account with no recovery method the set is its first mark, which waits 24 hours; a first set is refused, MethodFrozen, while one of the account's methods is frozen), `redeemCode`, `setPrograms` (\"Programs can sign in with this key\" on or off, `on`, for a Nostr key, the only type that supports it: on and off both need a fresh step-up of one of the account's methods that is not a program, not frozen (a step-up by a key with programs on is ProgramRefused, so that key never switches itself off); on is also refused from the key itself, SameMethod, for a recovery method or one whose first mark is waiting, IsRecovery, and while a method of the account is frozen, MethodFrozen), `addChannel` (a `channel` the PDS just proved for `did`, as identity.finishAddMethod does for a session: `added`, `alreadyYours`, or `boundElsewhere`: when both accounts hold something, with the `other` account and its `method` (the account page offers `moveMethod`), else with a fold `offer` (identity.finishAddMethod#offer), single use, 10 minutes, bound to `did` on this hook and to no session; MethodFrozen when the channel is frozen on any account, MethodFrozen when `did` itself has a frozen method and the channel would be new to it (no method is added past a freeze; `addExternal` likewise), and, on the fold path only (one of the two accounts holds nothing, so an `offer` would be made), ProtectedAccount when either account has a recovery mark, a freeze, a pending change, or a passkey, Nostr key or recovery codes; when both hold something the answer names `other` and `method` and moveMethod's own refusals apply), `fold` (take that offer: `token`; needs a fresh step-up of `did`; ProtectedAccount (a live freeze included) and NotEmpty, checked again; `folded` with the kept `did` and the `emptied` one, which is deleted (on the identity PDS too, by `dueDeletes`)), `moveMethod` (link two accounts: move an email or phone method of account `from` onto `did` and make the two accounts one person, every DID of each linked to every other in `alsoKnownAs`; needs a fresh step-up of `did` and one of `from` (`fromStepUp`, else FromStepUpRequired); refused, nothing scheduled, when a method of either person is frozen (Frozen), either has a pending change (PendingChange), the person would hold more than 4 accounts (TooMany), the two are already one person or the same account (Same), or no key can write `alsoKnownAs` for one of their DIDs (NoKey); a method marked for recovery on `from` moves only with a `fromStepUp` of a recovery method of `from` (RecoveryProtected); it is never done inside the call: the answer is `pending` (the change, a pending change of `from`, as a defs#pendingChange as `did`'s `list` shows it) with `due`, its `dueAt`: now for a move such a step-up proved, else 7 days on, a wait `from` is told about by email (a recovery-proven move is told only when it completes), which any method of either account can `cancel`, and which a freeze of either person's methods drops (`waitDropped` to `from`); the platform completes it once due: a move whose key check or `alsoKnownAs` writes fail is tried again after a backoff (2^tries minutes, at most an hour), one refused for good (no key we can ask holds it, or the identity PDS refuses the account) is dropped with a `moveDropped` email to both accounts, one still failing 24 hours past `due` is dropped with `moveTimedOut`, one whose accounts changed meanwhile (the method gone, or marked for recovery since unless a recovery method proved the move; a refusal above other than a freeze; or a recovery-proven requester no longer a recovery method) is dropped with `moveCancelled` to both, and a completed one sends every account of the person a `linked` email), `unlink` (account `other` leaves `did`'s person at once; the removal of the `alsoKnownAs` entries between it and the rest is queued, tried again after a failure, and given up after about a day, or at once when refused for good, with an `akaLeft` email to both accounts of the entry; needs a fresh step-up of `did`; when `other` would be left with no way to sign in, `method`, one of `did`'s email or phone methods, is required (else NeedsMethod) and moves to `other`, which needs a step-up of a recovery method of `did` or of that method itself (NeedsRecoveryMethod), a recovery method's step-up for a method marked for recovery (RecoveryProtected), a method that is not frozen (MethodFrozen) and not `did`'s last way to sign in (LastMethod); NotLinked when `other` is not in `did`'s person; an email handed to `other` is released from `did`'s identity-PDS account, tried again after a failure and given up after about a day with an `emailLeft` email to `did`; both accounts get an `unlinked` email), `link` (retired, answers 400 InvalidRequest: a link is `moveMethod` now), `importBackupEmails` (once per account, recorded: a second call answers `alreadyImported` even after every mark is taken off; the move of the PDS's verified backup emails, `backupEmails`, each with when the PDS verified it: one verified before 2026-11-13T00:00:00Z becomes an email method marked for recovery at once, without step-up or wait, and one verified at or after it is skipped, `afterCutoff`, since only the holder could have added one before these rules; only an account with no recovery method takes one, all of its addresses in one call (each address once, else 400 InvalidRequest), else `hasRecovery`, nothing changes and the import is spent; a call that marks none of them spends it too; MethodFrozen while one of the account's methods is frozen, not spent; `indexOff` while the identity index is off), `notices` and `noticesSent` (no `did`; unused, kept for older clients: `notices` always answers an empty list and `noticesSent` `count: 0`, since the platform sends every notice itself), for a login service that just checked a signature by a Nostr key and knows no account yet (no `did`) `findKey` (`external`, type `nostr` and the 64-character lowercase hex key: `none` when no account the calling PDS hosts has it, else `done` with the account's `did`, the key's `method`, whether that method is `frozen` now, and whether `programs` may sign in with it), and for scheduled account deletions that came due (no `did`; only the accounts the calling PDS hosts) `dueDeletes` (up to 100 accounts the platform has deleted on its side, which the PDS deletes too; one taken and not confirmed is offered again after 5 minutes, without limit) and `dueDeletesDone` (`dids` the PDS deleted), and for a consent screen after sign-in `operator` (`operator`: whether `did` is one of the platform's operators, so the PDS offers the moderate scope, `include:pub.techne.draft.authModerate`, to operators only and drops it from everyone else's grant). Programs: a key with programs on can't be marked (ProgramsOn), and a program never touches account security: when the PDS says a program made the request (`program`), or the step-up names a key with programs on, every op but `list`, `signInMethods` and `sendTo` is 403 ProgramRefused (`operator` included: a program never moderates), `setPrograms` included: such a key's programs are turned off by a step-up of another of the account's methods.",
7020
7066
  "input": {
7021
7067
  "encoding": "application/json",
7022
7068
  "schema": {
@@ -7057,8 +7103,11 @@ export const catalog = {
7057
7103
  "addChannel",
7058
7104
  "fold",
7059
7105
  "link",
7106
+ "moveMethod",
7107
+ "unlink",
7060
7108
  "operator"
7061
- ]
7109
+ ],
7110
+ "description": "The op. `link` is retired: it answers 400 InvalidRequest; `moveMethod` links two accounts now."
7062
7111
  },
7063
7112
  "did": {
7064
7113
  "type": "string",
@@ -7072,7 +7121,7 @@ export const catalog = {
7072
7121
  "method": {
7073
7122
  "type": "string",
7074
7123
  "maxLength": 64,
7075
- "description": "The method acted on (its `id` in `list` or `signInMethods`)."
7124
+ "description": "The method acted on (its `id` in `list` or `signInMethods`). moveMethod: the method of `from` that moves onto `did`. unlink: the method of `did` handed to `other` when `other` would have none left."
7076
7125
  },
7077
7126
  "pending": {
7078
7127
  "type": "string",
@@ -7098,7 +7147,7 @@ export const catalog = {
7098
7147
  "items": {
7099
7148
  "type": "integer"
7100
7149
  },
7101
- "description": "Notice ids, for `noticesSent`."
7150
+ "description": "Unused, kept for older clients: notice ids for `noticesSent`, which confirms none."
7102
7151
  },
7103
7152
  "emails": {
7104
7153
  "type": "array",
@@ -7135,12 +7184,27 @@ export const catalog = {
7135
7184
  "token": {
7136
7185
  "type": "string",
7137
7186
  "maxLength": 128,
7138
- "description": "fold / link: the offer's token from addChannel."
7187
+ "description": "fold: the offer's token from addChannel. (link, retired, took one too.)"
7188
+ },
7189
+ "from": {
7190
+ "type": "string",
7191
+ "format": "did",
7192
+ "description": "moveMethod: the account the method leaves."
7193
+ },
7194
+ "fromStepUp": {
7195
+ "type": "ref",
7196
+ "ref": "#stepUp",
7197
+ "description": "moveMethod: what the PDS's step-up of `from` proved (fresh, one of `from`'s methods)."
7198
+ },
7199
+ "other": {
7200
+ "type": "string",
7201
+ "format": "did",
7202
+ "description": "unlink: the account that leaves `did`'s person."
7139
7203
  },
7140
7204
  "primary": {
7141
7205
  "type": "string",
7142
7206
  "format": "did",
7143
- "description": "link: which of the two accounts is the primary."
7207
+ "description": "Retired, not read: it was the retired `link` op's primary account. Linked accounts have no primary."
7144
7208
  },
7145
7209
  "on": {
7146
7210
  "type": "boolean",
@@ -7185,15 +7249,21 @@ export const catalog = {
7185
7249
  "linked",
7186
7250
  "none"
7187
7251
  ],
7188
- "description": "`done`: it happened now. `pending`: it waits (`pending`). `deleted` / `deleting` (`delete` done now): the account is gone / its local half is gone and a sweep finishes the rest (deleteAccount's `deleted` / `pending`; a deletion that could not start answers 503 Unavailable, try again). `bound`: addExternal's key is on another account. `invalid`: redeemCode's code is wrong, used, or the set is not a recovery method or is frozen. `hasRecovery`: importBackupEmails found a recovery method on the account; nothing changed. `indexOff`: importBackupEmails can't mark anything while the identity index is off; nothing changed. `alreadyImported`: importBackupEmails ran for this account before; nothing changed. `added` / `alreadyYours` / `boundElsewhere` / `unavailable`: addChannel, as identity.finishAddMethod. `folded` / `linked`: fold / link done. `none`: findKey's key is no method of an account the calling PDS hosts."
7252
+ "description": "`done`: it happened now. `pending`: it waits (`pending`). `deleted` / `deleting` (`delete` done now): the account is gone / its local half is gone and a sweep finishes the rest (deleteAccount's `deleted` / `pending`; a deletion that could not start answers 503 Unavailable, try again). `bound`: addExternal's key is on another account. `invalid`: redeemCode's code is wrong, used, or the set is not a recovery method or is frozen. `hasRecovery`: importBackupEmails found a recovery method on the account; nothing changed. `indexOff`: importBackupEmails can't mark anything while the identity index is off; nothing changed. `alreadyImported`: importBackupEmails ran for this account before; nothing changed. `added` / `alreadyYours` / `boundElsewhere` / `unavailable`: addChannel, as identity.finishAddMethod. `folded`: fold done. `linked`: retired (the retired `link` op's answer). moveMethod answers `pending` only, with `pending` (the change, a defs#pendingChange) and `due`. `none`: findKey's key is no method of an account the calling PDS hosts."
7189
7253
  },
7190
7254
  "pending": {
7191
7255
  "type": "ref",
7192
- "ref": "pub.techne.draft.identity.defs#pendingChange"
7256
+ "ref": "pub.techne.draft.identity.defs#pendingChange",
7257
+ "description": "The change that waits. moveMethod's `pending` answer carries the change here, as `did`'s `list` shows it (`other` and `method`: the account the method comes from and that method), with `due`; `list` answers every pending change of the account as an array."
7258
+ },
7259
+ "due": {
7260
+ "type": "string",
7261
+ "format": "datetime",
7262
+ "description": "moveMethod `pending`: when the move is due (now for one a recovery method of `from` proved, else 7 days on). The platform completes it then or after a failed try, unless it is cancelled or dropped."
7193
7263
  },
7194
7264
  "method": {
7195
7265
  "type": "string",
7196
- "description": "addExternal's new method id, the recovery-code set redeemCode used, or addChannel's method id when `added` or `alreadyYours` (empty while the identity index is off); findKey's method id of the key."
7266
+ "description": "addExternal's new method id, the recovery-code set redeemCode used, or addChannel's method id when `added` or `alreadyYours` (empty while the identity index is off); findKey's method id of the key. addChannel `boundElsewhere` when both accounts hold something: the other account's method id, for `moveMethod` (identity.finishAddMethod's session answer leaves it out)."
7197
7267
  },
7198
7268
  "codes": {
7199
7269
  "type": "array",
@@ -7207,7 +7277,8 @@ export const catalog = {
7207
7277
  "items": {
7208
7278
  "type": "ref",
7209
7279
  "ref": "pub.techne.draft.identity.defs#methodView"
7210
- }
7280
+ },
7281
+ "description": "list: the account's methods (`value` on emails and phones; see defs#methodView)."
7211
7282
  },
7212
7283
  "hasRecovery": {
7213
7284
  "type": "boolean"
@@ -7217,11 +7288,12 @@ export const catalog = {
7217
7288
  "items": {
7218
7289
  "type": "ref",
7219
7290
  "ref": "#notice"
7220
- }
7291
+ },
7292
+ "description": "Unused, kept for older clients: always empty. The platform emails every notice itself."
7221
7293
  },
7222
7294
  "count": {
7223
7295
  "type": "integer",
7224
- "description": "noticesSent / dueDeletesDone: how many were confirmed."
7296
+ "description": "dueDeletesDone: how many were confirmed. noticesSent (unused, kept for older clients): always 0."
7225
7297
  },
7226
7298
  "signInMethods": {
7227
7299
  "type": "array",
@@ -7262,15 +7334,36 @@ export const catalog = {
7262
7334
  "format": "did",
7263
7335
  "description": "fold: the kept account. findKey: the account the key signs in to."
7264
7336
  },
7337
+ "other": {
7338
+ "type": "string",
7339
+ "format": "did",
7340
+ "description": "addChannel `boundElsewhere` when both accounts hold something: the account the channel signs in to (for `moveMethod`'s `from`)."
7341
+ },
7342
+ "otherPerson": {
7343
+ "type": "array",
7344
+ "items": {
7345
+ "type": "ref",
7346
+ "ref": "pub.techne.draft.identity.defs#personMember"
7347
+ },
7348
+ "description": "addChannel `boundElsewhere` (either form): the other accounts of the person of the account the channel signs in to, now (`did`, `handle` when known), that account itself left out; empty when it is alone."
7349
+ },
7265
7350
  "emptied": {
7266
7351
  "type": "string",
7267
7352
  "format": "did",
7268
7353
  "description": "fold: the account folded in and deleted."
7269
7354
  },
7355
+ "person": {
7356
+ "type": "array",
7357
+ "items": {
7358
+ "type": "ref",
7359
+ "ref": "pub.techne.draft.identity.defs#personMember"
7360
+ },
7361
+ "description": "list: the other accounts of `did`'s person (empty when it is alone). moveMethod no longer answers `done`, which carried the person's accounts here."
7362
+ },
7270
7363
  "link": {
7271
7364
  "type": "ref",
7272
7365
  "ref": "pub.techne.draft.identity.defs#linkView",
7273
- "description": "link: the link, from `did`'s side."
7366
+ "description": "Retired: the retired `link` op's answer."
7274
7367
  },
7275
7368
  "frozen": {
7276
7369
  "type": "boolean",
@@ -7306,7 +7399,7 @@ export const catalog = {
7306
7399
  },
7307
7400
  {
7308
7401
  "name": "NotFound",
7309
- "description": "No such method or pending change on the account."
7402
+ "description": "No such method or pending change on the account (moveMethod: `from` has no such method)."
7310
7403
  },
7311
7404
  {
7312
7405
  "name": "NotYourMethod",
@@ -7314,19 +7407,19 @@ export const catalog = {
7314
7407
  },
7315
7408
  {
7316
7409
  "name": "LastMethod",
7317
- "description": "It would leave no way to sign in."
7410
+ "description": "It would leave no way to sign in (unlink: the method handed to `other` is `did`'s only one)."
7318
7411
  },
7319
7412
  {
7320
7413
  "name": "RecoveryProtected",
7321
- "description": "Only a recovery method can do this to a recovery method."
7414
+ "description": "Only a recovery method can do this to a recovery method (moveMethod: of `from`; unlink: of `did`)."
7322
7415
  },
7323
7416
  {
7324
7417
  "name": "NeedsRecoveryMethod",
7325
- "description": "Needs a fresh step-up of a recovery method."
7418
+ "description": "Needs a fresh step-up of a recovery method (unlink: or of the method handed to `other` itself)."
7326
7419
  },
7327
7420
  {
7328
7421
  "name": "StepUpRequired",
7329
- "description": "Needs a fresh step-up (an account's first recovery mark, `newRecoveryCodes`, `fold` and `link` included)."
7422
+ "description": "Needs a fresh step-up (an account's first recovery mark, `newRecoveryCodes`, `fold`, `moveMethod` and `unlink` included)."
7330
7423
  },
7331
7424
  {
7332
7425
  "name": "SameMethod",
@@ -7334,19 +7427,19 @@ export const catalog = {
7334
7427
  },
7335
7428
  {
7336
7429
  "name": "MethodFrozen",
7337
- "description": "The acting method is frozen (for `sendTo`: the method named is; for `addChannel`: the channel is, on whichever account, or the channel would be new to `did` while one of its methods is frozen; for `addExternal`, a first `newRecoveryCodes` set and `importBackupEmails`: one of `did`'s methods is frozen, and the message says so)."
7430
+ "description": "The acting method is frozen (for `sendTo`: the method named is; for `addChannel`: the channel is, on whichever account, or the channel would be new to `did` while one of its methods is frozen; for `addExternal`, a first `newRecoveryCodes` set and `importBackupEmails`: one of `did`'s methods is frozen, and the message says so; for `unlink`: the method handed to `other` is)."
7338
7431
  },
7339
7432
  {
7340
7433
  "name": "InvalidToken",
7341
- "description": "fold / link: the offer is unknown, used, expired, for the other action, or not made to `did` on this hook."
7434
+ "description": "fold: the offer is unknown, used, expired, for the other action, or not made to `did` on this hook."
7342
7435
  },
7343
7436
  {
7344
7437
  "name": "ProtectedAccount",
7345
- "description": "addChannel / fold / link: one of the two accounts has a recovery mark, a live freeze, a pending change, or a passkey, Nostr key or recovery codes; it is never folded or linked (HTTP 409)."
7438
+ "description": "addChannel / fold: one of the two accounts has a recovery mark, a live freeze, a pending change, or a passkey, Nostr key or recovery codes; it is never folded, and addChannel answers this before any `boundElsewhere`, so nothing about the other account is sent (HTTP 409)."
7346
7439
  },
7347
7440
  {
7348
7441
  "name": "NotEmpty",
7349
- "description": "fold: the account to fold gained a record or is 7 days old or more; link instead (HTTP 409)."
7442
+ "description": "fold: the account to fold gained a record or is 7 days old or more; link it with `moveMethod` instead (HTTP 409)."
7350
7443
  },
7351
7444
  {
7352
7445
  "name": "ProgramRefused",
@@ -7359,6 +7452,38 @@ export const catalog = {
7359
7452
  {
7360
7453
  "name": "IsRecovery",
7361
7454
  "description": "setPrograms on: the method is a recovery method, or its first mark is waiting (HTTP 409)."
7455
+ },
7456
+ {
7457
+ "name": "FromStepUpRequired",
7458
+ "description": "moveMethod: `fromStepUp` is missing, malformed, not fresh, or names none of `from`'s methods (HTTP 403)."
7459
+ },
7460
+ {
7461
+ "name": "Frozen",
7462
+ "description": "moveMethod: a method of an account of either person is frozen; nothing is scheduled (HTTP 409)."
7463
+ },
7464
+ {
7465
+ "name": "PendingChange",
7466
+ "description": "moveMethod: an account of either person has a pending change, a move included; nothing is scheduled (HTTP 409)."
7467
+ },
7468
+ {
7469
+ "name": "TooMany",
7470
+ "description": "moveMethod: the person would hold more than 4 accounts (HTTP 409)."
7471
+ },
7472
+ {
7473
+ "name": "Same",
7474
+ "description": "moveMethod: the two accounts are already one person, or the same account (HTTP 409)."
7475
+ },
7476
+ {
7477
+ "name": "NoKey",
7478
+ "description": "moveMethod: no key this platform or the identity PDS holds can write `alsoKnownAs` for an account of either person; nothing is scheduled (HTTP 409)."
7479
+ },
7480
+ {
7481
+ "name": "NeedsMethod",
7482
+ "description": "unlink: `other` would be left with no way to sign in; name one of `did`'s email or phone methods to hand it (`method`) (HTTP 409)."
7483
+ },
7484
+ {
7485
+ "name": "NotLinked",
7486
+ "description": "unlink: `other` is not in `did`'s person, or is `did` (HTTP 404)."
7362
7487
  }
7363
7488
  ]
7364
7489
  },
@@ -7407,6 +7532,7 @@ export const catalog = {
7407
7532
  },
7408
7533
  "notice": {
7409
7534
  "type": "object",
7535
+ "description": "Unused, kept for older clients: `notices` always answers an empty list. The platform emails every notice itself, to the account's email methods only.",
7410
7536
  "required": [
7411
7537
  "id",
7412
7538
  "did",
@@ -7430,9 +7556,17 @@ export const catalog = {
7430
7556
  "markRecovery",
7431
7557
  "freeze",
7432
7558
  "waitDropped",
7433
- "programsOn"
7434
- ],
7435
- "description": "What the notice is about: a change that started to wait (`removeMethod`, `deleteAccount`, `markRecovery`), a `freeze`, `waitDropped`: the change in `pending` was not completed because one of the account's methods was frozen during its wait, or `programsOn`: programs can now sign in with one of the account's Nostr keys (`setPrograms` on; no `pending`)."
7559
+ "programsOn",
7560
+ "moveMethod",
7561
+ "linked",
7562
+ "unlinked",
7563
+ "moveDropped",
7564
+ "moveTimedOut",
7565
+ "moveCancelled",
7566
+ "akaLeft",
7567
+ "emailLeft"
7568
+ ],
7569
+ "description": "What the notice is about: a change that started to wait (`removeMethod`, `deleteAccount`, `markRecovery`, `moveMethod`), a `freeze`, `waitDropped`: the change in `pending` was not completed because one of the account's methods was frozen during its wait, `programsOn`: programs can now sign in with one of the account's Nostr keys (`setPrograms` on; no `pending`), `linked` / `unlinked`: a link (moveMethod completed) or an unlink changed the account's person, `moveDropped` / `moveTimedOut` / `moveCancelled`: a move was dropped because a key can't be used or the identity PDS refused it for good, because it still could not be written 24 hours past due, or because something changed on one of its accounts, or `akaLeft` / `emailLeft`: an `alsoKnownAs` entry or an identity-PDS account email the platform owed removing was given up and is left."
7436
7570
  },
7437
7571
  "to": {
7438
7572
  "type": "ref",
@@ -7473,6 +7607,7 @@ export const catalog = {
7473
7607
  },
7474
7608
  "noticeTo": {
7475
7609
  "type": "object",
7610
+ "description": "An email or phone number in full: `sendTo`'s `to`. Also the shape of #notice's `to`, which is unused and kept for older clients (notices go to email methods only).",
7476
7611
  "required": [
7477
7612
  "type",
7478
7613
  "value"
@@ -8070,14 +8205,14 @@ export const catalog = {
8070
8205
  "name": "draft.identity.unlinkAccount",
8071
8206
  "group": "pub.techne",
8072
8207
  "kind": "procedure",
8073
- "description": "End an alias link: deletes the caller's pub.techne.draft.accountLink naming `other`, and the other account's too when this host holds it, and removes the `alsoKnownAs` entries this host added.",
8208
+ "description": "Retired (Linking v2): the platform no longer serves it, and no client should call it. An account leaves its person with identity.manageMethods `unlink` now. Kept so the name and its shapes stay published. It was: end an alias link: deletes the caller's pub.techne.draft.accountLink naming `other`, and the other account's too when this host holds it, and removes the `alsoKnownAs` entries the link added (signed here, or by the identity PDS for accounts it made).",
8074
8209
  "doc": ({
8075
8210
  "lexicon": 1,
8076
8211
  "id": "pub.techne.draft.identity.unlinkAccount",
8077
8212
  "defs": {
8078
8213
  "main": {
8079
8214
  "type": "procedure",
8080
- "description": "End an alias link: deletes the caller's pub.techne.draft.accountLink naming `other`, and the other account's too when this host holds it, and removes the `alsoKnownAs` entries this host added.",
8215
+ "description": "Retired (Linking v2): the platform no longer serves it, and no client should call it. An account leaves its person with identity.manageMethods `unlink` now. Kept so the name and its shapes stay published. It was: end an alias link: deletes the caller's pub.techne.draft.accountLink naming `other`, and the other account's too when this host holds it, and removes the `alsoKnownAs` entries the link added (signed here, or by the identity PDS for accounts it made).",
8081
8216
  "input": {
8082
8217
  "encoding": "application/json",
8083
8218
  "schema": {
@@ -8126,14 +8261,14 @@ export const catalog = {
8126
8261
  "name": "draft.identity.unlinkMethod",
8127
8262
  "group": "pub.techne",
8128
8263
  "kind": "procedure",
8129
- "description": "Remove a sign-in method from the caller's account, by the sign-in method rules (identity.manageMethods): this method carries no step-up, so the removal always waits 7 days with notice to every method and any of them can cancel it (`status: pending`, `pending`); a recovery method is not removed this way (`RecoveryProtected`), and the last way to sign in never is. When it completes: its credential is revoked (`unlinked`), the channel stops signing in to this account, and its attested pub.techne.draft.contactChannel is deleted. Its next sign-in is treated as new. A removed phone number is marked released: identity.resolve answers `unbound` with `released` and `releasedFrom` (this account) until someone binds it, so a PDS never signs it in to this account again through a placeholder it kept, and identity.attest refuses binding it back here (`ChannelReleased`); only adding it again (identity.finishAddMethod) does. Refused for the account's last method.",
8264
+ "description": "Remove a sign-in method from the caller's account, by the sign-in method rules (identity.manageMethods): this method carries no step-up, so the removal always waits 7 days, with an email notice to each of the account's email methods, and any of its methods can cancel it (`status: pending`, `pending`); a recovery method is not removed this way (`RecoveryProtected`), and the last way to sign in never is. When it completes: its credential is revoked (`unlinked`), the channel stops signing in to this account, and its attested pub.techne.draft.contactChannel is deleted. Its next sign-in is treated as new. A removed phone number is marked released: identity.resolve answers `unbound` with `released` and `releasedFrom` (this account) until someone binds it, so a PDS never signs it in to this account again through a placeholder it kept, and identity.attest refuses binding it back here (`ChannelReleased`); only adding it again (identity.finishAddMethod) does. Refused for the account's last method.",
8130
8265
  "doc": ({
8131
8266
  "lexicon": 1,
8132
8267
  "id": "pub.techne.draft.identity.unlinkMethod",
8133
8268
  "defs": {
8134
8269
  "main": {
8135
8270
  "type": "procedure",
8136
- "description": "Remove a sign-in method from the caller's account, by the sign-in method rules (identity.manageMethods): this method carries no step-up, so the removal always waits 7 days with notice to every method and any of them can cancel it (`status: pending`, `pending`); a recovery method is not removed this way (`RecoveryProtected`), and the last way to sign in never is. When it completes: its credential is revoked (`unlinked`), the channel stops signing in to this account, and its attested pub.techne.draft.contactChannel is deleted. Its next sign-in is treated as new. A removed phone number is marked released: identity.resolve answers `unbound` with `released` and `releasedFrom` (this account) until someone binds it, so a PDS never signs it in to this account again through a placeholder it kept, and identity.attest refuses binding it back here (`ChannelReleased`); only adding it again (identity.finishAddMethod) does. Refused for the account's last method.",
8271
+ "description": "Remove a sign-in method from the caller's account, by the sign-in method rules (identity.manageMethods): this method carries no step-up, so the removal always waits 7 days, with an email notice to each of the account's email methods, and any of its methods can cancel it (`status: pending`, `pending`); a recovery method is not removed this way (`RecoveryProtected`), and the last way to sign in never is. When it completes: its credential is revoked (`unlinked`), the channel stops signing in to this account, and its attested pub.techne.draft.contactChannel is deleted. Its next sign-in is treated as new. A removed phone number is marked released: identity.resolve answers `unbound` with `released` and `releasedFrom` (this account) until someone binds it, so a PDS never signs it in to this account again through a placeholder it kept, and identity.attest refuses binding it back here (`ChannelReleased`); only adding it again (identity.finishAddMethod) does. Refused for the account's last method.",
8137
8272
  "input": {
8138
8273
  "encoding": "application/json",
8139
8274
  "schema": {
@@ -8794,7 +8929,7 @@ export const catalog = {
8794
8929
  "group": "pub.techne",
8795
8930
  "kind": "record",
8796
8931
  "key": "any",
8797
- "description": "The rkey is the operator's DID, or `{did}-{millis}` for a later period after one has ended, so each period keeps its own record. Readers count a record only at one of those rkeys and only with `subject` = that DID. `any` permits the convention but cannot enforce it.",
8932
+ "description": "The rkey is the operator's DID, or `{did}-{millis}` for a later period after one has ended, so each period keeps its own record. Enforced by the AppView on read: a record counts only at one of those rkeys and only with `subject` = that DID.",
8798
8933
  "fields": [
8799
8934
  {
8800
8935
  "name": "subject",
@@ -8834,7 +8969,7 @@ export const catalog = {
8834
8969
  "main": {
8835
8970
  "type": "record",
8836
8971
  "key": "any",
8837
- "description": "The rkey is the operator's DID, or `{did}-{millis}` for a later period after one has ended, so each period keeps its own record. Readers count a record only at one of those rkeys and only with `subject` = that DID. `any` permits the convention but cannot enforce it.",
8972
+ "description": "The rkey is the operator's DID, or `{did}-{millis}` for a later period after one has ended, so each period keeps its own record. Enforced by the AppView on read: a record counts only at one of those rkeys and only with `subject` = that DID.",
8838
8973
  "record": {
8839
8974
  "type": "object",
8840
8975
  "required": [
@@ -10291,7 +10426,7 @@ export const catalog = {
10291
10426
  "group": "pub.techne",
10292
10427
  "kind": "record",
10293
10428
  "key": "any",
10294
- "description": "Publishers use sidecar_rkey(subject AT-URI), one research record per place per writer. `any` permits that convention but cannot enforce it.",
10429
+ "description": "Publishers use sidecar_rkey(subject AT-URI), one research record per place per writer. Readers do not depend on the key: the AppView uses the newest research record about a place from a trusted writer.",
10295
10430
  "fields": [
10296
10431
  {
10297
10432
  "name": "subject",
@@ -10382,7 +10517,7 @@ export const catalog = {
10382
10517
  "main": {
10383
10518
  "type": "record",
10384
10519
  "key": "any",
10385
- "description": "Publishers use sidecar_rkey(subject AT-URI), one research record per place per writer. `any` permits that convention but cannot enforce it.",
10520
+ "description": "Publishers use sidecar_rkey(subject AT-URI), one research record per place per writer. Readers do not depend on the key: the AppView uses the newest research record about a place from a trusted writer.",
10386
10521
  "record": {
10387
10522
  "type": "object",
10388
10523
  "required": [
@@ -11033,7 +11168,7 @@ export const catalog = {
11033
11168
  "group": "pub.techne",
11034
11169
  "kind": "record",
11035
11170
  "key": "any",
11036
- "description": "Publishers use sidecar_rkey(curated record AT-URI), so each curated record has one provenance per curator. `any` permits that convention but cannot enforce it.",
11171
+ "description": "Publishers use sidecar_rkey(curated record AT-URI), so each curated record has one provenance per curator. Readers do not depend on the key: the AppView finds a curated record's provenance by `subject` in the curator's repo.",
11037
11172
  "fields": [
11038
11173
  {
11039
11174
  "name": "subject",
@@ -11083,7 +11218,7 @@ export const catalog = {
11083
11218
  "main": {
11084
11219
  "type": "record",
11085
11220
  "key": "any",
11086
- "description": "Publishers use sidecar_rkey(curated record AT-URI), so each curated record has one provenance per curator. `any` permits that convention but cannot enforce it.",
11221
+ "description": "Publishers use sidecar_rkey(curated record AT-URI), so each curated record has one provenance per curator. Readers do not depend on the key: the AppView finds a curated record's provenance by `subject` in the curator's repo.",
11087
11222
  "record": {
11088
11223
  "type": "object",
11089
11224
  "required": [
@@ -11474,7 +11609,7 @@ export const catalog = {
11474
11609
  "group": "pub.techne",
11475
11610
  "kind": "record",
11476
11611
  "key": "any",
11477
- "description": "A query over indexed records, as data: sent inline to pub.techne.draft.query.listRecords or countRecords, or published as a record in an app's own repo and run by its URI, so what an app reads is public. The platform runs it only over what the caller may read: every query is scoped to the viewer by the platform (public records not hidden; permissioned records the caller's own, or in a space whose read policy admits the caller now and not an act the reach limit withholds for its author: a held share or circle add), so there is no operator for access. Values that start with `$` are parameters: `$viewer` (the caller's DID) and `$now` (the instant of the call) are filled by the platform, any other the caller passes in `params`; a published query is a template. Each record type declares which of its fields fill the shared roles in its `{collection}.query` document; a type with none is still listable by the roles every record has (`type`, `author`, `space`, `subject`, `written`, `uri`). Before running, the platform checks that every top-level `any` branch is driven by an index and refuses, naming the branch, if not. A feed is a query plus the signals it asks for plus its `weights`, which only the client applies. Draft tier.",
11612
+ "description": "A query over indexed records, as data: sent inline to pub.techne.draft.query.listRecords or countRecords, or published as a record in an app's own repo and run by its URI, so what an app reads is public. The platform runs it only over what the caller may read: every query is scoped to the viewer by the platform (public records not hidden; permissioned records the caller's own, or in a space whose read policy admits the caller now and not an act the reach limit withholds for its author: a held share or circle add), so there is no operator for access. Values that start with `$` are parameters: `$viewer` (the caller: compared with a DID, it matches any DID of the caller's person now, every account linked with the signed-in one, or only the signed-in DID while a sign-in method of one of them is frozen) and `$now` (the instant of the call) are filled by the platform, any other the caller passes in `params`; a published query is a template. Each record type declares which of its fields fill the shared roles in its `{collection}.query` document; a type with none is still listable by the roles every record has (`type`, `author`, `space`, `subject`, `written`, `uri`). Before running, the platform checks that every top-level `any` branch is driven by an index and refuses, naming the branch, if not. A feed is a query plus the signals it asks for plus its `weights`, which only the client applies. Draft tier.",
11478
11613
  "fields": [
11479
11614
  {
11480
11615
  "name": "where",
@@ -11532,7 +11667,7 @@ export const catalog = {
11532
11667
  "doc": ({
11533
11668
  "lexicon": 1,
11534
11669
  "id": "pub.techne.draft.query",
11535
- "description": "A query over indexed records, as data: sent inline to pub.techne.draft.query.listRecords or countRecords, or published as a record in an app's own repo and run by its URI, so what an app reads is public. The platform runs it only over what the caller may read: every query is scoped to the viewer by the platform (public records not hidden; permissioned records the caller's own, or in a space whose read policy admits the caller now and not an act the reach limit withholds for its author: a held share or circle add), so there is no operator for access. Values that start with `$` are parameters: `$viewer` (the caller's DID) and `$now` (the instant of the call) are filled by the platform, any other the caller passes in `params`; a published query is a template. Each record type declares which of its fields fill the shared roles in its `{collection}.query` document; a type with none is still listable by the roles every record has (`type`, `author`, `space`, `subject`, `written`, `uri`). Before running, the platform checks that every top-level `any` branch is driven by an index and refuses, naming the branch, if not. A feed is a query plus the signals it asks for plus its `weights`, which only the client applies. Draft tier.",
11670
+ "description": "A query over indexed records, as data: sent inline to pub.techne.draft.query.listRecords or countRecords, or published as a record in an app's own repo and run by its URI, so what an app reads is public. The platform runs it only over what the caller may read: every query is scoped to the viewer by the platform (public records not hidden; permissioned records the caller's own, or in a space whose read policy admits the caller now and not an act the reach limit withholds for its author: a held share or circle add), so there is no operator for access. Values that start with `$` are parameters: `$viewer` (the caller: compared with a DID, it matches any DID of the caller's person now, every account linked with the signed-in one, or only the signed-in DID while a sign-in method of one of them is frozen) and `$now` (the instant of the call) are filled by the platform, any other the caller passes in `params`; a published query is a template. Each record type declares which of its fields fill the shared roles in its `{collection}.query` document; a type with none is still listable by the roles every record has (`type`, `author`, `space`, `subject`, `written`, `uri`). Before running, the platform checks that every top-level `any` branch is driven by an index and refuses, naming the branch, if not. A feed is a query plus the signals it asks for plus its `weights`, which only the client applies. Draft tier.",
11536
11671
  "defs": {
11537
11672
  "main": {
11538
11673
  "type": "record",
@@ -11806,7 +11941,7 @@ export const catalog = {
11806
11941
  "required": [
11807
11942
  "from"
11808
11943
  ],
11809
- "description": "Graph hops from `from` (only `$viewer` today) to the result's author over the viewer-scoped graph walk: 0 for the viewer's own records; absent when the walk does not reach the author, and for an anonymous caller.",
11944
+ "description": "Graph hops from `from` (only `$viewer` today) to the result's author over the viewer-scoped graph walk: 0 for the viewer's own records (any DID of the viewer's person now); absent when the walk does not reach the author, and for an anonymous caller.",
11810
11945
  "properties": {
11811
11946
  "from": {
11812
11947
  "type": "string",
@@ -12512,6 +12647,34 @@ export const catalog = {
12512
12647
  "handle": {
12513
12648
  "type": "string",
12514
12649
  "format": "handle"
12650
+ },
12651
+ "linked": {
12652
+ "type": "array",
12653
+ "items": {
12654
+ "type": "ref",
12655
+ "ref": "#linkedHandle"
12656
+ },
12657
+ "description": "The other accounts linked to this one now (the same person; links are public, alsoKnownAs on both DIDs). Absent when none, and while a sign-in method of any account of the person is frozen (a freeze pauses the link). A linked account that is not active or is suspended is left out."
12658
+ }
12659
+ }
12660
+ },
12661
+ "linkedHandle": {
12662
+ "type": "object",
12663
+ "required": [
12664
+ "did"
12665
+ ],
12666
+ "properties": {
12667
+ "did": {
12668
+ "type": "string",
12669
+ "format": "did"
12670
+ },
12671
+ "handle": {
12672
+ "type": "string",
12673
+ "format": "handle"
12674
+ },
12675
+ "displayName": {
12676
+ "type": "string",
12677
+ "description": "The linked account's public profile name, when it has one."
12515
12678
  }
12516
12679
  }
12517
12680
  },
@@ -13020,7 +13183,7 @@ export const catalog = {
13020
13183
  "group": "pub.techne",
13021
13184
  "kind": "record",
13022
13185
  "key": "any",
13023
- "description": "Publishers use sidecar_rkey(subject AT-URI), so a rule holds one receipt per record, updated when it reprocesses. `any` permits that convention but cannot enforce it.",
13186
+ "description": "Publishers use sidecar_rkey(subject AT-URI), so a rule holds one receipt per record, updated when it reprocesses. Readers do not depend on the key: the AppView counts a receipt from the rule's account about the record's current cid.",
13024
13187
  "fields": [
13025
13188
  {
13026
13189
  "name": "subject",
@@ -13048,7 +13211,7 @@ export const catalog = {
13048
13211
  "main": {
13049
13212
  "type": "record",
13050
13213
  "key": "any",
13051
- "description": "Publishers use sidecar_rkey(subject AT-URI), so a rule holds one receipt per record, updated when it reprocesses. `any` permits that convention but cannot enforce it.",
13214
+ "description": "Publishers use sidecar_rkey(subject AT-URI), so a rule holds one receipt per record, updated when it reprocesses. Readers do not depend on the key: the AppView counts a receipt from the rule's account about the record's current cid.",
13052
13215
  "record": {
13053
13216
  "type": "object",
13054
13217
  "required": [
@@ -14284,7 +14447,7 @@ export const catalog = {
14284
14447
  "group": "pub.techne",
14285
14448
  "kind": "record",
14286
14449
  "key": "any",
14287
- "description": "Writers use the retired identity's DID as the rkey, so each writer holds at most one per identity. `any` permits that convention but cannot enforce it, so readers count a retirement only at rkey = its subject.",
14450
+ "description": "Writers use the retired identity's DID as the rkey, so each writer holds at most one per identity. Enforced by the AppView on read: a retirement at any other key is not counted.",
14288
14451
  "fields": [
14289
14452
  {
14290
14453
  "name": "subject",
@@ -14312,7 +14475,7 @@ export const catalog = {
14312
14475
  "main": {
14313
14476
  "type": "record",
14314
14477
  "key": "any",
14315
- "description": "Writers use the retired identity's DID as the rkey, so each writer holds at most one per identity. `any` permits that convention but cannot enforce it, so readers count a retirement only at rkey = its subject.",
14478
+ "description": "Writers use the retired identity's DID as the rkey, so each writer holds at most one per identity. Enforced by the AppView on read: a retirement at any other key is not counted.",
14316
14479
  "record": {
14317
14480
  "type": "object",
14318
14481
  "required": [
@@ -14447,7 +14610,7 @@ export const catalog = {
14447
14610
  "group": "pub.techne",
14448
14611
  "kind": "record",
14449
14612
  "key": "any",
14450
- "description": "One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. `any` permits that convention but cannot enforce it. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.",
14613
+ "description": "One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. Readers do not depend on the key: the AppView walks pairs from both ends, so a reversed or repeated pair is the same link. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.",
14451
14614
  "fields": [
14452
14615
  {
14453
14616
  "name": "subject",
@@ -14475,7 +14638,7 @@ export const catalog = {
14475
14638
  "main": {
14476
14639
  "type": "record",
14477
14640
  "key": "any",
14478
- "description": "One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. `any` permits that convention but cannot enforce it. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.",
14641
+ "description": "One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. Readers do not depend on the key: the AppView walks pairs from both ends, so a reversed or repeated pair is the same link. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.",
14479
14642
  "record": {
14480
14643
  "type": "object",
14481
14644
  "required": [
@@ -14842,7 +15005,7 @@ export const catalog = {
14842
15005
  "group": "pub.techne",
14843
15006
  "kind": "record",
14844
15007
  "key": "any",
14845
- "description": "Publishers use sidecar_rkey(subject AT-URI), one per record. `any` permits that convention but cannot enforce it.",
15008
+ "description": "Publishers use sidecar_rkey(subject AT-URI), one per record. Readers mostly find source sidecars by `subject` at any key; the commons curator reads only this key to tell whether a source item is gone upstream.",
14846
15009
  "fields": [
14847
15010
  {
14848
15011
  "name": "subject",
@@ -14892,7 +15055,7 @@ export const catalog = {
14892
15055
  "main": {
14893
15056
  "type": "record",
14894
15057
  "key": "any",
14895
- "description": "Publishers use sidecar_rkey(subject AT-URI), one per record. `any` permits that convention but cannot enforce it.",
15058
+ "description": "Publishers use sidecar_rkey(subject AT-URI), one per record. Readers mostly find source sidecars by `subject` at any key; the commons curator reads only this key to tell whether a source item is gone upstream.",
14896
15059
  "record": {
14897
15060
  "type": "object",
14898
15061
  "required": [
@@ -14958,7 +15121,7 @@ export const catalog = {
14958
15121
  "group": "pub.techne",
14959
15122
  "kind": "record",
14960
15123
  "key": "any",
14961
- "description": "Publishers use an immutable content-derived rkey: changed credit or license content creates a new record and CID; existing content keys are never rewritten. The key:any schema permits this convention but cannot enforce immutability.",
15124
+ "description": "Publishers use an immutable content-derived rkey: changed credit or license content creates a new record and CID; existing content keys are never rewritten. Readers do not depend on the key: a sourceAttribution is read only through a strongRef (uri and cid) that names it.",
14962
15125
  "fields": [
14963
15126
  {
14964
15127
  "name": "createdAt",
@@ -15066,7 +15229,7 @@ export const catalog = {
15066
15229
  }
15067
15230
  }
15068
15231
  },
15069
- "description": "Publishers use an immutable content-derived rkey: changed credit or license content creates a new record and CID; existing content keys are never rewritten. The key:any schema permits this convention but cannot enforce immutability."
15232
+ "description": "Publishers use an immutable content-derived rkey: changed credit or license content creates a new record and CID; existing content keys are never rewritten. Readers do not depend on the key: a sourceAttribution is read only through a strongRef (uri and cid) that names it."
15070
15233
  }
15071
15234
  }
15072
15235
  }),
@@ -15267,7 +15430,7 @@ export const catalog = {
15267
15430
  "group": "pub.techne",
15268
15431
  "kind": "record",
15269
15432
  "key": "any",
15270
- "description": "Publishers use sidecar_rkey(subject AT-URI), one summary per record per writer. `any` permits that convention but cannot enforce it.",
15433
+ "description": "Publishers use sidecar_rkey(subject AT-URI), so a writer's rewrite replaces its one summary. Readers do not depend on the key: the AppView finds summaries by `subject` and its cid and uses the newest from a trusted writer.",
15271
15434
  "fields": [
15272
15435
  {
15273
15436
  "name": "subject",
@@ -15301,7 +15464,7 @@ export const catalog = {
15301
15464
  "main": {
15302
15465
  "type": "record",
15303
15466
  "key": "any",
15304
- "description": "Publishers use sidecar_rkey(subject AT-URI), one summary per record per writer. `any` permits that convention but cannot enforce it.",
15467
+ "description": "Publishers use sidecar_rkey(subject AT-URI), so a writer's rewrite replaces its one summary. Readers do not depend on the key: the AppView finds summaries by `subject` and its cid and uses the newest from a trusted writer.",
15305
15468
  "record": {
15306
15469
  "type": "object",
15307
15470
  "required": [
@@ -15443,7 +15606,7 @@ export const catalog = {
15443
15606
  "group": "pub.techne",
15444
15607
  "kind": "record",
15445
15608
  "key": "any",
15446
- "description": "Publishers use sidecar_rkey(subject AT-URI), so a writer holds one verdict per record, updated when a new version is judged. `any` permits that convention but cannot enforce it.",
15609
+ "description": "Publishers use sidecar_rkey(subject AT-URI), so a writer holds one verdict per record, updated when a new version is judged. Readers do not depend on the key: any trusted verdict naming the subject counts.",
15447
15610
  "fields": [
15448
15611
  {
15449
15612
  "name": "subject",
@@ -15471,7 +15634,7 @@ export const catalog = {
15471
15634
  "main": {
15472
15635
  "type": "record",
15473
15636
  "key": "any",
15474
- "description": "Publishers use sidecar_rkey(subject AT-URI), so a writer holds one verdict per record, updated when a new version is judged. `any` permits that convention but cannot enforce it.",
15637
+ "description": "Publishers use sidecar_rkey(subject AT-URI), so a writer holds one verdict per record, updated when a new version is judged. Readers do not depend on the key: any trusted verdict naming the subject counts.",
15475
15638
  "record": {
15476
15639
  "type": "object",
15477
15640
  "required": [
@@ -15523,7 +15686,7 @@ export const catalog = {
15523
15686
  "group": "pub.techne",
15524
15687
  "kind": "record",
15525
15688
  "key": "any",
15526
- "description": "The record key is the subject DID, so an issuer holds at most one per account. `any` permits that convention but cannot enforce it, so readers count a verification only at rkey = its subject DID.",
15689
+ "description": "The record key is the subject DID, so an issuer holds at most one per account. Enforced by the AppView on read: a verification at any other key is not counted.",
15527
15690
  "fields": [
15528
15691
  {
15529
15692
  "name": "subject",
@@ -15545,7 +15708,7 @@ export const catalog = {
15545
15708
  "main": {
15546
15709
  "type": "record",
15547
15710
  "key": "any",
15548
- "description": "The record key is the subject DID, so an issuer holds at most one per account. `any` permits that convention but cannot enforce it, so readers count a verification only at rkey = its subject DID.",
15711
+ "description": "The record key is the subject DID, so an issuer holds at most one per account. Enforced by the AppView on read: a verification at any other key is not counted.",
15549
15712
  "record": {
15550
15713
  "type": "object",
15551
15714
  "required": [
@@ -17154,6 +17317,11 @@ export const catalog = {
17154
17317
  "community.lexicon.calendar.rsvp"
17155
17318
  ],
17156
17319
  "unbuilt": [
17320
+ {
17321
+ "collection": "pub.techne.draft.accountLink",
17322
+ "space": "pub.techne.draft.space.personal",
17323
+ "cite": "docs/linking-v2.md (b4dfa043): retired. A link is a person row the manageMethods moveMethod op writes, echoed by PLC alsoKnownAs; nothing writes accountLink. Existing records (lucian 2026-11-16: probably none) stay readable by their owner; delete this entry with the lexicon."
17324
+ },
17157
17325
  {
17158
17326
  "collection": "pub.techne.draft.channelVerification",
17159
17327
  "space": "pub.techne.draft.space.personal",
@@ -17253,6 +17421,11 @@ export const catalog = {
17253
17421
  "pub.techne.draft.space.private"
17254
17422
  ],
17255
17423
  "unbuilt": [
17424
+ {
17425
+ "collection": "pub.techne.draft.accountLink",
17426
+ "space": "pub.techne.draft.space.personal",
17427
+ "cite": "docs/linking-v2.md (b4dfa043): retired. A link is a person row the manageMethods moveMethod op writes, echoed by PLC alsoKnownAs; nothing writes accountLink. Existing records (lucian 2026-11-16: probably none) stay readable by their owner; delete this entry with the lexicon."
17428
+ },
17256
17429
  {
17257
17430
  "collection": "pub.techne.draft.channelVerification",
17258
17431
  "space": "pub.techne.draft.space.personal",
@@ -18354,7 +18527,7 @@ export const catalog = {
18354
18527
  "group": "social.scenius",
18355
18528
  "kind": "procedure",
18356
18529
  "class": "write",
18357
- "description": "Let an app read a space: writes the space authority's pub.techne.draft.appAccess for the space and the app, placed in the space. Whoever passes the space type's published manage leg may call it (the owner of a personal space; Facilitator and up for a collective's): the record is written with the authority's pen, which is what the manage leg grants. Approving again is a no-op. A member's request (pub.techne.draft.appAccessRequest) for the same space and app becomes approved. Its only other effect is clearing the request from the approvers' inboxes.",
18530
+ "description": "Let an app read a space: writes the space authority's pub.techne.draft.appAccess for the space and the app, placed in the space. Whoever passes the space type's published manage leg may call it (the owner of a personal space itself, never another account linked to it; Facilitator and up for a collective's, a role held by any of the caller's linked accounts included): the record is written into the authority's repo with the authority's pen, which is what the manage leg grants. Approving again is a no-op. A member's request (pub.techne.draft.appAccessRequest) for the same space and app becomes approved. Its only other effect is clearing the request from the approvers' inboxes.",
18358
18531
  "input": [
18359
18532
  {
18360
18533
  "name": "space",
@@ -18393,7 +18566,7 @@ export const catalog = {
18393
18566
  "defs": {
18394
18567
  "main": {
18395
18568
  "type": "procedure",
18396
- "description": "Let an app read a space: writes the space authority's pub.techne.draft.appAccess for the space and the app, placed in the space. Whoever passes the space type's published manage leg may call it (the owner of a personal space; Facilitator and up for a collective's): the record is written with the authority's pen, which is what the manage leg grants. Approving again is a no-op. A member's request (pub.techne.draft.appAccessRequest) for the same space and app becomes approved. Its only other effect is clearing the request from the approvers' inboxes.",
18569
+ "description": "Let an app read a space: writes the space authority's pub.techne.draft.appAccess for the space and the app, placed in the space. Whoever passes the space type's published manage leg may call it (the owner of a personal space itself, never another account linked to it; Facilitator and up for a collective's, a role held by any of the caller's linked accounts included): the record is written into the authority's repo with the authority's pen, which is what the manage leg grants. Approving again is a no-op. A member's request (pub.techne.draft.appAccessRequest) for the same space and app becomes approved. Its only other effect is clearing the request from the approvers' inboxes.",
18397
18570
  "input": {
18398
18571
  "encoding": "application/json",
18399
18572
  "schema": {
@@ -18449,7 +18622,7 @@ export const catalog = {
18449
18622
  },
18450
18623
  {
18451
18624
  "name": "NotAuthorized",
18452
- "description": "The caller does not pass the space type's manage leg."
18625
+ "description": "The caller does not pass the space type's manage leg: for a personal space, the caller is not its owner (an account linked to the owner is refused too)."
18453
18626
  }
18454
18627
  ]
18455
18628
  }
@@ -19027,6 +19200,12 @@ export const catalog = {
19027
19200
  "type": "string",
19028
19201
  "required": true,
19029
19202
  "description": "The app-binding secret — pass it verbatim to completeMobileOAuth (the login-CSRF binding)."
19203
+ },
19204
+ {
19205
+ "name": "state",
19206
+ "type": "string",
19207
+ "required": false,
19208
+ "description": "The OAuth state this sign-in was begun with (not a secret: the authorization server sends it back on its redirect to redirectUri). An authorization server's hand-back (error=login_required with login_hint) carries it, so the app can act only on a hand-back from its own sign-in. Absent from an AppView older than this field."
19030
19209
  }
19031
19210
  ],
19032
19211
  "doc": ({
@@ -19076,6 +19255,10 @@ export const catalog = {
19076
19255
  "appBinding": {
19077
19256
  "type": "string",
19078
19257
  "description": "The app-binding secret — pass it verbatim to completeMobileOAuth (the login-CSRF binding)."
19258
+ },
19259
+ "state": {
19260
+ "type": "string",
19261
+ "description": "The OAuth state this sign-in was begun with (not a secret: the authorization server sends it back on its redirect to redirectUri). An authorization server's hand-back (error=login_required with login_hint) carries it, so the app can act only on a hand-back from its own sign-in. Absent from an AppView older than this field."
19079
19262
  }
19080
19263
  }
19081
19264
  }
@@ -20694,7 +20877,7 @@ export const catalog = {
20694
20877
  "group": "social.scenius",
20695
20878
  "kind": "procedure",
20696
20879
  "class": "write",
20697
- "description": "Delete the caller's account after checking the code `startAccountDeletion` sent to its own number (or bound email). Removes every row the account owns, the phone anchor, every session and token, the mcp-bridge OAuth vault entries, then the PDS repo and the PLC tombstone for a custodial account. `status` is `deleted` when the whole routine finished and `pending` when the local half committed and the network half has not — in both of these cases (no `scheduledFor`) the caller is signed out everywhere, the account has no public face, and a nightly sweep finishes what is left. The deletion is not undoable. It follows the sign-in method rules (pub.techne.draft.identity.manageMethods): when the method the code proved is not a recovery method, nothing is deleted yet: `status` is `pending` (so a client that knows only `deleted` and `pending` reads it as accepted), `scheduledFor` says when the deletion runs (in 7 days) and `pending` is the waiting change, with notice, cancellable by any of the account's methods; nobody is signed out. `scheduledFor` is present only then. Available through the standard write scope, including the generic MCP door; authentication alone is insufficient because the out-of-band phone code remains mandatory.",
20880
+ "description": "Delete the caller's account after checking the code `startAccountDeletion` sent to its own number (or bound email). Removes every row the account owns, the phone anchor, every session and token, the mcp-bridge OAuth vault entries, then the PDS repo and the PLC tombstone for a custodial account. `status` is `deleted` when the whole routine finished and `pending` when the local half committed and the network half has not — in both of these cases (no `scheduledFor`) the caller is signed out everywhere, the account has no public face, and a nightly sweep finishes what is left. The deletion is not undoable. It follows the sign-in method rules (pub.techne.draft.identity.manageMethods): when the method the code proved is not a recovery method, nothing is deleted yet: `status` is `pending` (so a client that knows only `deleted` and `pending` reads it as accepted), `scheduledFor` says when the deletion runs (in 7 days) and `pending` is the waiting change, with an email notice, if the account has any email method, cancellable by any of the account's methods; nobody is signed out. `scheduledFor` is present only then. Available through the standard write scope, including the generic MCP door; authentication alone is insufficient because the out-of-band phone code remains mandatory.",
20698
20881
  "input": [
20699
20882
  {
20700
20883
  "name": "code",
@@ -20731,7 +20914,7 @@ export const catalog = {
20731
20914
  "defs": {
20732
20915
  "main": {
20733
20916
  "type": "procedure",
20734
- "description": "Delete the caller's account after checking the code `startAccountDeletion` sent to its own number (or bound email). Removes every row the account owns, the phone anchor, every session and token, the mcp-bridge OAuth vault entries, then the PDS repo and the PLC tombstone for a custodial account. `status` is `deleted` when the whole routine finished and `pending` when the local half committed and the network half has not — in both of these cases (no `scheduledFor`) the caller is signed out everywhere, the account has no public face, and a nightly sweep finishes what is left. The deletion is not undoable. It follows the sign-in method rules (pub.techne.draft.identity.manageMethods): when the method the code proved is not a recovery method, nothing is deleted yet: `status` is `pending` (so a client that knows only `deleted` and `pending` reads it as accepted), `scheduledFor` says when the deletion runs (in 7 days) and `pending` is the waiting change, with notice, cancellable by any of the account's methods; nobody is signed out. `scheduledFor` is present only then. Available through the standard write scope, including the generic MCP door; authentication alone is insufficient because the out-of-band phone code remains mandatory.",
20917
+ "description": "Delete the caller's account after checking the code `startAccountDeletion` sent to its own number (or bound email). Removes every row the account owns, the phone anchor, every session and token, the mcp-bridge OAuth vault entries, then the PDS repo and the PLC tombstone for a custodial account. `status` is `deleted` when the whole routine finished and `pending` when the local half committed and the network half has not — in both of these cases (no `scheduledFor`) the caller is signed out everywhere, the account has no public face, and a nightly sweep finishes what is left. The deletion is not undoable. It follows the sign-in method rules (pub.techne.draft.identity.manageMethods): when the method the code proved is not a recovery method, nothing is deleted yet: `status` is `pending` (so a client that knows only `deleted` and `pending` reads it as accepted), `scheduledFor` says when the deletion runs (in 7 days) and `pending` is the waiting change, with an email notice, if the account has any email method, cancellable by any of the account's methods; nobody is signed out. `scheduledFor` is present only then. Available through the standard write scope, including the generic MCP door; authentication alone is insufficient because the out-of-band phone code remains mandatory.",
20735
20918
  "input": {
20736
20919
  "encoding": "application/json",
20737
20920
  "schema": {
@@ -21086,7 +21269,7 @@ export const catalog = {
21086
21269
  "group": "social.scenius",
21087
21270
  "kind": "procedure",
21088
21271
  "class": "write",
21089
- "description": "Tombstone an existing event: the calendar.event record and its config/listing/detail siblings are removed from the event's store. No new record lexicon. Author + authority gated. Idempotent (a missing event returns deleted:false). Confirmed seat-holders are told the event was called off.",
21272
+ "description": "Tombstone an existing event: the calendar.event record and its config/listing/detail siblings are removed from the event's store, and each delete is hinted so a curator following this AppView's stream sees it ahead of the relay; for a public event the call waits up to CURATED_WAIT_MS for the commons' curated copy to go. No new record lexicon. Author + authority gated. Idempotent (a missing event returns deleted:false). Confirmed seat-holders are told the event was called off.",
21090
21273
  "input": [
21091
21274
  {
21092
21275
  "name": "authority",
@@ -21107,6 +21290,12 @@ export const catalog = {
21107
21290
  "type": "boolean",
21108
21291
  "required": true,
21109
21292
  "description": "Whether an event was found and tombstoned."
21293
+ },
21294
+ {
21295
+ "name": "remaining",
21296
+ "type": "array<string>",
21297
+ "required": false,
21298
+ "description": "Copies of the event this call could not remove and did not see go within its wait: the commons' curated copy of a public event, in its curator's repo. The curator withdraws it once it sees the delete, unless another source still lists the same event. Omitted when none is left. Reported only by the call that deleted the event; a repeat call (deleted:false) reports none."
21110
21299
  }
21111
21300
  ],
21112
21301
  "doc": ({
@@ -21115,7 +21304,7 @@ export const catalog = {
21115
21304
  "defs": {
21116
21305
  "main": {
21117
21306
  "type": "procedure",
21118
- "description": "Tombstone an existing event: the calendar.event record and its config/listing/detail siblings are removed from the event's store. No new record lexicon. Author + authority gated. Idempotent (a missing event returns deleted:false). Confirmed seat-holders are told the event was called off.",
21307
+ "description": "Tombstone an existing event: the calendar.event record and its config/listing/detail siblings are removed from the event's store, and each delete is hinted so a curator following this AppView's stream sees it ahead of the relay; for a public event the call waits up to CURATED_WAIT_MS for the commons' curated copy to go. No new record lexicon. Author + authority gated. Idempotent (a missing event returns deleted:false). Confirmed seat-holders are told the event was called off.",
21119
21308
  "input": {
21120
21309
  "encoding": "application/json",
21121
21310
  "schema": {
@@ -21147,6 +21336,14 @@ export const catalog = {
21147
21336
  "deleted": {
21148
21337
  "type": "boolean",
21149
21338
  "description": "Whether an event was found and tombstoned."
21339
+ },
21340
+ "remaining": {
21341
+ "type": "array",
21342
+ "items": {
21343
+ "type": "string",
21344
+ "format": "at-uri"
21345
+ },
21346
+ "description": "Copies of the event this call could not remove and did not see go within its wait: the commons' curated copy of a public event, in its curator's repo. The curator withdraws it once it sees the delete, unless another source still lists the same event. Omitted when none is left. Reported only by the call that deleted the event; a repeat call (deleted:false) reports none."
21150
21347
  }
21151
21348
  }
21152
21349
  }
@@ -21924,7 +22121,7 @@ export const catalog = {
21924
22121
  "group": "social.scenius",
21925
22122
  "kind": "query",
21926
22123
  "class": "read",
21927
- "description": "Whether an app may read a space, derived and never stored: `approved` when the authority's pub.techne.draft.appAccess exists, `pending` when a pub.techne.draft.appAccessRequest counts without one, `none` otherwise. A request counts only while its requester can read the space, and for a caller who is not an approver only the caller's own request counts (an approver sees every request). Nothing stores a denial. `approvers` are who can approve it: the manage-leg holders, or the owner of a personal space. `requesterIsApprover` says the caller is one of them, so approving is one tap and sends no notification. Approvers are notified of a request only when its requester can read the space and is not an approver. Only a reader of the space may ask.",
22124
+ "description": "Whether an app may read a space, derived and never stored: `approved` when the authority's pub.techne.draft.appAccess exists, `pending` when a pub.techne.draft.appAccessRequest counts without one, `none` otherwise. A request counts only while its requester can read the space, and for a caller who is not an approver only requests by the caller's own accounts (its person) count (an approver sees every request). Nothing stores a denial. `approvers` are who can approve it, each an account social.scenius.approveAppAccess accepts: the manage-leg holders, or the owner of a personal space itself (never another account linked to it). `requesterIsApprover` says the caller's own account is one of them, so approving is one tap and sends no notification. Approvers are notified of a request only when its requester can read the space and is not an approver. Only a reader of the space may ask.",
21928
22125
  "params": [
21929
22126
  {
21930
22127
  "name": "space",
@@ -21965,7 +22162,7 @@ export const catalog = {
21965
22162
  "defs": {
21966
22163
  "main": {
21967
22164
  "type": "query",
21968
- "description": "Whether an app may read a space, derived and never stored: `approved` when the authority's pub.techne.draft.appAccess exists, `pending` when a pub.techne.draft.appAccessRequest counts without one, `none` otherwise. A request counts only while its requester can read the space, and for a caller who is not an approver only the caller's own request counts (an approver sees every request). Nothing stores a denial. `approvers` are who can approve it: the manage-leg holders, or the owner of a personal space. `requesterIsApprover` says the caller is one of them, so approving is one tap and sends no notification. Approvers are notified of a request only when its requester can read the space and is not an approver. Only a reader of the space may ask.",
22165
+ "description": "Whether an app may read a space, derived and never stored: `approved` when the authority's pub.techne.draft.appAccess exists, `pending` when a pub.techne.draft.appAccessRequest counts without one, `none` otherwise. A request counts only while its requester can read the space, and for a caller who is not an approver only requests by the caller's own accounts (its person) count (an approver sees every request). Nothing stores a denial. `approvers` are who can approve it, each an account social.scenius.approveAppAccess accepts: the manage-leg holders, or the owner of a personal space itself (never another account linked to it). `requesterIsApprover` says the caller's own account is one of them, so approving is one tap and sends no notification. Approvers are notified of a request only when its requester can read the space and is not an approver. Only a reader of the space may ask.",
21969
22166
  "parameters": {
21970
22167
  "type": "params",
21971
22168
  "properties": {
@@ -25730,6 +25927,12 @@ export const catalog = {
25730
25927
  "type": "boolean",
25731
25928
  "required": true
25732
25929
  },
25930
+ {
25931
+ "name": "blockedBy",
25932
+ "type": "string<did>",
25933
+ "required": false,
25934
+ "description": "Another account of the caller's person (linked, now or before) whose block this is; absent when the block is the caller's own or there is none. Unblock from that account."
25935
+ },
25733
25936
  {
25734
25937
  "name": "hasYourLink",
25735
25938
  "type": "boolean",
@@ -25796,6 +25999,11 @@ export const catalog = {
25796
25999
  "blocked": {
25797
26000
  "type": "boolean"
25798
26001
  },
26002
+ "blockedBy": {
26003
+ "type": "string",
26004
+ "format": "did",
26005
+ "description": "Another account of the caller's person (linked, now or before) whose block this is; absent when the block is the caller's own or there is none. Unblock from that account."
26006
+ },
25799
26007
  "hasYourLink": {
25800
26008
  "type": "boolean"
25801
26009
  },
@@ -27101,7 +27309,7 @@ export const catalog = {
27101
27309
  "group": "social.scenius",
27102
27310
  "kind": "query",
27103
27311
  "class": "read",
27104
- "description": "What an app gets from the caller, for its sign-in to list: every space the caller passes the manage leg of (their own included) whose authority has approved the app, each with the criteria that approval states for future spaces.",
27312
+ "description": "What an app gets from the caller, for its sign-in to list: every space the caller's person passes the manage leg of (the caller's own, and its linked accounts' spaces, included) whose authority has approved the app, each with the criteria that approval states for future spaces.",
27105
27313
  "params": [
27106
27314
  {
27107
27315
  "name": "client",
@@ -27122,7 +27330,7 @@ export const catalog = {
27122
27330
  "defs": {
27123
27331
  "main": {
27124
27332
  "type": "query",
27125
- "description": "What an app gets from the caller, for its sign-in to list: every space the caller passes the manage leg of (their own included) whose authority has approved the app, each with the criteria that approval states for future spaces.",
27333
+ "description": "What an app gets from the caller, for its sign-in to list: every space the caller's person passes the manage leg of (the caller's own, and its linked accounts' spaces, included) whose authority has approved the app, each with the criteria that approval states for future spaces.",
27126
27334
  "parameters": {
27127
27335
  "type": "params",
27128
27336
  "properties": {
@@ -27245,6 +27453,11 @@ export const catalog = {
27245
27453
  "createdAt": {
27246
27454
  "type": "string",
27247
27455
  "format": "datetime"
27456
+ },
27457
+ "blockedBy": {
27458
+ "type": "string",
27459
+ "format": "did",
27460
+ "description": "Another account of the caller's person (linked, now or before) that made this block; absent for the caller's own. Unblock from that account."
27248
27461
  }
27249
27462
  }
27250
27463
  }
@@ -28577,7 +28790,7 @@ export const catalog = {
28577
28790
  "group": "social.scenius",
28578
28791
  "kind": "procedure",
28579
28792
  "class": "write",
28580
- "description": "Invite a subject into a space, at a conferred role, via an opaque single-use claim token — a warm, information-free surface over the invitee's existence (byte-identical `\"sent\"` response regardless of whether the invitee exists, is already a member, or the caller can even see them). The write rule is no-escalation: the caller must hold >= confersRole over the space, read live off claims, or the call is 403 (an authorization failure, distinct from the uniform success surface).",
28793
+ "description": "Invite a subject into a space, at a conferred role, via an opaque single-use claim token — a warm, information-free surface over the invitee's existence (byte-identical `\"sent\"` response regardless of whether the invitee exists, is already a member, or the caller can even see them). The write rule is no-escalation: the caller must hold >= confersRole over the space, read live off claims, and pass the space type's manage leg (the claim is written as the space's authority, so another account linked to the authority never counts as the authority; a role the caller's linked accounts hold in a collective still counts), or the call is 403 (an authorization failure, distinct from the uniform success surface).",
28581
28794
  "input": [
28582
28795
  {
28583
28796
  "name": "space",
@@ -28672,7 +28885,7 @@ export const catalog = {
28672
28885
  "defs": {
28673
28886
  "main": {
28674
28887
  "type": "procedure",
28675
- "description": "Invite a subject into a space, at a conferred role, via an opaque single-use claim token — a warm, information-free surface over the invitee's existence (byte-identical `\"sent\"` response regardless of whether the invitee exists, is already a member, or the caller can even see them). The write rule is no-escalation: the caller must hold >= confersRole over the space, read live off claims, or the call is 403 (an authorization failure, distinct from the uniform success surface).",
28888
+ "description": "Invite a subject into a space, at a conferred role, via an opaque single-use claim token — a warm, information-free surface over the invitee's existence (byte-identical `\"sent\"` response regardless of whether the invitee exists, is already a member, or the caller can even see them). The write rule is no-escalation: the caller must hold >= confersRole over the space, read live off claims, and pass the space type's manage leg (the claim is written as the space's authority, so another account linked to the authority never counts as the authority; a role the caller's linked accounts hold in a collective still counts), or the call is 403 (an authorization failure, distinct from the uniform success surface).",
28676
28889
  "input": {
28677
28890
  "encoding": "application/json",
28678
28891
  "schema": {
@@ -28760,7 +28973,8 @@ export const catalog = {
28760
28973
  "name": "InvalidRequest"
28761
28974
  },
28762
28975
  {
28763
- "name": "NotAuthorized"
28976
+ "name": "NotAuthorized",
28977
+ "description": "The caller holds less than confersRole over the space, or does not pass its manage leg; an account linked to the space's authority does not count as the authority (HTTP 403)."
28764
28978
  }
28765
28979
  ]
28766
28980
  }
@@ -29482,7 +29696,7 @@ export const catalog = {
29482
29696
  "group": "social.scenius",
29483
29697
  "kind": "procedure",
29484
29698
  "class": "write",
29485
- "description": "Operator-only removal of an app's moderated record (one an app registered) and every access/link carrier attached to its space. Closes the named report, or records a closed moderation case when no report ID is supplied. Excluded from every delegable scope class.",
29699
+ "description": "Operator-only removal of an app's moderated record (one an app registered) and every access/link carrier attached to its space. Closes the named report, or records a closed moderation case when no report ID is supplied. Reached only by a call that carries the moderate scope (an operator's sign-in that granted it, or a token such a session minted with it), never by a program's token or another agent token.",
29486
29700
  "input": [
29487
29701
  {
29488
29702
  "name": "subject",
@@ -29521,7 +29735,7 @@ export const catalog = {
29521
29735
  "defs": {
29522
29736
  "main": {
29523
29737
  "type": "procedure",
29524
- "description": "Operator-only removal of an app's moderated record (one an app registered) and every access/link carrier attached to its space. Closes the named report, or records a closed moderation case when no report ID is supplied. Excluded from every delegable scope class.",
29738
+ "description": "Operator-only removal of an app's moderated record (one an app registered) and every access/link carrier attached to its space. Closes the named report, or records a closed moderation case when no report ID is supplied. Reached only by a call that carries the moderate scope (an operator's sign-in that granted it, or a token such a session minted with it), never by a program's token or another agent token.",
29525
29739
  "input": {
29526
29740
  "encoding": "application/json",
29527
29741
  "schema": {
@@ -29568,7 +29782,20 @@ export const catalog = {
29568
29782
  },
29569
29783
  "errors": [
29570
29784
  {
29571
- "name": "NotAuthorized"
29785
+ "name": "AuthenticationRequired",
29786
+ "description": "No signed-in caller."
29787
+ },
29788
+ {
29789
+ "name": "NotAuthorized",
29790
+ "description": "The caller is not an operator, or the call does not carry the moderate scope (HTTP 403)."
29791
+ },
29792
+ {
29793
+ "name": "ProgramRefused",
29794
+ "description": "The caller is a program's token: a program never reaches an operator method (HTTP 403)."
29795
+ },
29796
+ {
29797
+ "name": "InvalidRequest",
29798
+ "description": "`reason` is not a report reason, `subject` is not a record of a type an app registered for moderation, or `reportId` does not name an open report for this subject (HTTP 400)."
29572
29799
  }
29573
29800
  ]
29574
29801
  }
@@ -30506,7 +30733,7 @@ export const catalog = {
30506
30733
  "group": "social.scenius",
30507
30734
  "kind": "procedure",
30508
30735
  "class": "write",
30509
- "description": "Operator-only. Moves one batch of custodial accounts' records from the old lexicon names to the new ones (the platform's dated mapping of old names to new): per account, lists the records under every old name, puts each under its new name with the same rkey, then deletes the old copy only while it is still the copy that was listed and the same record is under the new name; a record edited on either side is left in place and reported. Idempotent and resumable: pass the returned cursor back for the next batch. dryRun (the default) lists and counts only. Excluded from every delegable scope class.",
30736
+ "description": "Operator-only. Moves one batch of custodial accounts' records from the old lexicon names to the new ones (the platform's dated mapping of old names to new): per account, lists the records under every old name, puts each under its new name with the same rkey, then deletes the old copy only while it is still the copy that was listed and the same record is under the new name; a record edited on either side is left in place and reported. Idempotent and resumable: pass the returned cursor back for the next batch. dryRun (the default) lists and counts only. Reached only by a call that carries the moderate scope (an operator's sign-in that granted it, or a token such a session minted with it), never by a program's token or another agent token.",
30510
30737
  "input": [
30511
30738
  {
30512
30739
  "name": "dryRun",
@@ -30587,7 +30814,7 @@ export const catalog = {
30587
30814
  "defs": {
30588
30815
  "main": {
30589
30816
  "type": "procedure",
30590
- "description": "Operator-only. Moves one batch of custodial accounts' records from the old lexicon names to the new ones (the platform's dated mapping of old names to new): per account, lists the records under every old name, puts each under its new name with the same rkey, then deletes the old copy only while it is still the copy that was listed and the same record is under the new name; a record edited on either side is left in place and reported. Idempotent and resumable: pass the returned cursor back for the next batch. dryRun (the default) lists and counts only. Excluded from every delegable scope class.",
30817
+ "description": "Operator-only. Moves one batch of custodial accounts' records from the old lexicon names to the new ones (the platform's dated mapping of old names to new): per account, lists the records under every old name, puts each under its new name with the same rkey, then deletes the old copy only while it is still the copy that was listed and the same record is under the new name; a record edited on either side is left in place and reported. Idempotent and resumable: pass the returned cursor back for the next batch. dryRun (the default) lists and counts only. Reached only by a call that carries the moderate scope (an operator's sign-in that granted it, or a token such a session minted with it), never by a program's token or another agent token.",
30591
30818
  "input": {
30592
30819
  "encoding": "application/json",
30593
30820
  "schema": {
@@ -30669,7 +30896,16 @@ export const catalog = {
30669
30896
  },
30670
30897
  "errors": [
30671
30898
  {
30672
- "name": "NotAuthorized"
30899
+ "name": "AuthenticationRequired",
30900
+ "description": "No signed-in caller."
30901
+ },
30902
+ {
30903
+ "name": "NotAuthorized",
30904
+ "description": "The caller is not an operator, or the call does not carry the moderate scope (HTTP 403)."
30905
+ },
30906
+ {
30907
+ "name": "ProgramRefused",
30908
+ "description": "The caller is a program's token: a program never reaches an operator method (HTTP 403)."
30673
30909
  }
30674
30910
  ]
30675
30911
  },
@@ -32108,7 +32344,7 @@ export const catalog = {
32108
32344
  "group": "social.scenius",
32109
32345
  "kind": "procedure",
32110
32346
  "class": "write",
32111
- "description": "Operator-only account suspension. Ejects every live session, revokes agent tokens, and prevents every session-mint lane from signing the DID in again while leaving the phone identity available for rights requests. Excluded from every delegable scope class.",
32347
+ "description": "Operator-only account suspension. Ejects every live session, revokes agent tokens, and prevents every session-mint lane from signing the DID in again while leaving the phone identity available for rights requests. Reached only by a call that carries the moderate scope (an operator's sign-in that granted it, or a token such a session minted with it), never by a program's token or another agent token.",
32112
32348
  "input": [
32113
32349
  {
32114
32350
  "name": "subject",
@@ -32147,7 +32383,7 @@ export const catalog = {
32147
32383
  "defs": {
32148
32384
  "main": {
32149
32385
  "type": "procedure",
32150
- "description": "Operator-only account suspension. Ejects every live session, revokes agent tokens, and prevents every session-mint lane from signing the DID in again while leaving the phone identity available for rights requests. Excluded from every delegable scope class.",
32386
+ "description": "Operator-only account suspension. Ejects every live session, revokes agent tokens, and prevents every session-mint lane from signing the DID in again while leaving the phone identity available for rights requests. Reached only by a call that carries the moderate scope (an operator's sign-in that granted it, or a token such a session minted with it), never by a program's token or another agent token.",
32151
32387
  "input": {
32152
32388
  "encoding": "application/json",
32153
32389
  "schema": {
@@ -32194,7 +32430,20 @@ export const catalog = {
32194
32430
  },
32195
32431
  "errors": [
32196
32432
  {
32197
- "name": "NotAuthorized"
32433
+ "name": "AuthenticationRequired",
32434
+ "description": "No signed-in caller."
32435
+ },
32436
+ {
32437
+ "name": "NotAuthorized",
32438
+ "description": "The caller is not an operator, or the call does not carry the moderate scope (HTTP 403)."
32439
+ },
32440
+ {
32441
+ "name": "ProgramRefused",
32442
+ "description": "The caller is a program's token: a program never reaches an operator method (HTTP 403)."
32443
+ },
32444
+ {
32445
+ "name": "InvalidRequest",
32446
+ "description": "`reason` is not a report reason, `subject` is not a DID, or `reportId` does not name an open report for this subject (HTTP 400)."
32198
32447
  }
32199
32448
  ]
32200
32449
  }
@@ -32207,7 +32456,7 @@ export const catalog = {
32207
32456
  "group": "social.scenius",
32208
32457
  "kind": "procedure",
32209
32458
  "class": "write",
32210
- "description": "Delete the caller's private block claim for a DID. Previously withdrawn shares and contacts are not restored. Idempotent.",
32459
+ "description": "Delete the caller's private block claims for a DID and every DID ever linked with it. Previously withdrawn shares and contacts are not restored. Idempotent. When a block another account of the caller's person made is left, answers 409 BlockedByOtherAccount (the message names that account; unblock from there).",
32211
32460
  "input": [
32212
32461
  {
32213
32462
  "name": "subject",
@@ -32228,7 +32477,7 @@ export const catalog = {
32228
32477
  "defs": {
32229
32478
  "main": {
32230
32479
  "type": "procedure",
32231
- "description": "Delete the caller's private block claim for a DID. Previously withdrawn shares and contacts are not restored. Idempotent.",
32480
+ "description": "Delete the caller's private block claims for a DID and every DID ever linked with it. Previously withdrawn shares and contacts are not restored. Idempotent. When a block another account of the caller's person made is left, answers 409 BlockedByOtherAccount (the message names that account; unblock from there).",
32232
32481
  "input": {
32233
32482
  "encoding": "application/json",
32234
32483
  "schema": {
@@ -32257,7 +32506,12 @@ export const catalog = {
32257
32506
  }
32258
32507
  }
32259
32508
  }
32260
- }
32509
+ },
32510
+ "errors": [
32511
+ {
32512
+ "name": "BlockedByOtherAccount"
32513
+ }
32514
+ ]
32261
32515
  }
32262
32516
  }
32263
32517
  })