Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

majordomus offload derive

Derive a worktree on a declared host and stage what it changed; nothing is committed or pushed. Exit 2 on an untracked file or an unresolved merge, 10 when the derive fails, 11 when it deletes a tracked file, 12 when no host can take it, 75 when the queue's wait runs out

What it is

read only

Derive a worktree on a declared host and stage what it changed; nothing is committed or pushed. Exit 2 on an untracked file or an unresolved merge, 10 when the derive fails, 11 when it deletes a tracked file, 12 when no host can take it, 75 when the queue's wait runs out

Identity
executable.offload.derive
Program
executable
Runs
non interactive
Requires
repositorylayer
No machine surface carries this command: no capability declares this command line, so no machine surface has a typed input schema to execute from

Where it appears

Command line
majordomus offload derive
Workflow
just offload-derive
MCP tool
—
HTTP
—
Declared in
apps/majordomus-cli/src/cli.rs
Capability
—

Arguments

argumentvalues fromrequiredhelp
<WORKTREE>—The worktree to derive
--host—A declared host, by id or address, instead of the one the probe chooses
--keep—Keep the host's worktree after the derive (it is removed by default; a failed derive's is always kept)
--repo—Start the search for the repository root here (default: the current directory)
--discovery—How declarative files are enumerated
--strict—Refuse to proceed when any file of the layer carries an error diagnostic
--share—The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable
--declaration—Read this derive-offload declaration file instead of the repository's
--format—Output shape