Project Memory Specification
"Memory answers: What happened in this project?"
Project Memory provides persistent, project-isolated institutional knowledge. It prevents AI agents from repeating historical errors or forgetting architectural decisions.
Memory Categories
| Category | Purpose | Example |
|---|---|---|
architecture | Structural conventions and layering | "Database access must go through DatabaseService, never direct SQL in controllers." |
decision | Rationale for technical choices | "Using bcrypt with 12 salt rounds per Security Policy RFC-104." |
constraint | Environmental or memory limitations | "Worker processes must not exceed 256MB RAM in container." |
discovery | Nuances discovered during development | "Auth token verification must tolerate 60s clock skew." |
api | Contract rules and headers | "All POST endpoints require an Idempotency-Key header." |
CLI Usage
bash
# Record a project memory
centr memory add --title "Bcrypt rounds" --category decision --content "Use 12 salt rounds for password hashing"
# Search memories
centr memory search "password"