A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live
distribution.build
This build
What it is
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.
Descriptor
- Canonical id
distribution.build- Module
distribution- Kind
- query
- Stability
- behaviorallyverified
- Provenance
- declared
- Source
apps/majordomus-cli/src/capability/builtin/distribution.rs- Cache
disabled- Benchmark
required- Tags
- distributionintrospection
Run
queryA query. It reads and changes nothing.
Projections
| Interface | As | Where |
|---|---|---|
| MCP tool | majordomus_build | - |
| MCP resource | not exposed | - |
| HTTP | GET /api/v1/distribution/build | Swagger |
| Command line | majordomus distribution build | - |
Schemas
Input · Empty
{
"type": "object",
"additionalProperties": false,
"description": "No input.",
"title": "Empty"
}Output · BuildReport
{
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "The version of the crate this executable was built from."
},
"target": {
"type": "string",
"description": "The Rust target triple it was built for; the model names a target by the same string."
},
"profile": {
"type": "string",
"description": "The cargo profile."
},
"commit": {
"type": "string",
"description": "The commit, or `unknown` when it was built outside a work tree."
},
"distribution_target": {
"type": [
"string",
"null"
],
"description": "The target of the model this build matches, when the model declares one for the triple."
}
},
"required": [
"version",
"target",
"profile",
"commit"
],
"description": "What this executable is: enough to tell two builds apart without asking a repository.",
"title": "BuildReport"
}Examples
These are the capability's own benchmark cases: the same inputs the benchmark runs and the OpenAPI document shows.
default
{}