Team-shared institutional memory for your project
Chronicle captures your project's decision history, learned lessons, and evolution in git-tracked markdown files. It provides what Claude Memory doesn't: structured, searchable, team-shared understanding that works independently of any individual developer or AI session.
Philosophy: Decisions are timeless, lessons fade, sessions are ephemeral.
- Not for task management → Use Claude Tasks for this
- Not for AI context preservation → Claude Memory handles personal continuity
- Not a replacement for git → Complements commits with rationale and understanding
.chronicle/
├── truth.md # Project DNA (purpose, scope, constraints)
├── principles.md # Enduring beliefs that guide decisions
├── decisions/ # YYYYMMDD-HHMM-slug.md (ADRs, never archived)
├── lessons/ # YYYYMMDD-HHMM-slug.md (failures & insights, 60-day retention)
├── sessions/ # YYYYMMDD-HHMM-slug.md (narrative timeline, 14-day retention)
└── archive/
├── lessons/ # Old lessons (auto-archived monthly)
└── sessions/ # Old sessions (auto-archived weekly)
All files named: YYYYMMDD-HHMM-slug.md (example: 20260208-1430-postgres-indexing.md)
Reading order:
truth.md- What is this project? (~5 min)principles.md- How do we make decisions? (~3 min)- Recent
decisions/- What have we chosen? (scan directory, ~5 min) - Recent
lessons/- What should we avoid? (scan directory, ~5 min)
Total: ~20 minutes to understand project context
When making a significant decision:
You: "We're going with PostgreSQL instead of MongoDB"
Claude: "This seems significant. Should I create an ADR?"
You: "Yes"
Claude: [Creates .chronicle/decisions/20260208-1430-database-choice.md]
When something fails or surprises:
You: "This approach didn't work - got circular dependency"
Claude: "Should I log this as a lesson?"
You: "Yes"
Claude: [Creates .chronicle/lessons/20260208-1430-circular-dependency.md]
When a principle emerges:
You: "We always choose simplicity over configurability"
Claude: "Added principle: 'Choose simplicity over configurability'.
Say 'that's not a principle' to undo."
You: "Let's wrap up"
Claude: "Should I log this session?"
You: "Yes"
Claude: [Creates .chronicle/sessions/20260208-1430-component-refactor.md
with summary of work, changes, and next steps]
You: "I haven't touched this in 2 months, what's the status?"
Claude: [Reads truth.md, principles.md, recent sessions/]
"This is [project description]. Recent work: [summary from sessions].
Latest principle: [X]. Ready to continue?"
Chronicle automatically keeps folders bounded:
Every Monday (or when files >21 days exist):
- Sessions older than 14 days → moved to
archive/sessions/
1st of each month (or when files >90 days exist):
- Lessons older than 60 days → moved to
archive/lessons/
Decisions never archive (they're timeless).
You'll see: "Archived 3 sessions and 1 lesson. Undo: git checkout if needed."
| Type | When | Example |
|---|---|---|
| ADR (decision) | Significant choice with alternatives considered | Database selection, architecture approach, tech stack choice |
| Lesson | Something fails, surprises, or teaches | Performance gotcha, deployment issue, experiment result |
| Principle | Pattern emerges across multiple decisions | "We prefer composition over inheritance" (after 3rd instance) |
| Session | After substantive work (Claude prompts) | Daily/weekly work summary for team context |
Don't force documentation. Claude suggests ADRs/lessons when appropriate. Confirm or skip.
When scope changes, constraints shift, or risks emerge, update truth.md. It's the starting point for anyone (human or AI) engaging with the project.
Every principle should state what you accept by following it.
Every decision should state what becomes harder.
Let old sessions/lessons move to archive/. They're still in git if you need them. Active folders stay scannable.
Before tackling a complex area, ask: "Are there lessons about [database/performance/deployment]?" Claude will check tags and load relevant context.
Multiple people working same day?
- Timestamped files avoid collisions:
20260208-0930-alice-api-work.mdvs20260208-1400-bob-ui-refactor.md
Archival conflicts?
- Deterministic calendar-based rules mean everyone archives at same times
- If both Alice and Bob work on March 1st, both move same February files → no conflicts
Shared principles?
- principles.md is git-tracked
- Changes go through normal PR review
- Keeps team aligned on values
Chronicle is designed for minimal token overhead:
Always loaded (~2.5K tokens):
- truth.md (~1500-2000 tokens)
- principles.md (~700-1000 tokens)
Selectively loaded (~4K tokens):
- Recent lesson frontmatter (scan to find relevant)
- Recent session frontmatter (scan for context)
- Full ADRs/lessons only when relevant
Total: ~7K tokens for full selective context (vs loading all files)
"Where should I document [X]?" Ask Claude. It knows the structure.
"Can I edit these files manually?" Yes! They're just markdown. Edit in any text editor.
"What if I want to undo an auto-added principle?" Say "that's not a principle" immediately, or just delete it from principles.md.
"Do I need to compress anything?" No. Archival is automatic. truth.md and principles.md grow slowly and compress when needed.
Chronicle treats understanding as more valuable than artifacts. Code can be regenerated from good context. Context cannot be regenerated from code alone.
From .chronicle/ alone, a new team member (or future you) should be able to:
- Understand what you're building and why
- Know what's been tried and what worked
- See what principles guide decisions
- Continue effectively without repeating past mistakes
This is institutional memory - knowledge that outlives individual contributors and persists across team changes.
During work:
- "How should I document this decision?"
- "Is there a lesson about [X]?"
- "Show me recent decisions"
For team handoffs:
- "Help me onboard to this project" → Claude guides through truth.md, principles, recent work
- Read truth.md - Understand the project
- Skim principles.md - Know how decisions are made
- Check recent lessons - Avoid known pitfalls
- Start working - Chronicle captures as you go
Chronicle gets more valuable with use. The earlier your team adopts it, the richer your institutional memory becomes.
This guide is for humans. CLAUDE.md contains the protocols that Claude follows automatically.