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

CompanyOS Hub

Install the independent company brain, operating inbox, work routing, governance, evidence, replay, knowledge, and improvement surface.

Standalone

CompanyOS operates without companion Hubs and declares optional dependencies in its manifest.

Vertical slots

Hosts add domain records, routes, actions, and dashboards through extension slots.

Copy-ready example

import { installCompanyOsHub } from "@lssm-tech/module.companyos/hub";

const hub = await installCompanyOsHub({
  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