From cc2afd78ee0bb054525bea2f09a403a7874fd53a Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 2 Sep 2026 19:46:38 -0700 Subject: [PATCH] =?UTF-8?q?refactor(agent):=20pet=20=E2=80=94=20keep=20STA?= =?UTF-8?q?TE=5FALIASES=20insertion=20order?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent/pet/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/pet/constants.py b/agent/pet/constants.py index fc291c1dc1..1167966984 100644 --- a/agent/pet/constants.py +++ b/agent/pet/constants.py @@ -76,7 +76,7 @@ STATE_ROWS: list[str] = CODEX_STATE_ROWS # Canonical Hermes names -> accepted row-name aliases in descending preference. _CODEX_NAMES = {"wave": "waving", "jump": "jumping", "run": "running"} STATE_ALIASES: dict[str, tuple[str, ...]] = { - s.value: (s.value, _CODEX_NAMES[s.value]) if s.value in _CODEX_NAMES else (s.value,) for s in PetState + s: (s, _CODEX_NAMES[s]) if s in _CODEX_NAMES else (s,) for s in ("idle", "wave", "jump", "run", "failed", "review", "waiting") }