Versioning and releases¶
Stability & Versioning¶
Mnemo AI follows Semantic Versioning. The public surface that versioning protects is:
- Config keys in
config.yaml(theMODEL_ID/VISION_MODEL_ID/RAG.EMBED_MODEL_IDfields, theENABLE_*/REQUIRE_*toggles, and the documented section keys). - Prompt keys in
prompts.yaml(SYSTEM_PROMPT,ROUTING_PROMPT,ORCHESTRATOR_PROMPT,AGGREGATOR_PROMPT,SUMMARY_SYSTEM_PROMPT,SUMMARY_TASK_PROMPT). These live inprompts.yaml, notconfig.yaml(keys left inconfig.yamlare ignored with a migration warning). - The
mcp.jsonschema for external MCP servers (mcpServerswithcommand/args/env/disabled). - The
hooks.jsonschema for tool hooks (the event names,matcher/type/command/timeout, and the exit-code + stdout-JSON contract) — see Tool hooks. - CLI commands (
/config,/model,/params,/features,/mcp,/hooks,/memory,/skills,/plan,/auto,/compact,/clear,/save,/load,/rename,/doctor) and themnemoaiconsole command + its--no-verbose,--auto,--resume [SESSION_ID], and--continueflags. - The distribution/import name (
pip install mnemoai-assistant→import mnemoai).
Pre-1.0.0, minor releases may add features and occasionally adjust these. From 1.0.0 onward, a breaking change to any of the above bumps the major version; new backward-compatible features bump the minor; fixes bump the patch. Internal modules (anything under client/, server/, models/, utils/ not listed above) are not part of the public contract and may change between any releases. All changes are recorded in CHANGELOG.md.
Release Checklist¶
Before tagging a release:
- Unit tests + lint pass (also enforced by CI):
python -m pytest -m "not integration"andruff check --select I .. - Integration checks with a live model (
PYTHONPATH=src python -m pytest -m integration, or manually drive the app and verify). Point the run at a specific provider withMNEMOAI_CONFIG=/path/to/config.yaml. Model behavior can vary: investigate failures, retain their evidence, and distinguish application bugs from provider or model behavior. A passing rerun does not erase an earlier failure. Verify that: - a greeting / simple Q&A returns a non-empty answer;
- a tool-backed query runs a tool (e.g. "list files here") and the
[⚙ …]marker fires; - routing handles ordinary tasks directly and useful independent work can be delegated and completed;
- plan mode:
/planon → an edit/bash request is blocked;/planoff → it proceeds; - an external MCP tool (from
mcp.json) is callable. - Update
CHANGELOG.md— moveUnreleaseditems under the new version + date. - Bump
versioninpyproject.toml. - Build + validate:
uv buildthentwine check dist/*. - Publish the authorized release using the repository's current Git and release workflow. Verify CI and the GitHub artifacts. A GitHub release and a PyPI upload are separate publication steps; run
twine upload dist/*only when PyPI publication is part of the release.