From da9b604b1ce7850b59d9b45fb02dcf9d5f05a659 Mon Sep 17 00:00:00 2001 From: Fabro Date: Thu, 21 May 2026 14:22:30 -0400 Subject: [PATCH] =?UTF-8?q?checkpoint=20=E2=9A=92=EF=B8=8F=20Generated=20w?= =?UTF-8?q?ith=20[Fabro](https://fabro.sh)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.json | 211 ++++++++++++++++++++++++++- stages/001-start@1/status.json | 6 + stages/002-emit@1/prompt.md | 4 + stages/002-emit@1/provider_used.json | 4 + 4 files changed, 218 insertions(+), 7 deletions(-) create mode 100644 stages/001-start@1/status.json create mode 100644 stages/002-emit@1/prompt.md create mode 100644 stages/002-emit@1/provider_used.json diff --git a/run.json b/run.json index 6e25604db..776159783 100644 --- a/run.json +++ b/run.json @@ -225,14 +225,155 @@ } }, "web_url": "http://127.0.0.1:32276/runs/01KS5WBZAE7K8321NHR7KFAHF9", - "start": null, - "status": { - "kind": "starting" + "start": { + "start_time": "2026-05-21T18:22:25.245500Z", + "run_branch": "fabro/run/01KS5WBZAE7K8321NHR7KFAHF9", + "base_sha": "5095873dddace0c609f9fdf4b56daf75b17ed175" }, - "status_updated_at": "2026-05-21T18:22:07.219658Z", - "last_event_at": "2026-05-21T18:22:24.689218Z", + "status": { + "kind": "running" + }, + "status_updated_at": "2026-05-21T18:22:25.245534Z", + "last_event_at": "2026-05-21T18:22:27.861676Z", "pending_control": null, - "checkpoints": [], + "checkpoints": [ + { + "seq": 19, + "checkpoint": { + "timestamp": "2026-05-21T18:22:27.728848Z", + "current_node": "start", + "completed_nodes": [ + "start" + ], + "node_retries": {}, + "context_values": { + "outcome": "succeeded", + "failure_signature": "", + "graph.rankdir": "LR", + "failure_class": "", + "internal.retry_count.start": 0, + "current_node": "start", + "graph.goal": "Emit structured outputs to demonstrate the stage Context tab", + "internal.run_id": "01KS5WBZAE7K8321NHR7KFAHF9", + "internal.fidelity": "compact", + "internal.thread_id": null, + "internal.work_dir": "/home/daytona/workspace/fabro", + "internal.node_visit_count": 1 + }, + "node_outcomes": { + "start": { + "status": "succeeded", + "usage": null + } + }, + "next_node_id": "emit", + "node_visits": { + "start": 1 + } + }, + "diff": {} + }, + { + "seq": 0, + "checkpoint": { + "timestamp": "2026-05-21T18:22:29.727732Z", + "current_node": "emit", + "completed_nodes": [ + "start", + "emit" + ], + "node_retries": {}, + "context_values": { + "internal.retry_count.emit": 0, + "internal.fidelity": "compact", + "internal.node_visit_count": 1, + "internal.retry_count.start": 0, + "failure_class": "", + "demo.greeting": "Hello from the Context tab", + "thread.start.current_node": "emit", + "demo.answer": 42, + "internal.run_id": "01KS5WBZAE7K8321NHR7KFAHF9", + "internal.work_dir": "/home/daytona/workspace/fabro", + "current_node": "emit", + "failure_signature": "", + "demo.payload": { + "nested": true, + "items": [ + 1, + 2, + 3 + ] + }, + "last_response": "{\"context_updates\": {\"demo.greeting\": \"Hello from the Context tab\", \"demo.answer\": 42, \"demo.payload\": {\"nested\": true, \"items\": [1, 2, 3]}}, \"preferred_next_label\": \"Done\", \"suggested_next_ids\": [\"ex", + "preferred_label": "Done", + "graph.rankdir": "LR", + "response.emit": "{\"context_updates\": {\"demo.greeting\": \"Hello from the Context tab\", \"demo.answer\": 42, \"demo.payload\": {\"nested\": true, \"items\": [1, 2, 3]}}, \"preferred_next_label\": \"Done\", \"suggested_next_ids\": [\"exit\"]}", + "graph.goal": "Emit structured outputs to demonstrate the stage Context tab", + "outcome": "succeeded", + "internal.thread_id": "start", + "last_stage": "emit" + }, + "node_outcomes": { + "start": { + "status": "succeeded", + "usage": null + }, + "emit": { + "status": "succeeded", + "preferred_label": "Done", + "suggested_next_ids": [ + "exit" + ], + "context_updates": { + "demo.payload": { + "nested": true, + "items": [ + 1, + 2, + 3 + ] + }, + "demo.answer": 42, + "demo.greeting": "Hello from the Context tab", + "response.emit": "{\"context_updates\": {\"demo.greeting\": \"Hello from the Context tab\", \"demo.answer\": 42, \"demo.payload\": {\"nested\": true, \"items\": [1, 2, 3]}}, \"preferred_next_label\": \"Done\", \"suggested_next_ids\": [\"exit\"]}", + "last_response": "{\"context_updates\": {\"demo.greeting\": \"Hello from the Context tab\", \"demo.answer\": 42, \"demo.payload\": {\"nested\": true, \"items\": [1, 2, 3]}}, \"preferred_next_label\": \"Done\", \"suggested_next_ids\": [\"ex", + "last_stage": "emit" + }, + "notes": "Stage completed: emit", + "usage": { + "input": { + "usage": { + "model": { + "provider": "anthropic", + "model_id": "claude-sonnet-4-6" + }, + "tokens": { + "input_tokens": 120, + "output_tokens": 72, + "reasoning_tokens": 0, + "cache_read_tokens": 0, + "cache_write_tokens": 5351 + } + }, + "facts": { + "algorithm": "anthropic", + "cache_write_5m_tokens": 5351, + "cache_write_1h_tokens": 0 + } + }, + "total_usd_micros": 21506 + } + } + }, + "next_node_id": "exit", + "node_visits": { + "emit": 1, + "start": 1 + } + }, + "diff": {} + } + ], "conclusion": null, "sandbox": { "provider": "daytona", @@ -253,5 +394,61 @@ "pull_request": null, "superseded_by": null, "pending_interviews": {}, - "stages": {} + "stages": { + "start@1": { + "first_event_seq": 16, + "prompt": null, + "response": null, + "completion": { + "outcome": "succeeded", + "notes": null, + "failure_reason": null, + "timestamp": "2026-05-21T18:22:27.728754Z" + }, + "provider_used": null, + "diff": null, + "script_invocation": null, + "script_timing": null, + "parallel_results": null, + "output": null, + "started_at": "2026-05-21T18:22:27.728667Z", + "handler": "start", + "duration_ms": 0, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "reasoning_tokens": 0, + "cache_read_tokens": 0, + "cache_write_tokens": 0 + }, + "state": "succeeded" + }, + "emit@1": { + "first_event_seq": 20, + "prompt": null, + "response": null, + "completion": null, + "provider_used": { + "mode": "prompt", + "provider": "anthropic" + }, + "diff": null, + "script_invocation": null, + "script_timing": null, + "parallel_results": null, + "output": null, + "started_at": "2026-05-21T18:22:27.728960Z", + "handler": "prompt", + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "reasoning_tokens": 0, + "cache_read_tokens": 0, + "cache_write_tokens": 0 + }, + "state": "running" + } + } } \ No newline at end of file diff --git a/stages/001-start@1/status.json b/stages/001-start@1/status.json new file mode 100644 index 000000000..1d169e71d --- /dev/null +++ b/stages/001-start@1/status.json @@ -0,0 +1,6 @@ +{ + "outcome": "succeeded", + "notes": null, + "failure_reason": null, + "timestamp": "2026-05-21T18:22:27.728754Z" +} \ No newline at end of file diff --git a/stages/002-emit@1/prompt.md b/stages/002-emit@1/prompt.md new file mode 100644 index 000000000..471c1f033 --- /dev/null +++ b/stages/002-emit@1/prompt.md @@ -0,0 +1,4 @@ +Goal: Emit structured outputs to demonstrate the stage Context tab + + +Reply with ONLY the following JSON object and nothing else — no prose, no markdown, no code fences. The exact text of your entire reply must be: {"context_updates": {"demo.greeting": "Hello from the Context tab", "demo.answer": 42, "demo.payload": {"nested": true, "items": [1, 2, 3]}}, "preferred_next_label": "Done", "suggested_next_ids": ["exit"]} \ No newline at end of file diff --git a/stages/002-emit@1/provider_used.json b/stages/002-emit@1/provider_used.json new file mode 100644 index 000000000..2c7da2790 --- /dev/null +++ b/stages/002-emit@1/provider_used.json @@ -0,0 +1,4 @@ +{ + "mode": "prompt", + "provider": "anthropic" +} \ No newline at end of file