fabro/lib/apps
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
..
fabro-cli Simplify CLI workflow source and run target selection 2026-09-08 16:09:12 -04:00
fabro-mcp-server Refactor MCP config argument handling 2026-08-26 09:01:37 -04:00
fabro-server Remove expired startup secret migrations 2026-09-05 14:05:48 -04:00
fabro-spa refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00