Session Flow (C)
๐ค Flow C: Session Processing
Agent work sessions โ /learn + /wrapup extracts and persists learnings
๐ Flow
This flow is fully operational. No KC buildout needed โ already part of the existing Agentic Hub workflow system.
๐ What /learn Extracts
Output | Route To | When |
|---|---|---|
Critical lessons | memory.md | Cross-session, universal |
Agent behavior rules | .agent/rules/ | Specific, repeated patterns |
Principle candidates | kb/adrian/Principles.md | Deep insight about Adrian |
Identity updates |
| New understanding of user |
Hypothesis updates |
| Evidence for/against open H# |
๐ Workflow Chain
At session end, /wrapup orchestrates all three. /learn can also be called
mid-session if a significant mistake or breakthrough occurs.
๐ Coverage
Aspect | Status |
|---|---|
Workflow exists | YES โ |
Auto-triggered at wrapup | YES |
Stores to correct files | YES |
Dual-write to D1 | YES (via /log) |
Self-learn mid-session (AQ6) | SOMETIMES โ depends on agent |
๐ Known Gap
H9: "Agents do NOT auto-learn from mistakes without Adrian explicitly calling /learn" โ this hypothesis is still being monitored. If confirmed, may need to build more aggressive mid-session triggers.