Skip to main content

Module validate

Module validate 

Source
Expand description

admin config validate command: validate config files against their schemas.

Resolves a target to a single file, a ConfigSection, or the full set of sections, parses each as YAML, and validates a full profile document against the systemprompt_models::profile::Profile schema. Also prints the generated Profile JSON schema on demand.

Whenever the scheduler section is in scope, the merged services config is additionally cross-checked against the registered job catalog, so a job name no submit_job! registers is caught here instead of aborting scheduler startup on a deploy. That catalog is the set of jobs linked into the CLI binary; a downstream that links job-registering crates only into its API binary would see false positives.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

ValidateArgs

Functions§

execute
unknown_jobs_message