Baudbot uses file-based memory so context survives session restarts and knowledge compounds at the team level.
Memory files live in the deployed runtime under:
~/.pi/agent/memory/
Typical files:
operational.md— infra learnings and recurring fixesrepos.md— per-repo build/CI quirks and notesusers.md— collaboration preferences and communication styleincidents.md— prior incidents, root cause, and resolution
Persistent memory lets the system improve over time:
- fewer repeated mistakes
- faster triage for recurring failures
- better continuity across restarts or model/session swaps
- Read memory on startup before executing new work.
- Append new learnings with dated entries.
- Keep entries concrete and action-oriented.
- Never store secrets, API keys, tokens, or private credentials.
## 2026-02-18
- Repo: myapp
- Finding: integration tests fail unless REDIS_URL is set explicitly in CI.
- Fix: export REDIS_URL=redis://127.0.0.1:6379 before running test:integration.Use memory for:
- runtime observations
- team preferences
- temporary but useful operational context
Use repository docs/commits for:
- canonical architecture
- long-term implementation docs
- user-facing product behavior changes
- prune stale or duplicated notes periodically
- keep headings consistent for scanability
- consolidate repeated points into single authoritative entries
For role behavior around memory usage, see agents.md.