Learning store¶
Cross-session memory: "last time you ran Lencioni on this crew, you applied intervention X. Did it improve next time?"
Stored at ~/.vstack/learnings.jsonl (one record per pattern run). Append-only by default; the latest open record for a (pattern, agent_id|crew_id) tuple can be updated with a follow-up outcome.
CLI¶
vstack-learn record lewin --agent-id qa-bot \
--severity high --intervention change_rag_index \
--dominant-finding "environmental: stale RAG"
vstack-learn recall --pattern lewin --limit 25
vstack-learn outcome lewin improved --notes "next run got 2006 right"
vstack-learn outcomes --pattern lewin # aggregated improvement rate per intervention
Schema¶
Each record carries: timestamp, pattern, mode, agent_id, crew_id, severity, profile_pattern, dominant_finding, interventions_applied, follow_up_outcome (improved/no_change/worse/unknown), notes, extra.
The outcomes view aggregates by (pattern, intervention) so you can answer "which interventions actually worked?" empirically: