Skip to content

v0.0.9

@MadTinker MadTinker tagged this 09 Sep 14:19
Major milestone implementing API-first architecture with hybrid fallback modes:

- βœ… Complete API client layer (api_client.py)
- βœ… API-based tool implementations (api_tools.py)
- βœ… Hybrid mode with intelligent fallback (hybrid_tools.py)
- βœ… Mode-aware tool registration (local/api/hybrid/auto)
- βœ… Auth0 user ID-based database naming (prevents fragmentation)
- βœ… Comprehensive test suite (test_api_client.py)
- βœ… Updated documentation (CLAUDE.md, API_MIGRATION_SUMMARY.md)

- **API Mode**: HTTP calls to madnessinteractive.cc/api (production ready)
- **Hybrid Mode**: API-first with local database fallback (recommended)
- **Local Mode**: Direct MongoDB for development
- **Auto Mode**: Performance-based mode selection
- **Database Consistency**: Auth0 sub prevents user data fragmentation
- **Backward Compatibility**: Existing MCP tool interfaces unchanged

- OMNISPINDLE_MODE: api/hybrid/local/auto
- MADNESS_API_URL: API endpoint configuration
- MADNESS_AUTH_TOKEN: JWT authentication
- OMNISPINDLE_FALLBACK_ENABLED: Hybrid fallback control
- Tool loadouts: basic/minimal/lessons/admin/hybrid_test

- Simplified authentication (API handles Auth0 complexity)
- Database security (centralized behind API)
- Cross-system consistency (same databases via web/MCP)
- Graceful degradation (hybrid fallback when API unavailable)
- Future-proof architecture (ready for v1.0.0 release)

Ready for deployment updates and containerization before v1.0.0! πŸŽ‰
Assets 2
Loading