Find the space a person is working in

where

Where this person is working, and which views are in that space right now.

read

Call it with no arguments when a request says here or this space and names none. It resolves the space and reports how in resolvedFrom: presence when a tab is open on it, lastUsedSpace when none is and the answer comes from durable preference, argument when you named a gid.

Read this before writing into a space somebody is working in. A participant is one tab, not one person, and attention is graded: when somebody is talking to an agent in a terminal, no tab holds focus.