Skip to content
ContractSpec
Start here

Package manual · examples

·Examples and implementation patterns

example.voiceops-operating-graph

VoiceOps operating graph example: conversation → governed operating graph (DataViewGraphSpec canary replacing hackathon GraphCanvas)

examplesexamplev2.0.5experimentalservernode
@lssm-tech/example.voiceops-operating-graph
bun add @lssm-tech/example.voiceops-operating-graph
Package source ↗Manifest ↗

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

Package guide

VoiceOps operating graph — DataViewGraphSpec canary replacing the hackathon GraphCanvas.

What This Demonstrates

  • voiceOpsOperatingGraphView: DataViewGraphSpec with inline-op source and author layout.
  • The 10 VoiceOps node kinds: voiceSignal, transcript, customerPain, productGap, sensitiveData, internalTask, customerCommitment, policyGate, approvalGate, evidenceReceipt.
  • How a conversation becomes a governed operating graph: captured → extracted → classified → gated → approved → evidenced.

Feature Parity (pending Phase 3 renderer)

FeatureStatus
Search by id/label/kindSpec declared — renderer P3/W3.2
Kind filter dropdownSpec declared — renderer P3/W3.2
Node selection → inspectorinspector: 'panel' declared
Edge selection → inspectorSpec declared
Pulse on customerCommitment + policyGateexperiments metadata — renderer P3/W3.2
ARIA role="application" + keyboardRenderer responsibility (P3/W3.2)
Author-supplied layoutlayout: 'author' declared

Running Locally

From examples/voiceops-operating-graph:

bash
bun run typecheck
bun run test

Architecture

  • src/voiceOpsOperatingGraphView.ts — spec, node kind constants, DocBlock
  • src/index.ts — public barrel

Notes

  • Works alongside @lssm-tech/lib.contracts-spec.
  • Full RTL parity test suite lands in #43 (P6/W6.3).
  • Replaces companyos-ai-os-proofs/src/ui/operating-graph-canvas.tsx import dependency.

Declaration builds use build:types through the shared Bun tool; build runs bundle and declaration generation. Declared exports are preserved. Generated artifacts exclude test-only files; tests/typecheck remain separate gates.

Relationships

THIS PACKAGEexample.voiceops-operating-graph4 import paths

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

5 declarations

Declared capabilities

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

Scripts

  • buildcontractspec-bun-build build
  • typechecktsgo --noEmit
  • testbun test
  • lintnode ../../scripts/biome.cjs check --write .
  • lint:checknode ../../scripts/biome.cjs check .
  • cleanrimraf dist .turbo
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types