Home/Docs/Architecture Decision Records/ADR-0007: Governance is not Storage

ADR-0007: Governance is not StorageπŸ”—

StatusπŸ”—

Accepted as an architectural separation. The current Brain runtime does not implement a generic hot/warm/cold Engram tiering lifecycle.

ContextπŸ”—

As memory and knowledge accumulate, the system must decide both how trustworthy an item is (Governance) and where it should physically reside based on access frequency (Storage tiering). Conflating these two concepts creates rigid systems where, for example, "highly trusted" data is forced into expensive hot storage even if rarely accessed.

DecisionπŸ”—

Governance β‰  Storage. Trust quality and physical storage location are strictly independent axes.

Alternatives consideredπŸ”—

  • Tying promotion directly to storage tiers (e.g., promoted knowledge automatically moves to in-memory Redis). (Rejected: breaks cost optimization and decoupled architecture).

ConsequencesπŸ”—

  • Confidence promotion gates (Governance) dictate whether knowledge is accepted as true or authoritative.
  • Storage placement requires its own implementation and retention policy; a governance decision does not move an Engram between storage tiers.

Non-goalsπŸ”—

  • Building a custom storage engine. We rely on standard DBs (PostgreSQL) but apply these conceptual axes in our application logic.