@dollhousemcp/mcp-server 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/generated/version.d.ts +2 -2
- package/dist/generated/version.js +3 -3
- package/dist/seed-elements/memories/dollhousemcp-baseline-knowledge.yaml +149 -0
- package/dist/seed-elements/memories/how-to-create-custom-auto-load-memories.yaml +455 -0
- package/dist/seed-elements/memories/priority-best-practices-for-teams.yaml +542 -0
- package/dist/seed-elements/memories/token-estimation-guidelines.yaml +602 -0
- package/dist/web/public/fonts/ibmplexmono--F63fjptAgt5VM-kVkqdyU8n1i8q131nj-o.woff2 +0 -0
- package/dist/web/public/fonts/ibmplexmono--F63fjptAgt5VM-kVkqdyU8n1iAq131nj-otFQ.woff2 +0 -0
- package/dist/web/public/fonts/ibmplexmono--F63fjptAgt5VM-kVkqdyU8n1iEq131nj-otFQ.woff2 +0 -0
- package/dist/web/public/fonts/ibmplexmono--F63fjptAgt5VM-kVkqdyU8n1iIq131nj-otFQ.woff2 +0 -0
- package/dist/web/public/fonts/ibmplexmono--F63fjptAgt5VM-kVkqdyU8n1isq131nj-otFQ.woff2 +0 -0
- package/dist/web/public/fonts/ibmplexmono--F6qfjptAgt5VM-kVkqdyU8n3twJwl1FgsAXHNlYzg.woff2 +0 -0
- package/dist/web/public/fonts/ibmplexmono--F6qfjptAgt5VM-kVkqdyU8n3twJwl5FgsAXHNlYzg.woff2 +0 -0
- package/dist/web/public/fonts/ibmplexmono--F6qfjptAgt5VM-kVkqdyU8n3twJwl9FgsAXHNlYzg.woff2 +0 -0
- package/dist/web/public/fonts/ibmplexmono--F6qfjptAgt5VM-kVkqdyU8n3twJwlBFgsAXHNk.woff2 +0 -0
- package/dist/web/public/fonts/ibmplexmono--F6qfjptAgt5VM-kVkqdyU8n3twJwlRFgsAXHNlYzg.woff2 +0 -0
- package/dist/web/public/fonts/manrope-xn7gYHE41ni1AdIRggOxSvfedN62Zw.woff2 +0 -0
- package/dist/web/public/fonts/manrope-xn7gYHE41ni1AdIRggSxSvfedN62Zw.woff2 +0 -0
- package/dist/web/public/fonts/manrope-xn7gYHE41ni1AdIRggexSvfedN4.woff2 +0 -0
- package/dist/web/public/fonts/manrope-xn7gYHE41ni1AdIRggixSvfedN62Zw.woff2 +0 -0
- package/dist/web/public/fonts/manrope-xn7gYHE41ni1AdIRggmxSvfedN62Zw.woff2 +0 -0
- package/dist/web/public/fonts/manrope-xn7gYHE41ni1AdIRggqxSvfedN62Zw.woff2 +0 -0
- package/dist/web/public/fonts/plusjakartasans-LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yygg_vb.woff2 +0 -0
- package/dist/web/public/fonts/plusjakartasans-LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yygg_vbd-E.woff2 +0 -0
- package/dist/web/public/fonts/plusjakartasans-LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yygg_vbd-E.woff2 +0 -0
- package/dist/web/public/fonts/plusjakartasans-LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yygg_vbd-E.woff2 +0 -0
- package/dist/web/public/fonts.css +270 -0
- package/dist/web/public/index.html +365 -0
- package/dist/web/public/logs.css +472 -0
- package/dist/web/public/metrics.css +238 -0
- package/dist/web/public/permissions.css +364 -0
- package/dist/web/public/sessions.css +235 -0
- package/dist/web/public/setup.css +648 -0
- package/dist/web/public/styles.css +1717 -0
- package/package.json +3 -1
- package/server.json +2 -2
|
@@ -0,0 +1,542 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: priority-best-practices-for-teams
|
|
3
|
+
type: memory
|
|
4
|
+
description: Best practices for organizing auto-load memory priorities in team environments
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
author: DollhouseMCP
|
|
7
|
+
category: documentation
|
|
8
|
+
tags:
|
|
9
|
+
- auto-load
|
|
10
|
+
- priorities
|
|
11
|
+
- teams
|
|
12
|
+
- best-practices
|
|
13
|
+
- organization
|
|
14
|
+
triggers:
|
|
15
|
+
- memory-priorities
|
|
16
|
+
- priority-best-practices
|
|
17
|
+
- team-priorities
|
|
18
|
+
- organize-auto-load
|
|
19
|
+
- priority-strategy
|
|
20
|
+
autoLoad: false
|
|
21
|
+
priority: 999
|
|
22
|
+
retention: permanent
|
|
23
|
+
privacyLevel: public
|
|
24
|
+
searchable: true
|
|
25
|
+
trustLevel: VALIDATED
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# Auto-Load Memory Priority Best Practices for Teams
|
|
29
|
+
|
|
30
|
+
## Priority System Overview
|
|
31
|
+
|
|
32
|
+
Auto-load memories are loaded in **ascending priority order** (lower number = loads first). This determines the order in which context is provided to the AI, affecting response quality and token efficiency.
|
|
33
|
+
|
|
34
|
+
**Key Principle**: Foundation knowledge first, specialized context last.
|
|
35
|
+
|
|
36
|
+
## Standard Priority Ranges
|
|
37
|
+
|
|
38
|
+
### System Reserved (1-10)
|
|
39
|
+
|
|
40
|
+
**Reserved for DollhouseMCP system memories**. Do not use for custom content.
|
|
41
|
+
|
|
42
|
+
```yaml
|
|
43
|
+
# Priority 1: DollhouseMCP baseline knowledge
|
|
44
|
+
name: dollhousemcp-baseline-knowledge
|
|
45
|
+
priority: 1
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**Why Reserved**:
|
|
49
|
+
- Ensures AI always knows DollhouseMCP capabilities
|
|
50
|
+
- Prevents conflicts with system updates
|
|
51
|
+
- Maintains consistent baseline across all installations
|
|
52
|
+
|
|
53
|
+
### Organizational Baseline (11-30)
|
|
54
|
+
|
|
55
|
+
**Company-wide or org-wide standards** that apply across all teams.
|
|
56
|
+
|
|
57
|
+
```yaml
|
|
58
|
+
# Priority 11: Company coding standards
|
|
59
|
+
name: company-coding-standards
|
|
60
|
+
priority: 11
|
|
61
|
+
description: Language-agnostic standards for all engineers
|
|
62
|
+
|
|
63
|
+
# Priority 15: Company security policies
|
|
64
|
+
name: security-policies
|
|
65
|
+
priority: 15
|
|
66
|
+
description: Security requirements and compliance guidelines
|
|
67
|
+
|
|
68
|
+
# Priority 20: Company architecture patterns
|
|
69
|
+
name: architecture-patterns
|
|
70
|
+
priority: 20
|
|
71
|
+
description: Standard patterns used across all products
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Examples**:
|
|
75
|
+
- Code review checklist
|
|
76
|
+
- Security/compliance requirements
|
|
77
|
+
- Accessibility standards
|
|
78
|
+
- Documentation standards
|
|
79
|
+
- Incident response procedures
|
|
80
|
+
|
|
81
|
+
**Best Practices**:
|
|
82
|
+
- Keep concise (500-2,000 tokens)
|
|
83
|
+
- Update quarterly
|
|
84
|
+
- Version control in company wiki
|
|
85
|
+
- Get buy-in from engineering leadership
|
|
86
|
+
|
|
87
|
+
### Team Context (31-60)
|
|
88
|
+
|
|
89
|
+
**Team-specific** standards, patterns, and domain knowledge.
|
|
90
|
+
|
|
91
|
+
```yaml
|
|
92
|
+
# Priority 35: Team backend patterns
|
|
93
|
+
name: backend-team-patterns
|
|
94
|
+
priority: 35
|
|
95
|
+
description: Backend-specific coding patterns and practices
|
|
96
|
+
|
|
97
|
+
# Priority 40: Domain knowledge (e.g., healthcare terms)
|
|
98
|
+
name: healthcare-domain-knowledge
|
|
99
|
+
priority: 40
|
|
100
|
+
description: Medical terminology and healthcare workflows
|
|
101
|
+
|
|
102
|
+
# Priority 50: Team API conventions
|
|
103
|
+
name: api-conventions
|
|
104
|
+
priority: 50
|
|
105
|
+
description: REST API design patterns used by backend team
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**Examples**:
|
|
109
|
+
- Team-specific tech stack
|
|
110
|
+
- Domain terminology (legal, medical, financial)
|
|
111
|
+
- Third-party service integrations
|
|
112
|
+
- Shared libraries and utilities
|
|
113
|
+
- Team communication patterns
|
|
114
|
+
|
|
115
|
+
**Best Practices**:
|
|
116
|
+
- Load before project-specific context
|
|
117
|
+
- Include only stable, established patterns
|
|
118
|
+
- Review monthly for relevance
|
|
119
|
+
- Link to detailed docs rather than embedding
|
|
120
|
+
|
|
121
|
+
### Project Context (61-100)
|
|
122
|
+
|
|
123
|
+
**Project-specific** architecture, decisions, and current state.
|
|
124
|
+
|
|
125
|
+
```yaml
|
|
126
|
+
# Priority 65: Project architecture
|
|
127
|
+
name: myapp-architecture
|
|
128
|
+
priority: 65
|
|
129
|
+
description: MyApp system architecture and component overview
|
|
130
|
+
|
|
131
|
+
# Priority 75: Active sprint context
|
|
132
|
+
name: sprint-42-context
|
|
133
|
+
priority: 75
|
|
134
|
+
description: Current sprint goals and work in progress
|
|
135
|
+
|
|
136
|
+
# Priority 85: Recent decisions
|
|
137
|
+
name: architecture-decision-records
|
|
138
|
+
priority: 85
|
|
139
|
+
description: Key technical decisions made in last 3 months
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**Examples**:
|
|
143
|
+
- Project overview and goals
|
|
144
|
+
- System architecture diagrams
|
|
145
|
+
- Database schemas
|
|
146
|
+
- Active sprint information
|
|
147
|
+
- Recent architectural decisions
|
|
148
|
+
- Key contacts and responsibilities
|
|
149
|
+
|
|
150
|
+
**Best Practices**:
|
|
151
|
+
- Update at start of each sprint
|
|
152
|
+
- Include "last updated" date
|
|
153
|
+
- Remove completed sprint context
|
|
154
|
+
- Keep architecture diagrams text-based (ASCII/Mermaid)
|
|
155
|
+
|
|
156
|
+
### Reference Material (101-500)
|
|
157
|
+
|
|
158
|
+
**Nice-to-have** reference material that's useful but not critical.
|
|
159
|
+
|
|
160
|
+
```yaml
|
|
161
|
+
# Priority 150: API reference
|
|
162
|
+
name: internal-api-reference
|
|
163
|
+
priority: 150
|
|
164
|
+
description: Quick reference for internal API endpoints
|
|
165
|
+
|
|
166
|
+
# Priority 200: Common error codes
|
|
167
|
+
name: error-code-reference
|
|
168
|
+
priority: 200
|
|
169
|
+
description: List of error codes and their meanings
|
|
170
|
+
|
|
171
|
+
# Priority 300: Deployment runbook
|
|
172
|
+
name: deployment-runbook
|
|
173
|
+
priority: 300
|
|
174
|
+
description: Step-by-step deployment procedures
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
**Examples**:
|
|
178
|
+
- API endpoint lists
|
|
179
|
+
- Error code references
|
|
180
|
+
- Configuration options
|
|
181
|
+
- CLI command references
|
|
182
|
+
- Troubleshooting guides
|
|
183
|
+
|
|
184
|
+
**Best Practices**:
|
|
185
|
+
- Keep under 3,000 tokens each
|
|
186
|
+
- Use bullet points for scannability
|
|
187
|
+
- Link to full docs for details
|
|
188
|
+
- Update when APIs change
|
|
189
|
+
|
|
190
|
+
### Low Priority (501+)
|
|
191
|
+
|
|
192
|
+
**Optional** context that's rarely needed but occasionally helpful.
|
|
193
|
+
|
|
194
|
+
```yaml
|
|
195
|
+
# Priority 600: Historical context
|
|
196
|
+
name: legacy-system-notes
|
|
197
|
+
priority: 600
|
|
198
|
+
description: Notes about legacy system for migration reference
|
|
199
|
+
|
|
200
|
+
# Priority 700: Future roadmap
|
|
201
|
+
name: future-roadmap
|
|
202
|
+
priority: 700
|
|
203
|
+
description: Long-term product roadmap and vision
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
**Examples**:
|
|
207
|
+
- Legacy system documentation
|
|
208
|
+
- Future roadmap (not current work)
|
|
209
|
+
- Historical context
|
|
210
|
+
- Deprecated patterns (for reference)
|
|
211
|
+
|
|
212
|
+
**Best Practices**:
|
|
213
|
+
- Consider if this should be auto-loaded at all
|
|
214
|
+
- May be better as on-demand memory
|
|
215
|
+
- Review quarterly for relevance
|
|
216
|
+
|
|
217
|
+
## Team Coordination Strategies
|
|
218
|
+
|
|
219
|
+
### Strategy 1: Federated Ownership
|
|
220
|
+
|
|
221
|
+
Each team maintains their own priority namespace:
|
|
222
|
+
|
|
223
|
+
```yaml
|
|
224
|
+
# Backend team: 31-40
|
|
225
|
+
backend-team-patterns: 35
|
|
226
|
+
backend-api-conventions: 38
|
|
227
|
+
|
|
228
|
+
# Frontend team: 41-50
|
|
229
|
+
frontend-component-library: 42
|
|
230
|
+
frontend-state-management: 45
|
|
231
|
+
|
|
232
|
+
# DevOps team: 51-60
|
|
233
|
+
deployment-procedures: 52
|
|
234
|
+
infrastructure-overview: 55
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
**Pros**:
|
|
238
|
+
- Clear ownership
|
|
239
|
+
- No conflicts
|
|
240
|
+
- Independent updates
|
|
241
|
+
|
|
242
|
+
**Cons**:
|
|
243
|
+
- Requires coordination
|
|
244
|
+
- Gaps in numbering
|
|
245
|
+
- Less flexibility
|
|
246
|
+
|
|
247
|
+
### Strategy 2: Content-Based Priorities
|
|
248
|
+
|
|
249
|
+
Organize by content type, not team:
|
|
250
|
+
|
|
251
|
+
```yaml
|
|
252
|
+
# Standards (31-40)
|
|
253
|
+
coding-standards: 32
|
|
254
|
+
security-guidelines: 35
|
|
255
|
+
testing-requirements: 38
|
|
256
|
+
|
|
257
|
+
# Architecture (41-50)
|
|
258
|
+
system-overview: 42
|
|
259
|
+
service-boundaries: 45
|
|
260
|
+
data-flow: 48
|
|
261
|
+
|
|
262
|
+
# Current Work (51-60)
|
|
263
|
+
active-sprint: 52
|
|
264
|
+
recent-decisions: 55
|
|
265
|
+
known-issues: 58
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
**Pros**:
|
|
269
|
+
- Logical grouping
|
|
270
|
+
- Easier to understand
|
|
271
|
+
- Natural load order
|
|
272
|
+
|
|
273
|
+
**Cons**:
|
|
274
|
+
- Multiple teams may edit same priority range
|
|
275
|
+
- Requires more communication
|
|
276
|
+
|
|
277
|
+
### Strategy 3: Hybrid Approach
|
|
278
|
+
|
|
279
|
+
Combine both strategies:
|
|
280
|
+
|
|
281
|
+
```yaml
|
|
282
|
+
# Company (11-20)
|
|
283
|
+
company-standards: 11
|
|
284
|
+
|
|
285
|
+
# Cross-Team (21-30)
|
|
286
|
+
api-gateway-docs: 25
|
|
287
|
+
|
|
288
|
+
# Backend Team (31-50)
|
|
289
|
+
backend-patterns: 35
|
|
290
|
+
backend-project-context: 45
|
|
291
|
+
|
|
292
|
+
# Frontend Team (51-70)
|
|
293
|
+
frontend-standards: 55
|
|
294
|
+
frontend-project-context: 65
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
**Pros**:
|
|
298
|
+
- Balanced approach
|
|
299
|
+
- Clear boundaries
|
|
300
|
+
- Flexible within teams
|
|
301
|
+
|
|
302
|
+
**Cons**:
|
|
303
|
+
- More complex to document
|
|
304
|
+
|
|
305
|
+
## Priority Decision Tree
|
|
306
|
+
|
|
307
|
+
Use this decision tree to assign priorities:
|
|
308
|
+
|
|
309
|
+
```
|
|
310
|
+
Is it DollhouseMCP system content?
|
|
311
|
+
├─ YES → Priority 1-10 (system reserved)
|
|
312
|
+
└─ NO ↓
|
|
313
|
+
|
|
314
|
+
Is it company-wide (applies to ALL engineers)?
|
|
315
|
+
├─ YES → Priority 11-30 (organizational baseline)
|
|
316
|
+
└─ NO ↓
|
|
317
|
+
|
|
318
|
+
Is it team-specific but not project-specific?
|
|
319
|
+
├─ YES → Priority 31-60 (team context)
|
|
320
|
+
└─ NO ↓
|
|
321
|
+
|
|
322
|
+
Is it project-specific current work?
|
|
323
|
+
├─ YES → Priority 61-100 (project context)
|
|
324
|
+
└─ NO ↓
|
|
325
|
+
|
|
326
|
+
Is it reference material (nice to have)?
|
|
327
|
+
├─ YES → Priority 101-500 (reference material)
|
|
328
|
+
└─ NO → Priority 501+ (low priority / consider not auto-loading)
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
## Common Pitfalls
|
|
332
|
+
|
|
333
|
+
### Pitfall 1: Everything is High Priority
|
|
334
|
+
|
|
335
|
+
**Problem**:
|
|
336
|
+
```yaml
|
|
337
|
+
project-overview: 10 # Too high!
|
|
338
|
+
api-docs: 12 # Too high!
|
|
339
|
+
sprint-context: 15 # Too high!
|
|
340
|
+
error-codes: 18 # Too high!
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
**Result**: Important baseline knowledge gets crowded out.
|
|
344
|
+
|
|
345
|
+
**Solution**: Use the full priority range. Not everything can be urgent.
|
|
346
|
+
|
|
347
|
+
### Pitfall 2: No Priority Strategy
|
|
348
|
+
|
|
349
|
+
**Problem**: Teams assign priorities randomly without coordination.
|
|
350
|
+
|
|
351
|
+
**Result**: Critical context loads after optional context, wasting tokens.
|
|
352
|
+
|
|
353
|
+
**Solution**: Document team priority strategy in shared wiki.
|
|
354
|
+
|
|
355
|
+
### Pitfall 3: Stale Priorities
|
|
356
|
+
|
|
357
|
+
**Problem**: Priorities set once and never reviewed.
|
|
358
|
+
|
|
359
|
+
**Result**: Old sprint context loads before current sprint, outdated docs load before current docs.
|
|
360
|
+
|
|
361
|
+
**Solution**: Review priorities quarterly as part of retrospectives.
|
|
362
|
+
|
|
363
|
+
### Pitfall 4: Priority Conflicts
|
|
364
|
+
|
|
365
|
+
**Problem**: Two teams both want priority 50 for their memories.
|
|
366
|
+
|
|
367
|
+
**Result**: Unpredictable load order, finger-pointing.
|
|
368
|
+
|
|
369
|
+
**Solution**: Use federated ownership strategy or establish priority ranges per team.
|
|
370
|
+
|
|
371
|
+
### Pitfall 5: Too Many Auto-Load Memories
|
|
372
|
+
|
|
373
|
+
**Problem**: 20+ memories, most rarely needed.
|
|
374
|
+
|
|
375
|
+
**Result**: Token budget exceeded, critical context skipped.
|
|
376
|
+
|
|
377
|
+
**Solution**: Review annually. Consider moving some to on-demand memories.
|
|
378
|
+
|
|
379
|
+
## Real-World Examples
|
|
380
|
+
|
|
381
|
+
### Example 1: Small Startup (5-10 engineers)
|
|
382
|
+
|
|
383
|
+
```yaml
|
|
384
|
+
# Simple, flat structure
|
|
385
|
+
dollhousemcp-baseline-knowledge: 1 # System
|
|
386
|
+
company-coding-standards: 20 # Company
|
|
387
|
+
project-architecture: 50 # Project
|
|
388
|
+
current-sprint: 60 # Current work
|
|
389
|
+
api-reference: 100 # Reference
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
**Token Budget**: 5,000 (default)
|
|
393
|
+
**Total Memories**: 5
|
|
394
|
+
|
|
395
|
+
### Example 2: Medium Team (30-50 engineers, 3 teams)
|
|
396
|
+
|
|
397
|
+
```yaml
|
|
398
|
+
# System
|
|
399
|
+
dollhousemcp-baseline-knowledge: 1
|
|
400
|
+
|
|
401
|
+
# Company-wide
|
|
402
|
+
company-standards: 15
|
|
403
|
+
security-policies: 18
|
|
404
|
+
|
|
405
|
+
# Backend Team (31-50)
|
|
406
|
+
backend-patterns: 35
|
|
407
|
+
backend-project: 45
|
|
408
|
+
|
|
409
|
+
# Frontend Team (51-70)
|
|
410
|
+
frontend-standards: 55
|
|
411
|
+
frontend-project: 65
|
|
412
|
+
|
|
413
|
+
# Shared
|
|
414
|
+
api-contracts: 80
|
|
415
|
+
active-sprint: 85
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
**Token Budget**: 8,000
|
|
419
|
+
**Total Memories**: 9
|
|
420
|
+
|
|
421
|
+
### Example 3: Large Enterprise (200+ engineers, 10+ teams)
|
|
422
|
+
|
|
423
|
+
```yaml
|
|
424
|
+
# System
|
|
425
|
+
dollhousemcp-baseline-knowledge: 1
|
|
426
|
+
|
|
427
|
+
# Organizational (11-30)
|
|
428
|
+
enterprise-coding-standards: 11
|
|
429
|
+
security-compliance: 15
|
|
430
|
+
architecture-principles: 20
|
|
431
|
+
|
|
432
|
+
# Division-Level (31-50)
|
|
433
|
+
product-division-standards: 31
|
|
434
|
+
platform-team-patterns: 35
|
|
435
|
+
|
|
436
|
+
# Team-Level (51-100)
|
|
437
|
+
team-backend-context: 55
|
|
438
|
+
team-frontend-context: 65
|
|
439
|
+
team-devops-runbooks: 75
|
|
440
|
+
|
|
441
|
+
# Project-Level (101-150)
|
|
442
|
+
current-project-architecture: 105
|
|
443
|
+
active-sprint-goals: 115
|
|
444
|
+
|
|
445
|
+
# Reference (151-300)
|
|
446
|
+
api-catalog: 160
|
|
447
|
+
error-code-reference: 180
|
|
448
|
+
deployment-procedures: 200
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
**Token Budget**: 12,000
|
|
452
|
+
**Total Memories**: 13
|
|
453
|
+
|
|
454
|
+
## Priority Governance
|
|
455
|
+
|
|
456
|
+
### For Small Teams (< 20 engineers)
|
|
457
|
+
|
|
458
|
+
- **Decision Making**: Consensus in team meetings
|
|
459
|
+
- **Documentation**: Shared Google Doc or Notion page
|
|
460
|
+
- **Review Cadence**: Quarterly
|
|
461
|
+
- **Conflicts**: Resolved by tech lead
|
|
462
|
+
|
|
463
|
+
### For Medium Teams (20-100 engineers)
|
|
464
|
+
|
|
465
|
+
- **Decision Making**: Team leads + architecture group
|
|
466
|
+
- **Documentation**: Internal wiki with priority registry
|
|
467
|
+
- **Review Cadence**: Bi-annually with representatives from each team
|
|
468
|
+
- **Conflicts**: Escalate to engineering manager
|
|
469
|
+
|
|
470
|
+
### For Large Organizations (100+ engineers)
|
|
471
|
+
|
|
472
|
+
- **Decision Making**: Architecture committee
|
|
473
|
+
- **Documentation**: Formal RFC process for priority changes
|
|
474
|
+
- **Review Cadence**: Annually + ad-hoc for new teams
|
|
475
|
+
- **Conflicts**: Formal escalation process with defined SLAs
|
|
476
|
+
|
|
477
|
+
## Measuring Priority Effectiveness
|
|
478
|
+
|
|
479
|
+
### Metrics to Track
|
|
480
|
+
|
|
481
|
+
1. **Token Utilization**:
|
|
482
|
+
```
|
|
483
|
+
Average tokens loaded: 3,200 / 5,000 (64%)
|
|
484
|
+
Target: 60-80% utilization
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
2. **Load Success Rate**:
|
|
488
|
+
```
|
|
489
|
+
Memories loaded: 8 / 10 (80%)
|
|
490
|
+
Memories skipped: 2 / 10 (20% due to budget)
|
|
491
|
+
Target: >90% loaded
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
3. **Relevance Score** (quarterly survey):
|
|
495
|
+
```
|
|
496
|
+
"How often do you reference auto-loaded context?"
|
|
497
|
+
- Daily: 60%
|
|
498
|
+
- Weekly: 30%
|
|
499
|
+
- Rarely: 10%
|
|
500
|
+
Target: >80% daily/weekly
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
4. **Update Frequency**:
|
|
504
|
+
```
|
|
505
|
+
Memories updated in last 90 days: 7 / 10 (70%)
|
|
506
|
+
Target: >60% updated quarterly
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
### Dashboard Query
|
|
510
|
+
|
|
511
|
+
```bash
|
|
512
|
+
# Check current auto-load status
|
|
513
|
+
dollhouse list memories --filter autoLoad=true --sort priority
|
|
514
|
+
|
|
515
|
+
# See token usage
|
|
516
|
+
dollhouse config show autoLoad.maxTokenBudget
|
|
517
|
+
|
|
518
|
+
# Validate all auto-load memories
|
|
519
|
+
for memory in $(dollhouse list memories --filter autoLoad=true --json | jq -r '.[].name'); do
|
|
520
|
+
dollhouse validate memory "$memory"
|
|
521
|
+
done
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
## Quick Reference
|
|
525
|
+
|
|
526
|
+
| Priority Range | Purpose | Examples | Token Guideline |
|
|
527
|
+
|----------------|---------|----------|-----------------|
|
|
528
|
+
| 1-10 | System (reserved) | DollhouseMCP baseline | N/A |
|
|
529
|
+
| 11-30 | Organizational | Company standards | 500-2,000 |
|
|
530
|
+
| 31-60 | Team | Team patterns, domain knowledge | 1,000-3,000 |
|
|
531
|
+
| 61-100 | Project | Architecture, current sprint | 1,500-4,000 |
|
|
532
|
+
| 101-500 | Reference | API docs, error codes | 500-3,000 |
|
|
533
|
+
| 501+ | Low priority | Legacy docs, future roadmap | 500-2,000 |
|
|
534
|
+
|
|
535
|
+
## Related Documentation
|
|
536
|
+
|
|
537
|
+
- [How to Create Custom Auto-Load Memories](./how-to-create-custom-auto-load-memories.yaml)
|
|
538
|
+
- [Token Estimation Guidelines](./token-estimation-guidelines.yaml)
|
|
539
|
+
|
|
540
|
+
---
|
|
541
|
+
|
|
542
|
+
**Last Updated**: v1.9.25 (October 2025)
|