You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(openapi): document the five repo maintainer-report routes in the spec
The maintainer-noise, ams-miner-cohort, gate-precision, outcome-calibration,
and activation-preview GET routes are all live and maintainer-authenticated with
an MCP tool counterpart, but none appeared in the generated OpenAPI spec.
MaintainerNoiseReport and AmsMinerCohortComparison were even registered as
components yet never attached to a path.
Add registerPath entries for all five, define GatePrecisionResponse,
OutcomeCalibrationResponse, and ActivationPreviewResponse schemas mirroring
their MCP tools' output shapes field-for-field, and regenerate the committed
openapi.json. A regression test asserts each path is documented with a 200
response referencing a component whose keys match its MCP tool shape.
"description": "Caller is not a maintainer of this repo"
19513
+
}
19514
+
},
19515
+
"security": [
19516
+
{
19517
+
"LoopOverBearer": []
19518
+
},
19519
+
{
19520
+
"LoopOverSessionCookie": []
19521
+
}
19522
+
]
19523
+
}
19524
+
},
19525
+
"/v1/repos/{owner}/{repo}/ams-miner-cohort": {
19526
+
"get": {
19527
+
"summary": "AMS-vs-human contributor-mix cohort comparison for a repo (#6488)",
19528
+
"parameters": [
19529
+
{
19530
+
"schema": {
19531
+
"type": "string"
19532
+
},
19533
+
"required": true,
19534
+
"name": "owner",
19535
+
"in": "path"
19536
+
},
19537
+
{
19538
+
"schema": {
19539
+
"type": "string"
19540
+
},
19541
+
"required": true,
19542
+
"name": "repo",
19543
+
"in": "path"
19544
+
}
19545
+
],
19546
+
"responses": {
19547
+
"200": {
19548
+
"description": "AMS-miner vs human cohort metrics over the comparison window; `present: false` (never a 404) when the AMS reputation bridge is off or the repo has no submitter activity (mirrors loopover_get_ams_miner_cohort)",
"description": "Caller is not a maintainer of this repo"
19621
+
}
19622
+
},
19623
+
"security": [
19624
+
{
19625
+
"LoopOverBearer": []
19626
+
},
19627
+
{
19628
+
"LoopOverSessionCookie": []
19629
+
}
19630
+
]
19631
+
}
19632
+
},
19633
+
"/v1/repos/{owner}/{repo}/outcome-calibration": {
19634
+
"get": {
19635
+
"summary": "Slop-band and recommendation outcome calibration for a repo (#543)",
19636
+
"parameters": [
19637
+
{
19638
+
"schema": {
19639
+
"type": "string"
19640
+
},
19641
+
"required": true,
19642
+
"name": "owner",
19643
+
"in": "path"
19644
+
},
19645
+
{
19646
+
"schema": {
19647
+
"type": "string"
19648
+
},
19649
+
"required": true,
19650
+
"name": "repo",
19651
+
"in": "path"
19652
+
},
19653
+
{
19654
+
"schema": {
19655
+
"type": "integer",
19656
+
"minimum": 0,
19657
+
"exclusiveMinimum": true
19658
+
},
19659
+
"required": false,
19660
+
"name": "windowDays",
19661
+
"in": "query"
19662
+
}
19663
+
],
19664
+
"responses": {
19665
+
"200": {
19666
+
"description": "Read-only measurement of whether higher slop bands merge less often and how agent recommendations are panning out over the optional window (mirrors loopover_get_outcome_calibration)",
"description": "Caller is not a maintainer of this repo"
19680
+
}
19681
+
},
19682
+
"security": [
19683
+
{
19684
+
"LoopOverBearer": []
19685
+
},
19686
+
{
19687
+
"LoopOverSessionCookie": []
19688
+
}
19689
+
]
19690
+
}
19691
+
},
19692
+
"/v1/repos/{owner}/{repo}/activation-preview": {
19693
+
"get": {
19694
+
"summary": "Maintainer activation preview over recent PRs for a repo (#701)",
19695
+
"parameters": [
19696
+
{
19697
+
"schema": {
19698
+
"type": "string"
19699
+
},
19700
+
"required": true,
19701
+
"name": "owner",
19702
+
"in": "path"
19703
+
},
19704
+
{
19705
+
"schema": {
19706
+
"type": "string"
19707
+
},
19708
+
"required": true,
19709
+
"name": "repo",
19710
+
"in": "path"
19711
+
}
19712
+
],
19713
+
"responses": {
19714
+
"200": {
19715
+
"description": "Deterministic \"here's what LoopOver would have surfaced\" preview — evaluated/with-findings counts, distinct finding codes, per-PR samples, current review-check mode, and the single recommended next action (mirrors loopover_get_activation_preview)",
0 commit comments