nusy_conductor/lib.rs
1//! nusy-conductor — Agent orchestration for the NuSy kanban system.
2//!
3//! Reads kanban state via NATS (does NOT import nusy-kanban directly),
4//! decomposes expeditions into phases, and tracks agent availability.
5//!
6//! # Architecture
7//!
8//! The conductor connects to the same NATS server as `nusy-kanban-server`
9//! and uses the `kanban.cmd.*` request-reply protocol to query state.
10//! It subscribes to `kanban.event.*` for real-time mutation updates.
11//!
12//! Core modules:
13//! - [`reader`] — Kanban state reader via NATS
14//! - [`decomposer`] — Expedition phase extraction and progress tracking
15//! - [`state`] — Agent assignment and availability tracking
16//! - [`ci_runner`] — Synchronous CI check execution (cargo test/clippy/fmt)
17//! - [`ci_service`] — NATS CI service (request/reply + result publication)
18//! - [`review_cycle`] — PR review cycle automation with CI gating
19//! - [`monitor`] — Blocker detection and daily summaries
20
21pub mod ci_runner;
22pub mod ci_service;
23pub mod decomposer;
24pub mod monitor;
25pub mod reader;
26pub mod review_cycle;
27pub mod state;