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
Ring-buffered TrackEntry[512] keyed on client_kind (DD-29). Window rule
(DD-28): include entries within last 7 days OR among last 20 attempts
per (kind, tag), whichever set is larger.
FFI: coord_report_outcome(token, tag, outcome, duration_ms, risk_tier),
coord_get_affinities(token, out) returning 64-byte packed records
(client_kind, attempts, successes, affinity_pct, tag).
Replay dispatcher now reconstructs the ring from track_update events
with original timestamps preserved. Adapter renders affinities as JSON.
Cartridge.json + tools.js + main.js dispatch updated.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: cartridges/local-coord-mcp/cartridge.json
+60-1Lines changed: 60 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -298,7 +298,66 @@
298
298
"type": "object"
299
299
},
300
300
"name": "coord_reject"
301
+
},
302
+
{
303
+
"description": "Report the outcome of a claim or attempted op against an affinity tag. Aggregated into the track record keyed on client_kind (survives peer restart). Feeds effective_affinity + reassignment suggestions.",
304
+
"inputSchema": {
305
+
"properties": {
306
+
"duration_ms": {
307
+
"description": "Wall-time duration of the op in ms (optional, default 0)",
308
+
"minimum": 0,
309
+
"type": "integer"
310
+
},
311
+
"outcome": {
312
+
"description": "'success' or 'fail' (or 1/0)",
313
+
"enum": [
314
+
"success",
315
+
"fail"
316
+
],
317
+
"type": "string"
318
+
},
319
+
"risk_tier": {
320
+
"description": "Risk tier of the op (0-4)",
321
+
"maximum": 4,
322
+
"minimum": 0,
323
+
"type": "integer"
324
+
},
325
+
"tag": {
326
+
"description": "Affinity tag the op belongs to (e.g. 'proof-analysis', 'routine-edit')",
327
+
"maxLength": 64,
328
+
"type": "string"
329
+
},
330
+
"token": {
331
+
"description": "Session token from coord_register",
332
+
"type": "string"
333
+
}
334
+
},
335
+
"required": [
336
+
"token",
337
+
"tag",
338
+
"outcome",
339
+
"risk_tier"
340
+
],
341
+
"type": "object"
342
+
},
343
+
"name": "coord_report_outcome"
344
+
},
345
+
{
346
+
"description": "Return per-(client_kind, tag) effective_affinity computed over the last 20 attempts OR last 7 days (whichever is larger). Used by Opus to drive attester selection (DD-27) and reassignment suggestions (DD-28).",
347
+
"inputSchema": {
348
+
"properties": {
349
+
"token": {
350
+
"description": "Session token from coord_register",
0 commit comments