ContractSpec docs

OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

Feature Hubs

Social Media Hub

Plan, approve, schedule, publish, reconcile, and analyze content across Instagram, LinkedIn, TikTok, X, and YouTube.

Draft by default

Autonomous publication is disabled unless a signed high-risk grant and fresh policy permit it.

Effect safety

Exactly-once local intent, provider idempotency when available, and explicit reconciliation prevent blind retry.

Copy-ready example

import { installSocialMediaHub } from "@lssm-tech/module.social-media/hub";

const hub = await installSocialMediaHub({
  context,
  ports: yourProviderNeutralPorts,
  evaluatePolicy: (policyId, operationRef) =>
    policyEngine.evaluate({ policyId, operationRef, context }),
  fulfillPolicyObligations: (request) => obligationRuntime.fulfill(request),
});
await hub.start();

Production truth

Deterministic fixtures, adapters, and provider templates remain candidate. Qualified means the consumer has passed live provider, infrastructure, security, restore, failover, canary, rollback, and operator qualification in the exact environment.

Related package reference

Runnable all-nine reference app