refactor(mcp): books.mark_sent in its own sent group (P4b S5)

S4.4 is working in tools/documents.rs, so the send tool moves beside it
rather than into it: `crates/ledger-mcp/src/tools/sent.rs`, declared like
every other group and named in docs/architecture.md's layout. The two
helpers the document read tools share (`sent_out`, `last_sent`) go to
tools/helpers.rs, which the groups share; the handler and its own
argument readers stay private to `sent`.

No tool name, schema or behavior changes: books.mark_sent is where it
was on the wire, only in a file of its own.
This commit is contained in:
swaits committed 2026-10-27 13:24:10 -06:00
1 parent 3ea008bb54
commit adc8804f61
5 files changed
+140 -127

No files matched your search

+3
View File
@@ -566,6 +566,7 @@ impl BooksServer {
+ Self::instruments_router()
+ Self::projects_router()
+ Self::documents_router()
+ Self::sent_router()
+ Self::entries_router()
+ Self::reports_router()
+ Self::assets_router()
@@ -1420,6 +1421,8 @@ mod reconciliation;
mod reports_tools;
#[path = "tools/schedules.rs"]
mod schedules;
#[path = "tools/sent.rs"]
mod sent;
#[path = "tools/settings.rs"]
mod settings_tools;
#[path = "tools/tax.rs"]