forked from fa/breadcrumb-the-shire
chore(agents): implement v2 hardening and enforcement-ready QA
This commit is contained in:
@@ -128,6 +128,8 @@ final class ModuleRegistry
|
||||
);
|
||||
}
|
||||
|
||||
ModuleManifestSchemaValidator::assertValid($raw, $moduleId, $manifestFile);
|
||||
|
||||
$manifest = ModuleManifest::fromArray($raw, $modulePath);
|
||||
|
||||
if ($manifest->id !== $moduleId) {
|
||||
|
||||
Reference in New Issue
Block a user