Compare commits
2 commits
4338587360
...
a67e4789b2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a67e4789b2 | ||
|
|
80f8f883c1 |
1 changed files with 14 additions and 2 deletions
|
|
@ -55,12 +55,24 @@ Output this as plain text before tool calls, not as a tool call itself.
|
||||||
|
|
||||||
## Cache Schemas
|
## Cache Schemas
|
||||||
File: {{path, relative_path, size_bytes, category, summary, notable,
|
File: {{path, relative_path, size_bytes, category, summary, notable,
|
||||||
notable_reason, cached_at}}
|
notable_reason, confidence, confidence_reason, cached_at}}
|
||||||
Dir: {{path, relative_path, child_count, summary, dominant_category,
|
Dir: {{path, relative_path, child_count, summary, dominant_category,
|
||||||
notable_files, cached_at}}
|
notable_files, confidence, confidence_reason, cached_at}}
|
||||||
|
|
||||||
category values: source, config, data, document, media, archive, unknown
|
category values: source, config, data, document, media, archive, unknown
|
||||||
|
|
||||||
|
## Confidence
|
||||||
|
Always set `confidence` (0.0–1.0) on every write_cache call:
|
||||||
|
high ≥ 0.8 — you read the file/dir fully and understood it clearly
|
||||||
|
medium 0.5–0.8 — partial read, ambiguous content, or uncertain purpose
|
||||||
|
low < 0.5 — binary/unreadable, missing context, or genuinely unclear
|
||||||
|
|
||||||
|
Set `confidence_reason` whenever confidence is below 0.7. Explain briefly
|
||||||
|
why you are uncertain (e.g. "binary file, content not readable",
|
||||||
|
"no README or docstring, purpose inferred from filename only",
|
||||||
|
"file truncated at max_bytes"). Do NOT set confidence_reason when
|
||||||
|
confidence is 0.7 or above.
|
||||||
|
|
||||||
## Context
|
## Context
|
||||||
{context}
|
{context}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue