# TARGET ARCHITECTURE ## Layer A: Runtime (OpenClaw local) - Root: `/Users/lingyuzeng/openclawd/vaults` - Responsibility: session boot, persona, local operational control. - Authoritative for runtime behavior only. ## Layer B: Durable Memory Authority - Root: `/Users/lingyuzeng/project/collective-memory-repo` - Responsibility: long-term/shared/task/agent memory. - Authoritative for memory facts. ## Retrieval Chain - Preferred: `Agent -> memory-gateway (RTX) -> qmd -> git-backed workspace` - Fallback: local qmd on collective repo paths. ## Authority Rule - Shared truth requires pushed and indexed state on remote gateway.