feat: add Obsidian vault projection with Longhorn storage
- Create PVC (10Gi) for vault on Longhorn persistent storage
- Update deployment to mount vault volume instead of emptyDir
- Add POST /memory/vault endpoint to generate markdown vault
- Generates one .md file per L1 memory (YAML frontmatter + content)
- Index.md for each project from L2 synthesis
- Auto-update on ingest completion via vault endpoint
Vault structure:
/data/vault/
poimen/
index.md (L2 synthesis)
architecture.md (L1 memory for 'architecture-decisions')
infra-root-causes.md (L1 memory for 'infra-root-causes')
Ready for human reading in Obsidian app or programmatic access.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: poimen-memory-vault
|
||||
namespace: poimen
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
Reference in New Issue
Block a user