fabro/lib/apps/fabro-cli/tests/it
Scott Werner 694d1981ff Simplify the CLI run-intent create path
Quality pass over the intent-producer changes, no behavior changes
intended:

- Move the TOML->JSON scalar conversion into fabro-types as
  toml_scalar_to_json_value, next to its inverse, with typed errors and
  round-trip tests; the CLI now calls the shared helper.
- Reuse goal_layer_from_args for --goal/--goal-file resolution instead
  of a second copy of the exclusivity check and cwd anchoring.
- Delete the dead run_manifest_args helper and the test that kept it
  compiling; preflight_manifest_args is the remaining real builder.
- Make run_target_for_environment a pure (provider, cwd) -> target
  mapping using is_clone_based(), warning at the call site, and default
  the environment id from DEFAULT_ENVIRONMENT_ID instead of a literal.
- Resolve the parent run and retrieve the environment concurrently.
- Drop the ResolvedCommandSettings pass-through struct and the
  duplicated parse-error mapping in the project settings presence read.
- Share the environment/workflow-version/git test mocks from the cmd
  test support module instead of three per-file copies.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-01 16:14:34 -04:00
..
cmd Simplify the CLI run-intent create path 2026-09-01 16:14:34 -04:00
scenario Fix CLI RunIntent producer CI failures 2026-09-01 16:14:34 -04:00
support Fix CLI RunSpec test fixtures 2026-08-24 12:17:47 -04:00
workflow Fix CLI RunIntent producer CI failures 2026-09-01 16:14:34 -04:00
main.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00