distribution.build
What this executable is: the version of the crate it was built from, the Rust target triple, the profile, and the commit — all compiled in at build time, so an installed binary answers without a repository, a toolchain or git.
What this executable is: the version of the crate it was built from, the Rust target triple, the profile, and the commit — all compiled in at build time, so an installed binary answers without a repository, a toolchain or git.
- query
- behaviorally_verified
- module distribution
- #distribution
- #introspection
Exposure
Where this one definition is reachable. Absence is explicit: a surface not listed does not carry it.
| surface | as |
|---|---|
| MCP | tool majordomus_build |
| HTTP | GET /api/v1/distribution/build operationId distribution.build |
| command line | majordomus distribution build |
Schemas
The canonical input and output, from the Rust types; the MCP tool schema and the OpenAPI parameters and responses are derived from these.
input · Empty
No input.
No properties: the capability takes no input.
JSON Schema
{
"additionalProperties": false,
"description": "No input.",
"title": "Empty",
"type": "object"
}output · BuildReport
What this executable is: enough to tell two builds apart without asking a repository.
| property | type | required | description |
|---|---|---|---|
| commit | string | yes | The commit, or `unknown` when it was built outside a work tree. |
| distribution_target | string | null | no | The target of the model this build matches, when the model declares one for the triple. |
| profile | string | yes | The cargo profile. |
| target | string | yes | The Rust target triple it was built for; the model names a target by the same string. |
| version | string | yes | The version of the crate this executable was built from. |
JSON Schema
{
"description": "What this executable is: enough to tell two builds apart without asking a repository.",
"properties": {
"commit": {
"description": "The commit, or `unknown` when it was built outside a work tree.",
"type": "string"
},
"distribution_target": {
"description": "The target of the model this build matches, when the model declares one for the triple.",
"type": [
"string",
"null"
]
},
"profile": {
"description": "The cargo profile.",
"type": "string"
},
"target": {
"description": "The Rust target triple it was built for; the model names a target by the same string.",
"type": "string"
},
"version": {
"description": "The version of the crate this executable was built from.",
"type": "string"
}
},
"required": [
"version",
"target",
"profile",
"commit"
],
"title": "BuildReport",
"type": "object"
}Policies
- benchmark
- required — a target on every transport the exposure declares; the cases are the input type's
- cache
- disabled — every call runs the handler
Benchmark targets
Derived from the registry for this repository: one requirement per transport, and the cases the input type provides. The whole matrix is on the benchmarks page.