APPROVE_AS_IS
→ usually no new memory
→ may weaken old risk memory if it was used

EDIT_AND_APPROVE
→ creates HUMAN_CORRECTION memory
→ strengthens old matching field/evidence memory
→ may supersede older same-scope correction memory

REJECT
→ creates PRIOR_REJECTION memory
→ strengthens old entity-risk memory if used

REQUEST_MORE_INFO
→ may strengthen prior evidence/missing-field memory if used

Purpose

Day 6 adds the learning loop after memory is used in a future claim.

Before Day 6, memory could be created and retrieved.

After Day 6:

memory retrieved for future claim
→ agent uses memory safely
→ reviewer outcome happens
→ memory confidence/status changes
→ MemoryUpdate audit row is written

Memory still does not become claim evidence. It only affects workflow routing, reviewer verification, and future retrieval confidence.


Core objects

WorkflowMemory

Long-term reusable memory.

Example:

Reviewer previously corrected policyNumber for claimant CUST-001.

Important fields:

status
confidence
confirmedCount
contradictedCount
supersededByMemoryId

MemoryHit

Audit that memory was retrieved for a future run.

Example:

Memory MEM-001 was retrieved for run RUN-200
because it matched same claimant + policyNumber field.