fix(ai): document confidence fields in write_cache tool schema (#54) #61
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-54-write-cache-tool-desc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #54.
Phase 1's confidence-write path was half-wired: the system prompt tells the agent to set
confidence/confidence_reason(added in #2), but thewrite_cachetool'sdataschema description still listed only the legacy fields. Models bind tightly to tool schema descriptions, so the prompt instruction was easy to miss.This adds the two fields to the schema description plus a one-line calibration pointer back to the system prompt.
Test plan
python3 -m unittest discover -s tests/— 168 tests pass--airun to confirmconfidencelands in cache entries (deferred — does not block this PR)Pull request closed