Relationships
#5077 Authenticated read-only observation across independent serves
Opened by kneel · 11/25/2026
Deployment context
An operator runs multiple INDEPENDENT serves - per tenant, per site, or per environment - that deliberately share no datastore and no coordination channel. The operator needs consolidated read-only visibility (runs, health, data) across them: a single pane, without granting any write or coordination authority and without forcing a shared datastore.
Current behavior (verified against 20261124.230941.0-sha.6a630211)
There is no cross-serve read:
- Serves share no in-memory state and have no serve-to-serve connectivity; independent serves (no shared datastore) have no channel at all.
- The serve-workspaces host (#4835) runs a serve-per-workspace behind a router
that only forwards HTTP/WebSocket (
src/serve/host/workspace_router.ts, viaforward_http.ts); it authenticates no one at the host layer. - There is no aggregation/federated read endpoint;
AggregateResourceResolveris a within-serve datastore resolver (src/domain/datastore_v3/commit_authorization.ts), not a cross-serve aggregator.
To observe N independent serves today, a client authenticates to each serve separately and polls and aggregates itself.
Relationship to serve-workspaces (please dedupe if already planned)
If host-level read aggregation over child workspaces is already in scope for the serve-workspaces roadmap (the plan behind #4835, issues 7-18), treat this as a requirement to fold into that work rather than a separate build. This issue states the requirement in case it is not yet captured.
Desired behavior
An authenticated, read-only way to observe state across a configured set of independent serves/workspaces through one endpoint and credential: read-only enforced, no coordination/write path opened, and not requiring a shared datastore between the serves.
Suggested implementation (non-prescriptive)
A host-level (or dedicated) read aggregation over a configured set of serves/workspaces, exposing their runs/health/data read-only under one credential. Transport and shape are the maintainers' to choose; the request is the capability and the read-only guarantee.
Acceptance criteria
- One authenticated credential can READ (not write) across a configured set of serves/workspaces.
- Read-only is enforced; no coordination or write path is opened by it.
- It works without a shared datastore between the serves.
- A serve/workspace unreachable at read time degrades gracefully (reported, not failing the whole read).
Evidence status
Absence of a cross-serve read path was confirmed by source search at the version above; the host model and the within-serve aggregator were confirmed by reading the source. Not experimentally probed.
Related
- #4835 (serve host: serve-per-workspace) - the natural home if host-level read aggregation is in scope.
- #4120 (team-mode follower commit feed) - the shared-datastore case, which this explicitly does not assume.
Open
No activity in this phase yet.
Sign in to post a ripple.