Usage: hankweave pack [hankPathOrDir] [options]

Create a deterministic .hank bundle (a zstd-compressed PAX tar containing
the hank's full file closure plus its hank.lock), after a portability lint.

Arguments:
  hankPathOrDir             Path to hank.json or its directory (default: .)
                            Use -- before a path that starts with "-".

Options:
  -o, --output <path>       Bundle destination; must end in .hank or .tar.zst
                            (default: <slug>-<version>.hank in the current
                            directory). Not allowed with --check.
  --no-lock                 Write only the bundle; skip source lock files
  --check                   Lint only: print findings and exit; writes nothing
  --min-runtime <semver>    Minimum Hankweave version recorded in the lock
                            (canonical SemVer 2.0.0; default: this version)
  -h, --help                Show this help

Pack writes hank.lock next to hank.json (and a temporary .hankweave-pack-lock
while publishing), so the hank directory must be writable unless --no-lock
is used. Commit hank.lock to track the packed inputs; use --no-lock when
you only need the bundle. The bundle always contains its own hank.lock.
The default name slug lowercases the hank name and replaces characters outside
[a-z0-9._-] with hyphens; path separators and control characters are refused.

Exit codes: 0 success (warnings allowed), 1 lint errors or pack failure,
2 usage error. Findings print to stdout; bundle details print to stderr.
Output groups findings and shows the bundle tree, including when piped.
Color is enabled for supported terminals and disabled when redirected.
exit=0
