The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(gateway): the Desktop metadata probe reads pending/running only from the queue snapshot
Teknium502e236de594
diff --git a/tests/gateway/test_canonical_desktop_metadata.py b/tests/gateway/test_canonical_desktop_metadata.pyindex 9101a7bd7e5..ec1cf82887e 100644--- a/tests/gateway/test_canonical_desktop_metadata.py+++ b/tests/gateway/test_canonical_desktop_metadata.py@@ -44,6 +44,10 @@ def test_canonical_desktop_metadata_survives_create_info_and_reattach(tmp_path):info = event['payload']assert info['desktop_protocol'] == creator.subprotocolassert 'desktop_contract' not in info+ if 'pending' not in info:+ # The banner/inventory republish (turn end, title, reasoning) is not the+ # owner's queue snapshot; Desktop's lease/fence logic ignores it too.+ continuesaw_pending |= bool(info['pending'])finished = saw_pending and not info['pending'] and not info['running']await settled(home)