← ClaudeAtlas

chatbi-bootstraplisted

Procedural runbook for scaffolding a from-zero local Warehouse invoked by /chatbi-bootstrap. Writes local config (cli_adapters.mysql + optional path_binding), appends cli:mysql to shared adapters.query, CREATE DATABASE IF NOT EXISTS dw, introspects the source public schema via INFORMATION_SCHEMA, scaffolds the dbt-mysql project layout, and emits a source-inventory JSON hand-off for /chatbi-maintain-model. MySQL-only v1. Infra setup only (SEM-003). Carries reusable procedure, not easily-stale facts.
lostinheaven-knt/chatbi-harness · ★ 0 · AI & Automation · score 60
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