Claustrum Architecture
High-Level Topology
Data Model (Simplified ERD)
Project Resolution
Resolver order:
github_remoterepo_root_slugmanual
Monorepo subproject format:
github:owner/repogithub:owner/repo#apps/memory-core
Subproject detection is path-based and policy-controlled via workspace_settings.
Auto Switch and Pin Mode
ensureContext()runs beforeremember,recall,search_raw.- Repo switch can auto-transition by policy (
auto_switch_repo). - Subproject switch can be independently toggled (
auto_switch_subproject). - Manual pin mode (
set_project) disables auto switching untilunset_project_pin().
Raw Import and Raw Search Guardrails
- Raw import pipeline: upload -> parse -> extract -> commit.
- Default recall path remains
memoriesonly. - Raw search returns snippet-only responses with max length limits.
- Raw access actions are recorded in
audit_logs.