feat: wire data_diff tool for deterministic data validation#107
Closed
suryaiyer95 wants to merge 10000 commits intomainfrom
Closed
feat: wire data_diff tool for deterministic data validation#107suryaiyer95 wants to merge 10000 commits intomainfrom
suryaiyer95 wants to merge 10000 commits intomainfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a
data_difftool anddata-diffagent mode that wraps the Rust reladiff engine for deterministic table-to-table data validation. Tested end-to-end on Snowflake with up to 1M rows.Pipeline:
Files changed:
data-diff-run.ts— TypeScript tool callingBridge.call("data_diff.run")data_diff.py— Python orchestrator driving the cooperative state machine loopserver.py— Registersdata_diff.runin JSON-RPC dispatcherprotocol.ts—DataDiffRunParams/DataDiffRunResultbridge protocol typesagent.ts—data-diffagent mode with SQL/warehouse tool permissionsdata-diff.txt— System prompt for data-diff agentSKILL.md—/data-validateskill for guided validation workflowsguard.py— Updated docstrings (no longer requires API keys)Type of change
How did you verify your code works?
End-to-end tested on Snowflake across all 4 algorithms and at scale (up to 1M rows, <12s).
Issue for this PR
Internal feature — data validation mode for altimate-code CLI.
Checklist