The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: retain authority backpressure execution receipt
Teknium47ce83d6ff88
diff --git a/tests/gateway/fixtures/authority_events_peer.py b/tests/gateway/fixtures/authority_events_peer.pyindex b4a0e8de2ad..3f818be0521 100644--- a/tests/gateway/fixtures/authority_events_peer.py+++ b/tests/gateway/fixtures/authority_events_peer.py@@ -116,9 +116,13 @@ def main():assert not errors, errorsassert before_release, 'OS-full observer blocked real authority producer before reader release'assert healthy_completed, 'healthy observer did not complete before stalled reader release'- print(json.dumps({'os_buffer_full_bytes': filled, 'producer_returned_before_release': before_release,- 'healthy_completed_before_release': healthy_completed,- 'model_calls': len(peer.requests)}))+ # TUI imports may replace stdout with their protocol-safe logger.+ import sys+ sys.__stdout__.write(json.dumps({'os_buffer_full_bytes': filled,+ 'producer_returned_before_release': before_release,+ 'healthy_completed_before_release': healthy_completed,+ 'model_calls': len(peer.requests)}) + '\n')+ sys.__stdout__.flush()if __name__ == '__main__':