Skip to main content

Module workspace

Module workspace 

Source
Expand description

Git workspace management for isolated mission execution.

Each mission gets an isolated git repo in .battlecommand/workspaces/<id>/. Per-subtask commits provide rollback safety and audit trail.

Structs§

Workspace
A managed workspace with its own git repo.

Functions§

clone_repo
Clone a git repository (shallow) to a target directory.
list_workspaces
List all workspaces.
mission_id_from_prompt
Generate a mission ID from a prompt.