Imported from fulcrologic/datomic-cloud-backup (
AGENTS.md). Install upstream withnpx skills add fulcrologic/datomic-cloud-backup. Copyright stays with the author.
Agent Guidelines for datomic-cloud-backup
- REPL: Include the :dev alias when running REPLs to get local dependencies.
Code Style
- Namespaces: Use
com.fulcrologic.datomic-cloud-backup.*prefix - Imports: Group requires by stdlib, deps, project; use
:refersparingly - Types: Use Guardrails
>defnwith Malli specs for public functions - Protocols: Define in
protocols.clj, implement in separate files per store type - Error handling: Use
ex-infowith meaningful data maps, log with timbre
Architecture
protocols.clj: TransactionStore protocol definitioncloning.clj: Core backup/restore logic with Datomic client API*_store.clj: Protocol implementations (filesystem, S3, RAM)- Tests use datomic dev-local with
:memstorage