Expand description
The persisted set of workspaces Prospero manages.
The fleet is intentional, not guessed: a blind socket scan can’t map a
hash16 socket name back to a workspace, so operators register workspaces by
name. A workspace is a root directory holding 1..N source checkouts
(caliban #281 / ADR 0052); its caliband is keyed on hash16(root).
Structs§
- Credentials
Ref - A by-name reference to a key within an existing Secret.
- Isolation
Config - Isolation defaults for agents launched against a workspace.
- Provider
Info - A provider as surfaced on the read side (
GET /api/workspaces): enough for the dashboard’s launch-modal provider picker and a “has credentials” pill, without exposing the Secret reference itself. - Provider
Spec - A named model provider within a workspace. Each agent binds one by name.
- Registered
Workspace - A single managed workspace’s persisted identity: name + root + config.
Sources are discovered from the filesystem at snapshot-build time (they are
not persisted), so they live on the runtime
crate::model::Workspaceview. - Registry
- The persisted registry of managed workspaces.
- Repo
Provider Config - Per-repo provider/environment configuration applied to its caliband daemon.
- Workspace
Config - Backend-neutral workspace configuration accepted at the API boundary
(
POST /api/workspaces,PUT /api/workspaces/{name}/config). - Workspace
Info - A workspace as seen by the config plane’s read side: the persisted
configuration plus reconciliation status. Returned by
FleetAdmin::list_workspacesand merged intoGET /api/workspacesso a configured-but-agentless workspace is still visible with its status. - Workspace
Source Spec - A source checkout spec for a workspace: a git remote and where to mount it.
Used by the k8s config plane to build a
WorkspaceCR’ssources[]. - Workspace
Status Info - Reconciliation status of a workspace, surfaced for the dashboard’s status
pill + failure tooltip. Backend-neutral (local workspaces report
None).