Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ breaking changes may land in a minor release.

### Changed

- Pinned a target version for the deprecated `[engine]` settings block.

- **`bmad-loop diagnose --json` reports `schema_version: 4`.** Journal `path` values
become `path_present`; stale-restore and merge filename lists become counts.

Expand Down
6 changes: 3 additions & 3 deletions src/bmad_loop/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
_MUX_KEY_RE = re.compile(r"^\s*#?\s*backend\s*=")

# Deprecated [engine] keys, folded into [plugins.unity] at load time. The
# game-engine layer is now a plugin; [engine] is a one-release compatibility
# alias (see _fold_deprecated_engine).
# game-engine layer is now a plugin; [engine] is a compatibility alias slated
# for removal in 0.12.0 (see _fold_deprecated_engine, tracked in #810).
_ENGINE_SETTING_KEYS = ("editor_mode", "mcp", "unity_path", "ready_timeout_sec", "ready_grace_sec")


Expand Down Expand Up @@ -1258,7 +1258,7 @@ def _fold_deprecated_engine(
warnings.warn(
"[engine] in policy.toml is deprecated; the game-engine layer is now a "
'plugin. Use [plugins] enabled = ["unity"] with a [plugins.unity] table. '
"[engine] will be removed in a future release.",
"[engine] will be removed in 0.12.0 (tracked in #810).",
DeprecationWarning,
stacklevel=3,
)
Expand Down