//! Local-first equity research workspace subsystem.

mod ai;
mod errors;
mod events;
mod export;
mod ghosts;
mod grounding;
mod heuristics;
mod links;
mod pipeline;
mod projections;
mod repository;
mod service;
mod types;
mod util;

pub use pipeline::spawn_research_scheduler;
pub use service::ResearchService;
pub use types::{
    ArchiveResearchNoteRequest, CaptureResearchNoteRequest, CreateResearchWorkspaceRequest,
    ExportResearchBundleRequest, GetNoteAuditTrailRequest, GetNotesByTickerRequest,
    GetWorkspaceProjectionRequest, GhostNote, ListNoteLinksRequest, ListResearchNotesRequest,
    ListWorkspaceGhostNotesRequest, NoteAuditTrail, NoteCaptureResult, NoteLink, PipelineJob,
    PromoteNoteToThesisRequest, ResearchBundleExport, ResearchNote, ResearchWorkspace,
    RetryResearchJobsRequest, ReviewGhostNoteRequest, UpdateResearchNoteRequest,
    WorkspaceProjection,
};
