feat: module lifecycle management, init split, and interactive module UX#204
Merged
feat: module lifecycle management, init split, and interactive module UX#204
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements OpenSpec change
arch-03-module-lifecycle-managementand completes module lifecycle management for dependency safety, compatibility checks, and improved init UX.Key outcomes:
module_dependencies,core_compatibility)--forcecascading behavior--enable-module/--disable-modulespecfact initfor bootstrap/module lifecyclespecfact init idefor IDE prompt/template setup0.29.0Fixes #203
New Features #203
Contract References: No new public API contract decorators introduced in this PR; existing contract coverage remains in place.
Type of Change
Please check all that apply:
@icontractdecorators)Contract-First Testing Evidence
Required for all changes affecting CLI commands or public APIs:
Contract Validation
@icontractdecorators on public APIs)@beartypedecorators applied)hatch run contract-test-explorationTest Execution
hatch run contract-test-contracts✅hatch run contract-test-exploration✅hatch run contract-test-scenarios✅hatch run contract-test-full✅Test Quality
How Has This Been Tested?
Contract-First Approach: Added and updated unit/e2e tests for module lifecycle scenarios (safe enable/disable, force cascading, interactive/non-interactive paths), and validated OpenSpec change strictness.
Manual Testing
Automated Testing
Test Environment
Checklist
@icontract,@beartype)Quality Gates Status
hatch run type-check)hatch run lint)hatch run contract-test-contracts)hatch run contract-test-exploration)hatch run contract-test-scenarios)Screenshots/Recordings (if applicable)
Not attached in this PR. Interactive init/module selection and IDE selection were validated manually in terminal.