ktx/packages/cli
Andrey Avtomonov 9ac37166f5 fix(connections): enforce scan_enabled:false on explicit scan/ingest commands
scan_enabled:false promised the connection is 'never used as a scan/ingest
target,' but the predicate only gated automatic selection — explicit
ktx scan <id> / ktx ingest <id> still resolved the connection id and reached the
live-database introspection path, so an execute-only connection could still be
scanned or ingested.

Guard runKtxScan and runKtxIngest at entry: if the target connection is
execute-only, refuse with an actionable error (remove the flag to scan, or use
ktx sql to query) before doing any work. This makes the flag a single declaration
honored on every scan/ingest entry point, not just auto-selection.
2026-06-09 14:28:05 +02:00
..
assets/demo/orbit Polish documentation copy (#98) 2026-05-14 12:43:14 -04:00
scripts chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00
src fix(connections): enforce scan_enabled:false on explicit scan/ingest commands 2026-06-09 14:28:05 +02:00
test fix(connections): enforce scan_enabled:false on explicit scan/ingest commands 2026-06-09 14:28:05 +02:00
package.json chore(release): 0.10.0 [skip ci] 2026-06-08 14:47:15 +00:00
tsconfig.json chore(workspace): gate dead-code with knip production mode (#196) 2026-05-21 15:28:58 +02:00
tsconfig.test.json test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
vitest.config.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00