fabro/lib/crates/fabro-cli/src
Bryan Helmkamp 0f1cf4da5c
feat(cli): wire run parent commands (#288)
## Summary
Add CLI support for run parent relationships now that the server API can
store them. This lets users create child runs, filter children, inspect
parent metadata, and link or unlink parents without dropping to raw API
calls.

## What Changed
- Added top-level `fabro parent link` and `fabro parent unlink` commands
with selector resolution, text output, and JSON summaries.
- Added `--parent` to `fabro run`, `fabro create`, and `fabro ps`;
create/run send `parent_id` in manifests and `ps` uses server-side
parent filtering.
- Surfaced `parent_id` in `ps --json` and `inspect`, with a conditional
`PARENT` column for unfiltered tables.
- Extended `fabro-client` parent-link APIs and
`list_store_runs(parent_id)`.

## Test Plan
- `cargo nextest run -p fabro-cli`
- `cargo nextest run -p fabro-client`
- `cargo +nightly-2026-04-14 fmt --check --all`
- `cargo +nightly-2026-04-14 clippy -p fabro-cli -p fabro-client
--all-targets -- -D warnings`
- `cargo insta pending-snapshots`
- `git diff --check`

---

[![Compound
Engineering](https://img.shields.io/badge/Compound_Engineering-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
Generated with GPT-5 via [Codex](https://openai.com/codex)
2026-05-16 15:15:28 -04:00
..
commands feat(cli): wire run parent commands (#288) 2026-05-16 15:15:28 -04:00
shared refactor(llm): split provider identity from adapters (#280) 2026-05-16 13:13:41 -04:00
sleep_inhibitor fix sleep_inhibitor lints under --all-features clippy 2026-04-23 22:45:07 -04:00
args.rs feat(cli): wire run parent commands (#288) 2026-05-16 15:15:28 -04:00
command_context.rs feat(llm): add catalog controls and speed billing (#249) 2026-05-13 14:12:16 -04:00
gh.rs test(cli): trim slow integration fixture setup 2026-04-28 19:14:56 -07:00
landing.rs feat(cli): split run events and raw logs 2026-05-06 13:29:35 -04:00
local_server.rs fix(error): preserve source chains across workspace 2026-05-01 17:30:20 -04:00
logging.rs fix(cli): keep run logs free of ANSI 2026-05-07 07:28:25 -07:00
main.rs feat(cli): wire run parent commands (#288) 2026-05-16 15:15:28 -04:00
manifest_args.rs feat(cli): add Fabro MCP server (#236) 2026-05-11 18:20:50 -04:00
server_client.rs fix(cli): bound server readiness probes 2026-05-02 20:13:18 -04:00
server_runs.rs feat(cli): wire run parent commands (#288) 2026-05-16 15:15:28 -04:00
user_config.rs fix(error): preserve source chains across workspace 2026-05-01 17:30:20 -04:00