feat: add Obsidian vault projection with Longhorn storage
Build and Push / Test (pull_request) Failing after 4s
Build and Push / Build and push image (pull_request) Skipped

- 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:
Story Crater Bot
2026-08-23 18:58:36 -07:00
parent 234bce70a0
commit fd29caf83c
4 changed files with 115 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: poimen-memory-vault
namespace: poimen
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 10Gi