chatbi-bootstraplisted
Install: claude install-skill lostinheaven-knt/chatbi-harness
# chatbi-bootstrap
Bootstrap runbook for a from-zero local Warehouse. MySQL-only v1, dbt-mysql
scaffold layout. This runbook is a **prompt / procedure artifact**, not
executable code. Where a deterministic primitive exists in
`.claude/lib/chatbi_harness/bootstrap.py` or `config.py` / `adapters/`, this
runbook names it; the live MySQL path is exercised manually (no MySQL server in
CI).
## 0. Sources this runbook binds to
- Lib surface: `chatbi_harness.build_mysql_adapter_spec`,
`chatbi_harness.merge_local_config`, `chatbi_harness.SourceInventory`
(`.claude/lib/chatbi_harness/bootstrap.py`).
- Config gate: `chatbi_harness.load_effective_config`
(`config.py:385-430`) - the single validation entry point (schema + secret
scan + path-binding check).
- Adapter primitives: `chatbi_harness.adapters.CliAdapter`,
`select_adapter`, `resolve_executable`, `build_cli_env`,
`validate_cli_argv` (`adapters/__init__.py`). bootstrap is the first command
to drive a cli adapter end-to-end.
- Schema: `.claude/schemas/chatbi-harness.schema.json`
(`cli_adapters:161-184`, `adapters.query:82-89`, `path_bindings:156-160`).
- Gates: `chatbi_harness.fail_closed` (`gates.py:153-167`), `GateError`
(`gates.py:143-150`).
- Trust boundary: bootstrap = INFRA SETUP only. No governed models, no metric
approval, no production publish, no destructive migration (SEM-003).
## 1. Step 1 - Confirm MySQL source connection + credential handling
**Goal:** validate host/port/user/source_db and reje