# dbnest-core

Internal library for `dbnest` provisioning, registry, schema planning, and schema application.

## Responsibilities

- Provision SQLite instances.
- Provision PostgreSQL instances through Docker.
- Store and read local instance registry metadata.
- Load schema JSON from files or directory layouts.
- Validate schema semantics.
- Generate SQLite/PostgreSQL SQL plans.
- Apply SQL plans transactionally.
- Report instance status.

## Architecture Docs

See the workspace `docs/` directory, especially:

- `docs/architecture.md`
- `docs/schema.md`
- `docs/lifecycle.md`
- `docs/security.md`
- `docs/testing.md`
