Skip to content
Open
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ breaking changes may land in a minor release.

### Changed

- Pinned a target version for the deprecated `[engine]` settings block (#810).
- Register hooks through the installed `bmad-loop relay <Event>` command. Upgrading
invalidates Codex hook trust: Codex re-prompts at the next launch, and hooks silently
do not fire until the new commands are accepted. Re-run `bmad-loop init` to migrate
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.13.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 @@ -1322,7 +1322,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.13.0 (tracked in #810).",
DeprecationWarning,
stacklevel=3,
)
Expand Down