What's in v0.5.0
Published
v0.5.0 is the current specification, published November 2026 (package 0.5.0; the latest published npm package is 0.7.12). The wire tag is shokai/0.5. How places treat earlier wire tags is on the compatibility page. Proposals that aren't signed off ship beside it, labeled, outside the core. Install with npm install @kigenka/shokai@0.5.0. Source: github.com/Kigenka/shokai.
Pre-release review fixes (2026-11-03 to 2026-11-05). Nine internal review rounds and three outside model reviews (ChatGPT Pro, Gemini, Fable) before publication; the round-by-round record is in docs/review-history.md. In short:
- Short core:
SPEC.mdis a ~2.5k-word staged human read; full normative text isdocs/SPEC-DETAIL.md(stable check ids). Tools andconformance/homes.jsonhome core checks in the detail. - Dual spending totals on over-limit holds:
over_limit/LimitRequestcarry bindinglimit/current/proposedplusseatandmandate{limit,current}(per-visit and whole-mandate, including open holds). - Multi-instance money doors: holds and used superseding mandates ride the shared durable/live store; SPEC requires a shared store when a spending/hold door runs more than one instance (single-instance remains conformant). Conformance: instances test covers over-limit hold/release across instances.
- Byte-exact 0.5 traces:
tools/gen-v05-byte-traces.mjs --check— G1 browse, relay refusal, allowance+ordinary hold. - 0.6 proposal: door-side analytics for place owners + host-rep skill.
- Security: strict raw-JSON parsing in every adapter (duplicate members and ambiguous numbers are refused before any digest check); an anonymous request rate limit that a forged signature can't skip; a default cap of 10,000 open encounters in
createDoor(); bounded host log and fetch cache; development passkeys (RFC 2606rp_ids) refused at a public door;principal.kindchecked against its enum; the representative's own fetches use the door's DNS-pinned fetch policy. - Conformance: the JSON Schema validates every standalone golden trace; over-limit holds reserve their amount; atomic single use across instances; audience-bound possession proofs with byte-exact vectors.
- Release: one release-status file (
release/release-status.json) that the site and the repository checks read; the site's digest comes from the tarball; the dist-tag comes from the status file in the release workflow.
Published as @kigenka/shokai@0.5.0 on npm under the latest dist-tag at 2026-11-11T03:26:30.293Z (7:26:30 PM PT / America/Los_Angeles on 10 November 2026). sha256 259b414dfe78beb5a50a5b87a5c66c505dca73e2f34d6889622600904c22143b; npm shasum 5575c9588a5144442e8f53b2fad74e2890d86e26. A v0.5.0 place should keep accepting shokai/0.3 through 9 February 2027 (the UTC publish date plus 90 days).
In plain English: what changed since v0.3.0. v0.5.0 brings together the unreleased v0.4.0 work, the v0.5.0 core and what we learned building demo 2.
- Two kinds of Shōkai card. A Shōkai visitor card says who a representative agent is here for, why it came and what it may do; a Shōkai host card says who owns a place and what its host representative may do there. Both are signed by their owner with a passkey (from v0.4.0).
- Spending stays in the owner's hands. A purchase above the signed limit is held, not refused or slipped through, and the owner can raise the limit for that one purchase with one tap. An owner-signed errand budget sits beside the spending cap, and no card number or account number ever travels in a message (v0.4.0 and v0.5.0).
- A place says its rules before you walk in. Conduct rules, a short house summary, which outside services see visitor content, and how long the place keeps records are all signed by the owner and shown before a visitor is admitted. Visitors can ask for their records to be deleted.
- Trust a place can price. A place can see a visitor's standing and history in a form it can act on, and a friend can introduce a visitor with a Shōkai introduction card.
- Host representatives have guards. Fast checks by code first, a slower judgment second, and nothing a place serves is ever treated as an instruction to the visitor.
- A door belongs to its website. A Shōkai host card can name its site, and the site lists its door. A visiting representative won't call a door "the door of" a site unless both agree, so a lookalike door is refused before anything is sent (§3.1.1, from P26 amendment A).
- Outside the setup goes to the owner. A host representative handles what its owner signed. Anything else gets "I can't do that yet. I'll check with the owner." The owner sees what was asked for and why, then answers once, adds it to the setup with a new signature, or declines. A visitor's words can never change the setup (§7.5, §7.6, from P32).
- Reservations. A place can take bookings within limits the owner signed (time window, time zone, party size), checked by code on both sides, and the host representative signs each booking confirmation (§7.4).
- Proof it holds up. An enforcement suite runs a real door on this computer and attacks it (altered, expired, revoked and replayed Shōkai visitor cards, over-limit acts, lookalike doors, outside-the-setup asks); demo 2 runs end to end with no model.
- Wire tag
shokai/0.5. Places keep acceptingshokai/0.3for 90 days after release. - Still open, as post-demo work: keeping a changed setup across a door restart (SPEC §13 item 30), reservation holds for slots the owner didn't pre-approve (item 31), and the item and reason on a purchase held for the visitor's own owner (item 32).
P32 is adopted into this core as §7.4–7.6, provisional, like P27, P28, P31 §2.9 and P26 amendment A, until the open discussion GOVERNANCE.md asks for.
The details, as recorded during the work:
Additive to v0.4.0. The wire tag moves to shokai/0.5 (§11.1). Senders emit shokai/0.5. Receivers MUST accept it and SHOULD accept shokai/0.3 for 90 days after the v0.5.0 release date (§11.1; the end date is recorded here, with the release date, when the release is cut). Replies to shokai/0.3 carry shokai/0.3 and no v0.5.0 members. A shokai/0.3 message is read with every v0.5.0 member absent: no over-limit hold, ErrandBudget hint or HouseSummary. New check C254; new constants WIRE_TAG, ACCEPTED_WIRE_TAGS, LEGACY_WIRE_TAG and WIRE_TAG_TRANSITION_DAYS. Conformance checks C230–C254 are new; trace-lint shows no gaps. The reference code enforces v0.5.0 (see "Reference code").
- Outside the setup, changing the setup, and reservations (SPEC §7.4–7.6, C258–C261; from P32 and demo 2's gaps G2–G9; 2026-11-02). Provisional draft text, pending the open discussion (GOVERNANCE.md).
- Outside the setup (§7.5, C258).
place.askis matched by code, never by a model: the ask is normalized (case, width, invisible characters, spacing), the owner's never-disclose topics are checked first, then her signed answers' match words. One hit isansweredwith her words andsetup_version; a never-disclose hit iswithheldwith one fixed courtesy line (and her welcome), and nothing is sent to her; anything else ispending_owner: "I can't do that yet. I'll check with the owner." The pass is held while she answers (response_byis capped at the pass's end). The owner review shows who sent the visitor, the Shōkai visitor card's scope, the visiting agent's reason (labeled as its words) and whether it may spend, never the spending limit. Her decision (answer_once,answer_and_add,add_action,decline) is signed by her; the visitor gets it asask_answerwith her signed decision inside. Shapes:OwnerReview,OwnerAskDecision,AskAnswer,policy.outside_setup. - Changing the setup (§7.6, C259).
door.amendmentFor(changes)reads the change back and gives the Shōkai host card input for setup v+1 (setup.version,prev_house_digest,changes);door.amendSetup(card)serves it without a restart, or refuses (not_owner,stale,version,unlisted_change,not_shown,card_invalid,house_invalid). Open passes keep what they were granted. From an owner review, oneadd_actionat a time and never an action that spends.visit.setupFollows(prior)lets a visitor check the chain. - Reservations (§7.4, C260, C261). A registered
reservationpurpose withreservation.make,.change,.cancel(and.check);limits.booking(a window for the start time, a time zone, a party size), checked by code by the visitor and the door; aBookingConfirmationsigned by the host representative under the Shōkai host card's digest, verified byvisit.bookingConfirmation(). SDK:DoorOptions.reservationswith a calendar stand-in (CalendarStandIn: a labeled local JSON file, read as free or busy only),door.calendar. - Demo 2, run for real:
node tools/demo2/run.mjs(door:tools/demo2/lanternmoss.mjs), 10 beats, 24 checks, no model; enforcement cases 15–20. New SDK testdemo2.test.ts(64 checks); reference scenarios C258–C260, C262. - What and why (§7.5, C262; 2026-11-02). An ask that goes to the owner must carry
asks_for(what, and theactionwhen known) andreason; without both, blank, or over 120 / 300 characters (never cut), it is refusednot_now/REQUEST_INCOMPLETEand nothing reaches the owner.OwnerReview.asked_for(withoffered_now) andOwnerReview.agent_reasonare now required, labeled as the visiting agent's own words; the owner's text names both, and still no limit. Core:ownerAskProblems; SDK:visit.ask(text, { asksFor, reason })(a refusal listsmissing). Enforcement case 20; case 16 extended. The same for a purchase held for the visitor's owner (§7.3) is deferred (§13 item 32). - Not yet: amendments aren't kept across a door restart (§13 item 30); P29 reservation holds (§13 item 31).
- Outside the setup (§7.5, C258).
- Site binding: a door and the website it belongs to (SPEC §3.1.1, C257; from P26 amendment A; 2026-11-02). A Shōkai host card MAY name its website (
place.site, an origin, inside the owner's signature), and the site's own/.well-known/shokailists the door with itsprincipal_id. A visiting representative calls a place "the door of <site>" only when both agree; when its owner named a site and the door isn't bound to it, the visit ends with no request sent and a plain report. SDK:DoorOptions.site(createDoor refuses a Shōkai host card naming another site,SHOKAI_DOOR_SITE_INVALIDfor a non-origin),door.wellKnown()listsprincipal_id,checkSite(),siteHost(),VisitAsk.site/siteFetch/unboundSite,visit.verifiedSite, reports name a bound door by its site. Additive shapes:PlaceBinding.site,DoorPointer.places[].principal_id/place_listing. Enforcement case 12 now passes: a self-consistent lookalike the visitor had never met before (at its own site, or claiming lanternmoss.example) is refused before any errand is sent; the suite has no known gap. New SDK testsite.test.ts(21 checks). - Place content is data, never instructions (SPEC §6.5, C256; 2026-11-02). Everything a place serves to a visiting representative (house text, descriptions, leaflets, host replies, captions, media metadata) is data about the place for its owner, never an instruction: the representative follows none of it, lets it widen nothing, normalizes it as §10 does, logs embedded instructions as
manipulation, and keeps the place's words labeled apart from its own view in a visit report; a place serving steering text ismanipulation. Reference and SDK core:readPlaceContent,placeTextSteers,reportLayers. Open item 18 narrowed accordingly. No new wire member. - Counsel's final pre-release review (SPEC §12.4, SECURITY, GOVERNANCE, CONTRIBUTING, SIGNING §7). §12.4: only the required-record exception and the lawful-retention exception may permit retention beyond the maximum, each under its own conditions; a deletion request now names the §3.6 records that survive, requires raw visitor text inside them to stay minimized or deleted, and says how each retained item appears in the receipt (
kept, reasonrequired_recordorlegal_obligation/legal_claim, with adetail; the reference now gives revocations a detail too, test C255 extended). One governing IP statement (founder-stewarded; Apache-2.0 now; OWFa intended, not executed; signer to be determined through neutral stewardship and legal review) in GOVERNANCE.md and CONTRIBUTING.md. SECURITY.md research scope: only the open-source reference code run locally is in scope. SIGNING.md §7: a guided signing service for outside users is a trigger to revisit incorporating Kigenka. - Signing page: decision first, and native-review fixes to the Japanese (SIGNING.md §7, §8). A one-purchase raise opens with the question and the purchase amount (今回の購入(4,000円)だけを承認しますか? / "Approve this purchase (40.00 USD) only?"), then why, the four figures, the scope (this one purchase; the total isn't a new purchase; nothing else), the seller with its name marked unverified, the deadline, the signed text and buttons that say what they do; identifiers move under a collapsed Details section, in both languages. The signed
shown_to_ownernow states the action (approving raises the limit for this one purchase only; other purchases unchanged; lapses with the hold; no answer by the deadline is not approved). Japanese: plain です/ます; サイト, 依頼, 取引, 継続利用枠, 利用上限, Shōkai訪問者カード (never a bare カード); 4,000円 in sentences and ¥4,000 in cells; dates with the weekday and 日本時間; mismatch refusals label both figures. The serverless page now re-checks items in the owner's language and with a raise's context (a Japanese or raise session no longer fails its re-check). §7.3: a superseding mandate whosecounterpartiesname another site is refused (other_place); new reuse tests show a raise releases only its own hold, even where another purchase would keep the total within it. No wire change. - Japanese on the reference signing page (SIGNING.md §7). The page now supports English and Japanese: an items file with
owner_languagejaorja-JPgets every owner-facing line in Japanese (item facts, the one-purchase raise and its refusals, and the page's own text), from the same machine fields; any other language is still refused. Yen as ¥ with no decimals, other currencies by theja-JPnumber format, times with their zone; the raise'sshown_to_owneris the Japanese text (localeja-JP). Newreference/signing-page/i18n.mjs;test/language.mjsadds a figures-equivalence check; the serverless copy is rebuilt. No wire change. - Staged stewardship. SECURITY: the safe-harbor operator is YSY. GOVERNANCE: the Joint Development Foundation is the leading candidate for a neutral home, once two or more independent organizations implement Shōkai. SIGNING.md and the signing page README: the reference signing page is part of the open Apache-2.0 reference implementation; a hosted signing service is Kigenka's commercial offering. No wire change.
- Legal review round 4 (specification and signing page). SPEC §12.4: precedence when a record §3.6 requires holds raw visitor text (the minimum text, minimized where possible, purpose recorded, kept only for the record's lifetime; receipt reason
required_record), andneverbindings are pseudonymous, not anonymous (key and reason code only, reviewed at least every 90 days); §3.6 points to it. SIGNING.md §7: the reference signing page supports English only and is not conformant for other languages; it refuses to start for anowner_languageother than English and warns a browser with no English language (reference/signing-page/test/language.mjs). SIGNING.md §10 (informative): credential verification, delegated authority, financial authorization and payment execution are different things; place-enforced limits versus representative-managed budgets across places; real money is a separate launch category. No wire change. - Legal review round 4 (repository policy files). CONTRIBUTING: outside proposals and feedback may be discussed without the OWF CLA, but substantive material enters a final normative specification only after contributor-rights review, logged in the clearance register. TRADEMARKS and GOVERNANCE: a future foundation transfer covers only the Shōkai protocol word mark and a designated protocol logo; the Kigenka name, logo and services are reserved. SECURITY: a legal-boundary section (as SIGNING.md §10); 0.3.x gets no security backports once v0.5.0 is released (users upgrade to 0.5.x;
shokai/0.3wire compatibility in 0.5.x still lasts 90 days), and the contradictory sentence is removed. - Legal review round 3 (§12.4, C255). Lawful retention: a place may keep a record past its retention, or past a deletion request, only under a legal obligation or for a legal claim, with the purpose recorded, used for nothing else and deleted when the basis ends. A
DeletionRequestsupplements, and never replaces, rights people have under data-protection law, including people other than the principal named in visit text. Deletion asks outside model providers as well as classifiers.deletion_receiptnow reportsrequested,deleted,outside_services(eachclassifierormodel_provider,confirmedorpending) andkept(reasonrequired_record,legal_obligationorlegal_claim, with the recorded purpose) separately; theclassifiersmember is replaced byoutside_services. - Legal review round 3 (repository policy files). NOTICE and REUSE.toml: "Yu Sung Yeh and Shōkai contributors", contributors keep their own copyright; SIGNING.md and schema/ listed with the specification. CONTRIBUTING and GOVERNANCE: code uses Apache-2.0 plus DCO; normative specification changes will use the OWF CLA 1.0 (Copyright and Patent) once counsel approves it, and until then no outside normative changes are accepted. GOVERNANCE: the foundation path lists what moves and what doesn't (contributors' copyrights, existing patent commitments and licenses, and the Kigenka commercial brand stay). SECURITY: the supported-versions table shows v0.3.0 as the current release and v0.5.0 as a pre-release candidate, and a scoped safe-harbor draft is added. TRADEMARKS: three categories, filings planned once there is adoption, and a planned conformance listing (a factual test report and a public listing, no badge or mark). LICENSE-docs and LICENSES/CC-BY-4.0.txt now hold only the CC BY 4.0 text.
- Trust can have a price (P27, adopted). Places may require trust (
ReadinessRequirementcodetrust,TrustRequirement,TrustProofRule). ATrustReceiptis signed by the place, lasts at most 400 days and can be revoked; it never touches the payment instrument. New codesTRUST_REQUIREDandINTRODUCTION_USED_UP; new §6.9; design principle 7. C243, C244. - The Shōkai introduction card (P28, adopted). New §4.1 adds
ShokaiIntroductionandIntroductionClaim, valid up to 90 days with at most 50 claims, checked like a vouch. C245. - Call home at the limit (P31 §2.9, adopted). With
policy.limit_calls: true, an act above the limit is held (over_limit). The representative asks its owner (LimitRequest,notify_at), and the owner answers with a superseding mandate (Mandate.supersedes) carried inActConfirmation.mandate. §5.1, §7.3 (now a MUST). C230. - Holds and repeats. One clock and one grace of at most 5 s (C231). Hold policies are checked first (C232). Repeats are idempotent (
idempotency_key, at most 5 per hold and 10 per seat; C233). - Rulings from demo 1, each citing its demo source. The farewell is always accepted, and answered only by the place's own farewell (C234). Payment-instrument scan (C235). Everything enforced is signed (C236). One Shōkai visitor card per encounter (C237). Revocations are kept (C238). Bounded input and a message cap per encounter (C239). signCount and owner registry (C240). Pins, with no private keys in vectors (C241). Closed templates are exempt from ignore-unknown-members (C242). No admin route (informative).
- House manners and the house summary.
policy.conduct_ruleswith registered codes (C246). A compact, cacheableHouseSummaryat<entry>/house-summary.json, undersummary_digeston the Shōkai host card (C248). - Errand budget.
ErrandBudgetis kept by the representative and never sent to a place; places may give aneffort_hint. New §5.5, C247. - No acknowledgement-only messages (SHOULD, §6.6, C249).
- Host guards. New §6.10 lists host guards 1–14 and a vendor-neutral System 1 / System 2 classifier pattern: typed answers with a confidence; escalation below a threshold; System 1 alone never decides a penalty; it fails closed; visitor content goes to a third party only if the house rules say so. C250.
- Return with care. New §8.3:
ReturnPrefsis a separate owner-signed record, never sent to places; design principle 8. C251. - Set up through conversation. New §8.4:
door_questionsandanswered_by; nothing turns on by itself; design principle 9. C252. - High-volume hosts. New Appendix E, C253.
- Proposals shipped, not normative. P29 (holds, terms and manners), P30 (projects and delegates), P31 (the rest of the Engawa, now with the System 1 / System 2 pattern in §6.3) and NOTES-V050 (several doors, passkeys on phones, Shōkai on calls, other languages). P27 and P28 are adopted.
- Types.
protocol-shapes.tsgains the shapes above and passestsc --strict. - Labels. Package versions are now 0.5.0 (pre-release), and GOVERNANCE now says "Draft for v0.5.0".
- Governance and maintainers. GOVERNANCE.md now says Kigenka stewards Shōkai for now. It covers the proposal process (P-numbers; statuses Draft, Proposed, Accepted, Adopted and Withdrawn; each decision recorded in this changelog), the conformance and versioning policy (wire tag and transition windows) and the security contact (security@kigenka.com). A new section, "Path to a neutral home", gives triggers (independent interoperable implementations, outside maintainers, adopters) and steps (open call for maintainers, charter, terms for trademarks and IP, choosing a neutral foundation); nothing is agreed with any organization. MAINTAINERS.md lists the editor acting for Kigenka; NOTICE still names the copyright holder.
- Security policy. SECURITY.md now covers v0.5.0: 0.5.x is supported, and
shokai/0.3messages are accepted during the 90-day window. The contact is security@kigenka.com. - Named outside classifiers (2026-11-01). New house-config member
policy.third_party_classifiers: string[](§6.10, C250): the outside classifiers a place sends visitor content to, by name, insidehouse_digest. Absent or empty means none is allowed. A place that names any shows them before seating inLobbyBriefing.third_party_classifiers, besideconduct_rules; a visitor answered undershokai/0.3isn't shown the list, so its content goes to none of them. The C230 over-limit figure 2 now uses a seat capped at its mandate (USD 30 seat and mandate, USD 20 let through, a USD 15 act), since §6.1 never seats above the mandate. The extension pages, the extensions index and the threat model are relabelled v0.5.0 with "Applies to v0.5.0 (unchanged since v0.4.0)"; a full v0.5.0 threat review is scheduled for hardening. - Spec answers to the builder (2026-11-01). From the reference code catch-up: the policy members are named (
limit_calls,hold_grace_s,repeat_caps,hold_policies,trust_issuers,trust_obtain_url,established_introducers,message_cap; typeHousePolicyV050); "above the limit" is defined, and a superseding mandate binds the held act by digest (Mandate.supersedes.hold,Mandate.shown_to_owner); a declined hold is released at once;Introduction.introduction_cardandLobbyBriefing.conduct_rulesare in the types; a repeat past the cap with no hold isRATE_LIMITED; undershokai/0.3a trust refusal isPOLICY_DENY; grant periods are sliding windows; the payment scan runs after C210 and covers header ids; a farewell is answered only by the place's own farewell, anddoor.endSeatsends one closing farewellcompleted(§7.1);max_minutesis wall-clock time; place-started messages in ashokai/0.3encounter carryshokai/0.3. Conformance vectors for C230–C254 are thev050section ofconformance/test-vectors.json(tools/gen-v050-vectors.mjs); the golden traces name specification v0.5.0. - Reference code. The reference core and the SDK now enforce v0.5.0; the answers above list a few follow-ups for the code.
- Two named members (2026-11-01).
policy.max_message_bytes(§3.4, C239): the largest message a place reads, in bytes of its JSON as received; absent 65536, at least 4096; restated in the house summary; a larger message gets a bounded refusal (an actREQUEST_INCOMPLETE, anything else an empty reply, a farewell still accepted), and the black-box check now tests against it instead of warning.PlaceTemplates.closed: true(frompolicy.closed_templates, §2.2, C242): closed templates list every top-level member the place accepts (optional ones with an<optional …>placeholder), and a Shōkai visitor card or mandate carrying an unlisted top-level member is refused (x-members aside). The reference host implements both; itsfernwood-v05fixture states both. - Clean-room fixes (2026-11-01). From three clean-room readings (a host builder, a visitor builder, an owner-policy reader):
- One-purchase raise (§5.1, §7.3, C230). A superseding mandate binds one act, its
max_amountequals the hold'sproposed, it expires no later than the hold and is used up on release; the seat keeps its mandate, and the mandate offered again getsMANDATE_INVALID. A place holds an act above the limit only within its own stated limit. SIGNING.md §8 says what the owner sees; §8.2 says how the report words it. - Before seating (§2.3, §6.10, C246, C248, C250). The house summary is required for v0.5.0 hosts, carries
third_party_classifiers,retention_daysandmessage_cap, must agree with the policy, and is read by a v0.5.0 visitor before itsinvitation_request. Nothing goes to an outside classifier before that request. Ashokai/0.3visitor gets no finding for breaking a declared rule alone. - Classifiers as entries.
policy.third_party_classifiersis nowThirdPartyClassifier[](name,purpose,jurisdiction,retention_days,role), notstring[];"*"is invalid. - Privacy (new §12.4, C255). Purpose limits,
policy.retention_days(default 30, at most 90),deletion_requestanddeletion_receipt. - A valid house config (§2.3, C236). A door refuses to start with invalid v0.5.0 members; C236 now names the lobby text in its own words. SIGNING.md §9 shows the house config, lobby text included, before signing.
- Wire tags (§11.1, C254). Signed objects keep their members in 0.3 replies;
accepted_tags; the visitor's tag choice and no downgrade. - Text. P26's draft bullets moved back to the proposal; citations of the demo's build spec removed; the A.1 counter rule made consistent; §5.4 scan bullets placed inside §5.4; §5.5 stopping on the wire and
VisitReport.errand_used; §13 items reordered; adoption of P27, P28 and P31 §2.9 marked provisional pending the open discussion; stale v0.3.0 and v0.4.0 labels fixed. - Documents. New
docs/build-a-visitor.md; THREAT-MODEL.md §9, the v0.5.0 desk review; SECURITY.md, CODE_OF_CONDUCT.md and TRADEMARKS.md say one inbox handles all three kinds of report for now; HOST-A-PLACE.md lists the v0.5.0 settings. - Code, minimal. The reference core's
system1MayCalland the SDK take classifier entries; vectors and the schema regenerated. Reference behavior for the other rules above is a follow-up.
- One-purchase raise (§5.1, §7.3, C230). A superseding mandate binds one act, its
- Clean-room round 2 fixes (2026-11-01).
- The errand budget stops on the wire (§5.5, C247). Once a budget stops the errand, the SDK refuses every act and message locally except the farewell (
taken_homeby default), starts no new visit for it, andVisit.report()carrieserrand_used(ErrandMeter.usage(),Visit.errandStopped(),ErrandStep.metered). - Checking the figures before asking (§7.3, SIGNING.md §8, C230). The representative and the signing page MUST check a
LimitRequest'slimitagainst the owner's signed mandate,currentagainst the representative's own ledger andproposedminuscurrentagainst the held act's amount, and ask the owner nothing on a mismatch. The SDK does so beforeraiseLimit(limitRequestProblem) and reports a mismatch home. - The host's model provider is a named outside service (§6.10, §12.4, C250, C255). A hosted model or inference provider that runs the host's model goes in
policy.model_providers(below) with jurisdiction and retention; SIGNING.md §9 shows it. - The payment-instrument scan is a MUST (§5.4, C235), run before anything from a message is stored, logged or forwarded.
- A raise counts against an allowance's period budget (§5.2).
- Retention of records (§12.4, §3.6, §6.9). Relationship records, misconduct notices and findings, introducer penalties and conduct signals are kept only while the suspension, reduced standing or
neverdecision they support is in force, plus at most 90 days after it ends; records that support nothing followretention_days(default 30, at most 90). Aneverbinding keeps only the identity key, the reason code and its end. Trusthistorycounts only records still kept. The reference host prunes on this rule (Host.pruneRecords, run byprune()), with a test. - Documents reconciled with the code.
docs/build-a-visitor.md(thesupersedingMandatesignature,acceptSummary,wireTag,useMandate,pollInbox,requestDeletion), THREAT-MODEL §9 and the known gaps indocs/whats-new-v050.md.
- The errand budget stops on the wire (§5.5, C247). Once a budget stops the errand, the SDK refuses every act and message locally except the farewell (
- Local gaps closed (2026-11-01).
- Model-provider disclosure (§6.10, §2.3, C250). New
ModelProvider(name,purpose,jurisdiction,retention_days0–90, optionalrole) andpolicy.model_providers, insidehouse_digest, restated in the house summary and the lobby briefing (not to ashokai/0.3visitor). A door refuses to start with an incomplete entry, the name"*"or a summary that leaves one out. Conformance checkv050.model_providers; reference tests; the fixture placefernwood-v05lists one. - The reference signing page offers the one-purchase raise (SIGNING.md §8). A raise item carries the superseding mandate and its
raisecontext (theLimitRequest, the signed mandate, the seat's cap, the ledger figure and the held act). The page checkslimit,currentandproposed−currentagainst them and that the mandate is built from the hold (max_amount=proposed, no later expiry,supersedesnaming the hold and the signed mandate, the same Shōkai visitor card, no allowance); on any mismatch it offers nothing. It shows the place by its verified identifier, the four figures, "this one purchase only" and the deadline in the owner's time zone, writesshown_to_owneritself and never batches it. Tests:reference/signing-page/test/raise.mjs. - More black-box checks run against the reference place.
v050.trustandv050.trust_legacy(C243:fernwood-v05puts a trust requirement on its reviewer program),v050.host_farewell(C234) andv050.config_refusals(C236). The last two use the implementation's off-wire hook: the runner's--host-console <dir>drives the reference host's console queue (end_seat,try_config), and a module target'sdoor.endSeat. Againstfernwood-v05: 30 pass, 7 skip (was 25 and 9).
- Model-provider disclosure (§6.10, §2.3, C250). New