feat(loader): strengthen manifest validation at parse time #388
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Catch addon misconfiguration early by validating manifest semantics at parse time, not just structural checks.
Current state (PARTIAL)
validate_manifest()checks version bounds, path existence, and Init.py/InitGui.py presence. Dependency resolution validates that declared deps are in the discovered set (unknown deps -> SKIPPED). Missing:<contexts>IDs (should be alphanumeric + dots)load_priorityshould be int)Scope
<contexts>IDs are syntactically correct (alphanumeric + dots)<dependencies>against all discovered addon names at scan time (before load)load_priorityas int, version strings as semver-likeImplementation notes
validate_manifest()insrc/Mod/Create/addon_loader.pyValidationErrorlist on the manifest objectRoadmap
v0.2.0 — Addon Loader