Alexander Whitestone
f3fd5142ac
Forge CI / smoke-and-build (pull_request) Failing after 53s
Fix #252: Automatic fact trust calibration from usage feedback
fact_feedback tool existed but was never called automatically. Trust
scores never changed after initial assignment. Facts lived forever
regardless of accuracy.
Changes:
- MemoryProvider: add get_prefetched_fact_ids() for feedback loop
- HolographicMemoryProvider: track fact IDs returned by prefetch()
- MemoryManager: auto_calibrate_feedback() detects corrections and
applies helpful/unhelpful feedback automatically
- Correction detection: regex patterns for 'no', 'wrong', 'actually',
'i said', 'correction:', 'undo', etc.
- MemoryManager: get_pruning_candidates() for below-threshold facts
- Wired into run_agent.py: calibration runs after prefetch, before tool loop
Trust mechanics:
- Successful interaction: trust += 0.05 per fact (helpful)
- Correction detected: trust -= 0.10 per fact (unhelpful)
- Trust clamped to [0.0, 1.0]
- Facts below threshold (default 0.15) are pruning candidates
Tests: 23 new tests, all passing. 139 total memory tests green.
Refs: Timmy_Foundation/hermes-agent#252
2026-04-13 18:22:58 -04:00
..
2026-03-30 22:59:57 +00:00
2026-03-31 19:56:16 +00:00
2026-04-02 10:30:32 -07:00
2026-04-07 12:04:40 -04:00
2026-04-02 15:33:51 -07:00
2026-03-30 22:38:02 +00:00
2026-04-06 16:49:57 -07:00
2026-03-31 12:48:30 -07:00
2026-04-06 01:47:57 -07:00
2026-04-07 00:00:08 -07:00
2026-04-07 03:28:44 -07:00
2026-03-31 19:35:54 +00:00
2026-03-30 22:16:18 +00:00
2026-04-05 15:48:10 +00:00
2026-04-01 03:06:47 -07:00
2026-03-30 22:28:59 +00:00
2026-04-13 18:22:58 -04:00
2026-04-13 18:22:58 -04:00
2026-03-30 22:16:19 +00:00
2026-04-07 12:04:10 -04:00
2026-04-07 12:58:44 -04:00
2026-04-01 02:45:36 +00:00
2026-04-01 02:45:36 +00:00
2026-04-07 08:40:22 -04:00
2026-03-21 16:54:43 -07:00
2026-04-05 22:43:33 -07:00
2026-04-07 10:00:16 -04:00
2026-03-31 00:37:14 +00:00
2026-04-06 13:49:13 -07:00
2026-04-02 11:00:35 +11:00
2026-04-05 12:33:47 -07:00
2026-03-30 22:28:57 +00:00
2026-04-01 02:08:20 +00:00
2026-04-01 02:08:20 +00:00
2026-03-28 14:35:28 -07:00
2026-02-21 22:31:43 -08:00
2026-04-01 01:51:23 +00:00
2026-03-25 12:45:58 -07:00