//! Local-first equity research workspace subsystem.

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

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