trusty-mpm 1.8.2

trusty-mpm: unified multi-agent orchestration platform (core, daemon, CLI, TUI, Telegram)
//! Manifest-driven harness provisioning (HR-2 / DOC-17).
//!
//! Why: before HR-2, `prepare_session` provisioned a harness from compile-time
//! bundled assets alone — there was no declarative, overridable description of
//! *what* a harness gets. This module introduces a [`HarnessManifest`] describing
//! the agent set, skills, instruction layers, output style, MCP servers, and
//! model tiers a harness receives, plus the NORMATIVE precedence resolution
//! (project override > user config > catalog manifest > compiled-in default)
//! that `prepare_session` consumes. The compiled-in default reproduces today's
//! provisioning exactly, so an absent manifest is a zero-regression no-op.
//! What: a thin facade re-exporting the schema ([`HarnessManifest`] and its
//! sections), the compiled-in [`default_manifest`], and the precedence
//! [`resolve_manifest`] over [`ManifestSources`]. Submodules keep each concern
//! under the 500-SLOC cap.
//! Test: each submodule carries its own unit tests; the `prepare_session`
//! integration lives in `core/session_launch/tests.rs`.

mod apply;
mod default;
mod detect_memo;
pub mod framework;
mod nested;
pub(crate) mod project_lang;
mod resolve;
mod schema;
mod workspace;

pub use apply::HarnessPlan;
pub use default::{DEFAULT_DIVERT_MIN_LINES, DEFAULT_DIVERT_WORKER_MODEL, default_manifest};
pub use detect_memo::invalidate_stack_detection;
pub use framework::{
    FRAMEWORK_MANIFEST_FILE, FrameworkManifestError, framework_agent_categories,
    framework_skill_categories,
};
pub use resolve::{MANIFEST_FILE, ManifestSources, resolve_manifest};
pub use schema::{
    AgentCategories, AgentSet, ContentSource, DivertConfig, GatedAgent, HarnessManifest,
    InstructionLayers, MANIFEST_VERSION, McpServers, ModelTiers, SkillCategories, SkillSet,
    StyleSelection, matches_any, selection_matches,
};