The BROKE Cluster Team
dab7ffb6fc
fix: P0 bugfixes + test infrastructure + benchmark metadata sync
...
P0 Bugfixes:
- cache.py: Handle empty HF_HOME strings in get_current_cache_root()
- clone.py: Remove obsolete _validate_same_volume() check
- common.py: Use importlib.metadata instead of importing transformers
Test Infrastructure:
- runner/__init__.py: Replace "mock" fallback with clear RuntimeError
- Fix mock paths in test_runner_core, test_token_limits, etc.
- Add VISION_TEST_MODELS + AUDIO_TEST_MODELS fallbacks
- Portfolio fixtures work with and without HF_HOME
Benchmark Fixes:
- Sort models/tests alphabetically instead of by regression %
- Fix vision metadata drift: pixtral-12b-8bit → pixtral-12b-4bit
Documentation:
- ADR-022: Workspace-First Paradigm (draft)
- ADR-018: Phase 2 details expanded
- TESTING.md/TESTING-DETAILS.md: Fallback docs updated
2026-02-10 15:52:36 +01:00
The BROKE Cluster Team
86f669dc82
Release 2.0.4-beta.1: Vision + Pipes + Memory
...
- Vision Support (Issue #45 ): CLI + Server with OpenAI-compatible image API, EXIF metadata
- Unix Pipes (ADR-014): stdin support, isatty detection, SIGPIPE handling
- Memory-Aware Loading (ADR-016): Pre-load checks with >70% RAM warnings
- Python 3.9-3.14: Full compatibility verified (476-485 tests passing)
- Fixed: --log-json regression (Issue #44 ), Vision multimodal history filtering
See CHANGELOG.md for complete details.
2025-12-16 19:35:30 +01:00
Local Test
de7ccf9018
2.0.0-alpha: default 2.0 tests, cache safety, and docs
...
Testing:
- pytest defaults to tests_2.0 via pytest.ini
- README/TESTING updated; Quick Start uses `pip install -e . && pip install pytest`
Safety:
- Add test-cache sentinel + centralized checks
- Strict delete guard via MLXK2_STRICT_TEST_DELETE=1
- Hide sentinel from 2.0 list output
Portability:
- Remove site-specific paths; generic test/user cache detection (mlxk2_test_ prefix + sentinel)
Docs:
- Environment & Caches, HF cache integrity
- Local-only hooks/excludes and local test script (excluded from VCS)
2025-08-29 16:57:45 +02:00
The BROKE Team
d375e1bd3e
MLX-Knife 2.0.0-alpha: Issue #27 Discovery & Development README
...
Major Achievements:
- Live reproduction and documentation of Issue #27 (health check false positive)
- Comprehensive development README.md for alpha phase parallel usage
- JSON API specification integration and references
- 45/45 tests passing with production-quality reliability
Issue #27 Critical Discovery:
- Health check false positives for multi-part model downloads
- Root cause: Multi-part pattern detection flaw in shared logic
- GitHub issue created with reproduction steps and technical analysis
2.0.0-Alpha Development Status:
- Revolutionary test isolation architecture complete
- Atomic cache system with triple safety verification
- Development handbook with parallel deployment guide
- Ready for production testing and broke-cluster integration
2025-08-28 23:49:14 +02:00
The BROKE Team
c5777a3e7a
MLX-Knife 2.0 Session 2 Complete + Session 3 Major Progress: Production-Ready Alpha
...
Session 2 Achievements (100% Complete):
• All 5 operations implemented: list, health, show, pull, rm
• CLI compatibility: fuzzy matching, @hash syntax, short names
• Lock detection: New safety feature replacing interactive prompts
• Pull corruption recovery: Clean rm→pull workflow
• Hash fuzzy matching: show "model@3df9bfd" works with short hashes
Session 3 Major Progress (70% Complete):
• JSON API Specification v0.1.1: Complete and production-ready
• Full SHA hashes: 40-char hashes in list output for broke-cluster
• Show command: --files and --config options fully implemented
• JSON-flag enforcement: --json required in alpha for correct usage
Key Features:
• Broke-cluster integration ready with enforced --json flag
• Real-world tested: rm→pull workflow validated with corrupted cache
• Lock cleanup: 9 lock files properly cleaned during rm operations
• Sanitized JSON: No cache paths or implementation details exposed
Testing Status: Basic unit tests implemented, manual validation successful
Note: Test suite requires update for JSON API Specification v0.1.1
Package: Installable as mlxk-json alongside 1.1.0
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-27 21:36:35 +02:00
The BROKE Team
d603cde9d5
MLX-Knife 2.0 Session 1: JSON-First Foundation
...
✅ FOUNDATION COMPLETE: Working `python -m mlxk2.cli list` command
Architecture:
- Clean-room implementation (145 lines total)
- JSON-first design for broke-cluster automation
- Modular structure: core/operations/output separation
Deliverables:
- mlxk2/core/cache.py: Cache path management (35 lines)
- mlxk2/operations/list.py: Model discovery with JSON output (41 lines)
- mlxk2/cli.py: CLI entry point with error handling (69 lines)
- docs/: Complete ADR and implementation plan documentation
Success Metrics Achieved:
✅ 12 models detected and JSON-formatted
✅ Consistent schema: status/command/data/error
✅ broke-cluster ready: `jq -r '.data.models[].name'`
✅ 4x faster than planned (1 hour vs 4 hour target)
Next: Session 2 - health, pull, rm operations
2025-08-26 19:25:50 +02:00