Skip to content

Browser view does not auto-refresh when catalog entry is updated via MCP #586

@paddymul

Description

@paddymul

Summary

When a catalog entry is updated through xorq MCP tools (join, filter, mutate, select), the Buckaroo browser view does not reliably auto-refresh to show the new data. The user has to either manually refresh the browser or the agent has to call xorq_view_build again.

Reproduction

  1. Open a catalog entry in the Buckaroo browser viewer
  2. From Claude Code, call xorq_join or xorq_filter on that entry (creating a new revision)
  3. Look at the browser — it still shows the old revision

Expected behavior

When a catalog entry gets a new revision, the browser view should either:

  • Auto-refresh to show the latest revision, OR
  • Show a visual indicator that the data is stale (e.g., a banner: "New revision available — click to refresh")

Context

During a demo session, the user said "I don't see that" after a join was completed, and had multiple moments of confusion looking at stale data ("I don't see first and last name... wait, no, there it is now"). The agent had to call xorq_view_build again to re-trigger the browser render.

In a live demo context this is particularly painful — the presenter looks at the screen, doesn't see the expected update, loses confidence, and has to verbally backtrack. This is the #1 demo-killer observed.

Possible approaches

  • WebSocket push from the xorq MCP web server when a catalog entry is updated
  • Polling the catalog revision on a short interval (e.g., every 2s)
  • At minimum, the xorq_filter/xorq_join/xorq_mutate/xorq_select MCP tools could call xorq_view_build automatically after updating

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions