//! HTTP daemon for NCL export caching, file watching, actor registry, and MCP
//! surface.
//!
//! Provides a long-running axum server that caches `nickel export` results,
//! watches `.ontology/` for changes, maintains an actor session registry with
//! bearer-token auth (ADR-005), serves the annotated API catalog built from
//! `#[onto_api]` proc-macro registrations (ADR-007), and exposes an MCP tool
//! surface for Claude Code integration.
//!
//! Feature flags: `db` (stratum-db persistence), `nats` (event publishing),
//! `ui` (Tera templates + static assets), `mcp` (rmcp tool server).

pub mod actors;
pub mod api;
pub mod api_catalog;
pub mod cache;
pub mod config;
pub mod config_coherence;
pub mod domain;
pub mod error;
pub mod federation;
#[cfg(feature = "graphql")]
pub mod graphql;
pub mod keypair;
#[cfg(feature = "mcp")]
pub mod mcp;
pub mod memory;
pub mod memory_types;
#[cfg(feature = "nats")]
pub mod nats;
#[cfg(feature = "nats")]
pub mod nats_sync;
pub mod notifications;
pub mod ops_surface;
pub mod positioning;
pub mod registry;
#[cfg(feature = "substrate")]
pub mod rotation;
pub mod search;
#[cfg(feature = "db")]
pub mod seed;
#[cfg(feature = "ui")]
pub mod session;
pub mod sync;
pub mod views;
// ADR-033 tier/transition/reload primitives — moved to ontoref-ops so the
// catalogued op handler can reuse them. Re-exported here for backward
// compatibility with consumers that imported via ontoref_daemon::*.
pub use ontoref_ops::config_reload;
pub use ontoref_ops::tier_guard;
pub use ontoref_ops::tier_transition;
#[cfg(feature = "ui")]
pub mod ui;
pub mod watcher;
