CLI command

probierz project adopt

Adopt existing Probierz application manifests and specs into the current project without executing them.

Invocation#

Shell
probierz project adopt --source <repository> [--replace]

Required inputs and options#

  • `--source` is required and names an existing Git repository.
  • Accepted definitions are all regular non-symlink files beneath `apps/` plus the established `test/specs`, `tests`, or `specs` directories for supported Probierz packages. The source's local `apps/.adoptions.json` is reported and excluded.
  • `--replace` explicitly replaces reviewed unmanaged files or same-source files that still match their retained content and mode; preserving existing definitions is the default.

Output and state effects#

Copies accepted definition bytes and modes transactionally, records source path and SHA-256 identity in `apps/.adoptions.json`, and reports imported, unchanged, removed, conflicting, and rejected counts. It never installs tools or runs a spec.

Exact refusals#

  • The complete source is validated before mutation: malformed manifests, app-ID mismatches, missing referenced specs, symlinks, and special files are rejected.
  • A destination owned by another adopted source always conflicts.
  • Locally changed adopted content or file modes conflict even with `--replace`, including definitions removed upstream; Probierz never discards that local change.

Source snapshot#

Generated from the Rust binaries at https://github.com/wisent-ai/probierz.git revision `c589d6917201c31f57e6a7f24522c0d50ae5bd0f`.

Combined help SHA-256: `43f0d9cd136ac2c46ec3eedb2824bd5d6168f235dea4caaa50610c005f40c84a`; binary SHA-256: `7e42c843082863ed265817de90a110a2f27546426a54d372e10009fd665a4d8e`.