Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
//! The import pipeline: tracking external items (Linear issues, Notion
//! pages, Slack channels) as they are discovered, accepted, and copied into
//! Macro entities.
//!
//! Not to be confused with the `foreign_entity` crate: foreign entities are
//! live references to items that STAY in the external system (e.g. a synced
//! GitHub PR). An [`domain::models::ImportEntity`] is a ledger row for an
//! item being COPIED into Macro — it tracks the item from `staged`
//! (discovered, not yet accepted) through `importing` to `imported` (a Macro
//! entity now exists), or `discarded` (the user declined it). Each row also
//! records what the item is in its source (`kind`), the row it was imported
//! under (`parent_id`), and the review that approved it (`review_id`).
//!
//! The crate is host-agnostic: AI chat, Settings (Slack channel discovery),
//! and the Slack archive import drive the same primitives, distinguished
//! only by the `initiator` recorded on each row.
#![deny(missing_docs)]
pub mod domain;
pub mod inbound;
pub mod outbound;
pub mod source_binding;