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 `f65b755da397f2ec7435eb80ed722aa6017437c1`.

Combined help SHA-256: `4a12655d233812abc29eeebbf3db3065efe3e00288024383f3eef3970d092e94`; binary SHA-256: `d5398832d3ab52c541b1efe979730dea62941ac6197898a20fccfc5d3fca44df`.