mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 07:00:26 +08:00
#924 and #921 each added a magic string to the capability↔runtime contract — ``end_loop`` read by the chat pipeline, ``agent_output`` / ``event_metadata`` read by the orchestrator — discoverable only by reading the code that consumes them. An out-of-tree capability had to guess. Declare the three in deeptutor/capabilities/protocol.py, beside the interface a capability author is already reading, with the semantics stated once. Turn metadata stays a scratchpad; these are just the keys that leave it.