hephaestus/crates/hephd
Erich Blume fc25f6ac51 feat: --project arg is case-insensitive / prefix-fuzzy when unambiguous
The `--project <name>` argument matched titles case-sensitively and
exactly, so `--project hephaestus` or `--project heph` failed against a
`Hephaestus` project. Make project-name resolution forgiving but
deterministic, via a tiered match in `resolve_project_id`:

  1. exact (case-sensitive) — the historical behavior; always wins
  2. case-insensitive exact — only when unambiguous
  3. case-insensitive prefix — only when unambiguous

Ambiguous fuzzy matches resolve to None (callers report "no project
named X") rather than silently picking one. This single resolver already
backed `heph list --project` (via project_scope); route the CLI's
task/edit/promote/parent path through it too with a new `project.resolve`
RPC + `Store::resolve_project`, so every `--project` surface behaves the
same.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 10:57:37 -07:00
..
src feat: --project arg is case-insensitive / prefix-fuzzy when unambiguous 2026-06-04 10:57:37 -07:00
tests feat(tui): <Enter> opens the context editor; reorder views (§8.1/§8.2) 2026-06-03 14:42:08 -07:00
Cargo.toml infra: slim the keyring dependency (keyring meta-crate -> keyring-core + one store/OS) 2026-06-04 07:26:39 -07:00