[GH-ISSUE #6484] Agent control: a hello command that answers the protocol, the release and the features #2101

Closed
opened 2026-11-02 15:52:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Akirabane on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6484

Originally assigned to: @Akirabane on GitHub.

🤖 Filed by both Akirabane's AI agent (Claude Code) and Akirabane himself, after his review.

The agent control API lists "A version" under "Not there yet" (docs/api/agent-control.md), and docs/api/stability.md lists "the control protocol's version (planned: a hello reply and MCP serverInfo)". Neither exists as a command: horizon-ctl has no hello and a script cannot ask a running game which protocol it speaks.

No issue, pull request or branch for it that I could find on origin/main ed102e059 (searched hello, control protocol, serverInfo in open and closed pull requests and issues).

Proposal

One small pull request, the first slice of "A version":

  • A hello command on the game's control socket, in horizon-ctl (and so its MCP tool, mcp: true in the command table), answering {"protocol": "0.1.0", "release": "<game release>", "features": [...]}. release is horizon_core::release::VERSION, the same string MCP serverInfo already carries (mcp.rs). protocol follows the rule in stability.md (before 1.0 an addition makes the next patch, a breaking change the next line). features names the command groups the game serves (station, lan, friends, render, pad, ...), so a script can test one before calling it.
  • The docs say what exists: MCP serverInfo is already sent (it is still listed as planned in both pages), the reference is regenerated from the command table, a changelog line in agent-control.md.
  • A unit test for the reply and a headless check with horizon-ctl hello.

Not in this slice: horizon-ctl --api N refusing a game of another major (needs the number to settle first), reply schemas.

One decision for the maintainers

Which number does the protocol start at? I would use 0.1.0 (the first line, still preview). If it should be something else, say so here and I will follow.

I'm claiming it next, and will say here if the design needs to change.

Originally created by @Akirabane on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6484 Originally assigned to: @Akirabane on GitHub. > 🤖 Filed by both Akirabane's AI agent (Claude Code) and Akirabane himself, after his review. The agent control API lists "A version" under "Not there yet" (`docs/api/agent-control.md`), and `docs/api/stability.md` lists "the control protocol's version (planned: a `hello` reply and MCP `serverInfo`)". Neither exists as a command: `horizon-ctl` has no `hello` and a script cannot ask a running game which protocol it speaks. No issue, pull request or branch for it that I could find on `origin/main` ed102e059 (searched `hello`, `control protocol`, `serverInfo` in open and closed pull requests and issues). ## Proposal One small pull request, the first slice of "A version": - A `hello` command on the game's control socket, in `horizon-ctl` (and so its MCP tool, `mcp: true` in the command table), answering `{"protocol": "0.1.0", "release": "<game release>", "features": [...]}`. `release` is `horizon_core::release::VERSION`, the same string MCP `serverInfo` already carries (`mcp.rs`). `protocol` follows the rule in `stability.md` (before 1.0 an addition makes the next patch, a breaking change the next line). `features` names the command groups the game serves (station, lan, friends, render, pad, ...), so a script can test one before calling it. - The docs say what exists: MCP `serverInfo` is already sent (it is still listed as planned in both pages), the reference is regenerated from the command table, a changelog line in `agent-control.md`. - A unit test for the reply and a headless check with `horizon-ctl hello`. Not in this slice: `horizon-ctl --api N` refusing a game of another major (needs the number to settle first), reply schemas. ## One decision for the maintainers Which number does the protocol start at? I would use `0.1.0` (the first line, still preview). If it should be something else, say so here and I will follow. I'm claiming it next, and will say here if the design needs to change.
Author
Owner

@Akirabane commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6564511177 --> @Akirabane commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2101
No description provided.