@@ -228,6 +228,8 @@ export class PluginLoader {
228228
229229 /**
230230 * Detect circular dependencies in service factories
231+ * Note: This only detects cycles in service dependencies, not plugin dependencies.
232+ * Plugin dependency cycles are detected in the kernel's resolveDependencies method.
231233 */
232234 detectCircularDependencies ( ) : string [ ] {
233235 const cycles : string [ ] = [ ] ;
@@ -369,24 +371,23 @@ export class PluginLoader {
369371 return ;
370372 }
371373
372- // Configuration validation would happen here
373- // For now, just log that schema is present
374- this . logger . debug ( `Plugin ${ plugin . name } has configuration schema` ) ;
374+ // TODO: Configuration validation implementation
375+ // This requires plugin config to be passed during loading
376+ // For now, just validate that the schema exists
377+ this . logger . debug ( `Plugin ${ plugin . name } has configuration schema (validation not yet implemented)` ) ;
375378 }
376379
377380 private async verifyPluginSignature ( plugin : PluginMetadata ) : Promise < void > {
378381 if ( ! plugin . signature ) {
379382 return ;
380383 }
381384
382- // Signature verification would happen here
383- // This is a placeholder for security implementation
384- this . logger . debug ( `Plugin ${ plugin . name } signature verification (placeholder)` ) ;
385-
385+ // TODO: Plugin signature verification implementation
386386 // In a real implementation:
387387 // 1. Extract public key from trusted source
388388 // 2. Verify signature against plugin code hash
389389 // 3. Throw error if verification fails
390+ this . logger . debug ( `Plugin ${ plugin . name } signature verification (not yet implemented)` ) ;
390391 }
391392
392393 private async getSingletonService < T > ( registration : ServiceRegistration ) : Promise < T > {
0 commit comments