# ca-recall > Search past findings and observations from Code Sentinel memory - Author: Archi - Repository: AndreyBegma/code-sentinel-pro - Version: 20260209214957 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-09 - Source: https://github.com/AndreyBegma/code-sentinel-pro - Web: https://mule.run/skillshub/@@AndreyBegma/code-sentinel-pro~ca-recall:20260209214957 --- --- name: ca-recall description: Search past findings and observations from Code Sentinel memory user-invocable: true allowed-tools: Read, Grep, Glob, Bash, mcp__sentinel-memory__sentinel_search, mcp__sentinel-memory__sentinel_timeline, mcp__sentinel-memory__sentinel_get_observations, mcp__sentinel-memory__sentinel_stats --- # /ca-recall — Search Memory Search past findings, observations, and session history from Code Sentinel's persistent memory. ## Input `$ARGUMENTS` — search query (optional). If empty, show recent observations for current project. ## Behavior ### If no arguments provided 1. Get current project path from `$CWD` 2. Use `sentinel_timeline` with `project=$CWD` and `limit=15` 3. Display recent observations grouped by session date ### If arguments provided 1. Use `sentinel_search` with `q=$ARGUMENTS` and `project=$CWD` 2. Display compact result list: `#id [SEVERITY] title — file (source, date)` 3. Auto-fetch full details for top 5 results via `sentinel_get_observations` 4. Display full body for each ### Output format ``` ## Memory Search: "$ARGUMENTS" Found N results: ### #42 [CRITICAL] SQL injection in user query — UserService.ts (ca-security, 2026-02-08) Raw SQL concatenation with user input at line 45. Use parameterized queries instead. ### #38 [HIGH] Missing auth guard on admin endpoint — admin.controller.ts (ca-pr-review, 2026-02-07) POST /admin/users lacks @UseGuards(AuthGuard). Any authenticated user can create admin accounts. ... Use /ca-recall to search for specific topics. ``` ### If no results ``` No past findings matching "$ARGUMENTS" for this project. Tip: Run /ca-security or /ca-code-review to generate findings, or try a broader search. ``` ## Notes - Results are scoped to current project by default - Full-text search with PostgreSQL tsquery (supports AND/OR operators) - Ordered by relevance (ts_rank) then recency - Only fetches full details for top 5 to save tokens