reference

Workspace workflows

Discover the current project, inspect registered workspaces, and bind an interactive session to the intended local folder.

CLIbeginnerCurrent releases
Verified 2026-08-04View sourceReport a docs issue

A Kestrel workspace is a durable catalog entry for a local project folder. The current directory is a discovery input; it is not the source of runtime configuration.

Inspect the current workspace

Bash
kestrel workspace status

Kestrel resolves the current directory, uses its Git root when available, and shows the matching catalog binding.

List registered workspaces

Bash
kestrel workspace list

Inside the interactive client, the equivalent commands are:

Text
/workspace status
/workspace list
/workspace use <workspaceId|rootPath|detached>

detached removes the active workspace binding for the session. Selecting a workspace does not copy, upload, or move its folder.

Select or register a project

Select an existing catalog identity when possible. Registration resolves the canonical root, permissions, and Git identity before the session binds; a folder name alone is not a Project identity.

Workspace preparation and Git

Preparation verifies the folder, repository/worktree state, configured skills, and writable execution boundary. Surface bootstrap failures to the operator instead of silently switching folders or creating an unrelated repository.

Managed worktrees

Managed worktrees are isolated execution locations attached to their source project. Inspect active sessions and unmerged changes before cleanup; never infer that an idle or clean worktree is disposable.

Sessions and Mission Control

Sessions preserve local conversation continuity. Mission Control owns project work, attempts, evidence, review, and acceptance across those runs.

Profiles and scheduling

Profiles are selected through the normal CLI profile configuration; a workspace catalog entry does not contain a hidden profile override.

The catalog includes an automationEnabled field reserved for the scheduler. Current kcron commands can evaluate that field, but they do not execute workspace tasks. Enabled entries receive a deferred outcome until the central scheduler is implemented.

Read Profiles, code mode, and MCP for runtime configuration and kcron availability for the exact scheduling status.

Safe cleanup boundaries

Resolve the exact workspace/worktree target, preserve user changes, and prefer the owning Kestrel cleanup command. Never use an unresolved environment variable or broad home/root path as a recursive deletion target.