Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.7 KB

File metadata and controls

71 lines (52 loc) · 1.7 KB

Who Protocol Version Check

Current Implementation

All files are using version 0.1 - MATCHES THE SPEC

Files Checked:

  1. who_protocol.txt (Specification)

    Version: 0.1 (Draft)
    Date: January 2026
    Status: Proposal
    
  2. code/who_handler.py (Implementation)

    WHO_PROTOCOL_VERSION = "0.1"
    • Used in _build_response() for _meta.version
    • Used in _build_error_response() for _meta.version
  3. code/agent_finder.py (Server)

    • Returns version "0.1" in all responses
    • MCP endpoint uses version "0.1" in responses

Google Doc Reference

The Google Doc you referenced:

https://docs.google.com/document/d/1wvRdVwNagCu1M-caJhqjqb0nQNx4GF4pv_6v8QBD27s/edit

This is the same document that was saved to who_protocol.txt and shows:

  • Version: 0.1 (Draft)

Conclusion

YES - Protocol version matches

All components in this repo are using version 0.1, which matches the specification document.

Version is used in:

  • Response _meta.version field (Section 6)
  • Error _meta.version field (Section 6.2)
  • Request meta.version field (Section 3.2) - optional parameter

Response Format (per spec):

{
  "_meta": {
    "response_type": "answer",
    "version": "0.1",        ← Version here
    "result_count": 3
  },
  "results": [...]
}

Version Constant Location

If you ever need to update the version, change it in one place:

File: code/who_handler.py Line: 20

WHO_PROTOCOL_VERSION = "0.1"

This constant is used throughout the codebase for all version references.