trace.commit
Jeden commit s úkolem a milníkem, kterým sloužil, nebo fakt, že žádný nelze najít. Přičtený, když ho drží větve právě jednoho úkolu, nejednoznačný, když ho drží větve pojmenovávající dva úkoly, a nepřičtený, když ho nedrží žádná větev pojmenovávající úkol — což je buď práce commitnutá bez kontraktu provedení, nebo větev smazaná po svém mergi, a odpověď to říká, místo aby mezi nimi hádala.
Jeden commit s úkolem a milníkem, kterým sloužil, nebo fakt, že žádný nelze najít. Přičtený, když ho drží větve právě jednoho úkolu, nejednoznačný, když ho drží větve pojmenovávající dva úkoly, a nepřičtený, když ho nedrží žádná větev pojmenovávající úkol — což je buď práce commitnutá bez kontraktu provedení, nebo větev smazaná po svém mergi, a odpověď to říká, místo aby mezi nimi hádala.
- query
- behaviorally_verified
- module trace
- #trace
- #git
- #plan
- #commit
- #provenance
Zpřístupnění
Kde je tato jedna definice dosažitelná. Absence je explicitní: povrch, který není uveden, ji nenese.
| povrch | jako |
|---|---|
| MCP | nástroj majordomus_trace_commit |
| HTTP | GET /api/v1/trace/commit operationId trace.commit |
| příkazová řádka | — |
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 · TraceCommitInput
| vlastnost | typ | povinné | popis |
|---|---|---|---|
| commit | string | ano | Cokoli, co git vyřeší na commit: úplné nebo zkrácené jméno objektu, ref, HEAD, master~3. |
JSON Schema
{
"additionalProperties": false,
"description": "One commit.",
"properties": {
"commit": {
"description": "Anything git resolves to a commit: a full or abbreviated object name, a ref, `HEAD`,\n`master~3`.",
"type": "string"
}
},
"required": [
"commit"
],
"title": "TraceCommitInput",
"type": "object"
}výstup · CommitAttribution
| vlastnost | typ | povinné | popis |
|---|---|---|---|
| připsání | reference | ano | Co je známo. |
| branches | array | ano | Větve, které jej obsahují, pod názvy, které nesou jejich refs. |
| commit | reference | ano | Commit. |
| issue | string | null | ne | Úkol, pokud si ho nárokuje právě jeden. |
| úkoly | array | ano | Každý úkol, jehož větve jej obsahují: jeden, když je přiřazen, žádný, když není přiřazen, více než jeden, když je nejednoznačný. |
| milestone | string | null | ne | Milník, do kterého úkol patří, doplňuje volající, který má index. |
| důvod | string | ano | Proč je verdikt takový, jaký je, v jednom řádku, podle kterého lze jednat. |
JSON Schema
{
"$defs": {
"Attribution": {
"description": "What is known about the contract one commit served.",
"oneOf": [
{
"const": "attributed",
"description": "Exactly one issue's branches contain it.",
"type": "string"
},
{
"const": "unattributed",
"description": "No branch naming an issue contains it.",
"type": "string"
},
{
"const": "ambiguous",
"description": "Branches naming more than one issue contain it.",
"type": "string"
}
]
},
"CommitRef": {
"description": "One commit, exactly as git names it. Nothing here is stored anywhere: the whole record\nis re-read from the object database on every call.",
"properties": {
"author": {
"description": "The author, as the commit records them.",
"type": "string"
},
"date": {
"description": "The author date, ISO 8601 as the commit records it.",
"type": "string"
},
"id": {
"description": "The full object name.",
"type": "string"
},
"short": {
"description": "The abbreviated object name, as this repository abbreviates it.",
"type": "string"
},
"subject": {
"description": "The subject line.",
"type": "string"
}
},
"required": [
"id",
"short",
"author",
"date",
"subject"
],
"type": "object"
}
},
"description": "One commit and the contract it served, or the fact that none can be found.",
"properties": {
"attribution": {
"$ref": "#/$defs/Attribution",
"description": "What is known."
},
"branches": {
"description": "The branches that contain it, by the names their refs carry.",
"items": {
"type": "string"
},
"type": "array"
},
"commit": {
"$ref": "#/$defs/CommitRef",
"description": "The commit."
},
"issue": {
"description": "The issue, when exactly one claims it.",
"type": [
"string",
"null"
]
},
"issues": {
"description": "Every issue whose branches contain it: one when attributed, none when unattributed,\nmore than one when ambiguous.",
"items": {
"type": "string"
},
"type": "array"
},
"milestone": {
"description": "The milestone that issue belongs to, filled by the caller that has the index.",
"type": [
"string",
"null"
]
},
"reason": {
"description": "Why the verdict is what it is, in one line a person can act on.",
"type": "string"
}
},
"required": [
"commit",
"attribution",
"issues",
"branches",
"reason"
],
"title": "CommitAttribution",
"type": "object"
}Politiky
- benchmark
- povinné — cíl na každém transportu, který expozice deklaruje; případy jsou ty ze vstupního typu
- 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.