-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmemory.yaml
More file actions
74 lines (63 loc) · 3.07 KB
/
Copy pathmemory.yaml
File metadata and controls
74 lines (63 loc) · 3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# ══════════════════════════════════════════════════════════════
# runcor-memory configuration
# ══════════════════════════════════════════════════════════════
#
# This file configures how an agent remembers and forgets.
# Place it alongside your project, or pass the path explicitly.
#
# Three ways to configure (in priority order):
# 1. Pass config object in code → highest priority
# 2. This YAML file (memory.yaml) → middle priority
# 3. @memory block in .rpp spec → lowest priority
# 4. Built-in defaults → fallback
#
# ── Core formula parameters ──────────────────────────────────
# tau — Base half-life in cycles.
# Controls how fast memories decay when not accessed or reinforced.
#
# tau=10 → Goldfish. Forgets in ~2 weeks. Only reinforced patterns survive.
# tau=20 → Standard. Remembers recent weeks, forgets last month.
# tau=40 → Elephant. Holds context for over a month.
# tau=80 → Archivist. Almost nothing forgotten within 100 cycles.
#
# Pick based on the agent's role:
# Social media manager → 10
# CEO / daily operator → 20-30
# Project manager → 40
# Lawyer / compliance → 80-90
tau: 30
# durability — Long-term memory decay multiplier.
# Long-term memories use tau * durability as their half-life.
# Higher = long-term memories last much longer than short-term.
durability: 5
# promote_threshold — M value above which a short-term memory
# gets flagged for promotion to long-term storage.
# Higher = harder to promote, fewer long-term memories.
promote_threshold: 1.5
# forget_threshold — M value below which a short-term memory
# is deleted (forgotten).
# Lower = more tolerant, keeps weak memories longer.
# Higher = aggressive cleanup, leaner context.
forget_threshold: 0.05
# ── Compression rules ────────────────────────────────────────
# These guide the LLM when it compresses memories.
compression:
# What details must be preserved word-for-word
preserve:
- "exact monetary amounts"
- "counterparty and client names"
- "dates and deadlines"
- "commitments and promises made"
# What can be safely dropped
discard:
- "routine daily greetings"
- "intermediate reasoning steps"
- "process descriptions that haven't changed"
# How the LLM should write compressed summaries
precis_style: "business summary — lead with impact, include numbers"
# ── Plan template ─────────────────────────────────────────────
# Configures the agent's rolling plan.
plan_template:
categories: [strategy, operations, risk, growth]
max_items: 10
review_frequency: 1 # rewrite every N cycles