Skip to main content

Recall

cmd/crewship/cmd_recall.go hits the journal ?q= FTS5 endpoint and renders results in a snippet form optimised for question-answering (“how did we ship the auth fix?”). Different mental model from crewship journal, which is for filtered tailing/auditing — the two share the underlying endpoint but differ in defaults, presentation, and intent.

crewship recall <query>

The query is everything after the command name (joined with spaces). Server caps q= at 200 characters; longer queries fail fast with query too long: <n> chars (max 200).

Examples

Each hit renders as a snippet card with timestamp, entry type, scope (crew/agent), the summary, and a body excerpt windowed around the first match. Matches are highlighted in bold ANSI when output is a TTY.

Common errors

  • query too long: <n> chars (max 200) — server-side limit.
  • bad --since: <reason> — value did not parse as duration or RFC3339.

See also