Shōkai conformance: http://127.0.0.1:8799 (spec 0.5.0, wire shokai/0.5) core PASS door.root GET / answers a door_pointer (protocol, spec_ref, place_listing) [SC-L0; §3.1, §11.1] PASS door.listing GET /places answers a place_listing with at least one place [SC-L0; §3.1] PASS door.entry the listing entry names entry, lobby, inbox, principal_id, representative_id, spec_ref and actions (R4-05) [SC-L0; §3.1, §11.1, C119] PASS door.spec_ref spec_ref.version is "0.5.0" (or "0.3.0" / "0.4.0", on shokai/0.3 during the transition window) [SC-L0; §3.1, §11.1] PASS door.data_asks each listed action declares data_asks (the personal data it will ask the owner for) [SC-L0; §3.1 (SHOULD), C172] PASS door.404 an unknown address answers 404 with a door_pointer, never a bare 404 [SC-L0; §3.1] PASS door.404_here GET answers 404 with a door_pointer whose `here` names this place's entry and says POST; an unknown address has no `here` [SC-L0; §11.1, C200 (SHOULD in v0.3.0; MUST planned for v0.4)] PASS lobby.prose prose at the entry gets the lobby: a greeting first, a briefing, then deny / not_now with readiness, then a farewell [SC-L0; §3.1, §3.3, §11.1] PASS front.open the agent front is open to look at: the listing and the lobby answer a reader with no card, key or cookie, and set no cookie [§3.1, C173] PASS lobby.briefing the briefing carries onboarding_url, spec_ref, actions and inbox [SC-L0; §3.3] PASS lobby.signed the place signs what it sends on the lobby path [SC-L0; §2.2] PASS lobby.malformed a malformed body at the entry gets the lobby [SC-L0; §3.1, §11.1] PASS ritual.greeting the place answers a signed greeting with its own greeting and a fresh nonce [SC-S1; §3.2, §2.4] PASS ritual.place_id the place's card is signed by its listed principal, names its listed representative and proves possession over this visit's nonce [SC-S1; §3.1, C104] PASS ritual.decision a prepared visitor gets one of grant / conditional / deny / considering, with a basis [SC-S1; §6.1] PASS ritual.grant seated for a listed non-spending action asked within the mandate; the seat is no wider than the request [SC-S1; §7.1] PASS ritual.encounter the place answers in the visitor's encounter: every message it sent carries the encounter_id the visitor's greeting named [SC-S1; §2.2, §2.4, C197] PASS ritual.signed every message the place sent in the ritual verifies under its listed representative [SC-S1; §2.2] PASS seat.outside an act outside the seat is refused explicitly (act_decision deny) [SC-S1; §7.2, C189] PASS seat.no_spend a seat without a spending limit refuses an act that moves money [SC-S1; §5.2, §7.2 (D11)] PASS seat.unknown an act naming a seat that doesn't exist gets act_decision deny / not_a_fit / SEAT_SCOPE_EXCEEDED [SC-S1; §7.2, C189] PASS act.order the seat is checked before the amount: no seat plus a malformed amount gets not_a_fit / SEAT_SCOPE_EXCEEDED, never the place's service [§7.2, C193] PASS neg.bad_signature a message whose digest matches but whose signature doesn't verify gets the lobby (no in_reply_to) and changes no encounter [SC-R1; §2.2, C184] PASS seat.mandate_across a mandate's limits bind across visits: an act past them in a new seat under the same mandate is refused [SC-S1; §5.1, C175, C194] PASS seat.max_amount a seat's max_amount is enforced: an act asking for more than the seat's cap is refused by the door, not carried out [SC-S1; §5.1, §7.2] PASS seat.max_amount_total a seat's max_amount is a running total: a second act that would take the seat past its cap is refused [SC-S1; §5.1, §7.2] PASS mandate.max_amount_total a mandate's max_amount is a running total across its seats: an act in a new seat that would take the mandate past it is refused [SC-A1; §5.1, C175] PASS lifecycle.again after a grant, another request in the encounter gets deny / not_now / RITUAL_ORDER (retry after) and the seat still works [SC-R1; §3.5, C190] PASS body.batch a POST holding several messages (a JSON array, or a batch envelope) gets the lobby, and the messages inside aren't handled [SC-L0; §11.1, C183] PASS lobby.bad_signature a greeting with a good digest and a bad signature gets the lobby, not the ritual and not silence [SC-L0; §2.2, C184] PASS request.incomplete a request with no mandate gets deny / not_now / REQUEST_INCOMPLETE with retry with_credential [signed_mandate] [SC-L0; §5.3, C185] PASS mandate.cross a mandate for another card_id, or whose counterparties leave out this place, is deny / not_now / MANDATE_INVALID [SC-A1; §5.1, C188] PASS card.revoked a card whose principal delivered a signed card_revocation is refused: deny / not_now, no reason code, retry with_credential [signed_card] [§2.6, C191] PASS card.revoked_seat revoking a card ends every open seat it holds: the next act in that seat is refused (deny / not_now, no reason code) [§2.6, C198] PASS neg.probing probing: the 3rd distinct shape wholly outside the mandate is answered deny / never (no code), and the principal stays bound at this place [SC-M1; §9.3, C186] PASS neg.order a request before the card is refused explicitly (deny), never seated [SC-R1; §3.2] PASS neg.nonce a signed greeting that reuses a nonce is refused [SC-R1; §2.4] PASS neg.tamper a message changed after signing is not accepted (no greeting back) [SC-R1; §2.2] PASS neg.copied_card someone else's card with a proof by another key is refused [SC-M1; §2.4] PASS inbox.unsigned an unsigned inbox poll gets 403 and nothing [SC-L0; §11.2] → 40 pass, 0 fail, 0 warn, 0 skip, 0 N/A core: the MCP binding (§11.3; only where the place serves MCP) N/A mcp.endpoint the MCP binding applies when the place serves MCP (links rel mcp-server) [SC-S1; §11.3, C179] (class) ext-mcp-binding not offered: the place advertises no MCP endpoint (pass --mcp to test one anyway) → 0 pass, 0 fail, 0 warn, 0 skip, 1 N/A core: v0.5.0 (C230–C255; a place on spec 0.5.0) PASS v050.host_card_served GET /host-card.json returns a signed host card whose payload_digest matches the one the door presents [§3.2, C268] N/A v050.context_request_declared a context_request in an invitation_response names only fields the house summary declares in policy.context_requirements [§6.12, C267] (class) ext-context-requests (provisional) not offered: the house summary declares no policy.context_requirements and no context_request was sent PASS v050.tags accepted_tags is listed; a shokai/0.5 greeting is answered in shokai/0.5, a shokai/0.3 one in shokai/0.3 with no v0.5.0 member in the reply's own messages and the signed card unchanged [§11.1, C254] PASS v050.summary a v0.5.0 host serves GET /house-summary.json, its digest is the Shōkai host card's summary_digest, and it names this place [§2.3, C248] PASS v050.summary_restates what the summary restates (conduct rules, classifiers, model providers) equals what the lobby serves [§2.3, §3.3, C248, C246] PASS v050.conduct conduct rules, when the place has them, are well-formed in the summary and the lobby; a shokai/0.3 lobby carries none [§3.3, C246] PASS v050.classifiers third-party classifiers are listed in the structured shape (name, purpose, jurisdiction, retention_days ≤ 90, role) in the summary and the lobby; none in a shokai/0.3 lobby [§3.3, §12.4, C250] PASS v050.model_providers outside model providers are listed in the structured shape (name, purpose, jurisdiction, retention_days ≤ 90, role) in the summary and the lobby, the same in both; none in a shokai/0.3 lobby [§6.10, §12.4, C250] N/A v050.classifier_before_request no outside classifier call before invitation_request [§12.4, C250] (in-process) a door's outbound calls aren't observable over HTTP; run in process with a recording classifier (classes.json evidence) PASS v050.retention retention_days, when stated, is a whole number of days, at most 90 [§12.4, C255] PASS v050.idempotent an act repeated with its idempotency key gets the identical signed answer (never performed again); past 10 repeats per seat, not_now / RATE_LIMITED; a malformed key, not_now / REQUEST_INCOMPLETE [§7.2, C233] PASS v050.instrument a card number in an act's arguments is refused (CREDENTIAL_NOT_ACCEPTED), one in a header id gets the lobby with no in_reply_to; neither is echoed [§5.4, C235] PASS v050.one_card a card_presentation of another Shōkai visitor card in an encounter is refused (never a second card, never a seat) [§2.4, C237] PASS v050.size a message over the stated max_message_bytes (65536) gets a bounded refusal (not_now / REQUEST_INCOMPLETE, or a 413 at the front), never a finding, never performed [§3.4, C239] PASS v050.farewell a farewell is accepted past the message cap (30) and answered only by the place's own farewell, once per encounter [§3.5, C234] PASS v050.host_farewell when the host ends a seat: one closing farewell (completed, this encounter, its tag) held for the visitor; later acts SEAT_SCOPE_EXCEEDED; no second farewell [§3.5, §6.10, C234] PASS v050.revocation_verified a card_revocation whose signature doesn't verify is not stored: the card is still seated afterwards [§12.1, C238] N/A v050.revocation_pressure storage limits never drop a revocation in force [§12.1, C238] (in-process) needs a store filled to its limit, which HTTP can't reach; run in process (classes.json evidence) N/A v050.passkey_counter passkey counters must increase when nonzero [Appendix A.1, C240] (in-process) counters need an authenticator that counts; the runner's development passkey signs with 0 (the synced-passkey case); run in process (classes.json evidence) N/A v050.pins a pinned host card is read from two sources [§3.1, C241] (role) a visiting representative's duty (Core Visitor), not a door's PASS v050.templates a place whose templates say closed: true refuses a signed card with an unlisted member (deny, never a seat) [§2.2, C242] PASS v050.trust an unmet trust requirement: deny / not_now / TRUST_REQUIRED with the trust item (every path, kinds only, each with owner_text) and retry with_credential; the listing shows kinds only; never a penalty [§6.9, C243] PASS v050.trust_legacy under shokai/0.3 a trust refusal uses a v0.4.0 code (POLICY_DENY) and carries no v0.5.0 member [§6.9, C243, C254] N/A v050.trust_receipts TrustReceipt checks and Shōkai introduction card limits [§6.9, C244, C245] (class) ext-trust-receipts and ext-introduction-card (provisional) not offered: the place names no receipt issuer and no introducer N/A v050.errand_budget errand budgets stay home and errand_used is reported [§5.5, C247] (role) a visiting representative's duty (ext-spending, role visitor), not observable at a door PASS v050.hold_over_limit an act above the limit is held with exact over_limit figures, and released only by a superseding mandate bound to that hold, max_amount = proposed, expiring no later than the hold, shown to the owner [§7.3, C230] PASS v050.hold_policies hold policies are checked before the amount: with max_open_holds 1, a second purchase during an open hold is not_now / POLICY_DENY (retry after the open hold ends) [§7.3, C232] PASS v050.hold_decline the owner's decline ends the hold at once: HOLD_LAPSED, and it stops counting (a new hold is made at once) [§7.3, C230, C232] PASS v050.hold_grace one clock, one grace: held just before expires_at and just inside the stated grace (2 s), lapsed (HOLD_LAPSED) just outside the stated grace (2 s) [§7.3, C231] PASS v050.hold_place_limit an act whose proposed total is above the place's own limit for the action (500.00 USD) is refused, never held [§7.3, C230] PASS v050.hold_legacy under shokai/0.3 an act above the limit is refused (SEAT_SCOPE_EXCEEDED), never held over the limit [§7.3, §11.1, C230] PASS v050.hold_release the raise releases that act alone; a later spending act is above the limit (held over it or refused); the same mandate offered again is MANDATE_INVALID [§7.3, C230] PASS v050.deletion_held a signed deletion_request is answered held, answer_by within 30 days; one for another place, or unsigned, is ignored [§12.4, C255] PASS v050.deletion_receipt a deletion_receipt comes to the inbox: request_digest, what was requested, deleted and kept (with why), and each named outside service as confirmed or pending [§12.4, C255] PASS v050.deletion_ledgers ledgers survive a deletion: a mandate used up before it stays used up [§12.4, §5.1, C255] PASS v050.no_ack_only the place sent no acknowledgement-only message [§6.6, C249] PASS v050.never_on_wire return-with-care preferences, errand budgets and door-question records never appear on the wire [§8.3, §2.3, C251, C252] N/A v050.appendix_e Appendix E (cost profile) is informative [Appendix E, C253] (informative) Appendix E is informative: nothing to test PASS v050.config_refusals the door starts with its own house config and refuses to start on each invalid member, naming it [§2.3, C236] N/A v050.site_binding a Shōkai host card naming place.site names it as an https origin, and that site's own /.well-known/shokai lists this entry exactly once (with the card's principal_id for a door on another origin) [§3.1.1, C257, C277] (class) ext-site-binding (provisional) not offered: the Shōkai host card names no place.site PASS v050.host_budget_declared the host budget (policy.host_budget, known_visitors) is never shown to a visitor: not in the listing, the house summary or the lobby briefing [§6.11, C277] → 32 pass, 0 fail, 0 warn, 0 skip, 9 N/A Core: all core checks that ran passed; 0 skipped, 10 not applicable (with their basis above). A class claim is measured with --claim. Claim: shop HOLDS core-door: 54 ran (54 pass, 0 fail, 0 warn), 0 skip, 3 N/A black-box results cite 30 of the class's 159 checks; this run doesn't measure the other 129, so for them the claim is self-asserted by the claimant (SPEC §0.1) not observable over HTTP; the claimant's own in-process tests (--evidence): v050.revocation_pressure (test-vectors.json v050.C238_revocations; reference/engawa/test/v050.ts (a revocation is verified before it is kept; storage pressure)); v050.passkey_counter (test-vectors.json v050.C240_counter; reference/engawa/test/v050.ts) HOLDS ext-spending: 8 ran (8 pass, 0 fail, 0 warn), 0 skip, 1 N/A black-box results cite 5 of the class's 23 checks; this run doesn't measure the other 18, so for them the claim is self-asserted by the claimant (SPEC §0.1) HOLDS ext-institutions: 1 ran (1 pass, 0 fail, 0 warn), 0 skip, 0 N/A black-box results cite 1 of the class's 4 checks; this run doesn't measure the other 3, so for them the claim is self-asserted by the claimant (SPEC §0.1) HOLDS ext-host-guards: 2 ran (2 pass, 0 fail, 0 warn), 0 skip, 1 N/A black-box results cite 1 of the class's 1 checks; this run doesn't measure the other 0, so for them the claim is self-asserted by the claimant (SPEC §0.1) not observable over HTTP; the claimant's own in-process tests (--evidence): v050.classifier_before_request (test-vectors.json v050.C250_system1; reference/engawa/test/v050.ts (System 1 may call an outside classifier only after invitation_request)) Claim: every claimed class holds for every check this run measured (no fail, no skip); unmeasured checks are self-asserted.