2026-04-26 21:11:09 +00:00
|
|
|
//! MCP story tools — create, update, move, and manage stories, bugs, refactors,
|
2026-04-29 21:41:44 +00:00
|
|
|
//! spikes, and epics via MCP.
|
2026-04-26 21:11:09 +00:00
|
|
|
//!
|
|
|
|
|
//! This module is a thin adapter: it deserialises MCP payloads, delegates to
|
|
|
|
|
//! `crate::service::story` and `crate::http::workflow` for business logic,
|
|
|
|
|
//! and serialises responses.
|
|
|
|
|
|
|
|
|
|
mod bug;
|
|
|
|
|
mod criteria;
|
2026-04-29 21:41:44 +00:00
|
|
|
mod epic;
|
2026-04-26 21:11:09 +00:00
|
|
|
mod refactor;
|
|
|
|
|
mod spike;
|
|
|
|
|
mod story;
|
|
|
|
|
|
|
|
|
|
pub(crate) use bug::{tool_close_bug, tool_create_bug, tool_list_bugs};
|
|
|
|
|
pub(crate) use criteria::{
|
|
|
|
|
tool_add_criterion, tool_check_criterion, tool_edit_criterion, tool_ensure_acceptance,
|
|
|
|
|
tool_get_story_todos, tool_record_tests, tool_remove_criterion,
|
|
|
|
|
};
|
2026-04-29 21:41:44 +00:00
|
|
|
pub(crate) use epic::{tool_create_epic, tool_list_epics, tool_show_epic};
|
2026-04-26 21:11:09 +00:00
|
|
|
pub(crate) use refactor::{tool_create_refactor, tool_list_refactors};
|
|
|
|
|
pub(crate) use spike::tool_create_spike;
|
|
|
|
|
pub(crate) use story::{
|
|
|
|
|
tool_accept_story, tool_create_story, tool_delete_story, tool_get_pipeline_status,
|
|
|
|
|
tool_list_upcoming, tool_purge_story, tool_unblock_story, tool_update_story,
|
|
|
|
|
tool_validate_stories,
|
|
|
|
|
};
|