This cleanup reorganized the repository by:
- Archiving old queue_pipeline v1 system
- Archiving root-level scripts (while preserving scraper examples)
- Updating .gitignore for better file management
- Creating focused, clean documentation
cd /Users/bpulluta/DataCenterCOMPASS
# See what changed
git status
# Review specific changes
git diff README.md
git diff .gitignore
# See what was moved
git log --oneline --all -- queue_pipeline/# Stage all changes
git add .
git add -u # Stage file deletions/moves
# Commit with descriptive message
git commit -m "Clean repository architecture: archive v1, focus on v2
Major changes:
- Archived queue_pipeline v1 to archive/queue_pipeline_v1_2025-10-07/
with migration guide and full preservation
- Archived root scripts to archive/root_scripts_2025-10-07/
including datacenter_scraper.py (preserved for reference)
- Enhanced .gitignore to properly handle:
* Generated pipeline outputs (raw/, normalize/, signals/, curate/)
* LLM batch files
* ISO queue snapshots
* Archive contents (while keeping docs)
- Created new focused README.md:
* Clear quick start guide
* queue_pipeline_v2 workflows
* Updated project structure
* Troubleshooting guide
- Added comprehensive documentation:
* CLEANUP_SUMMARY.md - cleanup overview
* ARCHIVED_README.md files for each archive
* Updated queue_pipeline_v2/README.md references
Benefits:
✓ Single active system (queue_pipeline_v2)
✓ Clean root directory
✓ Clear documentation
✓ Nothing lost - all code preserved
✓ Maintainable and reusable
This establishes a clean foundation for continued development."
# Push to remote (if applicable)
git push origin main- Archive folders with README files
- New main README.md
- Updated .gitignore
- CLEANUP_SUMMARY.md
- All preserved code in archive/
- Generated pipeline outputs
- LLM batch content (except BATCH_SUMMARY.md)
- Raw ISO data (except manifests and READMEs)
- Python cache files
- Virtual environment
- .env file
If you prefer granular commits:
# Commit 1: Archive old systems
git add archive/queue_pipeline_v1_2025-10-07/
git add archive/root_scripts_2025-10-07/
git commit -m "Archive deprecated systems with documentation
- Moved queue_pipeline v1 to archive with migration guide
- Moved root scripts to archive with preserved scraper examples"
# Commit 2: Update .gitignore
git add .gitignore
git commit -m "Enhance .gitignore for generated files and archives
- Add comprehensive Python and IDE ignores
- Ignore pipeline outputs while keeping docs
- Handle archive folder properly"
# Commit 3: New documentation
git add README.md CLEANUP_SUMMARY.md
git commit -m "Create clean focused documentation
- New README focused on queue_pipeline_v2
- Added CLEANUP_SUMMARY.md for reference
- Clear quick start and workflows"
# Push all
git push origin main# Check what will be committed
git status
# Review total changes
git diff --stat
# Review specific important files
git diff README.md
git diff .gitignore
# Make sure nothing sensitive is staged
git diff --cached | grep -i "api_key\|password\|secret"-
Verify .env is ignored
# Should show .env is ignored git check-ignore .env -
Check archive size
# Make sure archives aren't too large du -sh archive/ -
Verify scraper is preserved
# Make sure datacenter_scraper.py is in archive ls archive/root_scripts_2025-10-07/datacenter_scraper.py
After committing:
# Verify commit
git log -1 --stat
# Check remote status
git status
# Verify important files are tracked
git ls-files | grep -E "(README|requirements|queue_pipeline_v2)"
# Verify .env is NOT tracked
git ls-files | grep .env # Should only show .env.exampleIf you want a shorter commit message:
Clean repo structure: archive v1, focus on v2
- Archived queue_pipeline v1 and root scripts
- Enhanced .gitignore for generated files
- Created focused documentation
- Single active system: queue_pipeline_v2
- Nothing deleted, all preserved
See CLEANUP_SUMMARY.md for details.
Ready to commit! The repository is clean, organized, and ready for development. 🚀