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>
35 lines
1.1 KiB
JSON
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": []
|
|
}
|
|
}
|