CentR Icon CentR v0.1.0

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

CategoryPurposeExample
architectureStructural conventions and layering"Database access must go through DatabaseService, never direct SQL in controllers."
decisionRationale for technical choices"Using bcrypt with 12 salt rounds per Security Policy RFC-104."
constraintEnvironmental or memory limitations"Worker processes must not exceed 256MB RAM in container."
discoveryNuances discovered during development"Auth token verification must tolerate 60s clock skew."
apiContract 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"