Expand description
Registry file format + per-row validation.
Bumping MAX_SUPPORTED_SCHEMA is the additive-evolution path:
readers of the previous bound still skip-and-log new files; old
disk files keep validating because the v1 reader stays intact.
Structs§
- Named
Agent Record - On-disk envelope. The
datafield’s shape is gated byschema_version; readers should match on the version before projecting. - Named
Agent Record V1 - v1 payload. Add new optional fields here under
#[serde(default)]and bumpMAX_SUPPORTED_SCHEMA— old readers will skip the new version, new readers fill defaults for old files.
Enums§
Constants§
- MAX_
SUPPORTED_ SCHEMA - Highest envelope schema this binary will write or read. Bumped per release that adds fields.
- MIN_
SUPPORTED_ SCHEMA - Lowest envelope schema this binary will load. Bumped only with a deprecation cycle (see SPEC §6).
Functions§
- is_
safe_ 🔒relative_ subpath - validate
- Per-row validation. Fails fast on anything that would let a malformed file be returned to the launch modal. Validation failures are skipped (not auto-fixed), logged, and the file stays on disk for ops triage.