Skip to content

Integrate Agentation with Hypothesis

Implementation delivered on 2026-03-25. Both PRs merged.

Bridges Agentation (DOM-level UX annotation) with Hypothesis (persistent, threaded annotation) in the ux-prototype Storybook site. Agentation captures feedback on specific elements; clicking Copy feedback posts annotations to Hypothesis for team discussion.

ArtifactRepositoryPRStatus
Bridge module, highlight layer, sidebar embed, docsux-prototype#64Merged
createAnnotation target/CssSelector supporthypothesis-mcp#5Merged
  • Agentation → Hypothesis posting via the Copy feedback toolbar button
  • Hypothesis sidebar embedded in the Storybook preview iframe (per-story URL scoping)
  • Highlight badges (grey numbered circles) rendered from Hypothesis data on page load
  • Page notes fallback for elements without visible text content
  • Duplicate prevention and Agentation overlay reset after Copy
  • Badges refresh on window focus to reflect sidebar deletions
  • Vite server proxy for Hypothesis API (token injected server-side)
  • 34 unit tests covering transform, client, and highlight utilities
  • Workflow documentation at Docs/Workflows/Providing Feedback