autonomy lock generate

Emit canonical JSON from a lock file (JSON primary; TOML legacy)

Synopsis

Reads a lock file from –src and writes canonical JSON to –out (default: stdout). Also prints the fingerprint to stderr.

JSON input (.json) — canonical MVP path: Parses the JSON schema, normalizes, computes the BLAKE3 behavioral fingerprint, and writes canonical JSON. Prefer this over TOML input.

TOML input (.toml) — legacy / dev-only path: Prints a deprecation warning. Converts TOML to canonical JSON and computes the legacy SHA-256 fingerprint. Not MVP-gating.

When –src is a directory, autonomy.lock.json is preferred over autonomy.lock.toml.

Usage

autonomy lock generate [flags]

Options

      --out string   output path (- for stdout) (default "-")
      --src string   path to autonomy.lock.json (preferred) or legacy .toml, or directory containing one (default ".")

See also