Skip to main content

Crate nusy_conductor

Crate nusy_conductor 

Source
Expand description

nusy-conductor — Agent orchestration for the NuSy kanban system.

Reads kanban state via NATS (does NOT import nusy-kanban directly), decomposes expeditions into phases, and tracks agent availability.

§Architecture

The conductor connects to the same NATS server as nusy-kanban-server and uses the kanban.cmd.* request-reply protocol to query state. It subscribes to kanban.event.* for real-time mutation updates.

Core modules:

  • reader — Kanban state reader via NATS
  • decomposer — Expedition phase extraction and progress tracking
  • state — Agent assignment and availability tracking
  • ci_runner — Synchronous CI check execution (cargo test/clippy/fmt)
  • ci_service — NATS CI service (request/reply + result publication)
  • review_cycle — PR review cycle automation with CI gating
  • monitor — Blocker detection and daily summaries

Modules§

ci_runner
CI runner — executes cargo test, clippy, and fmt checks.
ci_service
NATS CI service — runs cargo test/clippy/fmt on request, publishes results.
decomposer
Expedition phase extraction and progress tracking.
monitor
Blocker detection + progress tracking + daily summary.
reader
Kanban state reader via NATS.
review_cycle
Review cycle automation — PR detection, reviewer assignment, approval routing.
state
Agent assignment and availability tracking.