crystal_search
Search and filter crystals by text, time range, status, lessons, tasks, leases, or archives to find relevant context records and track project activity.
Instructions
Search and list crystals in the cave with multi-dimensional filtering (query text, temporal bounds, leases, tasks, lessons, status, aging, archived, sorting, and pagination). When called without filters, lists active crystals (most recently active first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order: recent (default), oldest, name | |
| aging | No | Filter by aging category (active, solid, stale) | |
| limit | No | Maximum number of results to return per page (default: 20; 0 to uncap) | |
| query | No | Free-text search query across crystal ID, title, intent, DAG nodes, lessons, and artifacts | |
| since | No | Filter crystals active on or after ISO-8601 date/datetime or relative expression (today, yesterday, 1d, 7d) | |
| until | No | Filter crystals active on or before ISO-8601 date/datetime or relative expression | |
| author | No | Filter by author entity ID | |
| offset | No | Result offset for pagination (default: 0) | |
| status | No | Filter by goal status | |
| has_lessons | No | Filter crystals with recorded lessons learned | |
| json_output | No | Output structured JSON array instead of text table (default: false) | |
| touching_path | No | Match leases or artifacts referencing the specified filesystem path or URI | |
| has_open_tasks | No | Filter crystals with incomplete acceptance criteria | |
| include_archived | No | Include crystals in cold storage (default: false) | |
| has_active_leases | No | Filter crystals holding active transient resource leases |