Skip to content

RukSafe workspaces for coding agents

Create, prepare, assign, and reuse Git worktrees without sharing writable dependencies between agents.

One safe lifecycle

sh
ruk acquire agent/auth-flow --owner agent-17 --json
cd <returned-path>
ruk run -- bun test
ruk release <returned-assignmentId> --json

Keep both values returned by acquire: the absolute path tells the agent where to work, and the assignmentId authorizes renewal and release.

Exact IDs matter

Never infer an assignment ID from a branch or path. A new assignment receives a new fencing token even when Ruk reuses the same workspace.

Choose a reading path

The command is pronounced “rook.”

Local workspaces. Explicit ownership. No background service.