← ClaudeAtlas

memory-conventionlisted

How agents consume per-project summarized memory: durable improvement overlays at `$MAIN_ROOT/.claude/memory/patterns/<skill>.md`, written by the `dream-summary-memory` pass and loaded additively by every pattern skill. Defines where the overlays live, their file shape, and the precedence rules for applying overlay rules on top of a baseline pattern skill. (Runtime telemetry signals are written and owned entirely by the plugin's `hooks/runtime-telemetry/` scripts — not this skill's concern.)
MartinKChen/harness-claude-code · ★ 0 · AI & Automation · score 72
Install: claude install-skill MartinKChen/harness-claude-code
# memory-convention Each consuming project grows durable, curated memory from its own review/fix/CI history. This skill defines how agents **consume** that memory: the per-skill overlay files a pattern skill reads at load time and applies on top of its baseline rules. It is purely descriptive — agents read it for context but never "execute" it, and it never modifies the baseline pattern skills shipped by this plugin. > Runtime telemetry (per-dispatch timing, tokens, tool calls) is a separate concern, written and owned entirely by the plugin's `hooks/runtime-telemetry/` scripts. The hook scripts are self-documenting; none of it is needed to read memory, so it is out of scope here. ## Where summarized memory lives ``` $MAIN_ROOT/.claude/memory/ patterns/<pattern-skill-name>.md ← per-skill improvement overlay, written by dreaming dream-log.md ← audit trail of dreaming runs (informational) ``` `$MAIN_ROOT` is the consuming project's **main working tree** root, so every slice worktree resolves to the same location: ```bash MAIN_ROOT="$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")" MEMORY_ROOT="$MAIN_ROOT/.claude/memory" ``` The directory is auto-created (by `dream-summary-memory`); it is a gitignored working dir, never committed. Overlays are produced by the `dream-summary-memory` pass — see that skill for how they are generated; the contract for *reading* them is below. ## Overlay file shape `$MAIN_ROOT/.claude/memory/p