fabro/lib/crates/fabro-workflow/src/handler
Bryan Helmkamp 1048534e2c
ci: switch clippy to pinned nightly, clean up workspace lints
- rust.yml: move clippy to nightly-2026-04-14 (was stable); also pin
  fmt to the same nightly date for consistency. Both jobs now use the
  dated nightly and the run-step uses `cargo +nightly-2026-04-14 ...`.
- AGENTS.md: update developer commands to match CI.
- Duration constructors: replace `Duration::from_secs(N * 60)` /
  `Duration::from_millis(N * 1000)` with `from_mins` / `from_secs` /
  `from_hours` across the workspace to satisfy clippy's new
  `duration_suboptimal_units` lint. std::time::Duration only — custom
  `settings::duration::Duration` sites kept on `from_secs`.
- map/unwrap_or cleanup: `.map(f).unwrap_or(v)` → `.map_or(v, f)`,
  `.map(f).unwrap_or(false)` on Result → `.is_ok_and(f)`, per
  `clippy::map_unwrap_or`.
- Misc lints: collapse nested `if` into match guard in
  handler/llm/api.rs and run_state.rs; replace `columns.len() > 0`
  with `!columns.is_empty()`; switch a pair of `sort_by` calls to
  `sort_by_key`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-16 18:59:11 -04:00
..
llm ci: switch clippy to pinned nightly, clean up workspace lints 2026-04-16 18:59:11 -04:00
agent.rs fix(workflow): use configured providers for default models 2026-04-15 08:19:04 -04:00
command.rs ci: switch clippy to pinned nightly, clean up workspace lints 2026-04-16 18:59:11 -04:00
conditional.rs refactor: remove backwards-compat error type aliases 2026-04-11 12:51:42 -04:00
exit.rs refactor: remove backwards-compat error type aliases 2026-04-11 12:51:42 -04:00
fan_in.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
human.rs fmt: apply nightly rustfmt after merge 2026-04-11 13:43:30 -04:00
manager_loop.rs ci: switch clippy to pinned nightly, clean up workspace lints 2026-04-16 18:59:11 -04:00
mod.rs fix(workflow): use configured providers for default models 2026-04-15 08:19:04 -04:00
parallel.rs fix(workflow): use configured providers for default models 2026-04-15 08:19:04 -04:00
prompt.rs fix(workflow): use configured providers for default models 2026-04-15 08:19:04 -04:00
start.rs refactor: remove backwards-compat error type aliases 2026-04-11 12:51:42 -04:00
wait.rs refactor: remove backwards-compat error type aliases 2026-04-11 12:51:42 -04:00