mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
parent
5d47967353
commit
e93450f9db
4 changed files with 46 additions and 14 deletions
|
|
@ -1,25 +1,29 @@
|
|||
{
|
||||
"timestamp": "2026-03-19T13:28:30.817875Z",
|
||||
"current_node": "approve",
|
||||
"timestamp": "2026-03-19T13:28:32.856560Z",
|
||||
"current_node": "ship",
|
||||
"completed_nodes": [
|
||||
"start",
|
||||
"draft",
|
||||
"approve"
|
||||
"approve",
|
||||
"ship"
|
||||
],
|
||||
"node_retries": {
|
||||
"approve": 1,
|
||||
"start": 1,
|
||||
"draft": 1
|
||||
"draft": 1,
|
||||
"approve": 1,
|
||||
"ship": 1
|
||||
},
|
||||
"context_values": {
|
||||
"graph.rankdir": "LR",
|
||||
"outcome": "success",
|
||||
"internal.fidelity": "compact",
|
||||
"internal.retry_count.ship": 1,
|
||||
"human.gate.label": "[A] Approve",
|
||||
"thread.start.current_node": "draft",
|
||||
"current.preamble": "Goal: Test human gate with auto-approve\n\n## Completed stages\n- **draft**: success\n - Model: claude-haiku-4-5, 2.0k tokens in / 190 out\n",
|
||||
"current.preamble": "Goal: Test human gate with auto-approve\n\n## Completed stages\n- **draft**: success\n - Model: claude-haiku-4-5, 2.0k tokens in / 190 out\n- **approve**: success\n\n## Context\n- human.gate.label: [A] Approve\n- human.gate.selected: A\n",
|
||||
"preferred_label": "[A] Approve",
|
||||
"internal.thread_id": "draft",
|
||||
"command.output": "shipped\n",
|
||||
"internal.thread_id": "approve",
|
||||
"graph.goal": "Test human gate with auto-approve",
|
||||
"last_stage": "draft",
|
||||
"internal.node_visit_count": 1,
|
||||
|
|
@ -27,13 +31,15 @@
|
|||
"thread.draft.current_node": "approve",
|
||||
"human.gate.selected": "A",
|
||||
"failure_class": "",
|
||||
"current_node": "approve",
|
||||
"current_node": "ship",
|
||||
"internal.retry_count.start": 1,
|
||||
"thread.approve.current_node": "ship",
|
||||
"response.draft": "# Human Gate Auto-Approve Test\n\nHere's a greeting for testing the human gate feature:\n\n```\n👋 Welcome to the Human Gate Auto-Approve Test!\n\nThis workflow demonstrates the human-in-the-loop stage with automatic approval.\nWhen the workflow encounters a human gate, it will pause and wait for approval,\nthen automatically resume and continue execution.\n\nLet's see it in action! 🚀\n```\n\nTo test this, you could:\n\n1. Create a workflow with a human gate stage\n2. Run it with `fabro run <workflow-name>`\n3. The workflow will pause at the human gate\n4. Approve it (via API, CLI, or web UI)\n5. Verify it resumes and completes successfully\n\nWould you like me to help you set up a test workflow or add test cases for this functionality?",
|
||||
"internal.run_id": "01KM34GS97DJ1W5DWYQ2XRRQMY",
|
||||
"failure_signature": "",
|
||||
"last_response": "# Human Gate Auto-Approve Test\n\nHere's a greeting for testing the human gate feature:\n\n```\n👋 Welcome to the Human Gate Auto-Approve Test!\n\nThis workflow demonstrates the human-in-the-loop stage wit",
|
||||
"internal.retry_count.approve": 1
|
||||
"internal.retry_count.approve": 1,
|
||||
"command.stderr": ""
|
||||
},
|
||||
"logs": [],
|
||||
"node_outcomes": {
|
||||
|
|
@ -49,10 +55,6 @@
|
|||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
"start": {
|
||||
"status": "success",
|
||||
"duration_ms": 0
|
||||
},
|
||||
"draft": {
|
||||
"status": "success",
|
||||
"context_updates": {
|
||||
|
|
@ -70,10 +72,24 @@
|
|||
"cost": 0.0023776
|
||||
},
|
||||
"duration_ms": 2909
|
||||
},
|
||||
"start": {
|
||||
"status": "success",
|
||||
"duration_ms": 0
|
||||
},
|
||||
"ship": {
|
||||
"status": "success",
|
||||
"context_updates": {
|
||||
"command.output": "shipped\n",
|
||||
"command.stderr": ""
|
||||
},
|
||||
"notes": "Script completed: echo shipped",
|
||||
"duration_ms": 30
|
||||
}
|
||||
},
|
||||
"next_node_id": "ship",
|
||||
"next_node_id": "exit",
|
||||
"node_visits": {
|
||||
"ship": 1,
|
||||
"start": 1,
|
||||
"draft": 1,
|
||||
"approve": 1
|
||||
|
|
|
|||
5
nodes/ship/script_invocation.json
Normal file
5
nodes/ship/script_invocation.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"command": "echo shipped",
|
||||
"language": "shell",
|
||||
"timeout_ms": null
|
||||
}
|
||||
5
nodes/ship/script_timing.json
Normal file
5
nodes/ship/script_timing.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"duration_ms": 30,
|
||||
"exit_code": 0,
|
||||
"timed_out": false
|
||||
}
|
||||
6
nodes/ship/status.json
Normal file
6
nodes/ship/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"status": "success",
|
||||
"notes": "Script completed: echo shipped",
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-03-19T13:28:32.856307+00:00"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue