abb-opencode-local-rag 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,56 +0,0 @@
1
- # Result Refinement Reference
2
-
3
- Core rules (score, include/skip) are in SKILL.md. This covers when and how to combine multiple results.
4
-
5
- ## When to Synthesize vs Filter
6
-
7
- Match approach to user intent:
8
-
9
- | User Intent | Approach | Why |
10
- |-------------|----------|-----|
11
- | Specific answer ("how to X") | Filter to 1-2 best | Extra results add noise |
12
- | Understanding a topic | Synthesize multiple | Builds complete picture |
13
- | Troubleshooting error | Filter to direct cause | Tangential info confuses |
14
- | Comparing options | Synthesize with structure | Need all perspectives |
15
-
16
- ## Multiple Results Handling
17
-
18
- ### Synthesis
19
-
20
- When: User needs comprehensive understanding.
21
-
22
- ```
23
- Result 1: "API accepts JSON..."
24
- Result 2: "Auth uses Bearer tokens..."
25
- → Combine into unified answer
26
- ```
27
-
28
- ### Deduplication
29
-
30
- When: Results overlap significantly.
31
-
32
- 1. Pick most complete result
33
- 2. Add only unique info from others
34
-
35
- ### Contradiction Resolution
36
-
37
- When: Results conflict.
38
-
39
- Priority: Lower score (= better match)
40
- If unresolved → Note discrepancy to user
41
-
42
- ## Chunk Context
43
-
44
- Single chunks may lack context ("as described above").
45
-
46
- - Use `fileTitle` as the chunk's document-level context—it identifies the source document's topic
47
- - Note when information is partial
48
- - Group multiple chunks from same `filePath` as coherent sections
49
-
50
- ## No Results
51
-
52
- 1. Rephrase query (alternative terms)
53
- 2. Broaden scope
54
- 3. If `scope` was passed, confirm it is an absolute path prefix — a relative prefix silently matches nothing
55
- 4. Check ingestion (`list_files`)
56
- 5. Inform user: no matching content