mesh.enrol
Add this machine's public key to trust.allow of the repository's mesh declaration, under a comment naming the machine, creating the node identity first when there is none. Idempotent: a listed key changes nothing. The comments and every other line of the declaration stay as they were, and an edit that would not parse back as a declaration is refused before anything is written. Under deny_unknown a machine opens its mesh only once its key is listed, so this is the one step that joins a machine; commit the file and restart the server.
Add this machine's public key to trust.allow of the repository's mesh declaration, under a comment naming the machine, creating the node identity first when there is none. Idempotent: a listed key changes nothing. The comments and every other line of the declaration stay as they were, and an edit that would not parse back as a declaration is refused before anything is written. Under deny_unknown a machine opens its mesh only once its key is listed, so this is the one step that joins a machine; commit the file and restart the server.
- command
- experimentální
- modul mesh
- #mesh
- #identity
- #trust
Zpřístupnění
Kde je tato jedna definice dosažitelná. Absence je explicitní: povrch, který není uveden, ji nenese.
| povrch | jako |
|---|---|
| MCP | tool majordomus_mesh_enrol |
| HTTP | POST /api/v1/mesh/enrol operationId mesh.enrol |
| příkazová řádka | majordomus mesh enrol |
Schémata
Kanonický vstup a výstup z typů Rustu; schéma nástroje MCP a parametry a odpovědi OpenAPI se odvozují z nich.
vstup · Prázdné
Žádné vlastnosti: schopnost nebere žádný vstup.
JSON Schema
{
"additionalProperties": false,
"description": "No input.",
"title": "Empty",
"type": "object"
}output · MeshEnrolment
mesh.enrol: which declaration, which key, and whether it changed.| vlastnost | typ | povinné | popis |
|---|---|---|---|
| přidáno | boolean | ano | Whether the key was added now; false when it was listed already. |
| klíč | string | ano | This machine's public key: what is listed, never a secret. |
| next | string | ano | What to do next: commit the file, or nothing. |
| path | string | ano | Soubor deklarace, relativní k repozitáři. |
JSON Schema
{
"description": "The answer of `mesh.enrol`: which declaration, which key, and whether it changed.",
"properties": {
"added": {
"description": "Whether the key was added now; `false` when it was listed already.",
"type": "boolean"
},
"key": {
"description": "This machine's public key: what is listed, never a secret.",
"type": "string"
},
"next": {
"description": "What to do next: commit the file, or nothing.",
"type": "string"
},
"path": {
"description": "The declaration file, repository-relative.",
"type": "string"
}
},
"required": [
"path",
"key",
"added",
"next"
],
"title": "MeshEnrolment",
"type": "object"
}Politiky
- benchmark
- waived — prominuto: destructive
- cache
- vypnuto — každé volání spustí handler
Cíle benchmarku
Odvozeno z registru pro tento repozitář: jeden požadavek na transport a případy, které poskytuje typ vstupu. Celá matice je na stránce měření výkonu.
| transport | state | případy | targets |
|---|---|---|---|
| direct | prominuto (destruktivní) | 0 | |
| mcp | prominuto (destruktivní) | 0 | |
| http | prominuto (destruktivní) | 0 |