Connector Fabric
341 words1 min read4 subsectionsFrom the README at ft 0.15.21
On this page4
The connector subsystem lets ft talk to external systems (issue trackers, monitoring, secret stores, log aggregators, custom internal services) through a unified bridge model.
Pieces (14 connector_*.rs modules in frankenterm-core/src/)
connector_sdk— the contract every connector implements. Versioned capability envelopes, request/response schemas, error taxonomy.connector_registry— name-keyed registry of installed connectors, with version pinning.connector_lifecycle— install / start / stop / restart / drain semantics.connector_host_runtime— the connector host model plus an HTTP delivery client that runs inside the watcher when[safety.connector_transport]is configured (no separate host process).connector_inbound_bridge— converts external signals (e.g., a webhook from PagerDuty) into typedftevents.connector_outbound_bridge— converts typedftevents (e.g., a critical detection) into external calls (e.g., a Slack post).connector_mesh— multi-host routing across a fleet offtaggregators.connector_governor— rate limits, capability gating, credential management.connector_credential_broker— short-lived credential issuance.connector_data_classification— tags data flowing through with sensitivity tier before redaction.connector_reliability— circuit breaker + retry budget per connector.connector_event_model— typed event variants the bridges produce/consume.connector_bundles— packaged connector definitions for distribution.connector_testbed— synthetic providers for tests; the only place mock connectors should live (the mock-finder discipline ratifies this).
Capability envelopes
Every connector declares its capabilities: what actions it can invoke, what state it can read, what events it can stream. The default envelope includes Invoke, ReadState, StreamEvents. Capabilities are enforced at the policy layer; a connector that didn't declare StreamEvents cannot subscribe to the event bus even if its code tries to.
Certification probe pipeline
A certification probe pipeline (connector_sdk.rs) models this flow:
- Validate the connector binary signature
- Run the capability round-trip evidence harness (the connector reports its capabilities; the host verifies them)
- Record the result
- Refuse to start the connector if certification fails
It is exercised by the SDK simulator and tests only: ft robot connector install does not run it yet, and there is no certification table.
Mock-finder discipline
Mock connectors live only in connector_testbed.rs by design. The mock-finder sweep (per-substrate audit family) automatically detects production-stub regressions; the latest sweep on the connector cluster verified 14 connector_*.rs files clean. (See MEMORY note connector-cluster-mock-finder-sweep-2026-04-26 — referenced as ft-z4wvi + ft-6scm7 sweep follow-ups.)