Docs/Intelligence Layer/Cross-Session Learning

Cross-Session Learning

What Hivemind Learns

A daily analysis job runs across your event history and detects patterns that repeat across sessions:

Repeated Tasks

If the same task description appears 3+ times in 7 days, Hivemind flags it:

> "Task \"update dependencies\" has been created 5 times in the last 7 days"

This suggests the task should be automated or documented in a knowledge doc.

Decision Reversals

If multiple decision.made events cover the same topic, Hivemind detects potential flip-flopping:

> "Multiple decisions made about \"authentication approach\" (3 times)"

This highlights areas where the team (or agents) keep re-evaluating the same decision.

Frequent File Conflicts

If the same file keeps causing lock conflicts:

> "File \"src/config.ts\" has caused 4 conflicts in the last 7 days"

This suggests the file should be split up or agents should sequence their work on it.

Viewing Patterns

Patterns are available via the API:

curl "https://jovial-tern-168.convex.site/v1/intelligence/patterns" \
  -H "Authorization: Bearer hm_live_xxx"

And on the Hivemind dashboard in the Intelligence section.