Skip to content

Storage and paths

DataPath / collectionNotes
Knowledge vectors./vector-store, devsecops_knowledgeRelative to backend process working directory
Semantic conversation historySame store, conversation_historyShared retrieval currently lacks a thread filter
Conversation messagesdata/conversations.dbDefault resolved relative to backend code
Backend loglogs/ai_backend.logDirectory must exist before import
Model filesOllama-managed storageSeparate from project vector store
Training adaptersdistill/out/Experimental artifacts; not automatically deployed models

Run the backend from the repository/deployment root. The CLI memory helper resolves the project’s vector store from its own location. Starting the backend in a different working directory can create a second store.

Use the pinned backend environment for all store writers. Do not allow a different ChromaDB version to migrate a live store accidentally. Keep a restorable backup before any schema or dependency change.

The conventional deployment root is /opt/devsecops-ai, but inspect the running service instead of assuming it. Systemd writable-path restrictions must include logs, the vector store, and conversation data for enabled features.

Deleting or expiring SQLite messages does not necessarily remove semantic entries or backups. Treat deletion guarantees as unimplemented until verified across all copies.

Next: Backup coverage and memory behavior.