- Version
0.1.0 - Purity pure zero-dep (browser-safe; only external dep is
zod, nonode:*/ OTel / DB / network) - Purpose The typed substrate every observability surface shares: the orchestration-event Zod schema, the runtime-error taxonomy, the pure graph + fleet-health projection reducers, metric folds, and the adapter-agnostic structured-output judge drive.
- Workspace deps none
- External deps
zod^3.25.0
appendEvent/listEvents) lives in @clawboo/db; the gated emit/trace helpers live in apps/web/server/lib/obs. This package is purely the schema + pure-fold layer.
The barrel re-exports six module groups: ./events/schema, ./log/schema, ./taxonomy/errors, ./project/graph, ./metrics, ./judge/drive. The package exposes a single . entry point (no subpath exports).
Public API
Functions
Types & interfaces
events / log
taxonomy
project / graph
metrics
judge / drive
Constants
Classes
None, this package exports only functions, types/interfaces, and constants.Used by
@clawboo/db:events/appendEvent.ts+events/listEvents.ts(the insert-only event store persistingOrchestrationEvent).@clawboo/evals:graders/model.ts(the structured-output judge for the model grader) +graders/code.ts.apps/web(server):lib/obs/{index,logger}.ts(the gatedemitEvent/withTaskSpan/structured-log helpers),lib/executorRunner.ts(error-taxonomy classification + event emit on terminals),lib/verification/critic.ts(the shared judge drive),api/obs.ts(/api/obs/*reads:projectGraph/projectFleetHealth/summarizeMetrics).
Source
Barrel:packages/obs/src/index.ts (re-exports ./events/schema, ./log/schema, ./taxonomy/errors, ./project/graph, ./metrics, ./judge/drive).
See also
- Observability: event log, traces, fleet health
- Orchestration events & error taxonomy
- Observability REST API
@clawboo/db, the DB authority that persists the event log@clawboo/evals, the judge-drive consumer- Package overview