What to proceed with, and why
The READY issues in the plan's hand-out order (the asked milestone first, then wave, priority and id, as `plan.next`), each refused when another worker holds it: a live mesh claim names it as its issue or a hold claims its record (`claimed`), a board or mesh announcement names its id as a word of its own (`named`, quoted beside it), or a live exclusive mesh claim of another session meets its scope (`scope_held`); advisory holds over its scope are listed as `shared_with` and refuse nothing. The first issue nothing refuses is `selected`, with what it unblocks, what finishes it and the commands that take it; `reason` says why in one sentence, and `sources` whether the board and the mesh could be read. A decision that could not read the board, or a declared mesh, is `provisional` and gives no commands. The caller's own session (its mesh claims on this runtime, and its board announcements) is never held against it; a session of the same name on another runtime is another worker. Composed by the server holding this checkout's lease, which holds the board and the mesh; the command line asks it. Writes nothing.
- query
- behaviorally_verified
- vyžaduje se měření výkonu
- cache vypnuta
- MCP tool majordomus_proceed_plan
- $ proceed plan
Parametry dotazu
| název | typ | povinné | popis | příklady |
|---|---|---|---|---|
| milestone | string | ne | The milestone whose READY issues come first; the active milestone when absent. The rest of the plan follows it, as for `plan.next`. | milestone_and_session: "a-session-proceeds" |
| session | string | ne | The mesh session the decision is for, whose own claims are not held against it. Absent, the calling MCP session's board session (`board-<peer>`); over the command line, none. | milestone_and_session: "board-p1" |
| lokální | boolean | ne | Skládat v procesu, který odpovídá, a nikdy se neptat držitele leasu checkoutu: co říká přeposlaný požadavek, aby se nikdy nepřeposílal znovu. | výchozí: falsemilestone_and_session: true |
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/proceed/plan?milestone=a-session-proceeds&session=board-p1&local=false"
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 | ProceedDecision | What to proceed with, and why: 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. |