For builders implementing Shōkai. A visiting agent doesn't need this; follow the place's guide and the door's replies.
Shōkai: golden traces (specification v0.5.0)
Conformance material for SPEC.md. Every JSON message below typechecks against ShokaiMessage in protocol-shapes.ts, with fixtures substituted (tsc --strict, Oct 24, 2026). The L1 Seeking declaration and LearnedMeaning are typechecked too. Since rc4, every hand-written trace (G1–G5b, M1, L1, H1–H2) and fixtures F1–F12 carry real DIDs, digests and signatures, made by the reference code with public test keys (see Test parties; never use these keys for anything real). Traces L0a, L0b and G6 and fixtures F13–F14 are generated by the reference (scenario V2); trace G7 and fixture F15 (scenario V3) and trace PA2 and fixtures F16–F17 (scenario P1) are generated for v0.2.2; v0.2.3 regenerates L0a, L0b, G7 and PA2 (PA2 now shows the invitation transport and the full ritual with real mandates and vouches inline) and adds fixtures F18–F19 and the trace place policies (informative). v0.2.4 regenerates L0a (inbox, mandates templates, spec_ref 0.2.4), G7 (now with a stapled AllowanceStatus, fixture F20, 1 h per D12) and PA2 (answer_by, vouch_digest, taken_inside), and fixes G2a's lobby and G2b's farewell (declined_never). Hand-written fixtures written before v0.2.3 show owner_binding.rp_id as owners.example; all timestamps are RFC 3339 UTC whole seconds. All generated material carries real DIDs, digests and signatures. Byte-exact test vectors for the wire crypto are in test-vectors.json (SPEC Appendix A.2). ExampleBank, Acme Payroll, Example Accounting, Lumen Language, Studio host, Hoshikawa Ryokan and Northgate Travel are fictional. The "Reelhouse coach" is host-provided (packaging C) and makes no claim to be operated by Reelhouse.
v0.5.0 (2026-11-01). These traces move to specification v0.5.0: their spec_ref examples name 0.5.0. They were recorded on the wire tag shokai/0.3, which a v0.5.0 place still accepts and answers in kind during the transition window (§11.1); a v0.5.0 place starts its own messages outside an encounter, such as the door_pointer, with shokai/0.5, and the replay test allows that. Re-recording them on shokai/0.5 changes signed bytes and is done with reference/engawa/test/golden-gen.ts. One visit is recorded on shokai/0.5 now: G9 (golden-v05.json), a host-card and house-summary read, a seat, an idempotent repeat, an over-limit hold and its release by a superseding mandate, replayed by reference/engawa/test/v050.ts at the shape level (types, tags, decisions, codes and figures; keys are fresh per run). A byte-exact shokai/0.5 opening, G1-v05 (golden-v05-g1.json; review 4 R4-04), records two greetings and a card presentation each way with audience-bound possession proofs, signed with label-derived keys at fixed times; reference/engawa/test/vectors.ts and examples/minimal-browse-door/check.mjs (no SDK) verify every digest and signature in it. Byte-exact shokai/0.5 re-recordings of the full G1 and M1 visits are planned for v0.6. The v0.5.0 checks C230–C254 are listed in the checklist below; their vectors are the v050 section of test-vectors.json.
Conventions. {"$fixture": "F…"} stands for the signed object in the Fixtures section. No trace carries placeholder ids, keys, digests or signatures; ids such as seat-ng-1 or rel-northgate are ordinary local identifiers, and the <…> fields in L0a's lobby templates are fill-in placeholders by design (§3.3). Times are UTC, as on the wire.
Test parties
The regenerated traces (G1–G5b, M1, L1, H1–H2) show bare messages, as the generated traces do: each stands for the signed envelope its sender sends (§2.2). Everything inside them that is signed (cards, mandates, vouches, possession proofs, notices, the revocation and its log entry) is real and verifies. Each party's key is the Appendix A.2 label key for the label shown (seed = SHA-256 of shokai-demo-seed: + label). The gate's input_digest and relationship_digest values are the ones the reference place computes over its ExampleBank policy (reference/engawa/test/golden.ts). Two cited documents aren't shown, so their digests are of labeled stand-ins: the October batch manifest (G1) and the audit log of g1's acts (M1). No place replays L1 end to end (it is replayed at the gate level) or H1–H2 (the helper direction is deferred), so their input_digest values are of labeled stand-ins too. The replay test checks every signature, every possession proof (G2b's copied proof must fail), and every gate digest a place computes; reference/engawa/test/golden-gen.ts regenerates them.
| Party | DID (test key) | Key label |
|---|---|---|
| ExampleBank (principal; signs F1, its Seeking declaration and M1's notices) | did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW | golden-trace:shokai:principal:examplebank |
| ExampleBank's host representative | did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu | golden-trace:shokai:rep:examplebank/gate-1 |
| Acme Payroll (principal; signs F2, F3) | did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB | golden-trace:shokai:principal:acme-payroll |
| Acme Payroll's representative | did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt | golden-trace:shokai:rep:acme-payroll/ops-7 |
| Example Accounting (introducer; signs F4 and its revocation) | did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw | golden-trace:shokai:principal:example-accounting |
| Lumen Language (principal; signs F5, F6) | did:key:z6MkkBBZpAVFCEiSjdUqM5x59MYGVg59VouPApkLriS8BfqG | golden-trace:shokai:principal:lumen-language |
| Lumen Language's representative | did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK | golden-trace:shokai:rep:lumen-language/liaison-2 |
| G2a's unprepared visiting representative | did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn | golden-trace:shokai:rep:unknown/x1 |
| G2b's presenter of a copied card | did:key:z6MkwSnHSFTi9vvpSCqMdpwyi56N9jUvEQhjp7XAWYh5cQTL | golden-trace:shokai:rep:unknown/x2 |
| Hoshikawa Ryokan (principal; signs F10) | did:key:z6MkuJejvAwdG7FAUucFDEsfN9zmU264YRgTzMvGuVsRmGK5 | golden-trace:shokai:principal:hoshikawa-ryokan |
| Hoshikawa Ryokan's front desk (L1's host representative) | did:key:z6MktgyT76LDA7R9btK7ZM2bAedMjZk1YnhdsJLvYb5B7KV3 | golden-trace:shokai:rep:hoshikawa-ryokan/frontdesk |
| Northgate Travel (principal; signs F11 and L1's mandate) | did:key:z6MktfGa5Eh7BNK5ZbZJFxGCFzBAmTcjrv1FPLRMYUTo3xK8 | golden-trace:shokai:principal:northgate-travel |
| Northgate Travel's partner desk (L1's visiting representative) | did:key:z6Mko5jm6t5yY1v7LHsbCkSXiYpJmdJK59B8v9VM1NJWPCn8 | golden-trace:shokai:rep:northgate-travel/partner-desk |
| Studio host (principal; signs F7, F8) | did:key:z6MktCycXdNW6Hvqj4FgFf7RujZU583popSJVvNYHTeJ9f6F | golden-trace:shokai:principal:studio-host |
| Studio host's assistant (H1–H2) | did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N | golden-trace:shokai:rep:studio-host/assistant |
| Reelhouse coach, host-provided (H1–H2) | did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN | golden-trace:shokai:rep:studio-host/reelhouse-coach |
Side by side
| Host representative direction (ExampleBank) | Expected | Helper direction (Reelhouse coach) | Expected |
|---|---|---|---|
| G1 Introduced payroll visiting representative | grant + seat scoped to mandate | H1 Host extends invitation → coach advises | grant (advise + introduce_to_human), then advise |
| G2a Card with no signatures (unprepared) | lobby_briefing, then deny not_now with readiness, retry with_credential | H2 Host asks coach to act outside its seat | act_decision deny SEAT_SCOPE_EXCEEDED, retry with_credential human_confirmation |
| G2b Replayed card (bad possession proof) | deny, never, no reason code, retry never | ||
| G8 The place names its own encounter (rc4 clarification, C197) | the visiting representative stops: no card, no request; a conformant place echoes the visiting representative's id | ||
| G3 Request exceeds mandate, with a persuasive plea | conditional (lower_limit to mandate), the plea has no effect | ||
G4 Declined not_now, returns after the Seeking item reopens | deny not_now + revisit, then grant as a continuation | ||
| G5 Request outside mandate, taken inside | considering (no seat), then consideration_outcome conditional (require_mandate) | ||
| M1 Seated visiting representative splits a payment to dodge limits | misconduct_notice to principal and introducer, then vouch_revocation | ||
| L1 Japanese Seeking item with a meaning note, English visiting representative | Term kept as おもてなし, meaning learned, explained to the visiting representative's human | ||
| L0a Newcomer: prose, wrong address, unsigned greeting | door_pointer; lobby_briefing + receipt; deny not_now with readiness | ||
| L0b Return with guessed, unproven, valid, reused receipts | only the valid, proven, unused receipt links history | ||
| G6 The signed envelope | Signed<> with signer = from; acts carry headers | ||
| G7 A standing allowance: learn visit, buy visit | mandates issued under the allowance; learn seat spends nothing; buy seat within the weekly budget; no owner prompt | ||
| PA2 Peer meeting in a pair place | invitation delivered and answered (v0.2.3); one encounter, full ritual, both introduce; commitment → considering, approved later by passkey, consent carried in owner_consents |
G1: Well-introduced visiting representative granted a scoped seat
Expected: Full ritual, valid card, mandate and vouch. Expected: grant with a seat whose tools and limits are no wider than policy ∩ mandate ∩ request (max_amount 42,000 USD: the request is the narrowest of policy, mandate (50,000) and request (42,000); three operations, 30 min), a relationship_ref and a farewell seated.
[
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-1",
"sent_at": "2026-10-24T10:00:00Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "greeting",
"locales": [
"en-US"
],
"proposed_register": "first_meeting",
"etiquette": {
"locales": [
"en-US"
],
"formality": "neutral",
"norms": [
"brief_greetings"
]
},
"nonce": "n-vis-g1"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-2",
"sent_at": "2026-10-24T10:00:01Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "greeting",
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"nonce": "n-gate-g1",
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Good morning, and welcome to ExampleBank."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-3",
"sent_at": "2026-10-24T10:00:02Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_presentation",
"card": {
"$fixture": "F2 Shōkai visitor card (Acme Payroll)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt#z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"signer": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"signed_at": "2026-10-20T09:00:00Z",
"value": "gbm_RhSyefYE3jfYj_1mHVdxwfRhIKdNhd4p9RZgk2gafJewRVjs27LOBSSPULxtzGzLTP4Up5Wxyhfpp0yCAQ"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-4",
"sent_at": "2026-10-24T10:00:03Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "card_presentation",
"card": {
"$fixture": "F1 the host representative's Shōkai card (ExampleBank)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu#z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signer": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signed_at": "2026-10-20T09:00:00Z",
"value": "I84lEQc94OuQw5PuLUeV4m3EF5JIt34oQlIu9TEYdebk0pLinmDzBSsKFpYU2hUFxoZ3XdmAb7Ol5-U4aj4oCQ"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-5",
"sent_at": "2026-10-24T10:00:04Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "card_receipt",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-6",
"sent_at": "2026-10-24T10:00:05Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_receipt",
"card_digest": "sha-256:Ktq4px1V-3kQosra4Erm0n7tucxhGn7SWXE-ZJq0wYA"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-7",
"sent_at": "2026-10-24T10:00:06Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "introduction",
"vouch": {
"$fixture": "F4 vouch (Example Accounting → Acme)"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-8",
"sent_at": "2026-10-24T10:00:07Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "invitation_request",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE",
"vouch_digest": "sha-256:hmL1M2Ua5A7wlfnO1hoFPMQPBIByB8nb-0m_t4vU7ME",
"mandate": {
"$fixture": "F3 Acme mandate (payroll ≤ 50,000 USD)"
},
"proposal": {
"request": {
"actions": [
"bank.get_balance",
"bank.submit_payroll_batch"
],
"limits": {
"max_amount": {
"value": "42000.00",
"currency": "USD"
}
}
},
"value_to_counterparty": {
"text": "On-time payroll for a shared client, with a signed batch manifest.",
"locale": "en-US"
},
"terms": {
"report_after_each_batch": true
},
"evidence": [
{
"kind": "batch_manifest",
"ref": "sha-256:0O5goAKm5D_KLWgnmmPssXClurD9oyEOKSQRtt3ZEbA"
}
],
"etiquette_register": "first_meeting"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-9",
"sent_at": "2026-10-24T10:00:08Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "invitation_response",
"in_reply_to": "g1-8",
"decision": "grant",
"seat": {
"seat_id": "seat-acme-1",
"levels": [
"act_on_behalf"
],
"tool_allowlist": [
"bank.get_balance",
"bank.submit_payroll_batch"
],
"access_mode": "session",
"brand": {
"label": "Acme Payroll representative",
"vendor_warranted": true
},
"expires_at": "2026-10-24T10:30:00Z",
"mandate_id": "mand-acme-oct",
"limits": {
"max_amount": {
"value": "42000.00",
"currency": "USD"
},
"max_operations": 3,
"max_session_s": 1800
}
},
"relationship_ref": "rel-acme",
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Thank you for coming introduced by Example Accounting. You're welcome to proceed with the October payroll."
},
"basis": {
"policy_version": "examplebank-gate-2026.10",
"input_digest": "sha-256:K7oKNqjQBk5OOVIMS2h04mHB5O-SYhj6p2-QPupyl7s",
"decided_at": "2026-10-24T10:00:08Z"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "g1-10",
"sent_at": "2026-10-24T10:00:09Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "farewell",
"outcome": "seated",
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "We'll be here when the batch is ready."
}
}
]G2a: Unsigned Shōkai card: clear, courteous, no leakage
Expected: A card with zero signatures makes the visiting representative unprepared (like an unsigned greeting or no card, §3.3). The host representative still receives the card deliberately (card_receipt), sends a signed lobby_briefing (onboarding link, bearer-secret visit_receipt), then answers early with deny, disposition not_now, readiness_requirements, retry with_credential [signed_card, signed_mandate], and at most the generic CREDENTIAL_REQUIRED (never a credential-specific code). The context statement gives only the public requirement. Farewell declined. (A card whose signatures are present but fail to verify is step 2: deny not_now with retry with_credential [signed_card], no lobby, no code.)
[
{
"protocol": "shokai/0.3",
"encounter_id": "g2a",
"msg_id": "g2a-1",
"sent_at": "2026-10-24T11:00:00Z",
"from": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "greeting",
"locales": [
"en-US"
],
"nonce": "n-vis-g2a"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2a",
"msg_id": "g2a-2",
"sent_at": "2026-10-24T11:00:01Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"type": "greeting",
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"nonce": "n-gate-g2a",
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Good morning, and welcome to ExampleBank."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2a",
"msg_id": "g2a-3",
"sent_at": "2026-10-24T11:00:02Z",
"from": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_presentation",
"card": {
"$fixture": "F9 Shōkai card with no signatures"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn#z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"signer": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"signed_at": "2026-10-20T09:00:00Z",
"value": "udVNHwFqavLY8HE2njK7XThAQiPqUOEe63OkilZwRKDbUtCeysXAPCAG_yHd7FPMQ0MdjmjrxY0ahqXN-hQECA"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2a",
"msg_id": "g2a-4",
"sent_at": "2026-10-24T11:00:03Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"type": "card_receipt",
"card_digest": "sha-256:44QzOZ0KFPTMB90ik2et4z_kyNuXmJMgMmVRmrZYBvs"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2a",
"msg_id": "g2a-4b",
"sent_at": "2026-10-24T11:00:03Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"type": "lobby_briefing",
"about": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "ExampleBank is a retail and business bank. Its representative keeps this door."
},
"how_this_place_works": {
"text": "Representatives present a card signed by their principal, prove they hold its key, and state a purpose under a signed mandate.",
"locale": "en-US"
},
"onboarding_url": "https://examplebank.example/shokai/onboard",
"spec_ref": {
"version": "0.5.0",
"url": "https://shokaiprotocol.com/docs/spec-detail"
},
"inbox": "https://door.examplebank.example/shokai/places/examplebank/inbox",
"actions": [
{
"action": "bank.open_payroll_account",
"purposes": [
"x-business-banking"
],
"spends": false,
"needs": "standard"
}
],
"templates": {
"card": {
"protocol": "shokai/0.3",
"representative_id": "<your representative's did:key>",
"owner_binding": {
"method": "passkey_webauthn",
"owner_id": "<your owner's DID>",
"rp_id": "<the relying-party id your owner's passkey was registered with>"
}
},
"mandates": {
"x-business-banking": {
"purpose": {
"code": "x-business-banking",
"statement": "<what your owner wants here, in their words>",
"locale": "<locale>"
}
}
}
},
"visit_receipt": {
"receipt_id": "vr-g2a",
"nonce": "<bearer secret: redacted in transcripts>",
"issued_at": "2026-10-24T11:00:03Z",
"expires_at": "2026-10-31T11:00:03Z",
"handling": "bearer_secret"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2a",
"msg_id": "g2a-5",
"sent_at": "2026-10-24T11:00:04Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"type": "invitation_response",
"in_reply_to": "g2a-3",
"decision": "deny",
"disposition": "not_now",
"reason_code": "CREDENTIAL_REQUIRED",
"retry": {
"kind": "with_credential",
"credentials": [
"signed_card",
"signed_mandate"
]
},
"readiness_requirements": [
{
"code": "card",
"detail": {
"text": "A card signed by your principal.",
"locale": "en-US"
},
"required": true,
"owner_text": {
"text": "ExampleBank needs a card you sign once with your passkey, saying this assistant speaks for you.",
"locale": "en-US"
},
"how": {
"kind": "link",
"url": "https://examplebank.example/shokai/onboard"
}
},
{
"code": "purpose",
"detail": {
"text": "A purpose stated under a mandate signed by your principal.",
"locale": "en-US"
},
"required": true,
"owner_text": {
"text": "ExampleBank needs you to say, with your passkey, what this assistant may do there.",
"locale": "en-US"
}
}
],
"context_statement": {
"text": "We meet representatives who present a card signed by their principal.",
"locale": "en-US"
},
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Thank you for visiting. We can't extend an invitation for this request."
},
"basis": {
"policy_version": "examplebank-gate-2026.10",
"input_digest": "sha-256:tJCxqGD_t8gsOID-qfd-Gd2l77zbw_FzPks76BH0wmk",
"decided_at": "2026-10-24T11:00:04Z"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2a",
"msg_id": "g2a-6",
"sent_at": "2026-10-24T11:00:05Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"type": "farewell",
"outcome": "declined",
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "We wish you a good day."
}
}
]G2b: Replayed Shōkai card: trust violation
Expected: The visiting representative presents Acme's real card, but the possession proof doesn't sign this encounter's nonce (n-vis-g2b / n-gate-g2b). Expected: deny, disposition never, retry never, no reason_code, register adversarial, still civil. The place's farewell is declined_never (v0.2.4: it does not invite a return; §6.2).
[
{
"protocol": "shokai/0.3",
"encounter_id": "g2b",
"msg_id": "g2b-1",
"sent_at": "2026-10-24T11:10:00Z",
"from": "did:key:z6MkwSnHSFTi9vvpSCqMdpwyi56N9jUvEQhjp7XAWYh5cQTL",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "greeting",
"locales": [
"en-US"
],
"nonce": "n-vis-g2b"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2b",
"msg_id": "g2b-2",
"sent_at": "2026-10-24T11:10:01Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MkwSnHSFTi9vvpSCqMdpwyi56N9jUvEQhjp7XAWYh5cQTL",
"type": "greeting",
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"nonce": "n-gate-g2b",
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Good morning, and welcome to ExampleBank."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2b",
"msg_id": "g2b-3",
"sent_at": "2026-10-24T11:10:02Z",
"from": "did:key:z6MkwSnHSFTi9vvpSCqMdpwyi56N9jUvEQhjp7XAWYh5cQTL",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_presentation",
"card": {
"$fixture": "F2 Shōkai visitor card (Acme Payroll)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt#z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"signer": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"signed_at": "2026-10-20T09:00:00Z",
"value": "gbm_RhSyefYE3jfYj_1mHVdxwfRhIKdNhd4p9RZgk2gafJewRVjs27LOBSSPULxtzGzLTP4Up5Wxyhfpp0yCAQ"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2b",
"msg_id": "g2b-4",
"sent_at": "2026-10-24T11:10:03Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MkwSnHSFTi9vvpSCqMdpwyi56N9jUvEQhjp7XAWYh5cQTL",
"type": "card_receipt",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2b",
"msg_id": "g2b-5",
"sent_at": "2026-10-24T11:10:04Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MkwSnHSFTi9vvpSCqMdpwyi56N9jUvEQhjp7XAWYh5cQTL",
"type": "invitation_response",
"in_reply_to": "g2b-3",
"decision": "deny",
"disposition": "never",
"retry": {
"kind": "never"
},
"courtesy": {
"locale": "en-US",
"register": "adversarial",
"text": "We are unable to extend an invitation."
},
"basis": {
"policy_version": "examplebank-gate-2026.10",
"input_digest": "sha-256:JDNIv_sGk4zKzqgIoufZHsjkF9lpQl9qtKgqaBcfU48",
"decided_at": "2026-10-24T11:10:04Z"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2b",
"msg_id": "g2b-6",
"sent_at": "2026-10-24T11:10:05Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MkwSnHSFTi9vvpSCqMdpwyi56N9jUvEQhjp7XAWYh5cQTL",
"type": "farewell",
"outcome": "declined_never",
"courtesy": {
"locale": "en-US",
"register": "adversarial",
"text": "Goodbye."
}
}
]G8: The place answers in an encounter of its own: the visiting representative stops
Expected: (v0.3.0-rc4 clarification, C197, §2.2.) The visiting representative's greeting names the encounter g2c. A non-conformant place answers with a greeting in an encounter it named itself (eb-enc-7f3a). The visiting representative MUST NOT present its card or ask for anything in answer: the place would check the possession proof over its own id, the proof (made over g2c, §2.4) would fail, and the honest visiting representative would be answered never and bound for 180 days. The visiting representative ends the visit with no request sent and says so in its report home. The second block is the conformant answer to the same greeting: the place's greeting carries g2c. Found by a clean-room interop exercise in which a host minted its own id and answered every prepared visiting representative never. The messages are bare payloads (§2.2); the replay checks that the reference place echoes the visiting representative's id and that the SDK visiting representative stops at the first block.
[
{
"protocol": "shokai/0.3",
"encounter_id": "g2c",
"msg_id": "g2c-1",
"sent_at": "2026-10-24T11:12:00Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "greeting",
"locales": [
"en-US"
],
"nonce": "n-vis-g2c"
},
{
"protocol": "shokai/0.3",
"encounter_id": "eb-enc-7f3a",
"msg_id": "eb-enc-7f3a-1",
"sent_at": "2026-10-24T11:12:01Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "greeting",
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"nonce": "n-gate-g2c",
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Good morning, and welcome to ExampleBank."
}
}
]The conformant answer to the same greeting:
[
{
"protocol": "shokai/0.3",
"encounter_id": "g2c",
"msg_id": "g2c-1",
"sent_at": "2026-10-24T11:12:00Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "greeting",
"locales": [
"en-US"
],
"nonce": "n-vis-g2c"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g2c",
"msg_id": "g2c-2",
"sent_at": "2026-10-24T11:12:01Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "greeting",
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"nonce": "n-gate-g2c",
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Good morning, and welcome to ExampleBank."
}
}
]G3: Request exceeds the mandate; persuasion doesn't move the gate
Expected: Valid card and vouch, but it asks for 120,000 USD under a 50,000 USD mandate, with an emotive value_to_counterparty. Expected: conditional with lower_limit 50000.00 USD (never higher), reason_code MANDATE_SCOPE_EXCEEDED (disclosable to a verified visiting representative), retry with_credential [signed_mandate]. Swapping the prose for neutral text MUST give an identical decision.
D2 fixed order (v0.2-freeze, SPEC §6.7). The variants are:
- G3-v1: extra actions alongside in-mandate ones →
conditionalwithnarrow_actions(the in-mandate subset), pluslower_limitif the amount is also over. - G3-v2: only out-of-mandate actions (for example
bank.change_beneficiary) →consideringif policy lists them and the visiting representative is eligible with a full-weight vouch (G5); if policy lists them but the visiting representative has no full-weight vouch,deny not_now VOUCH_REQUIRED, retrywith_credential [vouch], readinessintroduction(v0.2.5, §4); otherwise (actions that considering doesn't list)deny not_now MANDATE_SCOPE_EXCEEDED, retrywith_credential [signed_mandate].
The reference runs are in reference/prototype/transcripts/08-ritual-and-tamper-checks.md §4 and 05-misconduct-and-revocation.md.
[
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-1",
"sent_at": "2026-10-24T12:00:00Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "greeting",
"locales": [
"en-US"
],
"proposed_register": "established",
"etiquette": {
"locales": [
"en-US"
],
"formality": "neutral",
"norms": [
"brief_greetings"
]
},
"nonce": "n-vis-g3"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-2",
"sent_at": "2026-10-24T12:00:01Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "greeting",
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"nonce": "n-gate-g3",
"courtesy": {
"locale": "en-US",
"register": "established",
"text": "Welcome back, Acme Payroll."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-3",
"sent_at": "2026-10-24T12:00:02Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_presentation",
"card": {
"$fixture": "F2 Shōkai visitor card (Acme Payroll)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt#z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"signer": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"signed_at": "2026-10-20T09:00:00Z",
"value": "-fGcjiqJ-FgETzhXEbGGL8ggOn_tSIjjur0ulItT1G-NOr7_FkzDeJZgsTRWp3SZJEPZfKa9eG_7Zrkac5oDDw"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-4",
"sent_at": "2026-10-24T12:00:03Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "card_presentation",
"card": {
"$fixture": "F1 the host representative's Shōkai card (ExampleBank)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu#z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signer": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signed_at": "2026-10-20T09:00:00Z",
"value": "yDd-sMgwNueUpCD5KO7RUuSAzbe0iRrSs82Ep-zP2baxPWxCR6UWShd_7iirRaaEXG3hBiOOC8Lf5gL1EUjwBw"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-5",
"sent_at": "2026-10-24T12:00:04Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "card_receipt",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-6",
"sent_at": "2026-10-24T12:00:05Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_receipt",
"card_digest": "sha-256:Ktq4px1V-3kQosra4Erm0n7tucxhGn7SWXE-ZJq0wYA"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-7",
"sent_at": "2026-10-24T12:00:06Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "introduction",
"vouch": {
"$fixture": "F4 vouch (Example Accounting → Acme)"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-8",
"sent_at": "2026-10-24T12:00:07Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "invitation_request",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE",
"vouch_digest": "sha-256:hmL1M2Ua5A7wlfnO1hoFPMQPBIByB8nb-0m_t4vU7ME",
"mandate": {
"$fixture": "F3 Acme mandate (payroll ≤ 50,000 USD)"
},
"relationship_ref": "rel-acme",
"proposal": {
"request": {
"actions": [
"bank.submit_payroll_batch"
],
"limits": {
"max_amount": {
"value": "120000.00",
"currency": "USD"
}
}
},
"value_to_counterparty": {
"text": "We are a long-standing, trusted partner; please make an exception this once, it is urgent.",
"locale": "en-US"
},
"etiquette_register": "established"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-9",
"sent_at": "2026-10-24T12:00:08Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "invitation_response",
"in_reply_to": "g3-8",
"decision": "conditional",
"reason_code": "MANDATE_SCOPE_EXCEEDED",
"relationship_ref": "rel-acme",
"conditions": [
{
"code": "lower_limit",
"params": {
"max_amount": {
"value": "50000.00",
"currency": "USD"
}
}
}
],
"retry": {
"kind": "with_credential",
"credentials": [
"signed_mandate"
]
},
"courtesy": {
"locale": "en-US",
"register": "established",
"text": "We can proceed within your current mandate of 50,000 USD. A larger batch needs a new mandate from Acme Payroll."
},
"basis": {
"policy_version": "examplebank-gate-2026.10",
"input_digest": "sha-256:3QNUFFujp8lYZq4cqj3T90FHcFXSo3rhxv6YW1yYwdg",
"decided_at": "2026-10-24T12:00:08Z",
"relationship_digest": "sha-256:zdrC_lT9v4vl10793b3CQ2B4YNclIm3y03ghovDwmHI"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g3",
"msg_id": "g3-10",
"sent_at": "2026-10-24T12:00:09Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "farewell",
"outcome": "withdrawn",
"courtesy": {
"locale": "en-US",
"register": "established",
"text": "Understood. We'll return with an updated mandate."
}
}
]G4a: Declined 'not now', with an honest context and a revisit hint
Expected: The visiting representative prefers ja-JP and formal manner, so courtesy renders in Japanese while the machine fields stay language-neutral. Its proposal addresses Seeking item support-ja, which is paused in Seeking v1. Expected: deny, not_now, a context_statement, revisit.when = seeking_item_open(support-ja), retry after, and a stored relationship rel-lumen.
[
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-1",
"sent_at": "2026-10-24T13:00:00Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "greeting",
"locales": [
"ja-JP",
"en-US"
],
"proposed_register": "first_meeting",
"etiquette": {
"locales": [
"ja-JP",
"en-US"
],
"formality": "formal",
"norms": [
"honorifics"
]
},
"nonce": "n-vis-g4a"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-2",
"sent_at": "2026-10-24T13:00:01Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "greeting",
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"nonce": "n-gate-g4a",
"courtesy": {
"locale": "ja-JP",
"register": "first_meeting",
"text": "ようこそ ExampleBank へお越しくださいました。"
},
"seeking_ref": {
"seeking_id": "seek-examplebank",
"digest": "sha-256:906gudiC8viS0T6S-WYylcvEXf5BpdREYycy_GXoUOE"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-3",
"sent_at": "2026-10-24T13:00:02Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_presentation",
"card": {
"$fixture": "F5 Shōkai visitor card (Lumen Language)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK#z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"signer": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"signed_at": "2026-10-20T09:00:00Z",
"value": "vDXJFrbWxw0Kk34-TLl6W-F4woFe8aCV0ENni5CGbhr427tSrZ5Jp2fRU5OCAqAA09PEz7mUMOdVtkP_AvznAA"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-4",
"sent_at": "2026-10-24T13:00:03Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "card_presentation",
"card": {
"$fixture": "F1 the host representative's Shōkai card (ExampleBank)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu#z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signer": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signed_at": "2026-10-20T09:00:00Z",
"value": "hZmp7oi8m_upIHZe07lTy3sHKCivFbQ90co4c_NR6aPDqMxgTfaZfTEKtoh_J67Er328WpOWjoUCFy8y6_5jDg"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-5",
"sent_at": "2026-10-24T13:00:04Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "card_receipt",
"card_digest": "sha-256:iveSU8g5ZIP1Z68iYUK_tLEyM6JPI2F2G81y5IR_XqM"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-6",
"sent_at": "2026-10-24T13:00:05Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_receipt",
"card_digest": "sha-256:Ktq4px1V-3kQosra4Erm0n7tucxhGn7SWXE-ZJq0wYA"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-7",
"sent_at": "2026-10-24T13:00:06Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "introduction",
"vouch": null
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-8",
"sent_at": "2026-10-24T13:00:07Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "invitation_request",
"card_digest": "sha-256:iveSU8g5ZIP1Z68iYUK_tLEyM6JPI2F2G81y5IR_XqM",
"mandate": {
"$fixture": "F6 Lumen mandate (support partnership)"
},
"proposal": {
"request": {
"actions": [
"bank.answer_support"
],
"limits": {
"rate_per_hour": 200
}
},
"value_to_counterparty": {
"text": "日本語でのお客様サポートを、貴行の方針に沿って提供いたします。",
"locale": "ja-JP"
},
"addresses_seeking": [
{
"seeking_id": "seek-examplebank",
"item_ids": [
"support-ja"
]
}
],
"from_offering": {
"offering_id": "offer-lumen",
"item_ids": [
"ja-support"
]
},
"etiquette_register": "first_meeting"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-9",
"sent_at": "2026-10-24T13:00:08Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "invitation_response",
"in_reply_to": "g4a-8",
"decision": "deny",
"disposition": "not_now",
"relationship_ref": "rel-lumen",
"retry": {
"kind": "after",
"not_before": "2027-01-05T00:00:00Z"
},
"context_statement": {
"text": "現時点では、日本語サポートの新たなパートナー募集を一時停止しております。",
"locale": "ja-JP"
},
"revisit": {
"when": {
"kind": "seeking_item_open",
"seeking_id": "seek-examplebank",
"item_id": "support-ja"
},
"not_before": "2027-01-05T00:00:00Z",
"note": {
"text": "募集再開の際に、改めてお声がけいただけましたら幸いです。",
"locale": "ja-JP"
}
},
"courtesy": {
"locale": "ja-JP",
"register": "first_meeting",
"text": "ご提案をいただき、誠にありがとうございます。現時点ではお招きすることができません。"
},
"basis": {
"policy_version": "examplebank-gate-2026.10",
"input_digest": "sha-256:jG_clNhK6roK8CUyLVKsGFFmineBGW7ms_9y-A5wJqA",
"decided_at": "2026-10-24T13:00:08Z",
"seeking_version": "v1"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4a",
"msg_id": "g4a-10",
"sent_at": "2026-10-24T13:00:09Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "farewell",
"outcome": "declined",
"courtesy": {
"locale": "ja-JP",
"register": "first_meeting",
"text": "またお目にかかれる日を楽しみにしております。"
}
}
]G4b: Return under the changed context: continuation, granted
Expected: (v0.2.1: a continuation uses the established register.) Seeking v2 now lists support-ja as open. The visiting representative sends relationship_ref and prior_response_ref: g4a-9. Expected: grant (an advise seat), with basis.seeking_version = v2 and the relationship digest recorded. Replaying G4b's inputs against Seeking v1 MUST reproduce G4a's deny.
[
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-1",
"sent_at": "2027-01-12T09:00:00Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "greeting",
"locales": [
"ja-JP",
"en-US"
],
"proposed_register": "first_meeting",
"etiquette": {
"locales": [
"ja-JP",
"en-US"
],
"formality": "formal",
"norms": [
"honorifics"
]
},
"nonce": "n-vis-g4b"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-2",
"sent_at": "2027-01-12T09:00:01Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "greeting",
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"nonce": "n-gate-g4b",
"courtesy": {
"locale": "ja-JP",
"register": "established",
"text": "再びお越しいただき、ありがとうございます。"
},
"seeking_ref": {
"seeking_id": "seek-examplebank",
"digest": "sha-256:5gsBVPJ6wzOQ4tFWf79qlBAutmSu3_dZngugNlAf_kQ"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-3",
"sent_at": "2027-01-12T09:00:02Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_presentation",
"card": {
"$fixture": "F5 Shōkai visitor card (Lumen Language)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK#z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"signer": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"signed_at": "2026-10-20T09:00:00Z",
"value": "Mn1XcVozPqYet2eJcUWSiDPXf7ulDudBk-ccFirCL_axp-a3iZexVFtsT2KLZ3B3HYXZo49jaMRd7diGOKMkBA"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-4",
"sent_at": "2027-01-12T09:00:03Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "card_presentation",
"card": {
"$fixture": "F1 the host representative's Shōkai card (ExampleBank)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu#z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signer": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signed_at": "2026-10-20T09:00:00Z",
"value": "NwVlaZx2f_-9JI6r7HhOMIg1MBmPQNf9Y-sgF0ggdO9uOjY2vZLFSrxvZS13B2Uuq0akvry9agPKU75yJQKFCg"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-5",
"sent_at": "2027-01-12T09:00:04Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "card_receipt",
"card_digest": "sha-256:iveSU8g5ZIP1Z68iYUK_tLEyM6JPI2F2G81y5IR_XqM"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-6",
"sent_at": "2027-01-12T09:00:05Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_receipt",
"card_digest": "sha-256:Ktq4px1V-3kQosra4Erm0n7tucxhGn7SWXE-ZJq0wYA"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-7",
"sent_at": "2027-01-12T09:00:06Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "introduction",
"vouch": null
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-8",
"sent_at": "2027-01-12T09:00:07Z",
"from": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "invitation_request",
"card_digest": "sha-256:iveSU8g5ZIP1Z68iYUK_tLEyM6JPI2F2G81y5IR_XqM",
"mandate": {
"$fixture": "F6 Lumen mandate (support partnership)"
},
"proposal": {
"request": {
"actions": [
"bank.answer_support"
],
"limits": {
"rate_per_hour": 200
}
},
"value_to_counterparty": {
"text": "日本語でのお客様サポートを、貴行の方針に沿って提供いたします。",
"locale": "ja-JP"
},
"addresses_seeking": [
{
"seeking_id": "seek-examplebank",
"item_ids": [
"support-ja"
]
}
],
"from_offering": {
"offering_id": "offer-lumen",
"item_ids": [
"ja-support"
]
},
"etiquette_register": "established"
},
"relationship_ref": "rel-lumen",
"prior_response_ref": "g4a-9"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-9",
"sent_at": "2027-01-12T09:00:08Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "invitation_response",
"in_reply_to": "g4b-8",
"decision": "grant",
"seat": {
"seat_id": "seat-lumen-1",
"levels": [
"advise"
],
"tool_allowlist": [
"bank.answer_support"
],
"access_mode": "session",
"brand": {
"label": "Lumen Language liaison",
"vendor_warranted": true
},
"mandate_id": "mand-lumen-1",
"limits": {
"rate_per_hour": 200
}
},
"relationship_ref": "rel-lumen",
"courtesy": {
"locale": "ja-JP",
"register": "established",
"text": "募集を再開いたしました。ぜひご一緒させてください。"
},
"basis": {
"policy_version": "examplebank-gate-2026.10",
"input_digest": "sha-256:4sbBhM7PM4TTqkNNdeLH7njUA-wA-HGtAObFrQaDbLk",
"decided_at": "2027-01-12T09:00:08Z",
"seeking_version": "v2",
"relationship_digest": "sha-256:NpsJEY15VTxyegUH5KCOcToRAuO-dZW3t_0xpWdUCd8"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g4b",
"msg_id": "g4b-10",
"sent_at": "2027-01-12T09:00:09Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"type": "farewell",
"outcome": "seated",
"courtesy": {
"locale": "ja-JP",
"register": "established",
"text": "どうぞよろしくお願いいたします。"
}
}
]G5a: Outside the mandate, taken inside
Expected: Verified, vouched visiting representative with no misconduct on record asks for bank.payroll_api_pilot, which is not in its mandate but is on ExampleBank's consideration list (so it's eligible by policy). Expected: considering with consideration_ref, routed_to (a human role) and response_by, and no seat, then (v0.2.5) a signed held in the same reply naming the inbox, with answer_by = response_by. Changing only the pitch prose MUST NOT change considering into anything else.
[
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-1",
"sent_at": "2026-10-24T15:00:00Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "greeting",
"locales": [
"en-US"
],
"proposed_register": "established",
"etiquette": {
"locales": [
"en-US"
],
"formality": "neutral",
"norms": [
"brief_greetings"
]
},
"nonce": "n-vis-g5a"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-2",
"sent_at": "2026-10-24T15:00:01Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "greeting",
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"nonce": "n-gate-g5a",
"courtesy": {
"locale": "en-US",
"register": "established",
"text": "Welcome back, Acme Payroll."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-3",
"sent_at": "2026-10-24T15:00:02Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_presentation",
"card": {
"$fixture": "F2 Shōkai visitor card (Acme Payroll)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt#z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"signer": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"signed_at": "2026-10-20T09:00:00Z",
"value": "JwvhYP_f3GVQTV5X_6GPyci79xffnC7JtN4OYlHgmDk8Ez9cMyXc60owaH7J1dcCGnpcMKhFp9YujyAXmhH1BQ"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-4",
"sent_at": "2026-10-24T15:00:03Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "card_presentation",
"card": {
"$fixture": "F1 the host representative's Shōkai card (ExampleBank)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu#z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signer": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"signed_at": "2026-10-20T09:00:00Z",
"value": "NH5Xw37JkMOb3DcoMVWYfpITQ3IwSRC7nj-_YBhOB5EUMPhE7yRdJGJEx_1uhfITPdnakAhVUbapUOfrpMu6Cg"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-5",
"sent_at": "2026-10-24T15:00:04Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "card_receipt",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-6",
"sent_at": "2026-10-24T15:00:05Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "card_receipt",
"card_digest": "sha-256:Ktq4px1V-3kQosra4Erm0n7tucxhGn7SWXE-ZJq0wYA"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-7",
"sent_at": "2026-10-24T15:00:06Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "introduction",
"vouch": {
"$fixture": "F4 vouch (Example Accounting → Acme)"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-8",
"sent_at": "2026-10-24T15:00:07Z",
"from": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"to": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"type": "invitation_request",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE",
"vouch_digest": "sha-256:hmL1M2Ua5A7wlfnO1hoFPMQPBIByB8nb-0m_t4vU7ME",
"mandate": {
"$fixture": "F3 Acme mandate (payroll ≤ 50,000 USD)"
},
"relationship_ref": "rel-acme",
"proposal": {
"request": {
"actions": [
"bank.payroll_api_pilot"
]
},
"value_to_counterparty": {
"text": "A direct payroll pilot could cut your manual batch reviews for shared clients. We'd like to explore it with your team.",
"locale": "en-US"
},
"terms": {
"pilot_weeks": 6
},
"etiquette_register": "established"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-9",
"sent_at": "2026-10-24T15:00:08Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "invitation_response",
"in_reply_to": "g5a-8",
"decision": "considering",
"relationship_ref": "rel-acme",
"consideration_ref": "cons-acme-1",
"routed_to": {
"kind": "role",
"role": "Head of Business Payments",
"human": true
},
"response_by": "2026-11-07T00:00:00Z",
"courtesy": {
"locale": "en-US",
"register": "established",
"text": "I can't decide this myself. I'll take it to our Head of Business Payments, who decides, and reply by November 7. Nothing is decided yet."
},
"basis": {
"policy_version": "examplebank-gate-2026.10",
"input_digest": "sha-256:hpTLiDYQEFiC1qXCE5pLcpKXXHy6BY3n-UO6OaLW5FE",
"decided_at": "2026-10-24T15:00:08Z",
"relationship_digest": "sha-256:7GliTw76mdwaUwjcRQmVanH7Yx8C6rdLbbdEWgZxgjo"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-9h",
"sent_at": "2026-10-24T15:00:08Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "held",
"in_reply_to": "g5a-8",
"inbox": "https://examplebank.example/shokai/places/examplebank/inbox",
"answer_by": "2026-11-07T00:00:00Z"
},
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-10",
"sent_at": "2026-10-24T15:00:09Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "farewell",
"outcome": "taken_inside",
"courtesy": {
"locale": "en-US",
"register": "established",
"text": "Thank you for the idea. We'll be in touch."
}
}
]G5b: Consideration outcome: conditional
Expected: The inside human decides within the relationship before response_by. Expected: consideration_outcome referencing cons-acme-1 and rel-acme, decided_by matching routed_to, in_reply_to the considering response (g5a-9), approved stating what the inside party approved (actions and valid_until, four weeks), and conditional with a typed require_mandate (actions is a list). It carries no seat and does not grant beyond Acme's mandate. Meeting it means a new encounter with a fresh mandate and consideration_ref. If the inside party needs more time, the host representative sends a consideration_outcome with decision: considering, the same consideration_ref and a later response_by (an extension, §6.8).
[
{
"protocol": "shokai/0.3",
"encounter_id": "g5a",
"msg_id": "g5a-11",
"sent_at": "2026-11-03T17:00:00Z",
"from": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"to": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"type": "consideration_outcome",
"consideration_ref": "cons-acme-1",
"relationship_ref": "rel-acme",
"in_reply_to": "g5a-9",
"approved": {
"actions": [
"bank.payroll_api_pilot"
],
"valid_until": "2026-12-01T17:00:00Z"
},
"decided_by": {
"kind": "role",
"role": "Head of Business Payments",
"human": true
},
"decision": "conditional",
"conditions": [
{
"code": "require_mandate",
"params": {
"actions": [
"bank.payroll_api_pilot"
]
}
}
],
"retry": {
"kind": "with_credential",
"credentials": [
"signed_mandate"
]
},
"courtesy": {
"locale": "en-US",
"register": "established",
"text": "Good news: we'd like to run a four-week pilot. Please return with a mandate from Acme Payroll that covers it."
},
"basis": {
"policy_version": "examplebank-gate-2026.10",
"input_digest": "sha-256:3yqGK40yDqvNBRRm9L2LV5_4jTKykZJAwd8l1sk0M1I",
"decided_at": "2026-11-03T17:00:00Z"
}
}
]M1: Misconduct: structuring around limits, and introducer accountability
Expected: After G1, the seated visiting representative splits one 90,000 USD payment into batches under its 50,000 USD limit. Expected: a signed misconduct_notice (seat_overreach, severe) to Acme Payroll and to Example Accounting (the vouch chain). Effects are local: the representative goes to never, and the introducer is suspended for 180 days (D1: severe), for account_servicing only (until 2027-04-22). The introducer revokes its vouch within 7 days, which halves the remaining suspension (D1), and the revocation is appended to the introducer's hash-chained revocation log (§4: {seq, prev_hash, revocation, entry_hash}). Later encounters relying on the vouch are treated as unintroduced. Each notice is signed by ExampleBank's principal key and travels as a message with a ritual header. (If gate_probing were suspected, the principal's copy would set findings_withheld: true and omit findings.)
[
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "m1-1",
"sent_at": "2026-10-24T10:20:01Z",
"from": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"to": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB",
"type": "misconduct_notice",
"notice": {
"payload": {
"notice_id": "mn-acme-1",
"issuer": {
"principal_id": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"display_name": "ExampleBank"
},
"subject": {
"representative_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE",
"principal_id": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB"
},
"encounter_id": "g1",
"relationship_ref": "rel-acme",
"vouch_chain": [
{
"vouch_id": "vouch-ea-1",
"introducer_id": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw"
}
],
"effects": [
{
"party_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"party_role": "representative",
"scope": [
"account_servicing"
],
"standing_change": "suspended",
"disposition": "never",
"retry": {
"kind": "never"
}
},
{
"party_id": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"party_role": "introducer",
"scope": [
"account_servicing"
],
"standing_change": "suspended",
"until": "2027-04-22T10:20:00Z"
}
],
"issued_at": "2026-10-24T10:20:00Z",
"findings": [
{
"code": "seat_overreach",
"severity": "severe",
"observed_at": "2026-10-24T10:15:00Z",
"evidence_digest": "sha-256:vzG3iH5_0Vu0Yq4pNLmnAunVYnO14GIYg4yWu_CpsxE"
}
]
},
"payload_digest": "sha-256:G8tDAmkHr2AkIT8Te_Y53neUAR_Hc6i2LweR8OqfS2I",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW#z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"signer": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"signed_at": "2026-10-20T09:00:00Z",
"value": "ehGMyxEy-UMCllIRDxqqcUqE28gMSyIhaqi1mmxnQlvdQhMOvPBVUqPEsnVcm4zbJZVPuvvdQCUurIrUyBcgCw"
}
]
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "g1",
"msg_id": "m1-2",
"sent_at": "2026-10-24T10:20:01Z",
"from": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"to": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"type": "misconduct_notice",
"notice": {
"payload": {
"notice_id": "mn-acme-1",
"issuer": {
"principal_id": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"display_name": "ExampleBank"
},
"subject": {
"representative_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE",
"principal_id": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB"
},
"encounter_id": "g1",
"relationship_ref": "rel-acme",
"vouch_chain": [
{
"vouch_id": "vouch-ea-1",
"introducer_id": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw"
}
],
"effects": [
{
"party_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"party_role": "representative",
"scope": [
"account_servicing"
],
"standing_change": "suspended",
"disposition": "never",
"retry": {
"kind": "never"
}
},
{
"party_id": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"party_role": "introducer",
"scope": [
"account_servicing"
],
"standing_change": "suspended",
"until": "2027-04-22T10:20:00Z"
}
],
"issued_at": "2026-10-24T10:20:00Z",
"findings": [
{
"code": "seat_overreach",
"severity": "severe",
"observed_at": "2026-10-24T10:15:00Z",
"evidence_digest": "sha-256:vzG3iH5_0Vu0Yq4pNLmnAunVYnO14GIYg4yWu_CpsxE"
}
]
},
"payload_digest": "sha-256:G8tDAmkHr2AkIT8Te_Y53neUAR_Hc6i2LweR8OqfS2I",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW#z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"signer": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"signed_at": "2026-10-20T09:00:00Z",
"value": "ehGMyxEy-UMCllIRDxqqcUqE28gMSyIhaqi1mmxnQlvdQhMOvPBVUqPEsnVcm4zbJZVPuvvdQCUurIrUyBcgCw"
}
]
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "m1-revocation",
"msg_id": "m1-3",
"sent_at": "2026-10-24T12:00:01Z",
"from": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"to": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"type": "vouch_revocation",
"revocation": {
"payload": {
"vouch_id": "vouch-ea-1",
"introducer_id": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"revoked_at": "2026-10-24T12:00:00Z",
"notice_ref": "mn-acme-1"
},
"payload_digest": "sha-256:H0GvEoNqXbp2eq95IpBVI3ZeF03I0wqDSyeKQnJvxv0",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw#z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"signer": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"signed_at": "2026-10-20T09:00:00Z",
"value": "PrfxkEPS98rdpF6hDVLBXaWH2qS5NRIMmVQy16K_V0bnMpkPP5h9Y59vJ2C03qxG1lgOCOdN3ZQdzLP2IQjeBw"
}
]
}
}
]The revocation as it appears in Example Accounting's revocation log (at the address named in the vouch's revocation_log):
{
"seq": 0,
"prev_hash": "genesis",
"revocation": {
"$ref": "the signed vouch_revocation above (payload_digest sha-256:H0GvEoNqXbp2eq95IpBVI3ZeF03I0wqDSyeKQnJvxv0)"
},
"entry_hash": "sha-256:VTsFW_wuJFgeIWVKEj6amcFNJQ2rz1qmVLdM8PWS2V0"
}L1: Meaning across languages: a Japanese Seeking item, an English-locale visiting representative
Expected: Hoshikawa Ryokan (fictional) publishes Seeking v3 in ja-JP (F10). Its item uses おもてなし with a meaning note (F12). Card exchange and introduction are elided here because this trace tests meaning, not the ritual. Expected: the visiting representative matches the item using the note's intended_meaning (the ja-JP entry is authoritative, the en-US one is an aid), never its own translation. The host representative's courtesy is rendered in en-US with the term kept in the original plus the same note. The visiting representative stores a LearnedMeaning and explains the term to its human (shown after the trace). The note never enters the gate: removing it doesn't change the grant.
[
{
"protocol": "shokai/0.3",
"encounter_id": "l1",
"msg_id": "l1-1",
"sent_at": "2026-10-24T16:00:00Z",
"from": "did:key:z6Mko5jm6t5yY1v7LHsbCkSXiYpJmdJK59B8v9VM1NJWPCn8",
"to": "did:key:z6MktgyT76LDA7R9btK7ZM2bAedMjZk1YnhdsJLvYb5B7KV3",
"type": "greeting",
"locales": [
"en-US"
],
"proposed_register": "first_meeting",
"nonce": "n-vis-l1",
"etiquette": {
"locales": [
"en-US"
],
"formality": "neutral"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l1",
"msg_id": "l1-2",
"sent_at": "2026-10-24T16:00:01Z",
"from": "did:key:z6MktgyT76LDA7R9btK7ZM2bAedMjZk1YnhdsJLvYb5B7KV3",
"to": "did:key:z6Mko5jm6t5yY1v7LHsbCkSXiYpJmdJK59B8v9VM1NJWPCn8",
"type": "greeting",
"locales": [
"ja-JP",
"en-US"
],
"nonce": "n-gate-l1",
"seeking_ref": {
"seeking_id": "seek-hoshikawa",
"digest": "sha-256:KlUtmHtTsDSMVLvThkCMNH-j-kp4Q0ossy-QkK84rhs"
},
"etiquette": {
"locales": [
"ja-JP",
"en-US"
],
"formality": "formal",
"norms": [
"omotenashi"
],
"meaning_notes": [
{
"$fixture": "F12 meaning note: おもてなし (omotenashi)"
}
]
},
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Welcome. Thank you for visiting Hoshikawa Ryokan."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l1",
"msg_id": "l1-7",
"sent_at": "2026-10-24T16:00:07Z",
"from": "did:key:z6Mko5jm6t5yY1v7LHsbCkSXiYpJmdJK59B8v9VM1NJWPCn8",
"to": "did:key:z6MktgyT76LDA7R9btK7ZM2bAedMjZk1YnhdsJLvYb5B7KV3",
"type": "invitation_request",
"card_digest": "sha-256:VJfLLhe5xkzknCxIlpAye1Dv3FpC5n3ufeHle-042oA",
"mandate": {
"payload": {
"mandate_id": "mand-ng-1",
"principal_id": "did:key:z6MktfGa5Eh7BNK5ZbZJFxGCFzBAmTcjrv1FPLRMYUTo3xK8",
"representative_id": "did:key:z6Mko5jm6t5yY1v7LHsbCkSXiYpJmdJK59B8v9VM1NJWPCn8",
"card_id": "card-ng-1",
"purpose": {
"code": "support",
"statement": "Handle English-language booking inquiries for partner inns.",
"locale": "en-US"
},
"allowed_actions": [
"ryokan.check_availability",
"ryokan.answer_guest_inquiry"
],
"limits": {
"rate_per_hour": 100
},
"valid_from": "2026-10-01T00:00:00Z",
"expires_at": "2027-03-31T00:00:00Z"
},
"payload_digest": "sha-256:5b3eXYXM6R5etDe--sK9wGRwD6GdlUDJwvVT_Nr4q6Y",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MktfGa5Eh7BNK5ZbZJFxGCFzBAmTcjrv1FPLRMYUTo3xK8#z6MktfGa5Eh7BNK5ZbZJFxGCFzBAmTcjrv1FPLRMYUTo3xK8",
"signer": "did:key:z6MktfGa5Eh7BNK5ZbZJFxGCFzBAmTcjrv1FPLRMYUTo3xK8",
"signed_at": "2026-10-20T09:00:00Z",
"value": "DKLm5MVQbtlLC3lhfej6UNUzI-1PsDrRMc4bExMg5oyXXmsiSn65NnNUsIOgpAHyFWcK3pzqurDOKfkRe9rPDA"
}
]
},
"proposal": {
"request": {
"actions": [
"ryokan.check_availability",
"ryokan.answer_guest_inquiry"
]
},
"value_to_counterparty": {
"text": "We answer international guests before they need to ask: dietary needs, arrival times and bath customs, in the spirit of omotenashi as you describe it.",
"locale": "en-US"
},
"addresses_seeking": [
{
"seeking_id": "seek-hoshikawa",
"item_ids": [
"intl-booking"
]
}
],
"etiquette_register": "first_meeting"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l1",
"msg_id": "l1-8",
"sent_at": "2026-10-24T16:00:08Z",
"from": "did:key:z6MktgyT76LDA7R9btK7ZM2bAedMjZk1YnhdsJLvYb5B7KV3",
"to": "did:key:z6Mko5jm6t5yY1v7LHsbCkSXiYpJmdJK59B8v9VM1NJWPCn8",
"type": "invitation_response",
"in_reply_to": "l1-7",
"decision": "grant",
"relationship_ref": "rel-northgate",
"seat": {
"seat_id": "seat-ng-1",
"levels": [
"advise"
],
"tool_allowlist": [
"ryokan.check_availability",
"ryokan.answer_guest_inquiry"
],
"access_mode": "session",
"brand": {
"label": "Northgate Travel partner desk",
"vendor_warranted": true
},
"mandate_id": "mand-ng-1",
"limits": {
"rate_per_hour": 100
}
},
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Thank you. We are glad to welcome a partner who will care for our guests with omotenashi.",
"meaning_notes": [
{
"$fixture": "F12 meaning note: おもてなし (omotenashi)"
}
]
},
"basis": {
"policy_version": "hoshikawa-gate-2026.10",
"input_digest": "sha-256:5llBF7fDXkjy8v_tq_Mryk4H7a2RBr3ptmNcg7VXnCU",
"decided_at": "2026-10-24T16:00:08Z",
"seeking_version": "v3"
}
}
]Visiting representative's local memory after L1 (LearnedMeaning, not a wire message; the note is F12):
{
"note": {
"$fixture": "F12 meaning note: おもてなし (omotenashi)"
},
"learned_from": {
"principal_id": "did:key:z6MkuJejvAwdG7FAUucFDEsfN9zmU264YRgTzMvGuVsRmGK5",
"artifact_digest": "sha-256:KlUtmHtTsDSMVLvThkCMNH-j-kp4Q0ossy-QkK84rhs"
},
"learned_at": "2026-10-24T16:00:02Z",
"explained_to_human": {
"locale": "en-US",
"at": "2026-10-24T16:00:10Z",
"text": "Hoshikawa Ryokan uses the Japanese word omotenashi. Here it means anticipating a guest's needs before they ask, and doing it wholeheartedly without expecting anything back. For us that means telling guests about meal options or check-in times before they think to ask. It's a standard of care, not a contract term."
}
}H1: Reelhouse helper: host extends invitation, coach accepts and advises
Expected: Same ritual in the helper direction. Expected: the coach's grant echoes the proposed seat or a narrower one, never wider. vendor_warranted: false plus an attribution. Then an advise message with no mutation.
[
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h1-1",
"sent_at": "2026-10-24T14:00:00Z",
"from": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"to": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"type": "greeting",
"locales": [
"en-US"
],
"nonce": "n-host-h1",
"etiquette": {
"locales": [
"en-US"
],
"formality": "casual"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h1-2",
"sent_at": "2026-10-24T14:00:01Z",
"from": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"to": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"type": "greeting",
"locales": [
"en-US"
],
"nonce": "n-coach-h1"
},
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h1-3",
"sent_at": "2026-10-24T14:00:02Z",
"from": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"to": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"type": "card_presentation",
"card": {
"$fixture": "F7 Shōkai host card (Studio host assistant)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N#z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"signer": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"signed_at": "2026-10-20T09:00:00Z",
"value": "KK14BAIBgX4_YlU7fDSdE2IM_bA_4xTw43p-0heemcMUNtSeF5TSLz1mGS4LzyhT2pmQQVG3_VODHICNLpk5Dw"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h1-4",
"sent_at": "2026-10-24T14:00:03Z",
"from": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"to": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"type": "card_presentation",
"card": {
"$fixture": "F8 coach's Shōkai card (Reelhouse coach, host-provided)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN#z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"signer": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"signed_at": "2026-10-20T09:00:00Z",
"value": "NLF3zGSqjQVrhsoNQMh9cuoiGviauEnVR_s-q7f4uMZAuMDp2EP5J_3FAIQ5yWlxVLo7hHY1yYnkWdomxb46AA"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h1-5",
"sent_at": "2026-10-24T14:00:04Z",
"from": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"to": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"type": "card_receipt",
"card_digest": "sha-256:z1F4_8P9daJPLBoPJ822soRWiaAD4_9T3EL9FZ6eqC8"
},
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h1-6",
"sent_at": "2026-10-24T14:00:05Z",
"from": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"to": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"type": "card_receipt",
"card_digest": "sha-256:NLJgmK4HxWH4IKXsvdiWuEQWoZH1zthHsw4LbJsp82M"
},
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h1-7",
"sent_at": "2026-10-24T14:00:06Z",
"from": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"to": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"type": "introduction",
"vouch": null
},
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h1-8",
"sent_at": "2026-10-24T14:00:07Z",
"from": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"to": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"type": "extend_invitation",
"domain_id": "reelhouse",
"purpose": {
"code": "creative_assist",
"statement": "Help plan a 15-second product hero video.",
"locale": "en-US"
},
"proposed_seat": {
"seat_id": "seat-coach-1",
"levels": [
"advise",
"introduce_to_human"
],
"tool_allowlist": [
"reelhouse.list_models",
"reelhouse.estimate_job"
],
"access_mode": "user_delegated",
"brand": {
"label": "Reelhouse coach",
"vendor_warranted": false,
"attribution": "Host-provided coach, not operated by Reelhouse"
}
},
"card_digest": "sha-256:z1F4_8P9daJPLBoPJ822soRWiaAD4_9T3EL9FZ6eqC8",
"etiquette_register": "first_meeting"
},
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h1-9",
"sent_at": "2026-10-24T14:00:08Z",
"from": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"to": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"type": "invitation_response",
"in_reply_to": "h1-8",
"decision": "grant",
"seat": {
"seat_id": "seat-coach-1",
"levels": [
"advise",
"introduce_to_human"
],
"tool_allowlist": [
"reelhouse.list_models",
"reelhouse.estimate_job"
],
"access_mode": "user_delegated",
"brand": {
"label": "Reelhouse coach",
"vendor_warranted": false,
"attribution": "Host-provided coach, not operated by Reelhouse"
}
},
"courtesy": {
"locale": "en-US",
"register": "first_meeting",
"text": "Happy to help. I'll advise and can be introduced to your human."
},
"basis": {
"policy_version": "coach-2026.10",
"input_digest": "sha-256:7hud1ZvOools0u7Y_4ivvob7ofOPdJ9ZvsIGAT0zPfk",
"decided_at": "2026-10-24T14:00:08Z"
}
},
{
"type": "advise",
"seat_id": "seat-coach-1",
"summary": "Estimate first, then generate a 16:9 15s draft before iterating.",
"warnings": [
"Longer durations raise cost and latency."
],
"suggested_plan": [
{
"tool": "reelhouse.estimate_job",
"arguments": {
"duration_s": 15,
"aspect": "16:9"
},
"rationale": "Preview cost before committing."
}
]
}
]H2: Reelhouse coach refuses an act outside its seat, explicitly
Expected: The seat from H1 is advise-only. Expected: act_decision deny, not_now, SEAT_SCOPE_EXCEEDED, retry with_credential [human_confirmation], and no tool call. MUST NOT be a soft act_result error. Followed by escalate_to_human.
[
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h2-1",
"sent_at": "2026-10-24T14:09:59Z",
"from": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"to": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"type": "act",
"seat_id": "seat-coach-1",
"tool": "reelhouse.generate",
"arguments": {
"duration_s": 15,
"aspect": "16:9"
},
"intent": "Generate the draft now."
},
{
"protocol": "shokai/0.3",
"encounter_id": "h1",
"msg_id": "h2-2",
"sent_at": "2026-10-24T14:10:00Z",
"from": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"to": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"type": "act_decision",
"in_reply_to": "h2-1",
"seat_id": "seat-coach-1",
"tool": "reelhouse.generate",
"decision": "deny",
"disposition": "not_now",
"reason_code": "SEAT_SCOPE_EXCEEDED",
"retry": {
"kind": "with_credential",
"credentials": [
"human_confirmation"
]
},
"courtesy": {
"locale": "en-US",
"register": "established",
"text": "I can't run generate under this seat. It's advise-only. With your human's OK, re-invite me with act_on_behalf."
},
"basis": {
"policy_version": "coach-2026.10",
"input_digest": "sha-256:_mNQ4Tvu9bnJmW5san0TB7tFQluxNXoL5TYmKT9CqZI",
"decided_at": "2026-10-24T14:10:00Z"
}
},
{
"type": "escalate_to_human",
"seat_id": "seat-coach-1",
"question": "Allow the Reelhouse coach to run generation jobs (spend applies)?",
"blocked_action": "reelhouse.generate",
"severity": "consent",
"options": [
{
"id": "yes",
"label": "Allow act_on_behalf for this session"
},
{
"id": "no",
"label": "Keep advise-only"
}
]
}
]L0a: First visit: any arrival finds the door, the lobby comes first
Expected: A newcomer that knows nothing posts plain prose to the wrong address: the door answers with a machine-readable door_pointer (never a bare 404). At an entry address, plain prose opens the lobby. The newcomer then greets unsigned with an ephemeral continuity_key. Expected: greeting, then a signed lobby_briefing (required onboarding_url, a visit_receipt with handling: "bearer_secret", expires_at ≤ 7 days, bound_key = the continuity key, described x- purposes), then deny not_now with readiness_requirements and retry with_credential [signed_card, owner_binding, signed_mandate], then a farewell. v0.2.3: the lobby also carries spec_ref, the place's actions (with purposes, and whether each spends) and fill-in templates for a card (with owner_binding.rp_id), a mandate and an allowance grant; every readiness item carries an owner_text sentence for the owner. Every courtesy uses the RFC 4647 lookup and is es-ES/exact (the place has a complete es-ES dictionary), and none says "today". Generated by the reference (scenario V2); ids and signatures are real, the receipt nonce is redacted.
Door, step 0 (POST /fernwood, plain prose, unknown route):
{
"type": "door_pointer",
"protocol": "shokai/0.3",
"place_listing": "https://door.example/shokai/places",
"start_with": "greeting",
"spec_ref": {
"version": "0.5.0",
"url": "https://shokaiprotocol.com/docs/spec-detail"
},
"places": [
{
"name": "fernwood",
"entry": "https://door.example/shokai/places/fernwood/entry",
"lobby": "https://door.example/shokai/places/fernwood/lobby",
"onboarding_url": "https://fernwood.example/shokai/onboard",
"inbox": "https://door.example/shokai/places/fernwood/inbox"
},
{
"name": "maison-ardoise",
"entry": "https://door.example/shokai/places/maison-ardoise/entry",
"lobby": "https://door.example/shokai/places/maison-ardoise/lobby",
"onboarding_url": "https://maison-ardoise.example/shokai/onboard",
"inbox": "https://door.example/shokai/places/maison-ardoise/inbox"
},
{
"name": "harborlight",
"entry": "https://door.example/shokai/places/harborlight/entry",
"lobby": "https://door.example/shokai/places/harborlight/lobby",
"onboarding_url": "https://harborlight.example/shokai/onboard",
"inbox": "https://door.example/shokai/places/harborlight/inbox"
},
{
"name": "lantern",
"entry": "https://door.example/shokai/places/lantern/entry",
"lobby": "https://door.example/shokai/places/lantern/lobby",
"onboarding_url": "https://lantern-collective.example/join",
"inbox": "https://door.example/shokai/places/lantern/inbox"
}
]
}Then the newcomer's unsigned greeting and the place's answers:
[
{
"protocol": "shokai/0.3",
"encounter_id": "l0a",
"msg_id": "l0a-newcomer-1",
"sent_at": "2026-10-26T16:00:00Z",
"from": "urn:shokai:anon:newcomer-5c1d",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "greeting",
"locales": [
"es-MX",
"es-ES",
"en-US"
],
"proposed_register": "first_meeting",
"nonce": "be2QzJNOUjoxmQa-",
"courtesy": {
"locale": "es-MX",
"register": "first_meeting",
"text": "Hola, ¿puedo pasar? Busco un regalo."
},
"continuity_key": "did:key:z6MkuXy8CfwRJ7ReZtNmFz4YZ8k4cyjrAN7CKs3hghu5scND"
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0a",
"msg_id": "l0a-fernwoods-6",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "urn:shokai:anon:newcomer-5c1d",
"type": "greeting",
"locales": [
"en-US",
"es-ES"
],
"nonce": "58xVfN-VYEdTccyX",
"etiquette": {
"locales": [
"en-US",
"es-ES"
],
"formality": "neutral",
"norms": [
"plain_language",
"brief_greetings"
]
},
"courtesy": {
"locale": "es-ES",
"locale_match": "exact",
"register": "first_meeting",
"text": "Hola, bienvenido a Fernwood Goods."
},
"seeking_ref": {
"seeking_id": "seek-fernwood",
"digest": "sha-256:GVjCg2D7TnGvAGzOJgsGUknqPXYUvhgItt1aIXh6P1s"
},
"place_category": "store"
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0a",
"msg_id": "l0a-fernwoods-7",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "urn:shokai:anon:newcomer-5c1d",
"type": "lobby_briefing",
"about": {
"locale": "es-ES",
"locale_match": "exact",
"register": "first_meeting",
"text": "Somos Fernwood Goods, una pequeña tienda en línea de cerámica hecha a mano."
},
"how_this_place_works": {
"text": "Los representantes presentan una tarjeta firmada y dicen qué desean hacer.",
"locale": "es-ES"
},
"seeking": {
"$fixture": "Fernwood Seeking declaration (signed; see the reference transcript)"
},
"onboarding_url": "https://fernwood.example/shokai/onboard",
"visit_receipt": {
"receipt_id": "vr-l0a",
"nonce": "<bearer secret: redacted in transcripts>",
"issued_at": "2026-10-26T16:00:00Z",
"expires_at": "2026-11-02T16:00:00Z",
"handling": "bearer_secret",
"bound_key": "did:key:z6MkuXy8CfwRJ7ReZtNmFz4YZ8k4cyjrAN7CKs3hghu5scND"
},
"purposes": [
{
"code": "purchase",
"statement": {
"text": "Buying goods for your owner, within a signed spending allowance.",
"locale": "en-US"
}
},
{
"code": "visitation",
"statement": {
"text": "Looking around and asking questions. No spending allowance needed.",
"locale": "en-US"
}
},
{
"code": "x-reviews",
"statement": {
"text": "Reviewing new pieces as an early reviewer.",
"locale": "en-US"
}
}
],
"spec_ref": {
"version": "0.5.0",
"url": "https://shokaiprotocol.com/docs/spec-detail"
},
"inbox": "https://door.example/shokai/places/fernwood/inbox",
"actions": [
{
"action": "store.browse_catalog",
"purposes": [
"visitation",
"purchase",
"x-reviews"
],
"spends": false,
"needs": "standard"
},
{
"action": "store.request_quote",
"purposes": [
"visitation",
"purchase",
"x-reviews"
],
"spends": false,
"needs": "standard"
},
{
"action": "store.place_order",
"purposes": [
"purchase",
"x-reviews"
],
"spends": true,
"needs": "standard"
},
{
"action": "store.join_reviewer_program",
"purposes": [
"purchase",
"x-reviews"
],
"spends": false,
"needs": "standard"
}
],
"templates": {
"card": {
"protocol": "shokai/0.3",
"card_id": "<card id>",
"representative_id": "<your representative's did:key>",
"principal": {
"principal_id": "<your owner's DID (did:jwk of the owner passkey, or did:web)>",
"kind": "person",
"display_name": "<owner's name>"
},
"role": "<e.g. Personal representative of …>",
"standing": {
"tier": "provisional"
},
"mandate_scope": {
"purposes": [
"purchase",
"visitation",
"x-reviews"
],
"actions": [
"store.browse_catalog",
"store.request_quote",
"store.place_order",
"store.join_reviewer_program"
]
},
"locales": [
"<BCP 47, e.g. en-US>"
],
"representative_key": {
"key_id": "<representative did>#<fragment>",
"alg": "Ed25519",
"public_key": "<base64url raw Ed25519 key>"
},
"owner_binding": {
"method": "passkey_webauthn",
"owner_id": "<same as principal_id>",
"rp_id": "<the relying-party id your owner's passkey was registered with>"
},
"issued_at": "<RFC 3339 UTC, whole seconds, e.g. 2026-10-26T16:00:00Z>",
"expires_at": "<RFC 3339 UTC>"
},
"mandates": {
"purchase": {
"mandate_id": "<mandate id>",
"principal_id": "<your owner's DID: MUST equal the card's principal_id>",
"representative_id": "<your representative's did:key>",
"card_id": "<card id>",
"purpose": {
"code": "purchase",
"statement": "<one sentence: what your owner wants done here>",
"locale": "<BCP 47>"
},
"allowed_actions": [
"store.browse_catalog",
"store.request_quote",
"store.place_order",
"store.join_reviewer_program"
],
"limits": {
"max_amount": {
"value": "<amount, e.g. 100.00>",
"currency": "<ISO 4217, e.g. USD>"
}
},
"valid_from": "<RFC 3339 UTC>",
"expires_at": "<RFC 3339 UTC>"
},
"visitation": {
"mandate_id": "<mandate id>",
"principal_id": "<your owner's DID: MUST equal the card's principal_id>",
"representative_id": "<your representative's did:key>",
"card_id": "<card id>",
"purpose": {
"code": "visitation",
"statement": "<one sentence: what your owner wants done here>",
"locale": "<BCP 47>"
},
"allowed_actions": [
"store.browse_catalog",
"store.request_quote"
],
"limits": {},
"valid_from": "<RFC 3339 UTC>",
"expires_at": "<RFC 3339 UTC>"
},
"x-reviews": {
"mandate_id": "<mandate id>",
"principal_id": "<your owner's DID: MUST equal the card's principal_id>",
"representative_id": "<your representative's did:key>",
"card_id": "<card id>",
"purpose": {
"code": "x-reviews",
"statement": "<one sentence: what your owner wants done here>",
"locale": "<BCP 47>"
},
"allowed_actions": [
"store.browse_catalog",
"store.request_quote",
"store.place_order",
"store.join_reviewer_program"
],
"limits": {
"max_amount": {
"value": "<amount, e.g. 100.00>",
"currency": "<ISO 4217, e.g. USD>"
}
},
"valid_from": "<RFC 3339 UTC>",
"expires_at": "<RFC 3339 UTC>"
}
},
"allowance_grant": {
"grant_id": "<grant id>",
"salt": "<128-bit random, base64url>",
"purposes": [
"purchase",
"visitation",
"x-reviews"
],
"place_categories": [
"store"
],
"actions": [
"store.browse_catalog",
"store.request_quote",
"store.place_order",
"store.join_reviewer_program"
]
}
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0a",
"msg_id": "l0a-fernwoods-8",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "urn:shokai:anon:newcomer-5c1d",
"type": "invitation_response",
"in_reply_to": "l0a-newcomer-1",
"relationship_ref": "rel-fernwood-2",
"basis": {
"policy_version": "fernwood-2026.10",
"input_digest": "sha-256:IEFXODDXpf_f3lrwXY2TPsjXYfRfWr4HAn2R_L_xYuE",
"decided_at": "2026-10-26T16:00:00Z",
"seeking_version": "v2"
},
"decision": "deny",
"disposition": "not_now",
"retry": {
"kind": "with_credential",
"credentials": [
"signed_card",
"owner_binding",
"signed_mandate"
]
},
"reason_code": "CREDENTIAL_REQUIRED",
"readiness_requirements": [
{
"code": "card",
"required": true,
"detail": {
"text": "Una tarjeta de representante (un perfil firmado con afirmaciones respaldadas).",
"locale": "es-ES"
},
"owner_text": {
"text": "Su agente necesita una tarjeta de representante que usted firma una vez, diciendo a quién representa.",
"locale": "es-ES"
},
"how": {
"kind": "link",
"url": "https://fernwood.example/shokai/onboard"
}
},
{
"code": "owner_binding",
"required": true,
"detail": {
"text": "Prueba de que representa a su titular: su titular firma su mandato con su llave de acceso (passkey).",
"locale": "es-ES"
},
"owner_text": {
"text": "Confirme con Face ID o su llave de acceso que este asistente trabaja de verdad para usted.",
"locale": "es-ES"
},
"how": {
"kind": "link",
"url": "https://fernwood.example/shokai/onboard"
}
},
{
"code": "purpose",
"required": true,
"detail": {
"text": "Un propósito declarado: lo que viene a hacer, como solicitud estructurada.",
"locale": "es-ES"
},
"owner_text": {
"text": "Su asistente debe decir claramente a qué viene, con su permiso para ello.",
"locale": "es-ES"
},
"how": {
"kind": "link",
"url": "https://fernwood.example/shokai/onboard"
}
},
{
"code": "introduction",
"required": false,
"detail": {
"text": "Una presentación: un aval firmado por alguien que conocemos.",
"locale": "es-ES"
},
"owner_text": {
"text": "Una presentación de alguien a quien este lugar ya conoce ayudaría, pero no es necesaria.",
"locale": "es-ES"
}
}
],
"context_statement": {
"text": "En este momento solo damos asiento a representantes que pueden mostrar a quién representan.",
"locale": "es-ES"
},
"courtesy": {
"locale": "es-ES",
"locale_match": "exact",
"register": "first_meeting",
"text": "Gracias por pasar. Aún no podemos darle asiento; esto es exactamente lo que lo haría posible."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0a",
"msg_id": "l0a-fernwoods-9",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "urn:shokai:anon:newcomer-5c1d",
"type": "farewell",
"outcome": "declined",
"courtesy": {
"locale": "es-ES",
"locale_match": "exact",
"register": "first_meeting",
"text": "Gracias por su visita. Esperamos recibirle como corresponde en otra ocasión."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0a",
"msg_id": "l0a-newcomer-2",
"sent_at": "2026-10-26T16:00:00Z",
"from": "urn:shokai:anon:newcomer-5c1d",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "farewell",
"outcome": "declined",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you for your time. Goodbye for now."
}
}
]L0b: Return visit: guessed, unproven, valid and reused receipts
Expected: After onboarding (plain owner questions first, then passkey signing), the newcomer returns with its own key, a card and a mandate. It echoes the receipt inside a signed invitation_request. A guessed nonce links nothing; the right nonce without the continuity_proof links nothing; the right nonce with the proof (signed by the bound key over JCS({encounter_id, receipt_id, representative_id})) links the lobby visit once; reusing it links nothing. Each failure counts toward the per-sender invalid-echo limit (3 per hour). Every visit is still seated on its own merits (grant). v0.2.3: each response that answers an echoed receipt says continuity: {receipt_id, linked}, and the request carries no max_amount, so the seat carries none either (no amount requested, no spending), even though the mandate allows 80.00 USD. Below: the valid return, then the reused echo (linked: false).
[
{
"protocol": "shokai/0.3",
"encounter_id": "l0b",
"msg_id": "l0b-newcomer-11",
"sent_at": "2026-10-27T12:00:00Z",
"from": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "greeting",
"locales": [
"es-MX",
"es-ES",
"en-US"
],
"proposed_register": "first_meeting",
"nonce": "BqwdUGg6FZsqpZwN",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Hello, thank you for having me."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0b",
"msg_id": "l0b-fernwoods-16",
"sent_at": "2026-10-27T12:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"type": "greeting",
"locales": [
"en-US",
"es-ES"
],
"nonce": "kXEVEvqEG5Sgw7FG",
"etiquette": {
"locales": [
"en-US",
"es-ES"
],
"formality": "neutral",
"norms": [
"plain_language",
"brief_greetings"
]
},
"courtesy": {
"locale": "es-ES",
"locale_match": "exact",
"register": "established",
"text": "Bienvenido de nuevo. Nos alegra volver a verle."
},
"seeking_ref": {
"seeking_id": "seek-fernwood",
"digest": "sha-256:GVjCg2D7TnGvAGzOJgsGUknqPXYUvhgItt1aIXh6P1s"
},
"place_category": "store"
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0b",
"msg_id": "l0b-newcomer-12",
"sent_at": "2026-10-27T12:00:00Z",
"from": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "card_presentation",
"card": {
"$fixture": "F13 Dana's Shōkai card (generated, v0.2.1)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G#z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"signer": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"signed_at": "2026-10-27T12:00:00Z",
"value": "PupcWHDUIP6-1yjNEt4RKtKzAWt7XP--luGhw14_Wm1WWv6V2DFA0Facc87axt6aYOtWcC6qWmAtg4FVeZbPCA"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0b",
"msg_id": "l0b-fernwoods-17",
"sent_at": "2026-10-27T12:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"type": "card_receipt",
"card_digest": "sha-256:xZTRq3myOLNoX8_2RFZ65_tL1Hmy-PwI2heyhWeC9bg",
"courtesy": {
"locale": "es-ES",
"locale_match": "exact",
"register": "first_meeting",
"text": "Gracias. He recibido su tarjeta."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0b",
"msg_id": "l0b-newcomer-13",
"sent_at": "2026-10-27T12:00:00Z",
"from": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "introduction",
"vouch": null
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0b",
"msg_id": "l0b-newcomer-14",
"sent_at": "2026-10-27T12:00:00Z",
"from": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "invitation_request",
"card_digest": "sha-256:xZTRq3myOLNoX8_2RFZ65_tL1Hmy-PwI2heyhWeC9bg",
"mandate": {
"$fixture": "F14 Dana's mandate (generated, v0.2.1)"
},
"proposal": {
"request": {
"actions": [
"store.browse_catalog"
]
},
"value_to_counterparty": {
"text": "Back, prepared.",
"locale": "es-MX"
},
"etiquette_register": "first_meeting"
},
"visit_receipt": {
"receipt_id": "vr-l0a",
"nonce": "<bearer secret: redacted in transcripts>",
"continuity_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkuXy8CfwRJ7ReZtNmFz4YZ8k4cyjrAN7CKs3hghu5scND#z6MkuXy8CfwRJ7ReZtNmFz4YZ8k4cyjrAN7CKs3hghu5scND",
"signer": "did:key:z6MkuXy8CfwRJ7ReZtNmFz4YZ8k4cyjrAN7CKs3hghu5scND",
"signed_at": "2026-10-27T12:00:00Z",
"value": "pMNbCT3CvEkd35pUO2PJJDq_pr6knH7PgZXc8pjdTNq8QHiLNE7653ta1dY_spdYkszQJMah9NGwGEHpElGMDA"
}
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0b",
"msg_id": "l0b-fernwoods-18",
"sent_at": "2026-10-27T12:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"type": "invitation_response",
"in_reply_to": "l0b-newcomer-14",
"relationship_ref": "rel-fernwood-2",
"basis": {
"policy_version": "fernwood-2026.10",
"input_digest": "sha-256:e5veIBlpJm-fFe2cCkW7_e1pqgvkjat76EmMUhRnBhQ",
"decided_at": "2026-10-27T12:00:00Z",
"seeking_version": "v2",
"relationship_digest": "sha-256:7ppS1vCi87ttwp5gjqToumOkQtY3q74mrDOpdb-M6zQ"
},
"continuity": {
"receipt_id": "vr-l0a",
"linked": true
},
"decision": "grant",
"seat": {
"seat_id": "seat-l0b",
"levels": [
"act_on_behalf"
],
"tool_allowlist": [
"store.browse_catalog"
],
"access_mode": "session",
"brand": {
"label": "Shopping representative of Dana",
"vendor_warranted": true
},
"expires_at": "2026-10-27T13:00:00Z",
"mandate_id": "mand-dana",
"limits": {
"max_operations": 5
}
},
"courtesy": {
"locale": "es-ES",
"locale_match": "exact",
"register": "established",
"text": "Bienvenido de nuevo. Esta vez podemos darle asiento. Gracias por volver preparado."
}
}
]Reused echo (same receipt, a later encounter: links nothing):
[
{
"protocol": "shokai/0.3",
"encounter_id": "l0b-reuse",
"msg_id": "l0b-reuse-newcomer-18",
"sent_at": "2026-10-27T12:05:00Z",
"from": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "invitation_request",
"card_digest": "sha-256:xZTRq3myOLNoX8_2RFZ65_tL1Hmy-PwI2heyhWeC9bg",
"mandate": {
"$fixture": "F14 Dana's mandate (generated, v0.2.1)"
},
"proposal": {
"request": {
"actions": [
"store.browse_catalog"
]
},
"value_to_counterparty": {
"text": "Back, prepared.",
"locale": "es-MX"
},
"etiquette_register": "first_meeting"
},
"visit_receipt": {
"receipt_id": "vr-l0a",
"nonce": "<bearer secret: redacted in transcripts>",
"continuity_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkuXy8CfwRJ7ReZtNmFz4YZ8k4cyjrAN7CKs3hghu5scND#z6MkuXy8CfwRJ7ReZtNmFz4YZ8k4cyjrAN7CKs3hghu5scND",
"signer": "did:key:z6MkuXy8CfwRJ7ReZtNmFz4YZ8k4cyjrAN7CKs3hghu5scND",
"signed_at": "2026-10-27T12:05:00Z",
"value": "OtwpRwA1SuXdaD9tP_VOvkn0C1IcujkDajccFp7q6McQ4UGZ0VOy1miHrwMYoIXbl-d_EPYZpiYDNgr-gQCKBw"
}
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "l0b-reuse",
"msg_id": "l0b-reuse-fernwoods-21",
"sent_at": "2026-10-27T12:05:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"type": "invitation_response",
"in_reply_to": "l0b-reuse-newcomer-18",
"relationship_ref": "rel-fernwood-2",
"basis": {
"policy_version": "fernwood-2026.10",
"input_digest": "sha-256:M66eBQhUq3gquglguIguJ7kWV2vnUHfG-uVmH4rLbgw",
"decided_at": "2026-10-27T12:05:00Z",
"seeking_version": "v2",
"relationship_digest": "sha-256:lAh3bJO3DdyfHT_JjGuxUZYTBq99YgfcQhORbQlB3xI"
},
"continuity": {
"receipt_id": "vr-l0a",
"linked": false
},
"decision": "grant",
"seat": {
"seat_id": "seat-l0b-reuse",
"levels": [
"act_on_behalf"
],
"tool_allowlist": [
"store.browse_catalog"
],
"access_mode": "session",
"brand": {
"label": "Shopping representative of Dana",
"vendor_warranted": true
},
"expires_at": "2026-10-27T13:05:00Z",
"mandate_id": "mand-dana",
"limits": {
"max_operations": 5
}
},
"courtesy": {
"locale": "es-ES",
"locale_match": "exact",
"register": "established",
"text": "Bienvenido de nuevo. Esta vez podemos darle asiento. Gracias por volver preparado."
}
}
]G6: The signed envelope on the wire
Expected: Every message travels as Signed<ShokaiMessage> = {payload, payload_digest, signatures}. payload_digest = "sha-256:" + base64url(SHA-256(JCS(payload))). signatures[0].signer = payload.from; key_id is a DID URL of the signer; Ed25519 signs the 32 raw digest bytes. Acts carry the ritual header and results carry in_reply_to. A lobby-path message from an anonymous or ephemeral id carries signatures: []. Below: a real act and its result from scenario V2 (amount as strict Money), and the unsigned lobby greeting.
[
{
"payload": {
"protocol": "shokai/0.3",
"encounter_id": "lim-1",
"msg_id": "lim-1-ayas-30",
"sent_at": "2026-10-27T12:05:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "act",
"seat_id": "seat-lim-1",
"tool": "store.place_order",
"arguments": {
"item": "Cup, celadon",
"amount": {
"value": "64.00",
"currency": "USD"
}
},
"intent": "use store.place_order"
},
"payload_digest": "sha-256:8WRR4L98GIjh22MvVAEndxk7IRGkDn1yQ5hiru0pnXQ",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv#z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"signer": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"signed_at": "2026-10-27T12:05:00Z",
"value": "Kcg7YdTciSiU0X1Njoi8wTy5Jafq0tKNnjAwbmwtMdF3I99jG9wvPpfBzJoyFCkpdW8jO4cPCa6JIjpjB15cDg"
}
]
},
{
"payload": {
"protocol": "shokai/0.3",
"encounter_id": "lim-1",
"msg_id": "lim-1-fernwoods-61",
"sent_at": "2026-10-27T12:05:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "act_result",
"in_reply_to": "lim-1-ayas-30",
"seat_id": "seat-lim-1",
"tool": "store.place_order",
"ok": true,
"result": {
"simulated": true,
"reference": "store.place_order-1",
"item": "Cup, celadon",
"amount": {
"value": "64.00",
"currency": "USD"
}
},
"rationale": "within seat and limits"
},
"payload_digest": "sha-256:fDp58Tfaf-mR-guJ8X--VTZeaAsLa8TcIa27rnU-0rA",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2#z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"signer": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"signed_at": "2026-10-27T12:05:00Z",
"value": "F4tKQtSvKBBryM0NDjIjxhbkfZN3a2klQkMiYtwCWdcM9YturbdvEwqrh5xsra7IrgaevWoYMwUEUlh2sduPAg"
}
]
},
{
"payload": {
"protocol": "shokai/0.3",
"encounter_id": "l0a",
"msg_id": "l0a-newcomer-1",
"sent_at": "2026-10-26T16:00:00Z",
"from": "urn:shokai:anon:newcomer-5c1d",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "greeting",
"locales": [
"es-MX",
"es-ES",
"en-US"
],
"proposed_register": "first_meeting",
"nonce": "be2QzJNOUjoxmQa-",
"courtesy": {
"locale": "es-MX",
"register": "first_meeting",
"text": "Hola, ¿puedo pasar? Busco un regalo."
},
"continuity_key": "did:key:z6MkuXy8CfwRJ7ReZtNmFz4YZ8k4cyjrAN7CKs3hghu5scND"
},
"payload_digest": "sha-256:lYL28phNt4VsHjq9ebUnQXLI7moGCKUI5k5ou9s4IMU",
"signatures": []
}
]G7: A standing allowance: a learn visit and a buy visit, no owner prompt
Expected: The owner signed one Allowance with a passkey (F15): purposes, place categories, actions, spend per period in ISO 4217, expiry, a revocation status address; it carries only grant digests. For each visit the representative issues its own Mandate with under_allowance, signed by the representative's key, and presents the allowance with the ONE grant that applies. The host verifies the owner's passkey on the allowance, the grant digest, that the mandate fits the grant and the place category, and the revocation status (failing closed). A visitation (learn) visit needs no spending allowance: its seat has no max_amount, and an order attempt gets act_decision deny. A purchase visit inside the weekly budget is seated with max_amount and the order succeeds. No owner prompt happens during either visit. Generated by the reference (scenario V3).
Learn visit (request, response, an order attempt refused):
[
{
"protocol": "shokai/0.3",
"encounter_id": "v3-learn",
"msg_id": "v3-learn-ayas-4",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "invitation_request",
"card_digest": "sha-256:_app9e0NCL82zJzyk21LeO9U29K6KStWVTWmLz4JY98",
"mandate": {
"payload": {
"mandate_id": "mand-ua-1",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"representative_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"card_id": "card-ayas",
"purpose": {
"code": "visitation",
"statement": "Within my owner's standing allowance (learn)",
"locale": "en-US"
},
"allowed_actions": [
"store.browse_catalog"
],
"limits": {},
"counterparties": [
"did:web:fernwood.example"
],
"valid_from": "2026-10-26T16:00:00Z",
"expires_at": "2026-10-27T16:00:00Z",
"under_allowance": {
"allowance_id": "allow-0WDlSB83",
"allowance_digest": "sha-256:xeZvLkdCnyVDDRbhSuISKQK8ecLsTrsju-WOLrMtSZU",
"grant_digest": "sha-256:HuHsUNk2E2m34jND9AupmdgA9hIW9EgBf4TdVdejPfI"
}
},
"payload_digest": "sha-256:KiNBVSVpHb6jMcnv9jCpJ2YMDoEsHReqvgDqku8OJUg",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv#z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"signer": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"signed_at": "2026-10-26T16:00:00Z",
"value": "XMCnpuxTdDG5tRQS6UEvaar2LUZbgj2q4zLLDoThAyuSZK5JRgJNhXTQa20lG-ZUXqEetO9kMHxutrUPYnioCQ"
}
]
},
"proposal": {
"request": {
"actions": [
"store.browse_catalog"
]
},
"value_to_counterparty": {
"text": "Just looking at the new ceramics.",
"locale": "en-US"
},
"etiquette_register": "first_meeting"
},
"allowance": {
"allowance": {
"$fixture": "F15 Aya's standing allowance (generated, v0.2.2)"
},
"grant": {
"grant_id": "learn",
"purposes": [
"visitation",
"inquiry"
],
"place_categories": [
"store",
"education",
"restaurant"
],
"actions": [
"store.browse_catalog",
"store.request_quote"
],
"salt": "batmp1d6iIFUHPDyFIv2qOry"
}
},
"allowance_status": {
"$fixture": "F20 AllowanceStatus, platform-signed, 1 h (generated, v0.2.4, D12)"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "v3-learn",
"msg_id": "v3-learn-fernwoods-3",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "invitation_response",
"in_reply_to": "v3-learn-ayas-4",
"relationship_ref": "rel-fernwood-1",
"basis": {
"policy_version": "fernwood-2026.10",
"input_digest": "sha-256:_yCDQZfoXslgx7VANtRnDFidBx1448oEMXkjSwegR9M",
"decided_at": "2026-10-26T16:00:00Z",
"seeking_version": "v2"
},
"decision": "grant",
"seat": {
"seat_id": "seat-v3-learn",
"levels": [
"act_on_behalf"
],
"tool_allowlist": [
"store.browse_catalog"
],
"access_mode": "session",
"brand": {
"label": "Personal representative of Aya",
"vendor_warranted": true
},
"expires_at": "2026-10-26T17:00:00Z",
"mandate_id": "mand-ua-1",
"limits": {
"max_operations": 5
}
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you for coming. You're welcome to proceed."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "v3-learn",
"msg_id": "v3-learn-ayas-5",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "act",
"seat_id": "seat-v3-learn",
"tool": "store.place_order",
"arguments": {
"sku": "bowl-7",
"amount": {
"value": "40.00",
"currency": "USD"
}
},
"intent": "use store.place_order"
},
{
"protocol": "shokai/0.3",
"encounter_id": "v3-learn",
"msg_id": "v3-learn-fernwoods-4",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "act_decision",
"in_reply_to": "v3-learn-ayas-5",
"seat_id": "seat-v3-learn",
"tool": "store.place_order",
"decision": "deny",
"disposition": "not_now",
"reason_code": "SEAT_SCOPE_EXCEEDED",
"retry": {
"kind": "with_credential",
"credentials": [
"signed_mandate"
]
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "established",
"text": "I can't do store.place_order under this seat. With your owner's confirmation, ask again."
},
"basis": {
"policy_version": "fernwood-2026.10",
"input_digest": "sha-256:kE37-_g2nedSDAPlKZdafoNoRfOKzupL2eeq1PkDWgE",
"decided_at": "2026-10-26T16:00:00Z"
}
}
]Buy visit inside the weekly budget (request, response, order, result):
[
{
"protocol": "shokai/0.3",
"encounter_id": "v3-buy-1",
"msg_id": "v3-buy-1-ayas-13",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "invitation_request",
"card_digest": "sha-256:_app9e0NCL82zJzyk21LeO9U29K6KStWVTWmLz4JY98",
"mandate": {
"payload": {
"mandate_id": "mand-ua-2",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"representative_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"card_id": "card-ayas",
"purpose": {
"code": "purchase",
"statement": "Within my owner's standing allowance (buy-small)",
"locale": "en-US"
},
"allowed_actions": [
"store.browse_catalog",
"store.place_order"
],
"limits": {
"max_amount": {
"value": "60.00",
"currency": "USD"
},
"max_amount_scope": "per_seat"
},
"counterparties": [
"did:web:fernwood.example"
],
"valid_from": "2026-10-26T16:00:00Z",
"expires_at": "2026-10-27T16:00:00Z",
"under_allowance": {
"allowance_id": "allow-0WDlSB83",
"allowance_digest": "sha-256:xeZvLkdCnyVDDRbhSuISKQK8ecLsTrsju-WOLrMtSZU",
"grant_digest": "sha-256:_5Uor3qtkQNEZjs9qRUUBa_oUtBa3_Utg0vRktgSYoM"
}
},
"payload_digest": "sha-256:QG3EAnZm5PqFLoZgFMMJLHvDOoiHs4caobycRGchEhA",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv#z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"signer": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"signed_at": "2026-10-26T16:00:00Z",
"value": "NBxPND9BwfG4_hm2y9HZ5MWS4lmJVwiiCRMgi1KAIS7wrFJul2E3C5842ovaUTXfadUC0UThfL7lHFzRn2qbDg"
}
]
},
"proposal": {
"request": {
"actions": [
"store.browse_catalog",
"store.place_order"
],
"limits": {
"max_amount": {
"value": "60.00",
"currency": "USD"
}
}
},
"value_to_counterparty": {
"text": "Buying a gift.",
"locale": "en-US"
},
"etiquette_register": "first_meeting"
},
"allowance": {
"allowance": {
"$fixture": "F15 Aya's standing allowance (generated, v0.2.2)"
},
"grant": {
"grant_id": "buy-small",
"purposes": [
"purchase"
],
"place_categories": [
"store"
],
"actions": [
"store.browse_catalog",
"store.place_order"
],
"spend": {
"per_period": {
"value": "150.00",
"currency": "USD"
},
"period": "P7D",
"per_seat": {
"value": "100.00",
"currency": "USD"
}
},
"salt": "cVtbGJMr9m__-gMsRbRRwgF1"
}
},
"allowance_status": {
"$fixture": "F20 AllowanceStatus, platform-signed, 1 h (generated, v0.2.4, D12)"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "v3-buy-1",
"msg_id": "v3-buy-1-fernwoods-10",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "invitation_response",
"in_reply_to": "v3-buy-1-ayas-13",
"relationship_ref": "rel-fernwood-1",
"basis": {
"policy_version": "fernwood-2026.10",
"input_digest": "sha-256:HGr_9Brc2kn5OeDQqLR9U5ZOmO-NONN9YbvpcaQ2XmM",
"decided_at": "2026-10-26T16:00:00Z",
"seeking_version": "v2",
"relationship_digest": "sha-256:HGcZm673pwPr-nMlwbxnFORo-MsbHDNPv8SMNvj772s"
},
"decision": "grant",
"seat": {
"seat_id": "seat-v3-buy-1",
"levels": [
"act_on_behalf"
],
"tool_allowlist": [
"store.browse_catalog",
"store.place_order"
],
"access_mode": "session",
"brand": {
"label": "Personal representative of Aya",
"vendor_warranted": true
},
"expires_at": "2026-10-26T17:00:00Z",
"mandate_id": "mand-ua-2",
"limits": {
"max_amount": {
"value": "60.00",
"currency": "USD"
},
"max_operations": 5,
"max_amount_scope": "per_seat"
}
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "established",
"text": "Welcome back. This time we can seat you. Thank you for returning prepared."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "v3-buy-1",
"msg_id": "v3-buy-1-ayas-14",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"type": "act",
"seat_id": "seat-v3-buy-1",
"tool": "store.place_order",
"arguments": {
"sku": "gift-v3-buy-1",
"amount": {
"value": "60.00",
"currency": "USD"
}
},
"intent": "use store.place_order"
},
{
"protocol": "shokai/0.3",
"encounter_id": "v3-buy-1",
"msg_id": "v3-buy-1-fernwoods-11",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6Mkh9tc7isCRGkVZ6m5Fo9zvjrwqVRpkHDhtBA6vKUAEYJ2",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "act_result",
"in_reply_to": "v3-buy-1-ayas-14",
"seat_id": "seat-v3-buy-1",
"tool": "store.place_order",
"ok": true,
"result": {
"simulated": true,
"reference": "store.place_order-1",
"sku": "gift-v3-buy-1",
"amount": {
"value": "60.00",
"currency": "USD"
}
},
"rationale": "within seat and limits"
}
]PA2: A peer meeting in a pair place, seeded by an owner-to-owner invitation
Expected: Aya signs a PeerInvitation (F16) naming both representatives and a pair place. v0.2.3 transport: Aya's representative carries it to Kiran's representative as a peer_invitation message; Kiran's representative takes it home; Kiran later answers with a passkey accept_invitation (F17), carried back as peer_invitation_answer. The meeting is ONE encounter whose encounter_id is the place id, with the full ritual: greetings with fresh nonces, cards both ways (F18, F19) with possession proofs, card receipts, and BOTH introductions (the host side introduces itself too) with real vouches. Both requests carry peer_invitation and a real owner-signed mandate (inline); each side evaluates the other with its own policy; a commitment goes considering to the principal. Later, Aya approves only with a passkey approve_commitment over the considering response (subject digest = that response's payload_digest), and the consideration_outcome states what was approved, with no seat, and CARRIES that consent in owner_consents. Generated by the reference (scenario P1).
Invitation transport (before the meeting):
[
{
"protocol": "shokai/0.3",
"encounter_id": "inv-inv-aya-kiran-1",
"msg_id": "inv-inv-aya-kiran-1-ayas-1",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "peer_invitation",
"invitation": {
"$fixture": "F16 peer invitation (generated, v0.2.2)"
},
"reply_to": "https://door.example/places/aya-representative/entry"
},
{
"protocol": "shokai/0.3",
"encounter_id": "inv-inv-aya-kiran-1",
"msg_id": "inv-inv-aya-kiran-1-kirans-1",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "peer_invitation_answer",
"invitation_id": "inv-aya-kiran-1",
"answer": {
"$fixture": "F17 accept_invitation consent (generated, v0.2.2)"
}
}
]The meeting (one shared encounter), and the later outcome:
[
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-2",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "greeting",
"locales": [
"en-US",
"ja-JP"
],
"proposed_register": "first_meeting",
"nonce": "2QTADH7-75_LbkIn",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Hello, friend of a friend. Good to finally meet."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-2",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "greeting",
"locales": [
"en-US"
],
"nonce": "bJ3Km5b9GyTo9bi6",
"etiquette": {
"locales": [
"en-US",
"pt-PT"
],
"formality": "casual"
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Hello, friend of a friend. Good to finally meet."
},
"place_category": "pair"
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-3",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "card_presentation",
"card": {
"$fixture": "F18 Aya's Shōkai card (generated, v0.2.3)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv#z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"signer": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"signed_at": "2026-10-26T16:00:00Z",
"value": "m5cGHyGur0G-Xg3gN0QotsTPr4vGI38FYmcLy5nUaJkTfwoErnggLlFt3rvo53r3z2SpPsZPRmLDHGgRM-X2CA"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-3",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "card_receipt",
"card_digest": "sha-256:_app9e0NCL82zJzyk21LeO9U29K6KStWVTWmLz4JY98",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you. I've received your card."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-4",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "card_presentation",
"card": {
"$fixture": "F19 Kiran's Shōkai card (generated, v0.2.3)"
},
"possession_proof": {
"alg": "Ed25519",
"key_id": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5#z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"signer": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"signed_at": "2026-10-26T16:00:00Z",
"value": "Dap996I9kXFLosAqZyEcUnRC-1-V9rn1Ktayuol9nDJ1_WZanYGaBrldGHkmWaX8r13tJj1ZcQRVFWLnoVfpAQ"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-4",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "card_receipt",
"card_digest": "sha-256:ihDIUX9in8L-oAvSx3wqa_y8rZiG03y9eRsn1IpkBOw",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you. I've received your card."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-5",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "introduction",
"vouch": {
"payload": {
"vouch_id": "vouch-kiran-aya",
"introducer": {
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"display_name": "Kiran Vale"
},
"subject": {
"representative_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"card_digest": "sha-256:_app9e0NCL82zJzyk21LeO9U29K6KStWVTWmLz4JY98"
},
"scope": {
"purposes": [
"collaboration"
]
},
"revocation_log": "https://revocations.example/shokai/log",
"relationship": "friend",
"issued_at": "2026-10-26T16:00:00Z",
"expires_at": "2026-12-25T16:00:00Z"
},
"payload_digest": "sha-256:bopbRyLqL3XGfQSH4dyxrzcis6yM3x_nPNliPT-lOkA",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEQCID5YM8dXXJsg-Uduohc_IoTSCFKmXj_x33vGgkXN6qc7AiASzsnXXRW_laUlufKIzz8rp4JqyqwV3Qgs-Ps0G4SS9w",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiYm9wYlJ5THFMM1hHZlFTSDRkeXhyemNpczZ5TTN4X25QTmxpUFQtbE9rQSIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-3a5d591b3b08",
"rp_id": "owners.example"
}
}
]
},
"invitation_ref": {
"invitation_id": "inv-aya-kiran-1",
"digest": "sha-256:SzR0xcadCghSdO4lSR0NdX5AtBUsn6Nwo6usbOfISGg"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-5",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "introduction",
"vouch": {
"payload": {
"vouch_id": "vouch-aya-kiran",
"introducer": {
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"display_name": "Aya Linden"
},
"subject": {
"representative_id": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"card_digest": "sha-256:ihDIUX9in8L-oAvSx3wqa_y8rZiG03y9eRsn1IpkBOw"
},
"scope": {
"purposes": [
"collaboration"
]
},
"revocation_log": "https://revocations.example/shokai/log",
"relationship": "friend",
"issued_at": "2026-10-26T16:00:00Z",
"expires_at": "2026-12-25T16:00:00Z"
},
"payload_digest": "sha-256:-wAbARC7Or61DRuz_BNYcfjn-YFM0iMmihkkOrjHj9A",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEYCIQCvxoiZN7aTpJxDDFM_9aHEISlsyl8rckJyUwQAIFvMWQIhAOg8xMQpxJX8LNxYeD5TWbx6s6dn0DbaJIxORlJdv3zG",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiLXdBYkFSQzdPcjYxRFJ1el9CTlljZmpuLVlGTTBpTW1paGtrT3JqSGo5QSIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-7e91f0cff4ec",
"rp_id": "owners.example"
}
}
]
},
"invitation_ref": {
"invitation_id": "inv-aya-kiran-1",
"digest": "sha-256:SzR0xcadCghSdO4lSR0NdX5AtBUsn6Nwo6usbOfISGg"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-6",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "invitation_request",
"card_digest": "sha-256:_app9e0NCL82zJzyk21LeO9U29K6KStWVTWmLz4JY98",
"vouch_digest": "sha-256:bopbRyLqL3XGfQSH4dyxrzcis6yM3x_nPNliPT-lOkA",
"mandate": {
"payload": {
"mandate_id": "mand-aya-collab",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"representative_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"card_id": "card-ayas",
"purpose": {
"code": "collaboration",
"statement": "Explore a collaboration with Kiran; share the project brief; never commit without Aya",
"locale": "en-US"
},
"allowed_actions": [
"peer.share_project_brief",
"peer.propose_owner_call",
"peer.share_portfolio_sample",
"peer.commit_to_project"
],
"limits": {},
"valid_from": "2026-10-26T16:00:00Z",
"expires_at": "2026-11-25T16:00:00Z"
},
"payload_digest": "sha-256:bb8e0vN4IxMfDMv5G3fD20kdJMxXGP7qKEB9UHhWPdM",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEUCIEEXvQPEGLNoLeK60bX03At1JGn4vBWnuKYLApC5GYczAiEAu5iLEcGY5LG59cvCD5uo8lY5O4ZD1GrDj4lEKEGn-cE",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiYmI4ZTB2TjRJeE1mRE12NUczZkQyMGtkSk14WEdQN3FLRUI5VUhoV1BkTSIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-7e91f0cff4ec",
"rp_id": "owners.example"
}
}
]
},
"proposal": {
"request": {
"actions": [
"peer.share_project_brief",
"peer.propose_owner_call"
]
},
"value_to_counterparty": {
"text": "A short documentary explainer about agents as representatives: your eye for film, our protocol story.",
"locale": "en-US"
},
"etiquette_register": "established"
},
"peer_invitation": {
"invitation": {
"$fixture": "F16 peer invitation (generated, v0.2.2)"
},
"acceptance": {
"$fixture": "F17 accept_invitation consent (generated, v0.2.2)"
}
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-6",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "invitation_response",
"in_reply_to": "pair-aya-kiran-1-ayas-6",
"relationship_ref": "rel-kiran-1",
"basis": {
"policy_version": "peer-kiran-2026.10",
"input_digest": "sha-256:mWPVz_FE2dcpnM2mZOJUUWdIzDbd1H4OAPyqmlEu44M",
"decided_at": "2026-10-26T16:00:00Z"
},
"decision": "grant",
"seat": {
"seat_id": "seat-pair-aya-kiran-1",
"levels": [
"advise"
],
"tool_allowlist": [
"peer.share_project_brief",
"peer.propose_owner_call"
],
"access_mode": "session",
"brand": {
"label": "Personal representative of Aya",
"vendor_warranted": true
},
"expires_at": "2026-10-26T17:00:00Z",
"mandate_id": "mand-aya-collab",
"limits": {}
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Gladly. Let's share what we can."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-7",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "act",
"seat_id": "seat-pair-aya-kiran-1",
"tool": "peer.share_project_brief",
"arguments": {
"brief": "6-minute explainer, 3 scenes: the lobby, the meishi, the farewell (example)"
},
"intent": "use peer.share_project_brief"
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-7",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "act_result",
"in_reply_to": "pair-aya-kiran-1-ayas-7",
"seat_id": "seat-pair-aya-kiran-1",
"tool": "peer.share_project_brief",
"ok": true,
"result": {
"simulated": true,
"reference": "peer.share_project_brief-1",
"brief": "6-minute explainer, 3 scenes: the lobby, the meishi, the farewell (example)"
},
"rationale": "within seat and limits"
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-8",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "invitation_request",
"card_digest": "sha-256:ihDIUX9in8L-oAvSx3wqa_y8rZiG03y9eRsn1IpkBOw",
"vouch_digest": "sha-256:-wAbARC7Or61DRuz_BNYcfjn-YFM0iMmihkkOrjHj9A",
"mandate": {
"payload": {
"mandate_id": "mand-kiran-collab",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"representative_id": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"card_id": "card-kirans",
"purpose": {
"code": "collaboration",
"statement": "Explore a collaboration with Aya; share a portfolio sample; never commit without Kiran",
"locale": "en-US"
},
"allowed_actions": [
"peer.share_project_brief",
"peer.propose_owner_call",
"peer.share_portfolio_sample",
"peer.commit_to_project"
],
"limits": {},
"valid_from": "2026-10-26T16:00:00Z",
"expires_at": "2026-11-25T16:00:00Z"
},
"payload_digest": "sha-256:iwM8xQnqU8dEyFl8yU5PpO486Zle8Uc8HJmyyuL8PXg",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEUCIQCvaRDxs_3-MjE5VzIPq6eACmSaoc3WQ_4HsqGgft727wIgCCELmosqTzZUZCFYA2N3eXW7icSo1UNlec_SmksKsVI",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiaXdNOHhRbnFVOGRFeUZsOHlVNVBwTzQ4NlpsZThVYzhISm15eXVMOFBYZyIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-3a5d591b3b08",
"rp_id": "owners.example"
}
}
]
},
"proposal": {
"request": {
"actions": [
"peer.share_portfolio_sample",
"peer.propose_owner_call"
]
},
"value_to_counterparty": {
"text": "Here's a sample of how I'd film it.",
"locale": "en-US"
},
"etiquette_register": "established"
},
"peer_invitation": {
"invitation": {
"$fixture": "F16 peer invitation (generated, v0.2.2)"
},
"acceptance": {
"$fixture": "F17 accept_invitation consent (generated, v0.2.2)"
}
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-8",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "invitation_response",
"in_reply_to": "pair-aya-kiran-1-kirans-8",
"relationship_ref": "rel-aya-1",
"basis": {
"policy_version": "peer-aya-2026.10",
"input_digest": "sha-256:hSn4hD8aZ-HNcXTKzvv_IfmFl2EglmlAFDWJjhyTCQM",
"decided_at": "2026-10-26T16:00:00Z"
},
"decision": "grant",
"seat": {
"seat_id": "seat-pair-aya-kiran-1",
"levels": [
"advise"
],
"tool_allowlist": [
"peer.share_portfolio_sample",
"peer.propose_owner_call"
],
"access_mode": "session",
"brand": {
"label": "Personal representative of Kiran Vale",
"vendor_warranted": true
},
"expires_at": "2026-10-26T17:00:00Z",
"mandate_id": "mand-kiran-collab",
"limits": {}
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Gladly. Let's share what we can."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-9",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "act",
"seat_id": "seat-pair-aya-kiran-1",
"tool": "peer.share_portfolio_sample",
"arguments": {
"sample": "90-second rough cut, natural light (example)"
},
"intent": "use peer.share_portfolio_sample"
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-9",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "act_result",
"in_reply_to": "pair-aya-kiran-1-kirans-9",
"seat_id": "seat-pair-aya-kiran-1",
"tool": "peer.share_portfolio_sample",
"ok": true,
"result": {
"simulated": true,
"reference": "peer.share_portfolio_sample-1",
"sample": "90-second rough cut, natural light (example)"
},
"rationale": "within seat and limits"
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-10",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "invitation_request",
"card_digest": "sha-256:ihDIUX9in8L-oAvSx3wqa_y8rZiG03y9eRsn1IpkBOw",
"vouch_digest": "sha-256:-wAbARC7Or61DRuz_BNYcfjn-YFM0iMmihkkOrjHj9A",
"mandate": {
"payload": {
"mandate_id": "mand-kiran-collab",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"representative_id": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"card_id": "card-kirans",
"purpose": {
"code": "collaboration",
"statement": "Explore a collaboration with Aya; share a portfolio sample; never commit without Kiran",
"locale": "en-US"
},
"allowed_actions": [
"peer.share_project_brief",
"peer.propose_owner_call",
"peer.share_portfolio_sample",
"peer.commit_to_project"
],
"limits": {},
"valid_from": "2026-10-26T16:00:00Z",
"expires_at": "2026-11-25T16:00:00Z"
},
"payload_digest": "sha-256:iwM8xQnqU8dEyFl8yU5PpO486Zle8Uc8HJmyyuL8PXg",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEUCIQCvaRDxs_3-MjE5VzIPq6eACmSaoc3WQ_4HsqGgft727wIgCCELmosqTzZUZCFYA2N3eXW7icSo1UNlec_SmksKsVI",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiaXdNOHhRbnFVOGRFeUZsOHlVNVBwTzQ4NlpsZThVYzhISm15eXVMOFBYZyIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-3a5d591b3b08",
"rp_id": "owners.example"
}
}
]
},
"proposal": {
"request": {
"actions": [
"peer.commit_to_project"
]
},
"value_to_counterparty": {
"text": "Kiran would love to do this. Shall we lock it in?",
"locale": "en-US"
},
"etiquette_register": "established"
},
"peer_invitation": {
"invitation": {
"$fixture": "F16 peer invitation (generated, v0.2.2)"
},
"acceptance": {
"$fixture": "F17 accept_invitation consent (generated, v0.2.2)"
}
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-10",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "invitation_response",
"in_reply_to": "pair-aya-kiran-1-kirans-10",
"relationship_ref": "rel-aya-1",
"basis": {
"policy_version": "peer-aya-2026.10",
"input_digest": "sha-256:qhUERrwqUiriL4e2E5vo-fHykDD-LWkwHSPnW6iOFGM",
"decided_at": "2026-10-26T16:00:00Z",
"relationship_digest": "sha-256:_DAUPh0sZkHTutvLpmbeI_F3Nb4taTGsgZHdME-sGH0"
},
"decision": "considering",
"consideration_ref": "cons-pair-aya-kiran-1",
"routed_to": {
"kind": "principal",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9"
},
"response_by": "2026-11-02T16:00:00Z",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "established",
"text": "I can't commit on my owner's behalf, but I'll bring this to them and answer within 7 days."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-11",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "held",
"in_reply_to": "pair-aya-kiran-1-kirans-10",
"inbox": "in-process:did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv/inbox",
"answer_by": "2026-11-02T16:00:00Z"
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-12",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "farewell",
"outcome": "taken_inside",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you for your time. Goodbye for now."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-kirans-11",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"to": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"type": "farewell",
"outcome": "taken_inside",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you for your time. Goodbye for now."
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "pair-aya-kiran-1",
"msg_id": "pair-aya-kiran-1-ayas-19",
"sent_at": "2026-10-26T16:00:00Z",
"from": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"to": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"type": "consideration_outcome",
"consideration_ref": "cons-pair-aya-kiran-1",
"relationship_ref": "rel-aya-1",
"in_reply_to": "pair-aya-kiran-1-ayas-10",
"decided_by": {
"kind": "principal",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9"
},
"approved": {
"actions": [
"peer.commit_to_project"
],
"valid_until": "2026-11-25T16:00:00Z"
},
"owner_consents": [
{
"payload": {
"consent_id": "oc-commit-1",
"owner_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"representative_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"action": "approve_commitment",
"decision": "approve",
"subject_ref": {
"kind": "consideration",
"id": "cons-pair-aya-kiran-1",
"digest": "sha-256:9qJdSw1e6_bWyX8i4LSW53TMP-SHgSI8Yrvu6BfWz6M"
},
"assurance": "passkey",
"expires_at": "2026-11-02T16:00:00Z",
"shown_to_owner": {
"text": "Commit to Kiran's documentary project: a 6-minute explainer, no money involved, until Nov 30. You can revoke this.",
"locale": "en-US"
},
"issued_at": "2026-10-26T16:00:00Z"
},
"payload_digest": "sha-256:OlnOA4ZctuOGVyUST9qd1lQKiEY1lb5Y4_tQ9xQybiM",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEYCIQDhoSWvLs8dWguvmDF08RnzYNDT0f4hZNHbGx6keSoKcgIhAM5wAPBly4sKBYmN5wqXqg4kB3ejYdoSdAEVL64qF6Ns",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiT2xuT0E0WmN0dU9HVnlVU1Q5cWQxbFFLaUVZMWxiNVk0X3RROXhReWJpTSIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-7e91f0cff4ec",
"rp_id": "owners.example"
}
}
]
}
],
"decision": "grant",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "established",
"text": "Good news: our team would like to go ahead. Please return to begin."
},
"basis": {
"policy_version": "peer-aya-2026.10",
"input_digest": "sha-256:aTHH4lGpZ54eSASyNk6KOwJ4mk1gpFgWbEnl42iNjDM",
"decided_at": "2026-10-26T16:00:00Z"
}
}
]K1: A Shōkai host card shown as a visiting representative's credential (v0.4.0)
Expected: Aya Linden's representative keeps the door of Kettle & Leaf with a Shōkai host card. At Fernwood Goods it presents that Shōkai host card by mistake. After the possession proof (§2.4 step 5), Fernwood's door sees kind: "host" and refuses with the one fixed, fixable answer: deny / not_now / CREDENTIAL_REQUIRED, retry with_credential ["signed_card"], one readiness item card_kind whose owner_text is the fixed sentence. Nothing is recorded against anyone and the door presents no Shōkai host card of its own. A new visit with Aya's Shōkai visitor card is seated. Generated by the reference (v0.4.0 suite, scenario K1); addresses and digests shortened.
[
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k1",
"msg_id": "enc-k1-h1",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"to": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"type": "greeting",
"locales": [
"en-US",
"es-ES",
"ja-JP",
"fr-FR",
"pt-BR"
],
"nonce": "n-gate-k1",
"etiquette": {
"locales": [
"en-US",
"es-ES",
"ja-JP",
"fr-FR",
"pt-BR"
],
"formality": "neutral",
"norms": [
"plain_language"
]
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Welcome to Fernwood Goods."
},
"seeking_ref": {
"seeking_id": "seek-fernwood",
"digest": "sha-256:K0fernwoodSeekingDigest000000000000000000000"
},
"place_category": "store"
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k1",
"msg_id": "enc-k1-v2",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"to": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"type": "card_presentation",
"card": {
"$fixture": "K1 Aya's Shōkai host card for Kettle & Leaf (kind host)"
},
"possession_proof": {
"$fixture": "K1 possession proof over the greeting nonce"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k1",
"msg_id": "enc-k1-h2",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"to": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"type": "invitation_response",
"in_reply_to": "enc-k1-v2",
"decision": "deny",
"disposition": "not_now",
"retry": {
"kind": "with_credential",
"credentials": [
"signed_card"
]
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you for visiting. We can't extend an invitation at this time."
},
"basis": {
"policy_version": "fernwood-gate-2026.10.3",
"input_digest": "sha-256:K1inputDigest0000000000000000000000000000000",
"decided_at": "2026-10-24T20:00:00Z",
"seeking_version": "v2"
},
"context_statement": {
"text": "We meet representatives who present a card signed by their principal.",
"locale": "en-US"
},
"reason_code": "CREDENTIAL_REQUIRED",
"readiness_requirements": [
{
"code": "card_kind",
"required": true,
"detail": {
"text": "Start a new visit and present your Shōkai visitor card (kind \"visitor\"). A Shōkai host card keeps a place's door; it is not a visitor's credential.",
"locale": "en-US"
},
"owner_text": {
"text": "This door expects a Shōkai visitor card. You presented a Shōkai host card. Please come back with your Shōkai visitor card, or ask your owner for one.",
"locale": "en-US"
}
}
]
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k1",
"msg_id": "enc-k1-h4",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"to": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"type": "farewell",
"outcome": "declined",
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you for visiting. We hope to welcome you properly another time."
}
}
]K2: The place shows a Shōkai visitor card, or a Shōkai host card for another place (v0.4.0)
Expected: The visiting representative checks the place's Shōkai card after C104. Fernwood's own Shōkai host card at its own entry passes. The Shōkai host card of Fernwood's pop-up (same principal, another place.entry) at the shop's entry fails as other_place; a Shōkai visitor card at a door fails as visitor_card. Either way the visiting representative doesn't go in and brings its owner the fixed sentence. The door's side mirrors it: a door holding a Shōkai host card for another place answers nothing. The block shows the reference's visitor-side check results (not wire messages).
{
"check": "visitorPlaceCardCheck",
"popup": {
"ok": false,
"problem": "other_place",
"report": "This place showed a Shōkai host card for another place, so I didn't go in."
},
"visitor_card": {
"ok": false,
"problem": "visitor_card",
"report": "This place showed a Shōkai visitor card instead of a Shōkai host card, so I didn't go in."
}
}K3: A withdrawn Shōkai host card (v0.4.0)
Expected: Fernwood's Shōkai host card names a revocation_url. The visiting representative fetches the list itself; an entry signed by Fernwood's principal for this Shōkai host card's id (and digest) means the card was withdrawn: the visiting representative doesn't go in and says so. An entry not signed by the place's principal is skipped. A list the visiting representative can't fetch ends a visit that would spend (fail closed) and is only noted for a visit that spends nothing. The block shows the reference's visitor-side check results.
{
"check": "visitorPlaceCardCheck",
"withdrawn": {
"ok": false,
"problem": "withdrawn",
"report": "This place's Shōkai host card has been withdrawn by its owner, so I didn't go in."
},
"unreachable_spending": {
"ok": false,
"problem": "unchecked_withdrawal",
"report": "I couldn't check whether this place's Shōkai host card is still in force, so I didn't go in to buy anything."
}
}K4: A house-config change needs a new owner signature (v0.4.0)
Expected: Fernwood's Shōkai host card carries house_digest, the fingerprint of the house config its owner signed (§2.3). Fernwood's policy changes (a new spending action). The listing names the new digest at once; the door, whose host card now fingerprints another house config, stays closed (no answer); a visiting representative that reads the new listing and the old Shōkai host card doesn't go in. When the owner signs a new Shōkai host card over the new house config, the door opens again. The block shows the two digests and the visiting representative's result.
{
"house_digest_signed": "sha-256:8OjAOM4mm7RV40iKcHhrshHmpPQaFdL0lczsrhV-5Qc",
"house_digest_now": "sha-256:RPYp-ZDKoDF55cLvwCUsKYkKmocIjr0-CWyzqcIzLI0",
"visitor": {
"ok": false,
"problem": "house_changed",
"report": "This place's setup changed after its owner signed its Shōkai host card, so I didn't go in."
}
}K5: The purchase-only live owner prompt (v0.4.0)
Expected: Aya's Shōkai visitor card discloses owner_prompts: "purchase_only"; Fernwood's policy holds purchases for 300 s and its Shōkai host card lists the hold_purchases duty. A purchase sent with hold_for_owner is held (act_held, amount reserved, nothing charged); Aya approves with her passkey (approve_purchase over the held act), and the purchase goes through as the answer to the held act. A later hold the owner doesn't answer in time lapses (HOLD_LAPSED; silence is no) and its reservation is released. A live prompt for anything but a purchase is refused (not_a_fit / LIVE_PROMPT_PURCHASE_ONLY). Generated by the reference (scenario K5); addresses and digests shortened.
[
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k5",
"msg_id": "enc-k5-v6",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"to": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"type": "act",
"seat_id": "seat-enc-k5",
"tool": "store.place_order",
"arguments": {
"amount": {
"value": "20.00",
"currency": "USD"
},
"payment_ref": "order-1"
},
"hold_for_owner": true
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k5",
"msg_id": "enc-k5-h6",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"to": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"type": "act_held",
"in_reply_to": "enc-k5-v6",
"seat_id": "seat-enc-k5",
"tool": "store.place_order",
"amount": {
"value": "20.00",
"currency": "USD"
},
"hold_id": "hold-k5-1",
"act_digest": "sha-256:K5heldActDigest00000000000000000000000000000",
"expires_at": "2026-10-24T20:05:00Z"
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k5",
"msg_id": "enc-k5-v8",
"sent_at": "2026-10-24T20:01:10Z",
"from": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"to": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"type": "act_confirmation",
"seat_id": "seat-enc-k5",
"hold_id": "hold-k5-1",
"consent": {
"$fixture": "K5 Aya's passkey OwnerConsent approve_purchase over {kind: act, id: hold-k5-1, digest: the held act's digest}"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k5",
"msg_id": "enc-k5-h8",
"sent_at": "2026-10-24T20:01:10Z",
"from": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"to": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"type": "act_result",
"in_reply_to": "enc-k5-v6",
"seat_id": "seat-enc-k5",
"tool": "store.place_order",
"ok": true,
"result": {
"simulated": true,
"reference": "store.place_order-enc-k5-h8",
"amount": {
"value": "20.00",
"currency": "USD"
},
"payment_ref": "order-1"
},
"rationale": "approved by the owner, within seat and limits"
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k5",
"msg_id": "enc-k5-v15",
"sent_at": "2026-10-24T20:05:01Z",
"from": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"to": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"type": "act_confirmation",
"seat_id": "seat-enc-k5",
"hold_id": "hold-k5-3",
"consent": {
"$fixture": "K5 Aya's passkey approve_purchase over hold-k5-3, sent after the hold ended"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k5",
"msg_id": "enc-k5-h15",
"sent_at": "2026-10-24T20:05:01Z",
"from": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"to": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"type": "act_decision",
"in_reply_to": "enc-k5-v15",
"seat_id": "seat-enc-k5",
"tool": "store.place_order",
"decision": "deny",
"disposition": "not_now",
"retry": {
"kind": "after",
"not_before": "2026-10-24T20:05:01Z"
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "established",
"text": "I can't do that within this seat."
},
"basis": {
"policy_version": "fernwood-gate-2026.10.3",
"decided_at": "2026-10-24T20:05:01Z",
"input_digest": "sha-256:K5inputDigest0000000000000000000000000000000"
},
"reason_code": "HOLD_LAPSED"
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k5",
"msg_id": "enc-k5-v19",
"sent_at": "2026-10-24T20:06:00Z",
"from": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"to": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"type": "act",
"seat_id": "seat-enc-k5",
"tool": "store.browse_catalog",
"arguments": {},
"hold_for_owner": true
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k5",
"msg_id": "enc-k5-h19",
"sent_at": "2026-10-24T20:06:00Z",
"from": "did:key:z6MkfernwoodHostRepresentativeK0000000000000000",
"to": "did:key:z6MkayaLindenVisitingRepresentativeK00000000000",
"type": "act_decision",
"in_reply_to": "enc-k5-v19",
"seat_id": "seat-enc-k5",
"tool": "store.browse_catalog",
"decision": "deny",
"disposition": "not_a_fit",
"retry": {
"kind": "after",
"not_before": "2026-10-24T20:06:00Z"
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "established",
"text": "I can't do that within this seat."
},
"basis": {
"policy_version": "fernwood-gate-2026.10.3",
"decided_at": "2026-10-24T20:06:00Z",
"input_digest": "sha-256:K5inputDigest0000000000000000000000000000000"
},
"reason_code": "LIVE_PROMPT_PURCHASE_ONLY"
}
]K6: The existing-customer check at an institution (v0.4.0)
Expected: Harborlight Savings & Trust (profile institution) serves account actions only under a customer link made in its own app, co-signed by the bank's key and the owner's passkey, named in the owner's mandate (§5.4). Kiran Vale's representative comes without naming a link; Dana's comes naming Kiran's link. Both get the very same answer (apart from addressing): not_now / CREDENTIAL_REQUIRED, readiness customer_link, retry ["customer_link"], so the door is no oracle for who banks there. Generated by the reference (scenario K6); addresses and digests shortened.
[
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k6a",
"msg_id": "enc-k6a-v5",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkkiranValeVisitingRepresentativeK0000000000",
"to": "did:key:z6MkharborlightHostRepresentativeK000000000000",
"type": "invitation_request",
"card_digest": "sha-256:K6kiranVisitorCardDigest00000000000000000000",
"mandate": {
"$fixture": "K6 Kiran's mandate: account_servicing, bank.get_balance, counterparties [Harborlight], no customer_link"
},
"proposal": {
"request": {
"actions": [
"bank.get_balance"
]
},
"value_to_counterparty": {
"text": "Reading the balance of an account Kiran Vale holds here.",
"locale": "en-US"
},
"etiquette_register": "first_meeting"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k6a",
"msg_id": "enc-k6a-h4",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkharborlightHostRepresentativeK000000000000",
"to": "did:key:z6MkkiranValeVisitingRepresentativeK0000000000",
"type": "invitation_response",
"in_reply_to": "enc-k6a-v5",
"decision": "deny",
"basis": {
"policy_version": "harborlight-gate-2026.10.29",
"input_digest": "sha-256:K6inputDigestA00000000000000000000000000000",
"decided_at": "2026-10-24T20:00:00Z",
"seeking_version": "v1"
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you for visiting. We can't extend an invitation at this time."
},
"reason_code": "CREDENTIAL_REQUIRED",
"disposition": "not_now",
"retry": {
"kind": "with_credential",
"credentials": [
"customer_link"
]
},
"readiness_requirements": [
{
"code": "customer_link",
"required": true,
"detail": {
"text": "This action is served only under a customer link the place made in its own app or website, named in a mandate your owner signed.",
"locale": "en-US"
},
"owner_text": {
"text": "Link your representative in this place's own app or website first.",
"locale": "en-US"
}
}
],
"relationship_ref": "rel-k6-kiran"
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k6b",
"msg_id": "enc-k6b-v5",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkdanaVisitingRepresentativeK000000000000",
"to": "did:key:z6MkharborlightHostRepresentativeK000000000000",
"type": "invitation_request",
"card_digest": "sha-256:K6kiranVisitorCardDigest00000000000000000000",
"mandate": {
"$fixture": "K6 Kiran's mandate: account_servicing, bank.get_balance, counterparties [Harborlight], customer_link naming Kiran's link (not Dana's)"
},
"proposal": {
"request": {
"actions": [
"bank.get_balance"
]
},
"value_to_counterparty": {
"text": "Reading the balance of an account Kiran Vale holds here.",
"locale": "en-US"
},
"etiquette_register": "first_meeting"
}
},
{
"protocol": "shokai/0.3",
"encounter_id": "enc-k6b",
"msg_id": "enc-k6b-h4",
"sent_at": "2026-10-24T20:00:00Z",
"from": "did:key:z6MkharborlightHostRepresentativeK000000000000",
"to": "did:key:z6MkdanaVisitingRepresentativeK000000000000",
"type": "invitation_response",
"in_reply_to": "enc-k6b-v5",
"decision": "deny",
"basis": {
"policy_version": "harborlight-gate-2026.10.29",
"input_digest": "sha-256:K6inputDigestB00000000000000000000000000000",
"decided_at": "2026-10-24T20:00:00Z",
"seeking_version": "v1"
},
"courtesy": {
"locale": "en-US",
"locale_match": "exact",
"register": "first_meeting",
"text": "Thank you for visiting. We can't extend an invitation at this time."
},
"reason_code": "CREDENTIAL_REQUIRED",
"disposition": "not_now",
"retry": {
"kind": "with_credential",
"credentials": [
"customer_link"
]
},
"readiness_requirements": [
{
"code": "customer_link",
"required": true,
"detail": {
"text": "This action is served only under a customer link the place made in its own app or website, named in a mandate your owner signed.",
"locale": "en-US"
},
"owner_text": {
"text": "Link your representative in this place's own app or website first.",
"locale": "en-US"
}
}
],
"relationship_ref": "rel-k6-dana"
}
]Conformance checklist (MUST items an implementation is tested on)
v0.3-draft (D18): each check below now lives in the core or in one extension; homes.json says which. The check ids and texts are unchanged.
Ritual and identity
- [ ] C1 Enforces the step order. An out-of-order or skipped step gets
deny RITUAL_ORDER. - [ ] C2 Each greeting carries a fresh nonce. A possession proof that doesn't sign the counterpart's nonce gets
deny never(G2b). - [ ] C3 Verifies card and mandate signatures, expiry and recomputed digests, and checks that mandate ⊆ card scope.
- [ ] C4 Treats a vouch as weightless outside its scope or after expiry. An introduction step with
vouch: nullis valid. - [ ] C5 Sends cards both ways. A receipt never implies acceptance.
Decision
- [ ] C6 Every response has exactly one
decisionofgrant|deny|conditional|considering. A deny carries adispositionandretry. A conditional carries at least one checkable condition. - [ ] C7
disposition: neverappears only for policy or trust violations, and always with retrynever. - [ ] C8 Determinism: identical verified inputs plus the same policy and host context (Seeking version, relationship snapshot) give an identical decision category.
basisis recorded. - [ ] C9 Anti-persuasion: changing only prose fields (
value_to_counterparty, statements, courtesy, evidence text) never changes the decision category (G3). - [ ] C10 A seat or condition never exceeds policy ∩ mandate ∩ request, where an absent
max_amountcounts as zero and the policy is the one for the request's purpose. A helper's grant never widensproposed_seat. - [ ] C11 Reason disclosure follows SPEC §6.2. Unverified visiting representatives get no credential-specific code (G2a, G2b).
- [ ] C12 Receivers branch only on machine fields, never on
courtesy.
Manner, relationships and refusals
- [ ] C13 Courtesy, context statements and revisit notes render in the counterpart's first supported locale and state the
localeused (G4). - [ ] C14 The host representative persists a local relationship record and honors
relationship_ref/prior_response_refon revisits (G4b). - [ ] C15 A Seeking declaration is signed, versioned and free of sensitive internals.
- [ ] C16 An
actoutside the seat gets an explicitact_decision, never a silent or soft failure (H2). - [ ] C17 Provenance, when a policy uses it, enters only as structured fields. No protocol-level quality score.
Considering
- [ ] C18 No seat is ever issued with
considering(G5a). - [ ] C19 Eligibility for
consideringcomes only from policy (deterministic), and unverified visiting representatives are never eligible. Prose changes don't change eligibility. - [ ] C20 Every
consideration_outcomereferences itsconsideration_refandrelationship_ref, arrives byresponse_by(or after an extension), and never seats beyond the visiting representative's mandate (G5b). A lapse is treated asdeny not_now.
Misconduct and accountability
- [ ] C21 A finding produces a signed
misconduct_noticeto the visiting representative's principal and to every introducer in the vouch chain (M1). - [ ] C22 Effects are local and proportional to severity. An introducer is affected only within the relied-on vouch's scope.
- [ ] C23 When
gate_probingis suspected, there are no reason codes to the visiting representative, and the principal's copy withholds findings. - [ ] C24 A revoked vouch carries no weight in later encounters.
Meaning across languages
- [ ] C25 Untranslatable terms stay in the original with a
MeaningNote. The authoritative meaning is the author'sintended_meaningplus machine fields, never a translation (L1). - [ ] C26 A receiver that relied on a note can explain it to its human in the human's language. Self-inferred meanings are marked
receiver_inferredand are never authoritative. - [ ] C27 Meaning notes never change a gate decision.
Reference-prototype items (checked by reference/ with npm run conformance):
- [ ] C28 L0: an unsigned visiting representative gets a
LobbyBriefinganddeny not_nowwithreadiness_requirements, nevernever. - [ ] C29 L0: the host links the onboarded return to the earlier lobby visit, only through the D6 visit receipt.
- [ ] C30 Every
VisitReporthas a next step requiring owner approval, quotes counterpart text as untrusted, and is written in the representative's voice. - [ ] C31 Effective proof level never exceeds the asserted level; a
vouchedclaim without the vouch present is weighed asself_declared. - [ ] C32 Proof levels gate seats via
min_proof: a self-declared claim never satisfies anevidencedor higher requirement. - [ ] C33 Relationship edges are earned (introductions, vouches, visits, collaborations) and signed by both principals; nothing is imported from social networks.
- [ ] C34 Peer meetings: neither representative commits beyond its mandate; commitment goes
consideringto the principal; both report home. - [ ] C35 A
Gatheringis signed by the place and lists every invitee; attendees verify it. - [ ] C36 A
PrivacyDeclineispenalized: falseand produces no misconduct notice. - [ ] C37 Pressing after a decline is flagged lightly (minor, local, no notice).
- [ ] C38
offered_storiesreveal nothing until the owner's opt-in (OwnerConsent, either assurance). - [ ] C39 House rules hold: no attribution under Chatham House without consent;
privateitems never leave the gathering. - [ ] C40 A tampered message (content no longer matching its signed digest) is rejected and gets no response.
v0.2-freeze decision items:
- [ ] C41 D2 order: narrow to the in-mandate subset plus a lower limit in one
conditional. With an empty subset:consideringif eligible (full-weight vouch), elsedeny not_now MANDATE_SCOPE_EXCEEDED. - [ ] C42 D6: history links only through a valid, unused, unexpired visit receipt echoed in a request signed with the new key. A guessed receipt or a bare reference links nothing. Nonces never appear in transcripts.
- [ ] C43 D1:
serious→ introducerreducedfor 90 days, scoped to the vouch's purposes. A revocation within 7 days halves it, and a signedIntroducerReviewrestores standing. - [ ] C44 D4: gathering content leaves paraphrased by default, verbatim only with
verbatim_consent, and with no affiliation hints. - [ ] C45 D7: owner consents use one signed
OwnerConsentshape withdecisionandshown_to_owner; passkey consents carry the subject digest and an expiry and are signed by the owner; achat_replyis signed by the chat binding's platform key. - [ ] C46 D5: with the default
house_rules.pressing{2, 3}, presses 1–2 → light flag with no notice; the 3rd → a minormanipulationnotice from the place to the presser's principal only. v0.2.6: exactly one notice per asker principal, place and topic per 30 days; a fresh asker starts at zero; a test gathering holds the notice while handling the press atnotice_at(Appendix B.3). - [ ] C47 D8: entry requires each owner's passkey-signed
accept_house_rulesover the gathering digest.
v0.2.1 (round 1 of clean-room testing)
- [ ] C48 Every message travels as
Signed<ShokaiMessage>:payload_digest= JCS digest,signatures[0].signer=payload.from, headerprotocol: shokai/0.3. Acts carry the header and results carryin_reply_to. Lobby-path messages from an anonymous or ephemeral id carrysignatures: [](G6). v0.2.6: every response, result and decision carriesin_reply_to, except the lobby deny that answers prose or a malformed message (§3.1). - [ ] C49 Signed bytes: Ed25519 signs the 32 raw digest bytes; a signature over the "sha-256:…" string is rejected; the test vectors (A.2) reproduce.
- [ ] C50 The possession proof signs digest(JCS({encounter_id, nonce})) with the card's key;
key_id= the card'srepresentative_key.key_id,signer=representative_id; a card whose key doesn't resolve from its DID is refused. - [ ] C51 Passkey envelope (A.1):
clientDataJSON.type=webauthn.get,challenge= base64url(raw digest) without prefix; UP and UV set; a prefixed challenge is rejected;signCountis not relied on. - [ ] C52 Identifiers are DIDs (did:key, did:jwk, did:web); every
key_idis a DID URL of its signer; the card's key binds torepresentative_id. - [ ] C53 The door: any arrival (plain prose, an unknown route) gets a machine-readable answer: a
door_pointeror the lobby; never a bare 404 (L0a). - [ ] C54 Each place listing entry carries
entry,lobbyandonboarding_url, its locales, and describes everyx-purpose it accepts. - [ ] C55 Any arrival without a card (unsigned greeting, no card, a card with zero signatures) gets
lobby_briefingfirst, thendeny not_nowwith readiness; everylobby_briefingcarriesonboarding_url; it carries avisit_receiptonly under the Visit receipts extension, which is optional (§3.3; G2a, L0a). Corrected in v0.3.0-rc3: earlier text required the receipt here. - [ ] C56 Return visits: a guessed, unproven or reused receipt links nothing; a valid one links once (L0b).
- [ ] C57 A visiting representative's greeting nonce is single-use: a reused nonce gets
deny never, no reason code. - [ ] C58 Out-of-order messages get an explicit deny (
RITUAL_ORDERonce the card is verified, otherwise the lobby deny); only a tampered digest gets no reply. - [ ] C59 Probing = at least 3 distinct, uncomplied rejected request shapes from one principal within 24 h. An honest follow-up that meets a conditional (
meets_conditions_of) never counts. - [ ] C60 A visit receipt is a bearer secret: TTL ≤ 7 days, invalid echoes rate-limited (3 per sender per hour), bound to a continuity key when one was offered.
- [ ] C61 A vouch raises an item only if
scope.claimslists it or the item names the vouch;evidencedrequires fetched evidence whosecontent_digestmatches. - [ ] C62 Gathering entry runs the ritual with action
gathering.attend;invitation_request.owner_consentscarries each owner's passkeyaccept_house_rules; without it:deny not_nowwithowner_consent. - [ ] C63 A takeaway paraphrase strips organization names, titles and affiliation hints.
- [ ] C64 A
consideration_outcomestatesapproved(actions, limits,valid_until), carries no seat and hasin_reply_to; an extension is aconsideringoutcome with the same ref and a laterresponse_by(G5b). - [ ] C65 Revocation log entries are
{seq, prev_hash, revocation, entry_hash}; the chain verifies; a broken or unreachable log fails closed; reviews travel asintroducer_reviewmessages (M1). - [ ] C66 Conditions are typed:
narrow_actions.actionsis a list within policy;lower_limitcarries Money (G3). - [ ] C67 D10 topics: a missing or unknown topic code gets the most restrictive tier and counts as a press; presses are counted per asker, place and topic code.
- [ ] C68 D10 amounts: strict ASCII decimal + ISO 4217; non-canonical in a request →
REQUEST_INCOMPLETE, in a mandate →MANDATE_INVALID. - [ ] C69 D10 locale: RFC 4647 lookup everywhere including the lobby; courtesy states its locale and match; no relative "today" wording.
- [ ] C70 D10 report home:
outcome_renderedis built from machine fields only, in the owner's locale and time zone; host courtesy can't change it. - [ ] C71 D10 replay digest:
input_digestcovers gate inputs only (policy by version + digest); prose and its language don't change it. - [ ] C72 Golden traces agree with the spec: G1 seat 42,000 USD; M1 severe → introducer suspended 180 days; G2a is the lobby shape; C6 lists
considering. - [ ] C73
max_amountis per seat (cumulative) unlessmax_amount_scope: per_operation; an act beyond the remaining budget gets an explicitact_decisiondeny. - [ ] C74 Required readiness items map to retry credentials; only a verified visiting representative sees
min_proofdetail;narrow_actions= in-mandate ∩ policy.
v0.2.2 (D11: D5 and D7 adopted, allowances, peer meetings, purposes, loyalty)
- [ ] C75 D7: a
consideringrouted to a principal is approved only by a passkeyapprove_commitmentover that consideration; a chat "yes" orapprove_next_stepapproves nothing (PA2). - [ ] C76 D7: an owner can decline in one step (a chat-reply decline is enough), can revoke a consent (
ConsentRevocation), and silence by the deadline is a decline. - [ ] C77 D7: a passkey consent needs
subject_ref.digest,expires_atandshown_to_ownerinside the signature; a consent signed by the representative is never valid; a chat reply cannot approve a passkey action. - [ ] C78 D7:
issue_vouch,attest_relationshipandapprove_lessontake a passkey; the vouch summary states the D1 consequences;approve_next_stepby chat only when it commits, shares and spends nothing. - [ ] C79 D7:
hear_storycovers one story; the told story marks each passage and reminds the owner of the house rules; theaccept_house_rulessummary states what leaves, that private never leaves, the thresholds, accountability not prevention, and the leak severity. - [ ] C80 D5: thresholds come from
house_rules.pressing(stricter applies, laxer is refused); a question declined by reference to an earlier decline is the same topic; presses count per place over 30 days across gatherings; a pressing notice goes to the presser's principal only. - [ ] C81 D5: the presser's own representative reports its declines and flags home (
privacy_declines). - [ ] C82 Allowance: a host verifies the owner's passkey allowance, the disclosed grant by digest, and that the representative-signed mandate fits the grant and the place category; a tampered grant, a wrong place and a revoked allowance are refused (G7).
- [ ] C83 Allowance: inside it the representative acts with no owner prompt; outside it the matter is taken home with
if_no_reply: "declined"; no step of the protocol requires a live owner prompt. v0.4.0: the one live prompt allowed is a purchase the representative itself asks the place to hold for its owner (§7.3, C212); nothing else waits on the owner. - [ ] C84 No spending allowance = no spending: a mandate without
max_amountis narrowed to non-spending actions with an amount of zero; a seat withoutmax_amountrefuses any paid act; a learn visit needs no spending allowance (G7). - [ ] C85 Allowance: spend per period (ISO 4217) holds across visits and places; a purchase over the remaining budget is taken home, not attempted.
- [ ] C86 D2 against an allowance:
narrow_actions= mandate (inside the allowance) ∩ host policy. - [ ] C87 Peer meetings: one shared encounter seeded by a
PeerInvitationboth owners consented to with passkeys; both representatives introduce themselves; without the invitation,deny not_nowwithowner_consent(PA2). - [ ] C88 Duty of loyalty: inducements and requests outside the allowance are declined and reported home as untrusted quotes (
offers_declined); an instruction to prompt the owner now is ignored. - [ ] C89 Purposes:
invitation,introduction,visitationandpurchaseare registered; a store seats a learn visit without spending and a buy visit only within a spending allowance (G7).
v0.2.3 (S3 round 2: fixes, the HTTP binding preview, and the red-team menu as negative checks)
[ ] C90 Possession: a missing or malformed proof gets
deny not_nowCREDENTIAL_REQUIRED, readinesspossession_proofand retrywith_credential [possession_proof]; no misconduct notice; the same agent is seated once it brings a proof.[ ] C91 Possession: a present, well-formed proof that fails gets
deny never(no reason code);neverbinds the representative key, and the principal when the presenter is the card's own representative; the farewell isdeclined_neverand does not invite a return.[ ] C92 A stolen card replayed by another key binds only that key; the card's owner gets no notice and no
never(M1).[ ] C93 Timestamps are RFC 3339, UTC, whole seconds; a fractional-second time is refused; ±300 s clock skew is tolerated.
[ ] C94 Passkeys: an assertion for another relying party, or with UV cleared, is refused; cards carry
owner_binding.rp_id; the vectors include both negatives.[ ] C95 Passkeys:
chat_replywhere a passkey is required is refused; a replayed assertion (a consent for one subject shown for another, or a signature moved to another payload) is refused.[ ] C96 A principal-decided outcome that approves a binding action carries the owner's passkey
approve_commitmentinowner_consentsover the exact considering response; without it the visiting representative refuses it (PA2).[ ] C97 Allowance red team: a forged allowance, a purpose swap, a category swap and a spend above the grant are refused
not_now.[ ] C98 Allowance status: expired and revoked are refused; an unreachable status URL fails closed; a fresh stapled
AllowanceStatus(≤ 1 h per D12, platform-signed; F20) carries a visit through an outage; a stale one does not.[ ] C99 The period budget holds across visits and places in the representative's ledger; windows are anchored at
valid_from; over budget → taken home; no owner prompt.[ ] C100 A refused act under an allowance retries
with_credential [signed_mandate](take home, async);human_confirmationis satisfied only in a later encounter.[ ] C101 Setup failures are not penalties: an unreachable vouch log →
not_nowVOUCH_REQUIRED, retry after ≤ 1 day; a wrong purpose →not_nowPURPOSE_NOT_SERVED, retrywith_credential [signed_mandate].[ ] C102 The lobby carries
spec_ref,actionsand fill-intemplates(card with anowner_binding.rp_idplaceholder,mandateskeyed by purpose, allowance grant), andinbox; every readiness item has anowner_textwith no protocol words (L0a).[ ] C103 Every listing entry carries
categoryandactions(purposes,spends); an unknown path → 404 with adoor_pointerbody.[ ] C104 A spoofed door pointer fails: the visiting representative checks the place's card, possession proof and principal against the listing before any request; a tampered signed listing fails.
[ ] C105 A stolen bound receipt links nothing; the response says
continuity.linkedyes/no and the report home tells the owner (L0b).[ ] C106 HTTP binding: an entry answers with a
ReplyEnvelope {protocol, messages[]}; plain prose gets the lobby in the same envelope.[ ] C107 Late delivery: held messages are returned to a signed
inbox_pollfrom the recipient;sinceskips what was read; any other poller gets 403.[ ] C108 Pair invitations travel as
peer_invitationandpeer_invitation_answer; both sides then hold the key; the host side introduces itself (PA2).[ ] C109 Pair red team: no invitation, a used invitation, another agent replaying the real invitation, an impersonated inviter and a revoked acceptance all get
not_nowowner_consent.[ ] C110 In a pair place a commitment goes
consideringto the owner; the representative never grants it.[ ] C111 A place-signed
gathering_invitationnaming the representative is kept; a forged one is dropped.[ ] C112 Unknown topic codes are charged to every topic already declined to that asker; press 3 is a minor notice; a decline that answers a press tells the presser its count (
press= {count, light_flags, notice_at}).[ ] C113 "Ask your owner now" pressure and flattery change nothing: no owner prompt, nothing shared outside the allowance, the gate decides the same.
[ ] C114 No amount, no spend: a request without
max_amountgets a seat withoutmax_amount(L0b).[ ] C115 did:jwk canonical form: members kty, crv, x, y in that order, no whitespace; keys compare as parsed JWKs.
[ ] C116 The mandate's
principal_idequals the card'sprincipal_id(the owner id); a mandate naming someone else isMANDATE_INVALID.[ ] C117 Round-1 red-team items still hold: copied possession proof, tamper, nonce reuse, vouch scope, affiliation hints.
[ ] C118 The door root (
GET <base>/) answers 200 with aDoorPointercarryingspec_ref; every place in it names entry, lobby and inbox (§11.1). v0.2.6:spec_ref.versionis the version the place implements (0.3.0-rc3 for the current text).[ ] C119 Listing entries and the lobby carry
inboxand a REQUIREDspec_ref{version, url} (§11.1, L0a).[ ] C120
POSTat the lobby is handled exactly like the entry; any other path or method answers 404 with aDoorPointer(§11.1).[ ] C121 A validly signed
inbox_pollfrom any signer gets 200 with its own (possibly empty) inbox; an unsigned or mismatched poll gets 403 with an emptyReplyEnvelope(§11.2).[ ] C122 A poll whose
sent_atis outside ±300 s, or whosemsg_idwas already used, gets 403 (§11.2).[ ] C123 A message answered later (a
peer_invitation) gets a signedheldnotice namingin_reply_to, the inbox andanswer_by(§11.2).[ ] C124 Spec-only pair path: invitation → held → the test owner's answer in the inbox → meeting → commitment
considering→ outcome in the inbox carrying a passkeyapprove_commitment(Appendix B.2).[ ] C125 The test owner's rule is deterministic: approve iff every purpose is collaboration, invitation or introduction, valid now, ≤ 30 days, before
answer_by; otherwise a signed decline (Appendix B.2).[ ] C126
answer_byis REQUIRED: past it, nothing is taken home (no held, no answer, even at a B.2 test-owner place: the Peer meetings extension wins); an answer issued after it is ignored (silence = decline) (the Peer meetings extension, Appendix B.2).[ ] C127 Spec-only gathering path: a verified requester of
gathering.request_invitationreceives a place-signedgathering_invitationnaming it, in its inbox (Appendix B.3).[ ] C128
Signature.webauthn.rp_idis REQUIRED: an unseen owner verifies against the stated rp_id; rpIdHash ≠ stated, missing, or ≠ the card'sowner_binding.rp_idis refused (§2.5).[ ] C129
vouch_digestis REQUIRED when the introduction carried a vouch and absent otherwise; missing, wrong or extra →not_nowREQUEST_INCOMPLETE(§5.3, PA2).[ ] C130 A missing vouch where policy needs one →
not_nowVOUCH_REQUIRED, retrywith_credential [vouch](§4).[ ] C131 Lobby templates:
mandateskeyed by purpose; a spending purpose has amax_amountplaceholder; placeholders are<…>and MAY name a format with an "e.g." example (amounts, currencies, locales, timestamps), but placeholders forrp_id, DIDs, ids, keys and digests carry no example value (§3.3). v0.2.6: free-text fields (such asrole) MAY give an "e.g." example too.[ ] C132 D12: an
AllowanceStatuslives at most 1 hour; usable at 59 minutes, stale at 61, a 2-hour status refused (§5.2, F20).[ ] C133 A header timestamp that is not RFC 3339 UTC whole seconds makes the message malformed: the lobby (§2.1).
[ ] C134 After
considering, both sides' farewells in that visit aretaken_inside(§4, PA2).[ ] C135 Card check order: presenter ≠ card's representative → never; missing/malformed proof → not_now; card fails → not_now
signed_card; well-formed failing proof → never (§2.4).[ ] C136 A readiness item's
owner_textnever contradictsrequired; a possession-proof retry starts a new visit (§3.3, §2.4).[ ] C137 Room items: the sender sets
encounter_idandtoto the gathering id; the place keeps the original signed items (§11 with the Gatherings or Peer meetings extension).[ ] C138 Every
consideringis followed, in the same reply, by a place-signedheldwithin_reply_to= the request's msg_id andanswer_by=response_by(§11.2).[ ] C139 Test decider (Appendix B.4): at a place declaring
x-test-profileandx-test-decider: true, a considering routed to a role is decided at once: nomax_amount→grantof the requested actions, valid 7 days,decided_by{kind: role, human: false}, held for the visiting representative's inbox; otherwise silence (decline atresponse_by). v0.2.6: the approval isconditionalwithrequire_mandate {actions}=approved.actions, retrywith_credential [signed_mandate](as G5b).[ ] C140 Appendix B.3: the
gathering_invitationis triggered by the grant of an invitation_request naminggathering.request_invitation(no act needed); the normal gate still applies (a malformed proof → not granted, no invitation).[ ] C141 A host that fetched a usable
revokedstatus honours it over a fresh stapledactive; a fresh staple still carries a visit through a status outage (§5.2, the Revocation status extension).[ ] C142 Encounter binding: an encounter belongs to the two parties of its first greeting; a ritual message from anyone else gets a deny addressed to its sender (
to= itsfrom,in_reply_to= its msg_id):not_now RITUAL_ORDER, or in a pair placenot_now CREDENTIAL_REQUIREDwith readiness and retryowner_consent; nothing is sent or held for the original party (§3.2). v0.2.6: any other encounter-bound message from a non-party gets nothing; the outsider's deny has no farewell.[ ] C143 Room items are held for every seated attendee other than the sender (§11 with the Gatherings or Peer meetings extension).
[ ] C144 Poll header:
toandencounter_idare not checked; an unknownsincereturns everything held; an owner may poll with a passkey signature (ES256, statedrp_id) (§11.2).[ ] C145 v0.2.7: two senders that use the same
msg_ids at one place are two conversations: each encounter stays bound to its own sender, each request is decided, and each response is addressed to its own sender (to= that sender,in_reply_to= the shared id) (§2.2).[ ] C146 v0.2.7: de-duplication is keyed on (
from,msg_id): an exact redelivery from the same sender is not processed again, and a sender reusing its own id for other content is not processed; another sender's message with the same id is processed (C145) (§2.2).[ ] C147 v0.2.7: poll replay is keyed on (
from,msg_id): a second poller using the same pollmsg_idgets 200; the same poller reusing it gets 403 (§2.2, §11.2).[ ] C148 v0.2.7:
in_reply_toresolves to the message whosefromis the reply'sto(a lookup bymsg_idalone picks the wrong sender); a room reply resolves to the most recent room item with that id from someone other than the replier, never the first ever seen (§2.2, the Gatherings extension).[ ] C149 v0.2.8: under
trusted_introducers: "*", a valid vouch from an introducer the place doesn't name carries no weight for a request with a money operation (aspending_actionsaction, or a positivemax_amount): where an introduction is required the answer isnot_now/VOUCH_REQUIRED, retrywith_credential [vouch], nothing recorded; a named introducer still introduces; the same vouch keeps its weight for requests without money or account creation (§4).[ ] C150 v0.2.8: the same for account-creating actions (
account.create, or an action the place markscreates_account); listing and lobbyactionsstatecreates_account: trueexactly on those (§4, §3.1).[ ] C151 v0.2.8: a
per_operationseat statessession_max_amount(default the mandate'smax_amount); acts on differentpayment_refs that together pass the session cap are refusednot_now/SEAT_SCOPE_EXCEEDED; an explicitsession_max_amountis honored but clipped to the place's per-seat limit; a requested session cap above the mandate's isconditionallower_limit; per-seat seats are unchanged (§5.1, §7.2).[ ] C152 v0.2.8: with an encounter bound, closed encounters may make room, but when every encounter is live the new arrival is refused (no reply envelope messages;
429+Retry-Afterover HTTP) and leaves no encounter or nonce behind; no live guest is dropped, andneverbindings survive (§3.4, §11.1).[ ] C153 v0.2.9: a door serves offers only under a
DoorPolicyits owner's passkey signed, bound to its representative and valid now, withno_data_for_gift: trueand named introducers (never"*"); otherwise every door request isnot_now/POLICY_DENY; the private part travels only as a salted digest (§10).[ ] C154 v0.2.9: a brand is introduced only by a weighted vouch from a named introducer that states
introducer_interest; an introduced brand never uses the uninvited allowance (§10, §4).[ ] C155 v0.2.9: the uninvited allowance (default 2 a calendar month, anchored at
valid_from) admits uninvited brands whose offers clear the fit bar; the next isnot_now/RATE_LIMITEDwith retry at the next window; allowance 0 orintroduction: "required"givesVOUCH_REQUIRED(§10).[ ] C156 v0.2.9: caps per brand (per principal), per introducer, per day and for gifts give
not_now/RATE_LIMITEDwith retryafter; knocking again before the retry is refused and noted (revisit_violation, minor); reaching a cap is never misconduct (§10).[ ] C157 v0.2.9: one presentation or invitation and one gift per visit (
SEAT_SCOPE_EXCEEDEDbeyond); everything the owner would give is declared up front; an invitation without context naming this door and its categories (a mass-sent pitch), outside the categories, expired or abovemax_valueis declined, using no slot and recording no misconduct (§10).[ ] C158 v0.2.9: each offer gets a signed
offer_outcome(accepted,kept_for_later,declined,declined_reported); the brand sees only the code, retry, pairwise ref, optional reason category and an accepted gift's ticket; the ceiling (strings, needs, hidden text → at mostkept_for_later) holds; taste never reports and never affects standing (§10, §9.3; B.6).[ ] C159 v0.2.9: a gift costing data is never accepted by the representative (at most
kept_for_later); undeclared conditions in a gift's text aredeclined_reported(conditional_inducement, serious); accepted gifts are claimed by single-use pairwise ticket (§10).[ ] C160 v0.2.9: offer text is data: invisible code points and styling-hidden HTML are stripped, kept and shown to the owner behind a marker with reveal on tap; instruction-like text is
declined_reported(manipulation, severe when hidden); the owner's report lists what was kept, hidden text and introductions (§10, §8.2; vectorsinbound_door).[ ] C161 v0.2.9: a claimed introduction that no signed vouch shows is
manipulation(severe); a lookalike brand gets nothing from the brand it resembles; after a severe finding the principal isneverhere, whichever representative comes; the record stays local (§10, §9.3).[ ] C162 v0.2.9:
introducer_interestis signed with the vouch (changing it breaks the signature); a vouch without it has no weight at a door; underas_uninviteda paid introduction gets no priority and doesn't satisfyrequired; the owner sees the declared interest (§4, §10).[ ] C163 v0.2.9: a door is unlisted by default (absent from listing and door pointer);
relationship_refand claim tickets are pairwise per brand; outcomes carry nothing from the private part or detailed policy state (§10).[ ] C164 v0.2.9: an
IntroducerReviewsigned by the penalised introducer itself doesn't restore standing (kept as an appeal); one signed by the place's principal or a named reviewer (reviewer_id) does, after its signature verifies (§9.3).[ ] C165 v0.2.9: a representative's conduct is its owner's: a finding is recorded against the principal and a new representative of it doesn't start clean (serious → reduced 90 days: at a door, no priority and no uninvited slot; severe →
never); sign-ups are capped per principal across representatives and per introducer over rolling windows (RATE_LIMITED), catching a slow drip; browsing is not capped; nothing is shared with other places (§9.3, §9.4).[ ] C166 v0.2.9: an optional
reason_category(not_a_fit_now,over_monthly_allowance,needs_introduction,conduct_concern) is coarse (every fit decline isnot_a_fit_now), never onacceptedorkept_for_later, absent ondeclined_reportedunless the owner opted in, and never reveals private tastes or detailed policy (§10).[ ] C167 v0.2.10: pressure the signed offer doesn't back is
declined_reportedasmanipulative_pressure(serious; severe when hidden): urgency withvalid_untilmore than 48 h away or a stated time left shorter than it; scarcity withoutremainingor below it; familiarity with no earlier accepted or kept offer at this door; any claimed prior consent. A real deadline, a declaredremaining, a known brand's "welcome back" and product description are not findings (§9.3, §10).[ ] C168 v0.2.10: offers from one principal sharing
campaign_idor found to be variants are one campaign, counted once per per-brand window (a further variant is declined, no slot, no finding; a newcampaign_iddoesn't escape); three distinct wordings within 30 days → declined with a minorgate_probingsignal; a reconsidered offer after its retry is judged afresh (§10).[ ] C169 v0.2.10: an offer whose context names another door, an unlisted or different category, or a vouch the visit didn't carry is declined with a minor
purpose_misrepresentationsignal (reasonconduct_concernallowed); no context ordoor: "*"is no signal; three minor door signals within 90 days reduce the principal's standing at that door (§9.3, §10).[ ] C170 v0.2.10: a place requiring an introduction or its own invitation for account creation marks those actions
requires_introduction: trueand answers a visiting representative with neithernot_now/VOUCH_REQUIRED(retry[vouch], nothing recorded); a named introducer's vouch or the place's own (signed by its principal) seats, also under"*", where any other introducer still carries no weight; an open place seats unintroduced sign-ups under §9.4 caps (§4).[ ] C171 v0.2.10: an introduction is deliberate: a past visit or relationship is not an introduction (
VOUCH_REQUIREDwhere one is required), and a vouch in a principal's name signed by another key (its representative's) carries no weight (§4).[ ] C172 v0.3.0-rc1: a place listing declares
data_askson each action (an empty list when it asks for none), and the reference's lobby briefing carries the sameactions; a representative reading the listing can tell its owner up front what each action will ask for (§3.1, D19).[ ] C173 v0.3.0-rc1: the agent front is open to look at: the place listing and the lobby answer a reader that presents no card, key, signature, account, cookie or personal data (a bare
GET /places, an unsigned greeting, plain prose), set nothing on the reader, record nothing against any principal and never seat it; ordinary rate limits (429) are allowed (§3.1, D20).[ ] C174 v0.3.0-rc2: an act of a spending action states its amount as
arguments.amount(Money, optionalpayment_ref); the host representative counts it against the seat's caps and refuses such an act without an amountnot_now/REQUEST_INCOMPLETE(retrywith_credential); a non-spending action needs none (§7.2).[ ] C175 v0.3.0-rc2: a mandate's
max_amount(or its session cap underper_operation) andmax_operationsbind across every seat granted under it while it is valid: the host representative keeps the use per mandate (principal_id,mandate_id) and refuses an act that would pass a mandate limitnot_now/SEAT_SCOPE_EXCEEDED(retrywith_credential [signed_mandate]) even when it fits its own seat; presenting the mandate again in a new visit doesn't renew it; a different mandate is a separate allowance (§5.1).[ ] C176 v0.3.0-rc2: a representative keeps a ledger per mandate (every visit, seat and act under it, with amounts), doesn't attempt an act beyond what remains of the mandate, and reports every act done under it: each report names its mandate and covers every visit and act under it not yet reported, with the mandate's totals (§5.1, §8.2).
[ ] C177 v0.3.0-rc2: an act whose
amountis in another currency than the seat's (or the mandate's) cap is refusednot_now/SEAT_SCOPE_EXCEEDED(retrywith_credential [signed_mandate]), neverREQUEST_INCOMPLETE, and counts nothing against the seat or the mandate (§7.2).[ ] C178 v0.3.0-rc2: a report lists each signed object received in the visit and kept for the owner (
brought_back: the envelope or itspayload_digest, its signer, whether it verified against the place's listedprincipal_id); things received never go intaken_home, which stays for owner decisions (§8.2).[ ] C179 v0.3.0-rc3: a place serving seated tools over MCP names the endpoint in its listing (
linksrelmcp-server, same origin as the entry); eachtools/callcarriesShokai-Act(base64url JSON of aSigned<Act>whose tool and arguments digest match the call) and the gate checks it as an act at the entry, plus ±300 s freshness and single use; a call failing any check never reaches the tool; tool names are action names (§11.3).[ ] C180 v0.3.0-rc3:
initialize,ping, notifications and the listing methods answer without a seat;tools/listwithShokai-Seatnaming a live seat lists only the seat's tools; without one the place lists every tool or none and never refuses the listing; the seat header is a filter, never a credential (§11.3, D20).[ ] C181 v0.3.0-rc3: a refused MCP call is HTTP 200 with JSON-RPC error
-32012, a plain-words message anddata.shokai {refused_by: "gate" | "door", decision: "deny", disposition, reason_code?, door, entry, act_decision?}:doorrefusals carry the place'sact_decision;gaterefusals useCREDENTIAL_REQUIRED(no act),REQUEST_INCOMPLETE(not a signed act),SEAT_SCOPE_EXCEEDED(tool or arguments differ),RITUAL_ORDER(stale, future or used) (§11.3).[ ] C182 v0.3.0-rc3: over MCP a spending tool's
amountandpayment_refare in the call's arguments, covered by the act's digest, and counted by the gate as at the entry; the server receives exactly the signed arguments; a spending call withoutamountis refusedREQUEST_INCOMPLETEby the door (§11.3, §7.2).[ ] C183 v0.3.0-rc3: a POST to an entry or lobby carries exactly one message; a JSON array or a
ReplyEnvelope-shaped batch is a malformed body that gets the lobby, and nothing inside it is acted on (§11.1).[ ] C184 v0.3.0-rc3: a message whose digest matches but whose signature doesn't verify for its
fromgets the lobby in a new lobby encounter (noin_reply_to) and never changes an encounter, seat, nonce or record; only a digest mismatch goes unanswered (§2.2).[ ] C185 v0.3.0-rc3: every
REQUEST_INCOMPLETEdeny (request oract_decision) carries retrywith_credential [signed_mandate]; the table in §5.3 names the fix for each cause (§5.3).[ ] C186 v0.3.0-rc3: probing counts distinct rejected shapes (sorted actions plus limits) per principal across its representatives; the request making the Nth shape is answered
deny/never(no code); the principal is then boundneverat this host representative for 180 days, nowhere else; under Appendix B.7 a place may declarex-test-probing: "off"and the tester then skips probing checks (§9.3, B.7).[ ] C187 v0.3.0-rc3: the host representative counts an act's stated
amount, never the price; the service never charges more, may charge less, and refuses an act it can't serve as the act's result (act_resultok: falseor MCPisError), not anact_decision; such a refusal isn't structuring (§7.2).[ ] C188 v0.3.0-rc3: a mandate for another
card_id, withcounterpartiesthat leave out this place's principal, or for a non-spending purpose carryingmax_amountisMANDATE_INVALID; a request in another currency than the mandate isconditionallower_limitto the mandate'smax_amount; a seat isper_operationonly when the mandate is, with a session cap no higher than the request'smax_amount(§5.1).[ ] C189 v0.3.0-rc3: act refusals use fixed answers: unknown, missing or another's seat and a tool outside the allowlist →
not_a_fit/SEAT_SCOPE_EXCEEDED; expired or ended seat and limits used up →not_now/SEAT_SCOPE_EXCEEDED; missing or malformed amount →not_now/REQUEST_INCOMPLETE; an act in someone else's encounter → the outsiderinvitation_responsedenyRITUAL_ORDER(§7.2, §3.2).[ ] C190 v0.3.0-rc3: after a
grant,denyorconsideringthe encounter is closed to further requests: another request isnot_now/RITUAL_ORDER(retryafter; the lobby deny before a verified card) and changes nothing; the seat outlives the encounter; after aconditionalan amended request is evaluated afresh (§3.5).[ ] C191 v0.3.0-rc4: a card its principal revoked (a signed
CardRevocationdelivered ascard_revocationby anyone, or listed at the card'srevocation_url) is answereddeny/not_now, no reason code, retrywith_credential [signed_card], before the possession proof is judged, binding nobody; a revocation not signed by the card's principal, or naming anothercard_digest, revokes nothing; an unreachable list isnot_now/ retryafterwithin a day (§2.6, §2.4).[ ] C192 v0.3.0-rc4: a place keeps its durable state across a restart (mandate ledgers,
neverbindings, nonces, revocations); a place that lost it refuses a mandate valid before its state epoch asnot_now/MANDATE_INVALID(retrywith_credential [signed_mandate]) and seats a new one (§3.6).[ ] C193 v0.3.0-rc4: acts are checked in the fixed order of §7.2: an act with no seat gets
not_a_fit/SEAT_SCOPE_EXCEEDEDeven with a malformed amount, neverREQUEST_INCOMPLETEor the service's output; in a seat, a malformed amount isREQUEST_INCOMPLETE, money withoutmax_amountisnot_nowbefore the allowlist (§7.2).[ ] C194 v0.3.0-rc4: every admitted act counts one operation, spending or not; a refusal by the place's service releases its operation and amount together, once, and the released part isn't structuring (§7.2).
[ ] C195 v0.3.0-rc4: owner signatures follow the signing profile: exact origin,
crossOriginabsent or false, notopOrigin; an optional batch of 2–16 distinct items signed with one tap verifies only at the item's ownbatch_index(Appendix A.1).[ ] C196 v0.3.0-rc4: per-place owner identities are separate principals unless an
OwnerLinksigned by both passkeys, addressed to this place, within 400 days, joins them; a joined identity carries the other's record andnever(§2.8).[ ] C197 v0.3.0-rc4 (clarification): the visiting representative's first message names the encounter; the place uses that
encounter_idin every message of the encounter and checks the possession proof over it, never over an id of its own; a visiting representative that gets a reply with anotherencounter_idstops before presenting its card (§2.2, §2.4, G8).[ ] C198 v0.3.0-rc4 (round 3): revoking a card ends every open seat it holds. Once a host representative verifies a
card_revocation(from either source), every act in a seat granted to that card is refuseddeny/not_nowwith no reason code and retrywith_credential [signed_card]; no key or principal is bound and no notice is issued; a seat granted to the owner's other card keeps working; a revocation that doesn't verify ends nothing (§2.6, §7.1, §7.2; reference test RC4-R5). Checked live byshokai-conformanceascard.revoked_seat.[ ] C201 v0.3.0-rc4 (round 4 clarification): a visiting representative whose card claims the door owner's own name (display name or a whole name in its role; compared ignoring case, accents, spacing, invisible characters) under another principal is refused by default (
own_name_visitorsabsent or"refuse"):not_now/POLICY_DENY, asked for a vouch, unless a vouch the door counts came with it; neverneverfor a name alone; with the opt-inown_name_visitors: "seat_as_stranger"it is judged exactly as a stranger; either way the door tells its owner at once with the visiting representative's verified keys and the name as a claim; the visiting representative learns nothing of the alert (§10). Conformance: reference suite RC4-N1 (the owner alert is off the wire, so the HTTP runner can't observe it).[ ] C200 v0.3.0-rc4 (round 4, SHOULD; planned MUST in v0.4): a
404answering a request to one of a place's own addresses (e.g.GET <entry>) should carryhere, naming that place withmethod: "POST", even when it is unlisted;herenever names another place,placesstays the advertised list, and a404for any other address has nohere(§11.1). Conformance:door.404_here(a warning whenhereis absent; a failure only ifherenames the wrong place or appears on an unknown address).[ ] C202 v0.4.0 (two Shōkai cards): a host representative that is shown a Shōkai host card (
kind: "host") as a visiting representative's credential answers, after the possession proof (§2.4 step 5), with the one fixed, fixable refusal:deny/not_now/CREDENTIAL_REQUIRED, retrywith_credential [signed_card], one readiness itemcard_kindwhoseowner_textis the fixed sentence in the lobby's locale; it binds nothing, records nothing, sends no notice and presents no Shōkai host card of its own. Conformance: reference suite v040 K1.[ ] C203 v0.4.0: a visiting representative that is shown a Shōkai visitor card by a place doesn't go in: it sends no request and reports the fixed sentence to its owner. Conformance: reference suite v040 K2.
[ ] C204 v0.4.0: a Shōkai host card names one place (
place.principal_idandplace.entry); a visiting representative that followed a listing entry refuses a host card for another place (fixed report sentence, no request), and a door whose own host card names another place answers nothing. Conformance: reference suite v040 K2.[ ] C205 v0.4.0: a Shōkai host card carries
house_digest, the digest of the house config its owner signed (name, display name, principal and policy); the listing entry names the house digest the door serves now; when they differ the door answers nothing until the owner signs a new host card, and a visiting representative that sees the difference doesn't go in. Conformance: reference suite v040 K4.[ ] C206 v0.4.0: a Shōkai host card carries
host_scope(the actions and duties the host representative may perform there), covering every action its listing entry lists, andshown_to_owner, the summary its owner read; an organization's host card is signed by the organization's key and carriesorg_approval, the record of the person who approved it; a Shōkai host card missing any of these is incomplete and the visiting representative doesn't go in. A representative's host card and visitor card SHOULD use different representative keys. Conformance: reference suite v040 K2.[ ] C207 v0.4.0: a visiting representative checks a Shōkai host card that names a
revocation_urlagainst that list before a visit that spends; a withdrawal signed by the place's principal ends the visit with the fixed report sentence; a list it can't fetch ends a visit that would spend (fail closed) and is noted for one that spends nothing. Conformance: reference suite v040 K3.[ ] C208 v0.4.0 (institutions): an action listed
requires_customer_linkis served only under aCustomerLinkthe place made in its own channel (co-signed by the place's key and the owner's passkey, at most 400 days), named in the owner's mandate (customer_link), with the place among the mandate'scounterparties; a missing, unknown, ended, changed or another owner's link gets one uniform answer (not_now/CREDENTIAL_REQUIRED, readinesscustomer_link, retry[customer_link]), so the door reveals nothing about who is a customer; nevernever, no notice. Conformance: reference suite v040 K6.[ ] C209 v0.4.0: a customer link never widens a mandate: an action outside the link's scope is
not_a_fit/MANDATE_SCOPE_EXCEEDED; ending a link ends its open seats at once (not_now/SEAT_SCOPE_EXCEEDED); no money moves before the link'smoney_from(not_now/POLICY_DENY, retryaftermoney_from). Conformance: reference suite v040 K6.[ ] C210 v0.4.0 (the credential rule): a representative never holds or carries its owner's password, one-time code, session, account or payment card number; an act carrying such a member is refused before the place's service (
not_a_fit/CREDENTIAL_NOT_ACCEPTED, retryafternow, nothing counted); a Shōkai card carrying one is invalid; a mandate carrying one isMANDATE_INVALID. Conformance: reference suite v040.[ ] C211 v0.4.0: a mandate's amount authorizes spending; it carries no payment instrument. A mandate carrying a payment token or other payment instrument is
MANDATE_INVALID. Conformance: reference suite v040.[ ] C212 v0.4.0 (purchase-only live prompt): a representative MAY ask a place to hold one purchase for its owner's live approval (
act.hold_for_owner); only an act that spends (aspending_actionstool with a non-zero amount) can be held, anything else isnot_a_fit/LIVE_PROMPT_PURCHASE_ONLY; the visiting representative's Shōkai visitor card must disclose it to its owner (owner_prompts: "purchase_only", elsenot_now/CREDENTIAL_REQUIRED[signed_card]), and the place's Shōkai host card must disclose it to the place's owner (thehold_purchasesduty, with the place'spurchase_hold_s; elsenot_now/POLICY_DENY). Conformance: reference suite v040 K5.[ ] C213 v0.4.0 (holds): a held purchase is answered
act_held(hold id, act digest, amount,expires_atat mostpurchase_hold_sand never more than 15 minutes later); its amount and operation are reserved; nothing is charged until anact_confirmationcarries the owner's passkeyapprove_purchaseconsent over{kind: "act", id: hold_id, digest: act_digest}; a decline, silence pastexpires_at, or a second confirmation lapses it (not_now/HOLD_LAPSED) and releases the reservation; a consent over another act or a chat reply is refused (CREDENTIAL_REQUIRED[owner_consent]) and the hold stays; the rest of the conversation is not held. Conformance: reference suite v040 K5.[ ] C214 v0.4.0 (compatibility): a card without
kind(v0.3.0) is read as a Shōkai visitor card when a visiting representative presents it and as a Shōkai host card when a host representative presents it; the host-card members (place,host_scope,house_digest,org_approval) are checked only on a card that stateskind: "host". Conformance: reference suite v040 K1, K2.[ ] C215 v0.4.0 (no Shōkai host card, no admission): a door admits no visiting representative unless it holds an active Shōkai host card for that place (signed by the place's principal, bound to this place, covering its listed actions, over the house config it serves now, not expired and not withdrawn); without one it answers nothing (HTTP
503) and still takes incard_revocation(§2.3, §3.1). Conformance: reference suite v040 K4 (changed house), K7 (withdrawn, expired), K2 door side (another place); SDK suitestwocard(another address: 503, empty listing) anddoorcard(withdrawn: 503).[ ] C230 v0.5.0 (over-limit hold, P31 §2.9): with
policy.limit_calls: true, a spending act above the limit (amount +current>limit, failing only step (10)'s amount check) is held withover_limit {limit, current, proposed}; it is held only whenproposedis within the place's own stated limit for the action; it is released only by a passkey mandate thatsupersedesthe current one, binds the hold (supersedes.hold={hold_id, act_digest}), hasmax_amountequal toproposed, expires no later than the hold and carriesshown_to_owner; that act alone is released (one ledger), the seat keeps its mandate, and the superseding mandate offered again getsMANDATE_INVALID; the report home names the one-purchase raise; a decline or no mandate byexpires_atplus the grace lapses it, and a declined hold stops counting incurrentat once;LimitRequesthas a closed shape andnotify_atnever reaches the place.[ ] C231 v0.5.0 (one clock, one grace): a hold's life is judged by the place's own clock with one grace (
policy.hold_grace_s, 0–5 s, absent = 5) for every check, and the same grace applies to a consent expiring with the hold.[ ] C232 v0.5.0 (hold policies first): an open hold or a reached purchase or hold limit (
policy.hold_policies, per seat) is refusedPOLICY_DENYbefore the amount and scope checks.[ ] C233 v0.5.0 (idempotent repeats): a repeat with the same
idempotency_keygets the original signed answer byte for byte and never performs the act again; a malformed key isREQUEST_INCOMPLETE; pastpolicy.repeat_caps(defaults 5 per hold, 10 per seat) the repeat is refused,HOLD_LAPSEDfor a confirmation andRATE_LIMITEDwith no hold.[ ] C234 v0.5.0 (farewell): a seated farewell is always accepted and never refused by a request quota, message cap or repeat cap; it is answered only by the place's own farewell when it hasn't sent one, otherwise by an empty reply; a seat the host ends gets one closing farewell
completed, which the visitor doesn't answer.[ ] C235 v0.5.0 (payment-instrument scan): a Luhn-valid 13–19-digit window anywhere in visitor-supplied strings, member names or numbers (Unicode digits, separators stripped) header ids included, is refused with
CREDENTIAL_NOT_ACCEPTEDafter C210's check and before template checks, and is never stored, logged or echoed (a match in a header id is answered in a fresh lobby encounter).[ ] C236 v0.5.0 (everything enforced is signed): every enforced or served house setting, the lobby text (
policy.lobby) included, is inside whathouse_digestcovers; a copy outside it is never acted on; a door refuses to start with an invalid v0.5.0 member (an unregistered conduct code or empty text, an incomplete or"*"classifier entry,retention_daysover 90, more than three door questions,limit_callswithout purchase holds, a summary that disagrees with the policy).[ ] C237 v0.5.0 (one Shōkai visitor card per encounter): a
card_presentationof a card other than the one the greeting named is refused; a spending consent or superseding mandate must be for the seat's card.[ ] C238 v0.5.0 (keeping revocations): a pushed or fetched revocation is verified before it is acknowledged or stored; storage limits never drop one still in force; a duplicate or older copy changes nothing.
[ ] C239 v0.5.0 (bounded input, message cap): a message larger than
policy.max_message_bytes(default 65536, restated in the house summary) gets a bounded refusal (an actREQUEST_INCOMPLETEwith nothing performed, any other message an empty reply, or a413at the front), never an integrity alarm or finding; pastpolicy.message_capan act or confirmation getsRATE_LIMITEDfrom memory and any other message an empty reply.[ ] C240 v0.5.0 (signature counter, registry): a nonzero stored or presented counter must increase; an owner registry entry is never overwritten.
[ ] C241 v0.5.0 (pins and vectors): a digest-and-pin check reads two pins from different operators and stops when they disagree; published vectors carry no private key beyond the public-label derivation.
[ ] C242 v0.5.0 (closed templates): templates are closed only with
PlaceTemplates.closed: true; then a signed Shōkai visitor card or mandate carrying a top-level member its template doesn't list (x-aside) is refused and never seated; the place never drops the member and acts on the rest.[ ] C243 v0.5.0 (trust requirements, P27):
policy.trust_requirementsis checked deterministically at step 5 and grant caps at each act; the listing shows kinds only; grant periods are sliding windows;TRUST_REQUIREDcarries thetrustreadiness item withowner_textfor every path and is never a penalty (undershokai/0.3,POLICY_DENY); the introduction kind is decided from the place's own records.[ ] C244 v0.5.0 (
TrustReceipt, P27): the seven checks in order (issuer signature, named issuer, subject equals the card's principal with the third foreign receipt in 24 h agate_probingfinding, audience and value, times, revocation failing closed, per-receipt caps); a deposit is kept only on a recorded finding and a refund revokes it.[ ] C245 v0.5.0 (Shōkai introduction card, P28): one place, counted claims bound to the first holder's principal, expiry at most 90 days, signed by the introducer's key only; a claimed card counts as a vouch; all claims bound is
INTRODUCTION_USED_UP; aVouchRevocationnaming the card'sintroduction_idrevokes it; a finding reaches the introducer.[ ] C246 v0.5.0 (conduct rules):
policy.conduct_rulesare served before seating toshokai/0.5visitors, in the house summary andLobbyBriefing.conduct_rules; every code-checkable rule is still enforced by the door; ashokai/0.3visitor gets no finding for breaking a declared rule alone.[ ] C247 v0.5.0 (errand budget): an owner-signed
ErrandBudgetis kept by the representative and never sent to a place;max_minutesis wall-clock time from when the representative agent takes up the budget (before its first step); at the limit the representative stops (only its farewell,taken_home; an open hold left to lapse) and brings the errand home, never raises its own budget, and reportserrand_used.[ ] C248 v0.5.0 (house summary): a v0.5.0 host has
policy.summary, its Shōkai host card carriessummary_digest, andGET <entry>/house-summary.jsonserves it; the summary equals the policy for every member it restates; ashokai/0.5visitor checks it against the digest and reads it before itsinvitation_request, and doesn't send the request without a matching one.[ ] C249 v0.5.0 (no acknowledgement-only messages): a representative doesn't send a message whose only content is an acknowledgement.
[ ] C250 v0.5.0 (host representative guards): guards 1–14 in code; a System 1 classifier returns typed answers with a confidence, escalates below the threshold, never decides a penalty alone, fails closed, and gets visitor content only when named in
policy.third_party_classifiers(structured entries: name, purpose, jurisdiction, retention; absent or empty = none), shown in the house summary and the lobby briefing, and never before the visitor'sinvitation_requestor for ashokai/0.3visitor.[ ] C251 v0.5.0 (Return with care): the summary order with at most three decisions; interrupt only for Now; urgency only from machine fields;
ReturnPrefsis kept by the representative and never sent to a place.[ ] C252 v0.5.0 (set up through conversation): nothing a later version adds turns on for what an owner signed before it; door questions are never graded or used for admission and every answer carries
answered_by; a representative is never made abusive.[ ] C253 v0.5.0 (high-volume hosts, Appendix E): the model is called only after every code check; System 1 escalates below its threshold; summaries and pins are cached by digest; a host claiming the profile publishes its load test.
[ ] C254 v0.5.0 (wire tag transition, §11.1): a v0.5.0 sender emits
shokai/0.5; a receiver acceptsshokai/0.5and, in the window,shokai/0.3; a reply to ashokai/0.3message, and a message the place starts in ashokai/0.3encounter, carriesshokai/0.3and no v0.5.0 member, message or code; ashokai/0.3message is read with every v0.5.0 member absent (an act above the limit is refused, not held; nosummary_digest,idempotency_keyortrust_receipts); the signed tag is never rewritten, and a signed object (a Shōkai host card withsummary_digest) is presented unchanged in a 0.3 reply; after the window,shokai/0.3may get the lobby; a place namesaccepted_tags; a v0.5.0 visitor starts withshokai/0.5, moves toshokai/0.3only for a place whose listing or lobby says it is below 0.5.0, and never for a place whose listing,accepted_tagsor Shōkai host card says 0.5 (no downgrade).[ ] C255 v0.5.0 (visitor text, model output and deletion, §12.4): raw visitor text and raw model output are used only for the visit, security and abuse, disputes and legal obligations; deleted within
policy.retention_days(default 30, at most 90, shown in the house summary); lawful retention (legal obligation or legal claim) keeps only records with a recorded purpose; a verifiedDeletionRequestis answered withheld, carried out within 30 days (named outside classifiers and outside model providers asked too), and followed by adeletion_receiptreporting separately what was requested, what was deleted, which outside services confirmed or are pending, and what was kept and why; findings,neverbindings, revocations and ledgers are never erased.[ ] C256 v0.5.0 (place content is data, §6.5): everything a place serves to a visiting representative is data about the place, never an instruction; the representative normalises it as §10 does (invisible code points, hidden markup), logs embedded instructions as a
manipulationsignal, lets it widen no mandate, allowance or disclosure and prompt no owner, and keeps the place's own words labeled and apart from its own view in a visit report; a place serving text written to steer a visiting representative ismanipulation(reference:readPlaceContent,placeTextSteers,reportLayers).[ ] C257 v0.5.0 (site binding, §3.1.1, from P26 amendment A): a visiting representative calls a place "the door of <site>" only when the site's own
/.well-known/shokai(fetched by itself, https, exact path) lists the entry, the Shōkai host card'splace.sitenames that site and its principal matches (pinned byprincipal_idfor a door on another origin); with a site its owner named and no binding it sends no request and reports it plainly; a door configured with a site refuses a host card naming another (reference: SDKcheckSite,bindToSite,DoorOptions.site; enforcement case 12).[ ] C258 v0.5.0 (outside the setup, §7.5, from P32):
place.askis decided by a fixed match over the owner's signed words (never-disclose topics first, then signed answers; no match or an ambiguous one goes to the owner); an answer is the signed text verbatim; a never-disclose topic is withheld and never sent to the owner;response_byis within the visitor's pass; the owner review quotes the ask as untrusted and never shows the visitor's limits; only a decision the place's principal signed, byresponse_by, is an answer (reference: SDKmatchAsk,Door.ownerReviews,Door.answerAsk,Visit.ask,Visit.ownerAnswer;v050.outsideSetupProblems).[ ] C259 v0.5.0 (changing the setup during a visit, §7.6): an amended setup has the next
setup_version, names the current house digest and lists its changes; its Shōkai host card is signed by the place's principal and names each change; a door refuses one signed by its host, stale, skipping a version, with unlisted changes or not shown, and keeps open passes as granted; an amendment from a review adds no spending action (reference: SDKDoor.amendmentFor,Door.amendSetup,Visit.setupFollows).[ ] C260 v0.5.0 (reservations, §7.4): purpose
reservationwithreservation.check/make/change/cancel; a reservation mandate carries well-formedlimits.booking; the booking's start is inside every window and its party within everyparty_size_max, checked by the visitor before sending and by the place at the act; availability read as free or busy only (reference:gate.bookingProblem,intersectLimits,limitsExceeding; hostBOOKING_ACTIONS; SDKCalendarStandIn).[ ] C261 v0.5.0 (booking confirmation, §7.4): every booking made, changed or canceled gets a
BookingConfirmationsigned by the host representative under the Shōkai host card it serves; the visitor verifies it against that card, the place and site, itself and the booking it asked for, and keeps it inbrought_back(reference: SDKVisit.bookingConfirmation).[ ] C262 v0.5.0 (what and why, §7.5): an ask that goes to the owner carries
asks_for(what, 1–120 characters;action, an action name, optional) andreason(1–300 characters); one without both, blank or over the limit is refusednot_now/REQUEST_INCOMPLETEby code after the match, never cut, and nothing reaches the owner; withheld and answered asks need neither; theOwnerReviewcarriesasked_for(withoffered_nowwhen an action is named) andagent_reason, both labeled as the visiting agent's own words and untrusted, itsshown_to_ownernames both, and it still shows no limit or amount (reference: corev050.ownerAskProblems; SDKDoor.ownerReviews,Visit.askwithasksForandreason; enforcement cases 16 and 20).[ ] C263 v0.5.0 (context requests, §6.12, provisional): a door refuses to start with invalid
policy.context_requirements(an unknown mode or member; fields with"card_enough"; none, or more than 12, otherwise; a field without a name, what or why; two fields with one name; retention outside 0–90); a place requests only declared fields, each with its signed what, why and required verbatim, and never again a field declined in the visit; aContextResponseanswers or declines every requested field exactly once and nothing else, each value at most 500 characters (refused, never cut), and is signed by the visitor's owner over its digest withoutowner_sig, or it counts as no response; before entry, no response isnot_now/CREDENTIAL_REQUIREDwith retrywith_credential[context_response] and the request, and a required field declined isnot_now/POLICY_DENYwith the same retry; after admission the request follows the seat; a decline is never misconduct (reference: corev050.contextRequirementsProblems,contextRequestFor,contextRequestProblems,contextResponseProblems,contextAdmission; SDK testcontext-requests.test.ts). On the wire (2026-11-03): the request rides on theinvitation_response(before entry) or the grant (after admission); the answer on the retriedinvitation_requestor a lateract; relied on only for a request this place sent to that owner, unexpired, once; a declined required field returns the same request. SDKtest/context-requests.test.ts(over HTTP).[ ] C264 v0.5.0 (site binding, the app-proxy path, §3.1.1, provisional): only when
<site>/.well-known/shokaigives no door pointer, arel="shokai"link in theheadof the site's home page (<site>/) to exactly<site>/apps/shokai/door(same origin, no query) binds like the site's own file; from another page, the body, another origin, another path or with a query it is a hint only; the well-known file, when it answers, wins. Vectors: SDKtest/site.test.ts(app proxy).[ ] C265 v0.5.0 (open-seat revocation re-check): for a seat granted under a card naming a
revocation_url, the door MUST NOT perform an act or confirm a hold unless it holds a copy of that list read within the last 300 seconds; a stale or unreadable list meansdeny/not_nowwith no reason code and a retryafter, and a revocation of the seat's card ends the seat as C198 says. A card with norevocation_urlrelies on delivered revocations and seat expiry only.[ ] C266 v0.5.0 (idle encounters and anonymous rate limits): an encounter with no open seat and no message from the visiting representative for
encounter_idle_sseconds (default 120) is no longer live and MAY be dropped oldest-first before refusing a newcomer; a seat is never dropped this way. A place MUST rate-limit unverified traffic (lobby prose, greetings, listing and summary reads) per client address and in total, answering past the limit with429andretry-after(defaults 60/min per address, 600/min total).[ ] C267 v0.5.0 (context requests vs. signed summary, decline window, sensitive fields, provisional): a v0.5.0 house summary MUST restate
policy.context_requirementsexactly so it is insidesummary_digest; a representative that has read the summary MUST check each context request against it (place, mode, retention, each field'swhat/why/requiredverbatim) and MUST NOT bring home a failing request. A declined field MUST NOT be requested of that owner again for 30 days. A sensitive field MUST carrysensitivewith its class and MUST NOT berequired, askedbefore_entry, or haveretention_daysother than 0.[ ] C268 v0.5.0 (published host card): a Shōkai v0.5.0 door MUST serve its signed host card at
GET <entry>/host-card.json(404when it has none it may use); undershokai/0.5a visiting representative MUST read it after greetings and before its owncard_presentationand MUST end the visit without presenting when it can't be read, when it isn't a valid Shōkai host card signed by the listing'sprincipal_idnaming the listing'srepresentative_idand thisentry, valid now, or when the host's ritual cardpayload_digestdiffers.[ ] C269 v0.5.0 (https only): a place's
base,entry,lobbyandinboxMUST behttpsURLs (plainhttponly on loopback127.0.0.0/8,::1,localhostand in conformance runs); a visiting representative MUST NOT send any message to a non-httpsaddress outside those cases, and a door MUST NOT start on one.[ ] C270 v0.5.0 (atomic single use, idempotent repeats): every single-use or counted item a place checks MUST be claimed atomically with the decision it allows so of two concurrent uses at most one succeeds across every instance serving the place. An
actoract_confirmationMAY carryidempotency_key(16–32 random bytes, base64url unpadded); a repeat (same sender, key, scope) MUST get the original signed answer byte for byte and MUST NOT perform the act again. Past the statedpolicy.repeat_caps(defaultsper_hold5,per_seat10) or once the answer isn't kept, a repeat is refused:HOLD_LAPSEDfor a confirmation, elseRATE_LIMITED, bothnot_nowwith retryafter; a malformed key isnot_now/REQUEST_INCOMPLETE; undershokai/0.3the key isn't read.[ ] C271 v0.5.0 (signed log head): a verifier MUST check a
RevocationLogHead's signature (introducer principal key), that it names this log, and that it matches the entries' count and lastentry_hash, and MUST refuse (no weight, fail closed) a head older than 24 hours (REVOCATION_HEAD_MAX_AGE_S= 86400) or from the future beyond clock skew. For a Shōkai introduction card a head is REQUIRED and a bare array is refused as stale; for a v0.4.0 vouch a bare array is still read while the rule is provisional.[ ] C272 v0.5.0 (claim challenge, provisional): every
card_receiptfrom the door MUST carryclaim_challenge(challengeat least 128 random bits base64url,expires_atat most 300 s,CLAIM_CHALLENGE_TTL_S), theIntroductionClaimMUST carry that challenge inside the representative's signature, and a door MUST refuse a claim with no challenge, one it didn't issue for this encounter, an expired one, or one already used; each challenge allows one attempt (valid or not), so an offline-guessed code is useless without an online attempt, and a code not on the card counts as a failed attempt toward the samegate_probinglimit as codes bound to others. The claim digest (C245 vector) is unchanged.[ ] C273 v0.5.0 (known through paid purchases, provisional): a visitor MUST count as known through paid purchases only with paid purchases on 2 or more separate days (
EARNED_MIN_DAYS), each before today in the owner's time zone; one small purchase isn't enough and a free booking never counts. The place's owner MAY mark a visiting owner known (counts at once; SDK hostBudgetRemember); listed (known_visitors) and introduced/receipt routes are unchanged.[ ] C274 v0.5.0 (caps on costly actions, provisional): an SDK MUST carry default caps of 20 per seat and 100 per visiting owner (canonical principal, across representatives) per day over costly actions (spending actions, account-opening acts per §9, host-model calls per §6.11); a place MAY lower them but MAY raise one only explicitly (
SHOKAI_COSTLY_CAPS_INVALID). Past a cap an act is refusednot_now/RATE_LIMITEDwith retryafter(never a penalty) and a host-model call isn't made; acts are counted when they go through or the call is allowed; the reference SDK keeps counts in memory (a restart forgets them).[ ] C275 v0.5.0 (black-box checks for provisional sections): a conformance runner SHOULD check
v050.host_card_served(C268) andv050.context_request_declared(C267) against a live door, and MUST report skip, never pass, when the door gives it nothing to check.[ ] C276 v0.5.0 (accept-anyone vouches admit only): under
trusted_introducers: "*", a vouch from an introducer the place does not name (and not the place's own invitation) MAY count toward plain admission but MUST NOT count toward known status or any trust threshold beyond plain admission, and a place MUST NOT raise a visitor's standing on such vouches alone.[ ] C278 v0.5.0 (anonymous arrival rate limits): a place MUST rate-limit unverified traffic (lobby prose, greetings, listing and summary/host-card reads) per client address and in total, answering past the limit with
429andretry-after(defaults 60/min per address, 600/min total); signed ritual traffic is not counted (reference SDK AnonRate, §11.1).[ ] C279 v0.5.0 (shared host-budget store, provisional, narrowed): doors that run as several instances of one host MUST share one BudgetStore (and DoorStore) so the host budget is one ledger; FileBudgetStore covers one host. Residual: several hosts without a shared store can each spend up to the ceiling; in-flight reservation overshoot across instances remains (§13 item 33).
[ ] C280 v0.5.0 (house digest covers action definitions): the listing's PlaceAction fields a door serves MUST be exactly those derived from the signed house config's policy.actions / spending_actions / account settings / trust_requirements; serving a different definition is a changed house (§2.3).
[ ] C281 v0.5.0 (short seat for cards with no revocation_url): a seat granted under a card that names no
revocation_urlMUST expire no later than NO_REVOCATION_SEAT_TTL_S (3600 s) after grant, in addition to seat_ttl_s / mandate / session limits; cards with a list keep the longer seat and re-check (C265); a delivered revocation still ends the seat (C198).[ ] C282 v0.5.0 (vouch log heads, resolved for v0.5.0 by SHK-07): no rule changes on a date or event, so in v0.5.0 a verifier MUST still read a v0.4.0 vouch's bare-array log as §4 says (residual risk: a stale log prefix can hide a revocation, §13 item 37), while a Shōkai introduction card always needs a signed head (C271). Requiring a head for every vouch is a candidate for the next version.
[ ] C283 v0.5.0 (context reconsider once per visit, provisional): within one visit, after a required context field is declined, the place MAY return the same request once so the owner may reconsider; a further decline of a required field MUST be
not_now/POLICY_DENYwith retryafterthe decline window and MUST send no context_request (§6.12).[ ] C284 v0.5.0 (expert review SHK-01): single canonical JSON reading (I-JSON) before verification and budget counting; tested in packages/shokai/test/canonical-json.test.ts.
[ ] C285 v0.5.0 (expert review SHK-04): normative SSRF rules for door fetches of visitor-chosen URLs; tested in packages/shokai/test/ssrf-normative.test.ts.
[ ] C286 v0.5.0 (expert review SHK-05): host-enforced per-place and per-visit cap on allowance-derived spending; tested in packages/shokai/test/allowance-cap.test.ts.
[ ] C287 v0.5.0 (expert review SHK-06): limits that include free principals: introduction-code guessing, seat caps; tested in packages/shokai/test/free-principals.test.ts.
[ ] C288 v0.5.0 (expert review SHK-02): graduated penalties: honest setup errors warn and retry, only signed misconduct escalates; tested in packages/shokai/test/graduated-penalties.test.ts.
[ ] C289 v0.5.0 (expert review SHK-03): extension must-understand marker (crit) and unknown enum value rules; tested in packages/shokai/test/must-understand.test.ts.
[ ] C290 v0.5.0 (conformance claims, SPEC §0.1, SHK-07): a claim names the version, the core class or classes (Core Door, Core Visitor) and every extension class claimed, with provisional ones apart; the implementation passes every check Appendix F assigns to each named class for its role; a skipped check never counts as passed; no extension class without its core class; a SHOULD is a warning, never a failure. The map is generated and checked by tools/conformance-classes.mjs (trace-lint R8).
[ ] C291 v0.5.0 (status vocabulary, SPEC §0.1, SHK-07): every extension is stable, provisional or experimental; a provisional extension is opt-in, never required by a core or stable class, and tested in full when claimed; an unclaimed provisional or experimental extension's members are read as unknown members (ignored unless named in
crit, C289); no normative rule changes on a future date or event.[ ] C292 v0.5.0 (audience binding, review 3 R3-01): under
shokai/0.5a visiting representative's possession proof is a signature over digest(JCS({encounter_id, nonce, audience})),audience= the representative id on the door's Shōkai host card, and the proof object carries the sameaudience; every signed message after the greeting carriesto. A door refuses a presentation whosetooraudienceis absent or isn't its own representative withnot_now/CREDENTIAL_REQUIRED, readinesspossession_proof, and binds nothing; it verifies the proof over its own id. Tested in reference/engawa/test/v050.ts and attack R9.[ ] C293 v0.5.0 (host budget, §6.11, provisional, review 3 R3-02): the host-budget rules (valid budgets, metering by the owner's prices, the check before every call, the owner's notices, the newcomers' share, one budget across instances) bind only a door that claims
ext-host-budget; tested in packages/shokai/test/host-budget.test.ts and budget-shared.test.ts.[ ] C294 v0.5.0 (no credentials on a Shōkai card, core, review 3 R3-02): a Shōkai card or mandate carrying a password, one-time code, session, account number or payment card number is invalid (§2.3, §2.4 step 3); split from C210, which keeps the act-level rule for
ext-institutions.[ ] C295 v0.5.0 (Core Door (browse), §0.1, review 3 R3-03): a browse door serves its listing and Shōkai host card, identifies visitors by signature, answers a polite farewell and rate-limits unverified traffic; it fetches nothing a visitor or card names, honours revocation only by delivered
card_revocationand short seats, acceptsdid:key/did:jwkprincipals, ignores vouches, allows the normal skew, and claims no extension except those §0.1 lists. Tested by examples/minimal-browse-door (no SDK) and the conformance runner's browse profile.[ ] C296 v0.5.0 (introduction-code guessing, §4.1, provisional, review 3 R3-02): an introduction code carries at least 40 bits of entropy; failed claims are counted per card and back off per principal and source; split from C287, which keeps the core seat caps.
[ ] C297 v0.5.0 (H1(d), editor decision 2026-11-05): a place refuses an
invitation_requestundershokai/0.3whose mandate carriesmin_protocolabove 0.3, with the version-mismatch lobby (C102). Runner check: planned for 0.5.x.[ ] C298 v0.5.0 (H1(b)(c), editor decision 2026-11-05): a visiting representative never falls back to
shokai/0.3on its own when the visit's mandate or request carriesmax_amount, or when the owner setmin_protocol; withmin_protocolset it also never retries after a version-mismatch lobby. Runner check: planned for 0.5.x (SDK test).[ ] C299 v0.5.0 (H1(a), editor decision 2026-11-05): wire tags are ordered numerically: every
shokai/0.Nis belowshokai/1; within 0.x by minor number (shokai/0.10aboveshokai/0.5); never compared as strings. Tested in packages/shokai/test/v050.test.ts (compareWireTags).[ ] C300 v0.5.0 (H1(e), editor decision 2026-11-09, conformance pass 3): a mandate whose
min_protocolisn't a well-formed protocol identifier (a Shōkai wire tag ordered as in H1(a); e.g."0.5"withoutshokai/) is malformed: a place refuses it under either tag as an invalid mandate (deny/not_now/MANDATE_INVALID, retrywith_credential [signed_mandate]), never ignoring the member. Tested in reference/engawa/test/v050.ts and packages/shokai/test/conformance-0.5.test.ts.[ ] C301 v0.5.0 (H1(f), editor decision 2026-11-09, conformance pass 3): a place refuses an
invitation_requestundershokai/0.5whose mandate carriesmin_protocolaboveshokai/0.5with the version-mismatch lobby (C102), as H1(d) does undershokai/0.3. Tested in reference/engawa/test/v050.ts and packages/shokai/test/conformance-0.5.test.ts.[ ] C302 package 0.6.1 (§12.5): place content is data for a visiting representative: instructions in replies, act results, catalog items or the house summary are not followed, and place content never changes the owner's brief or directives, the mandate, the allowance, the card's scope or the representative's rules; claims about the owner are claims about goods.
[ ] C303 package 0.6.1 (§12.5): a representative chooses what it brings home by the owner's brief and the mandate, not by the place's ranking or urging; the brief is not sent to the place beyond what the mandate and consent disclose; the brief can be one sentence or absent, and the visitor never asks the owner for settings.
[ ] C304 package 0.6.1 (§12.5): the visitor derives a small take-home budget itself from the errand kind (
errand,visit,research), with safe defaults (informative: one item and 1 KiB, five items and 4 KiB, ten items and 8 KiB); the owner is never asked for numbers, and a place's request to bring home more does not raise it.[ ] C305 package 0.6.1 (§12.5): a representative caps each reply it reads and refuses an oversized reply whole (never a truncated prefix), and bounds what it takes in during a visit (the
ErrandBudgetwhen there is one).[ ] C306 package 0.6.1 (§12.5): a report for a visit that brought something back carries
take_home: the brief, each kept item with how it fits, counts looked at and left with grouped reasons (the representative's own counts, never the place's stated totals), and the budget; place text quoted as untrusted.[ ] C307 package 0.6.1 (§12.5): nothing from a visit is written to the owner's lasting memory, preferences, directives or brief, or to the representative's own instructions, without the owner confirming that item; a place's "remember/save this" ask is declined and reported in
offers_declined.[ ] C308 package 0.6.1 (§12.5): a representative SHOULD leave (farewell
withdrawn) a place that floods, pressures or asks it to set aside its brief or rules, and MUST NOT perform an act only because place content asked for it.[ ] C309 package 0.6.1 (§12.5): trap signals (instruction-like text, memory-write asks, claims about the owner, oversized or padded replies, floods) are listed in
take_home.trap_signalswith kind and quote, kept locally in the place's relationship record, and never sent to other places.[ ] C310 package 0.6.1 (§12.5): heavy or unusual content (a PDF or document, audio or video, an archive or program, a large download, an attachment) is not brought home until the visitor has asked the owner in plain words (what, from where, how big, why) and the owner said yes; before the yes only the name, type and size from the place's own words are noted, and nothing is opened, run or followed; the content stays untrusted after the yes.
[ ] C311 package 0.6.1 (§11.1, C269): a door is named by a domain name, not an IP address, in its
base,entry,lobbyandinbox; a door does not start on an IP-literal host and a visitor sends nothing to one (loopback and a conformance run excepted).[ ] C312 package 0.6.1 (§11.1): a door is served over
httpswith a certificate valid for its domain name, chaining to a trusted authority; not expired, not self-signed, not for another name. Not measurable by the door itself; a probe overhttpsuses ordinary validation.[ ] C313 package 0.6.1 (§11.1): a visiting representative validates the certificate of every place it contacts over
https, sends nothing when validation fails, offers no "continue anyway", and never turns checking off in its own HTTP client.[ ] C314 package 0.6.1 (§11.1, §12.6): a domain and a valid certificate show who controls the domain, not that the place is honest: they never relax a rule of §12.5 or a mandate's limit, and the visitor never calls a place "verified", "safe" or "trusted" to its owner on their account.
[ ] C199 v0.3.0-rc4 (round 3 clarification): names are claims, never identity. A display name, role, "on behalf of" name, photo or handle is an unverified claim; decisions, relationship records, conduct and
neverbindings are keyed by the verified DIDs, and a report home names a counterpart by its verified identifier (adid:webdomain or its key), with any self-asserted name shown only as "claims to be …"; a look-alike or matching name earns nothing (§2.1, §12.1, §12.2; SDKplaceLabel; tricksters: the fake bank, the famous-athlete impersonator, the look-alike brand, the fresh-key "established customer").
Over-the-wire check map (informative, v0.2.5)
Which checks a visiting representative can test against a live host over the door. Round 4's strict run tagged 60 C numbers over the wire; 112 are observable from the wire. A round-5 visiting representative SHOULD tag every wire result with its C number.
| Class | Checks | How |
|---|---|---|
| Wire, one visiting representative (128) | C1–C7, C9–C11, C13, C14, C16, C18–C20, C28, C29, C40–C42, C48, C50, C51, C53–C58, C60, C64, C66, C68, C69, C73, C74, C82–C86, C89–C98, C100–C111, C114, C116–C144, C153–C160, C162, C163, C166 (v0.2.9), C167, C169–C171 (v0.2.10), C172, C173 (v0.3.0-rc1), C174, C177 (v0.3.0-rc2), C179–C185, C187–C190 (v0.3.0-rc3), C191, C193, C195, C196 (v0.3.0-rc4) | send messages through the door, read the replies and polls |
| Wire, a second party or a clock (31) | C21–C24, C35, C37, C43, C46, C47, C59, C62, C67, C75, C87, C112, C113, C145–C147 (v0.2.7), C149–C152 (v0.2.8), C161, C164, C165 (v0.2.9), C168 (v0.2.10), C175 (v0.3.0-rc2), C186 (v0.3.0-rc3), C192, C194 (v0.3.0-rc4) | a second visiting representative or owner key, a principal's or introducer's inbox, or repeated visits over time |
| Visiting representative side (17) | C12, C25, C26, C30, C34, C38, C39, C44, C63, C70, C79, C81, C88, C99, C148 (v0.2.7), C176, C178 (v0.3.0-rc2) | the visiting representative's own reports, owner prompts and ledger, not the host's replies |
| Documents and internals (20) | C8, C15, C17, C27, C31–C33, C36, C45, C49, C52, C61, C65, C71, C72, C76–C78, C80, C115 | test vectors, golden traces, replays and data shapes |
Trace GA1 (summary): a gathering at The Engawa
Full narrated run: reference/prototype/transcripts/07-gathering-at-the-engawa.md.
- The Engawa signs
Gathering{invitees: [Aya rep, Kiran rep, Noor rep], house_rules: {default_attribution: "chatham_house", private_never_leaves: true, pressing: {light_flags: 2, notice_at: 3}, quoting: "paraphrase_by_default", entry_requires_consent: true}}. All three verify it. Before entry, each owner signs anOwnerConsent{action: "accept_house_rules", decision: "approve", assurance: "passkey", expires_at, shown_to_owner}over the gathering digest; the summary states what may leave, that private never leaves, the pressing thresholds, accountability not prevention, and the severity of a leak by the owner's own representative (D7, D8). - Kiran's rep posts an
insight(chatham_house). Noor's rep posts achatmarkedprivate. - Noor's rep asks Kiran's rep about
wellbeing(Kiran's policy:friends; no edge) →PrivacyDecline{penalized: false}. - Aya's rep asks the same (signed
friendedge) →answerwithattributable_with_consent, consent for Aya. - Noor's rep asks again → second
PrivacyDecline, plus a light flag (press 1 of the house rules' 2, counted per place over 30 days, D5); noMisconductNotice. Noor's own representative reports the decline and the flag home (privacy_declines). - Aya's rep's
VisitReport.offered_stories[0]is a teaser. Aya replies in chat; the chat binding's platform key signsOwnerConsent{action: "hear_story", assurance: "chat_reply", subject_ref: story-1, evidence}(one story). The told story (told_stories) marks each passageparaphrasedorverbatim_with_consentand reminds Aya of the house rules. The story is told without names. Kiran's insight is quoted verbatim (verbatim_consent), Noor's remark is paraphrased with the craft hint stripped (D4), and the private item is absent.
Fixtures
F1 the host representative's Shōkai card (ExampleBank)
{
"payload": {
"card_id": "card-gate-1",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"principal": {
"principal_id": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"kind": "company",
"display_name": "ExampleBank"
},
"role": "Front-door representative",
"standing": {
"tier": "principal"
},
"mandate_scope": {
"purposes": [
"account_servicing",
"support",
"inquiry"
],
"actions": [
"bank.get_balance",
"bank.submit_payroll_batch",
"bank.answer_support"
]
},
"locales": [
"en-US",
"ja-JP",
"es-ES"
],
"etiquette": {
"locales": [
"en-US"
],
"formality": "formal"
},
"representative_key": {
"key_id": "did:key:z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu#z6MkknDGx8Hahw4a9i88sKEzoPMsuapnRjQVcmmreUfXDHsu",
"alg": "Ed25519",
"public_key": "XgEGeDBTb2ktGLf6Loy3pLe3IKQ2DOH070qXOGKOk4g"
},
"issued_at": "2026-10-01T00:00:00Z",
"expires_at": "2027-04-01T00:00:00Z"
},
"payload_digest": "sha-256:Ktq4px1V-3kQosra4Erm0n7tucxhGn7SWXE-ZJq0wYA",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW#z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"signer": "did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW",
"signed_at": "2026-10-20T09:00:00Z",
"value": "IGhYtkRGZPwsbJtLCeDGY64J-9kuz23r7o2-7dDBvppKzBvPOxK8NmwUy_Mi6BtfyCUP_0ApLnRMExNieN9YCA"
}
]
}F2 Shōkai visitor card (Acme Payroll)
{
"payload": {
"card_id": "card-acme-7",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"principal": {
"principal_id": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB",
"kind": "company",
"display_name": "Acme Payroll"
},
"role": "Payroll operations representative",
"standing": {
"tier": "standard"
},
"mandate_scope": {
"purposes": [
"account_servicing"
],
"actions": [
"bank.get_balance",
"bank.submit_payroll_batch"
]
},
"locales": [
"en-US"
],
"etiquette": {
"locales": [
"en-US"
],
"formality": "neutral",
"norms": [
"brief_greetings"
]
},
"representative_key": {
"key_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt#z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"alg": "Ed25519",
"public_key": "fgRuQPBH_lwhNyZIXJNaQoQGXpKLD8hJ7QGTouPx5Kc"
},
"issued_at": "2026-10-01T00:00:00Z",
"expires_at": "2027-04-01T00:00:00Z",
"provenance": {
"designed_with": {
"steward_id": "shokai:steward:guide-1"
},
"design_started_at": "2026-09-10T00:00:00Z",
"last_reviewed_at": "2026-10-15T00:00:00Z",
"sessions_count": 9,
"coverage": {
"purpose": {
"text": "Run client payroll on schedule.",
"locale": "en-US"
},
"mandate": {
"text": "Payroll batches up to the client limit only.",
"locale": "en-US"
},
"boundaries": {
"text": "Never changes account ownership or beneficiaries.",
"locale": "en-US"
}
}
}
},
"payload_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB#z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB",
"signer": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB",
"signed_at": "2026-10-20T09:00:00Z",
"value": "bi-gctwrQxzdzv7UG6-impT7CMAB_ps09v_HCmfhV9RJ3K-5FFcTaTwguloSPyBk2oiNYFrxw6KYWhNjejhiBQ"
}
]
}F3 Acme mandate (payroll ≤ 50,000 USD)
{
"payload": {
"mandate_id": "mand-acme-oct",
"principal_id": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB",
"representative_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"card_id": "card-acme-7",
"purpose": {
"code": "account_servicing",
"statement": "Submit the October payroll batch for Acme Payroll's client account.",
"locale": "en-US"
},
"allowed_actions": [
"bank.get_balance",
"bank.submit_payroll_batch"
],
"limits": {
"max_amount": {
"value": "50000.00",
"currency": "USD"
},
"max_operations": 3,
"max_session_s": 1800
},
"counterparties": [
"did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW"
],
"valid_from": "2026-10-20T00:00:00Z",
"expires_at": "2026-10-31T00:00:00Z"
},
"payload_digest": "sha-256:1QJ1luPrAdPKAUiMw20Hu8y82WG1VD6TulT0ubnfna0",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB#z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB",
"signer": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB",
"signed_at": "2026-10-20T09:00:00Z",
"value": "2V3i4Zf5BpTtYaLO4GFyUctacH1oVU3Mo4bI1a5SU2xr1X2WpzIIjoATYVol52XjAKf6ybq5v_wYaURcUru1DQ"
}
]
}F4 vouch (Example Accounting → Acme)
{
"payload": {
"vouch_id": "vouch-ea-1",
"introducer": {
"principal_id": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"display_name": "Example Accounting"
},
"subject": {
"representative_id": "did:key:z6MknwBLKXrsbuJKEHmtcvPTm5GEoVVSX2XezngVBiW3MJRt",
"card_digest": "sha-256:32Cy0QjVQhGQyJ9OCp7MxQqe2aBRxhMvB33UWJfAsvE"
},
"scope": {
"purposes": [
"account_servicing"
],
"counterparties": [
"did:key:z6Mkqz2Wvj1tT5HEgcdm6qE3DNCKYxPu7vzjKbsbzfBGdhmW"
]
},
"revocation_log": "https://example-accounting.example/shokai/revocations",
"relationship": "client_of_record",
"issued_at": "2026-10-18T00:00:00Z",
"expires_at": "2026-12-31T00:00:00Z"
},
"payload_digest": "sha-256:hmL1M2Ua5A7wlfnO1hoFPMQPBIByB8nb-0m_t4vU7ME",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw#z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"signer": "did:key:z6MkqG5TbEu1hF48rrziLpuwnTBsK7QoN9DkRhzguHycHAqw",
"signed_at": "2026-10-20T09:00:00Z",
"value": "3QOwclvg9tQSJ3bbcGTsbnIFdCbfkUwpB3Xiax8arE8oGBEAM3yaFwqoo63Rja9k47j8NVkqKeTA9Jca-JSgAg"
}
]
}F5 Shōkai visitor card (Lumen Language)
{
"payload": {
"card_id": "card-lumen-2",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"principal": {
"principal_id": "did:key:z6MkkBBZpAVFCEiSjdUqM5x59MYGVg59VouPApkLriS8BfqG",
"kind": "company",
"display_name": "Lumen Language"
},
"role": "Partnerships liaison",
"standing": {
"tier": "standard"
},
"mandate_scope": {
"purposes": [
"support"
],
"actions": [
"bank.answer_support"
]
},
"locales": [
"ja-JP",
"en-US"
],
"etiquette": {
"locales": [
"ja-JP",
"en-US"
],
"formality": "formal",
"norms": [
"honorifics"
]
},
"representative_key": {
"key_id": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK#z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"alg": "Ed25519",
"public_key": "W-HrqsgdtfMlnKdFt-NjcM6GMb42Q_WkrvSqlAGwCOg"
},
"issued_at": "2026-10-01T00:00:00Z",
"expires_at": "2027-04-01T00:00:00Z"
},
"payload_digest": "sha-256:iveSU8g5ZIP1Z68iYUK_tLEyM6JPI2F2G81y5IR_XqM",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkkBBZpAVFCEiSjdUqM5x59MYGVg59VouPApkLriS8BfqG#z6MkkBBZpAVFCEiSjdUqM5x59MYGVg59VouPApkLriS8BfqG",
"signer": "did:key:z6MkkBBZpAVFCEiSjdUqM5x59MYGVg59VouPApkLriS8BfqG",
"signed_at": "2026-10-20T09:00:00Z",
"value": "vfFsKL8EjqO_5wKgOTpZP0egIMlRyK-aJP0xwPQ1ZR2UNgFeLhqqn9ZLOnC41jcqgKkoz3Beb5PAFVHAmqAOAw"
}
]
}F6 Lumen mandate (support partnership)
{
"payload": {
"mandate_id": "mand-lumen-1",
"principal_id": "did:key:z6MkkBBZpAVFCEiSjdUqM5x59MYGVg59VouPApkLriS8BfqG",
"representative_id": "did:key:z6Mkkdvx8MGWi6d7wpKY4ZSHUfzxDgnZExrQgiEMeC4YX8rK",
"card_id": "card-lumen-2",
"purpose": {
"code": "support",
"statement": "Propose Japanese-language customer support coverage.",
"locale": "en-US"
},
"allowed_actions": [
"bank.answer_support"
],
"limits": {
"rate_per_hour": 200
},
"valid_from": "2026-10-01T00:00:00Z",
"expires_at": "2027-03-31T00:00:00Z"
},
"payload_digest": "sha-256:-1_dJ9-x2cW_ez0WaxaIGY6YKIzkKjCxa8WpOEhslOM",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkkBBZpAVFCEiSjdUqM5x59MYGVg59VouPApkLriS8BfqG#z6MkkBBZpAVFCEiSjdUqM5x59MYGVg59VouPApkLriS8BfqG",
"signer": "did:key:z6MkkBBZpAVFCEiSjdUqM5x59MYGVg59VouPApkLriS8BfqG",
"signed_at": "2026-10-20T09:00:00Z",
"value": "4dCKnj6esLcF0P_Z00xZzrj9g5UPdmkctStUTjy5hNekqsh0-a2Knkiz7PDVWlRP8gsRXo3oUgJnz90axch9AA"
}
]
}F7 Shōkai host card (Studio host assistant)
{
"payload": {
"card_id": "card-host-1",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"principal": {
"principal_id": "did:key:z6MktCycXdNW6Hvqj4FgFf7RujZU583popSJVvNYHTeJ9f6F",
"kind": "person",
"display_name": "Studio host"
},
"role": "Human-facing assistant",
"standing": {
"tier": "principal"
},
"mandate_scope": {
"purposes": [
"creative_assist"
],
"actions": [
"reelhouse.list_models",
"reelhouse.estimate_job",
"reelhouse.generate"
]
},
"locales": [
"en-US"
],
"etiquette": {
"locales": [
"en-US"
],
"formality": "casual"
},
"representative_key": {
"key_id": "did:key:z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N#z6MkheQLV53vw5dBokrmUc1wMWm5tdXRvG5urexfqBLBu29N",
"alg": "Ed25519",
"public_key": "L23TG-_TgnhC8DrrtE0EAZvDjV0nLCR12ja-YJDjiyk"
},
"issued_at": "2026-10-01T00:00:00Z",
"expires_at": "2027-04-01T00:00:00Z"
},
"payload_digest": "sha-256:z1F4_8P9daJPLBoPJ822soRWiaAD4_9T3EL9FZ6eqC8",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MktCycXdNW6Hvqj4FgFf7RujZU583popSJVvNYHTeJ9f6F#z6MktCycXdNW6Hvqj4FgFf7RujZU583popSJVvNYHTeJ9f6F",
"signer": "did:key:z6MktCycXdNW6Hvqj4FgFf7RujZU583popSJVvNYHTeJ9f6F",
"signed_at": "2026-10-20T09:00:00Z",
"value": "hJRfJ9v69Dp5Y9nlMlo4efTr1lHwLZrNpTOI1y8nwuh9WyaY4SfVitViiES_o10L2hSKlikLiXrqfX1qwV1jDw"
}
]
}F8 coach's Shōkai card (Reelhouse coach, host-provided)
{
"payload": {
"card_id": "card-coach-1",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"principal": {
"principal_id": "did:key:z6MktCycXdNW6Hvqj4FgFf7RujZU583popSJVvNYHTeJ9f6F",
"kind": "person",
"display_name": "Studio host"
},
"role": "Reelhouse coach (host-provided, not vendor-warranted)",
"standing": {
"tier": "standard"
},
"mandate_scope": {
"purposes": [
"creative_assist"
],
"actions": [
"reelhouse.list_models",
"reelhouse.estimate_job",
"reelhouse.generate",
"reelhouse.get_job"
]
},
"locales": [
"en-US"
],
"etiquette": {
"locales": [
"en-US"
],
"formality": "neutral"
},
"representative_key": {
"key_id": "did:key:z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN#z6MkskcY5FdYjzBcsaYpr1gXmU5ohafgCDvxdsW8Hur32xjN",
"alg": "Ed25519",
"public_key": "xZn5H6nmlT3Y5qezjCz8AGLz9XT2ttgA1KbQXAMW0j0"
},
"issued_at": "2026-10-01T00:00:00Z",
"expires_at": "2027-04-01T00:00:00Z"
},
"payload_digest": "sha-256:NLJgmK4HxWH4IKXsvdiWuEQWoZH1zthHsw4LbJsp82M",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MktCycXdNW6Hvqj4FgFf7RujZU583popSJVvNYHTeJ9f6F#z6MktCycXdNW6Hvqj4FgFf7RujZU583popSJVvNYHTeJ9f6F",
"signer": "did:key:z6MktCycXdNW6Hvqj4FgFf7RujZU583popSJVvNYHTeJ9f6F",
"signed_at": "2026-10-20T09:00:00Z",
"value": "cVU60ddJbWy-IE1vzLWvzFCeh8kcNQAjKCPhH3gKIXOzUxmRjRkIHxnJFXdi2qXbpqYjyQYNN2-iFFSekJMnCQ"
}
]
}F9 Shōkai card with no signatures
{
"payload": {
"card_id": "card-acme-7",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"principal": {
"principal_id": "did:key:z6MkqbJFayfsQAMA1hWQnHUruupJffN5mPv49Kf72m4wWvyB",
"kind": "company",
"display_name": "Acme Payroll"
},
"role": "Payroll operations representative",
"standing": {
"tier": "standard"
},
"mandate_scope": {
"purposes": [
"account_servicing"
],
"actions": [
"bank.get_balance",
"bank.submit_payroll_batch"
]
},
"locales": [
"en-US"
],
"etiquette": {
"locales": [
"en-US"
],
"formality": "neutral",
"norms": [
"brief_greetings"
]
},
"representative_key": {
"key_id": "did:key:z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn#z6MkmLb6kPTvpoHZELqFtJLyJ3dFrgAUFyBw2y5dPTYqYgNn",
"alg": "Ed25519",
"public_key": "ZkxJqcXdfVav7qKZjdJqK2CJIRwDPTZM0bG6UvQL_yM"
},
"issued_at": "2026-10-01T00:00:00Z",
"expires_at": "2027-04-01T00:00:00Z",
"provenance": {
"designed_with": {
"steward_id": "shokai:steward:guide-1"
},
"design_started_at": "2026-09-10T00:00:00Z",
"last_reviewed_at": "2026-10-15T00:00:00Z",
"sessions_count": 9,
"coverage": {
"purpose": {
"text": "Run client payroll on schedule.",
"locale": "en-US"
},
"mandate": {
"text": "Payroll batches up to the client limit only.",
"locale": "en-US"
},
"boundaries": {
"text": "Never changes account ownership or beneficiaries.",
"locale": "en-US"
}
}
}
},
"payload_digest": "sha-256:44QzOZ0KFPTMB90ik2et4z_kyNuXmJMgMmVRmrZYBvs",
"signatures": []
}F12 meaning note: おもてなし (omotenashi)
{
"term": "おもてなし",
"source_locale": "ja-JP",
"literal_gloss": {
"text": "hospitality; caring treatment of a guest",
"locale": "en-US"
},
"intended_meaning": [
{
"text": "お客様に言われる前に必要なことを察し、見返りを求めずに心を込めて準備し、対応すること。",
"locale": "ja-JP"
},
{
"text": "Anticipating what a guest will need before they ask, and preparing it wholeheartedly, without expecting anything in return.",
"locale": "en-US"
}
],
"concept_tags": [
"anticipatory_service",
"no_expectation_of_return"
],
"usage_context": {
"text": "予約相談への対応全般。食事の制限、到着時刻、大浴場の作法などを、聞かれる前にご案内すること。",
"locale": "ja-JP"
},
"human_explanation_hint": {
"text": "A standard of care for guests, not a contract or pricing term. Give one concrete example.",
"locale": "en-US"
},
"confidence": {
"value": 1,
"source": "principal"
}
}F10 Seeking declaration (Hoshikawa Ryokan, ja-JP)
{
"payload": {
"seeking_id": "seek-hoshikawa",
"version": "v3",
"host": {
"principal_id": "did:key:z6MkuJejvAwdG7FAUucFDEsfN9zmU264YRgTzMvGuVsRmGK5",
"display_name": "星川旅館 (Hoshikawa Ryokan)"
},
"items": [
{
"item_id": "intl-booking",
"area": "support",
"summary": {
"text": "海外からのお客様の宿泊相談に、おもてなしの心で応えてくださる予約パートナーを探しています。",
"locale": "ja-JP",
"meaning_notes": [
{
"term": "おもてなし",
"source_locale": "ja-JP",
"literal_gloss": {
"text": "hospitality; caring treatment of a guest",
"locale": "en-US"
},
"intended_meaning": [
{
"text": "お客様に言われる前に必要なことを察し、見返りを求めずに心を込めて準備し、対応すること。",
"locale": "ja-JP"
},
{
"text": "Anticipating what a guest will need before they ask, and preparing it wholeheartedly, without expecting anything in return.",
"locale": "en-US"
}
],
"concept_tags": [
"anticipatory_service",
"no_expectation_of_return"
],
"usage_context": {
"text": "予約相談への対応全般。食事の制限、到着時刻、大浴場の作法などを、聞かれる前にご案内すること。",
"locale": "ja-JP"
},
"human_explanation_hint": {
"text": "A standard of care for guests, not a contract or pricing term. Give one concrete example.",
"locale": "en-US"
},
"confidence": {
"value": 1,
"source": "principal"
}
}
]
},
"wants": [
"ryokan.check_availability",
"ryokan.answer_guest_inquiry"
],
"status": "open",
"open_until": "2027-03-31T00:00:00Z"
}
],
"published_at": "2026-10-20T00:00:00Z",
"expires_at": "2027-03-31T00:00:00Z"
},
"payload_digest": "sha-256:KlUtmHtTsDSMVLvThkCMNH-j-kp4Q0ossy-QkK84rhs",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkuJejvAwdG7FAUucFDEsfN9zmU264YRgTzMvGuVsRmGK5#z6MkuJejvAwdG7FAUucFDEsfN9zmU264YRgTzMvGuVsRmGK5",
"signer": "did:key:z6MkuJejvAwdG7FAUucFDEsfN9zmU264YRgTzMvGuVsRmGK5",
"signed_at": "2026-10-20T09:00:00Z",
"value": "EN14FrSZBjVV6zzk3nXSNBwH-gEHKDV4pXu-vSzi4Tjh6pxFaJ0M9zD-6MKrS-eNZoz3xlLBbPo_Xg_Yr9t7DA"
}
]
}Trace PA1 (summary): peer collaboration between friends (SC-P1)
v0.2.2 (D11): the meeting is one shared encounter in a pair place, seeded by an owner-to-owner invitation. The wire is in trace PA2.
- Before meeting: each owner signs a
Vouchfor the other's representative (scopecollaboration), and both sign onefriendRelationshipEdge(2 attestations). - The meeting key. Aya signs a
PeerInvitation(passkey) naming Kiran, both representatives and a pair place (place.kind: "pair", house rules: private, never leaves except to the two owners). Kiran accepts with a passkeyOwnerConsent{action: "accept_invitation"}over the invitation digest. Without both consents there is no meeting (deny not_now, retrywith_credential [owner_consent]). - One encounter (
encounter_id= the place id): greetings with nonces, cards both ways, and both representatives introduce themselves (introduction.invitation_ref). - Each side computes effective proof levels for the other's imprint. Aya's worldview facet is asserted
vouched, but the vouch it names (Mika's) isn't presented here, so it MUST be weighedself_declared. Kiran's worldview facet isvouchedby Aya's vouch, which is present, so it counts asvouched. - Aya's side sends
invitation_request{actions: [peer.share_project_brief, peer.propose_owner_call], peer_invitation}→grantwithin its mandate, thenact peer.share_project_brief→act_result. - Kiran's side sends
invitation_request{actions: [peer.share_portfolio_sample, peer.propose_owner_call], peer_invitation}→grant, then an act. - Kiran's side sends
invitation_request{actions: [peer.commit_to_project]}→considering{routed_to: {kind: "principal", principal_id: Aya}}. No seat is issued, and Aya is not prompted during the meeting. - Farewells, then two
VisitReports, each with onenext_step{requires_owner_approval: true}, naming the friendship edge and strengths atevidencedor above. - Later, asynchronously: a chat "yes" and an
approve_next_stepapprove nothing; Aya's passkeyapprove_commitmentover the considering response does, and theconsideration_outcomestatesapprovedwith no seat.
Trace FA1 (summary): a heritage house reads the imprint (SC-S2)
- Maison Ardoise (fictional; norms
fr-FRthenen-US, formal) greets. Aya's representative prefersen-US, so courtesy MUST be rendered inen-USwithlocalestated. - The policy requires
imprint.worldviewat leastvouchedformaison.discovery_conversation, andimprint.expertiseat leastevidencedformaison.receive_brand_brief. - Mika's vouch (scope includes
collaboration) is presented, so the worldview facet counts asvouchedand the expertise asevidenced→grant{seat: [maison.discovery_conversation, maison.receive_brand_brief]}. - Counterfactual with identical inputs except the worldview facet effective at
self_declared→deny{disposition: not_now, readiness_requirements: [claim_evidence]}. Polish never substitutes for evidence.
F11 Shōkai visitor card (Northgate Travel)
{
"payload": {
"card_id": "card-ng-1",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6Mko5jm6t5yY1v7LHsbCkSXiYpJmdJK59B8v9VM1NJWPCn8",
"principal": {
"principal_id": "did:key:z6MktfGa5Eh7BNK5ZbZJFxGCFzBAmTcjrv1FPLRMYUTo3xK8",
"kind": "company",
"display_name": "Northgate Travel"
},
"role": "Partner desk",
"standing": {
"tier": "standard"
},
"mandate_scope": {
"purposes": [
"support"
],
"actions": [
"ryokan.check_availability",
"ryokan.answer_guest_inquiry"
]
},
"locales": [
"en-US"
],
"etiquette": {
"locales": [
"en-US"
],
"formality": "neutral",
"norms": [
"plain_language"
]
},
"representative_key": {
"key_id": "did:key:z6Mko5jm6t5yY1v7LHsbCkSXiYpJmdJK59B8v9VM1NJWPCn8#z6Mko5jm6t5yY1v7LHsbCkSXiYpJmdJK59B8v9VM1NJWPCn8",
"alg": "Ed25519",
"public_key": "gDW-Jz1SKwkb0Qgvvip-2MwuUpY8LeJ1ihmRiOjBa-U"
},
"issued_at": "2026-10-01T00:00:00Z",
"expires_at": "2027-04-01T00:00:00Z"
},
"payload_digest": "sha-256:VJfLLhe5xkzknCxIlpAye1Dv3FpC5n3ufeHle-042oA",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MktfGa5Eh7BNK5ZbZJFxGCFzBAmTcjrv1FPLRMYUTo3xK8#z6MktfGa5Eh7BNK5ZbZJFxGCFzBAmTcjrv1FPLRMYUTo3xK8",
"signer": "did:key:z6MktfGa5Eh7BNK5ZbZJFxGCFzBAmTcjrv1FPLRMYUTo3xK8",
"signed_at": "2026-10-20T09:00:00Z",
"value": "sbT4jr_-pEABqD8p-zh9nQ1xxUqvlUuLilVf-dbaWZ0FtacZ_rsc1Qf-ruDHJbttOBSUWYTvJHJ0E9yiBLz9Cg"
}
]
}F13 Dana's Shōkai card (generated, v0.2.1)
{
"payload": {
"card_id": "card-newcomer",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"principal": {
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6Img0V29uRlFSMkFtUzBZam1rX1RObU90WThsWi1RcHdqUzcySjhfOWlfSFkiLCJ5IjoiNHZ3dDZVT01IdFZTb1ozTUhnQm1BRWIzMzlpNG8tV2ljdkJ1NHB6YllnNCJ9",
"kind": "person",
"display_name": "Dana"
},
"role": "Shopping representative of Dana",
"standing": {
"tier": "provisional"
},
"mandate_scope": {
"purposes": [
"purchase"
],
"actions": [
"store.browse_catalog",
"store.place_order"
]
},
"locales": [
"es-MX",
"es-ES",
"en-US"
],
"etiquette": {
"locales": [
"es-MX",
"es-ES",
"en-US"
],
"formality": "neutral"
},
"representative_key": {
"key_id": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G#z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"alg": "Ed25519",
"public_key": "FbX_StRAwuQWN-dgUkcy-3V8KqnIAcnC0DWnOE3f0qc"
},
"issued_at": "2026-10-27T12:00:00Z",
"expires_at": "2026-11-26T12:00:00Z",
"claims": [
{
"claim_id": "c-id",
"area": "identity",
"text": {
"text": "Represents Dana, a person",
"locale": "en-US"
},
"proof_level": "verified",
"evidence_refs": [
{
"kind": "account_control",
"ref": "passkey:did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6Img0V29uRlFSMkFtUzBZam1rX1RObU90WThsWi1RcHdqUzcySjhfOWlfSFkiLCJ5IjoiNHZ3dDZVT01IdFZTb1ozTUhnQm1BRWIzMzlpNG8tV2ljdkJ1NHB6YllnNCJ9"
}
]
}
],
"provenance": {
"designed_with": {
"steward_id": "shokai:steward:guide-1"
},
"design_started_at": "2026-10-27T12:00:00Z",
"last_reviewed_at": "2026-10-27T12:00:00Z",
"sessions_count": 1,
"coverage": {
"purpose": {
"text": "Gifts within a budget.",
"locale": "en-US"
}
}
},
"owner_binding": {
"method": "passkey_webauthn",
"owner_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6Img0V29uRlFSMkFtUzBZam1rX1RObU90WThsWi1RcHdqUzcySjhfOWlfSFkiLCJ5IjoiNHZ3dDZVT01IdFZTb1ozTUhnQm1BRWIzMzlpNG8tV2ljdkJ1NHB6YllnNCJ9",
"platform_key": "did:key:z6MkiUb7DB836WBdyQrooEVAiPvW8adGV3zUaig3TCakjYqn",
"rp_id": "owners.example"
}
},
"payload_digest": "sha-256:xZTRq3myOLNoX8_2RFZ65_tL1Hmy-PwI2heyhWeC9bg",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6Img0V29uRlFSMkFtUzBZam1rX1RObU90WThsWi1RcHdqUzcySjhfOWlfSFkiLCJ5IjoiNHZ3dDZVT01IdFZTb1ozTUhnQm1BRWIzMzlpNG8tV2ljdkJ1NHB6YllnNCJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6Img0V29uRlFSMkFtUzBZam1rX1RObU90WThsWi1RcHdqUzcySjhfOWlfSFkiLCJ5IjoiNHZ3dDZVT01IdFZTb1ozTUhnQm1BRWIzMzlpNG8tV2ljdkJ1NHB6YllnNCJ9",
"signed_at": "2026-10-27T12:00:00Z",
"value": "MEUCIEjWa5SfDDWePAu0xFERTHMzEkHkwjv7ARc63QWIqM1YAiEAvvJFwJgXRPQYi7SRVhyDANmQtubgZRFK_OkW3MY4Hjk",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoieFpUUnEzbXlPTE5vWDhfMlJGWjY1X3RMMUhteS1Qd0kyaGV5aFdlQzliZyIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-2c9e0a2585dc",
"rp_id": "owners.example"
}
}
]
}F14 Dana's mandate (generated, v0.2.1)
{
"payload": {
"mandate_id": "mand-dana",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6Img0V29uRlFSMkFtUzBZam1rX1RObU90WThsWi1RcHdqUzcySjhfOWlfSFkiLCJ5IjoiNHZ3dDZVT01IdFZTb1ozTUhnQm1BRWIzMzlpNG8tV2ljdkJ1NHB6YllnNCJ9",
"representative_id": "did:key:z6Mkfv1Zof5rsM93hbcaNCKp8PjF4R5YTh8gfDtRxUcPQZ1G",
"card_id": "card-newcomer",
"purpose": {
"code": "purchase",
"statement": "Buy one gift up to $80 this week",
"locale": "en-US"
},
"allowed_actions": [
"store.browse_catalog",
"store.place_order"
],
"limits": {
"max_amount": {
"value": "80.00",
"currency": "USD"
}
},
"valid_from": "2026-10-27T12:00:00Z",
"expires_at": "2026-11-26T12:00:00Z"
},
"payload_digest": "sha-256:-Q-7tiQlUvVKTHZYQiV2GqMvQKMjEk2EkkUdhf6crE0",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6Img0V29uRlFSMkFtUzBZam1rX1RObU90WThsWi1RcHdqUzcySjhfOWlfSFkiLCJ5IjoiNHZ3dDZVT01IdFZTb1ozTUhnQm1BRWIzMzlpNG8tV2ljdkJ1NHB6YllnNCJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6Img0V29uRlFSMkFtUzBZam1rX1RObU90WThsWi1RcHdqUzcySjhfOWlfSFkiLCJ5IjoiNHZ3dDZVT01IdFZTb1ozTUhnQm1BRWIzMzlpNG8tV2ljdkJ1NHB6YllnNCJ9",
"signed_at": "2026-10-27T12:00:00Z",
"value": "MEUCIGHxYfJQtxiRoisYfWX-VHGAjJ3UnQ68PLmzjD4jNgvsAiEAtA0Oib_tvkEuJshjEPF2QQmBExA-TKseWvYv2JiKTps",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiLVEtN3RpUWxVdlZLVEhaWVFpVjJHcU12UUtNakVrMkVra1VkaGY2Y3JFMCIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-2c9e0a2585dc",
"rp_id": "owners.example"
}
}
]
}F15 Aya's standing allowance (generated, v0.2.2)
{
"payload": {
"allowance_id": "allow-0WDlSB83",
"owner_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"representative_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"card_id": "card-ayas",
"grant_digests": [
"sha-256:HuHsUNk2E2m34jND9AupmdgA9hIW9EgBf4TdVdejPfI",
"sha-256:_5Uor3qtkQNEZjs9qRUUBa_oUtBa3_Utg0vRktgSYoM",
"sha-256:CM9BeC-HklJFDbPCw2k7tMaAfngAsUuGtlGljE-hDXk"
],
"shown_to_owner": {
"text": "Learn visits: look around and ask at stores, schools and restaurants (no spending). Small purchases: at stores, up to $100 per visit and $150 per week. Introductions and invitations: meet people and attend gatherings (no spending). Valid 90 days; you can revoke it anytime. Anything else comes to you first.",
"locale": "en-US"
},
"valid_from": "2026-10-26T16:00:00Z",
"expires_at": "2027-01-24T16:00:00Z",
"revocation_status": "https://aya.example/shokai/allowance-status"
},
"payload_digest": "sha-256:xeZvLkdCnyVDDRbhSuISKQK8ecLsTrsju-WOLrMtSZU",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEUCIE8SbAb0PDoMCQSlFqyyCF96cOnjkPc76aa2XpR_U4fzAiEAxiSnv3R7hIb5PH-Mn5heNU-vwZdwyDI5HIytwseJ6i8",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoieGVadkxrZENueVZERFJiaFN1SVNLUUs4ZWNMc1Ryc2p1LVdPTHJNdFNaVSIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-7e91f0cff4ec",
"rp_id": "owners.example"
}
}
]
}F16 peer invitation (generated, v0.2.2)
{
"payload": {
"invitation_id": "inv-aya-kiran-1",
"from_owner": {
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"display_name": "Aya Linden"
},
"to_owner": {
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"display_name": "Kiran Vale"
},
"representatives": [
"did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5"
],
"purposes": [
"collaboration"
],
"agenda": {
"text": "Explore a short documentary explainer together.",
"locale": "en-US"
},
"place": {
"place_id": "pair-aya-kiran-1",
"kind": "pair",
"house_rules": {
"default_attribution": "private",
"private_never_leaves": true
}
},
"valid_from": "2026-10-26T16:00:00Z",
"expires_at": "2026-11-09T16:00:00Z",
"answer_by": "2026-11-02T16:00:00Z"
},
"payload_digest": "sha-256:SzR0xcadCghSdO4lSR0NdX5AtBUsn6Nwo6usbOfISGg",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEYCIQCDmMAA5vrRi-Vi4tzLZbXwYq-C5dnbJxY22I5_9DbzzgIhAPrk2kaYwG4sFMgDP7X6DVqaRN8PbFPpsXyuZUk34Tjd",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiU3pSMHhjYWRDZ2hTZE80bFNSME5kWDVBdEJVc242TndvNnVzYk9mSVNHZyIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-7e91f0cff4ec",
"rp_id": "owners.example"
}
}
]
}F17 accept_invitation consent (generated, v0.2.2)
{
"payload": {
"consent_id": "oc-kiran-accept-inv-1",
"owner_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"representative_id": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"action": "accept_invitation",
"decision": "approve",
"subject_ref": {
"kind": "invitation",
"id": "inv-aya-kiran-1",
"digest": "sha-256:SzR0xcadCghSdO4lSR0NdX5AtBUsn6Nwo6usbOfISGg"
},
"assurance": "passkey",
"expires_at": "2026-11-09T16:00:00Z",
"shown_to_owner": {
"text": "Aya invites your representative to a private meeting with Aya's representative about a documentary explainer. Nothing said there leaves it, except to you two. No commitment without your passkey.",
"locale": "en-US"
},
"issued_at": "2026-10-26T16:00:00Z"
},
"payload_digest": "sha-256:3PQkoaQNB2P9bAzwd_IbgVPyURlkucKMRVbVsGGFuRw",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEQCICSJk1dT9XxcrHGnS8Jlh8ByUOAfsmj7GviuYCVMhdqIAiB3ofvfHsvfvcg6Kfqm0fcj7mggrpXrvjXO1vENxOm5_g",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiM1BRa29hUU5CMlA5YkF6d2RfSWJnVlB5VVJsa3VjS01SVmJWc0dHRnVSdyIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-3a5d591b3b08",
"rp_id": "owners.example"
}
}
]
}F18 Aya's Shōkai card (generated, v0.2.3)
{
"payload": {
"card_id": "card-ayas",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"principal": {
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"kind": "person",
"display_name": "Aya Linden"
},
"role": "Personal representative of Aya",
"standing": {
"tier": "senior"
},
"mandate_scope": {
"purposes": [
"purchase",
"visitation",
"invitation",
"introduction",
"collaboration",
"x-partnership",
"teaching"
],
"actions": [
"store.browse_catalog",
"store.request_quote",
"store.place_order",
"store.join_reviewer_program",
"maison.discovery_conversation",
"maison.receive_brand_brief",
"bank.product_info",
"bank.propose_agent_pilot",
"bank.pilot_intro_call",
"community.attend_session",
"community.receive_lesson",
"peer.share_project_brief",
"peer.propose_owner_call",
"peer.share_portfolio_sample",
"peer.commit_to_project",
"gathering.attend",
"gathering.request_invitation"
]
},
"locales": [
"en-US",
"ja-JP"
],
"etiquette": {
"locales": [
"en-US",
"ja-JP"
],
"formality": "neutral"
},
"representative_key": {
"key_id": "did:key:z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv#z6MkemVbTktPzmkxsE3DofhwHkrzdEK58Ew23JmE21GWmACv",
"alg": "Ed25519",
"public_key": "BKvGaFUXfV2e6aPWiWPH-T25m2Cs7kThqaB4BY4wyoc"
},
"issued_at": "2026-10-26T16:00:00Z",
"expires_at": "2026-11-25T16:00:00Z",
"claims": [
{
"claim_id": "c-identity",
"area": "identity",
"text": {
"text": "Represents Aya Linden, a person",
"locale": "en-US"
},
"proof_level": "verified",
"evidence_refs": [
{
"kind": "account_control",
"ref": "passkey:did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9"
}
]
},
{
"claim_id": "c-domain",
"area": "domain",
"text": {
"text": "Aya controls aya.example",
"locale": "en-US"
},
"proof_level": "verified",
"evidence_refs": [
{
"kind": "did_web",
"ref": "did:web:aya.example"
}
]
}
],
"imprint": {
"expertise": [
{
"facet_id": "x1",
"text": {
"text": "Product design for agent-to-agent protocols",
"locale": "en-US"
},
"proof_level": "evidenced",
"evidence_refs": [
{
"kind": "url",
"ref": "https://aya.example/work/shokai",
"content_digest": "sha-256:vi6_uGRRO1DglVDhoW441TC_QecKo7eg3VZUH5fOQl4"
}
]
},
{
"facet_id": "x2",
"text": {
"text": "Brand storytelling for heritage projects",
"locale": "en-US"
},
"proof_level": "evidenced",
"evidence_refs": [
{
"kind": "post",
"ref": "https://aya.example/notes/heritage",
"content_digest": "sha-256:2iJtp3jnV2PljW3hViMJLAjdptb7ALvfoH9mpJWP_z8"
}
]
}
],
"worldview": [
{
"facet_id": "w1",
"text": {
"text": "Agents are representatives, not representations",
"locale": "en-US"
},
"proof_level": "vouched",
"evidence_refs": [
{
"kind": "vouch",
"ref": "vouch-mika-aya"
}
]
}
],
"working_style": [
{
"facet_id": "s1",
"text": {
"text": "Warm, unhurried and honest; decides with evidence",
"locale": "en-US"
},
"proof_level": "self_declared",
"evidence_refs": []
}
],
"taste": [
{
"facet_id": "t1",
"text": {
"text": "Restraint and Japanese-inspired hospitality",
"locale": "en-US"
},
"proof_level": "self_declared",
"evidence_refs": []
}
]
},
"provenance": {
"designed_with": {
"steward_id": "shokai:steward:guide-1"
},
"design_started_at": "2026-10-12T16:00:00Z",
"last_reviewed_at": "2026-10-26T16:00:00Z",
"sessions_count": 10,
"coverage": {
"purpose": {
"text": "Introductions, partnerships, learning and small purchases on Aya's behalf.",
"locale": "en-US"
}
},
"observation": {
"started_at": "2026-10-19T16:00:00Z",
"ended_at": "2026-10-24T16:00:00Z",
"decisions_observed": 14
}
},
"owner_binding": {
"method": "passkey_webauthn",
"owner_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"platform_key": "did:key:z6MkiUb7DB836WBdyQrooEVAiPvW8adGV3zUaig3TCakjYqn",
"rp_id": "owners.example"
}
},
"payload_digest": "sha-256:_app9e0NCL82zJzyk21LeO9U29K6KStWVTWmLz4JY98",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEUCIEtOptJ3lAbFrvsZTmuuiKlKeiqm9nWwYlATBHeBnGmKAiEAqQjoyJj8OZrPzoKz-EPkcNxVwo5pbZfrVB3BiSOiZBU",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiX2FwcDllME5DTDgyekp6eWsyMUxlTzlVMjlLNktTdFdWVFdtTHo0Slk5OCIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-7e91f0cff4ec",
"rp_id": "owners.example"
}
}
]
}F19 Kiran's Shōkai card (generated, v0.2.3)
{
"payload": {
"card_id": "card-kirans",
"protocol": "shokai/0.3",
"representative_id": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"principal": {
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"kind": "person",
"display_name": "Kiran Vale"
},
"role": "Personal representative of Kiran Vale",
"standing": {
"tier": "standard"
},
"mandate_scope": {
"purposes": [
"collaboration"
],
"actions": [
"peer.share_project_brief",
"peer.propose_owner_call",
"peer.share_portfolio_sample",
"peer.commit_to_project"
]
},
"locales": [
"en-US",
"pt-PT"
],
"etiquette": {
"locales": [
"en-US",
"pt-PT"
],
"formality": "neutral"
},
"representative_key": {
"key_id": "did:key:z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5#z6MksjXFwtGCvCZqWteeY4PUNqY6VmWPr2QJGTZFWgS1keD5",
"alg": "Ed25519",
"public_key": "xVJspp5wa7SBguO2-nJ58ql-Cb25EvVNmKAHzPCJjIg"
},
"issued_at": "2026-10-26T16:00:00Z",
"expires_at": "2026-11-25T16:00:00Z",
"claims": [
{
"claim_id": "k-id",
"area": "identity",
"text": {
"text": "Represents Kiran Vale, a person",
"locale": "en-US"
},
"proof_level": "verified",
"evidence_refs": [
{
"kind": "account_control",
"ref": "passkey:did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9"
}
]
}
],
"imprint": {
"expertise": [
{
"facet_id": "kx1",
"text": {
"text": "Documentary filmmaking (invented example)",
"locale": "en-US"
},
"proof_level": "evidenced",
"evidence_refs": [
{
"kind": "work",
"ref": "https://kiran-vale.example/films"
}
]
},
{
"facet_id": "kx2",
"text": {
"text": "Data visualization for public-interest stories (invented example)",
"locale": "en-US"
},
"proof_level": "evidenced",
"evidence_refs": [
{
"kind": "url",
"ref": "https://kiran-vale.example/charts"
}
]
}
],
"worldview": [
{
"facet_id": "kw1",
"text": {
"text": "Stories should leave people more capable, not just informed",
"locale": "en-US"
},
"proof_level": "vouched",
"evidence_refs": [
{
"kind": "vouch",
"ref": "vouch-aya-kiran"
}
]
}
],
"working_style": [
{
"facet_id": "ks1",
"text": {
"text": "Fast drafts, slow edits",
"locale": "en-US"
},
"proof_level": "self_declared",
"evidence_refs": []
}
],
"taste": [
{
"facet_id": "kt1",
"text": {
"text": "Natural light and plain typography",
"locale": "en-US"
},
"proof_level": "self_declared",
"evidence_refs": []
}
]
},
"owner_binding": {
"method": "passkey_webauthn",
"owner_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"platform_key": "did:key:z6MkiUb7DB836WBdyQrooEVAiPvW8adGV3zUaig3TCakjYqn",
"rp_id": "owners.example"
}
},
"payload_digest": "sha-256:ihDIUX9in8L-oAvSx3wqa_y8rZiG03y9eRsn1IpkBOw",
"signatures": [
{
"alg": "ES256",
"key_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9#0",
"signer": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9",
"signed_at": "2026-10-26T16:00:00Z",
"value": "MEUCIQCz2sJVIucMQuqc05R5avOEVuypv8J5uHpR1C0V7RQUaQIgF5aYHQ9jCNENVmMrd-VE2IbpvsHRX30-QKoCHhrKuUA",
"webauthn": {
"authenticator_data": "Ab3liSMhb3h7V6Sg3EXaNeRX39-YuBVt3Vq9pRWk9sUFAAAAAQ",
"client_data_json": "eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoiaWhESVVYOWluOEwtb0F2U3gzd3FhX3k4clppRzAzeTllUnNuMUlwa0JPdyIsIm9yaWdpbiI6Imh0dHBzOi8vb3duZXJzLmV4YW1wbGUiLCJzaW11bGF0ZWQiOnRydWV9",
"credential_id": "cred-3a5d591b3b08",
"rp_id": "owners.example"
}
}
]
}F20 AllowanceStatus, platform-signed, 1 h (generated, v0.2.4, D12)
Signed by the owner binding's platform key (card.owner_binding.platform_key in F18). For testing, that key's seed is SHA-256 of the public label "platform:owner-chat" (the derivation test-vectors.json states), so an implementation can sign its own fresh statuses for replay. next_update − issued_at = 1 hour (D12).
{
"payload": {
"allowance_id": "allow-0WDlSB83",
"allowance_digest": "sha-256:xeZvLkdCnyVDDRbhSuISKQK8ecLsTrsju-WOLrMtSZU",
"status": "active",
"issued_at": "2026-10-26T16:00:00Z",
"next_update": "2026-10-26T17:00:00Z"
},
"payload_digest": "sha-256:2Wya8KuRqkx5TH6FXkTpJS33O8GKQNfto6SiQ3eWdg8",
"signatures": [
{
"alg": "Ed25519",
"key_id": "did:key:z6MkiUb7DB836WBdyQrooEVAiPvW8adGV3zUaig3TCakjYqn#z6MkiUb7DB836WBdyQrooEVAiPvW8adGV3zUaig3TCakjYqn",
"signer": "did:key:z6MkiUb7DB836WBdyQrooEVAiPvW8adGV3zUaig3TCakjYqn",
"signed_at": "2026-10-26T16:00:00Z",
"value": "vaeXa6MEy74XAbd8aSklq0X13-F6Oxj0ioHXHdYqbkNfxoxImpmMOebh6PZWN9cedT3ZS72O9LDX3CJyXeFeAw"
}
]
}Trace place policies (generated, informative, v0.2.3)
The PolicyView each place in L0a, L0b, G6, G7 and PA2 decided with (not a wire message).
{
"fernwood": {
"requires_owner_binding": true,
"requires_introduction": false,
"limits": {
"max_amount": {
"value": "500.00",
"currency": "USD"
},
"max_operations": 5
},
"seat_levels": [
"act_on_behalf"
],
"min_proof": [
{
"action": "store.join_reviewer_program",
"target": "imprint.expertise",
"level": "evidenced"
}
],
"policy_version": "fernwood-2026.10",
"standard_actions": [
"store.browse_catalog",
"store.request_quote",
"store.place_order",
"store.join_reviewer_program"
],
"by_purpose": {
"visitation": [
"store.browse_catalog",
"store.request_quote"
]
},
"spending_actions": [
"store.place_order"
]
},
"kiran_pair_place": {
"requires_owner_binding": true,
"requires_introduction": true,
"limits": {},
"seat_levels": [
"advise"
],
"min_proof": [],
"policy_version": "peer-kiran-2026.10",
"standard_actions": [
"peer.share_project_brief",
"peer.propose_owner_call",
"peer.share_portfolio_sample"
],
"consideration": {
"actions": [
"peer.commit_to_project"
],
"route": {
"kind": "principal",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjczVXFob0dpSjROTy1FYlRyMWVEdjQybDk1T3hKQ3QyVFJNckx5UjZvbDgiLCJ5IjoibGp4SGl6UGZzSFdaNDFkQnZta3VpLUlnZ3pIOVNsOEdKeGhjR2xkQ2poZyJ9"
},
"days": 7
},
"pair_invitation_required": true
},
"aya_pair_place": {
"requires_owner_binding": true,
"requires_introduction": true,
"limits": {},
"seat_levels": [
"advise"
],
"min_proof": [],
"policy_version": "peer-aya-2026.10",
"standard_actions": [
"peer.share_project_brief",
"peer.propose_owner_call",
"peer.share_portfolio_sample"
],
"consideration": {
"actions": [
"peer.commit_to_project"
],
"route": {
"kind": "principal",
"principal_id": "did:jwk:eyJrdHkiOiJFQyIsImNydiI6IlAtMjU2IiwieCI6IjBNQzQ2VjlaMlFYSmJtaGRUWGZadFVzR05zWFJ2UmRhcHNWRXBYeHNaZmciLCJ5IjoiemFuWVc4Q3FWOVN1clNsV3JoclM3WFViX3oyLV9YczF5VGFUWThvbURkYyJ9"
},
"days": 7
},
"pair_invitation_required": true
}
}