Files
claude-plugins/plugins/learn/templates/memory-entry.json
Claude Agent 0207af18f6 feat(learn): Minimalist memory format v3.0 - 60% size reduction
BREAKING CHANGE: New compact entry format
- Header: `## {P|G}: {Title}` (P=Pattern, G=Gotcha)
- Metadata: `@YYYY-MM-DD #tag1 #tag2 | source:confidence[:reinforced]`
- Max 3 inline tags, no separators, no statistics section

Removed verbose fields: Discovered, Source, Confidence, Trigger
Statistics now calculated dynamically by /learn:status

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 00:44:48 +00:00

35 lines
1.1 KiB
JSON

{
"format_version": "3.0",
"pattern": {
"type": "P",
"title": "max 60 char, imperativ",
"date": "YYYY-MM-DD",
"tags": ["max", "3", "tags"],
"source": "explicit|inferred|repeated",
"confidence": "high|med|low",
"reinforced": 0,
"description": "1-2 propoziții",
"example": "opțional, cod cu ```lang"
},
"gotcha": {
"type": "G",
"title": "max 60 char",
"date": "YYYY-MM-DD",
"tags": ["max", "3", "tags"],
"source": "explicit|inferred|repeated",
"confidence": "high|med|low",
"reinforced": 0,
"problem": "scurt",
"solution": "scurt"
},
"metadata_format": "@{date} #{tag1} #{tag2} | {source}:{confidence}[:{reinforced}]",
"domains": {
"backend": ["src/api/**/*.ts", "src/server/**/*.ts", "services/**/*"],
"frontend": ["src/components/**/*.tsx", "src/pages/**/*.tsx", "**/*.css"],
"database": ["src/db/**/*.ts", "migrations/**/*.ts", "**/*.sql"],
"testing": ["**/*.test.ts", "**/*.spec.ts", "tests/**/*"],
"deployment": ["Dockerfile", "docker-compose.yml", "**/*.yml", "infra/**/*"],
"global": []
}
}