ktx/docs-site/content/docs/cli-reference
Andrey Avtomonov ece0dfb2c8 feat(connections): add execute-only warehouses; stop silent full-project scans
A configured warehouse was always a scan/ingest target. The only way to use a
connection purely for SQL execution (ktx sql / sql_execution) was the leaky
workaround of an empty setup.database_connection_ids — which actually re-includes
every warehouse via the 'fall back to all' branch — so e.g. a BigQuery connection
meant only for read-only queries triggered a full-billing-project scan.

- Add a per-connection scan_enabled flag (default true) to warehouse connections.
  scan_enabled: false registers the connection for execution only and never as a
  scan target.
- Route every scan-target selection path through one predicate
  (isScanTargetWarehouse): both ingest (primaryWarehouseConnectionIds, including
  the all-warehouses fallback) and setup (configuredPrimaryConnectionIds) now
  exclude execute-only connections. Setup validates the credential but skips
  scope discovery and scan for them. Execution paths are untouched — the warehouse
  descriptor still resolves, so ktx sql / sql_execution keep working.
- Scripted setup with no --database-schema no longer silently scopes the scan to
  every discovered schema/dataset: it warns with the count and names how to narrow
  (--database-schema) or opt out (scan_enabled: false).
2026-06-09 13:05:15 +02:00
..
ktx-admin.mdx docs: standardize ktx naming (#187) 2026-05-20 17:33:38 +02:00
ktx-completion.mdx feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
ktx-connection.mdx feat(cli): consistent connection setup recovery and build-time gate (#257) 2026-06-03 11:08:46 +00:00
ktx-ingest.mdx feat(cli): add ingest LLM rate-limit governor with paced retries (#261) 2026-06-05 12:10:27 +02:00
ktx-mcp.mdx docs: standardize ktx naming (#187) 2026-05-20 17:33:38 +02:00
ktx-setup.mdx fix(setup): require explicit --llm-backend in non-interactive setup 2026-06-09 12:06:05 +02:00
ktx-sl.mdx feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
ktx-sql.mdx feat(connections): add execute-only warehouses; stop silent full-project scans 2026-06-09 13:05:15 +02:00
ktx-status.mdx feat: add codex llm backend for ktx runtime work (#253) 2026-06-02 13:57:11 +02:00
ktx-wiki.mdx feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
ktx.mdx feat: add GitHub star nudges to CLI build view and docs sidebar (#271) 2026-06-08 16:14:56 +02:00
meta.json feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00