Stability policy¶
What milk guarantees across versions, and what may change. The living record of changes is the changelog; this document is the contract a release may not break without a major version bump.
Stable within a major version (additive only)¶
From 1.0 onward these surfaces may gain new members — keys, fields, events, commands — but never remove, rename, or retype existing ones:
- Config file schema — every key of
~/.milk/config.jsonand<project>/.milk/config.json, including per-agent fields. Saves are forward-compatible: keys the running version does not recognize are preserved on write, and deleting a known key still persists (operations). Defaults may change between minors — every default change is announced in the changelog's upgrade notes together with its opt-out. - Machine-readable outputs —
--output-format stream-jsonevents and fields (formal contract: ADR-0049), the--output-format jsonterminal document, and the ACP surface (what is implemented today: acp-integration). Consumers must ignore fields they do not recognize. - Session store — fields in
~/.milk/sessions/*.jsonare additive-only, with the same forward-compatible save behavior as the config file. - CLI surface — existing flags keep their meaning; new flags are additive. Exit codes keep their documented meaning.
Not stable (may change in any release)¶
- TUI interaction details — keybindings beyond the documented core, panel layout, and transient status/hint text.
- Machine-managed state that is not listed above — memory percept files,
the task store, and observability JSONL output under
~/.milk/otel/are internal formats: they may be reorganized (and are rebuildable or migrated, never silently trusted as API). The rotatingmilk.logis for humans and log pipelines reading it defensively — its line format is not a contract. - Eval harness — scenario/rubric schema and report formats evolve with experiments; CLI flags stay additive where practical.
docs/internal/**, showcase tooling, and plugin seams (ADR-0104) — implementation detail until explicitly promoted.
Versioning rules¶
- 0.x (history —
v0.10.3was the last 0.x line): minor releases could break anything, but breaking changes carried a changelog entry with an upgrade note. Config and session files remain forward-compatible regardless — unknown keys survive version switches in both directions. - 1.0 and beyond (current since
v1.0.0): breaking changes to anything in the first section require a major bump; within a major, evolution is additive.
Defaults are not schema breaks¶
A changed default (for example tool_search: off → auto, or the switch to
prompt_layout: stable) is not a compatibility failure: the previous value
remains valid, is documented as the opt-out, and appears in the changelog's
upgrade notes. Judge default changes by their upgrade note, not as schema
breakage.