P40 (draft): visit progress feed
A proposal, not part of the specification
Status: Visit progress feed: an optional, informative feed of a visit's stops (done, now, upcoming) with order and times, for an owner following along; rendering stays the place's own. Nothing here is normative until it's merged into the specification and listed in the changelog. See all proposals. This note is the site's.
Status: design proposal only, 2026-11-30. Informative, not normative. Not in SPEC.md, and not part of core spec 0.5.0. Byline: YSY.
In plain words
- While an agent visits a place, its owner may want to follow along: where the agent has been, where it is now, and what is still ahead.
- P40 describes a small, optional feed a place can publish for that: an ordered list of stops, each marked done, now, or upcoming, with times.
- The feed is data only. How a place draws it (a list, a floor map, footsteps, anything else) is the place's own design and stays the place's own. The protocol enables the experience. The place creates it.
- Nothing in a visit depends on the feed. A place that doesn't publish it is fully conformant, and a visitor never needs it.
Shape
A place that offers the feed returns it with whatever owner-facing progress view it already has (for example next to an owner's live page data):
progress_feed: {
version: "0.1-draft"
visit_state: "in_progress" | "ended"
stops: [
{
id: string // the place's own stop id, stable for this visit
label: string // plain words for the owner, in the owner's language
state: "done" | "now" | "upcoming"
order: integer // 1, 2, 3… in the order the visit actually went
started_at: string | null // RFC 3339, when the visitor reached this stop
done_at: string | null // RFC 3339, when it moved on (absent on "now" and "upcoming")
}
]
}Suggested reading of the fields:
- Order is the visit's actual order, taken from the place's own record of the visit, not a planned route. Upcoming stops follow, in the order the place expects.
- At most one stop is
nowwhile the visit is in progress. When the visit has ended, no stop isnow, and upcoming stops may be dropped. - Times are honest or absent. A place leaves a time
nullrather than guessing. - Labels are owner-facing. No technical addresses, ids of other people, or internal notes.
Privacy and safety
- The feed belongs to the owner's view of their own visit. It goes only where the place already shows that owner their visit (for example behind the owner's private live link), never in a public listing.
- It carries no card, key, token, or payment detail, and nothing the visitor said.
- A visitor's runtime must never treat feed text as instructions. It is data for the owner.
Late loading
The feed is the whole picture at the moment it is read, so a page opened mid-visit can draw every finished stop at once. A place may use it to show a short catch-up line ("You're catching up: 6 stops done, now at the Tea Counter") when an owner arrives late, and a finished summary once the visit has ended.
What stays out of the protocol
- How the stops are drawn, animated, or illustrated.
- A place's choreography: which stops exist, in what order, and what happens in each.
- Any rendering code. Places publish data; they never serve code a visitor runs.
Open questions
- Should a place be able to mark a stop as
skipped(offered but declined by the owner), or is that better left to the stop's own label and the trip report? - Is a pull-only feed enough, or should it pair with a push signal like P37 for owners who follow along live?