Skip to content

Live verification against a real workspace, plus the docs the README promised - #8

Merged
ivanvyd merged 1 commit into
mainfrom
feature/live-verification-and-docs
Aug 1, 2026
Merged

Live verification against a real workspace, plus the docs the README promised#8
ivanvyd merged 1 commit into
mainfrom
feature/live-verification-and-docs

Conversation

@ivanvyd

@ivanvyd ivanvyd commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Runs the tool against a real Azure Databricks workspace and a real Genie Agent, and fixes what that found.

Two bugs only live use could find

DATABRICKS_TOKEN was documented but never read. The DI always built the Databricks CLI broker, so the environment path docs/limitations.md told unattended users to rely on simply did not work. Fixed — and it is what made this verification possible without a browser login.

Console encoding was inherited from the host. On Windows that is a legacy code page, so non-ASCII in machine-readable output degraded to ? silently. Pinned to UTF-8.

What was verified live

agents list (table + json), ask with --show-sql, --format json, --format csv, the unknown-agent path, and pack run — all end to end against a real Genie Agent.

Three claims confirmed outside their own tests:

  • Decimals reached CSV, JSON and Markdown byte-identical to what Databricks returned.
  • Column type came back DECIMAL(22,2) — capturing type_text rather than only type_name preserved precision and scale.
  • 2>/dev/null left pure CSV on stdout, confirming the diagnostics split.

A new finding

Genie answered one pack question with a clarifying question rather than an answer. That completes successfully and exits 0, so an unattended pack can produce a report whose answer is a question. Recorded in limitations rather than papered over with a heuristic that would guess wrong in one direction or the other.

Also

28 output-fidelity tests (numeric precision, non-ASCII through every writer, null vs empty string, spreadsheet formula defusal, control characters). The command / authentication / Question Pack / troubleshooting guides the README linked to but did not have. The threat model SECURITY.md promised. Every relative link in the repository now resolves.

89 tests green.

Ran the tool against a real Azure Databricks workspace and a real Genie Agent over
a synthetic revenue table. agents list, ask with --show-sql, --format json,
--format csv, the unknown-agent path, and pack run all exercised end to end.

Live verification found two things tests had not.

DATABRICKS_TOKEN was documented but never read. The DI always constructed the
Databricks CLI broker, so the environment path that docs/limitations.md told
unattended users to rely on did not exist. It now takes precedence, which is also
what made this verification possible without a browser login.

Console output encoding was inherited from the host. On Windows that is a legacy
code page that cannot represent most non-ASCII, so a currency symbol in
machine-readable output would degrade to '?' silently. Pinned to UTF-8.

Live evidence worth keeping: decimals reached CSV, JSON and Markdown byte-identical
to what Databricks returned, which is the processing-integrity claim confirmed
outside its own tests; column type came back DECIMAL(22,2), so capturing type_text
rather than only type_name preserved precision and scale; and 2>/dev/null left pure
CSV on stdout, confirming the diagnostics split.

Genie also answered one pack question with a clarifying question rather than an
answer. That completes successfully and exits 0, so an unattended pack can produce
a report whose answer is a question. Recorded in limitations rather than papered
over with heuristics that would guess wrong either way.

Also: 28 output-fidelity tests covering numeric precision, non-ASCII through every
writer, null versus empty string, spreadsheet formula defusal and control-character
neutralisation; the command, authentication, Question Pack and troubleshooting
guides the README linked to but did not have; and the threat model SECURITY.md
promised. Every relative link in the repository now resolves.
@ivanvyd
ivanvyd merged commit 585ec6d into main Aug 1, 2026
10 checks passed
@ivanvyd
ivanvyd deleted the feature/live-verification-and-docs branch August 1, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant