docs: the data channel is live - phase 3 verified with a real agent - #28
Merged
Conversation
The app hosts the MCP conversation on a socket it owns, proxies every frame, and grew its first panels: a live result table (SELECT column order preserved), an activity feed, and the executed SQL as headline. Verified on the hard dataset with real Claude Code: the fan-out question answered correctly with the separate-grain CTE pattern visible in the panel, and in open-ended analysis the agent spontaneously caught both planted data-quality traps (the 0.00 open invoice, and invoice 17's net_amt 609 vs amt_txt '600.00 USD' - the stale legacy column). Also recorded: the first real session found three defects (panel squeeze-out, mystery-pill empty state, a crash on the second differently-shaped result) that the automated wire test could not see. Both kinds of check stay.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Records ROADMAP step 8 phase 3 as built and verified live.
The app spawns
querypad mcpas a stdio child, hosts the conversation on a Unix socket it owns, and proxies every frame - so every tool call and result set flows through the app as structure. Claude Code joins viaquerypad mcp-attach(#27). First panels: a live result table with the SELECT's column order preserved, an activity feed, and the executed SQL as headline.Verified with a real agent on the hard dataset
net_amt609 vsamt_txt"600.00 USD" - the stale-legacy-column trap working in the wildWhat the first session's failures taught
Three defects found by a human using it, none by the automated wire test: the panel squeezed out by the terminal (no holding priorities), an empty striped table reading as mystery pills, and a crash on the second differently-shaped result (
addTableColumnsynchronously queries the delegate against stale row indices). All fixed and re-verified - and the lesson recorded: both kinds of check stay.🤖 Generated with Claude Code
https://claude.ai/code/session_01CKZ9UVgw2Mhiu6T5YAG7k6