mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
parent
0dbee32466
commit
458e1dea24
5 changed files with 74 additions and 0 deletions
52
checkpoint.json
Normal file
52
checkpoint.json
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"timestamp": "2026-03-16T14:21:28.748763Z",
|
||||
"current_node": "toolchain",
|
||||
"completed_nodes": [
|
||||
"start",
|
||||
"toolchain"
|
||||
],
|
||||
"node_retries": {
|
||||
"start": 1,
|
||||
"toolchain": 1
|
||||
},
|
||||
"context_values": {
|
||||
"internal.thread_id": "start",
|
||||
"internal.run_id": "01KKVGBQG9B4QRPZGA5GZ7A4C6",
|
||||
"current_node": "toolchain",
|
||||
"outcome": "success",
|
||||
"failure_signature": "",
|
||||
"internal.fidelity": "compact",
|
||||
"internal.node_visit_count": 1,
|
||||
"internal.retry_count.toolchain": 1,
|
||||
"command.stderr": "",
|
||||
"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",
|
||||
"command.output": "cargo 1.94.0 (85eff7c80 2026-01-15)\n",
|
||||
"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",
|
||||
"graph.model_stylesheet": "\n * { backend: api; model: claude-opus-4-6;}\n "
|
||||
},
|
||||
"logs": [],
|
||||
"node_outcomes": {
|
||||
"start": {
|
||||
"status": "success",
|
||||
"duration_ms": 0
|
||||
},
|
||||
"toolchain": {
|
||||
"status": "success",
|
||||
"context_updates": {
|
||||
"command.output": "cargo 1.94.0 (85eff7c80 2026-01-15)\n",
|
||||
"command.stderr": ""
|
||||
},
|
||||
"notes": "Script completed: 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",
|
||||
"duration_ms": 169
|
||||
}
|
||||
},
|
||||
"next_node_id": "preflight_compile",
|
||||
"node_visits": {
|
||||
"start": 1,
|
||||
"toolchain": 1
|
||||
}
|
||||
}
|
||||
6
nodes/start/status.json
Normal file
6
nodes/start/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"status": "success",
|
||||
"notes": null,
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-03-16T14:21:28.568373+00:00"
|
||||
}
|
||||
5
nodes/toolchain/script_invocation.json
Normal file
5
nodes/toolchain/script_invocation.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"command": "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",
|
||||
"language": "shell",
|
||||
"timeout_ms": null
|
||||
}
|
||||
5
nodes/toolchain/script_timing.json
Normal file
5
nodes/toolchain/script_timing.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"duration_ms": 169,
|
||||
"exit_code": 0,
|
||||
"timed_out": false
|
||||
}
|
||||
6
nodes/toolchain/status.json
Normal file
6
nodes/toolchain/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"status": "success",
|
||||
"notes": "Script completed: 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",
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-03-16T14:21:28.748300+00:00"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue