Persist Before Noting

lesson patterns active patterns/persist-before-noting.md View on GitHub

Persist Before Noting

Rule

When you say you've "noted" or "learned" something, immediately persist it to a core file before continuing.

Context

During conversations when valuable insights, clarifications, or corrections are discovered.

Detection

Observable signals that indicate empty promises:

Common anti-patterns:

User: Actually, X and Y are different things, don't confuse them.
Agent: "Thanks for the clarification! Noted for future reference."
# No file was updated - this insight will be lost!

Pattern

When something is worth noting, persist it immediately:

# ❌ Wrong: Empty acknowledgment
User: FYI, Claude Code tasks ≠ beads/bd
Agent: "Noted for future reference."
# Nothing persisted, will forget next session

# ✅ Correct: Persist then acknowledge
User: FYI, Claude Code tasks ≠ beads/bd
Agent: "Let me persist this to prevent future confusion."
[Updates GLOSSARY.md with distinction]
[Commits changes]
Agent: "Added to glossary. Now I'll apply this understanding."

Where to persist:

Outcome

Following this pattern ensures:

Related

Match Keywords

noted for future reference I'll remember this will keep this in mind good to know for next time learned this for future understanding improved