ck_memory_search
Retrieve prior decisions, findings, and proofs from session memory using free text search across records. Filter by record type, source, or limit results to find relevant context.
Instructions
Search governed typed memory for the current session to recover prior decisions, findings, proofs, and domain knowledge. Read-only. query is a freeform text search applied across record titles, bodies, and tags. record_type filters by type (decision, finding, proof, goal, brief, checkpoint); omit to search all types. top_k limits the number of ranked results (default 10). source_type and source_id filter by origin. Returns ranked records with citations and scores. Use ck_memory_search to retrieve what was recorded in prior steps or sessions. Use ck_memory_record to write new records. Use ck_experience_search for full-text search across findings and tasks workspace-wide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail_level | No | compact (default) returns title/summary/tags per record; full additionally includes each record's body and metadata. Use compact to save tokens, full when you need the record contents. | |
| project_root | No | Absolute path to the project root directory on the local filesystem. | |
| query | Yes | Search query string for filtering or full-text search. | |
| record_type | No | Record type classification. | |
| session_id | No | Unique session identifier for correlating findings, proofs, budget, and audit trail. | |
| source_id | No | ||
| source_type | No | Origin category of the record (e.g., developer, tool_output, human_review). | |
| task_id | No | Task identifier within the session for scoped operations. | |
| top_k | No | Maximum number of top-ranked results to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| detail_level | No | ||
| query | No | ||
| records | No | ||
| semantic_available | No |