Problem
Uteke has an importance field (0.0-1.0) on every memory, but no mechanism to adjust it from consumer feedback. The only way to set importance is via POST /memory/importance with a direct value. There is no signal loop where recall consumers can indicate whether a memory was helpful or unhelpful.
Hermes holographic memory implements asymmetric feedback: helpful +0.05, unhelpful -0.10, clamped to [0,1]. This creates a trust signal that improves recall quality over time.
Proposed Solution
New endpoint: POST /memory/feedback
Request body: { "id": "uuid", "action": "helpful" | "unhelpful" }
- helpful: importance += 0.05, clamped to 1.0
- unhelpful: importance -= 0.10, clamped to 0.0
- Asymmetric: punish bad more than reward good
- Returns the updated memory
New core function: Uteke::feedback(memory_id, helpful)
Add to operations.rs. Compute delta, UPDATE memories SET importance WHERE id.
CLI command: uteke feedback --helpful|--unhelpful
Files to Change
- crates/uteke-core/src/operations.rs - feedback() function
- crates/uteke-server/src/handlers.rs - POST /memory/feedback route
- crates/uteke-server/src/types.rs - FeedbackRequest struct
- crates/uteke-server/src/main.rs - endpoint help text
Acceptance Criteria
Problem
Uteke has an
importancefield (0.0-1.0) on every memory, but no mechanism to adjust it from consumer feedback. The only way to set importance is via POST /memory/importance with a direct value. There is no signal loop where recall consumers can indicate whether a memory was helpful or unhelpful.Hermes holographic memory implements asymmetric feedback: helpful +0.05, unhelpful -0.10, clamped to [0,1]. This creates a trust signal that improves recall quality over time.
Proposed Solution
New endpoint: POST /memory/feedback
Request body:
{ "id": "uuid", "action": "helpful" | "unhelpful" }New core function: Uteke::feedback(memory_id, helpful)
Add to operations.rs. Compute delta, UPDATE memories SET importance WHERE id.
CLI command: uteke feedback --helpful|--unhelpful
Files to Change
Acceptance Criteria