Skip to content

Commit 653f2c9

Browse files
committed
proposal: add change manager - extract + new functionality
Slice 2 of the artifact tracker POC. Creates ChangeManager module that: **Extracts existing functionality:** - `listChanges()` from ListCommand + ChangeCommand.getActiveChanges() - `changeExists()` from inline fs.access() checks - `getChangePath()` from inline path.join() calls - `isInitialized()` from ListCommand directory check **Adds new functionality:** - `createChange(name, description?)` - create change directory + README - `validateName(name)` - enforce kebab-case naming **Refactors CLI commands to be thin wrappers:** - ListCommand delegates to ChangeManager - ChangeCommand delegates to ChangeManager Also updates docs/artifact_poc.md to reflect XDG decisions from Slice 1.
1 parent af273b8 commit 653f2c9

File tree

5 files changed

+613
-119
lines changed

5 files changed

+613
-119
lines changed

0 commit comments

Comments
 (0)