Skip to main content

validate_manifest

Function validate_manifest 

Source
pub fn validate_manifest(manifest: &AppManifest) -> Result<(), AppError>
Expand description

Validate an application manifest for structural correctness.

Checks:

  • Name is non-empty and contains only valid characters
  • Version is non-empty
  • Agent IDs are unique within the app
  • Tool names are unique within the app
  • Service names are unique within the app
  • Tool sources are valid variants