shepherd-cli 6.4.5

The canonical shepherd command-line interface over the per-project registry, run artifacts, and sprint pipeline.
docs.rs failed to build shepherd-cli-6.4.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

shepherd-cli

shepherd is the only supported Shepherd command-line authority. The engine, guard policy, dispatch identity, configuration, registry, and content compiler are Rust crates behind this executable. Python, shell, and Node entrypoints are not fallback CLIs.

The binary embeds the canonical content/ corpus when it is built, so normal use does not depend on a source checkout:

shepherd guard test
shepherd compile --target claude
shepherd compile --target codex --out ./generated/codex
shepherd compile --target codex --out ./generated/codex --check

compile supports claude, codex, and pi. Without --out, it writes one JSON manifest to stdout and changes nothing. With --out, it writes a managed tree plus .shepherd-generated.json. Every manifest entry records its source path, source and output SHA-256 values, line/word/byte/token measurements, and the whole-tree digest.

Materialization is fail-closed:

  • relative emitted paths are validated before use;
  • directory and file access refuses symlink targets below the selected root;
  • files are synced and renamed atomically in their destination directories;
  • an existing generated file is overwritten or removed only when the prior manifest proves ownership and its current bytes still match;
  • --check performs no writes;
  • --content-dir is an explicit authoring/test override. Production uses the corpus embedded in the executable.

An unknown legacy verb exits with a stable retirement error. It is never forwarded to a hidden Python, Bash, or Node implementation.