// contracts index - barrel export of all contract modules
// Each module corresponds to a section of interface-contracts-v1.md

export * from './ids'           // §2 Core Primitive Types
export * from './error'         // §3 Error Contracts
export * from './event'         // §5 Runtime Event Contracts
export * from './runtime'       // §10 Worker/IPC Contracts (runtime context)
export * from './ipc'           // §10 Worker/IPC Contracts
export * from './task'          // §9 Task and Scheduler Contracts
export * from './worker-result' // §11 WorkerResult Contracts
export * from './tool'          // §12 Tool Contracts + §21 Diagnostic Contracts
export * from './permission'    // §13 Permission Contracts
export * from './artifact'      // §14 Artifact Contracts
export * from './evidence'      // §14 Evidence Contracts
export * from './project'       // §8 Project and Session Contracts

// Provider exports - re-export with disambiguation for duplicate names
export type {
  ProviderCapabilityMatrix,
  ProviderCompletionInput,
  ProviderStreamEvent,
  ProviderAdapter,
  ProviderManager,
  ModelRequirement as ProviderModelRequirement,
  ModelAssignment as ProviderModelAssignment,
  ModelAssignmentMode,
} from './provider'
export * from './ui'            // §17 Projection/UI Contracts
export * from './capability'    // §18 Capability Contracts
export * from './platform'      // §19 Doctor/Logging Contracts + Cross-Platform Matrix