GIT-STAGE-BATCH-VALIDATE(1)

NAME
git-stage-batch-validate - validate persisted batch metadata

SYNOPSIS
git-stage-batch validate [--porcelain]

DESCRIPTION
validate checks every discoverable batch without modifying refs or metadata files. It validates the metadata schema, batch identity, repository paths, Git object IDs, ownership claims, and agreement between metadata and authoritative batch content refs.

Current metadata uses a versioned schema. Historical unversioned metadata is validated through the supported migration path and reported as eligible for migration, but this command does not perform the migration. Metadata from a newer unsupported schema is reported and left unchanged.

OPTIONS

--porcelain
    Write a stable JSON report containing the supported schema version and one diagnostic record per batch. This form is intended for scripts and support tooling.

EXIT STATUS

0   Every discovered batch is valid, including legacy metadata that can be migrated by the installed version.

1   At least one batch has invalid, unsupported, or referentially inconsistent metadata.

EXAMPLES
    git-stage-batch validate
    git-stage-batch validate --porcelain

SEE ALSO
git-stage-batch(1), git-stage-batch-list(1), git-stage-batch-new(1)