Repository navigation
Description
Actual behavior
polylogue <provider:id> show does not resolve to a conversation, despite that conversation being present in the archive and visible via list. After 54-95 seconds wall-clock the command exits with:
Query still running after 2.0s (route: show; retrieval: auto).
No conversations matched filters:
search: codex:019dbae3-699e-7d42 show
Hint: try broadening your filters or use `list` to browse
Why this may have missed:
- The archive is reachable, but no materialized conversation matched this selection.
The same conversation IS resolvable via list (so it's in the archive and FTS-indexed) but show cannot reach it.
Expected behavior
polylogue <provider:id-prefix> show resolves the conversation and prints its messages, or — if the prefix is genuinely ambiguous — disambiguates with a list of candidates. The fully-qualified provider:id-prefix form shown by list --fields id should round-trip cleanly into show.
Reproduction or trigger
# Setup: archive with materialized conversations, FTS index repaired.
polylogue doctor --repair --target dangling_fts
# 1) Confirm the conversation IS in the archive:
polylogue --provider codex --since 2026-04-23 --until 2026-04-24 list --limit 5 --fields id,title,messages
# → codex:019dbae3-699e-7d42 2026-04-23 codex 019dbae3-699e-7d42-a938-... (247 msgs)
# 2) Try show on the exact id from list:
time polylogue codex:019dbae3-699e-7d42 show
# → ~95s, then "No conversations matched filters: search: codex:019dbae3-699e-7d42 show"
# Same shape with claude-code IDs:
time polylogue claude-code:b78f986e-995 show
# → ~54s, identical "No conversations matched filters" errorAlso note the error message says search: codex:019dbae3-699e-7d42 show — show is being included as part of the search string, suggesting CLI argument parsing also routes the verb-token into the query.
Suspected scope
CLI argument parsing for the show action when a positional provider:id is the conversation selector. Two distinct issues likely:
- Slow failure (~60-90s) for what should be a near-instant lookup-by-id.
- No-match failure despite the same id resolving via
list.
Possible causes:
showroutes through the search path instead of a direct id lookup; the search index doesn't return the id back as a hit (because it's not a content match).- The verb token (
show) is being concatenated into the search query rather than dispatched as a verb. provider:id-prefixform expects the full ID, butlistreturns a truncated 24-char prefix (e.g.019dbae3-699e-7d42) — round-trip mismatch between list output and show input.
Severity
Moderate — show is the canonical way to read individual session content. Workarounds via list --format json exist but are clunky.
Environment
- polylogue 0.1.0+c97b6099
- Archive: ~10,610 conversations, FTS up-to-date (recently repaired via
doctor --repair --target dangling_fts).
Activity
fix(cli): add show verb that resolves provider:id directly (#482)
fix(cli): add show verb that resolves provider:id directly (#482)