tr-plugin-meta-harness 0.0.0-stage → 0.5.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/DESIGN.md +86 -0
  2. package/README.md +310 -2
  3. package/capability/BRICK.md +59 -0
  4. package/capability/index.mjs +675 -0
  5. package/cli.mjs +524 -0
  6. package/package.json +32 -4
  7. package/plugin.json +1714 -0
  8. package/skills/meta-harness/SKILL.md +75 -0
  9. package/src/adapters/dsh.mjs +446 -0
  10. package/src/adoption.mjs +102 -0
  11. package/src/agent-user.mjs +194 -0
  12. package/src/alerts.mjs +229 -0
  13. package/src/cascade.mjs +185 -0
  14. package/src/chat.mjs +80 -0
  15. package/src/codex-models.mjs +54 -0
  16. package/src/compat-harness.mjs +114 -0
  17. package/src/control.mjs +145 -0
  18. package/src/coordinator.mjs +307 -0
  19. package/src/dispatch-request.mjs +76 -0
  20. package/src/dispatch.mjs +119 -0
  21. package/src/documentation-authority.mjs +57 -0
  22. package/src/documentation.mjs +240 -0
  23. package/src/executor.mjs +161 -0
  24. package/src/gate-adapters/agy.mjs +155 -0
  25. package/src/gate-adapters/claude.mjs +303 -0
  26. package/src/gate-adapters/cline.mjs +111 -0
  27. package/src/gate-adapters/codex.mjs +164 -0
  28. package/src/gate-adapters/cursor.mjs +164 -0
  29. package/src/gate-adapters/devin.mjs +116 -0
  30. package/src/gate-adapters/dsh.mjs +284 -0
  31. package/src/gate-adapters/grok.mjs +112 -0
  32. package/src/gate-adapters/hermes.mjs +217 -0
  33. package/src/gate-adapters/hook-files.mjs +156 -0
  34. package/src/gate-adapters/index.mjs +131 -0
  35. package/src/gate-adapters/openclaw-plugin/gate-client.js +205 -0
  36. package/src/gate-adapters/openclaw-plugin/index.js +25 -0
  37. package/src/gate-adapters/openclaw-plugin/openclaw.plugin.json +9 -0
  38. package/src/gate-adapters/openclaw-plugin/package.json +15 -0
  39. package/src/gate-adapters/openclaw.mjs +288 -0
  40. package/src/gate-adapters/pi.mjs +146 -0
  41. package/src/gate.mjs +18 -0
  42. package/src/harness-updates.mjs +170 -0
  43. package/src/included-usage.mjs +344 -0
  44. package/src/jobs.mjs +135 -0
  45. package/src/json-reply.mjs +22 -0
  46. package/src/learner.mjs +120 -0
  47. package/src/maintenance.mjs +18 -0
  48. package/src/mcp-server.mjs +228 -0
  49. package/src/model-catalog.mjs +195 -0
  50. package/src/model-selection.mjs +67 -0
  51. package/src/paths.mjs +23 -0
  52. package/src/pool.mjs +69 -0
  53. package/src/process-manager.mjs +246 -0
  54. package/src/process-worker.mjs +18 -0
  55. package/src/reasoning.mjs +231 -0
  56. package/src/remote-operation.mjs +76 -0
  57. package/src/review.mjs +241 -0
  58. package/src/reviews.mjs +25 -0
  59. package/src/router-benchmark-corpus.mjs +16 -0
  60. package/src/router-benchmark.mjs +208 -0
  61. package/src/router.mjs +334 -0
  62. package/src/runtime.mjs +58 -0
  63. package/src/session/claude.mjs +358 -0
  64. package/src/session/codex.mjs +501 -0
  65. package/src/session/result.mjs +90 -0
  66. package/src/session/resume.mjs +393 -0
  67. package/src/session/run.mjs +258 -0
  68. package/src/session-jobs.mjs +77 -0
  69. package/src/setup.mjs +38 -0
  70. package/src/ssss-store.mjs +20 -0
  71. package/src/telemetry.mjs +267 -0
  72. package/src/termination.mjs +28 -0
  73. package/src/threads.mjs +150 -0
  74. package/src/tracker.mjs +133 -0
  75. package/src/usage-queue.mjs +137 -0
  76. package/src/verify-ssss.mjs +102 -0
  77. package/src/worker.mjs +1104 -0
  78. package/src/worktree.mjs +244 -0
  79. package/ui/chunks/adapter-docs-freshness.md +16 -0
  80. package/ui/chunks/chat-handoff.md +26 -0
  81. package/ui/chunks/fleet-maintenance.md +21 -0
  82. package/ui/chunks/harness-inventory.md +21 -0
  83. package/ui/chunks/included-access.md +18 -0
  84. package/ui/chunks/included-usage-verification.md +15 -0
  85. package/ui/chunks/independent-review.md +17 -0
  86. package/ui/chunks/managed-execution.md +20 -0
  87. package/ui/chunks/official-documentation.md +18 -0
  88. package/ui/chunks/quota-recovery.md +21 -0
  89. package/ui/chunks/review-routing-decision.md +16 -0
  90. package/ui/chunks/route-work.md +18 -0
  91. package/ui/chunks/routing-evidence.md +18 -0
  92. package/ui/chunks/run-ledger.md +18 -0
  93. package/ui/chunks/session-controls.md +16 -0
  94. package/ui/home.js +198 -0
