#9563 feat: Auto-lock plugin definitions
Pull request opened by
edgarrmondragon on <!date^1760404692^{date_short}|2025-10-14T01:18:12Z>
## Description
## Related Issues
• Closes #XXXX
## Summary by Sourcery
Implement auto-locking of plugin definitions by extending PluginLockService with configurable behaviors, updating project services to persist lockfiles on parent resolution and addition, and providing a --locked flag in CLI commands to prefer local (locked) definitions.
New Features:
• Add --locked option to run and invoke commands to select locked plugin definitions
Enhancements:
• Introduce PluginLockBehavior enum to control behavior when lockfiles already exist
• Automatically persist plugin definition lockfiles when fetching parents or adding plugins based on preferred source
• Simplify the lock command by deferring to project.plugins listing and unified behavior in lock service
Tests:
• Add tests for SKIP behavior in PluginLockService
meltano/meltano