@lssm/example.voiceops-operating-graph
v2.0.2
Published
VoiceOps operating graph example: conversation → governed operating graph (DataViewGraphSpec canary replacing hackathon GraphCanvas)
Readme
@lssm/example.voiceops-operating-graph
VoiceOps operating graph — DataViewGraphSpec canary replacing the hackathon GraphCanvas.
What This Demonstrates
voiceOpsOperatingGraphView: DataViewGraphSpecwithinline-opsource andauthorlayout.- 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)
| Feature | Status |
|---------|--------|
| Search by id/label/kind | Spec declared — renderer P3/W3.2 |
| Kind filter dropdown | Spec declared — renderer P3/W3.2 |
| Node selection → inspector | inspector: 'panel' declared |
| Edge selection → inspector | Spec declared |
| Pulse on customerCommitment + policyGate | experiments metadata — renderer P3/W3.2 |
| ARIA role="application" + keyboard | Renderer responsibility (P3/W3.2) |
| Author-supplied layout | layout: 'author' declared |
Running Locally
From packages/examples/voiceops-operating-graph:
bun run typecheck
bun run testArchitecture
src/voiceOpsOperatingGraphView.ts— spec, node kind constants, DocBlocksrc/index.ts— public barrel
Notes
- Works alongside
@lssm/lib.contracts-spec. - Full RTL parity test suite lands in #43 (P6/W6.3).
- Replaces
companyos-ai-os-proofs/src/ui/operating-graph-canvas.tsximport 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.
