Skip to content
ContractSpec
Start here

Package manual · examples

·Examples and implementation patterns

example.companyos-gtm-learning-loop-conformance

Vertical-neutral, no-network composed conformance fixture for the GTM Learning Loop, plus two fake research-provider adapters for Harness scenario execution.

examplesexamplev2.0.5experimentalservernode
@lssm-tech/example.companyos-gtm-learning-loop-conformance
bun add @lssm-tech/example.companyos-gtm-learning-loop-conformance
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Vertical-neutral, no-network composed conformance scenario for the CompanyOS learning loop (Ultragoal G002), built from the GTM Learning Loop consumer contract (Story G001, docs/contracts/gtm-platform-consumer-contract-v0.md).

Ownership split

ConcernOwner
Company context, experiment/change-set ref, preview action-packet + unknowns, review decision, branch comparison/promotion, execution plan/receipt, routing-rule learning@lssm-tech/lib.companyos-spec (./fixtures)
Provider binding + cost-observation ref@lssm-tech/lib.provider-spec (./fixtures)
Normalized communication record + outcome-event ref@lssm-tech/lib.communication-spec (./fixtures)
Composed scenario + fake research-provider adaptersthis package (./fixtures, adapters)
Generic scenario/run/replay execution@lssm-tech/lib.harness

Each sibling spec package exports only its own atomic slice and imports none of the others. This package is the only place all three slices meet.

Fixtures

composedNeutralLearningLoopScenario (./fixtures) merges the three atomic slices into the same shape as docs/contracts/fixtures/companyos-learning-loop-neutral-v0.json, so the Story G001 documented fixture and this package's composed fixture cannot silently drift apart.

Conformance expectation

Per the "Expected conformance" section of the consumer contract, a Harness scenario built on this fixture must run twice with two fake research providers, produce identical replay output under shuffled input, and perform no network or external writes.

Relationships

THIS PACKAGEexample.companyos-gtm-learning-loop-conformance5 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

7 declarations

Declared capabilities

This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.

Scripts

  • typechecktsgo --noEmit
  • lintbun lint:fix
  • lint:fixnode ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .
  • lint:checknode ../../scripts/biome.cjs check .
  • testbun test