hephaestus/crates/heph-core
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: multi-tenancy seam (resolve_owner) + hub-setup how-to (v1 prep) 2026-06-04 07:08:39 -07:00
build.rs fix: --version no longer false-positives -dirty on clean release installs 2026-06-04 10:20:23 -07:00
Cargo.toml heph-core: body text-CRDT via yrs (sync 8d) 2026-06-01 09:06:17 -07:00