ck_memory_search
Retrieve prior decisions, findings, proofs, and domain knowledge by searching governed typed memory. Supports freeform query and optional filters by record type or source.
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 |
|---|---|---|---|
| query | Yes | Search query string for filtering or full-text search. | |
| top_k | No | Maximum number of top-ranked results to return. | |
| task_id | No | Task identifier within the session for scoped operations. | |
| source_id | No | ||
| session_id | No | Unique session identifier for correlating findings, proofs, budget, and audit trail. | |
| record_type | No | Record type classification. | |
| source_type | No | Origin category of the record (e.g., developer, tool_output, human_review). | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| query | No | ||
| records | No | ||
| detail_level | No | ||
| semantic_available | No |