feat: scalable entities & patterns architecture

- Entity format: 3-line compact registry (### Name / key facts / status+links)
  Heavy entries promoted to thread files. Cross-domain pointers for shared entities.
- Pattern satellites: core patterns.md cap reduced from 110→70 lines (5.5KB).
  Domain-specific patterns go in satellite files loaded only by owning skill.
- Reflect: pattern routing rules, entity format enforcement (step 3b)
- Housekeeping: entity registry enforcement (step 5b), glacier inactive entities
- Evolve: scorecard metrics for pattern distribution + entity compression ratio
- README: updated entity example to 3-line format

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcio Puga
2026-03-23 07:03:34 +11:00
parent b2ff95cc9d
commit d47510b0f6
6 changed files with 45 additions and 15 deletions

View File

@@ -1,4 +1,5 @@
<!-- L0: Distilled interaction and workflow rules from experience -->
# Cog — Learned Patterns
<!-- Edit in place. Distill self-observations into actionable patterns. Timeless rules only. HARD LIMIT: 110 lines / 7.5KB. -->
<!-- Edit in place. Distill self-observations into actionable patterns. Timeless rules only. HARD LIMIT: 70 lines / 5.5KB. -->
<!-- Domain-specific patterns go in satellite files (e.g. work/acme/patterns.md), loaded only by their owning skill. -->