Docs: a command is logged as the remote or as the presenter
docs/api.md said every command is logged as remote:{session}. A
command the presenter's signed-in browser sends with no token is
logged with the presenter's own actor (person:{id}); say both, and
that the cookie is checked as on every signed-in page.
Review finding, Minor (docs/api.md).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+14
−5
docs/api.md+14 −5
diff --git a/docs/api.md b/docs/api.md| index a3b5d04..689c366 100644 |
| --- a/docs/api.md |
| +++ b/docs/api.md |
| @@ -341,11 +341,20 @@ revoked, and everything that page then reads — its slide fragments, its |
| stream at `/s/{token}/stream`, its pictures — resolves the token again |
| on every request. Revoke the link mid-talk and it stops, immediately. |
| -Every command against a session is logged as `remote:{session}` rather |
| -than as whoever started it. The remote token is transferable by design |
| -— that is the feature — so the server cannot say who is holding it, and |
| -§6.2's "every write names its real actor" is kept by naming the |
| -capability and logging the issuer beside it. |
| +A command against a session is logged with one of two actors, whichever |
| +let it in: |
| + |
| +- `remote:{session}`, for a command that carried the remote token. The |
| + token is transferable by design — that is the feature — so the server |
| + cannot say who is holding it, and §6.2's "every write names its real |
| + actor" is kept by naming the capability and logging the issuer beside |
| + it. |
| +- The presenter's own actor (`person:{id}`), for a command sent with no |
| + token from the presenter's signed-in browser: the presenter window, |
| + the slide window it opens, or a talk rejoined by pressing Present. |
| + The session cookie names a person, so the log does too. That cookie |
| + is checked as on every signed-in page, so an address taken off the |
| + allowlist drives nothing. |
| This JSON is the only place the pairing block exists for a session an |
| agent started. When a person presses Present in a browser, they pair a |