Python · 517 bytes Raw Blame History
1 """v5 → v6 migrator: additive `training.sources` + `training.sources_policy`.
2
3 v6 introduces two optional fields that let a `.dlm` declare file-tree
4 directives instead of inlining every byte. A v5 document without
5 them parses as v6 unchanged — this migrator is pure identity, present
6 only to satisfy the migration-framework coverage contract
7 (`test_all_versions_have_migrator_up_to_latest`).
8 """
9
10 from __future__ import annotations
11
12
13 def migrate(raw: dict[str, object]) -> dict[str, object]:
14 return dict(raw)