Skip to content

Conversation

@ZeroSumQuant
Copy link
Owner

Summary

  • Implements Phase-4 Task B: Project organizer that moves files based on manifest classifications
  • Adds comprehensive test suite with 14 tests covering all scenarios
  • Works in both dry-run mode (planning) and apply mode (execution)

Implementation Details

  • _target_path_for_file(): Determines target directory based on file classification
  • organise_project(): Executes file moves using git mv (when available) or shutil.move
  • Automatically creates init.py files and data/README.md as needed
  • Idempotent: running twice produces no changes
  • Skips files that already exist at target location

Test Coverage

  • Target path calculation for all file types
  • Dry-run mode operation
  • Git-less operation (skip_git=True)
  • Handling of existing target files
  • Automatic creation of support files
  • Idempotency verification

🤖 Generated with Claude Code

@ZeroSumQuant ZeroSumQuant self-assigned this Jun 5, 2025
@ZeroSumQuant ZeroSumQuant force-pushed the feature/phase4-organise branch from d29f738 to a2d484b Compare June 5, 2025 01:44
@ZeroSumQuant ZeroSumQuant merged commit 0b26de1 into main Jun 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants