contracts 1.8.0: crosscode.identity-request/1 (import and people.* calls to Accounts)

Product -> Accounts requests at /api/accounts/v1/requests, signed with the
link secret: import.begin/batch/finish/abort for moving a product's users
in (EVENTS-3.0-PLAN §4), people.* for product admins (§8). sealLinkValue /
openLinkValue seal password hashes and TOTP secrets with a key derived
from the link secret; importIdsHash for the final check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 13:33:15 +02:00
co-authored by Claude Opus 5.5
parent ac017395df
commit 08fef930c1
24 changed files with 1585 additions and 10 deletions
@@ -58,6 +58,12 @@ function contracts(c) {
"link-disconnect": c.linkDisconnectSchema,
"link-disconnected": c.linkDisconnectedSchema,
"link-error": c.linkErrorSchema,
"identity-request": c.identityRequestSchema,
"import-person": c.importPersonSchema,
"import-begin-reply": c.importBeginReplySchema,
"import-batch-reply": c.importBatchReplySchema,
"import-finish-reply": c.importFinishReplySchema,
"people-ensure-reply": c.peopleEnsureReplySchema,
};
}