mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
parent
9762cc0441
commit
f39201eb1f
4 changed files with 40 additions and 10 deletions
|
|
@ -1,21 +1,24 @@
|
|||
{
|
||||
"timestamp": "2026-03-16T14:22:40.392635Z",
|
||||
"current_node": "preflight_compile",
|
||||
"timestamp": "2026-03-16T14:22:58.697462Z",
|
||||
"current_node": "preflight_lint",
|
||||
"completed_nodes": [
|
||||
"start",
|
||||
"toolchain",
|
||||
"preflight_compile"
|
||||
"preflight_compile",
|
||||
"preflight_lint"
|
||||
],
|
||||
"node_retries": {
|
||||
"preflight_compile": 1,
|
||||
"start": 1,
|
||||
"toolchain": 1,
|
||||
"preflight_compile": 1
|
||||
"preflight_lint": 1
|
||||
},
|
||||
"context_values": {
|
||||
"internal.thread_id": "toolchain",
|
||||
"internal.thread_id": "preflight_compile",
|
||||
"internal.retry_count.preflight_lint": 1,
|
||||
"thread.toolchain.current_node": "preflight_compile",
|
||||
"internal.run_id": "01KKVGBQG9B4QRPZGA5GZ7A4C6",
|
||||
"current_node": "preflight_compile",
|
||||
"current_node": "preflight_lint",
|
||||
"outcome": "success",
|
||||
"failure_signature": "",
|
||||
"internal.fidelity": "compact",
|
||||
|
|
@ -24,12 +27,13 @@
|
|||
"command.stderr": "",
|
||||
"internal.retry_count.preflight_compile": 1,
|
||||
"failure_class": "",
|
||||
"current.preamble": "Goal: # Add `-q`/`--quiet` to `fabro ps`\n\n## Context\n`docker ps -q` outputs only container IDs (one per line). We want the same for `fabro ps` — output only run IDs.\n\n## Changes\n\n**File: `lib/crates/fabro-workflows/src/cli/runs.rs`**\n\n1. Add `quiet` field to `RunsListArgs` (after `all`, line ~45):\n ```rust\n /// Only display run IDs\n #[arg(short = 'q', long)]\n pub quiet: bool,\n ```\n\n2. In `list_command()` (~line 474), add a quiet branch before the JSON branch:\n ```rust\n if args.quiet {\n for run in &filtered {\n println!(\"{}\", run.run_id);\n }\n return Ok(());\n }\n ```\n - Prints full run IDs (not truncated), one per line, no header, no footer — matches `docker ps -q` behavior.\n - Skips the \"no runs found\" messages (empty output = no runs, like docker).\n\n## Verification\n- `cargo test -p fabro-workflows`\n- `cargo clippy --workspace -- -D warnings`\n- Manual: `fabro ps -q`, `fabro ps -qa`, `fabro ps -q --json` (quiet takes precedence)\n\n\n## Completed stages\n- **toolchain**: success\n - Script: `command -v cargo >/dev/null || { curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && sudo ln -sf $HOME/.cargo/bin/* /usr/local/bin/; }; cargo --version 2>&1`\n - Stdout:\n ```\n cargo 1.94.0 (85eff7c80 2026-01-15)\n ```\n - Stderr: (empty)\n",
|
||||
"current.preamble": "Goal: # Add `-q`/`--quiet` to `fabro ps`\n\n## Context\n`docker ps -q` outputs only container IDs (one per line). We want the same for `fabro ps` — output only run IDs.\n\n## Changes\n\n**File: `lib/crates/fabro-workflows/src/cli/runs.rs`**\n\n1. Add `quiet` field to `RunsListArgs` (after `all`, line ~45):\n ```rust\n /// Only display run IDs\n #[arg(short = 'q', long)]\n pub quiet: bool,\n ```\n\n2. In `list_command()` (~line 474), add a quiet branch before the JSON branch:\n ```rust\n if args.quiet {\n for run in &filtered {\n println!(\"{}\", run.run_id);\n }\n return Ok(());\n }\n ```\n - Prints full run IDs (not truncated), one per line, no header, no footer — matches `docker ps -q` behavior.\n - Skips the \"no runs found\" messages (empty output = no runs, like docker).\n\n## Verification\n- `cargo test -p fabro-workflows`\n- `cargo clippy --workspace -- -D warnings`\n- Manual: `fabro ps -q`, `fabro ps -qa`, `fabro ps -q --json` (quiet takes precedence)\n\n\n## Completed stages\n- **toolchain**: success\n - Script: `command -v cargo >/dev/null || { curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && sudo ln -sf $HOME/.cargo/bin/* /usr/local/bin/; }; cargo --version 2>&1`\n - Stdout:\n ```\n cargo 1.94.0 (85eff7c80 2026-01-15)\n ```\n - Stderr: (empty)\n- **preflight_compile**: success\n - Script: `cargo check -q --workspace 2>&1`\n - Stdout: (empty)\n - Stderr: (empty)\n",
|
||||
"command.output": "",
|
||||
"internal.retry_count.start": 1,
|
||||
"graph.goal": "# Add `-q`/`--quiet` to `fabro ps`\n\n## Context\n`docker ps -q` outputs only container IDs (one per line). We want the same for `fabro ps` — output only run IDs.\n\n## Changes\n\n**File: `lib/crates/fabro-workflows/src/cli/runs.rs`**\n\n1. Add `quiet` field to `RunsListArgs` (after `all`, line ~45):\n ```rust\n /// Only display run IDs\n #[arg(short = 'q', long)]\n pub quiet: bool,\n ```\n\n2. In `list_command()` (~line 474), add a quiet branch before the JSON branch:\n ```rust\n if args.quiet {\n for run in &filtered {\n println!(\"{}\", run.run_id);\n }\n return Ok(());\n }\n ```\n - Prints full run IDs (not truncated), one per line, no header, no footer — matches `docker ps -q` behavior.\n - Skips the \"no runs found\" messages (empty output = no runs, like docker).\n\n## Verification\n- `cargo test -p fabro-workflows`\n- `cargo clippy --workspace -- -D warnings`\n- Manual: `fabro ps -q`, `fabro ps -qa`, `fabro ps -q --json` (quiet takes precedence)\n",
|
||||
"graph.rankdir": "LR",
|
||||
"thread.start.current_node": "toolchain",
|
||||
"thread.preflight_compile.current_node": "preflight_lint",
|
||||
"graph.model_stylesheet": "\n * { backend: api; model: claude-opus-4-6;}\n "
|
||||
},
|
||||
"logs": [],
|
||||
|
|
@ -38,6 +42,15 @@
|
|||
"status": "success",
|
||||
"duration_ms": 0
|
||||
},
|
||||
"preflight_lint": {
|
||||
"status": "success",
|
||||
"context_updates": {
|
||||
"command.output": "",
|
||||
"command.stderr": ""
|
||||
},
|
||||
"notes": "Script completed: cargo clippy -q --workspace -- -D warnings 2>&1",
|
||||
"duration_ms": 15495
|
||||
},
|
||||
"toolchain": {
|
||||
"status": "success",
|
||||
"context_updates": {
|
||||
|
|
@ -57,10 +70,11 @@
|
|||
"duration_ms": 68585
|
||||
}
|
||||
},
|
||||
"next_node_id": "preflight_lint",
|
||||
"next_node_id": "implement",
|
||||
"node_visits": {
|
||||
"start": 1,
|
||||
"toolchain": 1,
|
||||
"preflight_compile": 1
|
||||
"start": 1,
|
||||
"preflight_compile": 1,
|
||||
"preflight_lint": 1
|
||||
}
|
||||
}
|
||||
5
nodes/preflight_lint/script_invocation.json
Normal file
5
nodes/preflight_lint/script_invocation.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"command": "cargo clippy -q --workspace -- -D warnings 2>&1",
|
||||
"language": "shell",
|
||||
"timeout_ms": null
|
||||
}
|
||||
5
nodes/preflight_lint/script_timing.json
Normal file
5
nodes/preflight_lint/script_timing.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"duration_ms": 15493,
|
||||
"exit_code": 0,
|
||||
"timed_out": false
|
||||
}
|
||||
6
nodes/preflight_lint/status.json
Normal file
6
nodes/preflight_lint/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"status": "success",
|
||||
"notes": "Script completed: cargo clippy -q --workspace -- -D warnings 2>&1",
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-03-16T14:22:58.696577+00:00"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue