The knowledge base stays as markdown in git, with status, provenance and cheap revert. The archive keeps everything that came in, raw, addressed by the hash of its content. The registry links entities: person, company, meeting, task, project. PostgreSQL with pgvector holds the archive, the registry, the ledger of write receipts and an indexed copy of the knowledge base, always rebuilt from the markdown, never the other way round. Every note points to the archive item it came from.
- markdown + git
- content-hashed archive
- entity registry
- receipt ledger
- PostgreSQL + pgvector