[Research] Protocol spec + gateway routing for research messages #75
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Add research message types to the Matrix protocol and wire gateway routing.
Protocol Additions (PROTOCOL.md)
research_request(World → Server)Any agent or browser can request research.
research_progress(Server → World)Sent by the researching agent each iteration.
research_complete(Server → World)Final result with full markdown report.
Gateway Changes (
server/gateway.py)Routing Rules
research_request→ route to targetagent_id(liketask_action)research_progress→ broadcast to all browsers (visual update)research_complete→ broadcast to all browsers + send to requesting agent if different_route_message additions
Add research types to the routing switch in
_route_message().Acceptance Criteria
research_requestto target agentresearch_progressandresearch_completeto browsersserver/test_gateway.pyDepends On
Nothing — can be done in parallel with engine + bridge work.
Closes
Closed via PR #76. All acceptance criteria met — 21/21 tests pass.