From 523b60e41495f608d2d81aa741d50ddd7a4a45c7 Mon Sep 17 00:00:00 2001 From: Fabro Date: Thu, 19 Mar 2026 09:28:28 -0400 Subject: [PATCH] checkpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit āš’ļø Generated with [Fabro](https://fabro.sh) --- checkpoint.json | 61 ++++++++++++++++++++++++++++++++++ nodes/draft/prompt.md | 4 +++ nodes/draft/provider_used.json | 5 +++ nodes/draft/response.md | 23 +++++++++++++ nodes/draft/status.json | 6 ++++ nodes/start/status.json | 6 ++++ 6 files changed, 105 insertions(+) create mode 100644 checkpoint.json create mode 100644 nodes/draft/prompt.md create mode 100644 nodes/draft/provider_used.json create mode 100644 nodes/draft/response.md create mode 100644 nodes/draft/status.json create mode 100644 nodes/start/status.json diff --git a/checkpoint.json b/checkpoint.json new file mode 100644 index 000000000..5eaebdff8 --- /dev/null +++ b/checkpoint.json @@ -0,0 +1,61 @@ +{ + "timestamp": "2026-03-19T13:28:28.510918Z", + "current_node": "draft", + "completed_nodes": [ + "start", + "draft" + ], + "node_retries": { + "start": 1, + "draft": 1 + }, + "context_values": { + "graph.rankdir": "LR", + "outcome": "success", + "internal.fidelity": "compact", + "thread.start.current_node": "draft", + "current.preamble": "Goal: Test human gate with auto-approve\n", + "internal.thread_id": "start", + "graph.goal": "Test human gate with auto-approve", + "last_stage": "draft", + "internal.node_visit_count": 1, + "internal.retry_count.draft": 1, + "failure_class": "", + "current_node": "draft", + "internal.retry_count.start": 1, + "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 `\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" + }, + "logs": [], + "node_outcomes": { + "start": { + "status": "success", + "duration_ms": 0 + }, + "draft": { + "status": "success", + "context_updates": { + "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 `\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?", + "last_stage": "draft", + "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" + }, + "notes": "Stage completed: draft", + "usage": { + "model": "claude-haiku-4-5", + "input_tokens": 2022, + "output_tokens": 190, + "cache_read_tokens": 0, + "cache_write_tokens": 0, + "cost": 0.0023776 + }, + "duration_ms": 2909 + } + }, + "next_node_id": "approve", + "node_visits": { + "start": 1, + "draft": 1 + } +} \ No newline at end of file diff --git a/nodes/draft/prompt.md b/nodes/draft/prompt.md new file mode 100644 index 000000000..75d67e5b4 --- /dev/null +++ b/nodes/draft/prompt.md @@ -0,0 +1,4 @@ +Goal: Test human gate with auto-approve + + +Write a short greeting message. \ No newline at end of file diff --git a/nodes/draft/provider_used.json b/nodes/draft/provider_used.json new file mode 100644 index 000000000..f79dec8be --- /dev/null +++ b/nodes/draft/provider_used.json @@ -0,0 +1,5 @@ +{ + "mode": "prompt", + "provider": "anthropic", + "model": "claude-haiku-4-5" +} \ No newline at end of file diff --git a/nodes/draft/response.md b/nodes/draft/response.md new file mode 100644 index 000000000..006b7608b --- /dev/null +++ b/nodes/draft/response.md @@ -0,0 +1,23 @@ +# Human Gate Auto-Approve Test + +Here's a greeting for testing the human gate feature: + +``` +šŸ‘‹ Welcome to the Human Gate Auto-Approve Test! + +This workflow demonstrates the human-in-the-loop stage with automatic approval. +When the workflow encounters a human gate, it will pause and wait for approval, +then automatically resume and continue execution. + +Let's see it in action! šŸš€ +``` + +To test this, you could: + +1. Create a workflow with a human gate stage +2. Run it with `fabro run ` +3. The workflow will pause at the human gate +4. Approve it (via API, CLI, or web UI) +5. Verify it resumes and completes successfully + +Would you like me to help you set up a test workflow or add test cases for this functionality? \ No newline at end of file diff --git a/nodes/draft/status.json b/nodes/draft/status.json new file mode 100644 index 000000000..2805bcb7d --- /dev/null +++ b/nodes/draft/status.json @@ -0,0 +1,6 @@ +{ + "status": "success", + "notes": "Stage completed: draft", + "failure_reason": null, + "timestamp": "2026-03-19T13:28:28.510661+00:00" +} \ No newline at end of file diff --git a/nodes/start/status.json b/nodes/start/status.json new file mode 100644 index 000000000..a8e6d93fe --- /dev/null +++ b/nodes/start/status.json @@ -0,0 +1,6 @@ +{ + "status": "success", + "notes": null, + "failure_reason": null, + "timestamp": "2026-03-19T13:28:25.599969+00:00" +} \ No newline at end of file