aitbc1
23e4816077
fix: resolve 'box in a box' nesting issues in codebase
ISSUES RESOLVED:
1. Coordinator API unnecessary nesting
BEFORE: /apps/coordinator-api/aitbc/api/v1/settlement.py
AFTER: /apps/coordinator-api/src/app/routers/settlement.py
- Moved settlement code to proper router location
- Moved logging.py to main app directory
- Integrated settlement functionality into main FastAPI app
- Removed duplicate /aitbc/ directory
2. AITBC Core package structure
ANALYZED: /packages/py/aitbc-core/src/aitbc/
STATUS: ✅ Kept as-is (proper Python packaging)
- src/aitbc/ is standard Python package structure
- No unnecessary nesting detected
- Follows Poetry best practices
LEGITIMATE DIRECTORIES (NO CHANGES):
- /cli/debian/etc/aitbc (Debian package structure)
- /cli/debian/usr/share/aitbc (Debian package structure)
- Node modules and virtual environments
BENEFITS:
- Eliminated duplicate code locations
- Integrated settlement functionality into main app
- Cleaner coordinator-api structure
- Reduced confusion in codebase organization
- Maintained proper Python packaging standards
VERIFICATION:
✅ No more problematic 'aitbc' directories
✅ All code properly organized
✅ Standard package structures maintained
✅ No functionality lost in refactoring
2026-03-26 09:18:13 +01:00
..
2026-03-26 09:18:13 +01:00
2026-03-08 11:26:18 +01:00