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
+2 -1
View File
@@ -87,7 +87,8 @@ spec:
mountPath: /data
volumes:
- name: data
emptyDir: {}
persistentVolumeClaim:
claimName: poimen-memory-vault
# Tolerate control-plane nodes
tolerations:
- key: node-role.kubernetes.io/control-plane