rightcommit 1.6.0

Self-hosted, Rust-built orchestration for Claude Code, Codex and Pi Agent. Parallel workflows, full control over every commit, and FinOps that shows exactly what each agent and model costs.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
{
  "execution": {
    "mode": "interactive",
    "runtime": "",
    "model": "",
    "instructions": "",
    "max_decisions": 50,
    "max_per_node": 5,
    "allow_external_writes": false
  },
  "created": 0,
  "id": "as-is-sdd-adversarial",
  "name": "Application overview → Evidence and functional catalog",
  "description": "Analyzes the current codebase and documentation to build an application overview, an evidence report, a plain-language summary and a functional catalog for subsequent workflows. Claude prepares the content, Codex verifies it independently, and a human approves the result.",
  "entry": "task-55c0b357",
  "nodes": [
    {
      "id": "source-71d48e64",
      "kind": "Source",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Repository to analyze",
      "x": 43.0,
      "y": 140.0,
      "phase": "Workflow",
      "prompt": "",
      "command": "",
      "agent": "",
      "runtime": "",
      "model": "",
      "mode": "agent_and_human",
      "location": "",
      "source_type": "example",
      "source_mode": "copy",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "local",
      "operation": "test",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 2
    },
    {
      "id": "agent-aa47bf35",
      "kind": "Agent",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Claude",
      "x": 257.4724264705883,
      "y": 86.8189338235294,
      "phase": "Workflow",
      "prompt": "",
      "command": "",
      "agent": "",
      "runtime": "claude",
      "model": "",
      "mode": "agent_and_human",
      "location": "",
      "source_type": "example",
      "source_mode": "direct",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "local",
      "operation": "test",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 2
    },
    {
      "id": "agent-codex",
      "kind": "Agent",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Codex · Adversarial reviewer",
      "x": 252.0,
      "y": 300.0,
      "phase": "Workflow",
      "prompt": "",
      "command": "",
      "agent": "",
      "runtime": "codex",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 0
    },
    {
      "id": "task-55c0b357",
      "kind": "Task",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Initial analysis",
      "x": 435.0199617585184,
      "y": 83.89899323601878,
      "phase": "Analysis",
      "prompt": "Analyze all customer-provided material in Source for the application to modernize. Create EVIDENCE.md in the workspace root: application purpose, architecture, technologies, components, available information, completeness and reliability, size, integrations, risks, missing evidence and questions for the customer. Cite primary source paths and distinguish verified facts, inferences and unknowns. Ask Codex for an adversarial check when available; record whether that check actually occurred. Do not modify customer material or invent measurements, test results or approvals.\n\nRERUN NOTE: if EVIDENCE.md already exists and is complete (application overview, architecture, inventory, business behavior, integrations, gaps and risks, customer questions, conclusions and a reproducible methodology note), verify that it is present and readable and reuse it without changes. Continue with SUMMARY.md and the functional catalog. Produce all documents in English.",
      "command": "",
      "agent": "agent-aa47bf35",
      "runtime": "",
      "model": "",
      "mode": "agent_and_human",
      "location": "",
      "source_type": "example",
      "source_mode": "direct",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "local",
      "operation": "test",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 2
    },
    {
      "id": "task-inbreve",
      "kind": "Task",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Write SUMMARY.md",
      "x": 609.6406778762605,
      "y": 84.29550736738672,
      "phase": "Summary",
      "prompt": "Create or overwrite SUMMARY.md in the workspace root: a plain-language summary of EVIDENCE.md. Describe the application's purpose, business areas, execution model, technologies, size, integrations, modernization uncertainties and outstanding customer questions. Derive every statement and number from EVIDENCE.md; verify numbers before writing and report discrepancies. Do not reuse counts, company names or business rules from another project. Clearly distinguish measured facts from estimates and unknowns. Include a provenance note referencing EVIDENCE.md and report independent review only if documented. Do not estimate effort or duration. Do not modify EVIDENCE.md or customer material. Write in English.",
      "command": "",
      "agent": "agent-aa47bf35",
      "runtime": "",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 2
    },
    {
      "id": "task-catalogo",
      "kind": "Task",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Functional catalog",
      "x": 792.9319852941177,
      "y": 84.05790441176471,
      "phase": "Catalog",
      "prompt": "Create or overwrite FUNCTIONAL_CATALOG.md in the workspace root: a catalog of the application's functional chains to support modernization scoping and sequencing.\n\nSOURCES: use EVIDENCE.md and SUMMARY.md for orientation, then inspect primary sources available in Source: flow maps, scheduler exports, jobs, commands, conditions, status and frequency; scripts and procedures; application source, build files and shared definitions; database schemas, SQL and load layouts; and customer documentation. Discover actual names, formats and counts from this project. Declare missing or ambiguous sources.\n\nCATALOG UNIT: a functional chain is a set of jobs and components delivering a recognizable business outcome. Start from documented components and flows; split or merge only when supported by sources and explain each choice. Include isolated scheduler folders and components, assigning them to chains only when commands, scripts, files or tables support the association.\n\nFOR EACH CHAIN: stable ID; name; business area; organizational scope; plain-language description (2–3 sentences); trigger and frequency; status (active/suspended/retired/to confirm); scheduler folders and job count; main scripts and procedures; invoked programs (distinguish entry points, routines and encoding variants); application projects; tables read and written; input/output files and layouts; external systems; dependencies through conditions, files or tables; existing AS-IS documentation; S/M/L complexity with explicit criteria (component counts, lines of code, integrations, coupling); open questions. Mark claims [V] verified, [I] inferred or [?] to confirm, and cite source paths.\n\nMANDATORY FINAL SECTIONS: 1) chain summary with counts; 2) reverse index component → chains for programs, application projects and main tables; 3) shared components; 4) unassigned orphan programs, scripts, jobs, projects and tables with counts; 5) reconciliation with EVIDENCE.md totals, explaining every difference; 6) reproducible methodology.\n\nDo not estimate effort or person-days. Do not modify customer material or EVIDENCE.md. Put helper scripts outside customer material in a temporary directory. Write in English.",
      "command": "",
      "agent": "agent-aa47bf35",
      "runtime": "",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 2
    },
    {
      "id": "mem-catalogo",
      "kind": "Memory",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Catalog → Codex",
      "x": 983.8878676470588,
      "y": 83.07904411764706,
      "phase": "Catalog",
      "prompt": "",
      "command": "",
      "agent": "task-catalogo",
      "runtime": "",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "agent-codex",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 0
    },
    {
      "id": "task-verifica",
      "kind": "Task",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Adversarial verification (Codex)",
      "x": 440.0,
      "y": 300.0,
      "phase": "Verification",
      "prompt": "Act as an independent adversarial reviewer: seek errors, not confirmation. Read FUNCTIONAL_CATALOG.md and SUMMARY.md and compare them with actual Source files and EVIDENCE.md.\n\nCheck at least: a) a sample of at least 10 chains, or all chains if fewer exist, tracing scheduler folder → job → script/procedure → program → table in primary sources where applicable; b) every scheduler folder, built program, application project and script is assigned to a chain or listed as an orphan; c) totals and reconciliation with EVIDENCE.md; d) unsupported inter-chain dependencies; e) inferences marked [V]; f) nonexistent paths; g) SUMMARY.md numbers that differ from EVIDENCE.md or unsupported claims. Record unavailable checks explicitly.\n\nCreate or overwrite CATALOG_REVIEW.md in English. For each finding, state document and section, evidence (source path), blocking/major/minor severity and proposed correction. Do not modify FUNCTIONAL_CATALOG.md or SUMMARY.md. End with ALIGNED if no blocking or major findings remain, otherwise DIFFERENCES.",
      "command": "",
      "agent": "agent-codex",
      "runtime": "",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 2
    },
    {
      "id": "mem-verifica",
      "kind": "Memory",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Findings → Claude",
      "x": 620.0,
      "y": 300.0,
      "phase": "Verification",
      "prompt": "",
      "command": "",
      "agent": "task-verifica",
      "runtime": "",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "agent-aa47bf35",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 0
    },
    {
      "id": "task-perfeziona",
      "kind": "Task",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Claude refines",
      "x": 808.7430719365216,
      "y": 298.3711003625262,
      "phase": "Refinement",
      "prompt": "Read CATALOG_REVIEW.md and any human approval feedback. If the verdict is ALIGNED and there are no blocking or major findings or human requests, change nothing and say so. Otherwise independently check each finding against primary sources: correct FUNCTIONAL_CATALOG.md or SUMMARY.md with source citations if substantiated; if unfounded, retain the text and explain why. Add or update the Revision log at the end of FUNCTIONAL_CATALOG.md (finding → action taken). Keep shared numbers consistent in SUMMARY.md. Modify only these two files. Write in English.",
      "command": "",
      "agent": "agent-aa47bf35",
      "runtime": "",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 2
    },
    {
      "id": "mem-perfeziona",
      "kind": "Memory",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Corrections → Codex",
      "x": 980.0,
      "y": 300.0,
      "phase": "Refinement",
      "prompt": "",
      "command": "",
      "agent": "task-perfeziona",
      "runtime": "",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "agent-codex",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 0
    },
    {
      "id": "gate-catalogo",
      "kind": "Gate",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Catalog aligned?",
      "x": 1160.0,
      "y": 300.0,
      "phase": "Final verification",
      "prompt": "Compare the current FUNCTIONAL_CATALOG.md and SUMMARY.md with CATALOG_REVIEW.md findings and actual Source files. Return pass only if each blocking or major finding has been corrected in the files or rejected with verifiable justification and no new significant discrepancies emerge; otherwise return rework for another adversarial verification cycle. Do not approve claimed corrections that are absent from the files. Write the rationale in English.",
      "command": "",
      "agent": "agent-codex",
      "runtime": "",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [
        "pass",
        "rework"
      ],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 3
    },
    {
      "id": "review-approvazione",
      "kind": "Review",
      "text": "",
      "width": 0.0,
      "height": 0.0,
      "markdown": false,
      "title": "Final approval",
      "x": 1355.091911764706,
      "y": 300.80882352941177,
      "phase": "Delivery",
      "prompt": "Approve SUMMARY.md and FUNCTIONAL_CATALOG.md. Check the verdict in CATALOG_REVIEW.md and the Revision log. If a correction is needed, choose rework and specify the required changes: the workflow returns to Claude for refinement.",
      "command": "",
      "agent": "agent-aa47bf35",
      "runtime": "",
      "model": "",
      "mode": "human",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 2
    },
    {
      "id": "nota-flusso",
      "kind": "Comment",
      "text": "# Flow\n1. **Initial analysis**: reuse a complete EVIDENCE.md if present\n2. **SUMMARY.md**: plain-language summary (Claude)\n3. **FUNCTIONAL_CATALOG.md**: functional chains (Claude)\n4. **Adversarial verification**: Codex writes CATALOG_REVIEW.md\n5. **Refinement**: Claude addresses substantiated findings\n6. **Codex gate**: pass → human approval; rework → another verification (max 3)\n7. **Human approval**: rework → Claude",
      "width": 0.0,
      "height": 0.0,
      "markdown": true,
      "title": "Notes",
      "x": 1190.5294148297735,
      "y": 23.135346825896537,
      "phase": "",
      "prompt": "",
      "command": "",
      "agent": "",
      "runtime": "",
      "model": "",
      "mode": "",
      "location": "",
      "source_type": "",
      "source_mode": "",
      "target": "",
      "workflow_id": "",
      "rag_index": "",
      "rag_mode": "",
      "rag_top_k": 0,
      "a2a_id": "",
      "mcp_id": "",
      "mcp_tools": [],
      "provider": "",
      "operation": "",
      "outcomes": [],
      "require_tests": false,
      "require_tasks_closed": false,
      "max_rework": 0
    }
  ],
  "edges": [
    {
      "from": "source-71d48e64",
      "to": "agent-aa47bf35",
      "kind": "context",
      "outcome": ""
    },
    {
      "from": "source-71d48e64",
      "to": "agent-codex",
      "kind": "context",
      "outcome": ""
    },
    {
      "from": "agent-aa47bf35",
      "to": "task-55c0b357",
      "kind": "context",
      "outcome": ""
    },
    {
      "from": "agent-codex",
      "to": "task-verifica",
      "kind": "context",
      "outcome": ""
    },
    {
      "from": "task-55c0b357",
      "to": "task-inbreve",
      "kind": "control",
      "outcome": ""
    },
    {
      "from": "task-inbreve",
      "to": "task-catalogo",
      "kind": "control",
      "outcome": ""
    },
    {
      "from": "task-catalogo",
      "to": "mem-catalogo",
      "kind": "control",
      "outcome": ""
    },
    {
      "from": "mem-catalogo",
      "to": "task-verifica",
      "kind": "control",
      "outcome": ""
    },
    {
      "from": "task-verifica",
      "to": "mem-verifica",
      "kind": "control",
      "outcome": ""
    },
    {
      "from": "mem-verifica",
      "to": "task-perfeziona",
      "kind": "control",
      "outcome": ""
    },
    {
      "from": "task-perfeziona",
      "to": "mem-perfeziona",
      "kind": "control",
      "outcome": ""
    },
    {
      "from": "mem-perfeziona",
      "to": "gate-catalogo",
      "kind": "control",
      "outcome": ""
    },
    {
      "from": "gate-catalogo",
      "to": "review-approvazione",
      "kind": "control",
      "outcome": "pass"
    },
    {
      "from": "gate-catalogo",
      "to": "task-verifica",
      "kind": "rework",
      "outcome": "rework"
    },
    {
      "from": "review-approvazione",
      "to": "task-perfeziona",
      "kind": "rework",
      "outcome": "rework"
    }
  ]
}