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:
@@ -20,6 +20,7 @@ Architecture reference:
|
||||
Measure (don't edit content):
|
||||
- `memory/hot-memory.md`
|
||||
- `memory/cog-meta/patterns.md`
|
||||
- Any domain satellite pattern files (e.g. `work/*/patterns.md`)
|
||||
|
||||
## Process
|
||||
|
||||
@@ -40,11 +41,19 @@ Review the output of recent housekeeping and reflect runs:
|
||||
- Did pruning priority order work? Or did it trim wrong things?
|
||||
- Are glacier thresholds (50 obs, 10 action items) right?
|
||||
- Is the 50-line hot-memory cap appropriate?
|
||||
- Is entity format enforcement catching violations?
|
||||
|
||||
**Reflect rules check:**
|
||||
- Did condensation produce useful patterns, or noise?
|
||||
- Did thread candidate detection work?
|
||||
- Is reflect staying in its lane?
|
||||
- Are patterns routing to the right file (core vs satellite)?
|
||||
|
||||
**Scorecard metrics** — measure and record in evolve-log:
|
||||
- Core `patterns.md`: line count / 70, byte size / 5.5KB (target: ≤1.0)
|
||||
- Satellite pattern files: list each with line count (soft cap: 30)
|
||||
- Entity compression ratio: `(total entity lines across all files) / (total ### entries)` (target: ≤3.0)
|
||||
- Hot-memory line counts vs caps
|
||||
|
||||
### 3. Rule Change Proposals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user