gnosys_reflect
Record an outcome as a reflection memory to update confidence, link related memories, and reinforce or contradict prior knowledge.
Instructions
Record an outcome as a new reflection memory, returning its ID, confidence delta, updated memory IDs and confidences, and relationship count. memoryIds defaults to up to five keyword matches on outcome; success defaults to true and confidenceDelta to +0.05 on success or -0.1 on failure, clamping resulting confidence to 0.05..1. Success also reinforces targets and adds validates links; failure adds contradicts links. Use gnosys_reinforce instead for usefulness feedback without creating an outcome memory; each reflection call creates a new record and applies the delta again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Additional notes | |
| outcome | Yes | What happened (the outcome to reflect on) | |
| success | No | Was it a success? (default: true) | |
| memoryIds | No | Memory IDs to relate to (default: FTS match on outcome) | |
| projectRoot | No | Project root path; routes the call to that project's store. | |
| confidenceDelta | No | Confidence change (default +0.05 on success, -0.1 on failure); resulting confidence clamps to 0.05..1 |