permanent-memory-loader
Installation
SKILL.md
Permanent Memory Loader
Auto-invoke complement to epic-summarizer. Read-only.
Behavior (in order)
- Detect: if
.claude/memory/permanent_memory.mddoes NOT exist → exit silently - Read the file. For each
## Epic: <ID> — <intent>section, apply the dual-read rule (below) to load only its heading + one summary line — never the full body / subsections. - Compose a compact block: 1 line per Epic (heading + its one summary line, ≤120 chars)
- Stamp
trust: fileperrules/core/memory-trust-policy.md
Dual-read rule (v2 fast-path + v1 fallback)
Sections come in two shapes; both load, and the loader picks per section:
- v2 (fast-path): if the section body's first line is an
<!-- af-memory:v2 epic=… confidence=… items=… -->marker, load exactly three lines — the##heading, that marker line, and the single one-line human summary immediately after it. Never read the prose subsections or typed entries. - v1 (fallback, backward-compat): if the section has no
af-memory:v2marker, load the##heading + the first non-empty line after it. Existing v1 files are never rewritten or migrated — they keep working unchanged.
Exact lines loaded per section: