feat(memory): templates born v2 (format: 2, no Index); session banner names a v1 registry

This commit is contained in:
bchanot committed 2026-10-28 14:16:50 +01:00
1 parent f6d29bae93
commit 6c9bb7c58b
7 files changed
+58 -55

No files matched your search

+8 -13
View File
@@ -1,4 +1,5 @@
---
format: 2
type: blockers_registry
entry_prefix: BLK
schema:
@@ -17,19 +18,13 @@ rules:
# Blockers registry (BLK)
## Index
<!-- Written only by `bash ~/.claude/lib/memory.sh add blocker --title "<friction>"
--body-file <file> [--status open]` (it allocates the ID). Entry shape:
| ID | Date | Friction | Status |
|----|------|---------|--------|
<!-- Append entries below. Template:
## BLK-XXX - <friction>
- **Date**: YYYY-MM-DD
- **Friction**: <what was blocked>
- **Real cause**: <root cause>
- **Solution**: <workaround or fix>
- **Status**: open | resolved | upstream
## BLK-NNN — <friction> [open] (YYYY-MM-DD)
- **Friction**: <what was blocked>
- **Real cause**: <root cause>
- **Solution**: <workaround or fix>
Later status: `bash ~/.claude/lib/memory.sh status BLK-NNN "resolved <hash>"`.
-->
+9 -16
View File
@@ -1,4 +1,5 @@
---
format: 2
type: decisions_registry
entry_prefix: BDR
schema:
@@ -19,22 +20,14 @@ rules:
# Decisions registry (BDR)
## Index
<!-- Written only by `bash ~/.claude/lib/memory.sh add decision --title "<title>"
--body-file <file> [--status accepted]` (it allocates the ID). Entry shape:
| ID | Date | Title | Status |
|----|------|-------|--------|
<!-- Append entries below. Template:
## BDR-XXX - <title>
- **Date**: YYYY-MM-DD
- **Status**: proposed | accepted | deprecated | superseded
- **Decision**: <what was chosen>
- **Why**: <motivation>
- **Rejected alternatives**:
- Option A - <why rejected>
- Option B - <why rejected>
- **Reference**: <commit / PR / file>
## BDR-NNN — <title> [accepted] (YYYY-MM-DD)
- **Decision**: <what was chosen>
- **Why**: <motivation>
- **Rejected alternatives**: <each option, why rejected>
- **Reference**: <commit / PR / file>
Later status: `bash ~/.claude/lib/memory.sh status BDR-NNN "superseded by BDR-NNN"`.
-->
+8 -13
View File
@@ -1,4 +1,5 @@
---
format: 2
type: evals_registry
entry_prefix: EVAL
schema:
@@ -18,19 +19,13 @@ rules:
# Evals registry (EVAL)
## Index
<!-- Written only by `bash ~/.claude/lib/memory.sh add eval --title "<output>"
--body-file <file> [--status keep]` (it allocates the ID). Entry shape:
| ID | Date | Output | Action |
|----|------|--------|--------|
<!-- Append entries below. Template:
## EVAL-XXX - <output>
- **Date**: YYYY-MM-DD
- **Output**: <what was produced>
- **Method**: <how it was evaluated>
- **Anomalies**: <what is wrong, missing, surprising>
- **Action**: keep | correct | deprecate
## EVAL-NNN — <output> [keep] (YYYY-MM-DD)
- **Output**: <what was produced>
- **Method**: <how it was evaluated>
- **Anomalies**: <what is wrong, missing, surprising>
- **Action**: <keep | correct | deprecate>
-->
+7 -12
View File
@@ -1,4 +1,5 @@
---
format: 2
type: learnings_registry
entry_prefix: LRN
schema:
@@ -16,18 +17,12 @@ rules:
# Learnings registry (LRN)
## Index
<!-- Written only by `bash ~/.claude/lib/memory.sh add learning
--title "<abstract pattern>" --body-file <file>` (it allocates the ID). Entry shape:
| ID | Date | Pattern | Applies to |
|----|------|---------|------------|
<!-- Append entries below. Template:
## LRN-XXX - <abstract pattern>
- **Date**: YYYY-MM-DD
- **Pattern**: <what was observed, phrased for reuse>
- **Context**: <where and when, concrete>
- **Future application**: <when to recall this>
## LRN-NNN — <abstract pattern> (YYYY-MM-DD)
- **Pattern**: <what was observed, phrased for reuse>
- **Context**: <where and when, concrete>
- **Future application**: <when to recall this>
-->