mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-11 22:53:00 +00:00
parent
5322e4dd6a
commit
ec734d4e5c
5 changed files with 83 additions and 9 deletions
|
|
@ -1,35 +1,60 @@
|
|||
{
|
||||
"timestamp": "2026-03-19T12:59:48.983541Z",
|
||||
"current_node": "setup",
|
||||
"timestamp": "2026-03-19T12:59:55.130992Z",
|
||||
"current_node": "plan",
|
||||
"completed_nodes": [
|
||||
"start",
|
||||
"setup"
|
||||
"setup",
|
||||
"plan"
|
||||
],
|
||||
"node_retries": {
|
||||
"start": 1,
|
||||
"setup": 1
|
||||
"setup": 1,
|
||||
"plan": 1
|
||||
},
|
||||
"context_values": {
|
||||
"internal.retry_count.start": 1,
|
||||
"failure_class": "",
|
||||
"internal.work_dir": "/private/var/folders/nm/bd2dwzy52t1ckn3tklsfmy1c0000gn/T/.tmpITw1YV/run/worktree",
|
||||
"last_stage": "plan",
|
||||
"command.stderr": "",
|
||||
"command.output": "",
|
||||
"internal.node_visit_count": 1,
|
||||
"internal.thread_id": "start",
|
||||
"internal.thread_id": "setup",
|
||||
"failure_signature": "",
|
||||
"graph.goal": "Full-stack scenario: command, agent, human gate, and goal gate verification",
|
||||
"current_node": "setup",
|
||||
"current_node": "plan",
|
||||
"thread.setup.current_node": "plan",
|
||||
"thread.start.current_node": "setup",
|
||||
"current.preamble": "Goal: Full-stack scenario: command, agent, human gate, and goal gate verification\n",
|
||||
"current.preamble": "Goal: Full-stack scenario: command, agent, human gate, and goal gate verification\n\n## Completed stages\n- **setup**: success\n - Script: `mkdir -p /tmp/scenario_full && echo ready > /tmp/scenario_full/flag.txt`\n - Stdout: (empty)\n - Stderr: (empty)\n",
|
||||
"outcome": "success",
|
||||
"internal.run_id": "01KM32WG9GYX638SCY467AW018",
|
||||
"internal.retry_count.plan": 1,
|
||||
"response.plan": "I'll help you complete this scenario. Let me break this down:\n\n1. Read the file `/tmp/scenario_full/flag.txt` (which was created in the setup stage with content \"ready\")\n2. Create a file `/tmp/scenario_full/result.txt` with the content \"PASS\"\n\nLet me execute this:\n\n```bash\ncat /tmp/scenario_full/flag.txt && echo \"PASS\" > /tmp/scenario_full/result.txt && cat /tmp/scenario_full/result.txt\n```\n\nThis command will:\n- Read and display the contents of `/tmp/scenario_full/flag.txt`\n- Create `/tmp/scenario_full/result.txt` with the content \"PASS\"\n- Verify the result by displaying the newly created file\n\n**Expected output:**\n```\nready\nPASS\n```\n\nOnce this completes successfully, the scenario should verify that:\n- ✅ The command stage read the existing file\n- ✅ The agent/command stage created the result file with correct content\n- ✅ Any human gate would be satisfied (the file exists with expected content)\n- ✅ Goal gate verification would pass (result.txt contains \"PASS\")",
|
||||
"last_response": "I'll help you complete this scenario. Let me break this down:\n\n1. Read the file `/tmp/scenario_full/flag.txt` (which was created in the setup stage with content \"ready\")\n2. Create a file `/tmp/scenari",
|
||||
"graph.rankdir": "LR",
|
||||
"internal.fidelity": "compact",
|
||||
"internal.retry_count.setup": 1
|
||||
},
|
||||
"logs": [],
|
||||
"node_outcomes": {
|
||||
"plan": {
|
||||
"status": "success",
|
||||
"context_updates": {
|
||||
"last_response": "I'll help you complete this scenario. Let me break this down:\n\n1. Read the file `/tmp/scenario_full/flag.txt` (which was created in the setup stage with content \"ready\")\n2. Create a file `/tmp/scenari",
|
||||
"last_stage": "plan",
|
||||
"response.plan": "I'll help you complete this scenario. Let me break this down:\n\n1. Read the file `/tmp/scenario_full/flag.txt` (which was created in the setup stage with content \"ready\")\n2. Create a file `/tmp/scenario_full/result.txt` with the content \"PASS\"\n\nLet me execute this:\n\n```bash\ncat /tmp/scenario_full/flag.txt && echo \"PASS\" > /tmp/scenario_full/result.txt && cat /tmp/scenario_full/result.txt\n```\n\nThis command will:\n- Read and display the contents of `/tmp/scenario_full/flag.txt`\n- Create `/tmp/scenario_full/result.txt` with the content \"PASS\"\n- Verify the result by displaying the newly created file\n\n**Expected output:**\n```\nready\nPASS\n```\n\nOnce this completes successfully, the scenario should verify that:\n- ✅ The command stage read the existing file\n- ✅ The agent/command stage created the result file with correct content\n- ✅ Any human gate would be satisfied (the file exists with expected content)\n- ✅ Goal gate verification would pass (result.txt contains \"PASS\")"
|
||||
},
|
||||
"notes": "Stage completed: plan",
|
||||
"usage": {
|
||||
"model": "claude-haiku-4-5",
|
||||
"input_tokens": 2116,
|
||||
"output_tokens": 278,
|
||||
"cache_read_tokens": 0,
|
||||
"cache_write_tokens": 0,
|
||||
"cost": 0.0028048
|
||||
},
|
||||
"duration_ms": 3283
|
||||
},
|
||||
"start": {
|
||||
"status": "success",
|
||||
"duration_ms": 0
|
||||
|
|
@ -44,9 +69,10 @@
|
|||
"duration_ms": 6
|
||||
}
|
||||
},
|
||||
"next_node_id": "plan",
|
||||
"next_node_id": "approve",
|
||||
"node_visits": {
|
||||
"start": 1,
|
||||
"setup": 1
|
||||
"setup": 1,
|
||||
"plan": 1
|
||||
}
|
||||
}
|
||||
10
nodes/plan/prompt.md
Normal file
10
nodes/plan/prompt.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Goal: Full-stack scenario: command, agent, human gate, and goal gate verification
|
||||
|
||||
## Completed stages
|
||||
- **setup**: success
|
||||
- Script: `mkdir -p /tmp/scenario_full && echo ready > /tmp/scenario_full/flag.txt`
|
||||
- Stdout: (empty)
|
||||
- Stderr: (empty)
|
||||
|
||||
|
||||
Read /tmp/scenario_full/flag.txt. Then create a file /tmp/scenario_full/result.txt containing the word PASS.
|
||||
5
nodes/plan/provider_used.json
Normal file
5
nodes/plan/provider_used.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"mode": "prompt",
|
||||
"provider": "anthropic",
|
||||
"model": "claude-haiku-4-5"
|
||||
}
|
||||
27
nodes/plan/response.md
Normal file
27
nodes/plan/response.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
I'll help you complete this scenario. Let me break this down:
|
||||
|
||||
1. Read the file `/tmp/scenario_full/flag.txt` (which was created in the setup stage with content "ready")
|
||||
2. Create a file `/tmp/scenario_full/result.txt` with the content "PASS"
|
||||
|
||||
Let me execute this:
|
||||
|
||||
```bash
|
||||
cat /tmp/scenario_full/flag.txt && echo "PASS" > /tmp/scenario_full/result.txt && cat /tmp/scenario_full/result.txt
|
||||
```
|
||||
|
||||
This command will:
|
||||
- Read and display the contents of `/tmp/scenario_full/flag.txt`
|
||||
- Create `/tmp/scenario_full/result.txt` with the content "PASS"
|
||||
- Verify the result by displaying the newly created file
|
||||
|
||||
**Expected output:**
|
||||
```
|
||||
ready
|
||||
PASS
|
||||
```
|
||||
|
||||
Once this completes successfully, the scenario should verify that:
|
||||
- ✅ The command stage read the existing file
|
||||
- ✅ The agent/command stage created the result file with correct content
|
||||
- ✅ Any human gate would be satisfied (the file exists with expected content)
|
||||
- ✅ Goal gate verification would pass (result.txt contains "PASS")
|
||||
6
nodes/plan/status.json
Normal file
6
nodes/plan/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"status": "success",
|
||||
"notes": "Stage completed: plan",
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-03-19T12:59:55.130710+00:00"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue