Worked Examples

Apply connector registry — Sustainable Catalyst Platform Core

Platform Core maintains structured records of external data and computational providers, including their capabilities, authority, licensing, and access requirements. This guide covers provider registration, connector configuration, health checks, and the controls needed to distinguish available services from approved research sources.

ProductSustainable Catalyst Platform CoreUpdatedNovember 20, 2026Reading time22 minutes

Application: Sustainable Catalyst Platform Core
Area: External Providers, Live Data & Connector Governance
Source baseline: 2026-11-07 / Platform Core main SHA 59b8444
Status: Source-reviewed guidance; staging/live verification pending.
Estimated reading time: 16–19 minutes

01. Goal

Record and select external providers without confusing registration with an implemented adapter, a usable credential, an approved license, a successful retrieval, or scientifically accepted evidence. The operating goal is a traceable decision about which provider can serve a defined research request, under which terms, and with which demonstrated capabilities.

Primary acceptance: a connector can be selected only within its verified scope and approved use; a registry record alone never makes its output a trusted scientific source. The procedure uses synthetic identifiers for demonstrations and does not authorize writes to a live environment.

02. Requirements

  • A confirmed Platform Core release and a copy of the relevant API contracts. This article was source-reviewed against commit 59b8444365525a58fd4f6a7e29a20d712769e1a2 (November 7, 2026); the deployed release was not checked.
  • Separate, permitted read access to a disposable staging instance; authorized operator access is required for changes to live-data sources or connectors. Do not use production write credentials in examples.
  • An explicit research purpose, project identifier, target variables, observation interval, geography, intended audience, and expected export/redistribution behavior.
  • The provider’s current terms, citation/attribution requirements, rate or volume limits, and a documented licensing review. A provider-specific or unknown value is not approval.
  • A method to preserve sanitized configuration receipts, source identifiers, retrieval timestamps, response hashes, and review decisions without storing secrets.

03. Implemented architecture and ownership boundaries

Layer Implemented responsibility Boundary to preserve
External Provider Registry v4.20.1 Validates versioned metadata for provider identity, authority, capabilities, endpoints, usage policy and deterministic registry fingerprints. Reference-only catalog; registration does not implement adapters, persist a live registry, check connectivity or authorize evidence promotion.
Live Data Gateway Persists reviewed source records, configured connectors, ingestion runs and observed health state. Source license review, adapter recognition and runtime execution are distinct checks.
Connector Execution Profiles v4.21.0 Defines parameterized request profiles, queue constraints, config readiness and profile-specific provenance. Profiles are request recipes, not approved data; template profiles never auto-execute, and scheduling is disabled by default.
Scientific evidence and publication workflows Downstream scientific review, normalization, provenance evaluation and publication decisions. Successful ingestion is not independent validation, rights clearance or publication approval.

The registry has six reference provider records and six provider classes: knowledge, data, computational, geospatial, event and intelligence. Its six examples are PubMed/NCBI, FRED/ALFRED, Wolfram, NASA Earthdata, GDELT and Data Commons. This is a reference inventory, not a declaration that all six are live in the operating environment.

04. Procedure

Follow the decision sequence: (1) read the reference contract; (2) verify identity and authority; (3) review licensing; (4) map to an implemented live source and connector; (5) inspect runtime health; (6) resolve a bounded profile; and (7) retain a retrieval/provenance receipt. Stop at the first unresolved gate.

The source defines read-only reference routes plus a model-validation route; there is no generic registry create/update/delete API in the inspected module. The singular provider lookup returns ok:false for an unknown provider; it does not necessarily use HTTP 404. Inspect the response body.

# Read-only examples. Run only against an authorized staging host.
BASE="https://STAGING_HOST"
curl --fail-with-body -fsS "$BASE/v1/providers/contract" > provider-contract.json
curl --fail-with-body -fsS "$BASE/v1/providers/reference" > provider-reference.json
curl --fail-with-body -fsS "$BASE/v1/providers/reference/providers" > provider-index.json
# Verify six reference-only providers without exposing any credentials.
python - <<'PY2'
import json
b=json.load(open('provider-reference.json'))['bundle']
assert b['contract']=='sc.core.external-provider-registry.v1'
assert len(b['providers'])==6
assert all(p['lifecycle_state']=='reference-only' for p in b['providers'])
assert all(p['adapter_implementation_ref'] is None for p in b['providers'])
print('Reference-only registry contract inspected')
PY2

Scope: this checks the returned reference shape, not whether an adapter exists or whether the server matches a particular deployment. In a controlled staging review, compare the returned fingerprint to the pinned expected artifact and investigate any change before proceeding.

05. Record provider identity and authority

Use stable provider_id, display_name, provider_metadata_version, kinds, authority_scopes and capabilities. The model requires unique provider, capability, endpoint and authority identifiers. Every capability names an operation and object types, and its provider class must be among the provider’s declared kinds.

Record an authority scope as a bounded statement (for example, a provider’s named series or observation catalogue), not as a claim of universal validity. The actual contract fixes authority_establishes_truth=false and authority_overrides_conflicting_evidence=false.

Before selecting a provider, write the scientific question, intended inference and what the provider cannot establish: sampling frame, unit definitions, historical versions, territorial coverage, revision frequency, missingness and known methodological limitations.

06. Verify capabilities and endpoint metadata

Each endpoint records endpoint_id, protocol, descriptive label, authentication mode, optional credential reference and optionally an endpoint URI. Supported protocol identifiers include REST, GraphQL, SPARQL, SDMX, STAC, RPC and other. An endpoint descriptor is not a network probe.

Confirm that the chosen operation and object types are actually implemented by a live adapter, not inferred from the registry. Preserve registration_is_not_adapter_implementation=true, registration_is_not_connectivity_verification=true, and output_is_not_automatically_evidence=true.

07. Review license, attribution and permitted use

The registry’s usage_policy requires a license label; commercial-use, redistribution and caching statuses; attribution requirement; quota model; and a terms reference. The reference records use provider-specific for several unresolved fields. This is a review obligation, not permission.

Question Evidence to retain Fail-closed condition
May data be retrieved automatically? Provider terms and automated-access status, retrieval method, reviewed date. Unknown, restricted or contradictory terms.
May records be cached or retained? Retention period, storage location, license text, quota policy. Undocumented caching rights.
May output be reproduced or published? Redistribution and commercial-use decisions, attribution, derivative rights. Unreviewed redistribution or privacy restrictions.
Is the provider authoritative for the claim? Series definition, geography, version, provenance and limitations. Scope mismatch or missing provenance.

Provider terms remain authoritative: the registry cannot relax them. Preserve the exact terms URL/version or retrieval date in the project record, and re-review when terms change.

08. Keep credentials outside registry and request parameters

Authenticated reference endpoints use identifiers such as credential-ref:provider:fred-alfred, not token values. The model rejects embedded strings containing secret=, token= or key=. Execution profiles separately reject credential-like parameter names, including API keys, passwords and authorization tokens.

Store actual credentials only in an authorized deployment secret mechanism, never in the registry bundle, WordPress article, export, queued work item, query string or public issue. Verify secret rotation and use rights independently of provider selection. Treat an endpoint’s authentication_mode as metadata, not a successful sign-in claim.

09. Complete the live-data source review

For an operational connector, inspect GET /v1/live/sources or GET /v1/live/sources/{source_id} in the authorized environment. The persisted source record includes organization, homepage and documentation URLs, license name and URL, attribution, access cost, commercial and redistribution status, automated-access status, rate limit summary, review status and review time.

The strict-free source gate uses four approved review statuses: APPROVED_FREE, APPROVED_WITH_ATTRIBUTION, APPROVED_METADATA_ONLY and APPROVED_SELF_HOSTED. They are not interchangeable: APPROVED_METADATA_ONLY must not be treated as permission to republish full content.

Write guard: POST /v1/live/sources and PATCH /v1/live/sources/{source_id} change database records and require write authorization. Exercise them only on a disposable, backed-up staging system under an approved change ticket. The reference registry does not supply or imply those approvals.

10. Link an implemented live-data connector

Inspect GET /v1/live/connectors?source_id=... and verify the intended connector’s source_id, adapter, base URL, domain, capability list, status, enabled flag, schema version and configuration. When the strict-free source gate is enabled, creation or source-change checks the related source’s reviewed status, cost and credit-card requirement. Creation also rejects unknown adapter names; production connector URLs must use HTTPS.

Do not assume matching names are the same entity: the external registry’s provider_id, the live gateway’s source_id and connector_id, and a profile’s profile_id are different identifiers. Record their reviewed mapping explicitly.

11. Inspect configuration and observed health

GET /v1/live/connectors/health returns flags for gateway and ingestion enablement, strict-free status, connector counts, and each connector’s configuration state, last health check, success, failure and error fields. GET /v1/connector-profiles/readiness describes which profiles can resolve a configured connector.

# These requests are read-only, but responses may expose internal metadata.
BASE="https://STAGING_HOST"
curl --fail-with-body -fsS "$BASE/v1/live/connectors/health" > live-health.json
curl --fail-with-body -fsS "$BASE/v1/connector-profiles/readiness" > profile-readiness.json
python - <<'PY2'
import json
health=json.load(open('live-health.json'))
print('connector_count',health['connector_count'])
for c in health.get('connectors',[]):
    print(c['id'],c['configuration_status'],c['last_health_status'],c.get('last_success_at'))
PY2

Interpretation: a connector counted as operational can mean configured; the summary is not an end-to-end guarantee that its provider responded correctly today. Require a bounded, independently observed one-shot result with a recorded timestamp and provenance before relying on the retrieved data.

12. Select a bounded connector execution profile

Version 4.21.0 defines 22 reference profiles: nine scheduler-eligible candidate profiles and 13 templates requiring caller-specific selections. Templates never automatically execute. A selected profile binds connector identity, parameters, required selectors, refresh policy, queue priority, provenance and scope. Profiles must exclude credential material and do not establish global coverage.

Confirm the profile exists, the live connector is registered and configured, and all parameter requirements are satisfied. The queue endpoint POST /v1/connector-profiles/profiles/{profile_id}/queue is a write/side-effect operation; do not invoke it for editorial verification. Its documented failure types include 404 for unknown profile, 409 for missing or unconfigured connector, and 422 for invalid parameters.

Parameterized scheduling defaults to off (SC_CORE_PARAMETERIZED_PROFILE_SCHEDULER_ENABLED=false). Turning it on requires a separate operational review of rate limits, privacy, licenses and bounded workloads; editing a reference registry record does not enable scheduling.

13. Capture retrieval provenance and distinguish research states

For a genuinely authorized one-shot retrieval, capture provider_id, source/connector/profile mapping, provider record identifier, query or parameter digest, observation time, retrieved time, source URL or canonical identifier, content checksum, normalization schema, unit conversion, licensing decision, uncertainty and reviewer disposition. Do not place private raw data in a public diagnostic.

State Required meaning
Registered Provider identity/capabilities declared under a contract, not tested connectivity.
Configured Adapter and credentials (if required) appear usable according to settings.
Retrieved A particular bounded request completed; raw and normalized records are linked.
Reviewed Method, scope, rights, transformations and quality have been checked.
Approved for specified use Responsible reviewer approved a particular use/export boundary.
Published A separate release or publication workflow authorized disclosure.

A successful HTTP response, repeated agreement across providers, or a registry fingerprint cannot promote a result to scientific truth. Preserve opposing observations and document changes in upstream data.

14. Example: a synthetic candidate-selection receipt

This illustrative record is not a Platform Core API request or a valid external registry bundle; it is a local decision receipt for an editorial/operational review. It explicitly separates rights and configuration from scientific acceptance.

{
  "schema": "sc-kb-connector-selection-review/1.0",
  "synthetic": true,
  "provider_id": "provider:fred-alfred",
  "source_id": "example.synthetic-statistics",
  "connector_id": "example.synthetic-series",
  "profile_id": "example:manual-series-check",
  "mapping_verified": false,
  "terms_reviewed": false,
  "redistribution_approved": false,
  "configuration_verified": false,
  "one_shot_retrieval_verified": false,
  "scientific_evidence_approved": false,
  "decision": "hold",
  "reason": "Reference record is not deployment or licensing evidence"
}

Replace the illustrative identifiers only after confirming the real source, connector and profile bindings. Do not publish or schedule work on the strength of this synthetic record.

15. Validate a registry bundle against the real source model

The actual Pydantic ExternalProviderRegistryBundle checks identifier uniqueness, required provenance flags, credential-reference constraints, provider/authority/capability consistency, and exact snapshot fingerprints. For developers with a checkout of the pinned repository, use the included source_registry_smoke.py harness; it imports the implementation rather than copying the validation rules. The code below shows the essential check.

# Run from the repository checkout with its supported Python environment.
# PYTHONPATH=backend python source_registry_smoke.py
from app.services.external_provider_registry import (
    ExternalProviderRegistryBundle,
    reference_external_provider_registry_bundle,
)
ref = reference_external_provider_registry_bundle()
assert ref.contract == 'sc.core.external-provider-registry.v1'
round_trip = ExternalProviderRegistryBundle.model_validate(ref.model_dump(mode='json'))
assert round_trip.fingerprint() == ref.fingerprint()
assert all(p.lifecycle_state.value == 'reference-only' for p in ref.providers)
print('Registry model and snapshot fingerprint match')

Expected result: structural validation succeeds against the pinned source. No provider connection is made, no source is approved, and no registry change is persisted.

16. Symptoms

Observed problem Likely boundary Initial check
Provider exists in registry but cannot be queried Reference metadata versus implemented adapter Is lifecycle_state reference-only and adapter ref absent?
Connector creation returns 422 Source review, unknown adapter or URL rules Check review status, access cost and HTTPS.
Profile queue returns 409 Missing/unconfigured live connector Inspect profile readiness and gateway health.
Profile queue returns 422 Missing selectors or credential-like parameters Compare against required parameters and one-of fields.
Public reuse unclear Provider licensing and export rights Stop publication; inspect current terms and attribution.
Latest result absent despite “operational” Configuration is not retrieval success Inspect last_success_at and bounded ingestion receipt.
Registry checksum differs Changed bundle/schema/metadata Stop automatic selection; compare pinned release and reviewed diff.

17. Cause

The most common causes are conflated identities (provider versus connector), a reference-only entry treated as implemented, incomplete licensing review, unresolved runtime credentials, stale configuration, inappropriate automated scheduling, missing parameter selections, or assumptions that retrieval implies evidence approval. Unknown reference lookups may produce ok:false within an HTTP 200 response, so a transport-success check alone misses this condition.

18. Troubleshooting

  1. Freeze changes: disable prospective automated work in the affected profile and preserve the last accepted configuration/receipt; do not blindly replay writes or ingestion jobs.
  2. Confirm identity: compare exact provider, source, connector, profile, project and owner identifiers. Refuse ambiguous name-based matches.
  3. Inspect registration: verify contract, release, reference flag and deterministic snapshot. A changed fingerprint requires diff and approval.
  4. Inspect rights: compare reviewed provider terms against intended commercial use, export, cache and publication; withhold operations when unresolved.
  5. Inspect runtime: check adapter support, source gate, configured status, explicit enablement, scheduler state, last health and recent successful retrieval.
  6. Reproduce minimally: use a synthetic, bounded request in isolated staging after permission and licensing checks; record response code and sanitized trace ID.
  7. Verify no side effects: compare the ingestion count, source-revision checksums and pending queue before/after a denied action.

