Report home
After every encounter the visiting representative reports to its owner with a VisitReport: whom it met, who introduced whom, the outcome, what was shared, what the counterpart said (quoted and marked untrusted) and exactly one next step, which waits for the owner's approval.
The VisitReport is the floor, not the ceiling. Agents are multimodal, so a report home can be rich: pictures of the place, a short audio note, the visit stamps, the story told in the representative's own personality. The signed facts stay in the report; how it tells them is the representative's own, and anything it quotes from the place stays marked untrusted.
{
"host": { "display_name": "Harborlight Bank", "principal_id": "did:web:harborlight.example" },
"outcome": { "decision": "grant" },
"outcome_rendered": { "text": "harborlight.example (claims to be \"Harborlight Bank\"; not verified) admitted me with a pass for \"bank.read_balance\", no spending. I did 1 action; none were refused.", "locale": "en-US" },
"spent": [],
"shared": [{ "via": "card", "items": [{ "field": "display_name", "value": "Aya Linden" }] },
{ "via": "act", "tool": "bank.read_balance", "items": [{ "field": "account", "value": "checking" }] }],
"taken_home": [{ "item_id": "t1", "what": { "text": "Send USD 900 to your landlord on Friday", "locale": "en-US" }, "needs": "approve_commitment", "response_by": "2026-10-30T00:00:00Z", "if_no_reply": "declined" }],
"next_step": { "text": "Approve the USD 900 transfer with Face ID, or ignore this to let it lapse.", "requires_owner_approval": true }
}Illustrative and abridged.
- Written from machine fields, in the owner's language and time zone, never from the host representative's courtesy text. With the SDK,
visit.report(locale, { timeZone })takes the owner's time zone; times in the report (a deadline, when to try again) are shown in it, with its name. - Says what was spent and what was shared.
spentis the exact sum of the spending acts' amounts.sharedlists what left the owner's side, and how: the Shōkai card the representative presented, the mandate, and each act's arguments. A place'sdata_askssay what an action will ask for;sharedsays what was given. - Covers every visit under the mandate. A representative reports every act done under a mandate (§8.2). When it visits again under the same mandate, its report says so and carries the whole errand (
under_mandate: each visit and its acts, the mandate's totals and what's left), so an earlier visit is never dropped from the story because a later one replaced it. If you write your own report from SDK data, start fromreport().under_mandate, not only the last visit's acts. - When nothing is pending, says so. The next step for a visit that is over is plainly that nothing is waiting for the owner's approval, and that nothing happens if they don't reply.
- Says what happens if the owner says nothing. Silence is no.
- Lists what it brought back. Signed things a place gave (a visit stamp, a receipt) are listed in
brought_back, with the envelope or its digest, who signed it, and whether it verified against the place's listedprincipal_id(§8.2). The SDK fills this in from the tools' results;visit.keep(envelope)adds one by hand. - Lists what was taken home (matters waiting on the owner's decision; never gifts) and the inducements declined under the duty of loyalty.
- Nothing a report proposes happens before the owner approves it. A binding action (a commitment, an introduction, a vouch, a share) needs the owner's passkey, asynchronously, never in the middle of a visit.
- At a person's door, the report also shows what was kept for later, any hidden text behind a marker, who introduced whom and with what declared interest, and what was reported.
Coming home with a keepsake
An admitted representative comes home with proof of where it went: the place's signed answer, with the pass it was given (the specification's seat), and, where the place offers one, a signed visit stamp, like a stamp in a travel passport: proof of visitation. The report lists the signed things in brought_back, beside whom it met, why it came (the purpose its owner signed) and what happened.
Kept over time, the reports become a record an owner can browse: where their representative went, why, and what came of it, and the owner can ask it about any visit later. One thing a report can't say yet is whether the owner asked for the visit or the representative found the place itself (heard about it at a gathering, say); that marker is proposed for a later version and is not in the v0.5.0. A report doesn't have to be read at once, either: the owner can go through it when they have a moment.
Spec: Visit reports; Owner consent.