The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(agent): pet — keep STATE_ALIASES insertion order
Tekniumcc2afd78ee0b
diff --git a/agent/pet/constants.py b/agent/pet/constants.pyindex fc291c1dc12..1167966984c 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")}