search_decisions
Find past decisions matching your query. Returns ranked results with relevance scores to locate the most relevant decision records.
Instructions
Search for past decisions matching a query.
Uses field-weighted BM25 to find relevant decisions from the decisions directory. Returns ranked results with relevance scores.
Field weights (ADR-0004):
SEARCH_ANCHORS: 15.0 (pre-computed Q&A)
TOPIC: 10.0 (what it is)
TAGS: 8.0 (classification)
SYNTHESIS: 5.0 (the decision)
RATIONALE: 2.0 (wind/wall perspectives)
Args: query: Search query string limit: Maximum number of results (default 10) min_score: Minimum score threshold 0-1 (default 0.0)
Returns: Dictionary with: - query: The search query - count: Number of results - results: List of matching decisions with thread_id, topic, synthesis, score, decided_at, file_path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| min_score | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||