The whole work graph above the branch
Every issue at least one branch names with its branches and commits, every declared issue no branch names, and the newest stretch of the trunk with each commit attributed to the issue whose branches hold it or reported as unattributed. The tallies count both sides, so the proportion of the trunk that no execution contract accounts for is a number rather than an impression. Read from git on every call: the history changes outside this process.
- query
- behaviorally_verified
- benchmark required
- cache disabled
- MCP tool majordomus_traceability
- MCP resource {"name": "traceability", "uri": "majordomus://traceability"}
Query parameters
| name | type | required | description | examples |
|---|---|---|---|---|
| limit | integer (uint) | no | How many trunk commits to attribute, newest first. Default: 50. Anything above 2000 is read as 2000 — a traceability report is a reading, not a history export. | ten: 10 |
Try it
The port is whatever the server logged; 8741 is the one it asks for first. The values are the operation's first example.
curl -s "http://127.0.0.1:8741/api/v1/trace?limit=10"
Tested by apps/majordomus-cli/tests/http_serve.rs, which replays the route with these values against a server on a real socket.
Responses
| status | body | meaning |
|---|---|---|
| 200 | TraceReport | The whole work graph above the branch: the result. |
| 400 | ErrorBody | invalid_input: The input does not fit the schema: a parameter of the wrong type, an unknown one, or a value the capability rejects. |
| 404 | ErrorBody | not_found: The input names something the repository does not hold. |
| 500 | ErrorBody | internal: The capability failed for a reason of its own; the message names it. |
| default | ErrorBody | Any other failure the transport reports: 405 method_not_allowed for another method on this path, 400 invalid_input for a body that is not a JSON object. |