Skip to content

Local-first and Low-dependency

Low dependency is part of mdkg’s security philosophy.

Project memory lives in .mdkg/ Markdown files and frontmatter. Humans can read it, agents can inspect it, and Git can review it.

mdkg state can be diffed, reverted, branched, merged, reviewed, and handed off like other repo files.

.mdkg/index/ exists for local access and performance. It should not become hidden authority. Rebuild it with:

Terminal window
mdkg index

.mdkg/db/ is optional local infrastructure for advanced workflows such as queue delivery and sealed snapshots. It is not the default mental model for getting started.

mdkg uses modern Node capabilities where useful to reduce extra runtime dependencies. Follow the install page’s Node requirement before relying on project DB features.

Do not store raw secrets, package-manager tokens, provider credentials, private keys, raw prompts, provider payloads, or sensitive production data in graph nodes.

Package-manager credentials and deployment tokens belong in your normal secret-management path, not in .mdkg/ Markdown, checkpoints, examples, packs, or handoffs.

mdkg is not a hosted memory service, secret scanner, autonomous runtime, vector database, or replacement for code review.