Smoke Tests: 014-fdc3-intent-interoperability
- Primary smoke script:
scripts/test-state-014-fdc3-intent-interoperability.sh
Minimum state checks to implement:
Runtime Baselineβ
- C3 runtime starts cleanly and core TraderX endpoints remain healthy.
- Existing trade/order/position workflows still function when FDC3 is unavailable.
Sail Sidecar Runtimeβ
- Sail sidecar starts and responds at
http://localhost:8090. - Sail sidecar is reachable independently of TraderX ingress.
- Seeded app-directory profile is loaded (TraderX app + selected demo apps).
FDC3 Availability and Fallbackβ
- Frontend detects DesktopAgent presence/absence without throwing runtime errors.
- Degraded mode hides/disables FDC3-only actions and preserves baseline interactions.
Context Mapping and Publicationβ
- Selecting a ticker-bearing trade/order/position row publishes valid
fdc3.instrumentcontext. - Re-selecting same ticker does not emit duplicate context events beyond dedupe policy.
Inbound Context Handlingβ
- Receiving
fdc3.instrumentupdates TraderX UI scope/filter to the target ticker. - Invalid/malformed context payloads are safely ignored with diagnostics.
Intent Handlingβ
ViewOrdersopens orders view filtered to ticker.TraderX.CreateTradeTicketopens prefilled trade ticket.TraderX.CreateOrderTicketopens prefilled order ticket.- Outbound
ViewChartandViewQuoteintent actions resolve via DesktopAgent.
Cross-App Demo Validationβ
- In local Sail mode, context and intent round-trips succeed between TraderX and at least one additional app.
./scripts/test-state-014-fdc3-intent-interoperability.sh http://localhost:8080 http://localhost:8090