HeavenBase reads the warehouse map before it starts moving any boxes.
1. Motivation
Agents can reason about an external database more safely when tables, columns, enums, and connection summaries are ordinary typed rows. The optionaldatabase extension introspects schema metadata without copying source table data into HeavenBase.
2. Install SQL Support
hb.Database instance.
3. Create a Tiny Source
4. Enable and Ingest
db-database, db-table, db-column, db-enum, db-snippet, and db-predicate.
Credentials are redacted from stored summaries.
5. Browse the Schema
6. Understand Reconnection
Thedb-database row keeps a redacted source description.
Live execution still needs the target environment to provide reachable connection information and credentials.
After replaying a workspace manifest, call ws.database.ingest(...) again when live external metadata is required.
Manifests do not export source databases or db-* row data.
Summary
- The Database extension turns external schema into typed HeavenBase rows.
- Ingestion redacts credentials and does not copy business data.
ws.databaseis the workspace-attached API for ingestion and snippet execution.- Re-ingest after reconstruction when live metadata is needed.

