pub async fn validate_config(
project_dir: &Path,
lockfile: &LockFile,
gitignore_enabled: bool,
) -> ConfigValidationExpand description
Validate project configuration for AGPM.
Checks:
- Required .gitignore entries based on installed resource types (if gitignore_enabled)
Note: Claude Code settings check is intentionally not performed here.
The /config guidance is only shown during init and migrate commands
to avoid repetitive warnings on every install/update.
ยงArguments
project_dir- Path to the project directorylockfile- The lockfile containing installed resourcesgitignore_enabled- Whether gitignore validation is enabled (from manifest)