Skip to content

docs: add scoped memory and knowledge bridge RFC#274

Closed
esafwan wants to merge 2 commits into
developfrom
docs/scoped-memory-knowledge-bridge
Closed

docs: add scoped memory and knowledge bridge RFC#274
esafwan wants to merge 2 commits into
developfrom
docs/scoped-memory-knowledge-bridge

Conversation

@esafwan
Copy link
Copy Markdown
Contributor

@esafwan esafwan commented May 27, 2026

Summary

Adds a documentation-only RFC for the proposed bridge between HUF conversation data management, scoped memory/data records, Knowledge Sources, Agno-style retrieval architecture, and Hindsight-style long-term memory.

The RFC is intended as a self-contained discussion document for product and engineering refinement.

Why

Current HUF concepts are adjacent but not fully connected:

This document proposes a clean separation:

Conversation Data = temporary working state
Memory/Data Record = canonical scoped learned data
Hindsight-style layer = learning and reflection
Agno-style layer = indexing and retrieval architecture
Knowledge Source = searchable RAG projection
Data Tables = structured business/app records

Key proposal

  • Keep conversation data local/default.
  • Add a first-class scoped Memory/Data Record layer as canonical storage.
  • Add Memory Policy for capture, scope, approval, retrieval, indexing, and expiry.
  • Allow selected records to be promoted/projected into Knowledge Sources.
  • Treat Agno-style work as the indexing/retrieval half of the bridge.
  • Treat Hindsight-style work as the learning/consolidation half of the bridge.

Related PRs

After this PR is opened, #178 and #225 should be updated to reference this bridge RFC as the connecting architecture.

Testing

Documentation-only change.

No runtime code, schema, or frontend files were changed.

…d phase plan

- Status changed from Discussion to Active
- Three live backends documented (sqlite_fts, sqlite_vec, chroma)
- Phase 1 (PR #275) marked implemented
- Phases 2-5 defined with learning profiles and learning agent design
- Reference architecture section added (Agno, Hindsight, Mem0)
- Points to new zero-to-hero and phase-plan docs in feature/scoped-memory-core
@esafwan
Copy link
Copy Markdown
Contributor Author

esafwan commented Jun 1, 2026

Superseded by the unified implementation in PR #282.

All the code and concepts from this PR have been integrated into that branch, alongside fully functioning background learning agents and hybrid search backends.

@esafwan esafwan closed this Jun 1, 2026
@Sanjusha-tridz Sanjusha-tridz deleted the docs/scoped-memory-knowledge-bridge branch June 5, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant