This directory is the authoritative public contract for axym record add --input <record.json> --json.
Axym validates this input envelope locally, normalizes compatibility-only record_version: "1.0" inputs to canonical record_version: "v1", then signs and appends the record to the local chain. Shared proof-record semantics, record-type-specific validation, hashing, and signature primitives remain owned by Clyra-AI/proof.
- Schema:
manual-input.schema.json - Canonical examples:
- Internal normalized collector contract:
normalized-input.schema.json
- Canonical Axym-authored examples use
record_version: "v1". - Legacy documented
record_version: "1.0"inputs remain compatibility-only and normalize tov1before append. - If
record_versionis omitted, Axym defaults it tov1before validating the manual-input contract.
- Contract violations return exit code
3. --jsonfailures useerror.reason: "schema_violation".- File-read or malformed-JSON input problems remain
invalid_inputwith exit code6.