Phase 1 confidence-write path is dormant — no prompt instructs the agent to set confidence #54
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Phase 1 is marked shipped but only the read side is wired up.
cache.py:115validates an optionalconfidencefield on cache writescache.py:191provideslow_confidence_entries(threshold=0.7)prompts.pyinstructs the agent to set confidence when callingwrite_cacheResult: every entry has missing confidence,
low_confidence_entries()returns everything (sincee.get("confidence", 0.0) < 0.7is always true), and Phase 8 (refinement) will have no useful signal to prioritize from when it lands.Fix
_DIR_SYSTEM_PROMPTto instruct the agent to setconfidence(0.0–1.0) andconfidence_reasonon everywrite_cachecall, with calibration guidance (e.g. high = read the file end-to-end and understood it; low = inferred from filename only)write_cachetool description in_DIR_TOOLS(ai.py:228) to mention the confidence fields--airun that confidence values are landing in cache entriesNotes
Known Unknowns → Confidence calibration