package/plugin.json ADDED
@@ -0,0 +1,1714 @@
1
+ {
2
+ "id": "meta-harness",
3
+ "name": "Metaharness",
4
+ "version": "0.5.26",
5
+ "description": "Discover, configure, document, track, and run coding agent harnesses through Total Recall across mesh nodes.",
6
+ "gate": {
7
+ "tasks": [
8
+ "Run work in another agent harness",
9
+ "Choose which harness takes a task",
10
+ "Check harness versions, sign-in and quota",
11
+ "Read a harness's official documentation"
12
+ ],
13
+ "owned_commands": [
14
+ {
15
+ "pattern": "claude\\s+[^;&|]*(-p|--print)\\b",
16
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
17
+ },
18
+ {
19
+ "pattern": "codex\\s+exec\\b",
20
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
21
+ },
22
+ {
23
+ "pattern": "agy\\s+[^;&|]*(-p|--print)\\b",
24
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
25
+ },
26
+ {
27
+ "pattern": "cursor-agent\\s",
28
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
29
+ },
30
+ {
31
+ "pattern": "dsh\\s+[^;&|]*--profile\\s+headless\\b",
32
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
33
+ },
34
+ {
35
+ "pattern": "grok\\s+[^;&|]*-p\\b",
36
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
37
+ },
38
+ {
39
+ "pattern": "pi\\s+[^;&|]*--print\\b",
40
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
41
+ },
42
+ {
43
+ "pattern": "hermes\\s+chat\\b",
44
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
45
+ },
46
+ {
47
+ "pattern": "openclaw\\s+agent\\b",
48
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
49
+ },
50
+ {
51
+ "pattern": "aider\\s+[^;&|]*--message\\b",
52
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
53
+ },
54
+ {
55
+ "pattern": "goose\\s+run\\b",
56
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
57
+ },
58
+ {
59
+ "pattern": "cline\\s+task\\b",
60
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
61
+ },
62
+ {
63
+ "pattern": "muse\\s+exec\\b",
64
+ "use": "total-recall meta-harness route \"<task>\" --execute --json"
65
+ }
66
+ ]
67
+ },
68
+ "cli": {
69
+ "answers_help": true,
70
+ "command": "meta-harness",
71
+ "alias": "cli-agents",
72
+ "handler": "cli.mjs",
73
+ "subcommands": [
74
+ {
75
+ "name": "router-benchmark",
76
+ "description": "Evaluate real capability retrieval and harness routing with versioned labels, efficiency metrics and regression thresholds; no provider calls or task dispatch; --save persists owner SSSS reports/events",
77
+ "effect": "write",
78
+ "output": "json",
79
+ "timeout_ms": 480000,
80
+ "args": [
81
+ {
82
+ "name": "coreRoot",
83
+ "flag": "--core-root",
84
+ "type": "string",
85
+ "label": "Verified core source for catalog and retrieval"
86
+ },
87
+ {
88
+ "name": "allowCatalogChange",
89
+ "flag": "--allow-catalog-change",
90
+ "type": "boolean",
91
+ "label": "Compare changed catalogs with compatible fixed labels"
92
+ },
93
+ {
94
+ "name": "k",
95
+ "flag": "--k",
96
+ "type": "number",
97
+ "label": "Shortlist size (default 20)"
98
+ },
99
+ {
100
+ "name": "repeats",
101
+ "flag": "--repeats",
102
+ "type": "number",
103
+ "label": "Corpus passes (default 3)"
104
+ },
105
+ {
106
+ "name": "catalogSamples",
107
+ "flag": "--catalog-samples",
108
+ "type": "number",
109
+ "label": "Description probes (default 24)"
110
+ },
111
+ {
112
+ "name": "corpus",
113
+ "flag": "--corpus",
114
+ "type": "string",
115
+ "label": "Versioned corpus JSON"
116
+ },
117
+ {
118
+ "name": "baseline",
119
+ "flag": "--baseline",
120
+ "type": "string",
121
+ "label": "Comparable baseline JSON"
122
+ },
123
+ {
124
+ "name": "minRecall",
125
+ "flag": "--min-recall",
126
+ "type": "number",
127
+ "label": "Minimum recall at k"
128
+ },
129
+ {
130
+ "name": "minMrr",
131
+ "flag": "--min-mrr",
132
+ "type": "number",
133
+ "label": "Minimum MRR"
134
+ },
135
+ {
136
+ "name": "maxP95Ms",
137
+ "flag": "--max-p95-ms",
138
+ "type": "number",
139
+ "label": "Maximum p95 milliseconds"
140
+ },
141
+ {
142
+ "name": "maxRecallDrop",
143
+ "flag": "--max-recall-drop",
144
+ "type": "number",
145
+ "label": "Allowed baseline recall loss"
146
+ },
147
+ {
148
+ "name": "cwd",
149
+ "flag": "--cwd",
150
+ "type": "string",
151
+ "label": "Project catalog scope"
152
+ },
153
+ {
154
+ "name": "save",
155
+ "flag": "--save",
156
+ "type": "boolean",
157
+ "label": "Persist owner SSSS report and events"
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ "name": "status",
163
+ "description": "Inspect local agent binaries and authentication metadata",
164
+ "effect": "read",
165
+ "output": "json",
166
+ "args": []
167
+ },
168
+ {
169
+ "name": "catalog",
170
+ "description": "List documented adapter contracts and source references",
171
+ "effect": "read",
172
+ "output": "json",
173
+ "args": []
174
+ },
175
+ {
176
+ "name": "chat-target",
177
+ "description": "Resolve the default Chat harness and prepare a draft for the selected brains",
178
+ "effect": "read",
179
+ "output": "json",
180
+ "args": [
181
+ {
182
+ "name": "brains",
183
+ "flag": "--brains",
184
+ "type": "string",
185
+ "label": "Selected brain IDs, comma separated"
186
+ }
187
+ ]
188
+ },
189
+ {
190
+ "name": "chat-default",
191
+ "description": "Save the default Chat harness for every brain selection",
192
+ "effect": "write",
193
+ "output": "json",
194
+ "args": [
195
+ {
196
+ "name": "adapter",
197
+ "type": "string",
198
+ "label": "Metaharness adapter ID",
199
+ "required": true,
200
+ "positional": true
201
+ },
202
+ {
203
+ "name": "url",
204
+ "flag": "--url",
205
+ "type": "string",
206
+ "label": "Optional Chat launch URL"
207
+ }
208
+ ]
209
+ },
210
+ {
211
+ "name": "reasoning-config",
212
+ "description": "Show or set the harness, model and usage threshold for background reasoning such as lesson reviews",
213
+ "effect": "write",
214
+ "output": "json",
215
+ "args": [
216
+ {
217
+ "name": "agent",
218
+ "flag": "--agent",
219
+ "type": "string",
220
+ "label": "Primary background reasoning harness"
221
+ },
222
+ {
223
+ "name": "model",
224
+ "flag": "--model",
225
+ "type": "string",
226
+ "label": "Model for that harness, checked with the model owner"
227
+ },
228
+ {
229
+ "name": "maxUsagePercent",
230
+ "flag": "--max-usage-percent",
231
+ "type": "number",
232
+ "label": "Hold Codex reasoning at or above this usage percent"
233
+ },
234
+ {
235
+ "name": "enable",
236
+ "flag": "--enable",
237
+ "type": "string",
238
+ "label": "Enable a listed harness"
239
+ },
240
+ {
241
+ "name": "disable",
242
+ "flag": "--disable",
243
+ "type": "string",
244
+ "label": "Keep a harness listed but unused"
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "name": "nodes",
250
+ "description": "List recorded mesh targets without probing or changing them",
251
+ "effect": "read",
252
+ "output": "json",
253
+ "args": []
254
+ },
255
+ {
256
+ "name": "inspect",
257
+ "description": "Inspect installed harnesses on a selected node",
258
+ "effect": "read",
259
+ "output": "json",
260
+ "args": [
261
+ {
262
+ "name": "node",
263
+ "flag": "--node",
264
+ "type": "string",
265
+ "label": "Mesh node"
266
+ }
267
+ ],
268
+ "timeout_ms": 120000
269
+ },
270
+ {
271
+ "name": "adoption",
272
+ "description": "Check installed agents, native gate activity and managed run receipts on this node or the mesh",
273
+ "effect": "read",
274
+ "output": "json",
275
+ "args": [
276
+ {
277
+ "name": "node",
278
+ "flag": "--node",
279
+ "type": "string",
280
+ "label": "Mesh node"
281
+ },
282
+ {
283
+ "name": "all",
284
+ "flag": "--all",
285
+ "type": "boolean",
286
+ "label": "Check the recorded fleet"
287
+ }
288
+ ],
289
+ "timeout_ms": 120000
290
+ },
291
+ {
292
+ "name": "run-command",
293
+ "description": "Run an explicit plugin command through the selected agent and node using a JSON request on stdin",
294
+ "effect": "write",
295
+ "output": "json",
296
+ "args": [],
297
+ "timeout_ms": 600000
298
+ },
299
+ {
300
+ "name": "runtime",
301
+ "description": "Inspect a runtime or run supported maintenance; agent tasks use dispatch",
302
+ "effect": "write",
303
+ "output": "json",
304
+ "args": [
305
+ {
306
+ "name": "agent",
307
+ "type": "string",
308
+ "label": "Agent adapter",
309
+ "required": true,
310
+ "positional": true
311
+ },
312
+ {
313
+ "name": "operation",
314
+ "type": "string",
315
+ "label": "Maintenance operation",
316
+ "required": true,
317
+ "positional": true
318
+ }
319
+ ],
320
+ "timeout_ms": 120000
321
+ },
322
+ {
323
+ "name": "dispatch",
324
+ "description": "Run a task from stdin JSON {agent, cwd, prompt, timeoutMs?} (pass --stdin) after automatic Total Recall bootstrap",
325
+ "effect": "write",
326
+ "output": "json",
327
+ "args": [
328
+ {
329
+ "name": "background",
330
+ "flag": "--background",
331
+ "type": "boolean",
332
+ "label": "Return the job ID and log"
333
+ },
334
+ {
335
+ "name": "goal",
336
+ "flag": "--goal",
337
+ "type": "string",
338
+ "label": "Goal checked at completion"
339
+ },
340
+ {
341
+ "name": "maxTurns",
342
+ "flag": "--max-turns",
343
+ "type": "number",
344
+ "label": "Job turn limit"
345
+ },
346
+ {
347
+ "name": "maxBudgetUsd",
348
+ "flag": "--max-budget-usd",
349
+ "type": "number",
350
+ "label": "Job cost limit in USD"
351
+ },
352
+ {
353
+ "name": "maxTokens",
354
+ "flag": "--max-tokens",
355
+ "type": "number",
356
+ "label": "Job token limit"
357
+ },
358
+ {
359
+ "name": "resultSchema",
360
+ "flag": "--result-schema",
361
+ "type": "string",
362
+ "label": "JSON Schema file"
363
+ },
364
+ {
365
+ "name": "approvals",
366
+ "flag": "--approvals",
367
+ "type": "string",
368
+ "label": "auto, operator, or rules"
369
+ },
370
+ {
371
+ "name": "questionTimeoutMs",
372
+ "flag": "--question-timeout-ms",
373
+ "type": "number",
374
+ "label": "Question timeout in milliseconds"
375
+ },
376
+ {
377
+ "name": "model",
378
+ "flag": "--model",
379
+ "type": "string",
380
+ "label": "Model for this run, validated before launch (agy never runs Opus)"
381
+ }
382
+ ],
383
+ "timeout_ms": 600000,
384
+ "cli_timeout_ms": 5400000
385
+ },
386
+ {
387
+ "name": "fork",
388
+ "description": "Start a new job from a saved session and branch",
389
+ "effect": "write",
390
+ "output": "json",
391
+ "args": [
392
+ {
393
+ "name": "job",
394
+ "type": "string",
395
+ "positional": true,
396
+ "required": true,
397
+ "label": "Job ID prefix"
398
+ },
399
+ {
400
+ "name": "at",
401
+ "flag": "--at",
402
+ "type": "string",
403
+ "label": "Last turn to copy when supported"
404
+ },
405
+ {
406
+ "name": "background",
407
+ "flag": "--background",
408
+ "type": "boolean",
409
+ "label": "Return the job ID and log"
410
+ },
411
+ {
412
+ "name": "timeoutMs",
413
+ "flag": "--timeout-ms",
414
+ "type": "number",
415
+ "label": "Deadline in milliseconds; defaults to the saved job deadline"
416
+ }
417
+ ],
418
+ "timeout_ms": 600000,
419
+ "cli_timeout_ms": 5400000
420
+ },
421
+ {
422
+ "name": "resume",
423
+ "description": "Continue a finished job session on its saved branch",
424
+ "effect": "write",
425
+ "output": "json",
426
+ "args": [
427
+ {
428
+ "name": "job",
429
+ "type": "string",
430
+ "positional": true,
431
+ "required": true,
432
+ "label": "Job ID prefix"
433
+ },
434
+ {
435
+ "name": "text",
436
+ "type": "string",
437
+ "positional": true,
438
+ "required": true,
439
+ "label": "Continuation message"
440
+ },
441
+ {
442
+ "name": "background",
443
+ "flag": "--background",
444
+ "type": "boolean",
445
+ "label": "Return the job ID and log"
446
+ },
447
+ {
448
+ "name": "timeoutMs",
449
+ "flag": "--timeout-ms",
450
+ "type": "number",
451
+ "label": "Deadline in milliseconds; defaults to the saved job deadline"
452
+ }
453
+ ],
454
+ "timeout_ms": 600000,
455
+ "cli_timeout_ms": 5400000
456
+ },
457
+ {
458
+ "name": "cancel",
459
+ "description": "Stop a running job and wait up to 60 seconds for its cancelled result",
460
+ "effect": "write",
461
+ "output": "json",
462
+ "args": [
463
+ {
464
+ "name": "job",
465
+ "type": "string",
466
+ "label": "Job ID prefix or log path",
467
+ "positional": true,
468
+ "required": true
469
+ }
470
+ ],
471
+ "timeout_ms": 65000
472
+ },
473
+ {
474
+ "name": "reply",
475
+ "description": "Send a reply to a running job or answer its oldest waiting question",
476
+ "effect": "write",
477
+ "output": "json",
478
+ "args": [
479
+ {
480
+ "name": "job",
481
+ "type": "string",
482
+ "label": "Job ID prefix or log path",
483
+ "positional": true,
484
+ "required": true
485
+ },
486
+ {
487
+ "name": "text",
488
+ "type": "string",
489
+ "label": "Reply text",
490
+ "positional": true,
491
+ "required": true
492
+ },
493
+ {
494
+ "name": "localDelivery",
495
+ "flag": "--local-delivery",
496
+ "type": "boolean",
497
+ "label": "Deliver on this node"
498
+ }
499
+ ],
500
+ "timeout_ms": 65000
501
+ },
502
+ {
503
+ "name": "approve",
504
+ "description": "Allow or deny a waiting job approval",
505
+ "effect": "write",
506
+ "output": "json",
507
+ "args": [
508
+ {
509
+ "name": "job",
510
+ "type": "string",
511
+ "label": "Job ID prefix or log path",
512
+ "positional": true,
513
+ "required": true
514
+ },
515
+ {
516
+ "name": "requestId",
517
+ "type": "string",
518
+ "label": "Approval request ID",
519
+ "positional": true,
520
+ "required": true
521
+ },
522
+ {
523
+ "name": "value",
524
+ "type": "string",
525
+ "label": "allow or deny",
526
+ "positional": true,
527
+ "required": true
528
+ },
529
+ {
530
+ "name": "localDelivery",
531
+ "flag": "--local-delivery",
532
+ "type": "boolean",
533
+ "label": "Deliver on this node"
534
+ }
535
+ ],
536
+ "timeout_ms": 65000
537
+ },
538
+ {
539
+ "name": "interrupt",
540
+ "description": "Stop the current job turn and keep its session resumable",
541
+ "effect": "write",
542
+ "output": "json",
543
+ "args": [
544
+ {
545
+ "name": "job",
546
+ "type": "string",
547
+ "label": "Job ID prefix or log path",
548
+ "positional": true,
549
+ "required": true
550
+ },
551
+ {
552
+ "name": "localDelivery",
553
+ "flag": "--local-delivery",
554
+ "type": "boolean",
555
+ "label": "Deliver on this node"
556
+ }
557
+ ],
558
+ "timeout_ms": 65000
559
+ },
560
+ {
561
+ "name": "goal",
562
+ "description": "Set the goal of a running job",
563
+ "effect": "write",
564
+ "output": "json",
565
+ "args": [
566
+ {
567
+ "name": "job",
568
+ "type": "string",
569
+ "label": "Job ID prefix or log path",
570
+ "positional": true,
571
+ "required": true
572
+ },
573
+ {
574
+ "name": "text",
575
+ "type": "string",
576
+ "label": "Goal text",
577
+ "positional": true,
578
+ "required": true
579
+ },
580
+ {
581
+ "name": "localDelivery",
582
+ "flag": "--local-delivery",
583
+ "type": "boolean",
584
+ "label": "Deliver on this node"
585
+ }
586
+ ],
587
+ "timeout_ms": 65000
588
+ },
589
+ {
590
+ "name": "mcp",
591
+ "description": "Serve the Metaharness ask and approve tools over MCP stdio",
592
+ "effect": "write",
593
+ "args": [
594
+ {
595
+ "name": "approvals",
596
+ "flag": "--approvals",
597
+ "type": "string",
598
+ "label": "Approval policy: auto, operator, or rules"
599
+ },
600
+ {
601
+ "name": "questionTimeoutMs",
602
+ "flag": "--question-timeout-ms",
603
+ "type": "number",
604
+ "label": "Question timeout in milliseconds"
605
+ }
606
+ ]
607
+ },
608
+ {
609
+ "name": "watch",
610
+ "description": "Show local or mesh job status, recent events, waiting questions and approvals",
611
+ "effect": "read",
612
+ "output": "json",
613
+ "args": [
614
+ {
615
+ "name": "job",
616
+ "type": "string",
617
+ "label": "Job id prefix or event log path",
618
+ "positional": true
619
+ },
620
+ {
621
+ "name": "tail",
622
+ "flag": "--tail",
623
+ "type": "string",
624
+ "label": "Events to show"
625
+ },
626
+ {
627
+ "name": "node",
628
+ "flag": "--node",
629
+ "type": "string",
630
+ "label": "Recorded node that owns the job"
631
+ }
632
+ ]
633
+ },
634
+ {
635
+ "name": "included-status",
636
+ "description": "Read included usage policy and optionally check Codex allowance without a turn",
637
+ "effect": "read",
638
+ "output": "json",
639
+ "args": [
640
+ {
641
+ "name": "probe",
642
+ "flag": "--probe",
643
+ "type": "boolean",
644
+ "label": "Read live Codex allowance"
645
+ }
646
+ ]
647
+ },
648
+ {
649
+ "name": "included-enforce",
650
+ "description": "Require included usage for managed agent dispatch on this node",
651
+ "effect": "write",
652
+ "output": "json",
653
+ "args": []
654
+ },
655
+ {
656
+ "name": "included-bind-claude",
657
+ "description": "Bind verified Max credit evidence on stdin to an existing Auth key",
658
+ "effect": "write",
659
+ "output": "json",
660
+ "args": []
661
+ },
662
+ {
663
+ "name": "included-bind-claude-plan",
664
+ "description": "Bind the signed-in Claude Max account after verifying Usage credits are off",
665
+ "effect": "write",
666
+ "output": "json",
667
+ "args": []
668
+ },
669
+ {
670
+ "name": "included-bind-claude-token",
671
+ "description": "Bind the Claude subscription token (claude setup-token) stored in Total Recall Auth, after Claude accepts it",
672
+ "effect": "write",
673
+ "output": "json",
674
+ "args": [
675
+ {
676
+ "name": "key",
677
+ "type": "string",
678
+ "label": "Auth key name (default CLAUDE_CODE_OAUTH_TOKEN)",
679
+ "required": false,
680
+ "flag": "--key"
681
+ }
682
+ ]
683
+ },
684
+ {
685
+ "name": "included-bind-agy",
686
+ "description": "Let Antigravity run on the signed-in personal Google plan (Free, Pro or Ultra): refuses while its saved settings select an API key, paid AI credits or a Google Cloud project",
687
+ "effect": "write",
688
+ "output": "json",
689
+ "args": []
690
+ },
691
+ {
692
+ "name": "agent-user",
693
+ "description": "Show, set or clear the non-root Unix user Claude runs as when Metaharness runs as root on Linux",
694
+ "effect": "write",
695
+ "output": "json",
696
+ "args": [
697
+ {
698
+ "name": "name",
699
+ "type": "string",
700
+ "label": "Unix user name",
701
+ "required": false,
702
+ "positional": true
703
+ },
704
+ {
705
+ "name": "clear",
706
+ "type": "boolean",
707
+ "label": "Clear the configured user",
708
+ "flag": "--clear"
709
+ }
710
+ ]
711
+ },
712
+ {
713
+ "name": "openrouter-bind",
714
+ "description": "Authorize an explicit OpenRouter harness with a verified Total Recall Auth key and catalog model",
715
+ "effect": "write",
716
+ "output": "json",
717
+ "args": [
718
+ {
719
+ "name": "agent",
720
+ "type": "string",
721
+ "label": "Harness",
722
+ "required": true,
723
+ "positional": true
724
+ },
725
+ {
726
+ "name": "key",
727
+ "type": "string",
728
+ "label": "Auth key name",
729
+ "required": true,
730
+ "positional": true
731
+ },
732
+ {
733
+ "name": "model",
734
+ "flag": "--model",
735
+ "type": "string",
736
+ "label": "OpenRouter model ID",
737
+ "required": true
738
+ }
739
+ ]
740
+ },
741
+ {
742
+ "name": "usage-queue",
743
+ "description": "List jobs waiting for included usage and their reset evidence",
744
+ "effect": "read",
745
+ "output": "json",
746
+ "args": []
747
+ },
748
+ {
749
+ "name": "usage-reconcile",
750
+ "description": "Preview or archive expired legacy reasoning records with no replay request",
751
+ "effect": "write",
752
+ "output": "json",
753
+ "args": [
754
+ {
755
+ "name": "apply",
756
+ "type": "boolean",
757
+ "label": "Archive matching records",
758
+ "flag": "--apply"
759
+ }
760
+ ]
761
+ },
762
+ {
763
+ "name": "usage-retry",
764
+ "description": "Retry a waiting job after checking included usage",
765
+ "effect": "write",
766
+ "output": "json",
767
+ "args": [
768
+ {
769
+ "name": "job",
770
+ "type": "string",
771
+ "label": "Queued job ID",
772
+ "required": true,
773
+ "positional": true
774
+ }
775
+ ],
776
+ "timeout_ms": 600000
777
+ },
778
+ {
779
+ "name": "usage-cancel",
780
+ "description": "Cancel a waiting included usage job",
781
+ "effect": "write",
782
+ "output": "json",
783
+ "args": [
784
+ {
785
+ "name": "job",
786
+ "type": "string",
787
+ "label": "Queued job ID",
788
+ "required": true,
789
+ "positional": true
790
+ }
791
+ ]
792
+ },
793
+ {
794
+ "name": "docs-status",
795
+ "description": "Verify cached official documentation coverage freshness and hashes",
796
+ "effect": "read",
797
+ "output": "json",
798
+ "args": [
799
+ {
800
+ "name": "agent",
801
+ "flag": "--agent",
802
+ "type": "string",
803
+ "label": "Agent adapter"
804
+ }
805
+ ],
806
+ "timeout_ms": 120000
807
+ },
808
+ {
809
+ "name": "docs-refresh",
810
+ "description": "Download complete official agent documentation and retain last-good content on failure",
811
+ "effect": "write",
812
+ "output": "json",
813
+ "args": [
814
+ {
815
+ "name": "agent",
816
+ "flag": "--agent",
817
+ "type": "string",
818
+ "label": "Agent adapter"
819
+ }
820
+ ],
821
+ "timeout_ms": 600000
822
+ },
823
+ {
824
+ "name": "docs-ensure",
825
+ "description": "Refresh missing or stale documentation automatically",
826
+ "effect": "write",
827
+ "output": "json",
828
+ "args": [
829
+ {
830
+ "name": "agent",
831
+ "flag": "--agent",
832
+ "type": "string",
833
+ "label": "Agent adapter"
834
+ }
835
+ ],
836
+ "timeout_ms": 600000
837
+ },
838
+ {
839
+ "name": "maintenance",
840
+ "description": "Daemon maintenance: official documentation and integration surfaces, the model catalog with --models, or each harness's own update with --harnesses",
841
+ "effect": "write",
842
+ "output": "json",
843
+ "args": [
844
+ {
845
+ "name": "models",
846
+ "flag": "--models",
847
+ "type": "boolean",
848
+ "label": "Refresh the model and benchmark catalog"
849
+ },
850
+ {
851
+ "name": "harnesses",
852
+ "flag": "--harnesses",
853
+ "type": "boolean",
854
+ "label": "Update each installed harness with its own update command"
855
+ },
856
+ {
857
+ "name": "dryRun",
858
+ "flag": "--dry-run",
859
+ "type": "boolean",
860
+ "label": "With --harnesses: report what would be updated and change nothing"
861
+ },
862
+ {
863
+ "name": "agent",
864
+ "flag": "--agent",
865
+ "type": "string",
866
+ "label": "Limit the run to one harness"
867
+ }
868
+ ],
869
+ "timeout_ms": 600000
870
+ },
871
+ {
872
+ "name": "setup",
873
+ "description": "Configure supported agent instruction surfaces and daemon task placement",
874
+ "effect": "write",
875
+ "output": "json",
876
+ "args": [
877
+ {
878
+ "name": "node",
879
+ "flag": "--node",
880
+ "type": "string",
881
+ "label": "Maintenance mesh node"
882
+ }
883
+ ],
884
+ "timeout_ms": 120000
885
+ },
886
+ {
887
+ "name": "docs-sources",
888
+ "description": "List approved official documentation sources",
889
+ "effect": "read",
890
+ "output": "json",
891
+ "args": []
892
+ },
893
+ {
894
+ "name": "docs-read",
895
+ "description": "Read integrity-checked cached official documentation",
896
+ "effect": "read",
897
+ "output": "json",
898
+ "args": [
899
+ {
900
+ "name": "agent",
901
+ "flag": "--agent",
902
+ "type": "string",
903
+ "label": "Agent"
904
+ },
905
+ {
906
+ "name": "url",
907
+ "flag": "--url",
908
+ "type": "string",
909
+ "label": "Url"
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ "name": "docs-search",
915
+ "description": "Search downloaded official documentation",
916
+ "effect": "read",
917
+ "output": "json",
918
+ "args": [
919
+ {
920
+ "name": "agent",
921
+ "flag": "--agent",
922
+ "type": "string",
923
+ "label": "Agent"
924
+ },
925
+ {
926
+ "name": "query",
927
+ "flag": "--query",
928
+ "type": "string",
929
+ "required": true,
930
+ "label": "Query"
931
+ }
932
+ ]
933
+ },
934
+ {
935
+ "name": "upstream",
936
+ "description": "Probe latest upstream harness versions and update availability",
937
+ "effect": "read",
938
+ "output": "json",
939
+ "args": []
940
+ },
941
+ {
942
+ "name": "changelog",
943
+ "description": "Inspect recent official changelog highlights for a selected agent",
944
+ "effect": "read",
945
+ "output": "json",
946
+ "args": [
947
+ {
948
+ "name": "agent",
949
+ "type": "string",
950
+ "label": "Agent identifier",
951
+ "required": false,
952
+ "positional": true
953
+ }
954
+ ]
955
+ },
956
+ {
957
+ "name": "adapter",
958
+ "description": "Manage extensible harness adapter definitions (list, add, remove)",
959
+ "effect": "write",
960
+ "output": "json",
961
+ "args": [
962
+ {
963
+ "name": "operation",
964
+ "type": "string",
965
+ "label": "list | add | remove",
966
+ "required": true,
967
+ "positional": true
968
+ },
969
+ {
970
+ "name": "target",
971
+ "type": "string",
972
+ "label": "File path, spec JSON, or adapter ID",
973
+ "required": false,
974
+ "positional": true
975
+ }
976
+ ]
977
+ },
978
+ {
979
+ "name": "quota",
980
+ "description": "Inspect 5-hour rolling/weekly quotas, credit balances, and host RAM",
981
+ "effect": "read",
982
+ "output": "json",
983
+ "args": [
984
+ {
985
+ "name": "node",
986
+ "flag": "--node",
987
+ "type": "string",
988
+ "label": "Mesh node"
989
+ }
990
+ ]
991
+ },
992
+ {
993
+ "name": "benchmarks",
994
+ "description": "Sourced model pricing, coding index and leaderboard results, with pass rates measured on this machine",
995
+ "effect": "read",
996
+ "output": "json",
997
+ "args": []
998
+ },
999
+ {
1000
+ "name": "route",
1001
+ "description": "Choose the harness for a task; with --execute, run it on its own branch and escalate on failure",
1002
+ "cli_timeout_ms": 5400000,
1003
+ "effect": "write",
1004
+ "output": "json",
1005
+ "timeout_ms": 600000,
1006
+ "args": [
1007
+ {
1008
+ "name": "goal",
1009
+ "flag": "--goal",
1010
+ "type": "string",
1011
+ "label": "Goal checked at completion"
1012
+ },
1013
+ {
1014
+ "name": "maxTurns",
1015
+ "flag": "--max-turns",
1016
+ "type": "number",
1017
+ "label": "Job turn limit"
1018
+ },
1019
+ {
1020
+ "name": "maxBudgetUsd",
1021
+ "flag": "--max-budget-usd",
1022
+ "type": "number",
1023
+ "label": "Job cost limit in USD"
1024
+ },
1025
+ {
1026
+ "name": "maxTokens",
1027
+ "flag": "--max-tokens",
1028
+ "type": "number",
1029
+ "label": "Job token limit"
1030
+ },
1031
+ {
1032
+ "name": "resultSchema",
1033
+ "flag": "--result-schema",
1034
+ "type": "string",
1035
+ "label": "JSON Schema file"
1036
+ },
1037
+ {
1038
+ "name": "approvals",
1039
+ "flag": "--approvals",
1040
+ "type": "string",
1041
+ "label": "auto, operator, or rules"
1042
+ },
1043
+ {
1044
+ "name": "questionTimeoutMs",
1045
+ "flag": "--question-timeout-ms",
1046
+ "type": "number",
1047
+ "label": "Question timeout in milliseconds"
1048
+ },
1049
+ {
1050
+ "name": "task",
1051
+ "type": "string",
1052
+ "label": "Task description",
1053
+ "required": true,
1054
+ "positional": true
1055
+ },
1056
+ {
1057
+ "name": "execute",
1058
+ "flag": "--execute",
1059
+ "type": "boolean",
1060
+ "label": "Run the task on its own branch"
1061
+ },
1062
+ {
1063
+ "name": "gate",
1064
+ "flag": "--gate",
1065
+ "type": "boolean",
1066
+ "label": "Require the code-quality gate, escalating when it fails"
1067
+ },
1068
+ {
1069
+ "name": "jev",
1070
+ "flag": "--jev",
1071
+ "type": "boolean",
1072
+ "label": "Classify through the decision plugin"
1073
+ },
1074
+ {
1075
+ "name": "tier",
1076
+ "flag": "--tier",
1077
+ "type": "string",
1078
+ "label": "Gate tier: fast | full | remote"
1079
+ },
1080
+ {
1081
+ "name": "cwd",
1082
+ "flag": "--cwd",
1083
+ "type": "string",
1084
+ "label": "Explicit workspace on the selected node"
1085
+ },
1086
+ {
1087
+ "name": "node",
1088
+ "flag": "--node",
1089
+ "type": "string",
1090
+ "label": "Selected mesh node"
1091
+ },
1092
+ {
1093
+ "name": "allowUnknownAuth",
1094
+ "flag": "--allow-unknown-auth",
1095
+ "type": "boolean",
1096
+ "label": "Explicitly allow a runner without a login probe"
1097
+ },
1098
+ {
1099
+ "name": "background",
1100
+ "flag": "--background",
1101
+ "type": "boolean",
1102
+ "label": "Return the owned job and log for a long run"
1103
+ },
1104
+ {
1105
+ "name": "model",
1106
+ "flag": "--model",
1107
+ "type": "string",
1108
+ "label": "Model to run; only harnesses that can run it are chosen (agy never runs Opus)"
1109
+ },
1110
+ {
1111
+ "name": "timeoutMs",
1112
+ "flag": "--timeout-ms",
1113
+ "type": "number",
1114
+ "label": "Remote wall-clock limit in milliseconds"
1115
+ },
1116
+ {
1117
+ "name": "wait",
1118
+ "flag": "--wait",
1119
+ "type": "boolean",
1120
+ "label": "Run in this command instead of the background"
1121
+ },
1122
+ {
1123
+ "name": "agent",
1124
+ "flag": "--agent",
1125
+ "type": "string",
1126
+ "label": "Run this harness only"
1127
+ }
1128
+ ]
1129
+ },
1130
+ {
1131
+ "name": "coordinate",
1132
+ "description": "Coordinate multi-agent specialized execution pipelines (pipeline, council, race)",
1133
+ "effect": "write",
1134
+ "output": "json",
1135
+ "cli_timeout_ms": 5400000,
1136
+ "args": [
1137
+ {
1138
+ "name": "goal",
1139
+ "flag": "--goal",
1140
+ "type": "string",
1141
+ "label": "Goal checked at completion"
1142
+ },
1143
+ {
1144
+ "name": "maxTurns",
1145
+ "flag": "--max-turns",
1146
+ "type": "number",
1147
+ "label": "Job turn limit"
1148
+ },
1149
+ {
1150
+ "name": "maxBudgetUsd",
1151
+ "flag": "--max-budget-usd",
1152
+ "type": "number",
1153
+ "label": "Job cost limit in USD"
1154
+ },
1155
+ {
1156
+ "name": "maxTokens",
1157
+ "flag": "--max-tokens",
1158
+ "type": "number",
1159
+ "label": "Job token limit"
1160
+ },
1161
+ {
1162
+ "name": "resultSchema",
1163
+ "flag": "--result-schema",
1164
+ "type": "string",
1165
+ "label": "JSON Schema file"
1166
+ },
1167
+ {
1168
+ "name": "approvals",
1169
+ "flag": "--approvals",
1170
+ "type": "string",
1171
+ "label": "auto, operator, or rules"
1172
+ },
1173
+ {
1174
+ "name": "questionTimeoutMs",
1175
+ "flag": "--question-timeout-ms",
1176
+ "type": "number",
1177
+ "label": "Question timeout in milliseconds"
1178
+ },
1179
+ {
1180
+ "name": "task",
1181
+ "type": "string",
1182
+ "label": "Task description",
1183
+ "required": true,
1184
+ "positional": true
1185
+ },
1186
+ {
1187
+ "name": "mode",
1188
+ "flag": "--mode",
1189
+ "type": "string",
1190
+ "label": "pipeline | council | race"
1191
+ },
1192
+ {
1193
+ "name": "execute",
1194
+ "flag": "--execute",
1195
+ "type": "boolean",
1196
+ "label": "Run the agents; without this the plan is only reported"
1197
+ },
1198
+ {
1199
+ "name": "gate",
1200
+ "flag": "--gate",
1201
+ "type": "boolean",
1202
+ "label": "Require the code-quality gate"
1203
+ },
1204
+ {
1205
+ "name": "autoReview",
1206
+ "flag": "--auto-review",
1207
+ "type": "boolean",
1208
+ "label": "Add a cross-model code review"
1209
+ },
1210
+ {
1211
+ "name": "allowSameFamily",
1212
+ "flag": "--allow-same-family",
1213
+ "type": "boolean",
1214
+ "label": "Accept a Verifier from the Implementer's model family"
1215
+ },
1216
+ {
1217
+ "name": "cwd",
1218
+ "flag": "--cwd",
1219
+ "type": "string",
1220
+ "label": "Explicit workspace on the selected node"
1221
+ },
1222
+ {
1223
+ "name": "node",
1224
+ "flag": "--node",
1225
+ "type": "string",
1226
+ "label": "Selected mesh node"
1227
+ },
1228
+ {
1229
+ "name": "allowUnknownAuth",
1230
+ "flag": "--allow-unknown-auth",
1231
+ "type": "boolean",
1232
+ "label": "Explicitly allow a runner without a login probe"
1233
+ },
1234
+ {
1235
+ "name": "background",
1236
+ "flag": "--background",
1237
+ "type": "boolean",
1238
+ "label": "Return the owned job and log for a long run"
1239
+ },
1240
+ {
1241
+ "name": "model",
1242
+ "flag": "--model",
1243
+ "type": "string",
1244
+ "label": "Model for the Implementer, or every council and race seat (agy never runs Opus)"
1245
+ },
1246
+ {
1247
+ "name": "timeoutMs",
1248
+ "flag": "--timeout-ms",
1249
+ "type": "number",
1250
+ "label": "Remote wall-clock limit in milliseconds"
1251
+ },
1252
+ {
1253
+ "name": "wait",
1254
+ "flag": "--wait",
1255
+ "type": "boolean",
1256
+ "label": "Run in this command instead of the background"
1257
+ }
1258
+ ],
1259
+ "timeout_ms": 600000
1260
+ },
1261
+ {
1262
+ "name": "learn",
1263
+ "description": "Summarize run receipts into scorecards, quota walls and proposals",
1264
+ "effect": "write",
1265
+ "output": "json",
1266
+ "args": [
1267
+ {
1268
+ "name": "void",
1269
+ "flag": "--void",
1270
+ "type": "string",
1271
+ "label": "Comma-separated receipt ids to void"
1272
+ },
1273
+ {
1274
+ "name": "reason",
1275
+ "flag": "--reason",
1276
+ "type": "string",
1277
+ "label": "Why the receipts are void"
1278
+ }
1279
+ ]
1280
+ },
1281
+ {
1282
+ "name": "priority-cache",
1283
+ "description": "Show, add or remove checkouts whose interactive cache reads do not count toward the token-velocity limit",
1284
+ "effect": "write",
1285
+ "output": "json",
1286
+ "args": [
1287
+ {
1288
+ "name": "add",
1289
+ "flag": "--add",
1290
+ "type": "string",
1291
+ "label": "Absolute checkout path to prioritize"
1292
+ },
1293
+ {
1294
+ "name": "remove",
1295
+ "flag": "--remove",
1296
+ "type": "string",
1297
+ "label": "Absolute checkout path to remove"
1298
+ }
1299
+ ]
1300
+ },
1301
+ {
1302
+ "name": "alerts",
1303
+ "description": "Send operator alerts for quota walls and usage over the threshold",
1304
+ "effect": "send",
1305
+ "output": "json",
1306
+ "args": [
1307
+ {
1308
+ "name": "action",
1309
+ "type": "string",
1310
+ "label": "check | test",
1311
+ "positional": true
1312
+ },
1313
+ {
1314
+ "name": "threshold",
1315
+ "flag": "--threshold",
1316
+ "type": "number",
1317
+ "label": "Usage percent that triggers an alert"
1318
+ },
1319
+ {
1320
+ "name": "dryRun",
1321
+ "flag": "--dry-run",
1322
+ "type": "boolean",
1323
+ "label": "Report without sending"
1324
+ }
1325
+ ]
1326
+ },
1327
+ {
1328
+ "name": "decompose",
1329
+ "description": "Decompose complex multi-step tasks into specialized Explorer, Architect, Implementer, and Verifier subagent stages",
1330
+ "effect": "read",
1331
+ "output": "json",
1332
+ "args": [
1333
+ {
1334
+ "name": "task",
1335
+ "type": "string",
1336
+ "label": "Task description",
1337
+ "required": true,
1338
+ "positional": true
1339
+ }
1340
+ ]
1341
+ },
1342
+ {
1343
+ "name": "orchestrate",
1344
+ "description": "Run multi-step work in the calling harness's background task and return the final outcome",
1345
+ "effect": "write",
1346
+ "output": "json",
1347
+ "cli_timeout_ms": 5400000,
1348
+ "args": [
1349
+ {
1350
+ "name": "task",
1351
+ "type": "string",
1352
+ "label": "Task description",
1353
+ "required": true,
1354
+ "positional": true
1355
+ },
1356
+ {
1357
+ "name": "orchestrator",
1358
+ "flag": "--orchestrator",
1359
+ "type": "string",
1360
+ "label": "Active orchestrator harness (claude, codex, agy, hermes, cursor)"
1361
+ },
1362
+ {
1363
+ "name": "execute",
1364
+ "flag": "--execute",
1365
+ "type": "boolean",
1366
+ "label": "Execute live stages and return their final outcome"
1367
+ },
1368
+ {
1369
+ "name": "background",
1370
+ "flag": "--background",
1371
+ "type": "boolean",
1372
+ "label": "Detach explicitly and return a job ID instead of waiting"
1373
+ },
1374
+ {
1375
+ "name": "autoReview",
1376
+ "flag": "--auto-review",
1377
+ "type": "boolean",
1378
+ "label": "Trigger adversarial code review upon completion"
1379
+ },
1380
+ {
1381
+ "name": "gate",
1382
+ "flag": "--gate",
1383
+ "type": "boolean",
1384
+ "label": "Require the code-quality gate"
1385
+ },
1386
+ {
1387
+ "name": "allowSameFamily",
1388
+ "flag": "--allow-same-family",
1389
+ "type": "boolean",
1390
+ "label": "Accept a Verifier from the Implementer's model family"
1391
+ },
1392
+ {
1393
+ "name": "wait",
1394
+ "flag": "--wait",
1395
+ "type": "boolean",
1396
+ "label": "Run in this command instead of the background"
1397
+ }
1398
+ ],
1399
+ "timeout_ms": 600000
1400
+ },
1401
+ {
1402
+ "name": "threads",
1403
+ "description": "Manage multi-platform agent threads, PR branch tracking, and turn history across all connected platforms",
1404
+ "effect": "write",
1405
+ "output": "json",
1406
+ "args": [
1407
+ {
1408
+ "name": "action",
1409
+ "type": "string",
1410
+ "label": "list | show | create | update | close | delete | cleanup-fixtures",
1411
+ "required": true,
1412
+ "positional": true
1413
+ },
1414
+ {
1415
+ "name": "target",
1416
+ "type": "string",
1417
+ "label": "Thread ID or title",
1418
+ "positional": true
1419
+ },
1420
+ {
1421
+ "name": "title",
1422
+ "flag": "--title",
1423
+ "type": "string",
1424
+ "label": "Thread title"
1425
+ },
1426
+ {
1427
+ "name": "summary",
1428
+ "flag": "--summary",
1429
+ "type": "string",
1430
+ "label": "Thread summary"
1431
+ },
1432
+ {
1433
+ "name": "status",
1434
+ "flag": "--status",
1435
+ "type": "string",
1436
+ "label": "Lifecycle status or list filter"
1437
+ },
1438
+ {
1439
+ "name": "platform",
1440
+ "flag": "--platform",
1441
+ "type": "string",
1442
+ "label": "Harness platform or list filter"
1443
+ },
1444
+ {
1445
+ "name": "branch",
1446
+ "flag": "--branch",
1447
+ "type": "string",
1448
+ "label": "Deliverable branch"
1449
+ },
1450
+ {
1451
+ "name": "dryRun",
1452
+ "flag": "--dry-run",
1453
+ "type": "boolean",
1454
+ "label": "Preview fixture cleanup"
1455
+ }
1456
+ ]
1457
+ },
1458
+ {
1459
+ "name": "process",
1460
+ "description": "Manage owned agent processes through isolated dispatch and SSSS lifecycle records",
1461
+ "effect": "write",
1462
+ "output": "json",
1463
+ "timeout_ms": 600000,
1464
+ "args": [
1465
+ {
1466
+ "name": "action",
1467
+ "type": "string",
1468
+ "positional": true,
1469
+ "label": "list | status | spawn | kill | logs"
1470
+ },
1471
+ {
1472
+ "name": "target",
1473
+ "type": "string",
1474
+ "positional": true,
1475
+ "label": "Harness to spawn or managed process ID"
1476
+ },
1477
+ {
1478
+ "name": "task",
1479
+ "type": "string",
1480
+ "positional": true,
1481
+ "label": "Task for a spawned agent"
1482
+ },
1483
+ {
1484
+ "name": "node",
1485
+ "type": "string",
1486
+ "flag": "--node",
1487
+ "label": "Recorded mesh node"
1488
+ },
1489
+ {
1490
+ "name": "cwd",
1491
+ "type": "string",
1492
+ "flag": "--cwd",
1493
+ "label": "Explicit workspace on the selected node"
1494
+ },
1495
+ {
1496
+ "name": "name",
1497
+ "type": "string",
1498
+ "flag": "--name",
1499
+ "label": "Managed process label"
1500
+ },
1501
+ {
1502
+ "name": "tools",
1503
+ "type": "string",
1504
+ "flag": "--tools",
1505
+ "label": "Supported tool restriction"
1506
+ },
1507
+ {
1508
+ "name": "settingSources",
1509
+ "type": "string",
1510
+ "flag": "--setting-sources",
1511
+ "label": "Supported instruction setting sources"
1512
+ },
1513
+ {
1514
+ "name": "model",
1515
+ "type": "string",
1516
+ "flag": "--model",
1517
+ "label": "Explicit configured model selection"
1518
+ },
1519
+ {
1520
+ "name": "tail",
1521
+ "type": "number",
1522
+ "flag": "--tail",
1523
+ "label": "Log tail line count"
1524
+ },
1525
+ {
1526
+ "name": "readOnly",
1527
+ "type": "boolean",
1528
+ "flag": "--read-only",
1529
+ "label": "Disable code writes"
1530
+ },
1531
+ {
1532
+ "name": "noDetach",
1533
+ "type": "boolean",
1534
+ "flag": "--no-detach",
1535
+ "label": "Await the managed process result"
1536
+ },
1537
+ {
1538
+ "name": "allowUnknownAuth",
1539
+ "type": "boolean",
1540
+ "flag": "--allow-unknown-auth",
1541
+ "label": "Explicitly allow an unknown login state"
1542
+ }
1543
+ ]
1544
+ },
1545
+ {
1546
+ "name": "reviews",
1547
+ "description": "Read durable review results, including disposition and selected diff",
1548
+ "effect": "read",
1549
+ "output": "json",
1550
+ "args": []
1551
+ },
1552
+ {
1553
+ "name": "review",
1554
+ "description": "Execute automated adversarial cross-model code review on Git diffs, PR branches, or staged changes",
1555
+ "effect": "write",
1556
+ "output": "json",
1557
+ "args": [
1558
+ {
1559
+ "name": "target",
1560
+ "type": "string",
1561
+ "label": "Target branch, PR commit, or empty for working-tree",
1562
+ "positional": true
1563
+ },
1564
+ {
1565
+ "name": "reviewer",
1566
+ "flag": "--reviewer",
1567
+ "type": "string",
1568
+ "label": "Adversarial reviewer harness"
1569
+ },
1570
+ {
1571
+ "name": "staged",
1572
+ "flag": "--staged",
1573
+ "type": "boolean",
1574
+ "label": "Review staged diffs"
1575
+ },
1576
+ {
1577
+ "name": "author",
1578
+ "flag": "--author",
1579
+ "type": "string",
1580
+ "label": "Harness that wrote the code, excluded with its model family"
1581
+ },
1582
+ {
1583
+ "name": "thread",
1584
+ "flag": "--thread",
1585
+ "type": "string",
1586
+ "label": "Thread to attach the review to"
1587
+ },
1588
+ {
1589
+ "name": "cwd",
1590
+ "flag": "--cwd",
1591
+ "type": "string",
1592
+ "label": "Explicit workspace on the selected node"
1593
+ },
1594
+ {
1595
+ "name": "node",
1596
+ "flag": "--node",
1597
+ "type": "string",
1598
+ "label": "Selected mesh node"
1599
+ },
1600
+ {
1601
+ "name": "allowUnknownAuth",
1602
+ "flag": "--allow-unknown-auth",
1603
+ "type": "boolean",
1604
+ "label": "Explicitly allow a runner without a login probe"
1605
+ },
1606
+ {
1607
+ "name": "timeoutMs",
1608
+ "flag": "--timeout-ms",
1609
+ "type": "number",
1610
+ "label": "Remote wall-clock limit in milliseconds"
1611
+ }
1612
+ ],
1613
+ "timeout_ms": 600000
1614
+ }
1615
+ ]
1616
+ },
1617
+ "runtime": {
1618
+ "modules": {
1619
+ "command-executor": "src/executor.mjs",
1620
+ "documentation": "src/documentation.mjs",
1621
+ "agent-runtime": "src/runtime.mjs",
1622
+ "tracker": "src/tracker.mjs",
1623
+ "harness-compat": "src/compat-harness.mjs",
1624
+ "reasoning-runtime": "src/reasoning.mjs",
1625
+ "process-manager": "src/process-manager.mjs",
1626
+ "gate-adapters": "src/gate-adapters/index.mjs"
1627
+ },
1628
+ "setup_command": "setup"
1629
+ },
1630
+ "branding": {
1631
+ "name": "Metaharness",
1632
+ "color": "#3b82f6",
1633
+ "accent": "#38bdf8",
1634
+ "background": "#0c1427",
1635
+ "font": "system"
1636
+ },
1637
+ "ui": {
1638
+ "home": "home",
1639
+ "design_tokens": "DESIGN.md",
1640
+ "elements": [
1641
+ {
1642
+ "id": "home",
1643
+ "kind": "panel",
1644
+ "tag": "tr-metaharness-home",
1645
+ "module": "ui/home.js",
1646
+ "description": "Default Chat harness and launch destination"
1647
+ }
1648
+ ]
1649
+ },
1650
+ "auth": {
1651
+ "plugin": "auth",
1652
+ "methods": [
1653
+ "passkey",
1654
+ "google-oauth2"
1655
+ ],
1656
+ "session_verification": true
1657
+ },
1658
+ "distribution": {
1659
+ "tier": "official",
1660
+ "license": "open"
1661
+ },
1662
+ "tasks": [
1663
+ {
1664
+ "intent": "Keep official agent documentation and Total Recall integrations current",
1665
+ "schedule": "*/15 * * * *",
1666
+ "command": "maintenance",
1667
+ "placement": "selected-node",
1668
+ "timeout_ms": 600000
1669
+ },
1670
+ {
1671
+ "intent": "Automated daily model and benchmark catalog refresh into offline living documents",
1672
+ "schedule": "0 3 * * *",
1673
+ "command": "maintenance --models",
1674
+ "placement": "selected-node",
1675
+ "timeout_ms": 300000
1676
+ },
1677
+ {
1678
+ "intent": "Keep each installed agent harness on its own latest release",
1679
+ "schedule": "30 3 * * *",
1680
+ "command": "maintenance --harnesses",
1681
+ "placement": "selected-node",
1682
+ "timeout_ms": 600000
1683
+ },
1684
+ {
1685
+ "intent": "Report quota walls and measured usage to the operator",
1686
+ "schedule": "*/5 * * * *",
1687
+ "command": "alerts check",
1688
+ "placement": "selected-node",
1689
+ "timeout_ms": 60000
1690
+ }
1691
+ ],
1692
+ "alerts": {
1693
+ "plugin": "operator-alerts",
1694
+ "command": "alerts",
1695
+ "on_task_failure": true,
1696
+ "events": [
1697
+ {
1698
+ "id": "runaway-velocity",
1699
+ "severity": "critical",
1700
+ "description": "Dispatch or internal reasoning velocity/token circuit breaker tripped"
1701
+ },
1702
+ {
1703
+ "id": "quota-wall",
1704
+ "severity": "high",
1705
+ "description": "Harness quota wall reached"
1706
+ },
1707
+ {
1708
+ "id": "usage-threshold",
1709
+ "severity": "high",
1710
+ "description": "Harness usage exceeded configured threshold"
1711
+ }
1712
+ ]
1713
+ }
1714
+ }