Summary
Saving agent configs in Hermes fails with repeated AJV "must NOT have additional properties" errors when the stored JSON still uses pre-regrouping flat keys (data-collection, query-analysis, and any agent whose registry schema uses additionalProperties: false). Invoke-time Zod already strips unknown keys for some agents; Hermes save did not.
Scope
- In scope: strip config to the declared JSON Schema shape before AJV validation and DB write on agent config create/update; SchemaForm default merge drops unknown top-level keys; tests and data-collection README note.
- Out of scope: flat-to-grouped field migration maps; pipeline step inline config validation (can follow up).
Acceptance criteria
Notes
Summary
Saving agent configs in Hermes fails with repeated AJV "must NOT have additional properties" errors when the stored JSON still uses pre-regrouping flat keys (data-collection, query-analysis, and any agent whose registry schema uses
additionalProperties: false). Invoke-time Zod already strips unknown keys for some agents; Hermes save did not.Scope
Acceptance criteria
applySchemaDefaultsdoes not retain undeclared top-level keys.Notes