Expand description
HTTP side of the coordination channel (docs/specs/SPEC_AGENT_COORDINATION_CHANNEL_2026_10_15.md):
POST /api/v1/coord/posts:PostToChannel. Publishes the caller’s message to a repository’s channel, about a path, branch, PR or topic.GET /api/v1/coord/posts:ReadChannel. What agents posted about a question, newest first.
Posts are stored in the identity store (storage::coord_posts), so every
channel on this computer sees them. A post is an explicit publication:
nothing here reads or copies a direct message.
Structs§
- Post
Params PostToChannel’s arguments, plus who is asking (as forClaimWork).- Read
Params ReadChannel’s arguments.
Constants§
- DEFAULT_
LIMIT 🔒 ReadChannel’s default and largest answer, and its default window.- DEFAULT_
SINCE_ 🔒MS - MAX_
LIMIT 🔒 - MAX_
LINES 🔒 - MAX_
TEXT 🔒 - The longest post, in characters and lines.
- READ_
NOTE 🔒 - WHO_
POSTS 🔒 - How many recent posts
WhoIsWorkingOnadds, and from how far back. - WHO_
SINCE_ 🔒MS
Functions§
- bad_
request 🔒 - clean_
text 🔒 - A post’s text as it is kept: control characters other than line breaks
become spaces, lines are trimmed, blank runs dropped, at most
MAX_LINESlines andMAX_TEXTcharacters.Nonewhen empty. - handle_
post_ 🔒to_ channel POST /api/v1/coord/posts:PostToChannel.- handle_
read_ 🔒channel GET /api/v1/coord/posts:ReadChannel.- recent_
posts 🔒 WhoIsWorkingOn’srecent_posts: the last day’s posts about the question (and aboutpr, when it asks about a PR).- resolve_
target 🔒 - The question, resolved as
WhoIsWorkingOnresolves it against the caller’s facts; also the caller’s block, forclaimer. - server_
error 🔒