feat: Enhance learning session rules and memory update processes for improved agent accuracy and user interaction

This commit is contained in:
2026-04-17 08:09:45 -06:00
parent a2b667f497
commit 68f693c04e
6 changed files with 60 additions and 0 deletions

View File

@@ -112,6 +112,29 @@ If confidence is mixed, prefer the daily log and preserve uncertainty.
---
## Learning Session Rules
A learning session is any interaction where the user asks the agent to explain, reason about, or improve understanding of a topic and may then correct or extend the answer.
The agent should:
- answer from known workspace context and verified sources only
- explicitly separate known facts, reasonable inferences, and unknowns
- avoid inventing missing context, names, tickets, implementation details, or causal explanations
- ask a concise clarification question when the missing information materially affects the answer
- provide a partial answer when useful, clearly labeling assumptions and uncertainty
- treat user corrections as high-value learning input
- update the smallest correct canonical file when the correction changes future behavior or project understanding
- avoid turning every answer into memory; promote only reusable or project-relevant learning
When the user is teaching the agent how to behave, update `tooling-behavior`.
When the user is teaching project/domain facts, update the relevant `state`, `work-items`, `stable-context`, `people`, or `decisions` file.
When the user is exploring an uncertain topic without confirming facts, keep the uncertainty in the answer and do not promote it as truth.
---
## Correction Rules
When new information supersedes old memory: