Fork Horse repository, listed by its owner. Publisher snapshot.
packages/forkhorse-mcp/__tests__/judge-capture.fixture.json
Snapshot at 34e3175
1{
2 "fixture": "FH-063b offline fixed-contract MCP capture, not live authorization or deployment evidence",
3 "captures": [
4 {
5 "tool": "list_judge_races",
6 "args": {
7 "project": "demo"
8 },
9 "response": {
10 "races": [
11 {
12 "packet": "FH-judge",
13 "status": "open",
14 "finishedAt": null,
15 "winner": null,
16 "ledgerEntryId": null,
17 "places": [],
18 "entrants": [
19 {
20 "agent": "builder",
21 "repoName": "demo--builder-1",
22 "claimedAt": "2026-01-01T00:00:00.000Z",
23 "firstPushAt": "2026-01-01T00:00:00.000Z",
24 "reviewRequestedAt": "2026-01-01T00:00:00.000Z",
25 "receiptPassedAt": "2026-01-01T00:00:00.000Z",
26 "approvedAt": null,
27 "promotedAt": null,
28 "place": null,
29 "closedAt": null,
30 "closedBy": null,
31 "promoteRejected": null,
32 "usage": {
33 "reported": {
34 "inputTokens": 120,
35 "outputTokens": 40,
36 "source": "reported",
37 "at": "2026-01-01T00:00:00.000Z"
38 },
39 "metered": null
40 }
41 },
42 {
43 "agent": "second",
44 "repoName": "demo--second-1",
45 "claimedAt": "2026-01-01T00:00:00.000Z",
46 "firstPushAt": "2026-01-01T00:00:00.000Z",
47 "reviewRequestedAt": "2026-01-01T00:00:00.000Z",
48 "receiptPassedAt": "2026-01-01T00:00:00.000Z",
49 "approvedAt": null,
50 "promotedAt": null,
51 "place": null,
52 "closedAt": null,
53 "closedBy": null,
54 "promoteRejected": null,
55 "usage": {
56 "reported": null,
57 "metered": null
58 }
59 }
60 ],
61 "judge": "judge",
62 "verdict": null
63 }
64 ]
65 }
66 },
67 {
68 "tool": "get_review",
69 "args": {
70 "project": "demo",
71 "review": "review-builder"
72 },
73 "response": {
74 "review": {
75 "id": "review-builder",
76 "packet": "FH-judge",
77 "agent": "builder",
78 "repoName": "demo--builder-1",
79 "sha": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
80 "base": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
81 "createdAt": "2026-01-01T00:00:00.000Z",
82 "stale": false,
83 "promoted": false,
84 "returned": null,
85 "approval": null,
86 "receipt": {
87 "status": "passed",
88 "digest": "fixture-digest",
89 "durationMs": 40,
90 "checks": []
91 },
92 "usageAtReview": {
93 "reported": {
94 "inputTokens": 120,
95 "outputTokens": 40,
96 "source": "reported",
97 "at": "2026-01-01T00:00:00.000Z"
98 },
99 "metered": null
100 }
101 },
102 "packet": {
103 "id": "FH-judge",
104 "title": "Judge fixture",
105 "goal": "Offline contract validation",
106 "paths": [
107 "src/"
108 ],
109 "acceptance": [
110 "Workerd fixture"
111 ]
112 },
113 "changes": {
114 "base": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
115 "head": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
116 "fileCount": 1,
117 "truncated": false,
118 "files": [
119 {
120 "path": "src/changed file.ts",
121 "status": "modified"
122 }
123 ]
124 },
125 "commits": [],
126 "commitsTruncated": false,
127 "promotion": null,
128 "blockers": []
129 }
130 },
131 {
132 "tool": "get_review_diff",
133 "args": {
134 "project": "demo",
135 "review": "review-builder",
136 "path": "src/changed file.ts"
137 },
138 "response": {
139 "path": "src/changed file.ts",
140 "status": "modified",
141 "binary": false,
142 "truncated": false,
143 "patch": "--- a/src/changed file.ts\n+++ b/src/changed file.ts\n@@ -1 +1 @@\n-fixture before\n+fixture after\n"
144 }
145 },
146 {
147 "tool": "submit_verdict",
148 "args": {
149 "project": "demo",
150 "packet": "FH-judge",
151 "ranking": [
152 "second",
153 "builder"
154 ],
155 "rationale": "Receipts pass; compare diff size and elapsed time. Tokens are reported, not independently measured. This ranking is advice; the owner promotes."
156 },
157 "response": {
158 "verdict": {
159 "ranking": [
160 "second",
161 "builder"
162 ],
163 "rationale": "Receipts pass; compare diff size and elapsed time. Tokens are reported, not independently measured. This ranking is advice; the owner promotes.",
164 "at": "2026-01-01T00:01:00.000Z"
165 }
166 }
167 },
168 {
169 "tool": "list_judge_races",
170 "args": {
171 "project": "demo"
172 },
173 "response": {
174 "races": [
175 {
176 "packet": "FH-judge",
177 "status": "open",
178 "finishedAt": null,
179 "winner": null,
180 "ledgerEntryId": null,
181 "places": [],
182 "entrants": [
183 {
184 "agent": "builder",
185 "repoName": "demo--builder-1",
186 "claimedAt": "2026-01-01T00:00:00.000Z",
187 "firstPushAt": "2026-01-01T00:00:00.000Z",
188 "reviewRequestedAt": "2026-01-01T00:00:00.000Z",
189 "receiptPassedAt": "2026-01-01T00:00:00.000Z",
190 "approvedAt": null,
191 "promotedAt": null,
192 "place": null,
193 "closedAt": null,
194 "closedBy": null,
195 "promoteRejected": null,
196 "usage": {
197 "reported": {
198 "inputTokens": 120,
199 "outputTokens": 40,
200 "source": "reported",
201 "at": "2026-01-01T00:00:00.000Z"
202 },
203 "metered": null
204 }
205 },
206 {
207 "agent": "second",
208 "repoName": "demo--second-1",
209 "claimedAt": "2026-01-01T00:00:00.000Z",
210 "firstPushAt": "2026-01-01T00:00:00.000Z",
211 "reviewRequestedAt": "2026-01-01T00:00:00.000Z",
212 "receiptPassedAt": "2026-01-01T00:00:00.000Z",
213 "approvedAt": null,
214 "promotedAt": null,
215 "place": null,
216 "closedAt": null,
217 "closedBy": null,
218 "promoteRejected": null,
219 "usage": {
220 "reported": null,
221 "metered": null
222 }
223 }
224 ],
225 "judge": "judge",
226 "verdict": {
227 "ranking": [
228 "second",
229 "builder"
230 ],
231 "rationale": "Receipts pass; compare diff size and elapsed time. Tokens are reported, not independently measured. This ranking is advice; the owner promotes.",
232 "at": "2026-01-01T00:01:00.000Z"
233 }
234 }
235 ]
236 }
237 }
238 ]
239}
240