Who works on what, now
Every worker of this repository — attached to a checkout's board or in an active mesh session on any linked machine — with the client it is, what it announced, its checkout, branch, machine and claims (advisory or exclusive); the claims that meet (potential, or confirmed when both are exclusive or the mesh marked one conflicted); the open reviews and untaken handovers; typed relations between workers, verified only when an explicit identifier joins them; the newest signals with the monitor's cursor a follower resumes from; each source with how it was read, and whether the answer is complete. Reads only.
- query
- experimentální
- vyžaduje se měření výkonu
- cache vypnuta
- MCP tool majordomus_blackboard
- $ blackboard
Parametry dotazu
| název | typ | povinné | popis | příklady |
|---|---|---|---|---|
| checkouty | Checkouty | ne | Which checkouts' boards it covers: `repository` (every one, the default) or `this`. | addressed: "this"this-checkout: "this" |
| pro | string | ne | Comma-separated names of the reader — a worker (`1b`), a role, a login — so that the signals addressed to it are marked `for_you`. An MCP caller is also its own board session. | addressed: "1b" |
| signály | integer (uint64) | ne | How many of the newest signals of the last hour it carries (default 30, at most 200); 0 reads no signals at all, for a follower that reads them by its own cursor. | addressed: 10 |
| zdroje | string | ne | A comma-separated subset of the monitor's sources, `mesh`, `executor` and `github` (default: `mesh,executor`). | addressed: "mesh"this-checkout: "mesh,executor" |
Vyzkoušejte
Port je ten, který server zalogoval; 8741 je ten, o který žádá jako první. Hodnoty jsou první příklad operace.
curl -s "http://127.0.0.1:8741/api/v1/blackboard?checkouts=this&for=1b&signals=10&sources=mesh"
Testováno v apps/majordomus-cli/tests/http_serve.rs, který přehrává routu s těmito hodnotami proti serveru na skutečném socketu.
Odpovědi
| status | tělo | význam |
|---|---|---|
| 200 | Blackboard | Who works on what, now: the result. |
| 400 | ErrorBody | invalid_input: Vstup neodpovídá schématu: parametr špatného typu, neznámý parametr nebo hodnota, kterou schopnost odmítne. |
| 404 | ErrorBody | not_found: Vstup pojmenovává něco, co repozitář nemá. |
| 500 | ErrorBody | internal: Schopnost selhala z vlastního důvodu; zpráva ho pojmenovává. |
| výchozí | ErrorBody | Jakékoli jiné selhání, které transport hlásí: 405 method_not_allowed pro jinou metodu na této cestě, 400 invalid_input pro tělo, které není objektem JSON. |