19. Resolution

Correct the failed boundary rather than granting broad access: finish a missing license review, remap the approved live source to the appropriate implemented adapter, supply credentials through deployment secrets, update a scoped profile selector, or pause the connector. Do not mark a reference-only provider active merely to suppress an error.

Apply changes in disposable staging, with a backup, exact expected changes, rollback owner and documented pass/fail thresholds. For a rights or privacy incident, stop ingestion and export, preserve sanitized audit evidence and refer the incident to the accountable reviewer before resuming.

20. Verification

Evidence for completion must include both a positive scoped operation and a negative denied case, evaluated at the appropriate layer.

Case Expected result
Reference catalog round-trip Correct contract, six reference-only entries and matching deterministic registry fingerprint.
Duplicate provider/capability ID Registry model rejects malformed bundle.
Embedded credential text Endpoint model rejects key=... or other embedded secret reference.
Reference-only provider claiming adapter Registry validation fails.
Unreviewed or restricted licensing Local selection gate holds; no ingestion/publication authorized.
Unknown connector/invalid selector Live profile queue returns documented 409/422 in authorized staging.
Configured, approved source; valid bounded selector One-shot retrieval can be tested, with observed provider response, timestamps and provenance captured.
Retrieved record with missing scientific support Not accepted as scientifically validated evidence or automatically published.
Public export with restricted fields Denied or redacted; no secrets, private source payloads or unlicensed records released.

Acceptance statement: connector selection is scoped and evidence-backed; registration, license review, runtime readiness, retrieval, scientific interpretation and publication remain separately authorized. A local unit-test pass alone is not a production verification receipt.

21. Evidence and release gates

Retain the pinned commit, source path, contract fingerprint, reviewed provider-terms reference, source/connector/profile mapping, authorized identity, test environment, one-shot response checksum, last-success timestamp, negative-test transcript, anonymized diagnostic IDs, reviewer decision and rollback reference. Keep private raw data and credentials out of public Knowledge Base attachments.

The included offline selection-gate tests use fictional records to demonstrate hold versus eligible-for-one-shot decisions. The repository-integrated Pydantic smoke check and live staging checks are distinct follow-ups and are not represented as having run here.

22. Quality checks

Goal: scoped provider selection, not generic provider promotion. Requirements: source and rights review. Procedure: read contract, match implementation, verify health, run only approved bounded checks. Symptoms/Cause: distinguish registry, source, adapter, profile, permissions and publication errors. Troubleshooting/Resolution: preserve evidence and change the narrowest failing control. Verification: positive and negative tests, observed live evidence, and responsible human approval.

23. Technical references

  1. External Provider Registry Contract v4.20.1 — release scope and nonclaims.
  2. external_provider_registry.py — Pydantic registry, licensing and snapshot contracts.
  3. external_provider_registry router — actual read and validation endpoints.
  4. External Provider Registry JSON Schema — machine-readable structure.
  5. Registry implementation tests — positive and negative model checks.
  6. Live Data Gateway routes — sources, connectors, ingestion and health.
  7. Live-data authorization and normalization services — review status and provenance.
  8. Live source/connector and health schemas — request/response types.
  9. Execution Profiles v4.21.0 — parameters, scheduler policy, operation boundaries.
  10. Connector profile routes — readiness and queue guards.
  11. Execution profile tests — bounded template and scheduled requests.
  12. Scientific Data Connector Pack v2.7.2 — separate scientific provider provenance and restrictions.

Verification limit: the referenced repository is the source inspected for this article. Live deployment configuration, provider licensing as of today, current endpoint connectivity, CI at the pinned commit, and independent scientific review have not been verified here.

Scroll to Top