Contracts / createInspector
Contract
createInspector
The one door for run events, live progress and ledger taps.
Signature
createInspector(opts: InspectorOptions) : Inspector // publish, publishRun, subscribe, tapLedger, // attachBus, reportProgress, readProgress, stop
Rules
- The Inspector watches and decides nothing.
- A conformance test fails on a second copy of the event hub.
Where it appears
- Carry an agent’s outbound callGatekeeper
- Count tokens and report usageExecutive
- Broker a turnLandlord
- Record an eventAuditor
- Publish a run eventInspector
- Stream a run’s live progressInspector