v0.3.0

codewhale-hq/Codewhalev0.3.0Oct 2, 2026by github-actions[bot]

Upgrading?

AI Summary

Selectively brings upstream Laya runtime fixes into the native MLX port, focusing on preserving conversation history, improving input validation, and enhancing multilingual routing capabilities.

Key Highlights

  • Preserve the newest conversation turns under truncation, including prefix-cached inference
  • Support custom noul labels and boolean criteria keys while rejecting ignored keys
  • Improve named input-validation errors and preserve Unicode in structured instructions
  • Add `answer_confidence` while retaining existing `confidence` semantics
  • Update language detection and email cleaning to preserve real requests

New Features

  • Custom noul labels and boolean criteria keys
  • Named input-validation errors
  • Unicode preservation in structured instructions
  • Added `answer_confidence`

Full Release Notes

This release selectively brings upstream Laya runtime fixes through `4aa6761` into the native MLX port. The neural architecture parity reference remains `573e5b6`; this is not full upstream API parity.

Changes:
- Preserve the newest conversation turns under truncation, including prefix-cached inference; fix the zero-room left-truncation edge case.
- Support custom noul labels and boolean criteria keys; reject criteria keys that would otherwise be silently ignored.
- Preserve Unicode in structured instructions and improve named input-validation errors.
- Add `answer_confidence` while retaining the existing `confidence` semantics.
- Report state truncation and options whose token spans collapse under the question budget.
- Update language detection and email cleaning to preserve real requests and improve multilingual routing.
- Preserve resident checkpoints during incremental preload and handle empty or language-neutral hints correctly.
- Protect the prompt-prefix LRU under concurrent preparation and bound cosine similarity results.

Validation: 176 local tests passed, plus 162 upstream email checks and 38 upstream language-statistics checks adapted to the MLX implementation. Lint, formatting, wheel/source-distribution builds, and strict distribution checks passed. Real-checkpoint accuracy and long-running memory benchmarks were not rerun.

Maintenance direction: prioritize native MLX implementations of upstream behavior over independent model variants, service APIs, and additional demos.

Future `vX.Y.Z` tag pushes now run the test/build/publish workflow and create a GitHub release automatically.

Related Repositories