Goal
End-to-end integration test that registers TerraYield (Meridian) as a live federation peer and asserts its resources render through the workspace shell. This is the AC-6 / OQ-2 blocker called out in md/design/map-view.md:275 ("Neither GroundPulse nor TerraYield currently exposes ione_view: map resources … prerequisite for integration testing").
Scope
A test fixture (style of tests/phase12_peer.rs / tests/phase14_bindings.rs) that:
- Stands up Meridian's MCP server + OAuth 2.1 AS as a peer (or a faithful mock of the six surfaces).
- Runs the peer-join flow: discovery → PKCE → token →
tools/list / resources/list → tool allowlist → active.
- Creates a
workspace_peer_binding (auto-populated from Meridian whoami when available; best-effort otherwise).
- Asserts the shell renders Meridian's
map (parcel/county tiles), chart (yield series), and table (condition/progress) resources from view-hint metadata with no Meridian-specific UI code.
- Asserts a signed webhook from Meridian (
publication.created) fans in to a signal with correct severity + replay protection.
Acceptance
- The "one pane of glass" path (GP + TerraYield as one operator workspace,
foreign-tenant-mapping.md:15) is covered by an automated test, not a manual demo.
- Test gates on live Postgres (mark
#[ignore] consistent with the suite).
Cross-repo
- TerraYield peer surfaces:
morton-analytics-llc/eo_ag (MCP server, view-hints, discovery issues).
Goal
End-to-end integration test that registers TerraYield (Meridian) as a live federation peer and asserts its resources render through the workspace shell. This is the AC-6 / OQ-2 blocker called out in
md/design/map-view.md:275("Neither GroundPulse nor TerraYield currently exposesione_view: mapresources … prerequisite for integration testing").Scope
A test fixture (style of
tests/phase12_peer.rs/tests/phase14_bindings.rs) that:tools/list/resources/list→ tool allowlist →active.workspace_peer_binding(auto-populated from Meridianwhoamiwhen available; best-effort otherwise).map(parcel/county tiles),chart(yield series), andtable(condition/progress) resources from view-hint metadata with no Meridian-specific UI code.publication.created) fans in to a signal with correct severity + replay protection.Acceptance
foreign-tenant-mapping.md:15) is covered by an automated test, not a manual demo.#[ignore]consistent with the suite).Cross-repo
morton-analytics-llc/eo_ag(MCP server, view-hints, discovery issues).