/**
 * Barrel export for `src/core/trace/`.
 *
 * Public surface for the JSONL-backed trace storage layer plus the
 * credential redactor that runs before events hit disk.
 */

export { REDACTED, redactPredicateSource, redactTraceEvent, redactValue, scrubString } from './redactor';
export {
  TraceRecorder,
  startTraceRecorder,
  type TraceRecorderOptions,
} from './recorder';
export {
  TraceStorage,
  defaultTraceRootDir,
  type AppendResult,
  type TraceStorageOptions,
} from './storage';
export { makeTraceTarget } from './types';
export type {
  TraceEvent,
  TraceListFilter,
  TraceSessionMeta,
  TraceStatus,
  TraceTarget,
} from './types';
