Agentic Hub Docs

Session Flow (C)

๐Ÿค– Flow C: Session Processing

Agent work sessions โ€” /learn + /wrapup extracts and persists learnings

๐Ÿ”„ Flow

Agent worksโ†’/learn extractsโ†’Routes to filesโ†’/wrapup commits

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

adrian.md (rules)

New understanding of user

Hypothesis updates

memory.md hypotheses table

Evidence for/against open H#

๐Ÿ”— Workflow Chain

/wrapupcalls/learn+/log+/commit

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 โ€” .agent/workflows/learn.md

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.