fabro/lib
Scott Werner 449c23629b Simplify CLI workflow source and run target selection
Remove validation that ran twice on the same inputs: clap already
enforces the flag co-occurrence rules, and the native Git layer no
longer re-checks selectors, branch names, refs, and commit SHAs that
selection parsing already validated. Remote selector shape rules now
delegate to the shared WorkflowPath validator.

Reuse fabro_proc for the process-group kill and liveness probe instead
of calling nix directly, dropping the extra nix features. Fold the
duplicated branch/tag candidate derivation into one RefCandidates type,
label each Git command explicitly instead of inferring it from argv,
hoist the duplicated workflow resolver call in create_run, and merge the
two directory target arms now that the default is just the caller path.

Share the run-argument parser and workflow/commit fixtures across the
unit tests through a test_support module, drop an integration test that
duplicated one cell of the cross-product test, and make the malformed
slug vectors assert the clap rejection they exercise.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-08 16:09:12 -04:00
..
apps Simplify CLI workflow source and run target selection 2026-09-08 16:09:12 -04:00
components Rebuild conclusion stage summaries from run events 2026-09-05 11:44:23 -04:00
foundation Rebuild conclusion stage summaries from run events 2026-09-05 11:44:23 -04:00
packages/fabro-api-client Remove unsupported workflow playground 2026-09-03 12:04:35 -04:00