Pre-commit hook for validating .a2ml manifest files before commit. Checks SPDX headers, required identity fields, version presence, and attestation block structure. Integrates with the standard pre-commit framework.
a2ml-pre-commit/
├── hooks/
│ └── validate-a2ml.sh # Main validation script
├── examples/ # Example .a2ml files (pass/fail)
├── docs/ # Usage documentation
└── .pre-commit-hooks.yaml
[git commit] ──► [pre-commit framework] ──► [validate-a2ml.sh] ──► [pass/fail]
│
[.a2ml files in repo]