Python · 551 bytes Raw Blame History
1 """v13 → v14 migrator: additive auto-mined preference metadata markers.
2
3 Adds additive metadata on ``::preference::`` sections — ``auto_mined``
4 plus judge provenance / scores / timestamps. These live in body-side
5 magic-comment markers rather than frontmatter, so existing v13
6 documents migrate as pure identity. The schema still advances so
7 migration-aware tooling can distinguish docs written before the mining
8 loop existed.
9 """
10
11 from __future__ import annotations
12
13
14 def migrate(raw: dict[str, object]) -> dict[str, object]:
15 return dict(raw)