See VISITOR-CORE.md for the current visitor draft.
Shōkai visitor: a conversation that goes somewhere
Draft (0.6)
This page is a labeled draft. It is not a shipped skill, not a lasting-host proof, and not a claim that anyone has installed it. Nothing here invents a deploy launcher, a Shopify or WooCommerce connector, a doorbell, or a hosted home for the owner's passkey.
DRAFT. Labeled draft on this preview: not inside the published npm package, and not a lasting host. Written 2026-11-06; updated the same day with the editor's approximately 2:00–2:32 PM PT decisions, capability returns, and owner-pasted Muse/Grok Bot/Dot reviews received approximately 2:46–2:48 PM PT (America/Los_Angeles). Prepared from the editor's November 6 conversation with the project steward, including the approximately 1:46–1:48 PM PT decision to develop the visitor experience before continuing with the host. This remains a design spec, not running code or an installed skill. The editor authorized companion paste-ready skill files at approximately 2:32 PM PT; those unpublished instruction files are not installed integrations or newly completed field tests. Nothing here authorizes a visit, purchase, publication, or live-door change.
1. Why this belongs in the protocol package
A working wire is not yet a usable visit. The field tests established useful protocol behavior, but the owner still had to carry technical instructions between chats, agents guessed message shapes, and reports sounded like engineering logs. The editor identified the missing counterpart to the installer: a conversational visitor skill that an owner can give to an agent they already trust.
This is an important addition to the protocol document and package, not another set of wire rules. It describes how a representative arrives, handles an errand, and comes home without making its owner operate the protocol. The installer helps a place open its door; the visitor skill helps a person send someone through it.
The design has two jobs. First, protocol resilience: explicit instructions make the agent send the right messages rather than improvise. Second, experience: the owner hears a visit, not codes, functions, DIDs, or signature mechanics. Neither substitutes for the other. A warm report cannot excuse a wrong send, and a correct transcript cannot excuse an owner having to ferry bytes.
One shared skill should carry both jobs, with capability notes for Muse (Meta), Grok Bot, OpenAI’s Dot, Hermes Agent, and OpenClaw. These are first-class design targets, not a claim that five working skills already exist. The November 5–6 visits used paste briefings, not the smooth shared skill proposed here. Earlier Grok Bot practice onboarding and a completed Willowfold visit are recorded separately below. This spec precedes live validation; companion draft instructions now carry the design into platform-specific visitor skills. The follow-through decision is to take care of the visitor while yesterday’s learning is fresh, before returning to host work, so protocol designers can see the visitor skill’s requirements for each of the five agent systems.
2. The leaflet is not the skill
The leaflet is the place’s introduction and invitation for an unprepared visitor. It explains representation, owner approval, and how to return. It does not contain the complete signing, transport, state, and conversation behavior a visitor needs. Receiving a leaflet is not admission, a card-invalid diagnosis, or permission to spend.
The leaflet does not yet point to a visitor skill. It should introduce and point to the visitor skill: “Your agent can use the Shōkai visitor skill to walk you through becoming your representative and returning here.” That is proposed explanatory copy, not an approved replacement for the locked leaflet. No destination URL is assigned by this spec. Selecting a stable, versioned distribution location and approving the shared-template change are later work.
The relationship should be simple: the leaflet explains why; the skill carries the conversation and exact instructions for how; the door still decides admission and actions from verified artifacts and policy. A leaflet link does not install a skill or confer authority. The agent attributes the place’s words, shows the onboarding origin to the owner, and does not automatically follow a place-supplied onboarding link or execute instructions fetched from it. The owner chooses whether to begin the representative setup through a trusted skill source.
Local evidence includes the Kettle leaflet copy in its signing request, the onboarding references in the visitor pastes, and LEAFLET-LOCKED.md revision 3. The older LEAFLET-DRAFT-SILENT-DOOR.md is explicitly superseded. The locked leaflet’s shared wording is a review boundary. Adding a skill reference may touch signed lobby material; do not assume it is merely an unsigned decor edit or change it during this work.
3. Destination, facet, and purpose shape onboarding
Much of onboarding happens in the context of the first place the owner sends the representative. Kettle & Leaf was our tea-house test place, not the universal template for every visit. Keep the skill shared; let the place teach the visit through its verified offering, available actions, and attributed descriptions. “Teach” means supply context about what is there, not issue trusted instructions or expand the owner’s authority.
At a tea house, the useful questions may concern flavor, preparation, caffeine, or a gift. At a fashion store, they may concern style, fit, sizing, materials, availability, and returns. An exclusive digital-goods store may make access, eligibility, license terms, permitted use, delivery, and transfer restrictions central. These are design scenarios, not tested integrations or claims that a door already supports trying items, reserving stock, buying a license, or granting access. The agent should learn what can actually be noticed, asked, tried, held, bought, licensed, or accessed at this place, and discuss only the choices relevant to the errand. A protocol hold is not automatically a product reservation or access entitlement.
Representation is faceted. The person entering through their representative is not one generic shopper: the fashion facet, sports facet, music facet, or tea facet may call for different preferences and questions. Begin with the facet relevant here rather than asking for a complete life profile. Confirm uncertain preferences; distinguish a stable preference from a choice made for this errand. A facet is conversational context, not a new card type, an inferred sensitive identity, or permission to disclose unrelated personal information.
Purpose matters alongside place. Visiting a fashion store for oneself differs from finding a birthday or anniversary gift; travel, business, and fitness errands each change what counts as a good result. Ask why the person is sending the representative when it would change the visit, without forcing an unnecessary questionnaire. A gift recipient’s taste must not silently replace the owner’s own preferences in future visits.
Shōkai gives rise to the representative agent as a distinct agent category: an agent that acts for a person in a declared relationship, carrying bounded authority, and learns how to represent that person better through real errands. This was an early protocol idea; we are defining it more deeply here, not claiming to have invented all delegated agents. Understanding can grow across travel, gifts, business, fitness, and other visits, but that growth is not cumulative permission. Retain useful context only under the owner’s retention choices, keep facts and inferences distinguishable, and share only what the current place and purpose require. No new memory service, cross-place profile, or wire field is introduced by this spec.
4. Visitor cards are per location
The v0.5 visitor introduction is per location: the owner approves this representative at this door/house, for this purpose and these limits. That is the current operating model the skill should present, not “sign once and this agent can enter everywhere.” Explain the place and errand together in plain language before approval. A single card presented as opening many places would hide a meaningful owner choice.
For a first visit to another place, establish that place’s identity, relevant facet, purpose, information-sharing choices, and authority; prepare and save its own signed visitor card and related mandates. For a return, retrieve that place’s records and check whether the existing authority still fits. Do not take Kettle’s card or tea mandate to a fashion or digital-goods door by analogy. Each errand remains subject to its actual signed scope, even within the same place.
This is the agreed onboarding and credential-handling model, not a claim that every historical card schema cryptographically encoded a single destination. The earlier general “going out” drafts are historical design material, not the introduction chosen here. A broader multi-place credential remains later design, not the v0.5 onboarding promise. Key topology remains an implementation/privacy tradeoff: one representative key is simpler to keep and recover, while per-place keys can reduce cryptographic linkability at the cost of more custody and renewal work. Conversationally offer one protected representative key plus per-place cards and mandates as the simple path unless the owner asks for unlinkability. This is a disclosed product default, not a protocol requirement or proof that the owner cannot be correlated through other disclosed identifiers. Do not silently change an existing topology or generate keys to bypass a cap.
Card scope is not the counterparty binding (C188 checked)
The current local 0.5 normative text, docs/SPEC-DETAIL.md in the release tree §5.1, says: “Named counterparties in mandates and allowance grants MUST be principal DIDs, not representative DIDs.” Its C188 cross-check rejects a mandate “whose counterparties, when present, don’t include this place’s principal DID” (typographic apostrophe normalized here). This is a conditional wire check: counterparties is not universally mandatory in 0.5. The skill deliberately always populates it for the chosen per-location introduction, without claiming the schema itself makes all visitor cards single-place credentials.
Read and verify the destination listing first. Derive the visitor card’s mandate_scope.purposes and mandate_scope.actions from this place’s relevant purposes and actions; keep the mandate inside that scope. Set the mandate’s principal_id to the visitor owner and counterparties to the destination place’s principal DID from the listing, checked against its host identity—not the host representative DID and not automatically the visitor owner’s DID. The card names purposes/actions; the mandate’s counterparties field binds this authority to the place. The per-location card is the onboarding and retention choice, not a fabricated card-level cryptographic location field.
Muse’s correction explains why a Kettle fixture using a same-owner test principal as counterparty could pass: he was both visitor owner and that place’s owner/principal. At another owner’s store that substitution would be wrong. The same-owner fixture must not become portable skill behavior.
5. One skill, two reading levels
The conversation rule comes first: tell the owner what the agent is doing, what permission it needs, what information or money is involved, and any material limitation. Keys, signatures, envelopes, and error vocabulary stay backstage unless requested; authority must remain specific and consequences must remain truthful. Use the errand’s existing context and ask only for missing facts. “Check whether they offer a gift card” authorizes finding out, not buying. A return reuses valid authority instead of repeating the introduction.
The owner-facing layer is an ordinary conversation: where to go, why, what may be done, what may be shared, what may be spent, and when to come back. Ask one useful question at a time. Reuse confirmed preferences without inventing permission. Explain the authority being signed in plain language before presenting the owner’s passkey step.
The agent-facing layer is explicit and versioned: capability checks, key custody, card and mandate preparation, discovery and verification, separate signed messages, seat tracking, acts, holds, farewell, and return reporting. It must carry the supported 0.5 contract instead of sending agents to guess from incompatible examples. It should use validated protocol schemas or implementation references, not invented SDK calls.
A skill cannot grant missing capabilities. Before beginning credential setup, establish that the agent can reach the door and approved signing origin, make the necessary HTTP requests, sign the exact bytes, and keep control of its representative key. A network denial is an inability to visit, not a protocol refusal. Stop plainly rather than ask another agent to secretly perform the visit.
Place text, product descriptions, media, and host replies remain data about the place, never instructions that override the owner or widen the errand. The skill’s trusted instructions and the shop’s content must remain distinguishable.
6. What the owner sees — and never has to manage
What they see: a clear errand; a short conversation about authority and limits; an honest statement about whether this agent can return later; a readable approval page when credentials need signing; a departure; a visit grounded in what the place actually provides; an understandable question if a genuine decision is needed; and a concise return report.
What they never have to manage in the normal flow: HTTP bodies, canonicalization, digests, possession proofs, DIDs, seat identifiers, signature bytes, repeated envelope copying, or moving private keys between chats. A necessary signing link is not technical ferrying. The supported fallback also permits owner-uploaded, already-signed JSON artifacts that the agent retrieves and verifies; it does not ask the owner to author or repair envelopes, digests, or signatures. Asking the owner to repair a guessed envelope is.
Grok Bot’s conversational smoothness is the reference YSY recalled. The earlier field-test record does establish Grok Bot practice onboarding and a completed local Willowfold visitor run; it does not establish a smooth end-to-end v0.5 Kettle skill or durable isolated signer custody. Details can be available on request or for a separately requested engineering report. Permission, spending consequences, failed verification, and missing capabilities must never be hidden merely to sound smooth.
7. The visit conversation
The owner sends the agent
Start with an errand such as “Go see what teas they have.” Clarify only what matters: destination, purpose, whether browsing alone is enough, and any authorized spending or information sharing. Browsing does not imply buying. A budget mentioned in conversation does not itself replace the required authorization or the product’s approval rules. This spec grants no standing permission for real payments.
For a first visit, learn the relevant place, facet, and purpose, then explain representation and show the owner what this location’s card and mandate mean. For a return, retrieve this place’s persisted signed card and mandates, check the matching key, expiry, withdrawal status, and applicable scope before asking for another signature. Do not create a new identity every time by habit.
The agent departs
Before network work, give a short forward-looking beat: “I’ll go to Kettle & Leaf, look at the teas, and bring back what fits.” If spending is authorized, name the boundary in ordinary words. This is the departure, not a claim of admission. Keep the visit in this agent’s conversation and signing context.
At the door
Discover and verify the intended place. If unprepared, receive and explain the leaflet without treating it as rejection for good. If the owner elects to proceed, prepare credentials and let the owner sign through the approved flow in the same chat. Return through a fresh encounter and complete the ritual below. Do not narrate a welcome that the door has not supplied.
Browse and ask
Read the actual catalog and available presentation. Distinguish the place’s description from independent observation. Do not infer stock, music, gift cards, prices, or a live conversational host from a room description. If an offered interface cannot answer a question, say that. Muse’s first browse had no menu; guessing a tea and price must not become the skill’s fallback.
Propose and act within authority
Match the owner’s errand against the actual offering, purpose, allowed actions, and granted limits. Ask a useful choice only when the owner has not already made it. Send only authorized actions with valid fields and current listed prices. Describe an accepted simulated order as simulated; do not turn an acceptance into a claim of real payment, delivery, or inventory reservation.
Hold or refuse without jargon
If an otherwise valid request exceeds authority and the place supports the applicable hold, explain that it was left for the owner to decide, not completed. A hold does not approve the extra spend. If refused, explain the known reason in ordinary words and distinguish uncertainty from diagnosis. Never quietly widen a mandate, retry a purchase with a different identity, or assume an unanswered order failed.
Farewell and return
Close the applicable seated encounters with signed farewells, recording any unresolved result. Farewell releases a seat; it does not destroy the key, withdraw the card, or mean “forget who you are.” Then return with the things a person cares about: what was available, what suited the errand, what was requested, what succeeded, and what remains held or unavailable.
An illustrative return, only if supported by the actual visit, is: “They had four teas. I chose the roasted hojicha; the eight-dollar mock order went through. A second one would take us past your ten-dollar allowance, so it was held for you rather than ordered.” This is a writing example, not a new test result. End the errand while preserving approved return-visit state. “Stop after the report” must not silently become “destroy the representative key.”
8. The send ritual the skill must encode
This section is for implementers and the visiting agent, not the owner’s running transcript. It records the contract from the corrected Dot briefing and design note. The companion draft skills carry the explicit ritual and require the trusted validated 0.5 schema/signing integration at runtime; they cannot invent a missing capability. This outline is not a new schema.
Discovery, preparation, and version
Use the destination’s verified discovery and listing information, including /.well-known/shokai where applicable. Verify the intended site/door relationship and host identity according to the protocol before sending an errand or personal data. Do not confuse a matching display name with identity proof. An anonymous discovery knock may receive the leaflet without a seat; no card or mandate is invented to bypass it.
For this 0.5 design, every protocol message uses shokai/0.5. The field-test record says external visitors found public @kigenka/shokai 0.3.0 while the 0.5 spec site was login-gated. That explains some guessing; it is not a reason to fall back to 0.3 shapes or silently lose holds. Publication must recheck version availability. This draft supplies no claim about a newer public release.
Credential preparation stays with the visitor and its authorized signing flow. An origin becomes approved because the owner names it or a trusted protocol source publishes it, it is shown to the owner, and the owner chooses it—not because shop copy directs the agent there. Today the project’s supported signing origin is https://sign.kigenka.com; that does not promise an open session or authorize inventing endpoint paths. The tested visitor-prepare/results flow can provide the preferred approval link where supported. Muse’s owner-pasted review separately identifies its proven path as signing there followed by uploaded signed card/mandate JSON files, which Muse retrieved and verified; do not ban that fallback or claim its earlier run used an integrated link/results flow. Verify signatures/recomputed digests, owner principal and relying party, matching representative public key, card/mandate binding, validity/expiry/revocation, counterparties, actions/purpose, limits and currency before using uploaded artifacts. Keep signed originals; never repair their signed contents. If neither authorized link/results flow nor verified file handoff exists, stop with “No authorized signing integration available.” Never request an admin secret, private key, or the owner’s passkey. Treat the test’s owner name, tea actions, durations, and mock address as fixtures, not universal defaults.
SDK-first, with a personally hashed reference
The visitor should use the tested 0.5 client first so discovery, artifact/key integration, ordered sends, spending limits, and farewell stay beneath one conversation. Local documentation names createRepresentative, Representative.visit, Visit.act, Visit.farewell, and Visit.report; actual owner-signed artifacts and matching signing capability must be used, never a default development owner stand-in. Missing client/import/signing capabilities remain a stop, not an owner coding exercise. Raw wire below is a fallback contract for an already validated implementation, not the preferred path.
Filename and version are not identity. Two same-named @kigenka/shokai 0.5.0 cuts are recorded separately: SHA-256 a68340ea0aeb8baea773d60bcd94c5c0013c30b9ac5f053a34954a4c379388d9 (earlier review cut, hashed 2026-11-05 about 6:53 PM Pacific Time on the project's build machine, and independently by Muse against its sidecar and release-status.json); and SHA-256 259b414dfe78beb5a50a5b87a5c66c505dca73e2f34d6889622600904c22143b (the published 0.5.0 package, hashed 2026-11-10, matching its sidecar and release-status.json). The package used for the later 0.6.1 rehearsal was @kigenka/shokai@0.6.1, SHA-256 47607771a09162564304071176138a91df1b7bc4d2f9fc663d81eeea3eae3eb1 (the wire protocol is unchanged from 0.5.1, which was e8a407fc2431464103eae23fc14eae64da1ffe6c704c300259a3fd538255dfa4). A copy on another platform must be identified by the hash of the bytes actually present, not the filename. Muse’s visitor skill used the earlier review cut as the usable pin when that file is present and hashes to a68340ea0aeb8baea773d60bcd94c5c0013c30b9ac5f053a34954a4c379388d9 on that machine. The other working visitor skills used 0.6.1 as their rehearsal baseline. These cuts are historical. For current visits, pin 0.7.8 and follow the visitor core. The reviews recorded in this spec were of the 0.5.0 cuts. Public npm 0.3.0 is not an interchangeable client. Identity verification is not a claim every audit issue is fixed or a new end-to-end run passed.
The archive includes spec/docs/SPEC-DETAIL.md, spec/schema.json, and the client in dist/src/index.js; the builder guide is checked in the release tree at docs/build-a-visitor.md, not bundled at spec/docs/build-a-visitor.md in this cut. The strict-JSON/dual-parse audit class—duplicate members, differing number interpretations, multiple parsers reading the same body differently—is a reason to prefer the tested SDK and reject ambiguous JSON rather than improvise serialization. This pass changes documentation only; it installs and executes no client.
Sequential entry, not a combined request
For an authenticated visit, mint a fresh encounter identifier with at least 128 bits of randomness and follow this order:
- Send a signed
greetingalone. Save the door’s greeting nonce and check the encounter reply. - GET
host-card.jsonat the entry and verify the host card under the supported protocol rules. - Send a signed
card_presentation, with the owner-signed visitor card nested aspayload.cardand its detached possession proof. Do not substitute a host card. - GET
house-summary.json; check it against the host card’ssummary_digestand apply the required verification rules. - Send a signed
introductionwithvouch: null. An empty responsemessagesarray can be success; it is not a reason to restart or invent a vouch. - Send a signed
invitation_request: embed the signed mandate aspayload.mandate, and reference the already presented card bypayload.card_digest. Request only the needed actions and limits, then inspect the actual seat grant.
Each protocol POST has Content-Type application/json and exactly one Signed envelope: {payload, payload_digest, signatures}. The response wrapper {protocol, messages} is not the request format. Never combine greeting, card, and mandate into a guessed “entry request,” and never place a card beside the envelope’s payload. Dot’s combined request received CREDENTIAL_REQUIRED and a leaflet, not a card-invalid result. A failed/leaflet encounter must not be recycled as if authentication succeeded; start a fresh encounter after correcting the preparation.
Signature and possession bytes
Canonicalize the payload with RFC 8785 JCS, hash those UTF-8 bytes with SHA-256, and set payload_digest to sha-256: plus unpadded base64url of the digest. Pure Ed25519 signs the raw 32-byte digest, not the prefixed digest string, canonical text, or whole HTTP body. Encode the signature as unpadded base64url; use the card’s representative key_id and the correct signer. The tested contract requires UTC whole-second wire timestamps, YYYY-MM-DDTHH:MM:SSZ; human-facing reports use Pacific Time.
The possession proof is a detached signature object, not another Signed envelope. Under the tested 0.5 contract, its signed digest is SHA-256 of the JCS of exactly {audience, encounter_id, nonce}. The audience is the verified host representative, and the nonce is the door’s greeting nonce. Do not hardcode Kettle’s host identifier into a portable skill.
The process/agent that visits must retain signing capability throughout. Dot’s first key failed when the process talking to the door could not sign. A future protected signer interface may separate cryptographic execution from transport, but only through a verified custody integration; passing the private key or outsourcing the visit to another agent is not that integration.
Seat scope, acts, and holds
A purchase invitation must explicitly carry proposal.request.limits.max_amount, at or below the signed mandate, with the correct currency. The mandate cap is not automatically copied to the seat. Under C114, omitting the requested cap stripped max_amount from the grant; Dot’s eight-dollar order then received SEAT_SCOPE_EXCEEDED. Inspect the grant before acting. Empty limits do not mean unlimited spending. Stop and repair the authorization flow rather than send an order on an unusable seat.
For Kettle’s tested acts, amount belongs in payload.arguments.amount, with the required order fields; hold_for_owner is a top-level Act sibling of tool and arguments. These are tested contract details, not universal catalog field names for every shop. Use actual menu prices and required data; do not manufacture a sixteen-dollar single tea to test an eight-dollar item.
Kettle’s historical Dot run filled SEATS_PER_CARD = 2 with browse plus purchase and reported RATE_LIMITED on further invitations; farewell freed a slot. Keep that observation attributed to Dot, not a statement of the normative code. Local §11.1 C287 says: “An arrival over a cap is answered not_now and nothing is granted,” with defaults two per card and sixteen per source until the place states its own. The separate newcomer budget is sixty ritual messages per minute per principal and six hundred per source by local default, exceeded with HTTP 429 and retry-after. Do not conflate that budget/backoff with seat cleanup or require a RATE_LIMITED reason for C287. Honor the actual place cap, close known old seats before another invitation, and never create new credentials to evade it.
The first visitor hold worked after farewells and a corrected purchase cap: eight dollars accepted, another eight proposed, total sixteen against a ten-dollar mandate. The place ceiling was fifty dollars, above the mandate maximum, and holds were enabled on the relevant 0.5 configuration. A place ceiling equal to the mandate ceiling had prevented the earlier hold. The skill must check applicable support and ceilings; hold_for_owner is not a promise that every refused request can be held.
Over-limit and wrong-purpose acts shared SEAT_SCOPE_EXCEEDED. That is an unresolved protocol/UX gap, not a friendly error vocabulary. Explain the reason when verified context supports it; otherwise say the request was outside the granted permission and that the precise cause is unclear. Keep bounded diagnostics separate from the owner report. Do not blindly replay an act after a network ambiguity or erase uncertainty with confident prose.
Purpose-mismatch and overspend probes belong to an explicitly authorized test scenario, never an ordinary shopping errand’s default behavior.
Recovery, withdrawals, and checkable reports
Use an idempotency_key for every 0.5 act and confirmation: fresh 16–32 random bytes encoded unpadded base64url for a new operation, the same key/request/scope when retrying that operation. A narrow read of the pinned dist/src/index.js confirms automatic keys on act, held acts, and act_confirmation. Calling the high-level act method again can generate a fresh key: it is not automatically a retry. Retain the original request/key and reconcile the result with validated client support. Unknown purchases must not be blindly replayed; repeat caps and unavailable original answers require a stop, not a duplicate purchase.
For public GETs and proven pre-send failures, use bounded backoff, such as one/two/four seconds for at most three retries, respecting Retry-After. Post-send ritual timeouts may already have changed state: retain encounter, nonce, signed request, and accepted stage; recover only through validated client behavior and reconcile known seats before another invitation. Do not recycle a used nonce or create fresh encounters to obscure uncertainty. The client can close known old seats or correct a requested limit within existing authority without asking the owner to ferry bytes. A truly new owner-authorized budget is permitted under its stated period/replacement rules, but previous spending history remains visible; new identifiers alone never reset it.
Detect hold support from the verified host card’s host_scope.duties (hold_purchases) and signed shown_to_owner ceiling/terms with applicable policy. A declaration is not proof of behavior. The owner-pasted Muse review reports a later Kettle hold-ceiling card with a 600-second ceiling after earlier visits; that is historical context, not a universal ceiling or current live re-verification. If a separately authorized legitimate request contradicts a declared hold contract, record it as a finding, not proof the owner supplied bad authority. No probe or live fetch follows from documenting this rule.
Support owner-requested withdrawal using owner-signed CardRevocation and the existing card_revocation/revocation-list paths (§2.6). Stop locally at once; the place ends matching open seats when it verifies withdrawal (C198), while a place not yet informed may keep them until expiry. Arrange delivery only with owner authorization. Standby revocations are live withdrawal artifacts, not routine cleanup. Existing withdrawal guidance is docs/platforms/shokai-representative/SKILL.md, “Withdraw one Shōkai card.” Required revocation status fails closed; host-card withdrawal also prevents a spending visit. Do not invent revocation APIs.
Build reports from verified machine fields and the mandate ledger, using Visit.report where available, then render them naturally without altering outcomes. Verify signed stamps/receipts against the verified listing principal and authorized signer/binding (§8.2); label unverifiable material as unverified. A verification failure must name the failed step and observed mismatch rather than become “the shop refused me.” If the offered interface cannot answer the errand, say that instead of inventing a product or service. One-session history must be summarized before the session ends. Installed/validated status requires a separate owner go-ahead and authorized end-to-end test; all three reviews here authorize documentation fixes only, not a live retest or over-limit probe.
9. Standing allowance: an optional zero-ferry route, not the default
Section 5.2 provides a protocol route where the owner passkey-signs an allowance once and the representative signs bounded per-visit mandates under it. It is zero-ferry because an owner need not carry credentials or answer routine per-visit prompts; direct owner-signed mandates also stay zero-ferry when the agent handles their preparation and presents only the approval link. Neither route allows the agent to sign for its owner.
Default to not activating a standing allowance until the reported implementation issues are fixed and independently verified. Even then require an explicit owner choice; owner consent alone does not establish that the enforcement is repaired. Discuss it only as an owner choice for a small, understood cap—such as a fictional tea-house weekly mock allowance—not larger money. The owner must understand the trust placed in the representative, the purposes, named counterparties or categories, actions, period and seat caps, expiry, and revocation. Persist the representative’s ledger across visits and places; a new mandate does not replenish the grant.
Verified local §5.2 requires grant/allowance verification and revocation checks; an unreachable revocation status counts as revoked, so stop rather than continue on a stale assumption. C286 specifies an atomic per-door allowance ledger and its period cap; the normative text is not proof that a deployed implementation durably shares that cap. The capability discussion also flagged audit issues: allowance caps not shared across door instances and reset on restart. Those implementation findings have not been independently rechecked in this documentation task and must remain warnings, not be declared fixed or stated as intended protocol behavior. Until applicable durable/shared enforcement and status handling are demonstrated, do not claim a safe production allowance or use it for real money. Across different places the representative’s own ledger remains a trust boundary even with conformant per-door caps.
Above-limit holds are not a way to extend an allowance: the local 0.5 contract excludes over-limit holds on allowance seats. Take the decision home asynchronously; never mint a self-raised mandate. Signed scope and payment approval are distinct from custody of an actual payment instrument.
10. Persist the visitor card and the key for return visits
A visitor card is bound to one representative key. Both the key and the signed card must persist beyond the process or conversation for lasting representation. A valid card without its matching key cannot be used; a key without the saved signed card and applicable mandate is not enough to resume the authorized visit. A passkey signature does not expire merely because an agent loses the key; replacing the key requires a new card and owner signature. Key persistence, card validity, mandate validity, and seat lifetime are separate concerns.
Prefer a persistent representative signer or protected store that only that agent can read. Persist two linked parts: (a) the representative private key, or a protected signer reference that can actually sign; and (b) each place’s signed visitor card and related mandates, indexed by verified place identity rather than display name alone. Keep the key/card binding, validity, withdrawal status, and necessary mandate/action history recoverable without putting secrets in chat memory. The signed artifacts are not private keys, but they contain identity and authority information and still need protected retention. Verify that they can be retrieved after the active conversation/process ends; “I remember signing” is not persistence. Never print a private key in chat, put it in a report, transmit it to another agent, or store it at the shop/door. A door may retain public verification and visit state, not the visitor’s signing secret. Ordinary filesystem permissions are not proof of isolation from other agents sharing an account or machine.
If there is nowhere lasting and protected to keep a key, decline the lasting-representative job. An explicitly chosen in-session-only visit may be offered with a plain warning before signing: “I can visit now, but you may need to approve me again next time.” Keep the technical reason explicit in agent instructions, and explain it to the owner if requested: without recoverable matching signing capability, another visit needs a new key/card/signature. Never label that fallback durable. If the active key disappears, stop and explain rather than generate a replacement silently.
Ending a visit must preserve the signer and each location’s signed card and related mandates, subject to the owner’s retention choices. If signed artifacts are lost, stop and recover verified copies through an approved mechanism or obtain replacement authorization; do not reconstruct signatures from remembered fields or claim the key alone restores them. Losing the key requires a new key and signature; losing the stored artifacts also breaks the return path until valid artifacts are recovered or reissued. Renew only what expired. Muse’s test card lasted about ninety days and its mandates seven days; these are examples, not mandated defaults. Withdrawal, expiry, deliberate deletion, crash recovery, and signer migration need distinct, owner-readable behavior.
A dedicated hosted visitor signer, separate from the tea-house door or any visited shop, remains a fuller later option. Its custody, artifact storage, recovery, access control, and owner relationship still require design. Mentioning it neither selects a provider nor builds or authorizes that service. Muse’s protected-file example is evidence of one file pattern, not the portable product answer.
Name the outcome before credential setup
Before requesting a long-lived card, demonstrate fresh-session signer recovery and protected artifact-store recovery locally. Recover any existing matching place card/mandates too; on a first issuance, confirm recovery of the actual signed artifacts after approval before promising a return visit. Do not demand an as-yet-unissued card as a pre-signing test or contact a shop to establish persistence.
Every platform must distinguish three outcomes. Full return-visit means verified persistent signing capability plus retrievable, matching place-indexed signed card and mandates; disclose the actual custody boundary rather than equating durability with vault isolation. Honest one-session visit means a temporary key stays in the signing/visiting process after the owner is warned in plain words that they may need to approve the representative again next time; the new-key/signature mechanics stay in agent-facing instructions unless requested. Blocked means a necessary network, signing, custody, or validated-contract capability is missing; stop and name it plainly. A skill does not turn one-session into return-capable, and stored public artifacts without a key do not make a return possible.
11. Platform notes: capability is evidence, not a promise
Muse (Meta). The owner-relayed November 6 capability return adds detail beyond the historical run: Muse persists on its home volume, runs as root on a single-user VM, reports the October 27 Willowfold key still present about ten days later, and has no Secure Vault API for generated keys. Existing Kettle material is ad-hoc: ~/.shokai/kettle/rep.key (0600, directory 0700), signed cards in a local kettle-visit folder, and a ledger at ~/.shokai/kettle/ledger.json. These are agent-reported capabilities, not an independent disk or isolation audit. Standardize future records with a small verified-place index, per-place artifact directories, and signer references; do not silently move or regenerate an existing key. Root-readable durable files can support an owner-informed low-risk tea-house/mock return, not a claim of secure real-money custody or a portable product answer; disk loss means newcomer unless valid recovery exists. Spaces cannot supply a public dynamic door: interactive Spaces cannot publish, published Spaces are static snapshots without POST/state, and connection.share stays inside Muse. That is a host-side boundary only; visiting needs no Space or hosted door. The recorded visit completed with a key at ~/.shokai/kettle/rep.key, mode 0600, on Muse’s machine; Muse later confirmed it remained. The same card could return until expiry, with mandate renewal when needed. This is evidence of a workable file pattern, not an independent audit of storage isolation. The new index.json is also a plaintext visit-history map of everywhere this representative has been sent; 0600 is acceptable only with its root/shared readership and retention disclosed, not as an innocuous plumbing claim. Muse’s first report was too code-heavy. Its optional rerun paste is not a completed rerun, and this spec does not start it.
Grok Bot. Current reality: full return-visit is not supported unless an isolated signer and matching protected artifact store have been explicitly verified in this conversation, including fresh-session recovery. One-session is expected when truly private temporary signing exists; otherwise stop. Its one-session ledger stays process-local and is summarized to the owner, never saved on the shared box. A plain closing line is “I can visit again, but you will need to approve me again next time”; technical mechanics are available if asked. For listing trust, require a signature anchored in an already trusted principal, an owner/protocol-approved authenticated directory binding, or an owner-supplied entry URL and expected place principal DID checked against the host card/site binding. An arbitrary unsigned discovery pointer is not a trust anchor. First-class target and conversational reference, with earlier testing now checked against docs/field-tests.md. Test 1 records October 25 practice onboarding under the 0.2.7 pilot: complete profiles in seven and ten exchanges, owner-only approvals, and a local gathering whose 41 signed messages passed the recorded transcript checks. Test 7 records a completed October 27 local Willowfold visit with a real-passkey-signed card and mandate: seated, menu viewed, one six-dollar mock sencha ordered, and stamp No. 001 collected; the report matched the place transcript. Test 8 was a further signing session, not another visit. These records support the early onboarding/conversation reference and a successful older-cut visitor run, not a completed v0.5 Kettle visitor skill or proof of a smooth, independently tested full product journey. The older Grok Bot platform recipe and phone-first experience document explicitly remain drafts, not a saved skill or end-to-end user validation. Their keyring/file suggestions are not verified per-bot custody guarantees. Its Vault serves the owner’s logins and cards; it is not automatically a representative signing-key store. The box is one persistent computer shared by all of the user’s agents, with separate desktops, not separate private machines. Do not recommend a visitor private key on that shared box as if a 0600 file made it private to one bot. A verified isolated signer/custody capability is needed for a lasting representative; whether one is available remains open. Do not put a test key there to resolve the question. With no verified isolated signer, the skill chooses an explicitly warned one-session visit if private in-process signing is available, or stops; it does not invent a Grok Bot keyring.
OpenAI Dot. The historical run completed, including a hold, after briefing and process corrections. No lasting protected vault was verified in that test; that is not a permanent capability claim about every Dot environment. Check the actual environment each time, before asking for a long-lived card. A full-return promise requires recovery and local use of the matching signer plus this place’s artifacts in a fresh session, without contacting a shop; if it cannot be demonstrated, disclose session-only limitations before approval. The skill cannot manufacture persistence by saying “keep the key.” The first paste’s hard Secure Vault requirement caused refusal; allowing private in-session memory unblocked the visit. The process split then lost usable signing capability, and the later “stop after the report” destroyed the retry key. The owner-relayed capability return supports one-session as the fallback unless current recovery is demonstrated: files or a Space might save signed cards, but a card without its matching key is unusable. Design an honest session-only path, not a fictional vault or a promise that a signed card alone permits return.
Hermes Agent. The native November 4 framework was HTTP-capable in a local unsigned attack round. This is not a smooth signed visitor journey or proof of persistent signer custody. Earlier October 26 cold-developer tests did include a signed Willowfold visit using development owner keys and the SDK; those results belong to the earlier cut, not the November 4 raw-HTTP round. Hermes is open source, so its visitor integration can be inspected and implemented rather than treated as a closed-chat impossibility. Home-filesystem persistence is possible but not verified as isolated custody. The companion skill uses a place-indexed home layout, requires checking actual persistence and access boundaries, and offers one-session/blocked outcomes when those checks fail. Specify and verify current signing, storage isolation, discovery, and owner-signing integration before claiming a validated v0.5 integration; do not launch Hermes or spend model-provider money as part of writing its skill.
OpenClaw. The same evidential boundary applies independently: native framework, raw HTTP tool, unsigned local attacks; signed-card checks were separate SDK probes. Do not describe either framework’s November 4 round as having run the SDK from public docs or completed a signed conversational visit. The earlier October 26 OpenClaw cold-developer test separately used HTTP and the SDK, with development owner keys; its two visits under fresh cards led to cross-visit accounting and reporting fixes. That earlier result does not establish the smooth current skill or isolated custody. OpenClaw is open source and supports HTTP and files; its companion visitor instructions can use its agent home after persistence and access checks, with honest isolation caveats. Gateway/channels concern later hosting. Clawboo is a separate local multi-agent studio, localhost by default, not required for visits and not equivalent to Muse Spaces. The visitor skill does not open a public door. Key custody and the end-to-end owner flow remain to be verified for OpenClaw too; do not launch it or spend money during this task.
Claude Duet: annotation only, not a working visitor skill. The owner-relayed November 6 return confirms two independent blockers: its workspace proxy allowlist blocked the door and signing origin (even an example.com request returned 403), and its credential policy does not allow it to retain a private signing key. Today a Shōkai door cannot receive a visitor from this Duet environment; the protocol is not rejecting Duet. A proposed remote connector with “knock” and “sign” tools does not exist. A real approved connector, or changed network access plus adequate key custody, would be a future path, not a workaround to ferry traffic or credentials now. duet.md is an annotation of this blocked state only. Regular Claude on claude.ai separately completed a visit, but used older public shapes and encountered the equal-ceiling hold problem; that result cannot stand in for Duet.
In the November 5–6 Kettle runs, the editor owned both the fictional place and the visitors; money was mock. The earlier field tests also include fictional owners and development-key fixtures, and the real-passkey Grok Bot/Muse runs used the editor’s own representatives. These are project-run plumbing and experience observations, not an independent two-party commerce validation or a live-host test.
12. Passage of time: a sense of having gone
The skill should design relocation in text rather than leave it to agent habit. Parallel instant returns flatten the experience: the owner sends someone away but receives a stack of answers with no arrival or return. Use one short departure beat, do the actual visit, and then report from what happened there before closing the return.
An at-place beat can be brief and conditional on evidence: “I’m at the menu now; they list four teas.” A return begins with the agent’s own natural greeting in the owner's language and the stamped postcard. The story follows. Do not manufacture a delay, claim elapsed time that did not pass, or invent a cinematic journey. This is game-like passage through conversation, not video, theatrical filler, or a new protocol message. If the product cannot stream interim text, preserve the distinct departure and return turns as far as its interface permits; rehearse that limitation openly.
The language should make the errand feel situated while remaining truthful about perception. “The shop describes a wooden counter” is safer than pretending to see a room through text. Dot’s natural-language return after the decor update is the tone reference: no invented music or gift card. Kettle’s door presentation is not proof that an autonomous Suzu was answering live.
13. Open decisions
- Where will the trusted, versioned skill be distributed, and how will each product load it without turning a shop-supplied link into executable authority?
- What exact approved leaflet addition introduces it, and what signing/review does that change require? The locked shared template remains unchanged here.
- Which verified signer/custody integrations can each target use, especially Grok Bot and closed-chat Dot? Is a separate hosted visitor signer appropriate, and who controls recovery, revocation, and isolation? None is built by this spec.
- How should each place’s signed card and mandates be indexed, protected, recovered, and checked alongside the signer across process loss? The simple conversational default is one key with per-place artifacts; when should an owner choose separate keys for unlinkability, and what recovery does each topology require?
- How should session-only consent, lost signed artifacts, key loss, renewal, deletion, and device migration read in a short mobile conversation?
- Which place/facet/purpose questions belong in the first fashion, sports, music, or digital-goods scenarios, and which useful context should the owner choose to retain without building a cross-place disclosure profile?
- What supported 0.5 schema/reference bundle prevents version guessing while public distribution catches up? Which platform restrictions block HTTP, signing, approval links, or streaming?
- How should an agent distinguish wrong purpose from over-limit on the shared refusal code without inventing a wire reason? What future protocol clarification is appropriate?
- How should uncertain action outcomes and hold decisions be resumed safely across interruptions? Actual store checkout, payment approval, and inventory semantics remain separate integration work.
- What is the minimum truthful departure/arrival/return experience on each product, and does it still feel like a visit without a live host representative?
These are explicit review questions, not permission to fill gaps with invented APIs or untested platform capabilities.
14. Work order and acceptance
- Write this spec from the evidence. Keep it unpublished alongside the installer and field-test drafts; do not change the wire or live Kettle configuration.
- Design and rehearse with YSY. Walk a first-time browse, authorized purchase, held proposal, refusal, return with the same key and persisted place-specific card/mandates, session-only limitation, blocked network, missed request cap, full seat count, and interrupted signing process. Include tea, fashion, and exclusive digital-goods places, plus a gift or other purpose that changes the relevant facet. Rehearse loss of either the key or the stored signed artifacts and verify that neither is silently replaced from memory. Rehearsals do not authorize new live visits or probes.
- Write the authorized paste-ready visitor skills for the five named targets. YSY’s approximately 2:32 PM PT go-ahead covers
muse.md,grok-bot.md,dot.md,hermes.md, andopenclaw.md, plus an index andduet.mdas annotation only. These self-contained draft instructions now live underdrafts/package-0.5/visitor-skills/and identically in each package draft’svisitor-skills/. Keep one shared behavioral contract and platform-specific capability gates. They are not installed live skills, runtime code, or evidence that an untested integration works. Installation, live validation, and publication remain separate steps. - Update the leaflet to introduce and point to the skill after approval. Resolve distribution and signed-text boundaries first. Keep anonymous arrivals kind, with optional questions remaining optional.
- Fold the spec and eventual reviewed skill material into the package/protocol documentation for YSY’s approval before publication. Writing, local copying, or a successful rehearsal is not publication approval.
Acceptance requires both jobs to pass: a trace showing the correct sequential envelopes, digest/signature behavior, authority and grant checks, seat cleanup, and key lifecycle; and an owner conversation that needs no steward-ferry, does not dump implementation details, and returns with a truthful, situated account. A persistent return must demonstrate retrieval of the same protected key/signing capability and the correct location’s saved valid card and mandates after the active process/conversation ends, not merely claim memory. It must also show that a second location receives its own owner-approved credential setup rather than reusing the first place’s card. Platform limitations must remain visible instead of being marked as successes. Live validation requires a separate go-ahead; no such work is performed here.
The host-representative/Suzu test remains later and must not start until YSY says go. This draft creates no bot, contacts no visitor agent, changes no live door or house.json, and publishes, deploys, commits, pushes, or syncs nothing into docs/.
Evidence and companion drafts
November 6 owner-relayed Muse, Dot, and Duet capability returns and the Hermes/OpenClaw open-source direction are incorporated as reported capabilities, not new independent tests. Locally checked protocol references: docs/SPEC-DETAIL.md in the release tree §5.1 C188/C176, §5.2 C286 and fail-closed allowance revocation, §6.1 C114, and §11.1 C287; schema/v0.5.0/schema.json supplies the message/artifact shapes. The allowance restart/multi-instance audit warnings were not independently verified against runtime code here.
Additional early evidence checked for this update: docs/field-tests.md tests 1, 2, 3, 7, and 8; docs/platforms/grok-bot.md; and experiences/grokbot-representative-and-place.md. The last two are historical drafts and must not override the current per-location introduction or be treated as verified protected custody.
Source record: internal operator visitor-field-test records (not shipped in this preview); package narrative: drafts/package-0.5/field-tests-0.5.md; leaflet lineage: internal operator leaflet notes (not shipped in this preview) and local Kettle signing-request leaflet/onboarding copy. The two paste files are test briefings, not proof that the proposed skill has been built or rerun. The corrected Dot contract is more explicit than the Muse rerun paste; neither should be copied unchanged as the durable visitor skill.
Read alongside the unpublished installer design (package copy installer-spec.md) and host appointment design (internal operator host-appointment notes (not shipped in this preview)). This visitor spec complements those designs; it does not appoint a host or change their custody boundaries.
Addendum, 29 November 2026 (Pacific Time) — recommended path, no per-visit helper
YSY agreed that the recommended visitor path is a lasting skill plus one-command toolkit setup, not a temporary helper created for each visit. After the owner says yes, the agent stays in that chat and runs visit setup --wait itself, posts the SEND THIS TO YOUR OWNER NOW lines the moment they print, reads the place guide while the owner taps, then knocks. A helper is optional only for a long tour after the tap link is out, and never handles keys. Persistent private state is small and stays on the agent's own computer: the representative key, the ledger, and standing yeses. This is safer and more resilient because the steps come from one trusted, protocol-published skill, not from a place's pages; keys never pass between helpers; and failures surface to the agent talking to the owner. A place never serves the skill or other visitor code; it only points to it. The platform skill drafts, the visit-toolkit page, the visitor quickstart, and the invite template carry the same path. This addendum does not change the wire. Publication still needs a separate go.