mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-08 22:21:45 +00:00
parent
eda69f2fcb
commit
342fea6e8a
5 changed files with 80 additions and 28 deletions
|
|
@ -1,15 +1,17 @@
|
|||
{
|
||||
"timestamp": "2026-03-16T05:38:05.782831Z",
|
||||
"current_node": "solve",
|
||||
"timestamp": "2026-03-16T05:38:07.688651Z",
|
||||
"current_node": "extract_patch",
|
||||
"completed_nodes": [
|
||||
"start",
|
||||
"setup",
|
||||
"solve"
|
||||
"solve",
|
||||
"extract_patch"
|
||||
],
|
||||
"node_retries": {
|
||||
"solve": 1,
|
||||
"setup": 1,
|
||||
"start": 1,
|
||||
"setup": 1
|
||||
"extract_patch": 1,
|
||||
"solve": 1
|
||||
},
|
||||
"context_values": {
|
||||
"thread.setup.current_node": "solve",
|
||||
|
|
@ -17,7 +19,9 @@
|
|||
"internal.retry_count.setup": 1,
|
||||
"failure_class": "",
|
||||
"internal.retry_count.solve": 1,
|
||||
"current.preamble": "Goal: \n\n## Completed stages\n- **setup**: fail\n - Script: `git clone https://github.com/django/django.git . && git checkout 1710cdbe79c90665046034fe1700933d038d90ad && python -m pip install -e .`\n - Stdout:\n ```\n fatal: destination path '.' already exists and is not an empty directory.\n ```\n - Stderr: (empty)\n\n## Context\n- failure_class: deterministic\n- failure_signature: setup|deterministic|script failed with exit code: <n> ## stdout fatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"thread.solve.current_node": "extract_patch",
|
||||
"current.preamble": "Goal: \n\n## Completed stages\n- **setup**: fail\n - Script: `git clone https://github.com/django/django.git . && git checkout 1710cdbe79c90665046034fe1700933d038d90ad && python -m pip install -e .`\n - Stdout:\n ```\n fatal: destination path '.' already exists and is not an empty directory.\n ```\n - Stderr: (empty)\n- **solve**: success\n - Model: claude-haiku-4-5, 38.2k tokens in / 9.5k out\n - Files: /home/daytona/workspace/docs/execution/run-configuration.mdx\n",
|
||||
"internal.retry_count.extract_patch": 1,
|
||||
"failure_signature": "",
|
||||
"thread.start.current_node": "setup",
|
||||
"internal.run_id": "01KKTJA35J1KATAXRHJFY50A2E",
|
||||
|
|
@ -25,16 +29,41 @@
|
|||
"last_stage": "solve",
|
||||
"internal.retry_count.start": 1,
|
||||
"internal.fidelity": "compact",
|
||||
"internal.thread_id": "setup",
|
||||
"internal.thread_id": "solve",
|
||||
"internal.node_visit_count": 1,
|
||||
"outcome": "success",
|
||||
"command.stderr": "",
|
||||
"command.output": "fatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"current_node": "solve",
|
||||
"command.output": "",
|
||||
"current_node": "extract_patch",
|
||||
"graph.rankdir": "LR"
|
||||
},
|
||||
"logs": [],
|
||||
"node_outcomes": {
|
||||
"extract_patch": {
|
||||
"status": "success",
|
||||
"context_updates": {
|
||||
"command.output": "",
|
||||
"command.stderr": ""
|
||||
},
|
||||
"notes": "Script completed: git diff",
|
||||
"duration_ms": 22
|
||||
},
|
||||
"setup": {
|
||||
"status": "fail",
|
||||
"context_updates": {
|
||||
"command.stderr": "",
|
||||
"command.output": "fatal: destination path '.' already exists and is not an empty directory.\n"
|
||||
},
|
||||
"failure": {
|
||||
"message": "Script failed with exit code: 128\n\n## stdout\nfatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"failure_class": "deterministic"
|
||||
},
|
||||
"duration_ms": 18
|
||||
},
|
||||
"start": {
|
||||
"status": "success",
|
||||
"duration_ms": 0
|
||||
},
|
||||
"solve": {
|
||||
"status": "success",
|
||||
"context_updates": {
|
||||
|
|
@ -55,31 +84,16 @@
|
|||
"/home/daytona/workspace/docs/execution/run-configuration.mdx"
|
||||
],
|
||||
"duration_ms": 106403
|
||||
},
|
||||
"start": {
|
||||
"status": "success",
|
||||
"duration_ms": 0
|
||||
},
|
||||
"setup": {
|
||||
"status": "fail",
|
||||
"context_updates": {
|
||||
"command.stderr": "",
|
||||
"command.output": "fatal: destination path '.' already exists and is not an empty directory.\n"
|
||||
},
|
||||
"failure": {
|
||||
"message": "Script failed with exit code: 128\n\n## stdout\nfatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"failure_class": "deterministic"
|
||||
},
|
||||
"duration_ms": 18
|
||||
}
|
||||
},
|
||||
"next_node_id": "extract_patch",
|
||||
"next_node_id": "exit",
|
||||
"loop_failure_signatures": {
|
||||
"setup|deterministic|script failed with exit code: <n> ## stdout fatal: destination path '.' already exists and is not an empty directory.": 1
|
||||
},
|
||||
"node_visits": {
|
||||
"solve": 1,
|
||||
"extract_patch": 1,
|
||||
"start": 1,
|
||||
"setup": 1,
|
||||
"solve": 1
|
||||
"setup": 1
|
||||
}
|
||||
}
|
||||
5
nodes/extract_patch/script_invocation.json
Normal file
5
nodes/extract_patch/script_invocation.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"command": "git diff",
|
||||
"language": "shell",
|
||||
"timeout_ms": null
|
||||
}
|
||||
5
nodes/extract_patch/script_timing.json
Normal file
5
nodes/extract_patch/script_timing.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"duration_ms": 22,
|
||||
"exit_code": 0,
|
||||
"timed_out": false
|
||||
}
|
||||
6
nodes/extract_patch/status.json
Normal file
6
nodes/extract_patch/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"status": "success",
|
||||
"notes": "Script completed: git diff",
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-03-16T05:38:07.688341+00:00"
|
||||
}
|
||||
22
nodes/solve/diff.patch
Normal file
22
nodes/solve/diff.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
diff --git a/docs/execution/run-configuration.mdx b/docs/execution/run-configuration.mdx
|
||||
index 27c330d..82c9473 100644
|
||||
--- a/docs/execution/run-configuration.mdx
|
||||
+++ b/docs/execution/run-configuration.mdx
|
||||
@@ -141,6 +141,10 @@ timeout_ms = 60000
|
||||
|
||||
Each command must exit with status 0. If any command fails or times out, the run aborts before the workflow starts.
|
||||
|
||||
+<Note>
|
||||
+When cloning repositories, always clone into a named subdirectory rather than the current directory (`.`). The current working directory may already contain files, causing `git clone` to fail with "destination path already exists and is not an empty directory". Use `git clone <url> <dirname>` instead.
|
||||
+</Note>
|
||||
+
|
||||
### `[sandbox]`
|
||||
|
||||
Configure how agent tools (bash, file edits) are executed.
|
||||
@@ -488,4 +492,4 @@ Use `--preflight` to validate a run config without executing it:
|
||||
|
||||
```bash
|
||||
fabro run run.toml --preflight
|
||||
-```
|
||||
+```
|
||||
\ No newline at end of file
|
||||
Loading…
Add table
Reference in a new issue